Help
RSS
API
Feed
Maltego
Contact
Domain > www.marinaturquesa.com
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2015-02-23
82.98.160.60
(
ClassC
)
2025-01-08
142.250.217.115
(
ClassC
)
Port 80
HTTP/1.1 200 OKContent-Type: text/html; charsetutf-8Vary: Accept-EncodingVary: Accept-EncodingX-Cloud-Trace-Context: 3bacecac52fa18a72c94dd3153302552Alt-Svc: h3:443; ma2592000,h3-29:443; ma2592000Date: Wed, 08 Jan 2025 03:06:19 GMTServer: Google FrontendContent-Length: 656723 !DOCTYPE html>html langes xml:langes>head>link hrefhttps://fonts.googleapis.com/css?familyRoboto:100,300,400,700|Roboto+Slab:300 relstylesheet>title> Web Oficial Apartamentos Marina Turquesa /title>meta http-equivcontent-type contenttext/html; charsetUTF-8/>link relicon hrefhttps://cdn.paraty.es/static_files/secure-booking-online/specific/202411270910/images/favicon_marina-turquesa.ico?v1.108 typeimage/x-icon>meta namekeywords contentapartamentos marina turquesa, marina turquesa nerja, apartamentos en nerja, apartamentos marina turquesa, marina turquesa, apartamentos nerja, nerja vacaciones,/>meta namedescription contentApartamentos Marina Turquesa en Nerja con piscina y con piscina cubierta, gimnasio y cerca de la playa/>meta namerevisit-after content2 days/>meta http-equivContent-Language contentes/>meta namedc.title content Web Oficial Apartamentos Marina Turquesa />meta namedc.description contentApartamentos Marina Turquesa en Nerja con piscina y con piscina cubierta, gimnasio y cerca de la playa/>meta namedc.keywords contentapartamentos marina turquesa, marina turquesa nerja, apartamentos en nerja, apartamentos marina turquesa, marina turquesa, apartamentos nerja, nerja vacaciones,/>meta namedc.language contentes/>meta namedc.creator contentApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga/>meta namedc.format contenttext/html/>meta namedc.identifier contenthttps://www.marinaturquesa.comes/noticias/>meta nameformat-detection contenttelephoneno>!-- REVOLUTION BANNER CSS SETTINGS -->link mediascreen relstylesheet typetext/css hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/lib/rs-plugin/css/settings_unified.min.css/>!-- lightbox -->link relstylesheet hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/lib/lightbox/css/lightbox.css typetext/css/>!-- styles -->link relstylesheet typetext/css hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/css/templateBaseline.css/>link relstylesheet typetext/css hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/css/1140/1140.css/>link relstylesheet typetext/css hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/plugins/pricescalendar/styles.css>link relstylesheet typetext/css hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/plugins/dates-selector/css/datepicker_ext_inf.css?v1.111>link relstylesheet typetext/css href/css/simoa/styles_marina-turquesa.css?v4.79/>!--if IE 8>link relstylesheet typetext/css href/css/simoa/ie8.css />!endif-->script typetext/javascript> if (navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)) { document.write(meta nameviewport contentwidth1160, initial-scale1, user-scalableyes>); } if (navigator.userAgent.match(/iPad/i)) { document.write(link relstylesheet typetext/css href/css/simoa/ipad.css?v4>); } /script>!--if lte IE 7>script typetext/javascript> alert(La versión de su navegador no está soportada. Por favor, utilice una versión más moderna o use otro navegador); /script>!endif-->!--if lte IE 8>script src//html5shiv.googlecode.com/svn/trunk/html5.js>/script>!endif-->script>(function(e,t){function _(e){var tMe{};return v.each(e.split(y),function(e,n){tn!0}),t}function H(e,n,r){if(rt&&e.nodeType1){var idata-+n.replace(P,-$1).toLowerCase();re.getAttribute(i);if(typeof rstring){try{rrtrue?!0:rfalse?!1:rnull?null:+r+r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else rt}return r}function B(e){var t;for(t in e){if(tdata&&v.isEmptyObject(et))continue;if(t!toJSON)return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType11}function at(e,t){do eet;while(e&&e.nodeType!1);return e}function ft(e,t,n){tt||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i!!t.call(e,r,e);return in});if(t.nodeType)return v.grep(e,function(e,r){return etn});if(typeof tstring){var rv.grep(e,function(e){return e.nodeType1});if(it.test(t))return v.filter(t,r,!n);tv.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>0n})}function lt(e){var tct.split(|),ne.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)0||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!1||!v.hasData(e))return;var n,r,i,sv._data(e),ov._data(t,s),us.events;if(u){delete o.handle,o.events{};for(n in u)for(r0,iun.length;ri;r++)v.event.add(t,n,unr)}o.data&&(o.datav.extend({},o.data))}function Ot(e,t){var n;if(t.nodeType!1)return;t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),nt.nodeName.toLowerCase(),nobject?(t.parentNode&&(t.outerHTMLe.outerHTML),v.support.html5Clone&&e.innerHTML&&!v.trim(t.innerHTML)&&(t.innerHTMLe.innerHTML)):ninput&&Et.test(e.type)?(t.defaultCheckedt.checkede.checked,t.value!e.value&&(t.valuee.value)):noption?t.selectede.defaultSelected:ninput||ntextarea?t.defaultValuee.defaultValue:nscript&&t.text!e.text&&(t.texte.text),t.removeAttribute(v.expando)}function Mt(e){return typeof e.getElementsByTagName!undefined?e.getElementsByTagName(*):typeof e.querySelectorAll!undefined?e.querySelectorAll(*):}function _t(e){Et.test(e.type)&&(e.defaultCheckede.checked)}function Qt(e,t){if(t in e)return t;var nt.charAt(0).toUpperCase()+t.slice(1),rt,iJt.length;while(i--){tJti+n;if(t in e)return t}return r}function Gt(e,t){return et||e,v.css(e,display)none||!v.contains(e.ownerDocument,e)}function Yt(e,t){var n,r,i,s0,oe.length;for(;so;s++){nes;if(!n.style)continue;isv._data(n,olddisplay),t?(!is&&n.style.displaynone&&(n.style.display),n.style.display&&Gt(n)&&(isv._data(n,olddisplay,nn(n.nodeName)))):(rDt(n,display),!is&&r!none&&v._data(n,olddisplay,r))}for(s0;so;s++){nes;if(!n.style)continue;if(!t||n.style.displaynone||n.style.display)n.style.displayt?is||:none}return e}function Zt(e,t,n){var rRt.exec(t);return r?Math.max(0,r1-(n||0))+(r2||px):t}function en(e,t,n,r){var in(r?border:content)?4:twidth?1:0,s0;for(;i4;i+2)nmargin&&(s+v.css(e,n+$ti,!0)),r?(ncontent&&(s-parseFloat(Dt(e,padding+$ti))||0),n!margin&&(s-parseFloat(Dt(e,border+$ti+Width))||0)):(s+parseFloat(Dt(e,padding+$ti))||0,n!padding&&(s+parseFloat(Dt(e,border+$ti+Width))||0));return s}function tn(e,t,n){var rtwidth?e.offsetWidth:e.offsetHeight,i!0,sv.support.boxSizing&&v.css(e,boxSizing)border-box;if(r0||rnull){rDt(e,t);if(r0||rnull)re.stylet;if(Ut.test(r))return r;is&&(v.support.boxSizingReliable||re.stylet),rparseFloat(r)||0}return r+en(e,t,n||(s?border:content),i)+px}function nn(e){if(Wte)return Wte;var tv(+e+>).appendTo(i.body),nt.css(display);t.remove();if(nnone||n){Pti.body.appendChild(Pt||v.extend(i.createElement(iframe),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht(Pt.contentWindow||Pt.contentDocument).document,Ht.write(!doctype html>html>body>),Ht.close();tHt.body.appendChild(Ht.createElement(e)),nDt(t,display),i.body.removeChild(Pt)}return Wten,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e++(typeof iobject?t:)+,i,n,r)});else if(!n&&v.type(t)object)for(i in t)fn(e++i+,ti,n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!string&&(nt,t*);var r,i,s,ot.toLowerCase().split(y),u0,ao.length;if(v.isFunction(n))for(;ua;u++)rou,s/^\+/.test(r),s&&(rr.substr(1)||*),ierer||,is?unshift:push(n)}}function kn(e,n,r,i,s,o){ss||n.dataTypes0,oo||{},os!0;var u,aes,f0,la?a.length:0,ceSn;for(;fl&&(c||!u);f++)uaf(n,r,i),typeof ustring&&(!c||ou?ut:(n.dataTypes.unshift(u),ukn(e,n,r,i,u,o)));return(c||!u)&&!o*&&(ukn(e,n,r,i,*,o)),u}function Ln(e,n){var r,i,sv.ajaxSettings.flatOptions||{};for(r in n)nr!t&&((sr?e:i||(i{}))rnr);i&&v.extend(!0,e,i)}function An(e,n,r){var i,s,o,u,ae.contents,fe.dataTypes,le.responseFields;for(s in l)s in r&&(nlsrs);while(f0*)f.shift(),it&&(ie.mimeType||n.getResponseHeader(content-type));if(i)for(s in a)if(as&&as.test(i)){f.unshift(s);break}if(f0in r)of0;else{for(s in r){if(!f0||e.converterss+ +f0){os;break}u||(us)}oo||u}if(o)return o!f0&&f.unshift(o),ro}function On(e,t){var n,r,i,s,oe.dataTypes.slice(),uo0,a{},f0;e.dataFilter&&(te.dataFilter(t,e.dataType));if(o1)for(n in e.converters)an.toLowerCase()e.convertersn;for(;io++f;)if(i!*){if(u!*&&u!i){nau+ +i||a* +i;if(!n)for(r in a){sr.split( );if(s1i){nau+ +s0||a* +s0;if(n){n!0?nar:ar!!0&&(is0,o.splice(f--,0,i));break}}}if(n!!0)if(n&ðrows)tn(t);else try{tn(t)}catch(l){return{state:parsererror,error:n?l:No conversion from +u+ to +i}}}ui}return{state:success,data:t}}function Fn(){try{return new e.XMLHttpRequest}catch(t){}}function In(){try{return new e.ActiveXObject(Microsoft.XMLHTTP)}catch(t){}}function $n(){return setTimeout(function(){qnt},0),qnv.now()}function Jn(e,t){v.each(t,function(t,n){var r(Vnt||).concat(Vn*),i0,sr.length;for(;is;i++)if(ri.call(e,t,n))return})}function Kn(e,t,n){var r,i0,s0,oXn.length,uv.Deferred().always(function(){delete a.elem}),afunction(){var tqn||$n(),nMath.max(0,f.startTime+f.duration-t),rn/f.duration||0,i1-r,s0,of.tweens.length;for(;so;s++)f.tweenss.run(i);return u.notifyWith(e,f,i,n),i1&&o?n:(u.resolveWith(e,f),!1)},fu.promise({elem:e,props:v.extend({},t),opts:v.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:qn||$n(),duration:n.duration,tweens:,createTween:function(t,n,r){var iv.Tween(e,f.opts,t,n,f.opts.specialEasingt||f.opts.easing);return f.tweens.push(i),i},stop:function(t){var n0,rt?f.tweens.length:0;for(;nr;n++)f.tweensn.run(1);return t?u.resolveWith(e,f,t):u.rejectWith(e,f,t),this}}),lf.props;Qn(l,f.opts.specialEasing);for(;io;i++){rXni.call(f,e,l,f.opts);if(r)return r}return Jn(f,l),v.isFunction(f.opts.start)&&f.opts.start.call(e,f),v.fx.timer(v.extend(a,{anim:f,queue:f.opts.queue,elem:e})),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}function Qn(e,t){var n,r,i,s,o;for(n in e){rv.camelCase(n),itr,sen,v.isArray(s)&&(is1,sens0),n!r&&(ers,delete en),ov.cssHooksr;if(o&&expandin o){so.expand(s),delete er;for(n in s)n in e||(ensn,tni)}else tri}}function Gn(e,t,n){var r,i,s,o,u,a,f,l,c,hthis,pe.style,d{},m,ge.nodeType&&Gt(e);n.queue||(lv._queueHooks(e,fx),l.unqueuednull&&(l.unqueued0,cl.empty.fire,l.empty.firefunction(){l.unqueued||c()}),l.unqueued++,h.always(function(){h.always(function(){l.unqueued--,v.queue(e,fx).length||l.empty.fire()})})),e.nodeType1&&(heightin t||widthin t)&&(n.overflowp.overflow,p.overflowX,p.overflowY,v.css(e,display)inline&&v.css(e,float)none&&(!v.support.inlineBlockNeedsLayout||nn(e.nodeName)inline?p.displayinline-block:p.zoom1)),n.overflow&&(p.overflowhidden,v.support.shrinkWrapBlocks||h.done(function(){p.overflown.overflow0,p.overflowXn.overflow1,p.overflowYn.overflow2}));for(r in t){str;if(Un.exec(s)){delete tr,aa||stoggle;if(s(g?hide:show))continue;m.push(r)}}om.length;if(o){uv._data(e,fxshow)||v._data(e,fxshow,{}),hiddenin u&&(gu.hidden),a&&(u.hidden!g),g?v(e).show():h.done(function(){v(e).hide()}),h.done(function(){var t;v.removeData(e,fxshow,!0);for(t in d)v.style(e,t,dt)});for(r0;ro;r++)imr,fh.createTween(i,g?ui:0),diui||v.style(e,i),i in u||(uif.start,g&&(f.endf.start,f.startiwidth||iheight?1:0))}}function Yn(e,t,n,r,i){return new Yn.prototype.init(e,t,n,r,i)}function Zn(e,t){var n,r{height:e},i0;tt?1:0;for(;i4;i+2-t)n$ti,rmargin+nrpadding+ne;return t&&(r.opacityr.widthe),r}function tr(e){return v.isWindow(e)?e:e.nodeType9?e.defaultView||e.parentWindow:!1}var n,r,ie.document,se.location,oe.navigator,ue.jQuery,ae.$,fArray.prototype.push,lArray.prototype.slice,cArray.prototype.indexOf,hObject.prototype.toString,pObject.prototype.hasOwnProperty,dString.prototype.trim,vfunction(e,t){return new v.fn.init(e,t,n)},m/\-+?(?:\d*\.|)\d+(?:eE\-+?\d+|)/.source,g/\S/,y/\s+/,b/^\s\uFEFF\xA0+|\s\uFEFF\xA0+$/g,w/^(?:^#*(\w\W+>)^>*$|#(\w\-*)$)/,E/^(\w+)\s*\/?>(?:\/\1>|)$/,S/^\,:{}\s*$/,x/(?:^|:|,)(?:\s*\)+/g,T/\\(?:\\\/bfnrt|u\da-fA-F{4})/g,N/^\\\r\n*|true|false|null|-?(?:\d\d*\.|)\d+(?:eE\-+?\d+|)/g,C/^-ms-/,k/-(\da-z)/gi,Lfunction(e,t){return(t+).toUpperCase()},Afunction(){i.addEventListener?(i.removeEventListener(DOMContentLoaded,A,!1),v.ready()):i.readyStatecomplete&&(i.detachEvent(onreadystatechange,A),v.ready())},O{};v.fnv.prototype{constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.contextthis0e,this.length1,this;if(typeof estring){e.charAt(0)&&e.charAt(e.length-1)>&&e.length>3?snull,e,null:sw.exec(e);if(s&&(s1||!n)){if(s1)return nn instanceof v?n0:n,an&&n.nodeType?n.ownerDocument||n:i,ev.parseHTML(s1,a,!0),E.test(s1)&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);oi.getElementById(s2);if(o&&o.parentNode){if(o.id!s2)return r.find(e);this.length1,this0o}return this.contexti,this.selectore,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!t&&(this.selectore.selector,this.contexte.context),v.makeArray(e,this))},selector:,jquery:1.8.3,length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return enull?this.toArray():e0?thisthis.length+e:thise},pushStack:function(e,t,n){var rv.merge(this.constructor(),e);return r.prevObjectthis,r.contextthis.context,tfind?r.selectorthis.selector+(this.selector? :)+n:t&&(r.selectorthis.selector+.+t+(+n+)),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e+e,e-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),slice,l.call(arguments).join(,))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:.sort,splice:.splice},v.fn.init.prototypev.fn,v.extendv.fn.extendfunction(){var e,n,r,i,s,o,uarguments0||{},a1,farguments.length,l!1;typeof uboolean&&(lu,uarguments1||{},a2),typeof u!object&&!v.isFunction(u)&&(u{}),fa&&(uthis,--a);for(;af;a++)if((eargumentsa)!null)for(n in e){run,ien;if(ui)continue;l&&i&&(v.isPlainObject(i)||(sv.isArray(i)))?(s?(s!1,or&&v.isArray(r)?r:):or&&v.isPlainObject(r)?r:{},unv.extend(l,o,i)):i!t&&(uni)}return u},v.extend({noConflict:function(t){return e.$v&&(e.$a),t&&e.jQueryv&&(e.jQueryu),v},isReady:!1,readyWait:1,holdReady:function(e){e?v.readyWait++:v.ready(!0)},ready:function(e){if(e!0?--v.readyWait:v.isReady)return;if(!i.body)return setTimeout(v.ready,1);v.isReady!0;if(e!!0&&--v.readyWait>0)return;r.resolveWith(i,v),v.fn.trigger&&v(i).trigger(ready).off(ready)},isFunction:function(e){return v.type(e)function},isArray:Array.isArray||function(e){return v.type(e)array},isWindow:function(e){return e!null&&ee.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return enull?String(e):Oh.call(e)||object},isPlainObject:function(e){if(!e||v.type(e)!object||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,constructor)&&!p.call(e.constructor.prototype,isPrototypeOf))return!1}catch(n){return!1}var r;for(r in e);return rt||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!string?null:(typeof tboolean&&(nt,t0),tt||i,(rE.exec(e))?t.createElement(r1):(rv.buildFragment(e,t,n?null:),v.merge(,(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!string)return null;tv.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,@).replace(N,).replace(x,)))return(new Function(return +t))();v.error(Invalid JSON: +t)},parseXML:function(n){var r,i;if(!n||typeof n!string)return null;try{e.DOMParser?(inew DOMParser,ri.parseFromString(n,text/xml)):(rnew ActiveXObject(Microsoft.XMLDOM),r.asyncfalse,r.loadXML(n))}catch(s){rt}return(!r||!r.documentElement||r.getElementsByTagName(parsererror).length)&&v.error(Invalid XML: +n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,ms-).replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()t.toLowerCase()},each:function(e,n,r){var i,s0,oe.length,uot||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(ei,r)!1)break}else for(;so;)if(n.apply(es++,r)!1)break}else if(u){for(i in e)if(n.call(ei,i,ei)!1)break}else for(;so;)if(n.call(es,s,es++)!1)break;return e},trim:d&&!d.call(\ufeff\u00a0)?function(e){return enull?:d.call(e)}:function(e){return enull?:(e+).replace(b,)},makeArray:function(e,t){var n,rt||;return e!null&&(nv.type(e),e.lengthnull||nstring||nfunction||nregexp||v.isWindow(e)?f.call(r,e):v.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(c)return c.call(t,e,n);rt.length,nn?n0?Math.max(0,r+n):n:0;for(;nr;n++)if(n in t&&tne)return n}return-1},merge:function(e,n){var rn.length,ie.length,s0;if(typeof rnumber)for(;sr;s++)ei++ns;else while(ns!t)ei++ns++;return e.lengthi,e},grep:function(e,t,n){var r,i,s0,oe.length;n!!n;for(;so;s++)r!!t(es,s),n!r&&i.push(es);return i},map:function(e,n,r){var i,s,o,u0,ae.length,fe instanceof v||a!t&&typeof anumber&&(a>0&&e0&&ea-1||a0||v.isArray(e));if(f)for(;ua;u++)in(eu,u,r),i!null&&(oo.lengthi);else for(s in e)in(es,s,r),i!null&&(oo.lengthi);return o.concat.apply(,o)},guid:1,proxy:function(e,n){var r,i,s;return typeof nstring&&(ren,ne,er),v.isFunction(e)?(il.call(arguments,2),sfunction(){return e.apply(n,i.concat(l.call(arguments)))},s.guide.guide.guid||v.guid++,s):t},access:function(e,n,r,i,s,o,u){var a,frnull,l0,ce.length;if(r&&typeof robject){for(l in r)v.access(e,n,l,rl,1,o,i);s1}else if(i!t){aut&&v.isFunction(i),f&&(a?(an,nfunction(e,t,n){return a.call(v(e),n)}):(n.call(e,i),nnull));if(n)for(;lc;l++)n(el,r,a?i.call(el,l,n(el,r)):i,u);s1}return s?e:f?n.call(e):c?n(e0,r):o},now:function(){return(new Date).getTime()}}),v.ready.promisefunction(t){if(!r){rv.Deferred();if(i.readyStatecomplete)setTimeout(v.ready,1);else if(i.addEventListener)i.addEventListener(DOMContentLoaded,A,!1),e.addEventListener(load,v.ready,!1);else{i.attachEvent(onreadystatechange,A),e.attachEvent(onload,v.ready);var n!1;try{ne.frameElementnull&&i.documentElement}catch(s){}n&&n.doScroll&&function o(){if(!v.isReady){try{n.doScroll(left)}catch(e){return setTimeout(o,50)}v.ready()}}()}}return r.promise(t)},v.each(Boolean Number String Function Array Date RegExp Object.split( ),function(e,t){Oobject +t+t.toLowerCase()}),nv(i);var M{};v.Callbacksfunction(e){etypeof estring?Me||_(e):v.extend({},e);var n,r,i,s,o,u,a,f!e.once&&,lfunction(t){ne.memory&&t,r!0,us||0,s0,oa.length,i!0;for(;a&&uo;u++)if(au.apply(t0,t1)!1&&e.stopOnFalse){n!1;break}i!1,a&&(f?f.length&&l(f.shift()):n?a:c.disable())},c{add:function(){if(a){var ta.length;(function r(t){v.each(t,function(t,n){var iv.type(n);ifunction?(!e.unique||!c.has(n))&&a.push(n):n&&n.length&&i!string&&r(n)})})(arguments),i?oa.length:n&&(st,l(n))}return this},remove:function(){return a&&v.each(arguments,function(e,t){var n;while((nv.inArray(t,a,n))>-1)a.splice(n,1),i&&(no&&o--,nu&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a,this},disable:function(){return afnt,this},disabled:function(){return!a},lock:function(){return ft,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return tt||,te,t.slice?t.slice():t,a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var tresolve,done,v.Callbacks(once memory),resolved,reject,fail,v.Callbacks(once memory),rejected,notify,progress,v.Callbacks(memory),npending,r{state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var earguments;return v.Deferred(function(n){v.each(t,function(t,r){var sr0,oet;ir1(v.isFunction(o)?function(){var eo.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):ns+With(thisi?n:this,e)}:ns)}),enull}).promise()},promise:function(e){return e!null?v.extend(e,r):r}},i{};return r.piper.then,v.each(t,function(e,s){var os2,us3;rs1o.add,u&&o.add(function(){nu},te^12.disable,t22.lock),is0o.fire,is0+Witho.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t0,nl.call(arguments),rn.length,ir!1||e&&v.isFunction(e.promise)?r:0,si1?e:v.Deferred(),ofunction(e,t,n){return function(r){tethis,nearguments.length>1?l.call(arguments):r,nu?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){unew Array(r),anew Array(r),fnew Array(r);for(;tr;t++)nt&&v.isFunction(nt.promise)?nt.promise().done(o(t,f,n)).fail(s.reject).progress(o(t,a,u)):--i}return i||s.resolveWith(f,n),s.promise()}}),v.supportfunction(){var t,n,r,s,o,u,a,f,l,c,h,pi.createElement(div);p.setAttribute(className,t),p.innerHTML link/>table>/table>a href/a>a/a>input typecheckbox/>,np.getElementsByTagName(*),rp.getElementsByTagName(a)0;if(!n||!r||!n.length)return{};si.createElement(select),os.appendChild(i.createElement(option)),up.getElementsByTagName(input)0,r.style.cssTexttop:1px;float:left;opacity:.5,t{leadingWhitespace:p.firstChild.nodeType3,tbody:!p.getElementsByTagName(tbody).length,htmlSerialize:!!p.getElementsByTagName(link).length,style:/top/.test(r.getAttribute(style)),hrefNormalized:r.getAttribute(href)/a,opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.valueon,optSelected:o.selected,getSetAttribute:p.className!t,enctype:!!i.createElement(form).enctype,html5Clone:i.createElement(nav).cloneNode(!0).outerHTML!:nav>/:nav>,boxModel:i.compatModeCSS1Compat,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked!0,t.noCloneCheckedu.cloneNode(!0).checked,s.disabled!0,t.optDisabled!o.disabled;try{delete p.test}catch(d){t.deleteExpando!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent(onclick,hfunction(){t.noCloneEvent!1}),p.cloneNode(!0).fireEvent(onclick),p.detachEvent(onclick,h)),ui.createElement(input),u.valuet,u.setAttribute(type,radio),t.radioValueu.valuet,u.setAttribute(checked,checked),u.setAttribute(name,t),p.appendChild(u),ai.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClonea.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendCheckedu.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})fon+l,cf in p,c||(p.setAttribute(f,return;),ctypeof pffunction),tl+Bubblesc;return v(function(){var n,r,s,o,upadding:0;margin:0;border:0;display:block;overflow:hidden;,ai.getElementsByTagName(body)0;if(!a)return;ni.createElement(div),n.style.cssTextvisibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px,a.insertBefore(n,a.firstChild),ri.createElement(div),n.appendChild(r),r.innerHTMLtable>tr>td>/td>td>t/td>/tr>/table>,sr.getElementsByTagName(td),s0.style.cssTextpadding:0;margin:0;border:0;display:none,cs0.offsetHeight0,s0.style.display,s1.style.displaynone,t.reliableHiddenOffsetsc&&s0.offsetHeight0,r.innerHTML,r.style.cssTextbox-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;,t.boxSizingr.offsetWidth4,t.doesNotIncludeMarginInBodyOffseta.offsetTop!1,e.getComputedStyle&&(t.pixelPosition(e.getComputedStyle(r,null)||{}).top!1%,t.boxSizingReliable(e.getComputedStyle(r,null)||{width:4px}).width4px,oi.createElement(div),o.style.cssTextr.style.cssTextu,o.style.marginRighto.style.width0,r.style.width1px,r.appendChild(o),t.reliableMarginRight!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!undefined&&(r.innerHTML,r.style.cssTextu+width:1px;padding:1px;display:inline;zoom:1,t.inlineBlockNeedsLayoutr.offsetWidth3,r.style.displayblock,r.style.overflowvisible,r.innerHTMLdiv>/div>,r.firstChild.style.width5px,t.shrinkWrapBlocksr.offsetWidth!3,n.style.zoom1),a.removeChild(n),nrsonull}),a.removeChild(p),nrsouapnull,t}();var D/(?:\{\s\S*\}|\\s\S*\)$/,P/(A-Z)/g;v.extend({cache:{},deletedIds:,uuid:0,expando:jQuery+(v.fn.jquery+Math.random()).replace(/\D/g,),noData:{embed:!0,object:clsid:D27CDB6E-AE6D-11cf-96B8-444553540000,applet:!0},hasData:function(e){return ee.nodeType?v.cacheev.expando:ev.expando,!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,uv.expando,atypeof nstring,fe.nodeType,lf?v.cache:e,cf?eu:eu&&u;if((!c||!lc||!i&&!lc.data)&&a&&rt)return;c||(f?eucv.deletedIds.pop()||v.guid++:cu),lc||(lc{},f||(lc.toJSONv.noop));if(typeof nobject||typeof nfunction)i?lcv.extend(lc,n):lc.datav.extend(lc.data,n);return slc,i||(s.data||(s.data{}),ss.data),r!t&&(sv.camelCase(n)r),a?(osn,onull&&(osv.camelCase(n))):os,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,oe.nodeType,uo?v.cache:e,ao?ev.expando:v.expando;if(!ua)return;if(t){rn?ua:ua.data;if(r){v.isArray(t)||(t in r?tt:(tv.camelCase(t),t in r?tt:tt.split( )));for(i0,st.length;is;i++)delete rti;if(!(n?B:v.isEmptyObject)(r))return}}if(!n){delete ua.data;if(!B(ua))return}o?v.cleanData(e,!0):v.support.deleteExpando||u!u.window?delete ua:uanull},_data:function(e,t,n){return v.data(e,t,n,!0)},acceptData:function(e){var te.nodeName&&v.noDatae.nodeName.toLowerCase();return!t||t!!0&&e.getAttribute(classid)t}}),v.fn.extend({data:function(e,n){var r,i,s,o,u,athis0,f0,lnull;if(et){if(this.length){lv.data(a);if(a.nodeType1&&!v._data(a,parsedAttrs)){sa.attributes;for(us.length;fu;f++)osf.name,o.indexOf(data-)||(ov.camelCase(o.substring(5)),H(a,o,lo));v._data(a,parsedAttrs,!0)}}return l}return typeof eobject?this.each(function(){v.data(this,e)}):(re.split(.,2),r1r1?.+r1:,ir1+!,v.access(this,function(n){if(nt)return lthis.triggerHandler(getData+i,r0),lt&&a&&(lv.data(a,e),lH(a,e,l)),lt&&r1?this.data(r0):l;r1n,this.each(function(){var tv(this);t.triggerHandler(setData+i,r),v.data(this,e,n),t.triggerHandler(changeData+i,r)})},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t(t||fx)+queue,rv._data(e,t),n&&(!r||v.isArray(n)?rv._data(e,t,v.makeArray(n)):r.push(n)),r||},dequeue:function(e,t){tt||fx;var nv.queue(e,t),rn.length,in.shift(),sv._queueHooks(e,t),ofunction(){v.dequeue(e,t)};iinprogress&&(in.shift(),r--),i&&(tfx&&n.unshift(inprogress),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var nt+queueHooks;return v._data(e,n)||v._data(e,n,{empty:v.Callbacks(once memory).add(function(){v.removeData(e,t+queue,!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r2;return typeof e!string&&(ne,efx,r--),arguments.lengthr?v.queue(this0,e):nt?this:this.each(function(){var tv.queue(this,e,n);v._queueHooks(this,e),efx&&t0!inprogress&&v.dequeue(this,e)})},dequeue:function(e){return this.each(function(){v.dequeue(this,e)})},delay:function(e,t){return ev.fx?v.fx.speedse||e:e,tt||fx,this.queue(t,function(t,n){var rsetTimeout(t,e);n.stopfunction(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||fx,)},promise:function(e,n){var r,i1,sv.Deferred(),othis,uthis.length,afunction(){--i||s.resolveWith(o,o)};typeof e!string&&(ne,et),ee||fx;while(u--)rv._data(ou,e+queueHooks),r&&r.empty&&(i++,r.empty.add(a));return a(),s.promise(n)}});var j,F,I,q/\t\r\n/g,R/\r/g,U/^(?:button|input)$/i,z/^(?:button|input|object|select|textarea)$/i,W/^a(?:rea|)$/i,X/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Vv.support.getSetAttribute;v.fn.extend({attr:function(e,t){return v.access(this,v.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return ev.propFixe||e,this.each(function(){try{thiset,delete thise}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof estring){te.split(y);for(n0,rthis.length;nr;n++){ithisn;if(i.nodeType1)if(!i.className&&t.length1)i.classNamee;else{s +i.className+ ;for(o0,ut.length;ou;o++)s.indexOf( +to+ )0&&(s+to+ );i.classNamev.trim(s)}}}return this},removeClass:function(e){var n,r,i,s,o,u,a;if(v.isFunction(e))return this.each(function(t){v(this).removeClass(e.call(this,t,this.className))});if(e&&typeof estring||et){n(e||).split(y);for(u0,athis.length;ua;u++){ithisu;if(i.nodeType1&&i.className){r( +i.className+ ).replace(q, );for(s0,on.length;so;s++)while(r.indexOf( +ns+ )>0)rr.replace( +ns+ , );i.classNamee?v.trim(r):}}}return this},toggleClass:function(e,t){var ntypeof e,rtypeof tboolean;return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(nstring){var i,s0,ov(this),ut,ae.split(y);while(ias++)ur?u:!o.hasClass(i),ou?addClass:removeClass(i)}else if(nundefined||nboolean)this.className&&v._data(this,__className__,this.className),this.classNamethis.className||e!1?:v._data(this,__className__)||})},hasClass:function(e){var t +e+ ,n0,rthis.length;for(;nr;n++)if(thisn.nodeType1&&( +thisn.className+ ).replace(q, ).indexOf(t)>0)return!0;return!1},val:function(e){var n,r,i,sthis0;if(!arguments.length){if(s)return nv.valHookss.type||v.valHookss.nodeName.toLowerCase(),n&&getin n&&(rn.get(s,value))!t?r:(rs.value,typeof rstring?r.replace(R,):rnull?:r);return}return iv.isFunction(e),this.each(function(r){var s,ov(this);if(this.nodeType!1)return;i?se.call(this,r,o.val()):se,snull?s:typeof snumber?s+:v.isArray(s)&&(sv.map(s,function(e){return enull?:e+})),nv.valHooksthis.type||v.valHooksthis.nodeName.toLowerCase();if(!n||!(setin n)||n.set(this,s,value)t)this.values})}}),v.extend({valHooks:{option:{get:function(e){var te.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,re.options,ie.selectedIndex,se.typeselect-one||i0,os?null:,us?i+1:r.length,ai0?u:s?i:0;for(;au;a++){nra;if((n.selected||ai)&&(v.support.optDisabled?!n.disabled:n.getAttribute(disabled)null)&&(!n.parentNode.disabled||!v.nodeName(n.parentNode,optgroup))){tv(n).val();if(s)return t;o.push(t)}}return o},set:function(e,t){var nv.makeArray(t);return v(e).find(option).each(function(){this.selectedv.inArray(v(this).val(),n)>0}),n.length||(e.selectedIndex-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,ae.nodeType;if(!e||a3||a8||a2)return;if(i&&v.isFunction(v.fnn))return v(e)n(r);if(typeof e.getAttributeundefined)return v.prop(e,n,r);ua!1||!v.isXMLDoc(e),u&&(nn.toLowerCase(),ov.attrHooksn||(X.test(n)?F:j));if(r!t){if(rnull){v.removeAttr(e,n);return}return o&&setin o&&u&&(so.set(e,r,n))!t?s:(e.setAttribute(n,r+),r)}return o&&getin o&&u&&(so.get(e,n))!null?s:(se.getAttribute(n),snull?t:s)},removeAttr:function(e,t){var n,r,i,s,o0;if(t&&e.nodeType1){rt.split(y);for(;or.length;o++)iro,i&&(nv.propFixi||i,sX.test(i),s||v.attr(e,i,),e.removeAttribute(V?i:n),s&&n in e&&(en!1))}},attrHooks:{type:{set:function(e,t){if(U.test(e.nodeName)&&e.parentNode)v.error(type property cant be changed);else if(!v.support.radioValue&&tradio&&v.nodeName(e,input)){var ne.value;return e.setAttribute(type,t),n&&(e.valuen),t}}},value:{get:function(e,t){return j&&v.nodeName(e,button)?j.get(e,t):t in e?e.value:null},set:function(e,t,n){if(j&&v.nodeName(e,button))return j.set(e,t,n);e.valuet}}},propFix:{tabindex:tabIndex,readonly:readOnly,for:htmlFor,class:className,maxlength:maxLength,cellspacing:cellSpacing,cellpadding:cellPadding,rowspan:rowSpan,colspan:colSpan,usemap:useMap,frameborder:frameBorder,contenteditable:contentEditable},prop:function(e,n,r){var i,s,o,ue.nodeType;if(!e||u3||u8||u2)return;return ou!1||!v.isXMLDoc(e),o&&(nv.propFixn||n,sv.propHooksn),r!t?s&&setin s&&(is.set(e,r,n))!t?i:enr:s&&getin s&&(is.get(e,n))!null?i:en},propHooks:{tabIndex:{get:function(e){var ne.getAttributeNode(tabindex);return n&&n.specified?parseInt(n.value,10):z.test(e.nodeName)||W.test(e.nodeName)&&e.href?0:t}}}}),F{get:function(e,n){var r,iv.prop(e,n);return i!0||typeof i!boolean&&(re.getAttributeNode(n))&&r.nodeValue!!1?n.toLowerCase():t},set:function(e,t,n){var r;return t!1?v.removeAttr(e,n):(rv.propFixn||n,r in e&&(er!0),e.setAttribute(n,n.toLowerCase())),n}},V||(I{name:!0,id:!0,coords:!0},jv.valHooks.button{get:function(e,n){var r;return re.getAttributeNode(n),r&&(In?r.value!:r.specified)?r.value:t},set:function(e,t,n){var re.getAttributeNode(n);return r||(ri.createAttribute(n),e.setAttributeNode(r)),r.valuet+}},v.each(width,height,function(e,t){v.attrHookstv.extend(v.attrHookst,{set:function(e,n){if(n)return e.setAttribute(t,auto),n}})}),v.attrHooks.contenteditable{get:j.get,set:function(e,t,n){t&&(tfalse),j.set(e,t,n)}}),v.support.hrefNormalized||v.each(href,src,width,height,function(e,n){v.attrHooksnv.extend(v.attrHooksn,{get:function(e){var re.getAttribute(n,2);return rnull?t:r}})}),v.support.style||(v.attrHooks.style{get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssTextt+}}),v.support.optSelected||(v.propHooks.selectedv.extend(v.propHooks.selected,{get:function(e){var te.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),v.support.enctype||(v.propFix.enctypeencoding),v.support.checkOn||v.each(radio,checkbox,function(){v.valHooksthis{get:function(e){return e.getAttribute(value)null?on:e.value}}}),v.each(radio,checkbox,function(){v.valHooksthisv.extend(v.valHooksthis,{set:function(e,t){if(v.isArray(t))return e.checkedv.inArray(v(e).val(),t)>0}})});var $/^(?:textarea|input|select)$/i,J/^(^\.*|)(?:\.(.+)|)$/,K/(?:^|\s)hover(\.\S+|)\b/,Q/^key/,G/^(?:mouse|contextmenu)|click/,Y/^(?:focusinfocus|focusoutblur)$/,Zfunction(e){return v.event.special.hover?e:e.replace(K,mouseenter$1 mouseleave$1)};v.event{add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType3||e.nodeType8||!n||!r||!(ov._data(e)))return;r.handler&&(dr,rd.handler,sd.selector),r.guid||(r.guidv.guid++),ao.events,a||(o.eventsa{}),uo.handle,u||(o.handleufunction(e){return typeof vundefined||!!e&&v.event.triggerede.type?t:v.event.dispatch.apply(u.elem,arguments)},u.eleme),nv.trim(Z(n)).split( );for(f0;fn.length;f++){lJ.exec(nf)||,cl1,h(l2||).split(.).sort(),gv.event.specialc||{},c(s?g.delegateType:g.bindType)||c,gv.event.specialc||{},pv.extend({type:c,origType:l1,data:i,handler:r,guid:r.guid,selector:s,needsContext:s&&v.expr.match.needsContext.test(s),namespace:h.join(.)},d),mac;if(!m){mac,m.delegateCount0;if(!g.setup||g.setup.call(e,i,h,u)!1)e.addEventListener?e.addEventListener(c,u,!1):e.attachEvent&&e.attachEvent(on+c,u)}g.add&&(g.add.call(e,p),p.handler.guid||(p.handler.guidr.guid)),s?m.splice(m.delegateCount++,0,p):m.push(p),v.event.globalc!0}enull},global:{},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,h,p,d,m,gv.hasData(e)&&v._data(e);if(!g||!(hg.events))return;tv.trim(Z(t||)).split( );for(s0;st.length;s++){oJ.exec(ts)||,uao1,fo2;if(!u){for(u in h)v.event.remove(e,u+ts,n,r,!0);continue}pv.event.specialu||{},u(r?p.delegateType:p.bindType)||u,dhu||,ld.length,ff?new RegExp((^|\\.)+f.split(.).sort().join(\\.(?:.*\\.|))+(\\.|$)):null;for(c0;cd.length;c++)mdc,(i||am.origType)&&(!n||n.guidm.guid)&&(!f||f.test(m.namespace))&&(!r||rm.selector||r**&&m.selector)&&(d.splice(c--,1),m.selector&&d.delegateCount--,p.remove&&p.remove.call(e,m));d.length0&&l!d.length&&((!p.teardown||p.teardown.call(e,f,g.handle)!1)&&v.removeEvent(e,u,g.handle),delete hu)}v.isEmptyObject(h)&&(delete g.handle,v.removeData(e,events,!0))},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,s,o){if(!s||s.nodeType!3&&s.nodeType!8){var u,a,f,l,c,h,p,d,m,g,yn.type||n,b;if(Y.test(y+v.event.triggered))return;y.indexOf(!)>0&&(yy.slice(0,-1),a!0),y.indexOf(.)>0&&(by.split(.),yb.shift(),b.sort());if((!s||v.event.customEventy)&&!v.event.globaly)return;ntypeof nobject?nv.expando?n:new v.Event(y,n):new v.Event(y),n.typey,n.isTrigger!0,n.exclusivea,n.namespaceb.join(.),n.namespace_ren.namespace?new RegExp((^|\\.)+b.join(\\.(?:.*\\.|))+(\\.|$)):null,hy.indexOf(:)0?on+y:;if(!s){uv.cache;for(f in u)uf.events&&uf.eventsy&&v.event.trigger(n,r,uf.handle.elem,!0);return}n.resultt,n.target||(n.targets),rr!null?v.makeArray(r):,r.unshift(n),pv.event.specialy||{};if(p.trigger&&p.trigger.apply(s,r)!1)return;ms,p.bindType||y;if(!o&&!p.noBubble&&!v.isWindow(s)){gp.delegateType||y,lY.test(g+y)?s:s.parentNode;for(cs;l;ll.parentNode)m.push(l,g),cl;c(s.ownerDocument||i)&&m.push(c.defaultView||c.parentWindow||e,g)}for(f0;fm.length&&!n.isPropagationStopped();f++)lmf0,n.typemf1,d(v._data(l,events)||{})n.type&&v._data(l,handle),d&&d.apply(l,r),dh&&lh,d&&v.acceptData(l)&&d.apply&&d.apply(l,r)!1&&n.preventDefault();return n.typey,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(s.ownerDocument,r)!1)&&(y!click||!v.nodeName(s,a))&&v.acceptData(s)&&h&&sy&&(y!focus&&y!blur||n.target.offsetWidth!0)&&!v.isWindow(s)&&(csh,c&&(shnull),v.event.triggeredy,sy(),v.event.triggeredt,c&&(shc)),n.result}return},dispatch:function(n){nv.event.fix(n||e.event);var r,i,s,o,u,a,f,c,h,p,d(v._data(this,events)||{})n.type||,md.delegateCount,gl.call(arguments),y!n.exclusive&&!n.namespace,bv.event.specialn.type||{},w;g0n,n.delegateTargetthis;if(b.preDispatch&&b.preDispatch.call(this,n)!1)return;if(m&&(!n.button||n.type!click))for(sn.target;s!this;ss.parentNode||this)if(s.disabled!!0||n.type!click){u{},f;for(r0;rm;r++)cdr,hc.selector,uht&&(uhc.needsContext?v(h,this).index(s)>0:v.find(h,this,null,s).length),uh&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r0;rw.length&&!n.isPropagationStopped();r++){awr,n.currentTargeta.elem;for(i0;ia.matches.length&&!n.isImmediatePropagationStopped();i++){ca.matchesi;if(y||!n.namespace&&!c.namespace||n.namespace_re&&n.namespace_re.test(c.namespace))n.datac.data,n.handleObjc,o((v.event.specialc.origType||{}).handle||c.handler).apply(a.elem,g),o!t&&(n.resulto,o!1&&(n.preventDefault(),n.stopPropagation()))}}return b.postDispatch&&b.postDispatch.call(this,n),n.result},props:attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which.split( ),fixHooks:{},keyHooks:{props:char charCode key keyCode.split( ),filter:function(e,t){return e.whichnull&&(e.whicht.charCode!null?t.charCode:t.keyCode),e}},mouseHooks:{props:button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement.split( ),filter:function(e,n){var r,s,o,un.button,an.fromElement;return e.pageXnull&&n.clientX!null&&(re.target.ownerDocument||i,sr.documentElement,or.body,e.pageXn.clientX+(s&&s.scrollLeft||o&&o.scrollLeft||0)-(s&&s.clientLeft||o&&o.clientLeft||0),e.pageYn.clientY+(s&&s.scrollTop||o&&o.scrollTop||0)-(s&&s.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTargetae.target?n.toElement:a),!e.which&&u!t&&(e.whichu&1?1:u&2?3:u&4?2:0),e}},fix:function(e){if(ev.expando)return e;var t,n,re,sv.event.fixHookse.type||{},os.props?this.props.concat(s.props):this.props;ev.Event(r);for(to.length;t;)no--t,enrn;return e.target||(e.targetr.srcElement||i),e.target.nodeType3&&(e.targete.target.parentNode),e.metaKey!!e.metaKey,s.filter?s.filter(e,r):e},special:{load:{noBubble:!0},focus:{delegateType:focusin},blur:{delegateType:focusout},beforeunload:{setup:function(e,t,n){v.isWindow(this)&&(this.onbeforeunloadn)},teardown:function(e,t){this.onbeforeunloadt&&(this.onbeforeunloadnull)}}},simulate:function(e,t,n,r){var iv.extend(new v.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?v.event.trigger(i,null,t):v.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},v.event.handlev.event.dispatch,v.removeEventi.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var ron+t;e.detachEvent&&(typeof erundefined&&(ernull),e.detachEvent(r,n))},v.Eventfunction(e,t){if(!(this instanceof v.Event))return new v.Event(e,t);e&&e.type?(this.originalEvente,this.typee.type,this.isDefaultPreventede.defaultPrevented||e.returnValue!1||e.getPreventDefault&&e.getPreventDefault()?tt:et):this.typee,t&&v.extend(this,t),this.timeStampe&&e.timeStamp||v.now(),thisv.expando!0},v.Event.prototype{preventDefault:function(){this.isDefaultPreventedtt;var ethis.originalEvent;if(!e)return;e.preventDefault?e.preventDefault():e.returnValue!1},stopPropagation:function(){this.isPropagationStoppedtt;var ethis.originalEvent;if(!e)return;e.stopPropagation&&e.stopPropagation(),e.cancelBubble!0},stopImmediatePropagation:function(){this.isImmediatePropagationStoppedtt,this.stopPropagation()},isDefaultPrevented:et,isPropagationStopped:et,isImmediatePropagationStopped:et},v.each({mouseenter:mouseover,mouseleave:mouseout},function(e,t){v.event.speciale{delegateType:t,bindType:t,handle:function(e){var n,rthis,ie.relatedTarget,se.handleObj,os.selector;if(!i||i!r&&!v.contains(r,i))e.types.origType,ns.handler.apply(this,arguments),e.typet;return n}}}),v.support.submitBubbles||(v.event.special.submit{setup:function(){if(v.nodeName(this,form))return!1;v.event.add(this,click._submit keypress._submit,function(e){var ne.target,rv.nodeName(n,input)||v.nodeName(n,button)?n.form:t;r&&!v._data(r,_submit_attached)&&(v.event.add(r,submit._submit,function(e){e._submit_bubble!0}),v._data(r,_submit_attached,!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&v.event.simulate(submit,this.parentNode,e,!0))},teardown:function(){if(v.nodeName(this,form))return!1;v.event.remove(this,._submit)}}),v.support.changeBubbles||(v.event.special.change{setup:function(){if($.test(this.nodeName)){if(this.typecheckbox||this.typeradio)v.event.add(this,propertychange._change,function(e){e.originalEvent.propertyNamechecked&&(this._just_changed!0)}),v.event.add(this,click._change,function(e){this._just_changed&&!e.isTrigger&&(this._just_changed!1),v.event.simulate(change,this,e,!0)});return!1}v.event.add(this,beforeactivate._change,function(e){var te.target;$.test(t.nodeName)&&!v._data(t,_change_attached)&&(v.event.add(t,change._change,function(e){this.parentNode&&!e.isSimulated&&!e.isTrigger&&v.event.simulate(change,this.parentNode,e,!0)}),v._data(t,_change_attached,!0))})},handle:function(e){var te.target;if(this!t||e.isSimulated||e.isTrigger||t.type!radio&&t.type!checkbox)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return v.event.remove(this,._change),!$.test(this.nodeName)}}),v.support.focusinBubbles||v.each({focus:focusin,blur:focusout},function(e,t){var n0,rfunction(e){v.event.simulate(t,e.target,v.event.fix(e),!0)};v.event.specialt{setup:function(){n++0&&i.addEventListener(e,r,!0)},teardown:function(){--n0&&i.removeEventListener(e,r,!0)}}}),v.fn.extend({on:function(e,n,r,i,s){var o,u;if(typeof eobject){typeof n!string&&(rr||n,nt);for(u in e)this.on(u,n,r,eu,s);return this}rnull&&inull?(in,rnt):inull&&(typeof nstring?(ir,rt):(ir,rn,nt));if(i!1)iet;else if(!i)return this;return s1&&(oi,ifunction(e){return v().off(e),o.apply(this,arguments)},i.guido.guid||(o.guidv.guid++)),this.each(function(){v.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,s;if(e&&e.preventDefault&&e.handleObj)return ie.handleObj,v(e.delegateTarget).off(i.namespace?i.origType+.+i.namespace:i.origType,i.selector,i.handler),this;if(typeof eobject){for(s in e)this.off(s,n,es);return this}if(n!1||typeof nfunction)rn,nt;return r!1&&(ret),this.each(function(){v.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return v(this.context).on(e,this.selector,t,n),this},die:function(e,t){return v(this.context).off(e,this.selector||**,t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length1?this.off(e,**):this.off(t,e||**,n)},trigger:function(e,t){return this.each(function(){v.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this0)return v.event.trigger(e,t,this0,!0)},toggle:function(e){var targuments,ne.guid||v.guid++,r0,ifunction(n){var i(v._data(this,lastToggle+e.guid)||0)%r;return v._data(this,lastToggle+e.guid,i+1),n.preventDefault(),ti.apply(this,arguments)||!1};i.guidn;while(rt.length)tr++.guidn;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),v.each(blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu.split( ),function(e,t){v.fntfunction(e,n){return nnull&&(ne,enull),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHookstv.event.keyHooks),G.test(t)&&(v.event.fixHookstv.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){nn||,tt||g;var i,s,a,f,lt.nodeType;if(!e||typeof e!string)return n;if(l!1&&l!9)return;ao(t);if(!a&&!r)if(iR.exec(e))if(fi1){if(l9){st.getElementById(f);if(!s||!s.parentNode)return n;if(s.idf)return n.push(s),n}else if(t.ownerDocument&&(st.ownerDocument.getElementById(f))&&u(t,s)&&s.idf)return n.push(s),n}else{if(i2)return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((fi3)&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,$1),t,n,r,a)}function rt(e){return function(t){var nt.nodeName.toLowerCase();return ninput&&t.typee}}function it(e){return function(t){var nt.nodeName.toLowerCase();return(ninput||nbutton)&&t.typee}}function st(e){return N(function(t){return t+t,N(function(n,r){var i,se(,n.length,t),os.length;while(o--)niso&&(ni!(rini))})})}function ot(e,t,n){if(et)return n;var re.nextSibling;while(r){if(rt)return-1;rr.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,lLde+ ;if(l)return t?0:l.slice(0);ue,a,fi.preFilter;while(u){if(!n||(rF.exec(u)))r&&(uu.slice(r0.length)||u),a.push(s);n!1;if(rI.exec(u))s.push(nnew m(r.shift())),uu.slice(n.length),n.typer0.replace(j, );for(o in i.filter)(rJo.exec(u))&&(!fo||(rfo(r)))&&(s.push(nnew m(r.shift())),uu.slice(n.length),n.typeo,n.matchesr);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var it.dir,sr&&t.dirparentNode,ow++;return t.first?function(t,n,r){while(tti)if(s||t.nodeType1)return e(t,n,r)}:function(t,r,u){if(!u){var a,fb+ +o+ ,lf+n;while(tti)if(s||t.nodeType1){if((atd)l)return t.sizset;if(typeof astring&&a.indexOf(f)0){if(t.sizset)return t}else{tdl;if(e(t,r,u))return t.sizset!0,t;t.sizset!1}}}else while(tti)if(s||t.nodeType1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var ie.length;while(i--)if(!ei(t,n,r))return!1;return!0}:e0}function lt(e,t,n,r,i){var s,o,u0,ae.length,ft!null;for(;ua;u++)if(seu)if(!n||n(s,r,i))o.push(s),f&&t.push(u);return o}function ct(e,t,n,r,i,s){return r&&!rd&&(rct(r)),i&&!id&&(ict(i,s)),N(function(s,o,u,a){var f,l,c,h,p,do.length,vs||dt(t||*,u.nodeType?u:u,),me&&(s||!t)?lt(v,h,e,u,a):v,gn?i||(s?e:d||r)?:o:m;n&&n(m,g,u,a);if(r){flt(g,p),r(f,,u,a),lf.length;while(l--)if(cfl)gpl!(mplc)}if(s){if(i||e){if(i){f,lg.length;while(l--)(cgl)&&f.push(mlc);i(null,g,f,a)}lg.length;while(l--)(cgl)&&(fi?T.call(s,c):hl)>-1&&(sf!(ofc))}}else glt(go?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,se.length,oi.relativee0.type,uo||i.relative ,ao?1:0,fat(function(e){return et},u,!0),lat(function(e){return T.call(t,e)>-1},u,!0),hfunction(e,n,r){return!o&&(r||n!c)||((tn).nodeType?f(e,n,r):l(e,n,r))};for(;as;a++)if(ni.relativeea.type)hat(ft(h),n);else{ni.filterea.type.apply(null,ea.matches);if(nd){r++a;for(;rs;r++)if(i.relativeer.type)break;return ct(a>1&&ft(h),a>1&&e.slice(0,a-1).join().replace(j,$1),n,ar&&ht(e.slice(a,r)),rs&&ht(ee.slice(r)),rs&&e.join())}h.push(n)}return ft(h)}function pt(e,t){var rt.length>0,se.length>0,ofunction(u,a,f,l,h){var p,d,v,m,y0,w0,xu&&,Th!null,Nc,Cu||s&&i.find.TAG(*,h&&a.parentNode||a),kb+Nnull?1:Math.E;T&&(ca!g&&a,no.el);for(;(pCw)!null;w++){if(s&&p){for(d0;ved;d++)if(v(p,a,f)){l.push(p);break}T&&(bk,n++o.el)}r&&((p!v&&p)&&y--,u&&x.push(p))}y+w;if(r&&w!y){for(d0;vtd;d++)v(x,m,a,f);if(u){if(y>0)while(w--)!xw&&!mw&&(mwE.call(l));mlt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(bk,cN),x};return o.el0,r?N(o):o}function dt(e,t,n){var r0,it.length;for(;ri;r++)nt(e,tr,n);return n}function vt(e,t,n,r,s){var o,u,f,l,c,hut(e),ph.length;if(!r&&h.length1){uh0h0.slice(0);if(u.length>2&&(fu0).typeID&&t.nodeType9&&!s&&i.relativeu1.type){ti.find.ID(f.matches0.replace($,),t,s)0;if(!t)return n;ee.slice(u.shift().length)}for(oJ.POS.test(e)?-1:u.length-1;o>0;o--){fuo;if(i.relativelf.type)break;if(ci.findl)if(rc(f.matches0.replace($,),z.test(u0.type)&&t.parentNode||t,s)){u.splice(o,1),er.length&&u.join();if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h!0,pundefined,d(sizcache+Math.random()).replace(.,),mString,ge.document,yg.documentElement,b0,w0,E.pop,S.push,x.slice,T.indexOf||function(e){var t0,nthis.length;for(;tn;t++)if(thiste)return t;return-1},Nfunction(e,t){return edtnull||t,e},Cfunction(){var e{},t;return N(function(n,r){return t.push(n)>i.cacheLength&&delete et.shift(),en+ r},e)},kC(),LC(),AC(),O\\x20\\t\\r\\n\\f,M(?:\\\\.|-\\w|^\\x00-\\xa0)+,_M.replace(w,w#),D(*^$|!~?),P\\+O+*(+M+)+O+*(?:+D+O+*(?:(\)((?:\\\\.|^\\\\)*?)\\3|(+_+)|)|)+O+*\\,H:(+M+)(?:\\((?:(\)((?:\\\\.|^\\\\)*?)\\2|(^()\\*|(?:(?:+P+)|^:|\\\\.)*|.*))\\)|),B:(even|odd|eq|gt|lt|nth|first|last)(?:\\(+O+*((?:-\\d)?\\d*)+O+*\\)|)(?^-|$),jnew RegExp(^+O++|((?:^|^\\\\)(?:\\\\.)*)+O++$,g),Fnew RegExp(^+O+*,+O+*),Inew RegExp(^+O+*(\\x20\\t\\r\\n\\f>+~)+O+*),qnew RegExp(H),R/^(?:#(\w\-+)|(\w+)|\.(\w\-+))$/,U/^:not/,z/\x20\t\r\n\f*+~/,W/:not\($/,X/h\d/i,V/input|select|textarea|button/i,$/\\(?!\\)/g,J{ID:new RegExp(^#(+M+)),CLASS:new RegExp(^\\.(+M+)),NAME:new RegExp(^\\name\?(+M+)\?\\),TAG:new RegExp(^(+M.replace(w,w*)+)),ATTR:new RegExp(^+P),PSEUDO:new RegExp(^+H),POS:new RegExp(B,i),CHILD:new RegExp(^:(only|nth|first|last)-child(?:\\(+O+*(even|odd|((+-|)(\\d*)n|)+O+*(?:(+-|)+O+*(\\d+)|))+O+*\\)|),i),needsContext:new RegExp(^+O+*>+~|+B,i)},Kfunction(e){var tg.createElement(div);try{return e(t)}catch(n){return!1}finally{tnull}},QK(function(e){return e.appendChild(g.createComment()),!e.getElementsByTagName(*).length}),GK(function(e){return e.innerHTMLa href#>/a>,e.firstChild&&typeof e.firstChild.getAttribute!p&&e.firstChild.getAttribute(href)#}),YK(function(e){e.innerHTMLselect>/select>;var ttypeof e.lastChild.getAttribute(multiple);return t!boolean&&t!string}),ZK(function(e){return e.innerHTMLdiv classhidden e>/div>div classhidden>/div>,!e.getElementsByClassName||!e.getElementsByClassName(e).length?!1:(e.lastChild.classNamee,e.getElementsByClassName(e).length2)}),etK(function(e){e.idd+0,e.innerHTMLa name+d+>/a>div name+d+>/div>,y.insertBefore(e,y.firstChild);var tg.getElementsByName&&g.getElementsByName(d).length2+g.getElementsByName(d+0).length;return r!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)0.nodeType}catch(tt){xfunction(e){var t,n;for(;tthise;e++)n.push(t);return n}}nt.matchesfunction(e,t){return nt(e,null,null,t)},nt.matchesSelectorfunction(e,t){return nt(t,null,null,e).length>0},snt.getTextfunction(e){var t,n,r0,ie.nodeType;if(i){if(i1||i9||i11){if(typeof e.textContentstring)return e.textContent;for(ee.firstChild;e;ee.nextSibling)n+s(e)}else if(i3||i4)return e.nodeValue}else for(;ter;r++)n+s(t);return n},ont.isXMLfunction(e){var te&&(e.ownerDocument||e).documentElement;return t?t.nodeName!HTML:!1},unt.containsy.contains?function(e,t){var ne.nodeType9?e.documentElement:e,rt&&t.parentNode;return er||!!(r&&r.nodeType1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(tt.parentNode)if(te)return!0;return!1},nt.attrfunction(e,t){var n,ro(e);return r||(tt.toLowerCase()),(ni.attrHandlet)?n(e):r||Y?e.getAttribute(t):(ne.getAttributeNode(t),n?typeof etboolean?et?t:null:n.specified?n.value:null:null)},int.selectors{cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute(href,2)},type:function(e){return e.getAttribute(type)}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!p&&!n){var rt.getElementById(e);return r&&r.parentNode?r:}}:function(e,n,r){if(typeof n.getElementById!p&&!r){var in.getElementById(e);return i?i.ide||typeof i.getAttributeNode!p&&i.getAttributeNode(id).valuee?i:t:}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!p)return t.getElementsByTagName(e)}:function(e,t){var nt.getElementsByTagName(e);if(e*){var r,i,s0;for(;rns;s++)r.nodeType1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!p&&!n)return t.getElementsByClassName(e)}},relative:{>:{dir:parentNode,first:!0}, :{dir:parentNode},+:{dir:previousSibling,first:!0},~:{dir:previousSibling}},preFilter:{ATTR:function(e){return e1e1.replace($,),e3(e4||e5||).replace($,),e2~&&(e3 +e3+ ),e.slice(0,4)},CHILD:function(e){return e1e1.toLowerCase(),e1nth?(e2||nt.error(e0),e3+(e3?e4+(e5||1):2*(e2even||e2odd)),e4+(e6+e7||e2odd)):e2&&nt.error(e0),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e0))return null;if(e3)e2e3;else if(te4)q.test(t)&&(nut(t,!0))&&(nt.indexOf(),t.length-n)-t.length)&&(tt.slice(0,n),e0e0.slice(0,n)),e2t;return e.slice(0,3)}},filter:{ID:r?function(e){return ee.replace($,),function(t){return t.getAttribute(id)e}}:function(e){return ee.replace($,),function(t){var ntypeof t.getAttributeNode!p&&t.getAttributeNode(id);return n&&n.valuee}},TAG:function(e){return e*?function(){return!0}:(ee.replace($,).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()e})},CLASS:function(e){var tkde+ ;return t||(tnew RegExp((^|+O+)+e+(+O+|$)))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!p&&e.getAttribute(class)||)})},ATTR:function(e,t,n){return function(r,i){var snt.attr(r,e);return snull?t!:t?(s+,t?sn:t!?s!n:t^?n&&s.indexOf(n)0:t*?n&&s.indexOf(n)>-1:t$?n&&s.substr(s.length-n.length)n:t~?( +s+ ).indexOf(n)>-1:t|?sn||s.substr(0,n.length+1)n+-:!1):!0}},CHILD:function(e,t,n,r){return enth?function(e){var t,i,se.parentNode;if(n1&&r0)return!0;if(s){i0;for(ts.firstChild;t;tt.nextSibling)if(t.nodeType1){i++;if(et)break}}return i-r,in||i%n0&&i/n>0}:function(t){var nt;switch(e){caseonly:casefirst:while(nn.previousSibling)if(n.nodeType1)return!1;if(efirst)return!0;nt;caselast:while(nn.nextSibling)if(n.nodeType1)return!1;return!0}}},PSEUDO:function(e,t){var n,ri.pseudose||i.setFilterse.toLowerCase()||nt.error(unsupported pseudo: +e);return rd?r(t):r.length>1?(ne,e,,t,i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,sr(e,t),os.length;while(o--)iT.call(e,so),ei!(niso)}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t,n,ra(e.replace(j,$1));return rd?N(function(e,t,n,i){var s,or(e,null,i,),ue.length;while(u--)if(sou)eu!(tus)}):function(e,i,s){return t0e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled!1},disabled:function(e){return e.disabled!0},checked:function(e){var te.nodeName.toLowerCase();return tinput&&!!e.checked||toption&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;ee.firstChild;while(e){if(e.nodeName>@||(te.nodeType)3||t4)return!1;ee.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()input&&(te.type)text&&((ne.getAttribute(type))null||n.toLowerCase()t)},radio:rt(radio),checkbox:rt(checkbox),file:rt(file),password:rt(password),image:rt(image),submit:it(submit),reset:it(reset),button:function(e){var te.nodeName.toLowerCase();return tinput&&e.typebutton||tbutton},input:function(e){return V.test(e.nodeName)},focus:function(e){var te.ownerDocument;return et.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return ee.ownerDocument.activeElement},first:st(function(){return0}),last:st(function(e,t){returnt-1}),eq:st(function(e,t,n){returnn0?n+t:n}),even:st(function(e,t){for(var n0;nt;n+2)e.push(n);return e}),odd:st(function(e,t){for(var n1;nt;n+2)e.push(n);return e}),lt:st(function(e,t,n){for(var rn0?n+t:n;--r>0;)e.push(r);return e}),gt:st(function(e,t,n){for(var rn0?n+t:n;++rt;)e.push(r);return e})}},fy.compareDocumentPosition?function(e,t){return et?(l!0,0):(!e.compareDocumentPosition||!t.compareDocumentPosition?e.compareDocumentPosition:e.compareDocumentPosition(t)&4)?-1:1}:function(e,t){if(et)return l!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i,s,oe.parentNode,ut.parentNode,ao;if(ou)return ot(e,t);if(!o)return-1;if(!u)return 1;while(a)i.unshift(a),aa.parentNode;au;while(a)s.unshift(a),aa.parentNode;ni.length,rs.length;for(var f0;fn&&fr;f++)if(if!sf)return ot(if,sf);return fn?ot(e,sf,-1):ot(if,t,1)},0,0.sort(f),h!l,nt.uniqueSortfunction(e){var t,n,r1,i0;lh,e.sort(f);if(l){for(;ter;r++)ter-1&&(in.push(r));while(i--)e.splice(ni,1)}return e},nt.errorfunction(e){throw new Error(Syntax error, unrecognized expression: +e)},ant.compilefunction(e,t){var n,r,i,sAde+ ;if(!s){t||(tut(e)),nt.length;while(n--)sht(tn),sd?r.push(s):i.push(s);sA(e,pt(i,r))}return s},g.querySelectorAll&&function(){var e,tvt,n/|\\/g,r/\\x20\t\r\n\f*(^\*)\x20\t\r\n\f*\/g,i:focus,s:active,uy.matchesSelector||y.mozMatchesSelector||y.webkitMatchesSelector||y.oMatchesSelector||y.msMatchesSelector;K(function(e){e.innerHTMLselect>option selected>/option>/select>,e.querySelectorAll(selected).length||i.push(\\+O+*(?:checked|disabled|ismap|multiple|readonly|selected|value)),e.querySelectorAll(:checked).length||i.push(:checked)}),K(function(e){e.innerHTMLp test>/p>,e.querySelectorAll(test^).length&&i.push(*^$+O+*(?:\\|)),e.innerHTMLinput typehidden/>,e.querySelectorAll(:enabled).length||i.push(:enabled,:disabled)}),inew RegExp(i.join(|)),vtfunction(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l!0,cd,hr,pr.nodeType9&&e;if(r.nodeType1&&r.nodeName.toLowerCase()!object){aut(e),(lr.getAttribute(id))?cl.replace(n,\\$&):r.setAttribute(id,c),cid+c+ ,fa.length;while(f--)afc+af.join();hz.test(e)&&r.parentNode||r,pa.join(,)}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute(id)}}return t(e,r,s,o,u)},u&&(K(function(t){eu.call(t,div);try{u.call(t,test!:sizzle),s.push(!,H)}catch(n){}}),snew RegExp(s.join(|)),nt.matchesSelectorfunction(t,n){nn.replace(r,$1);if(!o(t)&&!s.test(n)&&!i.test(n))try{var au.call(t,n);if(a||e||t.document&&t.document.nodeType!11)return a}catch(f){}return nt(n,null,null,t).length>0})}(),i.pseudos.nthi.pseudos.eq,i.filtersmt.prototypei.pseudos,i.setFiltersnew mt,nt.attrv.attr,v.findnt,v.exprnt.selectors,v.expr:v.expr.pseudos,v.uniquent.uniqueSort,v.textnt.getText,v.isXMLDocnt.isXML,v.containsnt.contains}(e);var nt/Until$/,rt/^(?:parents|prev(?:Until|All))/,it/^.^:#\\.,*$/,stv.expr.match.needsContext,ot{children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,uthis;if(typeof e!string)return v(e).filter(function(){for(t0,nu.length;tn;t++)if(v.contains(ut,this))return!0});othis.pushStack(,find,e);for(t0,nthis.length;tn;t++){ro.length,v.find(e,thist,o);if(t>0)for(ir;io.length;i++)for(s0;sr;s++)if(osoi){o.splice(i--,1);break}}return o},has:function(e){var t,nv(e,this),rn.length;return this.filter(function(){for(t0;tr;t++)if(v.contains(this,nt))return!0})},not:function(e){return this.pushStack(ft(this,e,!1),not,e)},filter:function(e){return this.pushStack(ft(this,e,!0),filter,e)},is:function(e){return!!e&&(typeof estring?st.test(e)?v(e,this.context).index(this0)>0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r0,ithis.length,s,ost.test(e)||typeof e!string?v(e,t||this.context):0;for(;ri;r++){nthisr;while(n&&n.ownerDocument&&n!t&&n.nodeType!11){if(o?o.index(n)>-1:v.find.matchesSelector(n,e)){s.push(n);break}nn.parentNode}}return ss.length>1?v.unique(s):s,this.pushStack(s,closest,e)},index:function(e){return e?typeof estring?v.inArray(this0,v(e)):v.inArray(e.jquery?e0:e,this):this0&&this0.parentNode?this.prevAll().length:-1},add:function(e,t){var ntypeof estring?v(e,t):v.makeArray(e&&e.nodeType?e:e),rv.merge(this.get(),n);return this.pushStack(ut(n0)||ut(r0)?r:v.unique(r))},addBack:function(e){return this.add(enull?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelfv.fn.addBack,v.each({parent:function(e){var te.parentNode;return t&&t.nodeType!11?t:null},parents:function(e){return v.dir(e,parentNode)},parentsUntil:function(e,t,n){return v.dir(e,parentNode,n)},next:function(e){return at(e,nextSibling)},prev:function(e){return at(e,previousSibling)},nextAll:function(e){return v.dir(e,nextSibling)},prevAll:function(e){return v.dir(e,previousSibling)},nextUntil:function(e,t,n){return v.dir(e,nextSibling,n)},prevUntil:function(e,t,n){return v.dir(e,previousSibling,n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,iframe)?e.contentDocument||e.contentWindow.document:v.merge(,e.childNodes)}},function(e,t){v.fnefunction(n,r){var iv.map(this,t,n);return nt.test(e)||(rn),r&&typeof rstring&&(iv.filter(r,i)),ithis.length>1&&!ote?v.unique(i):i,this.length>1&&rt.test(e)&&(ii.reverse()),this.pushStack(i,e,l.call(arguments).join(,))}}),v.extend({filter:function(e,t,n){return n&&(e:not(+e+)),t.length1?v.find.matchesSelector(t0,e)?t0::v.find.matches(e,t)},dir:function(e,n,r){var i,sen;while(s&&s.nodeType!9&&(rt||s.nodeType!1||!v(s).is(r)))s.nodeType1&&i.push(s),ssn;return i},sibling:function(e,t){var n;for(;e;ee.nextSibling)e.nodeType1&&e!t&&n.push(e);return n}});var ctabbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video,ht/ jQuery\d+(?:null|\d+)/g,pt/^\s+/,dt/(?!area|br|col|embed|hr|img|input|link|meta|param)((\w:+)^>*)\/>/gi,vt/(\w:+)/,mt/tbody/i,gt/|?\w+;/,yt/(?:script|style|link)/i,bt/(?:script|object|embed|option|style)/i,wtnew RegExp((?:+ct+)\\s/>,i),Et/^(?:checkbox|radio)$/,St/checked\s*(?:^|\s*.checked.)/i,xt/\/(java|ecma)script/i,Tt/^\s*!(?:\CDATA\|\-\-)|\\-{2}>\s*$/g,Nt{option:1,select multiplemultiple>,/select>,legend:1,fieldset>,/fieldset>,thead:1,table>,/table>,tr:2,table>tbody>,/tbody>/table>,td:3,table>tbody>tr>,/tr>/tbody>/table>,col:2,table>tbody>/tbody>colgroup>,/colgroup>/table>,area:1,map>,/map>,_default:0,,},Ctlt(i),ktCt.appendChild(i.createElement(div));Nt.optgroupNt.option,Nt.tbodyNt.tfootNt.colgroupNt.captionNt.thead,Nt.thNt.td,v.support.htmlSerialize||(Nt._default1,Xdiv>,/div>),v.fn.extend({text:function(e){return v.access(this,function(e){return et?v.text(this):this.empty().append((this0&&this0.ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this0){var tv(e,this0.ownerDocument).eq(0).clone(!0);this0.parentNode&&t.insertBefore(this0),t.map(function(){var ethis;while(e.firstChild&&e.firstChild.nodeType1)ee.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var tv(this),nt.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var tv.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,body)||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType1||this.nodeType11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType1||this.nodeType11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this0))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var ev.clean(arguments);return this.pushStack(v.merge(e,this),before,this.selector)}},after:function(){if(!ut(this0))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var ev.clean(arguments);return this.pushStack(v.merge(this,e),after,this.selector)}},remove:function(e,t){var n,r0;for(;(nthisr)!null;r++)if(!e||v.filter(e,n).length)!t&&n.nodeType1&&(v.cleanData(n.getElementsByTagName(*)),v.cleanData(n)),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t0;for(;(ethist)!null;t++){e.nodeType1&&v.cleanData(e.getElementsByTagName(*));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return eenull?!1:e,ttnull?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var nthis0||{},r0,ithis.length;if(et)return n.nodeType1?n.innerHTML.replace(ht,):t;if(typeof estring&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt(vt.exec(e)||,)1.toLowerCase()){ee.replace(dt,$1>/$2>);try{for(;ri;r++)nthisr||{},n.nodeType1&&(v.cleanData(n.getElementsByTagName(*)),n.innerHTMLe);n0}catch(s){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return ut(this0)?this.length?this.pushStack(v(v.isFunction(e)?e():e),replaceWith,e):this:v.isFunction(e)?this.each(function(t){var nv(this),rn.html();n.replaceWith(e.call(this,t,r))}):(typeof e!string&&(ev(e).detach()),this.each(function(){var tthis.nextSibling,nthis.parentNode;v(this).remove(),t?v(t).before(e):v(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e.concat.apply(,e);var i,s,o,u,a0,fe0,l,cthis.length;if(!v.support.checkClone&&c>1&&typeof fstring&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var sv(this);e0f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this0){iv.buildFragment(e,this,l),oi.fragment,so.firstChild,o.childNodes.length1&&(os);if(s){nn&&v.nodeName(s,tr);for(ui.cacheable||c-1;ac;a++)r.call(n&&v.nodeName(thisa,table)?Lt(thisa,tbody):thisa,au?o:v.clone(o,!0,!0))}osnull,l.length&&v.each(l,function(e,t){t.src?v.ajax?v.ajax({url:t.src,type:GET,dataType:script,async:!1,global:!1,throws:!0}):v.error(no ajax):v.globalEval((t.text||t.textContent||t.innerHTML||).replace(Tt,)),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),v.buildFragmentfunction(e,n,r){var s,o,u,ae0;return nn||i,n!n.nodeType&&n0||n,nn.ownerDocument||n,e.length1&&typeof astring&&a.length512&&ni&&a.charAt(0)&&!bt.test(a)&&(v.support.checkClone||!St.test(a))&&(v.support.html5Clone||!wt.test(a))&&(o!0,sv.fragmentsa,us!t),s||(sn.createDocumentFragment(),v.clean(e,n,s,r),o&&(v.fragmentsau&&s)),{fragment:s,cacheable:o}},v.fragments{},v.each({appendTo:append,prependTo:prepend,insertBefore:before,insertAfter:after,replaceAll:replaceWith},function(e,t){v.fnefunction(n){var r,i0,s,ov(n),uo.length,athis.length1&&this0.parentNode;if((anull||a&&a.nodeType11&&a.childNodes.length1)&&u1)return ot(this0),this;for(;iu;i++)r(i>0?this.clone(!0):this).get(),v(oi)t(r),ss.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test(+e.nodeName+>)?oe.cloneNode(!0):(kt.innerHTMLe.outerHTML,kt.removeChild(okt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType1||e.nodeType11)&&!v.isXMLDoc(e)){Ot(e,o),rMt(e),iMt(o);for(s0;rs;++s)is&&Ot(rs,is)}if(t){At(e,o);if(n){rMt(e),iMt(o);for(s0;rs;++s)At(rs,is)}}return rinull,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,yti&&Ct,b;if(!t||typeof t.createDocumentFragmentundefined)ti;for(s0;(ues)!null;s++){typeof unumber&&(u+);if(!u)continue;if(typeof ustring)if(!gt.test(u))ut.createTextNode(u);else{yy||lt(t),ct.createElement(div),y.appendChild(c),uu.replace(dt,$1>/$2>),a(vt.exec(u)||,)1.toLowerCase(),fNta||Nt._default,lf0,c.innerHTMLf1+u+f2;while(l--)cc.lastChild;if(!v.support.tbody){hmt.test(u),patable&&!h?c.firstChild&&c.firstChild.childNodes:f1table>&&!h?c.childNodes:;for(op.length-1;o>0;--o)v.nodeName(po,tbody)&&!po.childNodes.length&&po.parentNode.removeChild(po)}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)0),c.firstChild),uc.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(ucynull);if(!v.support.appendChecked)for(s0;(ubs)!null;s++)v.nodeName(u,input)?_t(u):typeof u.getElementsByTagName!undefined&&v.grep(u.getElementsByTagName(input),_t);if(n){mfunction(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s0;(ubs)!null;s++)if(!v.nodeName(u,script)||!m(u))n.appendChild(u),typeof u.getElementsByTagName!undefined&&(gv.grep(v.merge(,u.getElementsByTagName(script)),m),b.splice.apply(b,s+1,0.concat(g)),s+g.length)}return b},cleanData:function(e,t){var n,r,i,s,o0,uv.expando,av.cache,fv.support.deleteExpando,lv.event.special;for(;(ieo)!null;o++)if(t||v.acceptData(i)){riu,nr&&ar;if(n){if(n.events)for(s in n.events)ls?v.event.remove(i,s):v.removeEvent(i,s,n.handle);ar&&(delete ar,f?delete iu:i.removeAttribute?i.removeAttribute(u):iunull,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatchfunction(e){ee.toLowerCase();var t/(chrome) \/(\w.+)/.exec(e)||/(webkit) \/(\w.+)/.exec(e)||/(opera)(?:.*version|) \/(\w.+)/.exec(e)||/(msie) (\w.+)/.exec(e)||e.indexOf(compatible)0&&/(mozilla)(?:.*? rv:(\w.+)|)/.exec(e)||;return{browser:t1||,version:t2||0}},ev.uaMatch(o.userAgent),t{},e.browser&&(te.browser!0,t.versione.version),t.chrome?t.webkit!0:t.webkit&&(t.safari!0),v.browsert,v.subfunction(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclassthis,e.fne.prototypethis(),e.fn.constructore,e.subthis.sub,e.fn.initfunction(r,i){return i&&i instanceof v&&!(i instanceof e)&&(ie(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototypee.fn;var te(i);return e}}();var Dt,Pt,Ht,Bt/alpha\(^)*\)/i,jt/opacity(^)*)/,Ft/^(top|right|bottom|left)$/,It/^(none|table(?!-cea).+)/,qt/^margin/,Rtnew RegExp(^(+m+)(.*)$,i),Utnew RegExp(^(+m+)(?!px)a-z%+$,i),ztnew RegExp(^(-+)(+m+),i),Wt{BODY:block},Xt{position:absolute,visibility:hidden,display:block},Vt{letterSpacing:0,fontWeight:400},$tTop,Right,Bottom,Left,JtWebkit,O,Moz,ms,Ktv.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var ntypeof eboolean;return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var nDt(e,opacity);return n?1:n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:v.support.cssFloat?cssFloat:styleFloat},style:function(e,n,r,i){if(!e||e.nodeType3||e.nodeType8||!e.style)return;var s,o,u,av.camelCase(n),fe.style;nv.cssPropsa||(v.cssPropsaQt(f,a)),uv.cssHooksn||v.cssHooksa;if(rt)return u&&getin u&&(su.get(e,!1,i))!t?s:fn;otypeof r,ostring&&(szt.exec(r))&&(r(s1+1)*s2+parseFloat(v.css(e,n)),onumber);if(rnull||onumber&&isNaN(r))return;onumber&&!v.cssNumbera&&(r+px);if(!u||!(setin u)||(ru.set(e,r,i))!t)try{fnr}catch(l){}},css:function(e,n,r,i){var s,o,u,av.camelCase(n);return nv.cssPropsa||(v.cssPropsaQt(e.style,a)),uv.cssHooksn||v.cssHooksa,u&&getin u&&(su.get(e,!0,i)),st&&(sDt(e,n)),snormal&&n in Vt&&(sVtn),r||i!t?(oparseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s{};for(i in t)sie.stylei,e.styleiti;rn.call(e);for(i in t)e.styleisi;return r}}),e.getComputedStyle?Dtfunction(t,n){var r,i,s,o,ue.getComputedStyle(t,null),at.style;return u&&(ru.getPropertyValue(n)||un,r&&!v.contains(t.ownerDocument,t)&&(rv.style(t,n)),Ut.test(r)&&qt.test(n)&&(ia.width,sa.minWidth,oa.maxWidth,a.minWidtha.maxWidtha.widthr,ru.width,a.widthi,a.minWidths,a.maxWidtho)),r}:i.documentElement.currentStyle&&(Dtfunction(e,t){var n,r,ie.currentStyle&&e.currentStylet,se.style;return inull&&s&&st&&(ist),Ut.test(i)&&!Ft.test(t)&&(ns.left,re.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.lefte.currentStyle.left),s.lefttfontSize?1em:i,is.pixelLeft+px,s.leftn,r&&(e.runtimeStyle.leftr)),i?auto:i}),v.each(height,width,function(e,t){v.cssHookst{get:function(e,n,r){if(n)return e.offsetWidth0&&It.test(Dt(e,display))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,boxSizing)border-box):0)}}}),v.support.opacity||(v.cssHooks.opacity{get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||)?.01*parseFloat(RegExp.$1)+:t?1:},set:function(e,t){var ne.style,re.currentStyle,iv.isNumeric(t)?alpha(opacity+t*100+):,sr&&r.filter||n.filter||;n.zoom1;if(t>1&&v.trim(s.replace(Bt,))&&n.removeAttribute){n.removeAttribute(filter);if(r&&!r.filter)return}n.filterBt.test(s)?s.replace(Bt,i):s+ +i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight{get:function(e,t){return v.swap(e,{display:inline-block},function(){if(t)return Dt(e,marginRight)})}}),!v.support.pixelPosition&&v.fn.position&&v.each(top,left,function(e,t){v.cssHookst{get:function(e,n){if(n){var rDt(e,t);return Ut.test(r)?v(e).position()t+px:r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hiddenfunction(e){return e.offsetWidth0&&e.offsetHeight0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,display))none},v.expr.filters.visiblefunction(e){return!v.expr.filters.hidden(e)}),v.each({margin:,padding:,border:Width},function(e,t){v.cssHookse+t{expand:function(n){var r,itypeof nstring?n.split( ):n,s{};for(r0;r4;r++)se+$tr+tir||ir-2||i0;return s}},qt.test(e)||(v.cssHookse+t.setZt)});var rn/%20/g,sn/\\$/,on/\r?\n/g,un/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var nv(this).val();return nnull?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,\r\n)}}):{name:t.name,value:n.replace(on,\r\n)}}).get()}}),v.paramfunction(e,n){var r,i,sfunction(e,t){tv.isFunction(t)?t():tnull?:t,ii.lengthencodeURIComponent(e)++encodeURIComponent(t)};nt&&(nv.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,er,n,s);return i.join(&).replace(rn,+)};var ln,cn,hn/#.*$/,pn/^(.*?): \t*(^\r\n*)\r?$/mg,dn/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn/^(?:GET|HEAD)$/,mn/^\/\//,gn/\?/,yn/script\b^*(?:(?!\/script>)^*)*\/script>/gi,bn/(?&)_^&*/,wn/^(\w\+\.\-+:)(?:\/\/(^\/?#:*)(?::(\d+)|)|)/,Env.fn.load,Sn{},xn{},Tn*/+*;try{cns.href}catch(Nn){cni.createElement(a),cn.href,cncn.href}lnwn.exec(cn.toLowerCase())||,v.fn.loadfunction(e,n,r){if(typeof e!string&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,uthis,ae.indexOf( );return a>0&&(ie.slice(a,e.length),ee.slice(0,a)),v.isFunction(n)?(rn,nt):n&&typeof nobject&&(sPOST),v.ajax({url:e,type:s,dataType:html,data:n,complete:function(e,t){r&&u.each(r,o||e.responseText,t,e)}}).done(function(e){oarguments,u.html(i?v(div>).append(e.replace(yn,)).find(i):e)}),this},v.each(ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend.split( ),function(e,t){v.fntfunction(e){return this.on(t,e)}}),v.each(get,post,function(e,n){vnfunction(e,r,i,s){return v.isFunction(r)&&(ss||i,ir,rt),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,script)},getJSON:function(e,t,n){return v.get(e,t,n,json)},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(te,ev.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln1),global:!0,type:GET,contentType:application/x-www-form-urlencoded; charsetUTF-8,processData:!0,async:!0,accepts:{xml:application/xml, text/xml,html:text/html,text:text/plain,json:application/json, text/javascript,*:Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:responseXML,text:responseText},converters:{* text:e.String,text html:!0,text json:v.parseJSON,text xml:v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,Tn;if(E2)return;E2,u&&clearTimeout(u),ot,ia||,x.readyStatee>0?4:0,s&&(wAn(c,x,s));if(e>200&&e300||e304)c.ifModified&&(Sx.getResponseHeader(Last-Modified),S&&(v.lastModifiedrS),Sx.getResponseHeader(Etag),S&&(v.etagrS)),e304?(Tnotmodified,l!0):(lOn(c,w),Tl.state,yl.data,bl.error,l!b);else{bT;if(!T||e)Terror,e0&&(e0)}x.statuse,x.statusText(n||T)+,l?d.resolveWith(h,y,T,x):d.rejectWith(h,x,T,b),x.statusCode(g),gt,f&&p.trigger(ajax+(l?Success:Error),x,c,l?y:b),m.fireWith(h,x,T),f&&(p.trigger(ajaxComplete,x,c),--v.active||v.event.trigger(ajaxStop))}typeof eobject&&(ne,et),nn||{};var r,i,s,o,u,a,f,l,cv.ajaxSetup({},n),hc.context||c,ph!c&&(h.nodeType||h instanceof v)?v(h):v.event,dv.Deferred(),mv.Callbacks(once memory),gc.statusCode||{},b{},w{},E0,Scanceled,x{readyState:0,setRequestHeader:function(e,t){if(!E){var ne.toLowerCase();ewnwn||e,bet}return this},getAllResponseHeaders:function(){return E2?i:null},getResponseHeader:function(e){var n;if(E2){if(!s){s{};while(npn.exec(i))sn1.toLowerCase()n2}nse.toLowerCase()}return nt?null:n},overrideMimeType:function(e){return E||(c.mimeTypee),this},abort:function(e){return ee||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.successx.done,x.errorx.fail,x.completem.add,x.statusCodefunction(e){if(e){var t;if(E2)for(t in e)gtgt,et;else tex.status,x.always(t)}return this},c.url((e||c.url)+).replace(hn,).replace(mn,ln1+//),c.dataTypesv.trim(c.dataType||*).toLowerCase().split(y),c.crossDomainnull&&(awn.exec(c.url.toLowerCase()),c.crossDomain!(!a||a1ln1&&a2ln2&&(a3||(a1http:?80:443))(ln3||(ln1http:?80:443)))),c.data&&c.processData&&typeof c.data!string&&(c.datav.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E2)return x;fc.global,c.typec.type.toUpperCase(),c.hasContent!vn.test(c.type),f&&v.active++0&&v.event.trigger(ajaxStart);if(!c.hasContent){c.data&&(c.url+(gn.test(c.url)?&:?)+c.data,delete c.data),rc.url;if(c.cache!1){var Nv.now(),Cc.url.replace(bn,$1_+N);c.urlC+(Cc.url?(gn.test(c.url)?&:?)+_+N:)}}(c.data&&c.hasContent&&c.contentType!!1||n.contentType)&&x.setRequestHeader(Content-Type,c.contentType),c.ifModified&&(rr||c.url,v.lastModifiedr&&x.setRequestHeader(If-Modified-Since,v.lastModifiedr),v.etagr&&x.setRequestHeader(If-None-Match,v.etagr)),x.setRequestHeader(Accept,c.dataTypes0&&c.acceptsc.dataTypes0?c.acceptsc.dataTypes0+(c.dataTypes0!*?, +Tn+; q0.01:):c.accepts*);for(l in c.headers)x.setRequestHeader(l,c.headersl);if(!c.beforeSend||c.beforeSend.call(h,x,c)!!1&&E!2){Sabort;for(l in{success:1,error:1,complete:1})xl(cl);okn(xn,c,n,x);if(!o)T(-1,No Transport);else{x.readyState1,f&&p.trigger(ajaxSend,x,c),c.async&&c.timeout>0&&(usetTimeout(function(){x.abort(timeout)},c.timeout));try{E1,o.send(b,T)}catch(k){if(!(E2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn,_n/\?/,Dn/()\?(?&|$)|\?\?/,Pnv.now();v.ajaxSetup({jsonp:callback,jsonpCallback:function(){var eMn.pop()||v.expando+_+Pn++;return thise!0,e}}),v.ajaxPrefilter(json jsonp,function(n,r,i){var s,o,u,an.data,fn.url,ln.jsonp!!1,cl&&Dn.test(f),hl&&!c&&typeof astring&&!(n.contentType||).indexOf(application/x-www-form-urlencoded)&&Dn.test(a);if(n.dataTypes0jsonp||c||h)return sn.jsonpCallbackv.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,oes,c?n.urlf.replace(Dn,$1+s):h?n.dataa.replace(Dn,$1+s):l&&(n.url+(_n.test(f)?&:?)+n.jsonp++s),n.convertersscript jsonfunction(){return u||v.error(s+ was not called),u0},n.dataTypes0json,esfunction(){uarguments},i.always(function(){eso,ns&&(n.jsonpCallbackr.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u0),uot}),script}),v.ajaxSetup({accepts:{script:text/javascript, application/javascript, application/ecmascript, application/x-ecmascript},contents:{script:/javascript|ecmascript/},converters:{text script:function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter(script,function(e){e.cachet&&(e.cache!1),e.crossDomain&&(e.typeGET,e.global!1)}),v.ajaxTransport(script,function(e){if(e.crossDomain){var n,ri.head||i.getElementsByTagName(head)0||i.documentElement;return{send:function(s,o){ni.createElement(script),n.asyncasync,e.scriptCharset&&(n.charsete.scriptCharset),n.srce.url,n.onloadn.onreadystatechangefunction(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onloadn.onreadystatechangenull,r&&n.parentNode&&r.removeChild(n),nt,i||o(200,success)},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bne.ActiveXObject?function(){for(var e in Hn)Hne(0,1)}:!1,jn0;v.ajaxSettings.xhre.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&withCredentialsin e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,an.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)aun.xhrFieldsu;n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!iX-Requested-With&&(iX-Requested-WithXMLHttpRequest);try{for(u in i)a.setRequestHeader(u,iu)}catch(f){}a.send(n.hasContent&&n.data||null),rfunction(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState4)){rt,o&&(a.onreadystatechangev.noop,Bn&&delete Hno);if(i)a.readyState!4&&a.abort();else{ua.status,la.getAllResponseHeaders(),c{},ha.responseXML,h&&h.documentElement&&(c.xmlh);try{c.texta.responseText}catch(p){}try{fa.statusText}catch(p){f}!u&&n.isLocal&&!n.crossDomain?uc.text?200:404:u1223&&(u204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState4?setTimeout(r,0):(o++jn,Bn&&(Hn||(Hn{},v(e).unload(Bn)),Hnor),a.onreadystatechanger):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un/^(?:toggle|show|hide)$/,znnew RegExp(^(?:(-+)|)(+m+)(a-z%*)$,i),Wn/queueHooks$/,XnGn,Vn{*:function(e,t){var n,r,ithis.createTween(e,t),szn.exec(t),oi.cur(),u+o||0,a1,f20;if(s){n+s2,rs3||(v.cssNumbere?:px);if(r!px&&u){uv.css(i.elem,e,!0)||n||1;do aa||.5,u/a,v.style(i.elem,e,u+r);while(a!(ai.cur()/o)&&a!1&&--f)}i.unitr,i.startu,i.ends1?u+(s1+1)*n:n}return i}};v.Animationv.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(te,e*):ee.split( );var n,r0,ie.length;for(;ri;r++)ner,VnnVnn||,Vnn.unshift(t)},prefilter:function(e,t){t?Xn.unshift(e):Xn.push(e)}}),v.TweenYn,Yn.prototype{constructor:Yn,init:function(e,t,n,r,i,s){this.eleme,this.propn,this.easingi||swing,this.optionst,this.startthis.nowthis.cur(),this.endr,this.units||(v.cssNumbern?:px)},cur:function(){var eYn.propHooksthis.prop;return e&&e.get?e.get(this):Yn.propHooks._default.get(this)},run:function(e){var t,nYn.propHooksthis.prop;return this.options.duration?this.postv.easingthis.easing(e,this.options.duration*e,0,1,this.options.duration):this.poste,this.now(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Yn.propHooks._default.set(this),this}},Yn.prototype.init.prototypeYn.prototype,Yn.propHooks{_default:{get:function(e){var t;return e.eleme.propnull||!!e.elem.style&&e.elem.stylee.prop!null?(tv.css(e.elem,e.prop,!1,),!t||tauto?0:t):e.eleme.prop},set:function(e){v.fx.stepe.prop?v.fx.stepe.prop(e):e.elem.style&&(e.elem.stylev.cssPropse.prop!null||v.cssHookse.prop)?v.style(e.elem,e.prop,e.now+e.unit):e.eleme.prope.now}}},Yn.propHooks.scrollTopYn.propHooks.scrollLeft{set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.eleme.prope.now)}},v.each(toggle,show,hide,function(e,t){var nv.fnt;v.fntfunction(r,i,s){return rnull||typeof rboolean||!e&&v.isFunction(r)&&v.isFunction(i)?n.apply(this,arguments):this.animate(Zn(t,!0),r,i,s)}}),v.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Gt).css(opacity,0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var iv.isEmptyObject(e),sv.speed(t,n,r),ofunction(){var tKn(this,v.extend({},e),s);i&&t.stop(!0)};return i||s.queue!1?this.each(o):this.queue(s.queue,o)},stop:function(e,n,r){var ifunction(e){var te.stop;delete e.stop,t(r)};return typeof e!string&&(rn,ne,et),n&&e!!1&&this.queue(e||fx,),this.each(function(){var t!0,ne!null&&e+queueHooks,sv.timers,ov._data(this);if(n)on&&on.stop&&i(on);else for(n in o)on&&on.stop&&Wn.test(n)&&i(on);for(ns.length;n--;)sn.elemthis&&(enull||sn.queuee)&&(sn.anim.stop(r),t!1,s.splice(n,1));(t||!r)&&v.dequeue(this,e)})}}),v.each({slideDown:Zn(show),slideUp:Zn(hide),slideToggle:Zn(toggle),fadeIn:{opacity:show},fadeOut:{opacity:hide},fadeToggle:{opacity:toggle}},function(e,t){v.fnefunction(e,n,r){return this.animate(t,e,n,r)}}),v.speedfunction(e,t,n){var re&&typeof eobject?v.extend({},e):{complete:n||!n&&t||v.isFunction(e)&&e,duration:e,easing:n&&t||t&&!v.isFunction(t)&&t};r.durationv.fx.off?0:typeof r.durationnumber?r.duration:r.duration in v.fx.speeds?v.fx.speedsr.duration:v.fx.speeds._default;if(r.queuenull||r.queue!0)r.queuefx;return r.oldr.complete,r.completefunction(){v.isFunction(r.old)&&r.old.call(this),r.queue&&v.dequeue(this,r.queue)},r},v.easing{linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},v.timers,v.fxYn.prototype.init,v.fx.tickfunction(){var e,nv.timers,r0;qnv.now();for(;rn.length;r++)enr,!e()&&nre&&n.splice(r--,1);n.length||v.fx.stop(),qnt},v.fx.timerfunction(e){e()&&v.timers.push(e)&&!Rn&&(RnsetInterval(v.fx.tick,v.fx.interval))},v.fx.interval13,v.fx.stopfunction(){clearInterval(Rn),Rnnull},v.fx.speeds{slow:600,fast:200,_default:400},v.fx.step{},v.expr&&v.expr.filters&&(v.expr.filters.animatedfunction(e){return v.grep(v.timers,function(t){return et.elem}).length});var er/^(?:body|html)$/i;v.fn.offsetfunction(e){if(arguments.length)return et?this:this.each(function(t){v.offset.setOffset(this,e,t)});var n,r,i,s,o,u,a,f{top:0,left:0},lthis0,cl&&l.ownerDocument;if(!c)return;return(rc.body)l?v.offset.bodyOffset(l):(nc.documentElement,v.contains(n,l)?(typeof l.getBoundingClientRect!undefined&&(fl.getBoundingClientRect()),itr(c),sn.clientTop||r.clientTop||0,on.clientLeft||r.clientLeft||0,ui.pageYOffset||n.scrollTop,ai.pageXOffset||n.scrollLeft,{top:f.top+u-s,left:f.left+a-o}):f)},v.offset{bodyOffset:function(e){var te.offsetTop,ne.offsetLeft;return v.support.doesNotIncludeMarginInBodyOffset&&(t+parseFloat(v.css(e,marginTop))||0,n+parseFloat(v.css(e,marginLeft))||0),{top:t,left:n}},setOffset:function(e,t,n){var rv.css(e,position);rstatic&&(e.style.positionrelative);var iv(e),si.offset(),ov.css(e,top),uv.css(e,left),a(rabsolute||rfixed)&&v.inArray(auto,o,u)>-1,f{},l{},c,h;a?(li.position(),cl.top,hl.left):(cparseFloat(o)||0,hparseFloat(u)||0),v.isFunction(t)&&(tt.call(e,n,s)),t.top!null&&(f.topt.top-s.top+c),t.left!null&&(f.leftt.left-s.left+h),usingin t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this0)return;var ethis0,tthis.offsetParent(),nthis.offset(),rer.test(t0.nodeName)?{top:0,left:0}:t.offset();return n.top-parseFloat(v.css(e,marginTop))||0,n.left-parseFloat(v.css(e,marginLeft))||0,r.top+parseFloat(v.css(t0,borderTopWidth))||0,r.left+parseFloat(v.css(t0,borderLeftWidth))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var ethis.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,position)static)ee.offsetParent;return e||i.body})}}),v.each({scrollLeft:pageXOffset,scrollTop:pageYOffset},function(e,n){var r/Y/.test(n);v.fnefunction(i){return v.access(this,function(e,i,s){var otr(e);if(st)return o?n in o?on:o.document.documentElementi:ei;o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):eis},e,i,arguments.length,null)}}),v.each({Height:height,Width:width},function(e,n){v.each({padding:inner+e,content:n,:outer+e},function(r,i){v.fnifunction(i,s){var oarguments.length&&(r||typeof i!boolean),ur||(i!0||s!0?margin:border);return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElementclient+e:n.nodeType9?(sn.documentElement,Math.max(n.bodyscroll+e,sscroll+e,n.bodyoffset+e,soffset+e,sclient+e)):it?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuerye.$v,typeof definefunction&&define.amd&&define.amd.jQuery&&define(jquery,,function(){return v})})(window);/script>meta namegoogle-site-verification contentQWLDDi63q--TWDgYV2faFG8GVWJMkAV5tNtH-nfTwaM />link relalternate hreflangx-default hrefhttps://www.marinaturquesa.com/ />link relalternate hreflanges hrefhttps://www.marinaturquesa.com/ />link relalternate hreflangen hrefhttps://www.marinaturquesa.com/en/ />link relcanonical hrefhttps://www.marinaturquesa.com/ />meta namerobots contentindex, follow />script> window.dataLayer window.dataLayer || ;/script>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/scripts/custom_cookies.min.js?v202411270906>/script>link relstylesheet hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/web_apps/assets/css/main_cookies_popup.css?v202411270906>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/specific/202411270910/web_apps/cookies_popup.js?v202411270906>/script>script> function user_allowed_to_track() { //Avoid track on localhost pages if (window.navigator.userAgent.indexOf(Headless) > -1) { console.log(Avoid tracking of robots); return false; } if (window.location.hostname.indexOf(localhost) > -1 || window.location.hostname.indexOf(0.0.0.0) > -1) { if (/booking1, /booking2, /booking3, /booking4.indexOf(window.location.pathname) -1) { return false; } } return true; }/script>script> window.dataLayer window.dataLayer || ; if (cookiesController.search_cookie(cookies_preference) && !cookiesController.is_analytics_cookies_allowed()) { dataLayer.push({ cookies_denied: true }); }/script>script> (function(i,s,o,g,r,a,m){iGoogleAnalyticsObjectr;irir||function(){ (ir.qir.q||).push(arguments)},ir.l1*new Date();as.createElement(o), ms.getElementsByTagName(o)0;a.async1;a.srcg;m.parentNode.insertBefore(a,m) })(window,document,script,https://www.google-analytics.com/analytics.js,ga); function create_ga_objects() { var analytics_cookies_allowed cookiesController.is_analytics_cookies_allowed(); // Remove all trackers ga(function() { var trackers ga.getAll(); trackers.forEach(function(tracker) { ga.remove(tracker.get(name)); }); }); // Create new trackers let analytics_options {allowLinker: true}; if (!analytics_cookies_allowed) { analytics_optionsstorage none; } if (cookiesController.get_url_params()_ga) { let url_param cookiesController.get_url_params()_ga; if (!url_param.match(/\./g).length > 1) { analytics_optionsclientId cookiesController.get_url_params()_ga; } } ga(create, UA-73829337-1, analytics_options); ga(set, cd11, user); if (analytics_cookies_allowed) { ga(require,displayfeatures); ga(set, allowAdFeatures, true); } else { ga(set, allowAdFeatures, false); } ga(set, anonymizeIp, true); //Add _ga to booking form try { ga(function (e) { client_id e.get(clientId); let tracker ga.getAll()0, linker new window.gaplugins.Linker(tracker), destinationLink linker.decorate(test); client_id destinationLink.split(?)1.replace(_ga, ); $(.paraty-booking-form).each(function () { $(this).find(#_ga).remove(); var e $(input>).attr({type: hidden, id: _ga, name: _ga, value: client_id}); $(this).append(e) }) }) } catch (e) { console.log(Google Analytics defined incorrectly (May use a old version)) } if (cookiesController.search_cookie(cookies_preference) && !cookiesController.is_analytics_cookies_allowed()) { ga(set, campaignSource, cookies_consent); ga(set, campaignMedium, denied); } if (cookiesController.get_url_params()referrer) { ga(set, referrer, cookiesController.get_url_params()referrer); } } function set_custom_dimensions() { } function execute_universal_ga_pageview() { if (user_allowed_to_track()) { ga(send, pageview); } } create_ga_objects(); cookiesController.push_tracking_code(create_ga_objects, analytics); set_custom_dimensions(); execute_universal_ga_pageview(); /script>!-- GTM Datalayer -->script typetext/javascript>let allowed_datalayer_register true; if (allowed_datalayer_register) { json_datalayer {hotel_name: Apartamentos Marina Turquesa, transactionTotalWithoutTax: 0}; if (typeof dataLayer ! undefined && json_datalayer) { dataLayer.push(JSON.parse(json_datalayer)); } else { dataLayer JSON.parse(json_datalayer); } }/script>script> window.dataLayer window.dataLayer || ; function gtag() { dataLayer.push(arguments); } selection_exist cookiesController.load_cookie_info(); gtag(consent, default, { ad_storage: denied, analytics_storage: denied, ad_user_data: denied, ad_personalization: denied, wait_for_update: 500, ad_user_data: denied, ad_personalization: denied, }); dataLayer.push({ event: default_consent }); if (cookiesController.is_analytics_cookies_allowed()) { gtag(consent, update, {analytics_storage: granted}); } try { if (cookiesController.is_advertising_cookies_allowed()) { gtag(consent, update, { ad_storage: granted }); if (cookiesController.is_advanced_consent_allowed()) { gtag(consent, default, { ad_user_data: granted, ad_personalization: granted }); } } } catch (e) { console.warn(e); } gtag(set, ads_data_redaction, true); dataLayer.push({event: init}); /script>!-- Google Tag Manager Multi GTM -->script > if (navigator.userAgent.indexOf(Chrome-Lighthouse) -1){ (function(w,d,s,l,i){wlwl||;wl.push({gtm.start: new Date().getTime(),event:gtm.js});var fd.getElementsByTagName(s)0, jd.createElement(s),dll!dataLayer?&l+l:;j.asynctrue;j.src https://www.googletagmanager.com/gtm.js?id+i+dl;f.parentNode.insertBefore(j,f); })(window,document,script,dataLayer,GTM-N4QBT8ZS); } /script>!-- End Google Tag Manager -->/head>body >!-- Google Tag Manager (noscript) Multi GTM-->noscript>iframe srchttps://www.googletagmanager.com/ns.html?idGTM-N4QBT8ZS height0 width0 styledisplay:none;visibility:hidden>/iframe>/noscript>!-- End Google Tag Manager (noscript) -->script typeapplication/ld+json>{ @context: http://schema.org, @type: Hotel, name: APARTAMENTOS MARINA TURQUESA, address: { @type: PostalAddress, addressCountry: Esspaña, addressLocality: Nerja, addressRegion: Málaga, postalCode: 29780, streetAddress: Calle Cártama 2 }, telephone: +34 952 52 13 22, image: https://lh3.googleusercontent.com/JeMGV5_Wv5tZCQOaNfS1Kh8zLT0lJ88ix61J-shAf7RA_KdTjTSgYlcB1G676clr2pp9nrqlBJU35ZOK-V-TbQ, starRating: { @type: Rating, ratingValue: 4 }, priceRange: €50 - €110}/script>input typehidden idlang_default valuees> !--Header--> header >div classtop_header_up>div classcontainer12>div classleft_header>span stylefont-size:14px;font-weight:400>APARTAMENTOS MARINA TURQUESA/span>/div>div classright_header>div idlang>div classlang_selected>Español/div>div classlang_options_wrapper>a classlang_option hrefhttps://www.marinaturquesa.com/es/> ESPAÑOL /a>a classlang_option hrefhttps://www.marinaturquesa.com/en/> ENGLISH /a>/div>/div>div idtop-sections>a classphone>i classfa icon-phone2>/i>span>+34 952 52 13 22/span>/a>a hrefhttps://www.marinaturquesa.com/mis-reservas.html>i classfa icon-booking>/i>span>Mis reservas/span>/a>a hrefhttps://www.marinaturquesa.com/localizacion-y-contacto.html>i classfa fa-map-marker>/i>span>Localización y Contacto/span>/a>/div>div idsocial>a hrefhttp://www.facebook.com/46549837276 target_blank>i classfa fa-facebook aria-hiddentrue>/i>/a>a hrefhttps://twitter.com/#!/bearecepcion target_blank>i classfa fa-twitter aria-hiddentrue>/i>/a>a hrefhttp://www.instagram.com/marina_turquesa_nerja target_blank>i classfa fa-instagram aria-hiddentrue>/i>/a>/div>/div>/div>/div>div classtop_header_down>div classcontainer12>div idlogoDiv>a hrefhttps://www.marinaturquesa.com/>img itemproplogo srchttps://lh3.googleusercontent.com/M7e_0FwAiXEx0tk2nl4rTGaI5n1FGCZRTGhnmbXXt_nF_Ip2mlz00Cau4meKjDQfgZtBplD645eQKcy6fVE altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga titleApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga/>/a>/div>nav idmain_menu>div idmainMenuDiv>ul itemscope itemtype//schema.org/SiteNavigationElement idmain-sections-inner classcontainer>div classmain-section-div-wrapper idsection-active >a itempropurl hrefhttps://www.marinaturquesa.com/inicio.html>span itempropname>Inicio/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/apartamentos.html>span itempropname>Apartamentos/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/ofertas.html>span itempropname>Ofertas/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/nerja.html>span itempropname>NERJA/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/fotos.html>span itempropname>Fotos/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/turismo-familiar.html>span itempropname>Turismo Familiar/span>/a>/div>/ul>/div>/nav>/div>/div>/header>div classfull_screen_menu>div idmainMenuDiv>div idlogoDiv>a hrefhttps://www.marinaturquesa.com/>img itemproplogo srchttps://lh3.googleusercontent.com/M7e_0FwAiXEx0tk2nl4rTGaI5n1FGCZRTGhnmbXXt_nF_Ip2mlz00Cau4meKjDQfgZtBplD645eQKcy6fVE altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga titleApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga/>/a>/div>ul itemscope itemtype//schema.org/SiteNavigationElement idmain-sections-inner classcontainer>div classmain-section-div-wrapper idsection-active >a itempropurl hrefhttps://www.marinaturquesa.com/inicio.html>span itempropname>Inicio/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/apartamentos.html>span itempropname>Apartamentos/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/ofertas.html>span itempropname>Ofertas/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/nerja.html>span itempropname>NERJA/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/fotos.html>span itempropname>Fotos/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/turismo-familiar.html>span itempropname>Turismo Familiar/span>/a>/div>/ul>/div>/div>section idslider_container>style typetext/css> .tp-banner-container { width: 100%; position: relative; padding: 0; min-width: 1140px; height: 735px; } .tp-banner { width: 100%; position: relative; display: none; } .tp-arr-titleholder { display: none !important; }/style>div classtp-banner-container>div classtp-banner>ul>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/VK1B1Dlj75l8n_qHb9qIYeKJC9MsrbclG4sL-C3Jo7Ea1V2KvXrVBMhZaLKtAN3crF4Dni6p72lhiOA0nwsRvAs1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>div classcaption sfb start data-easingeaseOutBack data-speed400 data-start500 data-x240 data-y310 stylefont-family:Arapey; font-weight:100; font-size: 50px;padding: 10px 15px;color: white;text-align:center;margin:auto;z-index:23 >br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 65px; color: white;>Piscina Climatizada/span>br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 28px; color: white;>Abierta desde 1 nov a 30 abril/span>/div>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/JeMGV5_Wv5tZCQOaNfS1Kh8zLT0lJ88ix61J-shAf7RA_KdTjTSgYlcB1G676clr2pp9nrqlBJU35ZOK-V-TbQs1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>div classcaption sfb start data-easingeaseOutBack data-speed400 data-start500 data-x240 data-y310 stylefont-family:Arapey; font-weight:100; font-size: 50px;padding: 10px 15px;color: white;text-align:center;margin:auto;z-index:23>br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 65px; color: white;>¡Atención!/span>br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 28px; color: white;>Tenemos el mejor precio online!/span>/div>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/b0gUaTVHeS1LQAQ70Im7pn6WVVmlNOC8b_zEtKWUS_8OBIuBnckVsKm3DdvJ15_z60ex03LGbeSluxiBcgc3iAs1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>div classcaption sfb start data-easingeaseOutBack data-speed400 data-start500 data-x240 data-y310 stylefont-family:Arapey; font-weight:100; font-size: 50px;padding: 10px 15px;color: white;text-align:center;margin:auto;z-index:23 >br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 65px; color: white;>Muchas Gracias/span>br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 28px; color: white;>Agradecemos vuestra confianza/span>/div>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/3Eafr3ZYlxJHFhO9mpzkrWbvK4GIO7WZesgxmL3UOliE__iYCAb9H5xXDN1sKSCI-M1_-ZrZI8c3Qrxxw7hG8zYs1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>div classcaption sfb start data-easingeaseOutBack data-speed400 data-start500 data-x240 data-y310 stylefont-family:Arapey; font-weight:100; font-size: 50px;padding: 10px 15px;color: white;text-align:center;margin:auto;z-index:23 >br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 65px; color: white;>Rent a Car/span>br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 28px; color: white;>Puede reservar su alojamiento y coche, sólo aqui!/span>/div>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/BQZcRP6j1blIbSg_-EsyzCm2FkwudVyUQcpOCqT1K7Fy_yt2Fhvdi45E5Y9_wmnuRRORPiHu8BZtMHTucG2Os1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>div classcaption sfb start data-easingeaseOutBack data-speed400 data-start500 data-x240 data-y310 stylefont-family:Arapey; font-weight:100; font-size: 50px;padding: 10px 15px;color: white;text-align:center;margin:auto;z-index:23 >br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 65px; color: white;>Wifi Free/span>br />/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://cdn2.paraty.es/marina-turquesa/images/2e6c9c3f25acfb2s1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/r1ET1KwEi2lG1T-QRrppt7p2EiKf3oRgRz9m_sq0Ntxhc6O4S9tP6AtzFof0F-awo2mZmVb7J_PMwZIRStiOVAs1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/QS6MOeWZ9zTiRT7jPvnw-YvJ7ObfLgKXwJ5s4ksR10vo-Q_JtoOF8FXl0nuXayIFGljPvJ_e0OLkV01PS5LfYws1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/6P83SGTczMl1ZEreWSfRJLS-n_rM7c7wf9FrSf6jNer8UwDCJMDFwkvYLKACf-RhtLPUWXnpATFEi2nJfmj7Zgs1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>/li>/ul>/div>/div>script typetext/javascript async> var revapi; jQuery(window).on(load, function () { revapi jQuery(.tp-banner).revolution( { //Add a comment to this line startwidth: 1140, startheight: 735, hideThumbs: 10, fullWidth: on, forceFullWidth: on, fullScreen: on, onHoverStop: on, lazyLoad: on, navigationArrows: solo, navigationType: bullet, hideTimerBar: on, }); $(.tp-banner).show(); }); //ready/script>div idfull_wrapper_booking >div idwrapper_booking classcontainer12>div classmenu_full_screen idmenu_controller>div idlines classhas_transition_600>hr classhas_transition_600 _1>hr classhas_transition_600 _2>hr classhas_transition_600 _3>/div>/div>div idbooking classboking_widget_inline>link href//fonts.googleapis.com/css?familySource+Sans+Pro:300,400,200italic,300italic&displayswap relstylesheet typetext/css>span idfull-booking-engine-html-7 stylemargin:0px;padding:0px; class>!-- MY BOOKINGS INTEGRATED -->!-- TITULO -->div classbooking_form_title>p classbooking_title_1>Reservas/p>p classbooking_title_2>Reserva ahora/p>p classbest_price>RESERVA AL MEJOR PRECIO/p>/div>!-- END TITULO -->!-- booking engine 7 -->form classbooking_form paraty-booking-form actionhttps://www.marinaturquesa.com/booking1 methodpost >input typehidden idlanguage namelanguage valueSPANISH/>input typehidden idagesKid1 nameagesKid1/>input typehidden idagesKid2 nameagesKid2/>input typehidden idagesKid3 nameagesKid3/>input idroomType typehidden nameroomType value>input classroomTypeValue typehidden nameroomTypeValue value>input idroomFilter typehidden nameroomFilter value.*>input idroomFilterName typehidden nameroomFilterName value>input idroomOrder typehidden nameroomOrder value>input typehidden idroomtype_list_json nameroomtype_list_json value>input typehidden idnamespace namenamespace valuemarina-turquesa/>input typehidden idgclid namegclid value/>input typehidden value namepriceSeekerHotel idpriceSeekerHotel/>!-- BOOKING 0 -->!-- END BOOKING 0-->!-- EXTRA PARAMS -->!-- END EXTRA PARAMS -->!-- SELECTOR DE HOTEL-->!-- END SELECTOR DE HOTEL-->!-- HIDE FILTERS -->!-- HIDE FILTERS -->!-- SELECCION FECHAS DE ENTRADA Y NUMERO HABITACIONES -->div classstay_selection>div classentry_date_wrapper half_size>label classentry_date_label>Entrada/label>div classdate_box entry_date>span classdate_day>/span>span classdate_year>/span>input namestartDate typehidden classhas_datepicker entry_input value/>div>/div>/div>/div>div classdeparture_date_wrapper>label classdeparture_date_label>Salida/label>div classdate_box departure_date>span classdate_day>/span>span classdate_year>/span>input nameendDate typehidden classhas_datepicker departure_input value/>div>/div>/div>/div>script> departure_date_selectable true; /script>/div>div classdates_selector_personalized>label for classdates_selector_label>Fechas/label>div classstart_end_date_wrapper>span typetext classstart_date_personalized>/span> - span typetext classend_date_personalized>/span>div classnights_number_wrapper_personalized>span classdays_number_datepicker>/span>span classnight_label> Noche /span>/div>/div>div classstart_date_datepicker typetext data-roledate data-inlinetrue styledisplay: none>div classclose_calendar>/div>span classentry_label_calendar>Fecha de Entrada/span>/div>div classdeparture_datepicker typetext data-roledate data-inlinetrue styledisplay: none>div classclose_calendar>/div>span classdeparture_label_calendar>Fecha de Salida/span>/div>/div>div classrooms_number_wrapper >label classrooms_label fornumRooms> Habitaciones/label>select namenumRooms idnumRooms classrooms_number>option value1 selectedselected>1/option>option value2 >2/option>option value3 >3/option>/select>/div>!-- END SELECCION FECHAS DE ENTRADA Y HABITACIONES -->div classguest_selector >label>Ocupación/label>span classplaceholder_text>Seleccionar/span>b classbutton>/b>/div>!-- LISTA DE HABITACIONES -->div classroom_list_wrapper>i classfa fa-times close_room_selector aria-hiddentrue styledisplay: none;>/i>ul classroom_list >!---------------------- ROOM 1---------------------->li classroom room1 >div classroom_title > Habitación 1/div>div classadults_selector>label classadults_label foradultsRoom1>Adultos/label>select nameadultsRoom1 classadults_room_1 room_selector idadultsRoom1>option value1 > 1 /option>option value2 selectedselected> 2 /option>option value3 > 3 /option>option value4 > 4 /option>option value5 > 5 /option>option value6 > 6 /option>option value7 > 7 /option>option value8 > 8 /option>/select>/div>div classchildren_selector >label classchildren_label forchildrenRoom1>Niños /label>select namechildrenRoom1 classchildren_room_1 room_selector idchildrenRoom1>option value0 selectedselected > 0 /option>option value1 > 1 /option>option value2 > 2 /option>option value3 > 3 /option>option value4 > 4 /option>/select>/div>/li>!---------------------- ROOM 2---------------------->li classroom room2 styledisplay: none>div classroom_title > Habitación 2/div>div classadults_selector>label classadults_label foradultsRoom2>Adultos/label>select nameadultsRoom2 classadults_room_2 room_selector idadultsRoom2>option value1 > 1 /option>option value2 selectedselected> 2 /option>option value3 > 3 /option>option value4 > 4 /option>option value5 > 5 /option>option value6 > 6 /option>option value7 > 7 /option>option value8 > 8 /option>/select>/div>div classchildren_selector >label classchildren_label forchildrenRoom2>Niños /label>select namechildrenRoom2 classchildren_room_2 room_selector idchildrenRoom2>option value0 selectedselected > 0 /option>option value1 > 1 /option>option value2 > 2 /option>option value3 > 3 /option>option value4 > 4 /option>/select>/div>/li>!---------------------- ROOM 3---------------------->li classroom room3 styledisplay: none>div classroom_title > Habitación 3/div>div classadults_selector>label classadults_label foradultsRoom3>Adultos/label>select nameadultsRoom3 classadults_room_3 room_selector idadultsRoom3>option value1 > 1 /option>option value2 selectedselected> 2 /option>option value3 > 3 /option>option value4 > 4 /option>option value5 > 5 /option>option value6 > 6 /option>option value7 > 7 /option>option value8 > 8 /option>/select>/div>div classchildren_selector >label classchildren_label forchildrenRoom3>Niños /label>select namechildrenRoom3 classchildren_room_3 room_selector idchildrenRoom3>option value0 selectedselected > 0 /option>option value1 > 1 /option>option value2 > 2 /option>option value3 > 3 /option>option value4 > 4 /option>/select>/div>/li>/ul>/div>!-- END LISTA DE HABITACIONES -->div classwrapper_booking_button >div classpromocode_wrapper >label forwidget_promocode classpromocode_label > Código promocional /label>input autocompleteoff typetext idwidget_promocode classpromocode_input namepromocode placeholderInserta tu código promocional value tabindex16 >/div>button typesubmit classsubmit_button buttonsearch-ratecheck > Reservar /button>div classspinner_wrapper>/div>/div>div styleclear:both>/div>img srchttps://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jh styledisplay: none;>input typehidden idbooking-search-popup namebooking-search-popup valuetrue>script> ($ > { window.show_booking_search_popup function (myForm) { if (($.browser && $.browser.msie && parseFloat($.browser.version) 9)){ //if we are here, is because our browser dont accept setTimeOut //so we submit it directly myForm.submit(); } else { if (typeof(sending_form_custom_from_paraty) undefined || !sending_form_custom_from_paraty) { sending_form_custom_from_paraty true; setTimeout(function (myForm) { openBookingSearchPopup(myForm); }, 1000, myForm); } } } window.openBookingSearchPopup function (myForm) { var elements { href: https://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jhs800 }, var popup_description ; if (typeof(custom_popup_loading_description) ! undefined) { popup_description custom_popup_loading_description; } var text_popup div classcontainer_popup_booking styletext-align:center;>img srchttps://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jh>div classdescription_popup_booking> + popup_description + /div>/div>; var fancybox_params { width: auto, maxWidth: 800, height: auto, fitToView: false, autoSize: false, padding: 0, closeClick: false, closeBtn: false, helpers: { overlay: {closeClick: false} // prevents closing when clicking OUTSIDE fancybox }, wrapCSS: fancy-booking-search, beforeShow: function () { if(navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || (navigator.userAgent.match(/AppleWebKit/i) && !navigator.userAgent.match(/Chrome/i))){ setTimeout(function () { $.fancybox.close( true ); $(#full_wrapper_booking .wrapper_booking_button .submit_button).show(); sending_form_custom_from_paraty undefined; }, 5000); } } }; if ($.fancybox.version.slice(0,2) 3.) { fancybox_paramsbaseClass fancy-booking-search; fancybox_paramsmodal true; $.fancybox.open(text_popup, fancybox_params); } else { $.fancybox(text_popup, fancybox_params); } myForm.submit(); } window.openBookingSearchPopup_v2 function (myForm, show_popuptrue) { var container_booking_popup $(div>/div>).addClass(container_popup_booking).css(text-align, center), loading_popup_top_text `Actualizando para continuar con su reserva`; try { }catch(e){ console.log(Error trying to retreive logo) } var loading_popup_bottom_text `Solo será un momento, por favor`; var descipription_top_booking_popup $(div>/div>).addClass(description_top_popup_booking).html(loading_popup_top_text), descipription_bottom_booking_popup $(div>/div>).addClass(description_bottom_popup_booking).html(loading_popup_bottom_text), gif_wrapper $(div>/div>).addClass(gif_wrapper), number_of_lines 20; for (var x 0; x number_of_lines; x++) { var target_delay_css { -webkit-animation-delay: -(1.5 - (0.1 * x)) + s, -moz-animation-delay: -(1.5 - (0.1 * x)) + s, -o-animation-delay: -(1.5 - (0.1 * x)) + s, animation-delay: -(1.5 - (0.1 * x)) + s }; var element_line_to_append $(div>/div>).addClass(default_line_loading).css(target_delay_css); element_line_to_append.appendTo(gif_wrapper); } container_booking_popup.append(descipription_top_booking_popup).append(gif_wrapper).append(descipription_bottom_booking_popup); var selected_start_date $(inputnamestartDate).val(), selected_end_date $(inputnameendDate).val(); var custom_format_date ; if (custom_format_date) { var splitted_start_date selected_start_date.split(/), start_day splitted_start_date0, start_month splitted_start_date1, start_year splitted_start_date2, start_datetime new Date(start_year, start_month - 1, start_day), week_start_day start_datetime.getDay(); var splitted_end_date selected_end_date.split(/), end_day splitted_end_date0, end_month splitted_end_date1, end_year splitted_end_date2, end_datetime new Date(end_year, end_month - 1, end_day), week_end_day end_datetime.getDay(); var days_list $.datepicker._defaults.dayNames; //Start date selected_start_date custom_format_date.replace(%m, start_month).replace(%d, start_day).replace(%Y, start_year); selected_start_date selected_start_date.replace(%a, days_listweek_start_day).replace(%bb, _monthNamesstart_month - 1).replace(%b, _monthNamesstart_month - 1); //End date selected_end_date custom_format_date.replace(%m, end_month).replace(%d, end_day).replace(%Y, end_year); selected_end_date selected_end_date.replace(%a, days_listweek_end_day).replace(%bb, _monthNamesend_month - 1).replace(%b, _monthNamesend_month - 1); } //Protection for failures if(selected_start_date.indexOf(NaN) > -1 || selected_end_date.indexOf(NaN)){ container_booking_popup.html(container_booking_popup.html().replace(@@start_date@@, selected_start_date).replace(@@end_date@@, selected_end_date)); } else { container_booking_popup.find(.description_bottom_popup_booking).remove(); } if (show_popup) { var booking_loading_popup_params { width: auto, height: auto, fitToView: false, autoSize: false, padding: 0, closeClick: false, closeBtn: false, helpers: { overlay: { closeClick: false }, // prevents closing when clicking OUTSIDE fancybox }, wrapCSS: fancy-booking-search_v2 , beforeShow: function () { if (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || (navigator.userAgent.match(/AppleWebKit/i) && !navigator.userAgent.match(/Chrome/i))) { setTimeout(function () { $.fancybox.close(true); $(#full_wrapper_booking .wrapper_booking_button .submit_button).show(); sending_form_custom_from_paraty undefined; }, 8000); } $(.fancybox-bg).css(background, ); } }; if ($.fancybox.version.slice(0, 2) 3.) { //debugger; booking_loading_popup_paramsbaseClass fancybox-wrap fancy-booking-search_v2 ; booking_loading_popup_paramsmodal true; $.fancybox.open(container_booking_popup, booking_loading_popup_params); } else { //debugger; $.fancybox(container_booking_popup, booking_loading_popup_params); } if (myForm) { if (!navigator.userAgent.match(/chrome/i) && (navigator.userAgent.match(/safari/i) || navigator.userAgent.match(/firefox/i))) { setTimeout(function () { myForm.submit(); }, 700); } else { myForm.submit(); } } } } window.openCalendarPriceLoaderPopup function () { if (window.location.href.includes(localhost)) { return; } const container_booking_popup $(div classcontainer_popup_booking container_popup_calendar>/div>); const description_top_booking_popup $(div classdescription_top_popup_calendar>/div>).html(`La búsqueda que está realizando aplica restriccionesbr> Le estamos redirigiendo al calendario de precios`); const description_bottom_booking_popup $(div classdescription_bottom_popup_calendar>/div>).html(`Para que pueda continuar con su reserva, le hemos redirigido a nuestro calendario de disponibilidad para que pueda reservar sus próximas vacaciones con nosotros al mejor precio disponible.`); const animation_container $(div idlottie_animation>/div>); const center_container $(div classcenter_container>/div>).append(description_top_booking_popup).append(animation_container); container_booking_popup.append(center_container).append(description_bottom_booking_popup); var booking_loading_popup_params { width: auto, height: auto, fitToView: false, autoSize: false, padding: 0, closeClick: false, closeBtn: false, helpers: { overlay: { closeClick: false}, // prevents closing when clicking OUTSIDE fancybox }, wrapCSS: fancy-booking-search_v2 full_screen_engine, beforeShow: function () { if(navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || (navigator.userAgent.match(/AppleWebKit/i) && !navigator.userAgent.match(/Chrome/i))){ setTimeout(function () { if ($.fancybox.current?.wrapCSS.includes(fancy-booking-search_v2)) { $.fancybox.close(); } }, 5000); } $(.fancybox-bg).css(background,transparent).css(backdrop-filter,blur(50px)); $(.fancybox-margin).css(margin, 0); }, afterShow: function () { if (typeof loader_animation ! undefined) { let params { container: $(#lottie_animation)0, renderer: svg, loop: true, autoplay: true, animationData: loader_animation }; let anim lottie.loadAnimation(params); setTimeout(function () { paramscontainer $(#lottie_animation_calendar)0; paramsloop false; let anim_calendar lottie.loadAnimation(params); anim_calendar.addEventListener(complete, function() { anim_calendar.stop(); setTimeout(() > { anim_calendar.play(); }, 5000); }); }, 5000); } } }; $.fancybox(container_booking_popup, booking_loading_popup_params); setTimeout(function () { if ($.fancybox.current?.wrapCSS.includes(fancy-booking-search_v2)) { $.fancybox.close(); } setTimeout(function() { typeof resizeCallCenter ! undefined && resizeCallCenter(); }, 5500); }, 5000); } window.showGallery function (elements) { var fancybox_params { modal: true, closeBtn: false, autoPlay: true, playSpeed: 3000, prevEffect: none, nextEffect: none, type: image, arrows: false, nextClick: false, mouseWheel: false, helpers: { title: { type: outside }, overlay: { opacity: 0.8, css: { background-color: #000 } } }, padding: 0 }; if ($.fancybox.version.slice(0,2) 3.) { $.fancybox.open(elements, fancybox_params); } else { $.fancybox(elements, fancybox_params); } } //Preloading video is required to load correctly in some browsers $(function() { }); $(img/>).attr(src, https://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jh); })(jQuery); /script>/form>/span>script> adult_tag Adulto; adults_tag Adultos; kid_tag Niño; kids_tag Niños; baby_tag Bebé; babies_tag Bebés; no_dispo_text No disponible;/script>script> night_tag Noche; nights_tag Noches;/script>script>/script>!-- RESCUESEEKER -->script async> ($ > { if (typeof only_once_rescueseeker undefined) { only_once_rescueseeker 1; $.getScript(https://global-dot-rescue-seeker.appspot.com/static/rescue-seeker/common/js/rescue-seeker-widget.js?v2) .done(function (script, textStatus) { console.log(RESCUE SEEKER: Main rescue seeker script loaded!); RescueSeeker.load(marina-turquesa, es, paraty); }) .fail(function (jqxhr, settings, exception) { console.error(RESCUE SEEKER: Main rescue seeker script NOT loaded!); console.error(exception); }); } })(jQuery);/script>!-- RATECHECK -->/div>/div>div classticks_wrapper>div classtick_element>i classfa icon-shield>/i>span>Reserva 100% segura/span>/div>div classtick_element>i classfa icon-pig>/i>span>Sin gastos de gestión/span>/div>div classtick_element>i classfa icon-euro>/i>span>Pago directo en el hotel/span>/div>/div>/div>/section>section idcontent>div idwrapper_content>div classcontent_subtitle_wrapper content_subtitle_home>div classcontainer12>h1 classcontent_subtitle_title>span>BIENVENIDO A APARTAMENTOS MARINA TURQUESAspan>/span>/span>/h1>div>div classcontent_subtitle_description>div> Apartamentos Marina Turquesa es un complejo de lujo con apartamentos y villas, ofrecemos a nuestros clientes todo lo necesario para disfrutar de sus vacaciones. Marina Turquesa Apartments se encuentran a 700 metros de la playa de Burriana./div>div> /div>div> El complejo consta de 20 apartamentos, todos con terrazas con vistas a la piscina y jardines, sala de estar, cocina totalmente equipada, aire acondicionado, calefacción central, wi fi y TV de pantalla plana. Las villas de tres dormitorios disponen de piscina privada./div>div> /div>div> El complejo cuenta con un solárium y jardines exóticos con palmeras, piscina al aire libre, gimnasio, sauna, piscina cubierta climatizada en invierno, y también ofrece una sección de información turística en la recepción y su propio alquiler de coches./div>div> Aprovecha nuestras ofertas exclusivas para la página web oficial de Apartamentos Marina Turquesa y reserva ahora al mejor precio para vivir unas vacaciones inolvidables/div>div> /div>div> /div>div> img br srchttps://lh3.googleusercontent.com/rnmjCdnhDTHJtJZ0Bs3C9lXsw9bPIaX91X7V04IwLH5c_XJiaU0uyz0Ym6C34Bsfi0Rs3J3bVgfOYTY9fdwtJ6TPyfIRRvfBDFTLs500 styletext-align: center;> img br srchttps://lh3.googleusercontent.com/0V4ORu1zMWyRsmG46Ra-CBFCHre4yHEijFkoVGQzmIJk04U4x8MZo8euu2b9MSb75zi9fbxT9rjLCUf8Ugmo4fsNsseGqZlGWC6Ds500 styletext-align: center;> img br srchttps://lh3.googleusercontent.com/9t9_JMPq5r1i3ktY-U_FUAkFB9Z6lmecMaFBcrnm57b63972W9f-7eO1KqPnKj3ENbmsROiinM_xUe-XvXkWhjqlHsq8TyE-1-Ys500> img br srchttps://cdn2.paraty.es/marina-turquesa/images/892cf9bb1e10df3s150 styletext-align: center;> /div>/div>/div>/div>/div>div classbannersx4_wrapper >div classbanner_element effects_sass sass_effectslide_up_effect hreffotos.html >div classbanner_image>img srchttps://lh3.googleusercontent.com/Rw1OsMMIPdG-dj_TKScOYTMwX180JIw2DN93sJKhw2Fs-ebQyL8sVlFxCE8cauCOKcI8Uj8VoWSBCbsRD1rF classcenter_image/>/div>div classbanner_content>div classbanner_block>div classbanner_title>Piscinas/div>div classbanner_description>Disponemos de piscina cubierta que se encuentra climatizada en desde el 1 de noviembre hasta el 30 de abril y piscina exterior perfectamente adaptada./div>div classbanner_link>a hreffotos.html>span>i classfa icon-spa>/i>span>FOTOS/span>/span>/a>a href#data classbutton_promotion>span>i classfa fa-th>/i>span>Reservar/span>/span>/a>/div>/div>/div>/div>div classbanner_element effects_sass sass_effectslide_up_effect hrefapartamentos.html >div classbanner_image>img srchttps://cdn2.paraty.es/marina-turquesa/images/39a7b9c46833ae8 classcenter_image/>/div>div classbanner_content>div classbanner_block>div classbanner_title>Apartamentos/div>div classbanner_description>Disponemos de diferentes tipos de apartamentos, con 1 ó 2 dormitorios y Villas con tres dormitorios y piscina privada. Todo un lujo en Nerja./div>div classbanner_link>a hrefapartamentos.html>span>i classfa icon-bed>/i>span>Apartamentos/span>/span>/a>a href#data classbutton_promotion>span>i classfa fa-th>/i>span>Reservar/span>/span>/a>/div>/div>/div>/div>/div>/div>/section>div classnewsletter_and_icons_footer_wrapper>div classnewsletter_wrapper >div classnewsletter_container container12>div classnewsletter_title>Suscríbete & Síguenos/div>div classnewsletter_description>div> Nos encantaría estar en contacto para que seas el primero en enterarte de todas nuestras novedades. Suscríbete a nuestro newsletter y síguenos en las redes sociales. ¡Allí nos vemos!/div>/div>form classnewsletter_form has_social action/utils?actionnewsletter methodpost>input idsuscEmail classinput_email typetext namesuscEmail placeholderIntroduce tu email/>button typesubmit classbutton_newsletter styleborder:none>span>Enviar/span>/button>div classcheck_newsletter>div classnewsletter_checkbox>input classcheck_privacy idprivacy nameprivacy typecheckbox valueprivacy/>label forprivacy>a data-fancybox data-options{caption : He leído y acepto la política de privacidad, src : /es/?sectionContentpolitica-de-privacidad.html, type : iframe, width : 100%, max-width : 100%} data-width1200 classmyFancyPopup fancybox.iframe newsletter_popup hrefes/?sectionContentpolitica-de-privacidad.html relnofollow>He leído y acepto la política de privacidad/a>/label>/div>/div>div classcheck_newsletter>div classnewsletter_checkbox>input classcheck_privacy idpromotions namepromotions typecheckbox valueprivacy/>label forpromotions>Autorizo el tratamiento de mis datos para que me envíen promociones, ofertas y otras comunicaciones propias./label>/div>/div>/form>div classsocial_newsletter>a hrefhttps://www.facebook.com/46549837276 target_blank relnofollow>i classfa fa-facebook aria-hiddentrue>/i>/a>a hrefhttps://twitter.com/bearecepcion target_blank relnofollow>i classfa-brands fa-x-twitter aria-hiddentrue>/i>/a>a hrefhttp://www.instagram.com/marina_turquesa_nerja target_blank relnofollow>i classfa fa-instagram aria-hiddentrue>/i>/a>/div>/div>/div>script async typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/lib/jquery.validate.js>/script>script typetext/javascript> $(window).on(load, function () { if (typeof newsletter_launched ! undefined && newsletter_launched true) { return; } $(.newsletter_form).each(function() { $(this).validate({ rules: { privacy: required, promotions: required, suscEmail: { required: true, email: true }, suscName: { required: true }, suscSurname: { required: true }, suscDate: { required: true, date: true }, suscTelephone: { required: true, date: true } }, messages: { suscEmail: { required: Este campo es obligatorio, email: El valor de este campo no es correcto }, suscName: { required: Este campo es obligatorio }, suscSurname: { required: Este campo es obligatorio }, suscDate: { required: Este campo es obligatorio, date: El valor de este campo no es correcto }, suscTelephone: { required: Este campo es obligatorio, date: El valor de este campo no es correcto }, privacy: Este campo es obligatorio, promotions: Este campo es obligatorio, }, highlight: function (input) { $(input).parent().find(a).addClass(error_class); $(input).parent().find(label).addClass(error_class); $(input).parent().find(#suscEmail).addClass(error_class); $(input).parent().find(#suscName).addClass(error_class); $(input).parent().find(#suscSurname).addClass(error_class); $(input).parent().find(#suscDate).addClass(error_class); $(input).parent().find(#suscTelephone).addClass(error_class); }, errorPlacement: function (error, element) { //this keeps enable the validation but hides the error message } }); }); $(.button_newsletter).each(function() { $(this).unbind(click).click(function () { var clicked_button $(this), form_newsletter clicked_button.parent(.newsletter_form); form_newsletter.on(submit, function(event) { event.preventDefault(); }); if (form_newsletter.valid()) { if (!$(#g-recaptcha-response).length || $(#g-recaptcha-response).val()) { $.post(/utils?actionnewsletter&languageSPANISH, { email: form_newsletter.find(#suscEmail).val(), name: form_newsletter.find(#suscName).val(), surname: form_newsletter.find(#suscSurname).val(), date: form_newsletter.find(#suscDate).val(), telephone: form_newsletter.find(#suscTelephone).val(), g-recaptcha-response: $(#g-recaptcha-response).val() }, function (data) { alert(Gracias por suscribirte a nuestra newsletter); $(#suscEmail).val(); $(#suscName).val(); $(#suscDate).val(); $(#suscTelephone).val(); } ); } else { $(.g-recaptcha > div).css(border, 1px solid red); } } else { alert(* Campos obligatorios ); console.log(invalid); } }); }); newsletter_launched true; var script_fa_tag document.createElement(script); script_fa_tag.src https://kit.fontawesome.com/d8b9925505.js; script_fa_tag.setAttribute(defer, ); document.head.appendChild(script_fa_tag); });/script>script> $(function(){ $(.newsletter_form).append($(.social_newsletter)); var text_send span> + $(.button_newsletter).text() + /span>; $(.button_newsletter).html(text_send); }) /script>/div>div classminigallery_content_wrapper effects_sass sass_effectslide_up_effect>div classminigallery_wrapper >div classminigallery_content owl-carousel>a classslider_element hrefhttps://lh3.googleusercontent.com/1DsPy6L2GehC39LrwAxbF_DKMYmsfqZ_MfnPY4y35xw-gIEq2kTXS1zi1_SAGlG0010GB-xm_kFnxGfgFAU3s1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/1DsPy6L2GehC39LrwAxbF_DKMYmsfqZ_MfnPY4y35xw-gIEq2kTXS1zi1_SAGlG0010GB-xm_kFnxGfgFAU3 alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/2R1Xz1y-gyaqA2vBa53n9KKdjmwlNx4c8OEtcclgdzDml1eZN-xZ1bDQfjmcRVm4jZe-dTd5Ua4SynYmU_NATgs1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/2R1Xz1y-gyaqA2vBa53n9KKdjmwlNx4c8OEtcclgdzDml1eZN-xZ1bDQfjmcRVm4jZe-dTd5Ua4SynYmU_NATg alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/u_FaIEfNCy0HwoBQbIk6e1mjFjZRRT8OTDUnGwlubeOUi0tc2QvNaEY7JGac_NvBKiCFX38hFPhkI9CXevNyews1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/u_FaIEfNCy0HwoBQbIk6e1mjFjZRRT8OTDUnGwlubeOUi0tc2QvNaEY7JGac_NvBKiCFX38hFPhkI9CXevNyew alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/mTEjgwcNLJFbNM8OrcinowsWpIahMJ1LCDMYZbMWwp-ffZyIU_hxC3EBzHa8DOz4wJJmxia-cNaaG78wc5acTAs1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/mTEjgwcNLJFbNM8OrcinowsWpIahMJ1LCDMYZbMWwp-ffZyIU_hxC3EBzHa8DOz4wJJmxia-cNaaG78wc5acTA alt lazytrue/>/a>a classslider_element hrefhttps://cdn2.paraty.es/marina-turquesa/images/fbcbfad03a080b2s1900 rellightboxminigallery>img classcenter_image data-srchttps://cdn2.paraty.es/marina-turquesa/images/fbcbfad03a080b2 alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/GQvz3J0QAdeTebzKz7UH8RJqsXRoti7UO3jNS3ui34D2KBiPjxgYM1XuyLJNSN54PMhJ3qNC-xSNKs1HNhjs-As1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/GQvz3J0QAdeTebzKz7UH8RJqsXRoti7UO3jNS3ui34D2KBiPjxgYM1XuyLJNSN54PMhJ3qNC-xSNKs1HNhjs-A alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/a0BhpJD30NYPxIPd-8RyR5CKbvRo_gwjKkyrBb3qQBSmP-BHvGl3INlb1WoG-rBNoLyuYvwzmzvHQE37CZygYQs1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/a0BhpJD30NYPxIPd-8RyR5CKbvRo_gwjKkyrBb3qQBSmP-BHvGl3INlb1WoG-rBNoLyuYvwzmzvHQE37CZygYQ alt lazytrue/>/a>a classslider_element hrefhttps://cdn2.paraty.es/marina-turquesa/images/230dbe0bdc41e27s1900 rellightboxminigallery>img classcenter_image data-srchttps://cdn2.paraty.es/marina-turquesa/images/230dbe0bdc41e27 alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/-aOaldK9DZoCzYwfz8eXsV-JKXnWquq9A8qb3RVEc5qp-7bcpZB1whsmuRxihmJW-OFC9a23tv4GY5J43IGw3scs1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/-aOaldK9DZoCzYwfz8eXsV-JKXnWquq9A8qb3RVEc5qp-7bcpZB1whsmuRxihmJW-OFC9a23tv4GY5J43IGw3sc alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/1AZa4-9DVnHv597csFPITM_CAzJorKQTHKc9EC9HfYJ-z_V5GkjWNXh-0bMz2YzvgOoz08AE5FwaS6dDnnOs5Qs1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/1AZa4-9DVnHv597csFPITM_CAzJorKQTHKc9EC9HfYJ-z_V5GkjWNXh-0bMz2YzvgOoz08AE5FwaS6dDnnOs5Q alt lazytrue/>/a>a classslider_element hrefhttps://cdn2.paraty.es/marina-turquesa/images/836397a16f0fd61s1900 rellightboxminigallery>img classcenter_image data-srchttps://cdn2.paraty.es/marina-turquesa/images/836397a16f0fd61 alt lazytrue/>/a>/div>/div>script> $(window).load(function () { owl_params { loop: true, nav: true, dots: false, items: 5, navText: i classfa fa-chevron-left aria-hiddentrue>/i>, i classfa fa-chevron-right aria-hiddentrue>/i>, margin: 0, autoplay: true }; $(.minigallery_content).owlCarousel(owl_params); })/script>/div>div classmaps_wrapper effects_sass sass_effectslide_up_effect>div classmaps_content center_xy>div classcenter_block center_y>h3>span>APARTAMENTOS MARINA TURQUESA/span>Nerja, Málaga/h3>div>br>strong>Dirección/strong>br>Calle Cártama, 2 - Nerja br> 29780, Málaga (España)br>br>strong>Teléfono/strong>br>+34 952 52 13 22br>/div>/div>/div>div classmaps_iframe>div styletext-align: center; >iframe srchttps://www.google.com/maps/embed?pb!1m14!1m8!1m3!1d204498.53308275063!2d-4.236337631596851!3d36.78760681059935!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x5f9032745731395e!2sMarina%20Turquesa!5e0!3m2!1ses!2ses!4v1580641465994!5m2!1ses!2ses width1140 height480 frameborder0 styleborder:0 allowfullscreen>/iframe>/div>/div>/div>footer>div classmenu_footer>div classcontainer12>a classmenu_element hrefinicio.html>Inicio/a>a classmenu_element hrefapartamentos.html>Apartamentos/a>a classmenu_element hrefofertas.html>Ofertas/a>a classmenu_element hrefnerja.html>NERJA/a>a classmenu_element hreffotos.html>Fotos/a>a classmenu_element hrefturismo-familiar.html>Turismo Familiar/a>/div>/div>hr classseparator/>div classfooter_legal_text_wrapper>div classcontainer12>div classfooter_links_wrapper>a href/es/?sectionContentcondiciones-de-reserva.html classmyFancyPopup fancybox.iframe>Condiciones de reserva/a> | a href/es/?sectionContentpolitica-de-privacidad.html classmyFancyPopup fancybox.iframe>Política de Privacidad/a> | a href/es/?sectionContentpolitica-de-cookies.html classmyFancyPopup fancybox.iframe>Política de Cookies/a> | a hrefjavascript:cookiesController.open_cookies_banner()>Administrar cookies/a> | a target_blank hrefhttps://www.paratytech.com/motor-de-reservas.html titleMotor de Reservas>Motor de Reservas/a> | a target_blank href/sitemap.xml title>Site Map/a> | a target_blank href/rss.xml>RSS/a>/div>div classlegal_text>div> Apartamentos Marina Turquesalspan stylefont-size: 12px;>: Categoria Establecimiento: 3 Llaves, R.E.T.A.: A/MA00866 | INSCRIP. REG. MERCANTIL DE MALAGA - Tomo 2479 Libro 1392, Folio 63, Hoja MA-9593./span>/div>div>i stylecolor: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14.6667px; caret-color: rgb(0, 0, 0);>br>/i>/div>div>font color#ffffff>span stylefont-family: Calibri, sans-serif; font-size: 14.6667px; caret-color: rgb(0, 0, 0);>ALVAREZ DE RIVERA LUQUE SL/span>i stylefont-family: Calibri, sans-serif; font-size: 14.6667px; caret-color: rgb(0, 0, 0);> ha recibido una ayuda de la Unión Europea con cargo al Programa Operativo FEDER de Andalucía 2014-2020, financiada como parte de la respuesta de la Unión a la pandemia de COVID-19 (REACT-UE), para compensar el sobrecoste energético de gas natural y/o electricidad a pymes y autónomos especialmente afectados por el incremento de los precios del gas natural y la electricidad provocados por el impacto de la guerra de agresión de Rusia contra Ucrania./i>/font>/div>div>i stylecolor: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 12.0000px; caret-color: rgb(0, 0, 0);>br>/i>/div>img br srchttps://cdn2.paraty.es/marina-turquesa/images/fe934c04efe02cbs500 styletext-align: center;> /div>/div>/div>/footer>script>(function (r, G, f, v) { var J f(html), n f(r), p f(G), b f.fancybox function () { b.open.apply(this, arguments) }, I navigator.userAgent.match(/msie/i), B null, s G.createTouch ! v, t function (a) { return a && a.hasOwnProperty && a instanceof f }, q function (a) { return a && string f.type(a) }, E function (a) { return q(a) && 0 a.indexOf(%) }, l function (a, d) { var e parseInt(a, 10) || 0; d && E(a) && (e * b.getViewport()d / 100); return Math.ceil(e) }, w function (a, b) { return l(a, b) + px }; f.extend(b, { version: 2.1.5, defaults: { padding: 15, margin: 20, width: 800, height: 600, minWidth: 100, minHeight: 100, maxWidth: 9999, maxHeight: 9999, pixelRatio: 1, autoSize: !0, autoHeight: !1, autoWidth: !1, autoResize: !0, autoCenter: !s, fitToView: !0, aspectRatio: !1, topRatio: 0.5, leftRatio: 0.5, scrolling: auto, wrapCSS: , arrows: !0, closeBtn: !0, closeClick: !1, nextClick: !1, mouseWheel: !0, autoPlay: !1, playSpeed: 3E3, preload: 3, modal: !1, loop: !0, ajax: {dataType: html, headers: {X-fancyBox: !0}}, iframe: {scrolling: auto, preload: !0}, swf: {wmode: transparent, allowfullscreen: true, allowscriptaccess: always}, keys: { next: {13: left, 34: up, 39: left, 40: up}, prev: {8: right, 33: down, 37: right, 38: down}, close: 27, play: 32, toggle: 70 }, direction: {next: left, prev: right}, scrollOutside: !0, index: 0, type: null, href: null, content: null, title: null, tpl: { wrap: div classfancybox-wrap tabIndex-1>div classfancybox-skin>div classfancybox-outer>div classfancybox-inner>/div>/div>/div>/div>, image: img classfancybox-image src{href} alt />, iframe: iframe idfancybox-frame{rnd} namefancybox-frame{rnd} classfancybox-iframe frameborder0 vspace0 hspace0 webkitAllowFullScreen mozallowfullscreen allowFullScreen + (I ? allowtransparencytrue : ) + >/iframe>, error: p classfancybox-error>The requested content cannot be loaded.br/>Please try again later./p>, closeBtn: a titleClose classfancybox-item fancybox-close hrefjavascript:;>/a>, next: a titleNext classfancybox-nav fancybox-next hrefjavascript:;>span>/span>/a>, prev: a titlePrevious classfancybox-nav fancybox-prev hrefjavascript:;>span>/span>/a> }, openEffect: fade, openSpeed: 250, openEasing: swing, openOpacity: !0, openMethod: zoomIn, closeEffect: fade, closeSpeed: 250, closeEasing: swing, closeOpacity: !0, closeMethod: zoomOut, nextEffect: elastic, nextSpeed: 250, nextEasing: swing, nextMethod: changeIn, prevEffect: elastic, prevSpeed: 250, prevEasing: swing, prevMethod: changeOut, helpers: {overlay: !0, title: !0}, onCancel: f.noop, beforeLoad: f.noop, afterLoad: f.noop, beforeShow: f.noop, afterShow: f.noop, beforeChange: f.noop, beforeClose: f.noop, afterClose: f.noop }, group: {}, opts: {}, previous: null, coming: null, current: null, isActive: !1, isOpen: !1, isOpened: !1, wrap: null, skin: null, outer: null, inner: null, player: {timer: null, isActive: !1}, ajaxLoad: null, imgPreload: null, transitions: {}, helpers: {}, open: function (a, d) { if (a && (f.isPlainObject(d) || (d {}), !1 ! b.close(!0))) return f.isArray(a) || (a t(a) ? f(a).get() : a), f.each(a, function (e, c) { var k {}, g, h, j, m, l; object f.type(c) && (c.nodeType && (c f(c)), t(c) ? (k { href: c.data(fancybox-href) || c.attr(href), title: c.data(fancybox-title) || c.attr(title), isDom: !0, element: c }, f.metadata && f.extend(!0, k, c.metadata())) : k c); g d.href || k.href || (q(c) ? c : null); h d.title ! v ? d.title : k.title || ; m (j d.content || k.content) ? html : d.type || k.type; !m && k.isDom && (m c.data(fancybox-type), m || (m (m c.prop(class).match(/fancybox\.(\w+)/)) ? m1 : null)); q(g) && (m || (b.isImage(g) ? m image : b.isSWF(g) ? m swf : # g.charAt(0) ? m inline : q(c) && (m html, j c)), ajax m && (l g.split(/\s+/, 2), g l.shift(), l l.shift())); j || (inline m ? g ? j f(q(g) ? g.replace(/.*(?#^\s+$)/, ) : g) : k.isDom && (j c) : html m ? j g : !m && (!g && k.isDom) && (m inline, j c)); f.extend(k, {href: g, type: m, content: j, title: h, selector: l}); ae k }), b.opts f.extend(!0, {}, b.defaults, d), d.keys ! v && (b.opts.keys d.keys ? f.extend({}, b.defaults.keys, d.keys) : !1), b.group a, b._start(b.opts.index) }, cancel: function () { var a b.coming; a && !1 ! b.trigger(onCancel) && (b.hideLoading(), b.ajaxLoad && b.ajaxLoad.abort(), b.ajaxLoad null, b.imgPreload && (b.imgPreload.onload b.imgPreload.onerror null), a.wrap && a.wrap.stop(!0, !0).trigger(onReset).remove(), b.coming null, b.current || b._afterZoomOut(a)) }, close: function (a) { b.cancel(); !1 ! b.trigger(beforeClose) && (b.unbindEvents(), b.isActive && (!b.isOpen || !0 a ? (f(.fancybox-wrap).stop(!0).trigger(onReset).remove(), b._afterZoomOut()) : (b.isOpen b.isOpened !1, b.isClosing !0, f(.fancybox-item, .fancybox-nav).remove(), b.wrap.stop(!0, !0).removeClass(fancybox-opened), b.transitionsb.current.closeMethod()))) }, play: function (a) { var d function () { clearTimeout(b.player.timer) }, e function () { d(); b.current && b.player.isActive && (b.player.timer setTimeout(b.next, b.current.playSpeed)) }, c function () { d(); p.unbind(.player); b.player.isActive !1; b.trigger(onPlayEnd) }; if (!0 a || !b.player.isActive && !1 ! a) { if (b.current && (b.current.loop || b.current.index b.group.length - 1)) b.player.isActive !0, p.bind({ onCancel.player beforeClose.player: c, onUpdate.player: e, beforeLoad.player: d }), e(), b.trigger(onPlayStart) } else c() }, next: function (a) { var d b.current; d && (q(a) || (a d.direction.next), b.jumpto(d.index + 1, a, next)) }, prev: function (a) { var d b.current; d && (q(a) || (a d.direction.prev), b.jumpto(d.index - 1, a, prev)) }, jumpto: function (a, d, e) { var c b.current; c && (a l(a), b.direction d || c.directiona > c.index ? next : prev, b.router e || jumpto, c.loop && (0 > a && (a c.group.length + a % c.group.length), a % c.group.length), c.groupa ! v && (b.cancel(), b._start(a))) }, reposition: function (a, d) { var e b.current, c e ? e.wrap : null, k; c && (k b._getPosition(d), a && scroll a.type ? (delete k.position, c.stop(!0, !0).animate(k, 200)) : (c.css(k), e.pos f.extend({}, e.dim, k))) }, update: function (a) { var d a && a.type, e !d || orientationchange d; e && (clearTimeout(B), B null); b.isOpen && !B && (B setTimeout(function () { var c b.current; c && !b.isClosing && (b.wrap.removeClass(fancybox-tmp), (e || load d || resize d && c.autoResize) && b._setDimension(), scroll d && c.canShrink || b.reposition(a), b.trigger(onUpdate), B null) }, e && !s ? 0 : 300)) }, toggle: function (a) { b.isOpen && (b.current.fitToView boolean f.type(a) ? a : !b.current.fitToView, s && (b.wrap.removeAttr(style).addClass(fancybox-tmp), b.trigger(onUpdate)), b.update()) }, hideLoading: function () { p.unbind(.loading); f(#fancybox-loading).remove() }, showLoading: function () { var a, d; b.hideLoading(); a f(div idfancybox-loading>div>/div>/div>).click(b.cancel).appendTo(body); p.bind(keydown.loading, function (a) { if (27 (a.which || a.keyCode)) a.preventDefault(), b.cancel() }); b.defaults.fixed || (d b.getViewport(), a.css({ position: absolute, top: 0.5 * d.h + d.y, left: 0.5 * d.w + d.x })) }, getViewport: function () { var a b.current && b.current.locked || !1, d {x: n.scrollLeft(), y: n.scrollTop()}; a ? (d.w a0.clientWidth, d.h a0.clientHeight) : (d.w s && r.innerWidth ? r.innerWidth : n.width(), d.h s && r.innerHeight ? r.innerHeight : n.height()); return d }, unbindEvents: function () { b.wrap && t(b.wrap) && b.wrap.unbind(.fb); p.unbind(.fb); n.unbind(.fb) }, bindEvents: function () { var a b.current, d; a && (n.bind(orientationchange.fb + (s ? : resize.fb) + (a.autoCenter && !a.locked ? scroll.fb : ), b.update), (d a.keys) && p.bind(keydown.fb, function (e) { var c e.which || e.keyCode, k e.target || e.srcElement; if (27 c && b.coming) return !1; !e.ctrlKey && (!e.altKey && !e.shiftKey && !e.metaKey && (!k || !k.type && !f(k).is(contenteditable))) && f.each(d, function (d, k) { if (1 a.group.length && kc ! v) return bd(kc), e.preventDefault(), !1; if (-1 f.inArray(c, k)) return bd(), e.preventDefault(), !1 }) }), f.fn.mousewheel && a.mouseWheel && b.wrap.bind(mousewheel.fb, function (d, c, k, g) { for (var h f(d.target || null), j !1; h.length && !j && !h.is(.fancybox-skin) && !h.is(.fancybox-wrap);) j h0 && !(h0.style.overflow && hidden h0.style.overflow) && (h0.clientWidth && h0.scrollWidth > h0.clientWidth || h0.clientHeight && h0.scrollHeight > h0.clientHeight), h f(h).parent(); if (0 ! c && !j && 1 b.group.length && !a.canShrink) { if (0 g || 0 k) b.prev(0 g ? down : left); else if (0 > g || 0 > k) b.next(0 > g ? up : right); d.preventDefault() } })) }, trigger: function (a, d) { var e, c d || b.coming || b.current; if (c) { f.isFunction(ca) && (e ca.apply(c, Array.prototype.slice.call(arguments, 1))); if (!1 e) return !1; c.helpers && f.each(c.helpers, function (d, e) { if (e && b.helpersd && f.isFunction(b.helpersda)) b.helpersda(f.extend(!0, {}, b.helpersd.defaults, e), c) }); p.trigger(a) } }, isImage: function (a) { return q(a) && a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i) }, isSWF: function (a) { return q(a) && a.match(/\.(swf)((\?|#).*)?$/i) }, _start: function (a) { var d {}, e, c; a l(a); e b.groupa || null; if (!e) return !1; d f.extend(!0, {}, b.opts, e); e d.margin; c d.padding; number f.type(e) && (d.margin e, e, e, e); number f.type(c) && (d.padding c, c, c, c); d.modal && f.extend(!0, d, { closeBtn: !1, closeClick: !1, nextClick: !1, arrows: !1, mouseWheel: !1, keys: null, helpers: {overlay: {closeClick: !1}} }); d.autoSize && (d.autoWidth d.autoHeight !0); auto d.width && (d.autoWidth !0); auto d.height && (d.autoHeight !0); d.group b.group; d.index a; b.coming d; if (!1 b.trigger(beforeLoad)) b.coming null; else { c d.type; e d.href; if (!c) return b.coming null, b.current && b.router && jumpto ! b.router ? (b.current.index a, bb.router(b.direction)) : !1; b.isActive !0; if (image c || swf c) d.autoHeight d.autoWidth !1, d.scrolling visible; image c && (d.aspectRatio !0); iframe c && s && (d.scrolling scroll); d.wrap f(d.tpl.wrap).addClass(fancybox- + (s ? mobile : desktop) + fancybox-type- + c + fancybox-tmp + d.wrapCSS).appendTo(d.parent || body); f.extend(d, { skin: f(.fancybox-skin, d.wrap), outer: f(.fancybox-outer, d.wrap), inner: f(.fancybox-inner, d.wrap) }); f.each(Top, Right, Bottom, Left, function (a, b) { d.skin.css(padding + b, w(d.paddinga)) }); b.trigger(onReady); if (inline c || html c) { if (!d.content || !d.content.length) return b._error(content) } else if (!e) return b._error(href); image c ? b._loadImage() : ajax c ? b._loadAjax() : iframe c ? b._loadIframe() : b._afterLoad() } }, _error: function (a) { f.extend(b.coming, { type: html, autoWidth: !0, autoHeight: !0, minWidth: 0, minHeight: 0, scrolling: no, hasError: a, content: b.coming.tpl.error }); b._afterLoad() }, _loadImage: function () { var a b.imgPreload new Image; a.onload function () { this.onload this.onerror null; b.coming.width this.width / b.opts.pixelRatio; b.coming.height this.height / b.opts.pixelRatio; b._afterLoad() }; a.onerror function () { this.onload this.onerror null; b._error(image) }; a.src b.coming.href; !0 ! a.complete && b.showLoading() }, _loadAjax: function () { var a b.coming; b.showLoading(); b.ajaxLoad f.ajax(f.extend({}, a.ajax, { url: a.href, error: function (a, e) { b.coming && abort ! e ? b._error(ajax, a) : b.hideLoading() }, success: function (d, e) { success e && (a.content d, b._afterLoad()) } })) }, _loadIframe: function () { var a b.coming, d f(a.tpl.iframe.replace(/\{rnd\}/g, (new Date).getTime())).attr(scrolling, s ? auto : a.iframe.scrolling).attr(src, a.href); f(a.wrap).bind(onReset, function () { try { f(this).find(iframe).hide().attr(src, //about:blank).end().empty() } catch (a) { } }); a.iframe.preload && (b.showLoading(), d.one(load, function () { f(this).data(ready, 1); s || f(this).bind(load.fb, b.update); f(this).parents(.fancybox-wrap).width(100%).removeClass(fancybox-tmp).show(); b._afterLoad() })); a.content d.appendTo(a.inner); a.iframe.preload || b._afterLoad() }, _preloadImages: function () { var a b.group, d b.current, e a.length, c d.preload ? Math.min(d.preload, e - 1) : 0, f, g; for (g 1; g c; g + 1) f a(d.index + g) % e, image f.type && f.href && ((new Image).src f.href) }, _afterLoad: function () { var a b.coming, d b.current, e, c, k, g, h; b.hideLoading(); if (a && !1 ! b.isActive) if (!1 b.trigger(afterLoad, a, d)) a.wrap.stop(!0).trigger(onReset).remove(), b.coming null; else { d && (b.trigger(beforeChange, d), d.wrap.stop(!0).removeClass(fancybox-opened).find(.fancybox-item, .fancybox-nav).remove()); b.unbindEvents(); e a.content; c a.type; k a.scrolling; f.extend(b, {wrap: a.wrap, skin: a.skin, outer: a.outer, inner: a.inner, current: a, previous: d}); g a.href; switch (c) { case inline: case ajax: case html: a.selector ? e f(div>).html(e).find(a.selector) : t(e) && (e.data(fancybox-placeholder) || e.data(fancybox-placeholder, f(div classfancybox-placeholder>/div>).insertAfter(e).hide()), e e.show().detach(), a.wrap.bind(onReset, function () { f(this).find(e).length && e.hide().replaceAll(e.data(fancybox-placeholder)).data(fancybox-placeholder, !1) })); break; case image: e a.tpl.image.replace({href}, g); break; case swf: e object idfancybox-swf classidclsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width100% height100%>param namemovie value + g + >/param>, h , f.each(a.swf, function (a, b) { e + param name + a + value + b + >/param>; h + + a + + b + }), e + embed src + g + typeapplication/x-shockwave-flash width100% height100% + h + >/embed>/object> } (!t(e) || !e.parent().is(a.inner)) && a.inner.append(e); b.trigger(beforeShow); a.inner.css(overflow, yes k ? scroll : no k ? hidden : k); b._setDimension(); b.reposition(); b.isOpen !1; b.coming null; b.bindEvents(); if (b.isOpened) { if (d.prevMethod) b.transitionsd.prevMethod() } else f(.fancybox-wrap).not(a.wrap).stop(!0).trigger(onReset).remove(); b.transitionsb.isOpened ? a.nextMethod : a.openMethod(); b._preloadImages() } }, _setDimension: function () { var a b.getViewport(), d 0, e !1, c !1, e b.wrap, k b.skin, g b.inner, h b.current, c h.width, j h.height, m h.minWidth, u h.minHeight, n h.maxWidth, p h.maxHeight, s h.scrolling, q h.scrollOutside ? h.scrollbarWidth : 0, x h.margin, y l(x1 + x3), r l(x0 + x2), v, z, t, C, A, F, B, D, H; e.add(k).add(g).width(auto).height(auto).removeClass(fancybox-tmp); x l(k.outerWidth(!0) - k.width()); v l(k.outerHeight(!0) - k.height()); z y + x; t r + v; C E(c) ? (a.w - z) * l(c) / 100 : c; A E(j) ? (a.h - t) * l(j) / 100 : j; if (iframe h.type) { if (H h.content, h.autoHeight && 1 H.data(ready)) try { H0.contentWindow.document.location && (g.width(C).height(9999), F H.contents().find(body), q && F.css(overflow-x, hidden), A F.outerHeight(!0)) } catch (G) { } } else if (h.autoWidth || h.autoHeight) g.addClass(fancybox-tmp), h.autoWidth || g.width(C), h.autoHeight || g.height(A), h.autoWidth && (C g.width()), h.autoHeight && (A g.height()), g.removeClass(fancybox-tmp); c l(C); j l(A); D C / A; m l(E(m) ? l(m, w) - z : m); n l(E(n) ? l(n, w) - z : n); u l(E(u) ? l(u, h) - t : u); p l(E(p) ? l(p, h) - t : p); F n; B p; h.fitToView && (n Math.min(a.w - z, n), p Math.min(a.h - t, p)); z a.w - y; r a.h - r; h.aspectRatio ? (c > n && (c n, j l(c / D)), j > p && (j p, c l(j * D)), c m && (c m, j l(c / D)), j u && (j u, c l(j * D))) : (c Math.max(m, Math.min(c, n)), h.autoHeight && iframe ! h.type && (g.width(c), j g.height()), j Math.max(u, Math.min(j, p))); if (h.fitToView) if (g.width(c).height(j), e.width(c + x), a e.width(), y e.height(), h.aspectRatio) for (; (a > z || y > r) && (c > m && j > u) && !(19 d++);) j Math.max(u, Math.min(p, j - 10)), c l(j * D), c m && (c m, j l(c / D)), c > n && (c n, j l(c / D)), g.width(c).height(j), e.width(c + x), a e.width(), y e.height(); else c Math.max(m, Math.min(c, c - (a - z))), j Math.max(u, Math.min(j, j - (y - r))); q && (auto s && j A && c + x + q z) && (c + q); g.width(c).height(j); e.width(c + x); a e.width(); y e.height(); e (a > z || y > r) && c > m && j > u; c h.aspectRatio ? c F && j B && c C && j A : (c F || j B) && (c C || j A); f.extend(h, { dim: {width: w(a), height: w(y)}, origWidth: C, origHeight: A, canShrink: e, canExpand: c, wPadding: x, hPadding: v, wrapSpace: y - k.outerHeight(!0), skinSpace: k.height() - j }); !H && (h.autoHeight && j > u && j p && !c) && g.height(auto) }, _getPosition: function (a) { var d b.current, e b.getViewport(), c d.margin, f b.wrap.width() + c1 + c3, g b.wrap.height() + c0 + c2, c {position: absolute, top: c0, left: c3}; d.autoCenter && d.fixed && !a && g e.h && f e.w ? c.position fixed : d.locked || (c.top + e.y, c.left + e.x); c.top w(Math.max(c.top, c.top + (e.h - g) * d.topRatio)); c.left w(Math.max(c.left, c.left + (e.w - f) * d.leftRatio)); return c }, _afterZoomIn: function () { var a b.current; a && (b.isOpen b.isOpened !0, b.wrap.css(overflow, visible).addClass(fancybox-opened), b.update(), (a.closeClick || a.nextClick && 1 b.group.length) && b.inner.css(cursor, pointer).bind(click.fb, function (d) { !f(d.target).is(a) && !f(d.target).parent().is(a) && (d.preventDefault(), ba.closeClick ? close : next()) }), a.closeBtn && f(a.tpl.closeBtn).appendTo(b.skin).bind(click.fb, function (a) { a.preventDefault(); b.close() }), a.arrows && 1 b.group.length && ((a.loop || 0 a.index) && f(a.tpl.prev).appendTo(b.outer).bind(click.fb, b.prev), (a.loop || a.index b.group.length - 1) && f(a.tpl.next).appendTo(b.outer).bind(click.fb, b.next)), b.trigger(afterShow), !a.loop && a.index a.group.length - 1 ? b.play(!1) : b.opts.autoPlay && !b.player.isActive && (b.opts.autoPlay !1, b.play())) }, _afterZoomOut: function (a) { a a || b.current; f(.fancybox-wrap).trigger(onReset).remove(); f.extend(b, { group: {}, opts: {}, router: !1, current: null, isActive: !1, isOpened: !1, isOpen: !1, isClosing: !1, wrap: null, skin: null, outer: null, inner: null }); b.trigger(afterClose, a) } }); b.transitions { getOrigPosition: function () { var a b.current, d a.element, e a.orig, c {}, f 50, g 50, h a.hPadding, j a.wPadding, m b.getViewport(); !e && (a.isDom && d.is(:visible)) && (e d.find(img:first), e.length || (e d)); t(e) ? (c e.offset(), e.is(img) && (f e.outerWidth(), g e.outerHeight())) : (c.top m.y + (m.h - g) * a.topRatio, c.left m.x + (m.w - f) * a.leftRatio); if (fixed b.wrap.css(position) || a.locked) c.top - m.y, c.left - m.x; return c { top: w(c.top - h * a.topRatio), left: w(c.left - j * a.leftRatio), width: w(f + j), height: w(g + h) } }, step: function (a, d) { var e, c, f d.prop; c b.current; var g c.wrapSpace, h c.skinSpace; if (width f || height f) e d.end d.start ? 1 : (a - d.start) / (d.end - d.start), b.isClosing && (e 1 - e), c width f ? c.wPadding : c.hPadding, c a - c, b.skinf(l(width f ? c : c - g * e)), b.innerf(l(width f ? c : c - g * e - h * e)) }, zoomIn: function () { var a b.current, d a.pos, e a.openEffect, c elastic e, k f.extend({opacity: 1}, d); delete k.position; c ? (d this.getOrigPosition(), a.openOpacity && (d.opacity 0.1)) : fade e && (d.opacity 0.1); b.wrap.css(d).animate(k, { duration: none e ? 0 : a.openSpeed, easing: a.openEasing, step: c ? this.step : null, complete: b._afterZoomIn }) }, zoomOut: function () { var a b.current, d a.closeEffect, e elastic d, c {opacity: 0.1}; e && (c this.getOrigPosition(), a.closeOpacity && (c.opacity 0.1)); b.wrap.animate(c, { duration: none d ? 0 : a.closeSpeed, easing: a.closeEasing, step: e ? this.step : null, complete: b._afterZoomOut }) }, changeIn: function () { var a b.current, d a.nextEffect, e a.pos, c {opacity: 1}, f b.direction, g; e.opacity 0.1; elastic d && (g down f || up f ? top : left, down f || right f ? (eg w(l(eg) - 200), cg +200px) : (eg w(l(eg) + 200), cg -200px)); none d ? b._afterZoomIn() : b.wrap.css(e).animate(c, { duration: a.nextSpeed, easing: a.nextEasing, complete: b._afterZoomIn }) }, changeOut: function () { var a b.previous, d a.prevEffect, e {opacity: 0.1}, c b.direction; elastic d && (edown c || up c ? top : left (up c || left c ? - : +) + 200px); a.wrap.animate(e, { duration: none d ? 0 : a.prevSpeed, easing: a.prevEasing, complete: function () { f(this).trigger(onReset).remove() } }) } }; b.helpers.overlay { defaults: {closeClick: !0, speedOut: 200, showEarly: !0, css: {}, locked: !s, fixed: !0}, overlay: null, fixed: !1, el: f(html), create: function (a) { a f.extend({}, this.defaults, a); this.overlay && this.close(); this.overlay f(div classfancybox-overlay>/div>).appendTo(b.coming ? b.coming.parent : a.parent); this.fixed !1; a.fixed && b.defaults.fixed && (this.overlay.addClass(fancybox-overlay-fixed), this.fixed !0) }, open: function (a) { var d this; a f.extend({}, this.defaults, a); this.overlay ? this.overlay.unbind(.overlay).width(auto).height(auto) : this.create(a); this.fixed || (n.bind(resize.overlay, f.proxy(this.update, this)), this.update()); a.closeClick && this.overlay.bind(click.overlay, function (a) { if (f(a.target).hasClass(fancybox-overlay)) return b.isActive ? b.close() : d.close(), !1 }); this.overlay.css(a.css).show() }, close: function () { var a, b; n.unbind(resize.overlay); this.el.hasClass(fancybox-lock) && (f(.fancybox-margin).removeClass(fancybox-margin), a n.scrollTop(), b n.scrollLeft(), this.el.removeClass(fancybox-lock), n.scrollTop(a).scrollLeft(b)); f(.fancybox-overlay).remove().hide(); f.extend(this, {overlay: null, fixed: !1}) }, update: function () { var a 100%, b; this.overlay.width(a).height(100%); I ? (b Math.max(G.documentElement.offsetWidth, G.body.offsetWidth), p.width() > b && (a p.width())) : p.width() > n.width() && (a p.width()); this.overlay.width(a).height(p.height()) }, onReady: function (a, b) { var e this.overlay; f(.fancybox-overlay).stop(!0, !0); e || this.create(a); a.locked && (this.fixed && b.fixed) && (e || (this.margin p.height() > n.height() ? f(html).css(margin-right).replace(px, ) : !1), b.locked this.overlay.append(b.wrap), b.fixed !1); !0 a.showEarly && this.beforeShow.apply(this, arguments) }, beforeShow: function (a, b) { var e, c; b.locked && (!1 ! this.margin && (f(*:not(object)).filter(function () { return fixed f(this).css(position) && !f(this).hasClass(fancybox-overlay) && !f(this).hasClass(fancybox-wrap) }).addClass(fancybox-margin), this.el.addClass(fancybox-margin)), e n.scrollTop(), c n.scrollLeft(), this.el.addClass(fancybox-lock), n.scrollTop(e).scrollLeft(c)); this.open(a) }, onUpdate: function () { this.fixed || this.update() }, afterClose: function (a) { this.overlay && !b.coming && this.overlay.fadeOut(a.speedOut, f.proxy(this.close, this)) } }; b.helpers.title { defaults: {type: float, position: bottom}, beforeShow: function (a) { var d b.current, e d.title, c a.type; f.isFunction(e) && (e e.call(d.element, d)); if (q(e) && ! f.trim(e)) { d f(div classfancybox-title fancybox-title- + c + -wrap> + e + /div>); switch (c) { case inside: c b.skin; break; case outside: c b.wrap; break; case over: c b.inner; break; default: c b.skin, d.appendTo(body), I && d.width(d.width()), d.wrapInner(span classchild>/span>), b.current.margin2 + Math.abs(l(d.css(margin-bottom))) } dtop a.position ? prependTo : appendTo(c) } } }; f.fn.fancybox function (a) { var d, e f(this), c this.selector || , k function (g) { var h f(this).blur(), j d, k, l; !g.ctrlKey && (!g.altKey && !g.shiftKey && !g.metaKey) && !h.is(.fancybox-wrap) && (k a.groupAttr || data-fancybox-group, l h.attr(k), l || (k rel, l h.get(0)k), l && ( ! l && nofollow ! l) && (h c.length ? f(c) : e, h h.filter( + k + + l + ), j h.index(this)), a.index j, !1 ! b.open(h, a) && g.preventDefault()) }; a a || {}; d a.index || 0; !c || !1 a.live ? e.unbind(click.fb-start).bind(click.fb-start, k) : p.undelegate(c, click.fb-start).delegate(c + :not(.fancybox-item, .fancybox-nav), click.fb-start, k); this.filter(data-fancybox-start1).trigger(click); return this }; p.ready(function () { var a, d; f.scrollbarWidth v && (f.scrollbarWidth function () { var a f(div stylewidth:50px;height:50px;overflow:auto>div/>/div>).appendTo(body), b a.children(), b b.innerWidth() - b.height(99).innerWidth(); a.remove(); return b }); if (f.support.fixedPosition v) { a f.support; d f(div styleposition:fixed;top:20px;>/div>).appendTo(body); var e 20 d0.offsetTop || 15 d0.offsetTop; d.remove(); a.fixedPosition e } f.extend(b.defaults, {scrollbarWidth: f.scrollbarWidth(), fixed: f.support.fixedPosition, parent: f(body)}); a f(r).width(); J.addClass(fancybox-lock-test); d f(r).width(); J.removeClass(fancybox-lock-test); f(style typetext/css>.fancybox-margin{margin-right: + (d - a) + px;}/style>).appendTo(head) })})(window, document, jQuery);/script>script>(function($) {var __sliceArray.prototype.slice;var i18n{dict:null,load:function(i18n_dict){if(this.dict!null){$.extend(this.dict,i18n_dict);}else{this.dicti18n_dict;}},_:function(str) {dictthis.dict;if(dict&&dict.hasOwnProperty(str)){strdictstr;}args__slice.call(arguments);args0str;return this.printf.apply(this, args);},printf:function(str,args){if(arguments.length2)return str;args$.isArray(args)?args:__slice.call(arguments,1);return str.replace(/(^%|^)%(?:(\d+)\$)?s/g,function(p0,p,position){if(position){return p+argsparseInt(position)-1;}return p+args.shift();}).replace(/%%s/g,%s);}};$.fn._tfunction(str,params){return $(this).html(i18n._.apply(i18n,arguments));};$.i18ni18n;})(jQuery);/script>script>(function( $, undefined ) {var uuid 0, runiqueId /^ui-id-\d+$/;$.ui $.ui || {};$.extend( $.ui, { version: 1.10.4, keyCode: { BACKSPACE: 8, COMMA: 188, DELETE: 46, DOWN: 40, END: 35, ENTER: 13, ESCAPE: 27, HOME: 36, LEFT: 37, NUMPAD_ADD: 107, NUMPAD_DECIMAL: 110, NUMPAD_DIVIDE: 111, NUMPAD_ENTER: 108, NUMPAD_MULTIPLY: 106, NUMPAD_SUBTRACT: 109, PAGE_DOWN: 34, PAGE_UP: 33, PERIOD: 190, RIGHT: 39, SPACE: 32, TAB: 9, UP: 38 }});$.fn.extend({ focus: (function( orig ) { return function( delay, fn ) { return typeof delay number ? this.each(function() { var elem this; setTimeout(function() { $( elem ).focus(); if ( fn ) { fn.call( elem ); } }, delay ); }) : orig.apply( this, arguments ); }; })( $.fn.focus ), scrollParent: function() { var scrollParent; if (($.ui.ie && (/(static|relative)/).test(this.css(position))) || (/absolute/).test(this.css(position))) { scrollParent this.parents().filter(function() { return (/(relative|absolute|fixed)/).test($.css(this,position)) && (/(auto|scroll)/).test($.css(this,overflow)+$.css(this,overflow-y)+$.css(this,overflow-x)); }).eq(0); } else { scrollParent this.parents().filter(function() { return (/(auto|scroll)/).test($.css(this,overflow)+$.css(this,overflow-y)+$.css(this,overflow-x)); }).eq(0); } return (/fixed/).test(this.css(position)) || !scrollParent.length ? $(document) : scrollParent; }, zIndex: function( zIndex ) { if ( zIndex ! undefined ) { return this.css( zIndex, zIndex ); } if ( this.length ) { var elem $( this 0 ), position, value; while ( elem.length && elem 0 ! document ) { position elem.css( position ); if ( position absolute || position relative || position fixed ) { value parseInt( elem.css( zIndex ), 10 ); if ( !isNaN( value ) && value ! 0 ) { return value; } } elem elem.parent(); } } return 0; }, uniqueId: function() { return this.each(function() { if ( !this.id ) { this.id ui-id- + (++uuid); } }); }, removeUniqueId: function() { return this.each(function() { if ( runiqueId.test( this.id ) ) { $( this ).removeAttr( id ); } }); }});function focusable( element, isTabIndexNotNaN ) { var map, mapName, img, nodeName element.nodeName.toLowerCase(); if ( area nodeName ) { map element.parentNode; mapName map.name; if ( !element.href || !mapName || map.nodeName.toLowerCase() ! map ) { return false; } img $( imgusemap# + mapName + )0; return !!img && visible( img ); } return ( /input|select|textarea|button|object/.test( nodeName ) ? !element.disabled : a nodeName ? element.href || isTabIndexNotNaN : isTabIndexNotNaN) && // the element and all of its ancestors must be visible visible( element );}function visible( element ) { return $.expr.filters.visible( element ) && !$( element ).parents().addBack().filter(function() { return $.css( this, visibility ) hidden; }).length;}$.extend( $.expr : , { data: $.expr.createPseudo ? $.expr.createPseudo(function( dataName ) { return function( elem ) { return !!$.data( elem, dataName ); }; }) : function( elem, i, match ) { return !!$.data( elem, match 3 ); }, focusable: function( element ) { return focusable( element, !isNaN( $.attr( element, tabindex ) ) ); }, tabbable: function( element ) { var tabIndex $.attr( element, tabindex ), isTabIndexNaN isNaN( tabIndex ); return ( isTabIndexNaN || tabIndex > 0 ) && focusable( element, !isTabIndexNaN ); }});if ( !$( a> ).outerWidth( 1 ).jquery ) { $.each( Width, Height , function( i, name ) { var side name Width ? Left, Right : Top, Bottom , type name.toLowerCase(), orig { innerWidth: $.fn.innerWidth, innerHeight: $.fn.innerHeight, outerWidth: $.fn.outerWidth, outerHeight: $.fn.outerHeight }; function reduce( elem, size, border, margin ) { $.each( side, function() { size - parseFloat( $.css( elem, padding + this ) ) || 0; if ( border ) { size - parseFloat( $.css( elem, border + this + Width ) ) || 0; } if ( margin ) { size - parseFloat( $.css( elem, margin + this ) ) || 0; } }); return size; } $.fn inner + name function( size ) { if ( size undefined ) { return orig inner + name .call( this ); } return this.each(function() { $( this ).css( type, reduce( this, size ) + px ); }); }; $.fn outer + name function( size, margin ) { if ( typeof size ! number ) { return orig outer + name .call( this, size ); } return this.each(function() { $( this).css( type, reduce( this, size, true, margin ) + px ); }); }; });}if ( !$.fn.addBack ) { $.fn.addBack function( selector ) { return this.add( selector null ? this.prevObject : this.prevObject.filter( selector ) ); };}if ( $( a> ).data( a-b, a ).removeData( a-b ).data( a-b ) ) { $.fn.removeData (function( removeData ) { return function( key ) { if ( arguments.length ) { return removeData.call( this, $.camelCase( key ) ); } else { return removeData.call( this ); } }; })( $.fn.removeData );}$.ui.ie !!/msie \w.+/.exec( navigator.userAgent.toLowerCase() );$.support.selectstart onselectstart in document.createElement( div );$.fn.extend({ disableSelection: function() { return this.bind( ( $.support.selectstart ? selectstart : mousedown ) + .ui-disableSelection, function( event ) { event.preventDefault(); }); }, enableSelection: function() { return this.unbind( .ui-disableSelection ); }});$.extend( $.ui, { plugin: { add: function( module, option, set ) { var i, proto $.ui module .prototype; for ( i in set ) { proto.plugins i proto.plugins i || ; proto.plugins i .push( option, set i ); } }, call: function( instance, name, args ) { var i, set instance.plugins name ; if ( !set || !instance.element 0 .parentNode || instance.element 0 .parentNode.nodeType 11 ) { return; } for ( i 0; i set.length; i++ ) { if ( instance.options set i 0 ) { set i 1 .apply( instance.element, args ); } } } }, hasScroll: function( el, a ) { //If overflow is hidden, the element might have extra content, but the user wants to hide it if ( $( el ).css( overflow ) hidden) { return false; } var scroll ( a && a left ) ? scrollLeft : scrollTop, has false; if ( el scroll > 0 ) { return true; } el scroll 1; has ( el scroll > 0 ); el scroll 0; return has; }});})( jQuery );(function( $, undefined ) {var uuid 0, slice Array.prototype.slice, _cleanData $.cleanData;$.cleanData function( elems ) { for ( var i 0, elem; (elem elemsi) ! null; i++ ) { try { $( elem ).triggerHandler( remove ); } catch( e ) {} } _cleanData( elems );};$.widget function( name, base, prototype ) { var fullName, existingConstructor, constructor, basePrototype, proxiedPrototype {}, namespace name.split( . ) 0 ; name name.split( . ) 1 ; fullName namespace + - + name; if ( !prototype ) { prototype base; base $.Widget; } $.expr : fullName.toLowerCase() function( elem ) { return !!$.data( elem, fullName ); }; $ namespace $ namespace || {}; existingConstructor $ namespace name ; constructor $ namespace name function( options, element ) { if ( !this._createWidget ) { return new constructor( options, element ); } if ( arguments.length ) { this._createWidget( options, element ); } }; $.extend( constructor, existingConstructor, { version: prototype.version, _proto: $.extend( {}, prototype ), _childConstructors: }); basePrototype new base(); basePrototype.options $.widget.extend( {}, basePrototype.options ); $.each( prototype, function( prop, value ) { if ( !$.isFunction( value ) ) { proxiedPrototype prop value; return; } proxiedPrototype prop (function() { var _super function() { return base.prototype prop .apply( this, arguments ); }, _superApply function( args ) { return base.prototype prop .apply( this, args ); }; return function() { var __super this._super, __superApply this._superApply, returnValue; this._super _super; this._superApply _superApply; returnValue value.apply( this, arguments ); this._super __super; this._superApply __superApply; return returnValue; }; })(); }); constructor.prototype $.widget.extend( basePrototype, { widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name }, proxiedPrototype, { constructor: constructor, namespace: namespace, widgetName: name, widgetFullName: fullName }); if ( existingConstructor ) { $.each( existingConstructor._childConstructors, function( i, child ) { var childPrototype child.prototype; $.widget( childPrototype.namespace + . + childPrototype.widgetName, constructor, child._proto ); }); delete existingConstructor._childConstructors; } else { base._childConstructors.push( constructor ); } $.widget.bridge( name, constructor );};$.widget.extend function( target ) { var input slice.call( arguments, 1 ), inputIndex 0, inputLength input.length, key, value; for ( ; inputIndex inputLength; inputIndex++ ) { for ( key in input inputIndex ) { value input inputIndex key ; if ( input inputIndex .hasOwnProperty( key ) && value ! undefined ) { if ( $.isPlainObject( value ) ) { target key $.isPlainObject( target key ) ? $.widget.extend( {}, target key , value ) : $.widget.extend( {}, value ); } else { target key value; } } } } return target;};$.widget.bridge function( name, object ) { var fullName object.prototype.widgetFullName || name; $.fn name function( options ) { var isMethodCall typeof options string, args slice.call( arguments, 1 ), returnValue this; options !isMethodCall && args.length ? $.widget.extend.apply( null, options .concat(args) ) : options; if ( isMethodCall ) { this.each(function() { var methodValue, instance $.data( this, fullName ); if ( !instance ) { return $.error( cannot call methods on + name + prior to initialization; + attempted to call method + options + ); } if ( !$.isFunction( instanceoptions ) || options.charAt( 0 ) _ ) { return $.error( no such method + options + for + name + widget instance ); } methodValue instance options .apply( instance, args ); if ( methodValue ! instance && methodValue ! undefined ) { returnValue methodValue && methodValue.jquery ? returnValue.pushStack( methodValue.get() ) : methodValue; return false; } }); } else { this.each(function() { var instance $.data( this, fullName ); if ( instance ) { instance.option( options || {} )._init(); } else { $.data( this, fullName, new object( options, this ) ); } }); } return returnValue; };};$.Widget function() {};$.Widget._childConstructors ;$.Widget.prototype { widgetName: widget, widgetEventPrefix: , defaultElement: div>, options: { disabled: false, create: null }, _createWidget: function( options, element ) { element $( element || this.defaultElement || this ) 0 ; this.element $( element ); this.uuid uuid++; this.eventNamespace . + this.widgetName + this.uuid; this.options $.widget.extend( {}, this.options, this._getCreateOptions(), options ); this.bindings $(); this.hoverable $(); this.focusable $(); if ( element ! this ) { $.data( element, this.widgetFullName, this ); this._on( true, this.element, { remove: function( event ) { if ( event.target element ) { this.destroy(); } } }); this.document $( element.style ? element.ownerDocument : element.document || element ); this.window $( this.document0.defaultView || this.document0.parentWindow ); } this._create(); this._trigger( create, null, this._getCreateEventData() ); this._init(); }, _getCreateOptions: $.noop, _getCreateEventData: $.noop, _create: $.noop, _init: $.noop, destroy: function() { this._destroy(); this.element .unbind( this.eventNamespace ) .removeData( this.widgetName ) .removeData( this.widgetFullName ) .removeData( $.camelCase( this.widgetFullName ) ); this.widget() .unbind( this.eventNamespace ) .removeAttr( aria-disabled ) .removeClass( this.widgetFullName + -disabled + ui-state-disabled ); this.bindings.unbind( this.eventNamespace ); this.hoverable.removeClass( ui-state-hover ); this.focusable.removeClass( ui-state-focus ); }, _destroy: $.noop, widget: function() { return this.element; }, option: function( key, value ) { var options key, parts, curOption, i; if ( arguments.length 0 ) { return $.widget.extend( {}, this.options ); } if ( typeof key string ) { options {}; parts key.split( . ); key parts.shift(); if ( parts.length ) { curOption options key $.widget.extend( {}, this.options key ); for ( i 0; i parts.length - 1; i++ ) { curOption parts i curOption parts i || {}; curOption curOption parts i ; } key parts.pop(); if ( arguments.length 1 ) { return curOption key undefined ? null : curOption key ; } curOption key value; } else { if ( arguments.length 1 ) { return this.options key undefined ? null : this.options key ; } options key value; } } this._setOptions( options ); return this; }, _setOptions: function( options ) { var key; for ( key in options ) { this._setOption( key, options key ); } return this; }, _setOption: function( key, value ) { this.options key value; if ( key disabled ) { this.widget() .toggleClass( this.widgetFullName + -disabled ui-state-disabled, !!value ) .attr( aria-disabled, value ); this.hoverable.removeClass( ui-state-hover ); this.focusable.removeClass( ui-state-focus ); } return this; }, enable: function() { return this._setOption( disabled, false ); }, disable: function() { return this._setOption( disabled, true ); }, _on: function( suppressDisabledCheck, element, handlers ) { var delegateElement, instance this; if ( typeof suppressDisabledCheck ! boolean ) { handlers element; element suppressDisabledCheck; suppressDisabledCheck false; } if ( !handlers ) { handlers element; element this.element; delegateElement this.widget(); } else { element delegateElement $( element ); this.bindings this.bindings.add( element ); } $.each( handlers, function( event, handler ) { function handlerProxy() { if ( !suppressDisabledCheck && ( instance.options.disabled true || $( this ).hasClass( ui-state-disabled ) ) ) { return; } return ( typeof handler string ? instance handler : handler ) .apply( instance, arguments ); } if ( typeof handler ! string ) { handlerProxy.guid handler.guid handler.guid || handlerProxy.guid || $.guid++; } var match event.match( /^(\w+)\s*(.*)$/ ), eventName match1 + instance.eventNamespace, selector match2; if ( selector ) { delegateElement.delegate( selector, eventName, handlerProxy ); } else { element.bind( eventName, handlerProxy ); } }); }, _off: function( element, eventName ) { eventName (eventName || ).split( ).join( this.eventNamespace + ) + this.eventNamespace; element.unbind( eventName ).undelegate( eventName ); }, _delay: function( handler, delay ) { function handlerProxy() { return ( typeof handler string ? instance handler : handler ) .apply( instance, arguments ); } var instance this; return setTimeout( handlerProxy, delay || 0 ); }, _hoverable: function( element ) { this.hoverable this.hoverable.add( element ); this._on( element, { mouseenter: function( event ) { $( event.currentTarget ).addClass( ui-state-hover ); }, mouseleave: function( event ) { $( event.currentTarget ).removeClass( ui-state-hover ); } }); }, _focusable: function( element ) { this.focusable this.focusable.add( element ); this._on( element, { focusin: function( event ) { $( event.currentTarget ).addClass( ui-state-focus ); }, focusout: function( event ) { $( event.currentTarget ).removeClass( ui-state-focus ); } }); }, _trigger: function( type, event, data ) { var prop, orig, callback this.options type ; data data || {}; event $.Event( event ); event.type ( type this.widgetEventPrefix ? type : this.widgetEventPrefix + type ).toLowerCase(); event.target this.element 0 ; orig event.originalEvent; if ( orig ) { for ( prop in orig ) { if ( !( prop in event ) ) { event prop orig prop ; } } } this.element.trigger( event, data ); return !( $.isFunction( callback ) && callback.apply( this.element0, event .concat( data ) ) false || event.isDefaultPrevented() ); }};$.each( { show: fadeIn, hide: fadeOut }, function( method, defaultEffect ) { $.Widget.prototype _ + method function( element, options, callback ) { if ( typeof options string ) { options { effect: options }; } var hasOptions, effectName !options ? method : options true || typeof options number ? defaultEffect : options.effect || defaultEffect; options options || {}; if ( typeof options number ) { options { duration: options }; } hasOptions !$.isEmptyObject( options ); options.complete callback; if ( options.delay ) { element.delay( options.delay ); } if ( hasOptions && $.effects && $.effects.effect effectName ) { element method ( options ); } else if ( effectName ! method && element effectName ) { element effectName ( options.duration, options.easing, callback ); } else { element.queue(function( next ) { $( this ) method (); if ( callback ) { callback.call( element 0 ); } next(); }); } };});})( jQuery );(function( $, undefined ) {var mouseHandled false;$( document ).mouseup( function() { mouseHandled false;});$.widget(ui.mouse, { version: 1.10.4, options: { cancel: input,textarea,button,select,option, distance: 1, delay: 0 }, _mouseInit: function() { var that this; this.element .bind(mousedown.+this.widgetName, function(event) { return that._mouseDown(event); }) .bind(click.+this.widgetName, function(event) { if (true $.data(event.target, that.widgetName + .preventClickEvent)) { $.removeData(event.target, that.widgetName + .preventClickEvent); event.stopImmediatePropagation(); return false; } }); this.started false; }, _mouseDestroy: function() { this.element.unbind(.+this.widgetName); if ( this._mouseMoveDelegate ) { $(document) .unbind(mousemove.+this.widgetName, this._mouseMoveDelegate) .unbind(mouseup.+this.widgetName, this._mouseUpDelegate); } }, _mouseDown: function(event) { if( mouseHandled ) { return; } (this._mouseStarted && this._mouseUp(event)); this._mouseDownEvent event; var that this, btnIsLeft (event.which 1), elIsCancel (typeof this.options.cancel string && event.target.nodeName ? $(event.target).closest(this.options.cancel).length : false); if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) { return true; } this.mouseDelayMet !this.options.delay; if (!this.mouseDelayMet) { this._mouseDelayTimer setTimeout(function() { that.mouseDelayMet true; }, this.options.delay); } if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) { this._mouseStarted (this._mouseStart(event) ! false); if (!this._mouseStarted) { event.preventDefault(); return true; } } if (true $.data(event.target, this.widgetName + .preventClickEvent)) { $.removeData(event.target, this.widgetName + .preventClickEvent); } this._mouseMoveDelegate function(event) { return that._mouseMove(event); }; this._mouseUpDelegate function(event) { return that._mouseUp(event); }; $(document) .bind(mousemove.+this.widgetName, this._mouseMoveDelegate) .bind(mouseup.+this.widgetName, this._mouseUpDelegate); event.preventDefault(); mouseHandled true; return true; }, _mouseMove: function(event) { if ($.ui.ie && ( !document.documentMode || document.documentMode 9 ) && !event.button) { return this._mouseUp(event); } if (this._mouseStarted) { this._mouseDrag(event); return event.preventDefault(); } if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) { this._mouseStarted (this._mouseStart(this._mouseDownEvent, event) ! false); (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event)); } return !this._mouseStarted; }, _mouseUp: function(event) { $(document) .unbind(mousemove.+this.widgetName, this._mouseMoveDelegate) .unbind(mouseup.+this.widgetName, this._mouseUpDelegate); if (this._mouseStarted) { this._mouseStarted false; if (event.target this._mouseDownEvent.target) { $.data(event.target, this.widgetName + .preventClickEvent, true); } this._mouseStop(event); } return false; }, _mouseDistanceMet: function(event) { return (Math.max( Math.abs(this._mouseDownEvent.pageX - event.pageX), Math.abs(this._mouseDownEvent.pageY - event.pageY) ) > this.options.distance ); }, _mouseDelayMet: function(/* event */) { return this.mouseDelayMet; }, _mouseStart: function(/* event */) {}, _mouseDrag: function(/* event */) {}, _mouseStop: function(/* event */) {}, _mouseCapture: function(/* event */) { return true; }});})(jQuery);(function( $, undefined ) {$.ui $.ui || {};var cachedScrollbarWidth, max Math.max, abs Math.abs, round Math.round, rhorizontal /left|center|right/, rvertical /top|center|bottom/, roffset /\+\-\d+(\.\d+)?%?/, rposition /^\w+/, rpercent /%$/, _position $.fn.position;function getOffsets( offsets, width, height ) { return parseFloat( offsets 0 ) * ( rpercent.test( offsets 0 ) ? width / 100 : 1 ), parseFloat( offsets 1 ) * ( rpercent.test( offsets 1 ) ? height / 100 : 1 ) ;}function parseCss( element, property ) { return parseInt( $.css( element, property ), 10 ) || 0;}function getDimensions( elem ) { var raw elem0; if ( raw.nodeType 9 ) { return { width: elem.width(), height: elem.height(), offset: { top: 0, left: 0 } }; } if ( $.isWindow( raw ) ) { return { width: elem.width(), height: elem.height(), offset: { top: elem.scrollTop(), left: elem.scrollLeft() } }; } if ( raw.preventDefault ) { return { width: 0, height: 0, offset: { top: raw.pageY, left: raw.pageX } }; } return { width: elem.outerWidth(), height: elem.outerHeight(), offset: elem.offset() };}$.position { scrollbarWidth: function() { if ( cachedScrollbarWidth ! undefined ) { return cachedScrollbarWidth; } var w1, w2, div $( div styledisplay:block;position:absolute;width:50px;height:50px;overflow:hidden;>div styleheight:100px;width:auto;>/div>/div> ), innerDiv div.children()0; $( body ).append( div ); w1 innerDiv.offsetWidth; div.css( overflow, scroll ); w2 innerDiv.offsetWidth; if ( w1 w2 ) { w2 div0.clientWidth; } div.remove(); return (cachedScrollbarWidth w1 - w2); }, getScrollInfo: function( within ) { var overflowX within.isWindow || within.isDocument ? : within.element.css( overflow-x ), overflowY within.isWindow || within.isDocument ? : within.element.css( overflow-y ), hasOverflowX overflowX scroll || ( overflowX auto && within.width within.element0.scrollWidth ), hasOverflowY overflowY scroll || ( overflowY auto && within.height within.element0.scrollHeight ); return { width: hasOverflowY ? $.position.scrollbarWidth() : 0, height: hasOverflowX ? $.position.scrollbarWidth() : 0 }; }, getWithinInfo: function( element ) { var withinElement $( element || window ), isWindow $.isWindow( withinElement0 ), isDocument !!withinElement 0 && withinElement 0 .nodeType 9; return { element: withinElement, isWindow: isWindow, isDocument: isDocument, offset: withinElement.offset() || { left: 0, top: 0 }, scrollLeft: withinElement.scrollLeft(), scrollTop: withinElement.scrollTop(), width: isWindow ? withinElement.width() : withinElement.outerWidth(), height: isWindow ? withinElement.height() : withinElement.outerHeight() }; }};$.fn.position function( options ) { if ( !options || !options.of ) { return _position.apply( this, arguments ); } options $.extend( {}, options ); var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions, target $( options.of ), within $.position.getWithinInfo( options.within ), scrollInfo $.position.getScrollInfo( within ), collision ( options.collision || flip ).split( ), offsets {}; dimensions getDimensions( target ); if ( target0.preventDefault ) { options.at left top; } targetWidth dimensions.width; targetHeight dimensions.height; targetOffset dimensions.offset; // clone to reuse original targetOffset later basePosition $.extend( {}, targetOffset ); $.each( my, at , function() { var pos ( options this || ).split( ), horizontalOffset, verticalOffset; if ( pos.length 1) { pos rhorizontal.test( pos 0 ) ? pos.concat( center ) : rvertical.test( pos 0 ) ? center .concat( pos ) : center, center ; } pos 0 rhorizontal.test( pos 0 ) ? pos 0 : center; pos 1 rvertical.test( pos 1 ) ? pos 1 : center; horizontalOffset roffset.exec( pos 0 ); verticalOffset roffset.exec( pos 1 ); offsets this horizontalOffset ? horizontalOffset 0 : 0, verticalOffset ? verticalOffset 0 : 0 ; options this rposition.exec( pos 0 ) 0 , rposition.exec( pos 1 ) 0 ; }); if ( collision.length 1 ) { collision 1 collision 0 ; } if ( options.at 0 right ) { basePosition.left + targetWidth; } else if ( options.at 0 center ) { basePosition.left + targetWidth / 2; } if ( options.at 1 bottom ) { basePosition.top + targetHeight; } else if ( options.at 1 center ) { basePosition.top + targetHeight / 2; } atOffset getOffsets( offsets.at, targetWidth, targetHeight ); basePosition.left + atOffset 0 ; basePosition.top + atOffset 1 ; return this.each(function() { var collisionPosition, using, elem $( this ), elemWidth elem.outerWidth(), elemHeight elem.outerHeight(), marginLeft parseCss( this, marginLeft ), marginTop parseCss( this, marginTop ), collisionWidth elemWidth + marginLeft + parseCss( this, marginRight ) + scrollInfo.width, collisionHeight elemHeight + marginTop + parseCss( this, marginBottom ) + scrollInfo.height, position $.extend( {}, basePosition ), myOffset getOffsets( offsets.my, elem.outerWidth(), elem.outerHeight() ); if ( options.my 0 right ) { position.left - elemWidth; } else if ( options.my 0 center ) { position.left - elemWidth / 2; } if ( options.my 1 bottom ) { position.top - elemHeight; } else if ( options.my 1 center ) { position.top - elemHeight / 2; } position.left + myOffset 0 ; position.top + myOffset 1 ; if ( !$.support.offsetFractions ) { position.left round( position.left ); position.top round( position.top ); } collisionPosition { marginLeft: marginLeft, marginTop: marginTop }; $.each( left, top , function( i, dir ) { if ( $.ui.position collision i ) { $.ui.position collision i dir ( position, { targetWidth: targetWidth, targetHeight: targetHeight, elemWidth: elemWidth, elemHeight: elemHeight, collisionPosition: collisionPosition, collisionWidth: collisionWidth, collisionHeight: collisionHeight, offset: atOffset 0 + myOffset 0 , atOffset 1 + myOffset 1 , my: options.my, at: options.at, within: within, elem : elem }); } }); if ( options.using ) { using function( props ) { var left targetOffset.left - position.left, right left + targetWidth - elemWidth, top targetOffset.top - position.top, bottom top + targetHeight - elemHeight, feedback { target: { element: target, left: targetOffset.left, top: targetOffset.top, width: targetWidth, height: targetHeight }, element: { element: elem, left: position.left, top: position.top, width: elemWidth, height: elemHeight }, horizontal: right 0 ? left : left > 0 ? right : center, vertical: bottom 0 ? top : top > 0 ? bottom : middle }; if ( targetWidth elemWidth && abs( left + right ) targetWidth ) { feedback.horizontal center; } if ( targetHeight elemHeight && abs( top + bottom ) targetHeight ) { feedback.vertical middle; } if ( max( abs( left ), abs( right ) ) > max( abs( top ), abs( bottom ) ) ) { feedback.important horizontal; } else { feedback.important vertical; } options.using.call( this, props, feedback ); }; } elem.offset( $.extend( position, { using: using } ) ); });};$.ui.position { fit: { left: function( position, data ) { var within data.within, withinOffset within.isWindow ? within.scrollLeft : within.offset.left, outerWidth within.width, collisionPosLeft position.left - data.collisionPosition.marginLeft, overLeft withinOffset - collisionPosLeft, overRight collisionPosLeft + data.collisionWidth - outerWidth - withinOffset, newOverRight; if ( data.collisionWidth > outerWidth ) { if ( overLeft > 0 && overRight 0 ) { newOverRight position.left + overLeft + data.collisionWidth - outerWidth - withinOffset; position.left + overLeft - newOverRight; } else if ( overRight > 0 && overLeft 0 ) { position.left withinOffset; } else { if ( overLeft > overRight ) { position.left withinOffset + outerWidth - data.collisionWidth; } else { position.left withinOffset; } } } else if ( overLeft > 0 ) { position.left + overLeft; } else if ( overRight > 0 ) { position.left - overRight; } else { position.left max( position.left - collisionPosLeft, position.left ); } }, top: function( position, data ) { var within data.within, withinOffset within.isWindow ? within.scrollTop : within.offset.top, outerHeight data.within.height, collisionPosTop position.top - data.collisionPosition.marginTop, overTop withinOffset - collisionPosTop, overBottom collisionPosTop + data.collisionHeight - outerHeight - withinOffset, newOverBottom; if ( data.collisionHeight > outerHeight ) { if ( overTop > 0 && overBottom 0 ) { newOverBottom position.top + overTop + data.collisionHeight - outerHeight - withinOffset; position.top + overTop - newOverBottom; } else if ( overBottom > 0 && overTop 0 ) { position.top withinOffset; } else { if ( overTop > overBottom ) { position.top withinOffset + outerHeight - data.collisionHeight; } else { position.top withinOffset; } } } else if ( overTop > 0 ) { position.top + overTop; } else if ( overBottom > 0 ) { position.top - overBottom; } else { position.top max( position.top - collisionPosTop, position.top ); } } }, flip: { left: function( position, data ) { var within data.within, withinOffset within.offset.left + within.scrollLeft, outerWidth within.width, offsetLeft within.isWindow ? within.scrollLeft : within.offset.left, collisionPosLeft position.left - data.collisionPosition.marginLeft, overLeft collisionPosLeft - offsetLeft, overRight collisionPosLeft + data.collisionWidth - outerWidth - offsetLeft, myOffset data.my 0 left ? -data.elemWidth : data.my 0 right ? data.elemWidth : 0, atOffset data.at 0 left ? data.targetWidth : data.at 0 right ? -data.targetWidth : 0, offset -2 * data.offset 0 , newOverRight, newOverLeft; if ( overLeft 0 ) { newOverRight position.left + myOffset + atOffset + offset + data.collisionWidth - outerWidth - withinOffset; if ( newOverRight 0 || newOverRight abs( overLeft ) ) { position.left + myOffset + atOffset + offset; } } else if ( overRight > 0 ) { newOverLeft position.left - data.collisionPosition.marginLeft + myOffset + atOffset + offset - offsetLeft; if ( newOverLeft > 0 || abs( newOverLeft ) overRight ) { position.left + myOffset + atOffset + offset; } } }, top: function( position, data ) { var within data.within, withinOffset within.offset.top + within.scrollTop, outerHeight within.height, offsetTop within.isWindow ? within.scrollTop : within.offset.top, collisionPosTop position.top - data.collisionPosition.marginTop, overTop collisionPosTop - offsetTop, overBottom collisionPosTop + data.collisionHeight - outerHeight - offsetTop, top data.my 1 top, myOffset top ? -data.elemHeight : data.my 1 bottom ? data.elemHeight : 0, atOffset data.at 1 top ? data.targetHeight : data.at 1 bottom ? -data.targetHeight : 0, offset -2 * data.offset 1 , newOverTop, newOverBottom; if ( overTop 0 ) { newOverBottom position.top + myOffset + atOffset + offset + data.collisionHeight - outerHeight - withinOffset; if ( ( position.top + myOffset + atOffset + offset) > overTop && ( newOverBottom 0 || newOverBottom abs( overTop ) ) ) { position.top + myOffset + atOffset + offset; } } else if ( overBottom > 0 ) { newOverTop position.top - data.collisionPosition.marginTop + myOffset + atOffset + offset - offsetTop; if ( ( position.top + myOffset + atOffset + offset) > overBottom && ( newOverTop > 0 || abs( newOverTop ) overBottom ) ) { position.top + myOffset + atOffset + offset; } } } }, flipfit: { left: function() { $.ui.position.flip.left.apply( this, arguments ); $.ui.position.fit.left.apply( this, arguments ); }, top: function() { $.ui.position.flip.top.apply( this, arguments ); $.ui.position.fit.top.apply( this, arguments ); } }};(function () { var testElement, testElementParent, testElementStyle, offsetLeft, i, body document.getElementsByTagName( body ) 0 , div document.createElement( div ); testElement document.createElement( body ? div : body ); testElementStyle { visibility: hidden, width: 0, height: 0, border: 0, margin: 0, background: none }; if ( body ) { $.extend( testElementStyle, { position: absolute, left: -1000px, top: -1000px }); } for ( i in testElementStyle ) { testElement.style i testElementStyle i ; } testElement.appendChild( div ); testElementParent body || document.documentElement; testElementParent.insertBefore( testElement, testElementParent.firstChild ); div.style.cssText position: absolute; left: 10.7432222px;; offsetLeft $( div ).offset().left; $.support.offsetFractions offsetLeft > 10 && offsetLeft 11; testElement.innerHTML ; testElementParent.removeChild( testElement );})();}( jQuery ) );(function( $, undefined ) {$.widget(ui.draggable, $.ui.mouse, { version: 1.10.4, widgetEventPrefix: drag, options: { addClasses: true, appendTo: parent, axis: false, connectToSortable: false, containment: false, cursor: auto, cursorAt: false, grid: false, handle: false, helper: original, iframeFix: false, opacity: false, refreshPositions: false, revert: false, revertDuration: 500, scope: default, scroll: true, scrollSensitivity: 20, scrollSpeed: 20, snap: false, snapMode: both, snapTolerance: 20, stack: false, zIndex: false, drag: null, start: null, stop: null }, _create: function() { if (this.options.helper original && !(/^(?:r|a|f)/).test(this.element.css(position))) { this.element0.style.position relative; } if (this.options.addClasses){ this.element.addClass(ui-draggable); } if (this.options.disabled){ this.element.addClass(ui-draggable-disabled); } this._mouseInit(); }, _destroy: function() { this.element.removeClass( ui-draggable ui-draggable-dragging ui-draggable-disabled ); this._mouseDestroy(); }, _mouseCapture: function(event) { var o this.options; if (this.helper || o.disabled || $(event.target).closest(.ui-resizable-handle).length > 0) { return false; } this.handle this._getHandle(event); if (!this.handle) { return false; } $(o.iframeFix true ? iframe : o.iframeFix).each(function() { $(div classui-draggable-iframeFix stylebackground: #fff;>/div>) .css({ width: this.offsetWidth+px, height: this.offsetHeight+px, position: absolute, opacity: 0.001, zIndex: 1000 }) .css($(this).offset()) .appendTo(body); }); return true; }, _mouseStart: function(event) { var o this.options; this.helper this._createHelper(event); this.helper.addClass(ui-draggable-dragging); this._cacheHelperProportions(); if($.ui.ddmanager) { $.ui.ddmanager.current this; } this._cacheMargins(); this.cssPosition this.helper.css( position ); this.scrollParent this.helper.scrollParent(); this.offsetParent this.helper.offsetParent(); this.offsetParentCssPosition this.offsetParent.css( position ); this.offset this.positionAbs this.element.offset(); this.offset { top: this.offset.top - this.margins.top, left: this.offset.left - this.margins.left }; this.offset.scroll false; $.extend(this.offset, { click: { left: event.pageX - this.offset.left, top: event.pageY - this.offset.top }, parent: this._getParentOffset(), relative: this._getRelativeOffset() }); this.originalPosition this.position this._generatePosition(event); this.originalPageX event.pageX; this.originalPageY event.pageY; (o.cursorAt && this._adjustOffsetFromHelper(o.cursorAt)); this._setContainment(); if(this._trigger(start, event) false) { this._clear(); return false; } this._cacheHelperProportions(); if ($.ui.ddmanager && !o.dropBehaviour) { $.ui.ddmanager.prepareOffsets(this, event); } this._mouseDrag(event, true); if ( $.ui.ddmanager ) { $.ui.ddmanager.dragStart(this, event); } return true; }, _mouseDrag: function(event, noPropagation) { if ( this.offsetParentCssPosition fixed ) { this.offset.parent this._getParentOffset(); } this.position this._generatePosition(event); this.positionAbs this._convertPositionTo(absolute); if (!noPropagation) { var ui this._uiHash(); if(this._trigger(drag, event, ui) false) { this._mouseUp({}); return false; } this.position ui.position; } if(!this.options.axis || this.options.axis ! y) { this.helper0.style.left this.position.left+px; } if(!this.options.axis || this.options.axis ! x) { this.helper0.style.top this.position.top+px; } if($.ui.ddmanager) { $.ui.ddmanager.drag(this, event); } return false; }, _mouseStop: function(event) { var that this, dropped false; if ($.ui.ddmanager && !this.options.dropBehaviour) { dropped $.ui.ddmanager.drop(this, event); } if(this.dropped) { dropped this.dropped; this.dropped false; } if ( this.options.helper original && !$.contains( this.element 0 .ownerDocument, this.element 0 ) ) { return false; } if((this.options.revert invalid && !dropped) || (this.options.revert valid && dropped) || this.options.revert true || ($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped))) { $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() { if(that._trigger(stop, event) ! false) { that._clear(); } }); } else { if(this._trigger(stop, event) ! false) { this._clear(); } } return false; }, _mouseUp: function(event) { $(div.ui-draggable-iframeFix).each(function() { this.parentNode.removeChild(this); }); if( $.ui.ddmanager ) { $.ui.ddmanager.dragStop(this, event); } return $.ui.mouse.prototype._mouseUp.call(this, event); }, cancel: function() { if(this.helper.is(.ui-draggable-dragging)) { this._mouseUp({}); } else { this._clear(); } return this; }, _getHandle: function(event) { return this.options.handle ? !!$( event.target ).closest( this.element.find( this.options.handle ) ).length : true; }, _createHelper: function(event) { var o this.options, helper $.isFunction(o.helper) ? $(o.helper.apply(this.element0, event)) : (o.helper clone ? this.element.clone().removeAttr(id) : this.element); if(!helper.parents(body).length) { helper.appendTo((o.appendTo parent ? this.element0.parentNode : o.appendTo)); } if(helper0 ! this.element0 && !(/(fixed|absolute)/).test(helper.css(position))) { helper.css(position, absolute); } return helper; }, _adjustOffsetFromHelper: function(obj) { if (typeof obj string) { obj obj.split( ); } if ($.isArray(obj)) { obj {left: +obj0, top: +obj1 || 0}; } if (left in obj) { this.offset.click.left obj.left + this.margins.left; } if (right in obj) { this.offset.click.left this.helperProportions.width - obj.right + this.margins.left; } if (top in obj) { this.offset.click.top obj.top + this.margins.top; } if (bottom in obj) { this.offset.click.top this.helperProportions.height - obj.bottom + this.margins.top; } }, _getParentOffset: function() { var po this.offsetParent.offset(); if(this.cssPosition absolute && this.scrollParent0 ! document && $.contains(this.scrollParent0, this.offsetParent0)) { po.left + this.scrollParent.scrollLeft(); po.top + this.scrollParent.scrollTop(); } if((this.offsetParent0 document.body) || (this.offsetParent0.tagName && this.offsetParent0.tagName.toLowerCase() html && $.ui.ie)) { po { top: 0, left: 0 }; } return { top: po.top + (parseInt(this.offsetParent.css(borderTopWidth),10) || 0), left: po.left + (parseInt(this.offsetParent.css(borderLeftWidth),10) || 0) }; }, _getRelativeOffset: function() { if(this.cssPosition relative) { var p this.element.position(); return { top: p.top - (parseInt(this.helper.css(top),10) || 0) + this.scrollParent.scrollTop(), left: p.left - (parseInt(this.helper.css(left),10) || 0) + this.scrollParent.scrollLeft() }; } else { return { top: 0, left: 0 }; } }, _cacheMargins: function() { this.margins { left: (parseInt(this.element.css(marginLeft),10) || 0), top: (parseInt(this.element.css(marginTop),10) || 0), right: (parseInt(this.element.css(marginRight),10) || 0), bottom: (parseInt(this.element.css(marginBottom),10) || 0) }; }, _cacheHelperProportions: function() { this.helperProportions { width: this.helper.outerWidth(), height: this.helper.outerHeight() }; }, _setContainment: function() { var over, c, ce, o this.options; if ( !o.containment ) { this.containment null; return; } if ( o.containment window ) { this.containment $( window ).scrollLeft() - this.offset.relative.left - this.offset.parent.left, $( window ).scrollTop() - this.offset.relative.top - this.offset.parent.top, $( window ).scrollLeft() + $( window ).width() - this.helperProportions.width - this.margins.left, $( window ).scrollTop() + ( $( window ).height() || document.body.parentNode.scrollHeight ) - this.helperProportions.height - this.margins.top ; return; } if ( o.containment document) { this.containment 0, 0, $( document ).width() - this.helperProportions.width - this.margins.left, ( $( document ).height() || document.body.parentNode.scrollHeight ) - this.helperProportions.height - this.margins.top ; return; } if ( o.containment.constructor Array ) { this.containment o.containment; return; } if ( o.containment parent ) { o.containment this.helper 0 .parentNode; } c $( o.containment ); ce c 0 ; if( !ce ) { return; } over c.css( overflow ) ! hidden; this.containment ( parseInt( c.css( borderLeftWidth ), 10 ) || 0 ) + ( parseInt( c.css( paddingLeft ), 10 ) || 0 ), ( parseInt( c.css( borderTopWidth ), 10 ) || 0 ) + ( parseInt( c.css( paddingTop ), 10 ) || 0 ) , ( over ? Math.max( ce.scrollWidth, ce.offsetWidth ) : ce.offsetWidth ) - ( parseInt( c.css( borderRightWidth ), 10 ) || 0 ) - ( parseInt( c.css( paddingRight ), 10 ) || 0 ) - this.helperProportions.width - this.margins.left - this.margins.right, ( over ? Math.max( ce.scrollHeight, ce.offsetHeight ) : ce.offsetHeight ) - ( parseInt( c.css( borderBottomWidth ), 10 ) || 0 ) - ( parseInt( c.css( paddingBottom ), 10 ) || 0 ) - this.helperProportions.height - this.margins.top - this.margins.bottom ; this.relative_container c; }, _convertPositionTo: function(d, pos) { if(!pos) { pos this.position; } var mod d absolute ? 1 : -1, scroll this.cssPosition absolute && !( this.scrollParent 0 ! document && $.contains( this.scrollParent 0 , this.offsetParent 0 ) ) ? this.offsetParent : this.scrollParent; if (!this.offset.scroll) { this.offset.scroll {top : scroll.scrollTop(), left : scroll.scrollLeft()}; } return { top: ( pos.top + this.offset.relative.top * mod + this.offset.parent.top * mod - ( ( this.cssPosition fixed ? -this.scrollParent.scrollTop() : this.offset.scroll.top ) * mod ) ), left: ( pos.left + this.offset.relative.left * mod + this.offset.parent.left * mod - ( ( this.cssPosition fixed ? -this.scrollParent.scrollLeft() : this.offset.scroll.left ) * mod ) ) }; }, _generatePosition: function(event) { var containment, co, top, left, o this.options, scroll this.cssPosition absolute && !( this.scrollParent 0 ! document && $.contains( this.scrollParent 0 , this.offsetParent 0 ) ) ? this.offsetParent : this.scrollParent, pageX event.pageX, pageY event.pageY; if (!this.offset.scroll) { this.offset.scroll {top : scroll.scrollTop(), left : scroll.scrollLeft()}; } if ( this.originalPosition ) { if ( this.containment ) { if ( this.relative_container ){ co this.relative_container.offset(); containment this.containment 0 + co.left, this.containment 1 + co.top, this.containment 2 + co.left, this.containment 3 + co.top ; } else { containment this.containment; } if(event.pageX - this.offset.click.left containment0) { pageX containment0 + this.offset.click.left; } if(event.pageY - this.offset.click.top containment1) { pageY containment1 + this.offset.click.top; } if(event.pageX - this.offset.click.left > containment2) { pageX containment2 + this.offset.click.left; } if(event.pageY - this.offset.click.top > containment3) { pageY containment3 + this.offset.click.top; } } if(o.grid) { top o.grid1 ? this.originalPageY + Math.round((pageY - this.originalPageY) / o.grid1) * o.grid1 : this.originalPageY; pageY containment ? ((top - this.offset.click.top > containment1 || top - this.offset.click.top > containment3) ? top : ((top - this.offset.click.top > containment1) ? top - o.grid1 : top + o.grid1)) : top; left o.grid0 ? this.originalPageX + Math.round((pageX - this.originalPageX) / o.grid0) * o.grid0 : this.originalPageX; pageX containment ? ((left - this.offset.click.left > containment0 || left - this.offset.click.left > containment2) ? left : ((left - this.offset.click.left > containment0) ? left - o.grid0 : left + o.grid0)) : left; } } return { top: ( pageY - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + ( this.cssPosition fixed ? -this.scrollParent.scrollTop() : this.offset.scroll.top ) ), left: ( pageX - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + ( this.cssPosition fixed ? -this.scrollParent.scrollLeft() : this.offset.scroll.left ) ) }; }, _clear: function() { this.helper.removeClass(ui-draggable-dragging); if(this.helper0 ! this.element0 && !this.cancelHelperRemoval) { this.helper.remove(); } this.helper null; this.cancelHelperRemoval false; }, _trigger: function(type, event, ui) { ui ui || this._uiHash(); $.ui.plugin.call(this, type, event, ui); if(type drag) { this.positionAbs this._convertPositionTo(absolute); } return $.Widget.prototype._trigger.call(this, type, event, ui); }, plugins: {}, _uiHash: function() { return { helper: this.helper, position: this.position, originalPosition: this.originalPosition, offset: this.positionAbs }; }});$.ui.plugin.add(draggable, connectToSortable, { start: function(event, ui) { var inst $(this).data(ui-draggable), o inst.options, uiSortable $.extend({}, ui, { item: inst.element }); inst.sortables ; $(o.connectToSortable).each(function() { var sortable $.data(this, ui-sortable); if (sortable && !sortable.options.disabled) { inst.sortables.push({ instance: sortable, shouldRevert: sortable.options.revert }); sortable.refreshPositions(); sortable._trigger(activate, event, uiSortable); } }); }, stop: function(event, ui) { var inst $(this).data(ui-draggable), uiSortable $.extend({}, ui, { item: inst.element }); $.each(inst.sortables, function() { if(this.instance.isOver) { this.instance.isOver 0; inst.cancelHelperRemoval true; this.instance.cancelHelperRemoval false; if(this.shouldRevert) { this.instance.options.revert this.shouldRevert; } this.instance._mouseStop(event); this.instance.options.helper this.instance.options._helper; if(inst.options.helper original) { this.instance.currentItem.css({ top: auto, left: auto }); } } else { this.instance.cancelHelperRemoval false; //Remove the helper in the sortable instance this.instance._trigger(deactivate, event, uiSortable); } }); }, drag: function(event, ui) { var inst $(this).data(ui-draggable), that this; $.each(inst.sortables, function() { var innermostIntersecting false, thisSortable this; this.instance.positionAbs inst.positionAbs; this.instance.helperProportions inst.helperProportions; this.instance.offset.click inst.offset.click; if(this.instance._intersectsWith(this.instance.containerCache)) { innermostIntersecting true; $.each(inst.sortables, function () { this.instance.positionAbs inst.positionAbs; this.instance.helperProportions inst.helperProportions; this.instance.offset.click inst.offset.click; if (this ! thisSortable && this.instance._intersectsWith(this.instance.containerCache) && $.contains(thisSortable.instance.element0, this.instance.element0) ) { innermostIntersecting false; } return innermostIntersecting; }); } if(innermostIntersecting) { if(!this.instance.isOver) { this.instance.isOver 1; this.instance.currentItem $(that).clone().removeAttr(id).appendTo(this.instance.element).data(ui-sortable-item, true); this.instance.options._helper this.instance.options.helper; this.instance.options.helper function() { return ui.helper0; }; event.target this.instance.currentItem0; this.instance._mouseCapture(event, true); this.instance._mouseStart(event, true, true); this.instance.offset.click.top inst.offset.click.top; this.instance.offset.click.left inst.offset.click.left; this.instance.offset.parent.left - inst.offset.parent.left - this.instance.offset.parent.left; this.instance.offset.parent.top - inst.offset.parent.top - this.instance.offset.parent.top; inst._trigger(toSortable, event); inst.dropped this.instance.element inst.currentItem inst.element; this.instance.fromOutside inst; } if(this.instance.currentItem) { this.instance._mouseDrag(event); } } else { if(this.instance.isOver) { this.instance.isOver 0; this.instance.cancelHelperRemoval true; this.instance.options.revert false; this.instance._trigger(out, event, this.instance._uiHash(this.instance)); this.instance._mouseStop(event, true); this.instance.options.helper this.instance.options._helper; this.instance.currentItem.remove(); if(this.instance.placeholder) { this.instance.placeholder.remove(); } inst._trigger(fromSortable, event); inst.dropped false; } } }); }});$.ui.plugin.add(draggable, cursor, { start: function() { var t $(body), o $(this).data(ui-draggable).options; if (t.css(cursor)) { o._cursor t.css(cursor); } t.css(cursor, o.cursor); }, stop: function() { var o $(this).data(ui-draggable).options; if (o._cursor) { $(body).css(cursor, o._cursor); } }});$.ui.plugin.add(draggable, opacity, { start: function(event, ui) { var t $(ui.helper), o $(this).data(ui-draggable).options; if(t.css(opacity)) { o._opacity t.css(opacity); } t.css(opacity, o.opacity); }, stop: function(event, ui) { var o $(this).data(ui-draggable).options; if(o._opacity) { $(ui.helper).css(opacity, o._opacity); } }});$.ui.plugin.add(draggable, scroll, { start: function() { var i $(this).data(ui-draggable); if(i.scrollParent0 ! document && i.scrollParent0.tagName ! HTML) { i.overflowOffset i.scrollParent.offset(); } }, drag: function( event ) { var i $(this).data(ui-draggable), o i.options, scrolled false; if(i.scrollParent0 ! document && i.scrollParent0.tagName ! HTML) { if(!o.axis || o.axis ! x) { if((i.overflowOffset.top + i.scrollParent0.offsetHeight) - event.pageY o.scrollSensitivity) { i.scrollParent0.scrollTop scrolled i.scrollParent0.scrollTop + o.scrollSpeed; } else if(event.pageY - i.overflowOffset.top o.scrollSensitivity) { i.scrollParent0.scrollTop scrolled i.scrollParent0.scrollTop - o.scrollSpeed; } } if(!o.axis || o.axis ! y) { if((i.overflowOffset.left + i.scrollParent0.offsetWidth) - event.pageX o.scrollSensitivity) { i.scrollParent0.scrollLeft scrolled i.scrollParent0.scrollLeft + o.scrollSpeed; } else if(event.pageX - i.overflowOffset.left o.scrollSensitivity) { i.scrollParent0.scrollLeft scrolled i.scrollParent0.scrollLeft - o.scrollSpeed; } } } else { if(!o.axis || o.axis ! x) { if(event.pageY - $(document).scrollTop() o.scrollSensitivity) { scrolled $(document).scrollTop($(document).scrollTop() - o.scrollSpeed); } else if($(window).height() - (event.pageY - $(document).scrollTop()) o.scrollSensitivity) { scrolled $(document).scrollTop($(document).scrollTop() + o.scrollSpeed); } } if(!o.axis || o.axis ! y) { if(event.pageX - $(document).scrollLeft() o.scrollSensitivity) { scrolled $(document).scrollLeft($(document).scrollLeft() - o.scrollSpeed); } else if($(window).width() - (event.pageX - $(document).scrollLeft()) o.scrollSensitivity) { scrolled $(document).scrollLeft($(document).scrollLeft() + o.scrollSpeed); } } } if(scrolled ! false && $.ui.ddmanager && !o.dropBehaviour) { $.ui.ddmanager.prepareOffsets(i, event); } }});$.ui.plugin.add(draggable, snap, { start: function() { var i $(this).data(ui-draggable), o i.options; i.snapElements ; $(o.snap.constructor ! String ? ( o.snap.items || :data(ui-draggable) ) : o.snap).each(function() { var $t $(this), $o $t.offset(); if(this ! i.element0) { i.snapElements.push({ item: this, width: $t.outerWidth(), height: $t.outerHeight(), top: $o.top, left: $o.left }); } }); }, drag: function(event, ui) { var ts, bs, ls, rs, l, r, t, b, i, first, inst $(this).data(ui-draggable), o inst.options, d o.snapTolerance, x1 ui.offset.left, x2 x1 + inst.helperProportions.width, y1 ui.offset.top, y2 y1 + inst.helperProportions.height; for (i inst.snapElements.length - 1; i > 0; i--){ l inst.snapElementsi.left; r l + inst.snapElementsi.width; t inst.snapElementsi.top; b t + inst.snapElementsi.height; if ( x2 l - d || x1 > r + d || y2 t - d || y1 > b + d || !$.contains( inst.snapElements i .item.ownerDocument, inst.snapElements i .item ) ) { if(inst.snapElementsi.snapping) { (inst.options.snap.release && inst.options.snap.release.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElementsi.item }))); } inst.snapElementsi.snapping false; continue; } if(o.snapMode ! inner) { ts Math.abs(t - y2) d; bs Math.abs(b - y1) d; ls Math.abs(l - x2) d; rs Math.abs(r - x1) d; if(ts) { ui.position.top inst._convertPositionTo(relative, { top: t - inst.helperProportions.height, left: 0 }).top - inst.margins.top; } if(bs) { ui.position.top inst._convertPositionTo(relative, { top: b, left: 0 }).top - inst.margins.top; } if(ls) { ui.position.left inst._convertPositionTo(relative, { top: 0, left: l - inst.helperProportions.width }).left - inst.margins.left; } if(rs) { ui.position.left inst._convertPositionTo(relative, { top: 0, left: r }).left - inst.margins.left; } } first (ts || bs || ls || rs); if(o.snapMode ! outer) { ts Math.abs(t - y1) d; bs Math.abs(b - y2) d; ls Math.abs(l - x1) d; rs Math.abs(r - x2) d; if(ts) { ui.position.top inst._convertPositionTo(relative, { top: t, left: 0 }).top - inst.margins.top; } if(bs) { ui.position.top inst._convertPositionTo(relative, { top: b - inst.helperProportions.height, left: 0 }).top - inst.margins.top; } if(ls) { ui.position.left inst._convertPositionTo(relative, { top: 0, left: l }).left - inst.margins.left; } if(rs) { ui.position.left inst._convertPositionTo(relative, { top: 0, left: r - inst.helperProportions.width }).left - inst.margins.left; } } if(!inst.snapElementsi.snapping && (ts || bs || ls || rs || first)) { (inst.options.snap.snap && inst.options.snap.snap.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElementsi.item }))); } inst.snapElementsi.snapping (ts || bs || ls || rs || first); } }});$.ui.plugin.add(draggable, stack, { start: function() { var min, o this.data(ui-draggable).options, group $.makeArray($(o.stack)).sort(function(a,b) { return (parseInt($(a).css(zIndex),10) || 0) - (parseInt($(b).css(zIndex),10) || 0); }); if (!group.length) { return; } min parseInt($(group0).css(zIndex), 10) || 0; $(group).each(function(i) { $(this).css(zIndex, min + i); }); this.css(zIndex, (min + group.length)); }});$.ui.plugin.add(draggable, zIndex, { start: function(event, ui) { var t $(ui.helper), o $(this).data(ui-draggable).options; if(t.css(zIndex)) { o._zIndex t.css(zIndex); } t.css(zIndex, o.zIndex); }, stop: function(event, ui) { var o $(this).data(ui-draggable).options; if(o._zIndex) { $(ui.helper).css(zIndex, o._zIndex); } }});})(jQuery);(function( $, undefined ) {function num(v) { return parseInt(v, 10) || 0;}function isNumber(value) { return !isNaN(parseInt(value, 10));}$.widget(ui.resizable, $.ui.mouse, { version: 1.10.4, widgetEventPrefix: resize, options: { alsoResize: false, animate: false, animateDuration: slow, animateEasing: swing, aspectRatio: false, autoHide: false, containment: false, ghost: false, grid: false, handles: e,s,se, helper: false, maxHeight: null, maxWidth: null, minHeight: 10, minWidth: 10, zIndex: 90, resize: null, start: null, stop: null }, _create: function() { var n, i, handle, axis, hname, that this, o this.options; this.element.addClass(ui-resizable); $.extend(this, { _aspectRatio: !!(o.aspectRatio), aspectRatio: o.aspectRatio, originalElement: this.element, _proportionallyResizeElements: , _helper: o.helper || o.ghost || o.animate ? o.helper || ui-resizable-helper : null }); if(this.element0.nodeName.match(/canvas|textarea|input|select|button|img/i)) { this.element.wrap( $(div classui-wrapper styleoverflow: hidden;>/div>).css({ position: this.element.css(position), width: this.element.outerWidth(), height: this.element.outerHeight(), top: this.element.css(top), left: this.element.css(left) }) ); this.element this.element.parent().data( ui-resizable, this.element.data(ui-resizable) ); this.elementIsWrapper true; this.element.css({ marginLeft: this.originalElement.css(marginLeft), marginTop: this.originalElement.css(marginTop), marginRight: this.originalElement.css(marginRight), marginBottom: this.originalElement.css(marginBottom) }); this.originalElement.css({ marginLeft: 0, marginTop: 0, marginRight: 0, marginBottom: 0}); this.originalResizeStyle this.originalElement.css(resize); this.originalElement.css(resize, none); this._proportionallyResizeElements.push(this.originalElement.css({ position: static, zoom: 1, display: block })); this.originalElement.css({ margin: this.originalElement.css(margin) }); this._proportionallyResize(); } this.handles o.handles || (!$(.ui-resizable-handle, this.element).length ? e,s,se : { n: .ui-resizable-n, e: .ui-resizable-e, s: .ui-resizable-s, w: .ui-resizable-w, se: .ui-resizable-se, sw: .ui-resizable-sw, ne: .ui-resizable-ne, nw: .ui-resizable-nw }); if(this.handles.constructor String) { if ( this.handles all) { this.handles n,e,s,w,se,sw,ne,nw; } n this.handles.split(,); this.handles {}; for(i 0; i n.length; i++) { handle $.trim(ni); hname ui-resizable-+handle; axis $(div classui-resizable-handle + hname + >/div>); axis.css({ zIndex: o.zIndex }); if (se handle) { axis.addClass(ui-icon ui-icon-gripsmall-diagonal-se); } this.handleshandle .ui-resizable-+handle; this.element.append(axis); } } this._renderAxis function(target) { var i, axis, padPos, padWrapper; target target || this.element; for(i in this.handles) { if(this.handlesi.constructor String) { this.handlesi $(this.handlesi, this.element).show(); } if (this.elementIsWrapper && this.originalElement0.nodeName.match(/textarea|input|select|button/i)) { axis $(this.handlesi, this.element); padWrapper /sw|ne|nw|se|n|s/.test(i) ? axis.outerHeight() : axis.outerWidth(); padPos padding, /ne|nw|n/.test(i) ? Top : /se|sw|s/.test(i) ? Bottom : /^e$/.test(i) ? Right : Left .join(); target.css(padPos, padWrapper); this._proportionallyResize(); } if(!$(this.handlesi).length) { continue; } } }; this._renderAxis(this.element); this._handles $(.ui-resizable-handle, this.element) .disableSelection(); this._handles.mouseover(function() { if (!that.resizing) { if (this.className) { axis this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i); } that.axis axis && axis1 ? axis1 : se; } }); if (o.autoHide) { this._handles.hide(); $(this.element) .addClass(ui-resizable-autohide) .mouseenter(function() { if (o.disabled) { return; } $(this).removeClass(ui-resizable-autohide); that._handles.show(); }) .mouseleave(function(){ if (o.disabled) { return; } if (!that.resizing) { $(this).addClass(ui-resizable-autohide); that._handles.hide(); } }); } this._mouseInit(); }, _destroy: function() { this._mouseDestroy(); var wrapper, _destroy function(exp) { $(exp).removeClass(ui-resizable ui-resizable-disabled ui-resizable-resizing) .removeData(resizable).removeData(ui-resizable).unbind(.resizable).find(.ui-resizable-handle).remove(); }; if (this.elementIsWrapper) { _destroy(this.element); wrapper this.element; this.originalElement.css({ position: wrapper.css(position), width: wrapper.outerWidth(), height: wrapper.outerHeight(), top: wrapper.css(top), left: wrapper.css(left) }).insertAfter( wrapper ); wrapper.remove(); } this.originalElement.css(resize, this.originalResizeStyle); _destroy(this.originalElement); return this; }, _mouseCapture: function(event) { var i, handle, capture false; for (i in this.handles) { handle $(this.handlesi)0; if (handle event.target || $.contains(handle, event.target)) { capture true; } } return !this.options.disabled && capture; }, _mouseStart: function(event) { var curleft, curtop, cursor, o this.options, iniPos this.element.position(), el this.element; this.resizing true; if ( (/absolute/).test( el.css(position) ) ) { el.css({ position: absolute, top: el.css(top), left: el.css(left) }); } else if (el.is(.ui-draggable)) { el.css({ position: absolute, top: iniPos.top, left: iniPos.left }); } this._renderProxy(); curleft num(this.helper.css(left)); curtop num(this.helper.css(top)); if (o.containment) { curleft + $(o.containment).scrollLeft() || 0; curtop + $(o.containment).scrollTop() || 0; } this.offset this.helper.offset(); this.position { left: curleft, top: curtop }; this.size this._helper ? { width: this.helper.width(), height: this.helper.height() } : { width: el.width(), height: el.height() }; this.originalSize this._helper ? { width: el.outerWidth(), height: el.outerHeight() } : { width: el.width(), height: el.height() }; this.originalPosition { left: curleft, top: curtop }; this.sizeDiff { width: el.outerWidth() - el.width(), height: el.outerHeight() - el.height() }; this.originalMousePosition { left: event.pageX, top: event.pageY }; this.aspectRatio (typeof o.aspectRatio number) ? o.aspectRatio : ((this.originalSize.width / this.originalSize.height) || 1); cursor $(.ui-resizable- + this.axis).css(cursor); $(body).css(cursor, cursor auto ? this.axis + -resize : cursor); el.addClass(ui-resizable-resizing); this._propagate(start, event); return true; }, _mouseDrag: function(event) { var data, el this.helper, props {}, smp this.originalMousePosition, a this.axis, prevTop this.position.top, prevLeft this.position.left, prevWidth this.size.width, prevHeight this.size.height, dx (event.pageX-smp.left)||0, dy (event.pageY-smp.top)||0, trigger this._changea; if (!trigger) { return false; } data trigger.apply(this, event, dx, dy); this._updateVirtualBoundaries(event.shiftKey); if (this._aspectRatio || event.shiftKey) { data this._updateRatio(data, event); } data this._respectSize(data, event); this._updateCache(data); this._propagate(resize, event); if (this.position.top ! prevTop) { props.top this.position.top + px; } if (this.position.left ! prevLeft) { props.left this.position.left + px; } if (this.size.width ! prevWidth) { props.width this.size.width + px; } if (this.size.height ! prevHeight) { props.height this.size.height + px; } el.css(props); if (!this._helper && this._proportionallyResizeElements.length) { this._proportionallyResize(); } if ( ! $.isEmptyObject(props) ) { this._trigger(resize, event, this.ui()); } return false; }, _mouseStop: function(event) { this.resizing false; var pr, ista, soffseth, soffsetw, s, left, top, o this.options, that this; if(this._helper) { pr this._proportionallyResizeElements; ista pr.length && (/textarea/i).test(pr0.nodeName); soffseth ista && $.ui.hasScroll(pr0, left) /* TODO - jump height */ ? 0 : that.sizeDiff.height; soffsetw ista ? 0 : that.sizeDiff.width; s { width: (that.helper.width() - soffsetw), height: (that.helper.height() - soffseth) }; left (parseInt(that.element.css(left), 10) + (that.position.left - that.originalPosition.left)) || null; top (parseInt(that.element.css(top), 10) + (that.position.top - that.originalPosition.top)) || null; if (!o.animate) { this.element.css($.extend(s, { top: top, left: left })); } that.helper.height(that.size.height); that.helper.width(that.size.width); if (this._helper && !o.animate) { this._proportionallyResize(); } } $(body).css(cursor, auto); this.element.removeClass(ui-resizable-resizing); this._propagate(stop, event); if (this._helper) { this.helper.remove(); } return false; }, _updateVirtualBoundaries: function(forceAspectRatio) { var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b, o this.options; b { minWidth: isNumber(o.minWidth) ? o.minWidth : 0, maxWidth: isNumber(o.maxWidth) ? o.maxWidth : Infinity, minHeight: isNumber(o.minHeight) ? o.minHeight : 0, maxHeight: isNumber(o.maxHeight) ? o.maxHeight : Infinity }; if(this._aspectRatio || forceAspectRatio) { pMinWidth b.minHeight * this.aspectRatio; pMinHeight b.minWidth / this.aspectRatio; pMaxWidth b.maxHeight * this.aspectRatio; pMaxHeight b.maxWidth / this.aspectRatio; if(pMinWidth > b.minWidth) { b.minWidth pMinWidth; } if(pMinHeight > b.minHeight) { b.minHeight pMinHeight; } if(pMaxWidth b.maxWidth) { b.maxWidth pMaxWidth; } if(pMaxHeight b.maxHeight) { b.maxHeight pMaxHeight; } } this._vBoundaries b; }, _updateCache: function(data) { this.offset this.helper.offset(); if (isNumber(data.left)) { this.position.left data.left; } if (isNumber(data.top)) { this.position.top data.top; } if (isNumber(data.height)) { this.size.height data.height; } if (isNumber(data.width)) { this.size.width data.width; } }, _updateRatio: function( data ) { var cpos this.position, csize this.size, a this.axis; if (isNumber(data.height)) { data.width (data.height * this.aspectRatio); } else if (isNumber(data.width)) { data.height (data.width / this.aspectRatio); } if (a sw) { data.left cpos.left + (csize.width - data.width); data.top null; } if (a nw) { data.top cpos.top + (csize.height - data.height); data.left cpos.left + (csize.width - data.width); } return data; }, _respectSize: function( data ) { var o this._vBoundaries, a this.axis, ismaxw isNumber(data.width) && o.maxWidth && (o.maxWidth data.width), ismaxh isNumber(data.height) && o.maxHeight && (o.maxHeight data.height), isminw isNumber(data.width) && o.minWidth && (o.minWidth > data.width), isminh isNumber(data.height) && o.minHeight && (o.minHeight > data.height), dw this.originalPosition.left + this.originalSize.width, dh this.position.top + this.size.height, cw /sw|nw|w/.test(a), ch /nw|ne|n/.test(a); if (isminw) { data.width o.minWidth; } if (isminh) { data.height o.minHeight; } if (ismaxw) { data.width o.maxWidth; } if (ismaxh) { data.height o.maxHeight; } if (isminw && cw) { data.left dw - o.minWidth; } if (ismaxw && cw) { data.left dw - o.maxWidth; } if (isminh && ch) { data.top dh - o.minHeight; } if (ismaxh && ch) { data.top dh - o.maxHeight; } if (!data.width && !data.height && !data.left && data.top) { data.top null; } else if (!data.width && !data.height && !data.top && data.left) { data.left null; } return data; }, _proportionallyResize: function() { if (!this._proportionallyResizeElements.length) { return; } var i, j, borders, paddings, prel, element this.helper || this.element; for ( i0; i this._proportionallyResizeElements.length; i++) { prel this._proportionallyResizeElementsi; if (!this.borderDif) { this.borderDif ; borders prel.css(borderTopWidth), prel.css(borderRightWidth), prel.css(borderBottomWidth), prel.css(borderLeftWidth); paddings prel.css(paddingTop), prel.css(paddingRight), prel.css(paddingBottom), prel.css(paddingLeft); for ( j 0; j borders.length; j++ ) { this.borderDif j ( parseInt( borders j , 10 ) || 0 ) + ( parseInt( paddings j , 10 ) || 0 ); } } prel.css({ height: (element.height() - this.borderDif0 - this.borderDif2) || 0, width: (element.width() - this.borderDif1 - this.borderDif3) || 0 }); } }, _renderProxy: function() { var el this.element, o this.options; this.elementOffset el.offset(); if(this._helper) { this.helper this.helper || $(div styleoverflow:hidden;>/div>); this.helper.addClass(this._helper).css({ width: this.element.outerWidth() - 1, height: this.element.outerHeight() - 1, position: absolute, left: this.elementOffset.left +px, top: this.elementOffset.top +px, zIndex: ++o.zIndex }); this.helper .appendTo(body) .disableSelection(); } else { this.helper this.element; } }, _change: { e: function(event, dx) { return { width: this.originalSize.width + dx }; }, w: function(event, dx) { var cs this.originalSize, sp this.originalPosition; return { left: sp.left + dx, width: cs.width - dx }; }, n: function(event, dx, dy) { var cs this.originalSize, sp this.originalPosition; return { top: sp.top + dy, height: cs.height - dy }; }, s: function(event, dx, dy) { return { height: this.originalSize.height + dy }; }, se: function(event, dx, dy) { return $.extend(this._change.s.apply(this, arguments), this._change.e.apply(this, event, dx, dy)); }, sw: function(event, dx, dy) { return $.extend(this._change.s.apply(this, arguments), this._change.w.apply(this, event, dx, dy)); }, ne: function(event, dx, dy) { return $.extend(this._change.n.apply(this, arguments), this._change.e.apply(this, event, dx, dy)); }, nw: function(event, dx, dy) { return $.extend(this._change.n.apply(this, arguments), this._change.w.apply(this, event, dx, dy)); } }, _propagate: function(n, event) { $.ui.plugin.call(this, n, event, this.ui()); (n ! resize && this._trigger(n, event, this.ui())); }, plugins: {}, ui: function() { return { originalElement: this.originalElement, element: this.element, helper: this.helper, position: this.position, size: this.size, originalSize: this.originalSize, originalPosition: this.originalPosition }; }});$.ui.plugin.add(resizable, animate, { stop: function( event ) { var that $(this).data(ui-resizable), o that.options, pr that._proportionallyResizeElements, ista pr.length && (/textarea/i).test(pr0.nodeName), soffseth ista && $.ui.hasScroll(pr0, left) ? 0 : that.sizeDiff.height, soffsetw ista ? 0 : that.sizeDiff.width, style { width: (that.size.width - soffsetw), height: (that.size.height - soffseth) }, left (parseInt(that.element.css(left), 10) + (that.position.left - that.originalPosition.left)) || null, top (parseInt(that.element.css(top), 10) + (that.position.top - that.originalPosition.top)) || null; that.element.animate( $.extend(style, top && left ? { top: top, left: left } : {}), { duration: o.animateDuration, easing: o.animateEasing, step: function() { var data { width: parseInt(that.element.css(width), 10), height: parseInt(that.element.css(height), 10), top: parseInt(that.element.css(top), 10), left: parseInt(that.element.css(left), 10) }; if (pr && pr.length) { $(pr0).css({ width: data.width, height: data.height }); } that._updateCache(data); that._propagate(resize, event); } } ); }});$.ui.plugin.add(resizable, containment, { start: function() { var element, p, co, ch, cw, width, height, that $(this).data(ui-resizable), o that.options, el that.element, oc o.containment, ce (oc instanceof $) ? oc.get(0) : (/parent/.test(oc)) ? el.parent().get(0) : oc; if (!ce) { return; } that.containerElement $(ce); if (/document/.test(oc) || oc document) { that.containerOffset { left: 0, top: 0 }; that.containerPosition { left: 0, top: 0 }; that.parentData { element: $(document), left: 0, top: 0, width: $(document).width(), height: $(document).height() || document.body.parentNode.scrollHeight }; } else { element $(ce); p ; $( Top, Right, Left, Bottom ).each(function(i, name) { pi num(element.css(padding + name)); }); that.containerOffset element.offset(); that.containerPosition element.position(); that.containerSize { height: (element.innerHeight() - p3), width: (element.innerWidth() - p1) }; co that.containerOffset; ch that.containerSize.height; cw that.containerSize.width; width ($.ui.hasScroll(ce, left) ? ce.scrollWidth : cw ); height ($.ui.hasScroll(ce) ? ce.scrollHeight : ch); that.parentData { element: ce, left: co.left, top: co.top, width: width, height: height }; } }, resize: function( event ) { var woset, hoset, isParent, isOffsetRelative, that $(this).data(ui-resizable), o that.options, co that.containerOffset, cp that.position, pRatio that._aspectRatio || event.shiftKey, cop { top:0, left:0 }, ce that.containerElement; if (ce0 ! document && (/static/).test(ce.css(position))) { cop co; } if (cp.left (that._helper ? co.left : 0)) { that.size.width that.size.width + (that._helper ? (that.position.left - co.left) : (that.position.left - cop.left)); if (pRatio) { that.size.height that.size.width / that.aspectRatio; } that.position.left o.helper ? co.left : 0; } if (cp.top (that._helper ? co.top : 0)) { that.size.height that.size.height + (that._helper ? (that.position.top - co.top) : that.position.top); if (pRatio) { that.size.width that.size.height * that.aspectRatio; } that.position.top that._helper ? co.top : 0; } that.offset.left that.parentData.left+that.position.left; that.offset.top that.parentData.top+that.position.top; woset Math.abs( (that._helper ? that.offset.left - cop.left : (that.offset.left - cop.left)) + that.sizeDiff.width ); hoset Math.abs( (that._helper ? that.offset.top - cop.top : (that.offset.top - co.top)) + that.sizeDiff.height ); isParent that.containerElement.get(0) that.element.parent().get(0); isOffsetRelative /relative|absolute/.test(that.containerElement.css(position)); if ( isParent && isOffsetRelative ) { woset - Math.abs( that.parentData.left ); } if (woset + that.size.width > that.parentData.width) { that.size.width that.parentData.width - woset; if (pRatio) { that.size.height that.size.width / that.aspectRatio; } } if (hoset + that.size.height > that.parentData.height) { that.size.height that.parentData.height - hoset; if (pRatio) { that.size.width that.size.height * that.aspectRatio; } } }, stop: function(){ var that $(this).data(ui-resizable), o that.options, co that.containerOffset, cop that.containerPosition, ce that.containerElement, helper $(that.helper), ho helper.offset(), w helper.outerWidth() - that.sizeDiff.width, h helper.outerHeight() - that.sizeDiff.height; if (that._helper && !o.animate && (/relative/).test(ce.css(position))) { $(this).css({ left: ho.left - cop.left - co.left, width: w, height: h }); } if (that._helper && !o.animate && (/static/).test(ce.css(position))) { $(this).css({ left: ho.left - cop.left - co.left, width: w, height: h }); } }});$.ui.plugin.add(resizable, alsoResize, { start: function () { var that $(this).data(ui-resizable), o that.options, _store function (exp) { $(exp).each(function() { var el $(this); el.data(ui-resizable-alsoresize, { width: parseInt(el.width(), 10), height: parseInt(el.height(), 10), left: parseInt(el.css(left), 10), top: parseInt(el.css(top), 10) }); }); }; if (typeof(o.alsoResize) object && !o.alsoResize.parentNode) { if (o.alsoResize.length) { o.alsoResize o.alsoResize0; _store(o.alsoResize); } else { $.each(o.alsoResize, function (exp) { _store(exp); }); } }else{ _store(o.alsoResize); } }, resize: function (event, ui) { var that $(this).data(ui-resizable), o that.options, os that.originalSize, op that.originalPosition, delta { height: (that.size.height - os.height) || 0, width: (that.size.width - os.width) || 0, top: (that.position.top - op.top) || 0, left: (that.position.left - op.left) || 0 }, _alsoResize function (exp, c) { $(exp).each(function() { var el $(this), start $(this).data(ui-resizable-alsoresize), style {}, css c && c.length ? c : el.parents(ui.originalElement0).length ? width, height : width, height, top, left; $.each(css, function (i, prop) { var sum (startprop||0) + (deltaprop||0); if (sum && sum > 0) { styleprop sum || null; } }); el.css(style); }); }; if (typeof(o.alsoResize) object && !o.alsoResize.nodeType) { $.each(o.alsoResize, function (exp, c) { _alsoResize(exp, c); }); }else{ _alsoResize(o.alsoResize); } }, stop: function () { $(this).removeData(resizable-alsoresize); }});$.ui.plugin.add(resizable, ghost, { start: function() { var that $(this).data(ui-resizable), o that.options, cs that.size; that.ghost that.originalElement.clone(); that.ghost .css({ opacity: 0.25, display: block, position: relative, height: cs.height, width: cs.width, margin: 0, left: 0, top: 0 }) .addClass(ui-resizable-ghost) .addClass(typeof o.ghost string ? o.ghost : ); that.ghost.appendTo(that.helper); }, resize: function(){ var that $(this).data(ui-resizable); if (that.ghost) { that.ghost.css({ position: relative, height: that.size.height, width: that.size.width }); } }, stop: function() { var that $(this).data(ui-resizable); if (that.ghost && that.helper) { that.helper.get(0).removeChild(that.ghost.get(0)); } }});$.ui.plugin.add(resizable, grid, { resize: function() { var that $(this).data(ui-resizable), o that.options, cs that.size, os that.originalSize, op that.originalPosition, a that.axis, grid typeof o.grid number ? o.grid, o.grid : o.grid, gridX (grid0||1), gridY (grid1||1), ox Math.round((cs.width - os.width) / gridX) * gridX, oy Math.round((cs.height - os.height) / gridY) * gridY, newWidth os.width + ox, newHeight os.height + oy, isMaxWidth o.maxWidth && (o.maxWidth newWidth), isMaxHeight o.maxHeight && (o.maxHeight newHeight), isMinWidth o.minWidth && (o.minWidth > newWidth), isMinHeight o.minHeight && (o.minHeight > newHeight); o.grid grid; if (isMinWidth) { newWidth newWidth + gridX; } if (isMinHeight) { newHeight newHeight + gridY; } if (isMaxWidth) { newWidth newWidth - gridX; } if (isMaxHeight) { newHeight newHeight - gridY; } if (/^(se|s|e)$/.test(a)) { that.size.width newWidth; that.size.height newHeight; } else if (/^(ne)$/.test(a)) { that.size.width newWidth; that.size.height newHeight; that.position.top op.top - oy; } else if (/^(sw)$/.test(a)) { that.size.width newWidth; that.size.height newHeight; that.position.left op.left - ox; } else { if ( newHeight - gridY > 0 ) { that.size.height newHeight; that.position.top op.top - oy; } else { that.size.height gridY; that.position.top op.top + os.height - gridY; } if ( newWidth - gridX > 0 ) { that.size.width newWidth; that.position.left op.left - ox; } else { that.size.width gridX; that.position.left op.left + os.width - gridX; } } }});})(jQuery);(function( $, undefined ) {var lastActive, baseClasses ui-button ui-widget ui-state-default ui-corner-all, typeClasses ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only, formResetHandler function() { var form $( this ); setTimeout(function() { form.find( :ui-button ).button( refresh ); }, 1 ); }, radioGroup function( radio ) { var name radio.name, form radio.form, radios $( ); if ( name ) { name name.replace( //g, \\ ); if ( form ) { radios $( form ).find( name + name + ); } else { radios $( name + name + , radio.ownerDocument ) .filter(function() { return !this.form; }); } } return radios; };$.widget( ui.button, { version: 1.10.4, defaultElement: button>, options: { disabled: null, text: true, label: null, icons: { primary: null, secondary: null } }, _create: function() { this.element.closest( form ) .unbind( reset + this.eventNamespace ) .bind( reset + this.eventNamespace, formResetHandler ); if ( typeof this.options.disabled ! boolean ) { this.options.disabled !!this.element.prop( disabled ); } else { this.element.prop( disabled, this.options.disabled ); } this._determineButtonType(); this.hasTitle !!this.buttonElement.attr( title ); var that this, options this.options, toggleButton this.type checkbox || this.type radio, activeClass !toggleButton ? ui-state-active : ; if ( options.label null ) { options.label (this.type input ? this.buttonElement.val() : this.buttonElement.html()); } this._hoverable( this.buttonElement ); this.buttonElement .addClass( baseClasses ) .attr( role, button ) .bind( mouseenter + this.eventNamespace, function() { if ( options.disabled ) { return; } if ( this lastActive ) { $( this ).addClass( ui-state-active ); } }) .bind( mouseleave + this.eventNamespace, function() { if ( options.disabled ) { return; } $( this ).removeClass( activeClass ); }) .bind( click + this.eventNamespace, function( event ) { if ( options.disabled ) { event.preventDefault(); event.stopImmediatePropagation(); } }); this._on({ focus: function() { this.buttonElement.addClass( ui-state-focus ); }, blur: function() { this.buttonElement.removeClass( ui-state-focus ); } }); if ( toggleButton ) { this.element.bind( change + this.eventNamespace, function() { that.refresh(); }); } if ( this.type checkbox ) { this.buttonElement.bind( click + this.eventNamespace, function() { if ( options.disabled ) { return false; } }); } else if ( this.type radio ) { this.buttonElement.bind( click + this.eventNamespace, function() { if ( options.disabled ) { return false; } $( this ).addClass( ui-state-active ); that.buttonElement.attr( aria-pressed, true ); var radio that.element 0 ; radioGroup( radio ) .not( radio ) .map(function() { return $( this ).button( widget ) 0 ; }) .removeClass( ui-state-active ) .attr( aria-pressed, false ); }); } else { this.buttonElement .bind( mousedown + this.eventNamespace, function() { if ( options.disabled ) { return false; } $( this ).addClass( ui-state-active ); lastActive this; that.document.one( mouseup, function() { lastActive null; }); }) .bind( mouseup + this.eventNamespace, function() { if ( options.disabled ) { return false; } $( this ).removeClass( ui-state-active ); }) .bind( keydown + this.eventNamespace, function(event) { if ( options.disabled ) { return false; } if ( event.keyCode $.ui.keyCode.SPACE || event.keyCode $.ui.keyCode.ENTER ) { $( this ).addClass( ui-state-active ); } }) .bind( keyup + this.eventNamespace + blur + this.eventNamespace, function() { $( this ).removeClass( ui-state-active ); }); if ( this.buttonElement.is(a) ) { this.buttonElement.keyup(function(event) { if ( event.keyCode $.ui.keyCode.SPACE ) { $( this ).click(); } }); } } this._setOption( disabled, options.disabled ); this._resetButton(); }, _determineButtonType: function() { var ancestor, labelSelector, checked; if ( this.element.is(typecheckbox) ) { this.type checkbox; } else if ( this.element.is(typeradio) ) { this.type radio; } else if ( this.element.is(input) ) { this.type input; } else { this.type button; } if ( this.type checkbox || this.type radio ) { ancestor this.element.parents().last(); labelSelector labelfor + this.element.attr(id) + ; this.buttonElement ancestor.find( labelSelector ); if ( !this.buttonElement.length ) { ancestor ancestor.length ? ancestor.siblings() : this.element.siblings(); this.buttonElement ancestor.filter( labelSelector ); if ( !this.buttonElement.length ) { this.buttonElement ancestor.find( labelSelector ); } } this.element.addClass( ui-helper-hidden-accessible ); checked this.element.is( :checked ); if ( checked ) { this.buttonElement.addClass( ui-state-active ); } this.buttonElement.prop( aria-pressed, checked ); } else { this.buttonElement this.element; } }, widget: function() { return this.buttonElement; }, _destroy: function() { this.element .removeClass( ui-helper-hidden-accessible ); this.buttonElement .removeClass( baseClasses + ui-state-active + typeClasses ) .removeAttr( role ) .removeAttr( aria-pressed ) .html( this.buttonElement.find(.ui-button-text).html() ); if ( !this.hasTitle ) { this.buttonElement.removeAttr( title ); } }, _setOption: function( key, value ) { this._super( key, value ); if ( key disabled ) { this.element.prop( disabled, !!value ); if ( value ) { this.buttonElement.removeClass( ui-state-focus ); } return; } this._resetButton(); }, refresh: function() { var isDisabled this.element.is( input, button ) ? this.element.is( :disabled ) : this.element.hasClass( ui-button-disabled ); if ( isDisabled ! this.options.disabled ) { this._setOption( disabled, isDisabled ); } if ( this.type radio ) { radioGroup( this.element0 ).each(function() { if ( $( this ).is( :checked ) ) { $( this ).button( widget ) .addClass( ui-state-active ) .attr( aria-pressed, true ); } else { $( this ).button( widget ) .removeClass( ui-state-active ) .attr( aria-pressed, false ); } }); } else if ( this.type checkbox ) { if ( this.element.is( :checked ) ) { this.buttonElement .addClass( ui-state-active ) .attr( aria-pressed, true ); } else { this.buttonElement .removeClass( ui-state-active ) .attr( aria-pressed, false ); } } }, _resetButton: function() { if ( this.type input ) { if ( this.options.label ) { this.element.val( this.options.label ); } return; } var buttonElement this.buttonElement.removeClass( typeClasses ), buttonText $( span>/span>, this.document0 ) .addClass( ui-button-text ) .html( this.options.label ) .appendTo( buttonElement.empty() ) .text(), icons this.options.icons, multipleIcons icons.primary && icons.secondary, buttonClasses ; if ( icons.primary || icons.secondary ) { if ( this.options.text ) { buttonClasses.push( ui-button-text-icon + ( multipleIcons ? s : ( icons.primary ? -primary : -secondary ) ) ); } if ( icons.primary ) { buttonElement.prepend( span classui-button-icon-primary ui-icon + icons.primary + >/span> ); } if ( icons.secondary ) { buttonElement.append( span classui-button-icon-secondary ui-icon + icons.secondary + >/span> ); } if ( !this.options.text ) { buttonClasses.push( multipleIcons ? ui-button-icons-only : ui-button-icon-only ); if ( !this.hasTitle ) { buttonElement.attr( title, $.trim( buttonText ) ); } } } else { buttonClasses.push( ui-button-text-only ); } buttonElement.addClass( buttonClasses.join( ) ); }});$.widget( ui.buttonset, { version: 1.10.4, options: { items: button, inputtypebutton, inputtypesubmit, inputtypereset, inputtypecheckbox, inputtyperadio, a, :data(ui-button) }, _create: function() { this.element.addClass( ui-buttonset ); }, _init: function() { this.refresh(); }, _setOption: function( key, value ) { if ( key disabled ) { this.buttons.button( option, key, value ); } this._super( key, value ); }, refresh: function() { var rtl this.element.css( direction ) rtl; this.buttons this.element.find( this.options.items ) .filter( :ui-button ) .button( refresh ) .end() .not( :ui-button ) .button() .end() .map(function() { return $( this ).button( widget ) 0 ; }) .removeClass( ui-corner-all ui-corner-left ui-corner-right ) .filter( :first ) .addClass( rtl ? ui-corner-right : ui-corner-left ) .end() .filter( :last ) .addClass( rtl ? ui-corner-left : ui-corner-right ) .end() .end(); }, _destroy: function() { this.element.removeClass( ui-buttonset ); this.buttons .map(function() { return $( this ).button( widget ) 0 ; }) .removeClass( ui-corner-left ui-corner-right ) .end() .button( destroy ); }});}( jQuery ) );(function( $, undefined ) {$.extend($.ui, { datepicker: { version: 1.10.4 } });var PROP_NAME datepicker, instActive;function Datepicker() { this._curInst null; this._keyEvent false; this._disabledInputs ; this._datepickerShowing false; this._inDialog false; this._mainDivId ui-datepicker-div; this._inlineClass ui-datepicker-inline; this._appendClass ui-datepicker-append; this._triggerClass ui-datepicker-trigger; this._dialogClass ui-datepicker-dialog; this._disableClass ui-datepicker-disabled; this._unselectableClass ui-datepicker-unselectable; this._currentClass ui-datepicker-current-day; this._dayOverClass ui-datepicker-days-cell-over; this.regional ; this.regional { closeText: Done, prevText: Prev, nextText: Next, currentText: Today, monthNames: January,February,March,April,May,June, July,August,September,October,November,December, monthNamesShort: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, dayNames: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, dayNamesShort: Sun, Mon, Tue, Wed, Thu, Fri, Sat, dayNamesMin: Su,Mo,Tu,We,Th,Fr,Sa, weekHeader: Wk, dateFormat: mm/dd/yy, firstDay: 0, isRTL: false, showMonthAfterYear: false, yearSuffix: }; this._defaults { showOn: focus, showAnim: show, showOptions: {}, defaultDate: null, appendText: , buttonText: ..., buttonImage: , buttonImageOnly: false, hideIfNoPrevNext: false, navigationAsDateFormat: false, gotoCurrent: false, changeMonth: false, changeYear: false, yearRange: c-10:c+10, showOtherMonths: false, selectOtherMonths: false, showWeek: false, calculateWeek: this.iso8601Week, shortYearCutoff: +10, minDate: null, maxDate: null, duration: fast, beforeShowDay: null, beforeShow: null, onSelect: null, onChangeMonthYear: null, onClose: null, numberOfMonths: 1, showCurrentAtPos: 0, stepMonths: 1, stepBigMonths: 12, altField: , altFormat: , constrainInput: true, showButtonPanel: false, autoSize: false, disabled: false }; $.extend(this._defaults, this.regional); this.dpDiv bindHover($(div id + this._mainDivId + classui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all>/div>));}$.extend(Datepicker.prototype, { markerClassName: hasDatepicker, maxRows: 4, _widgetDatepicker: function() { return this.dpDiv; }, setDefaults: function(settings) { extendRemove(this._defaults, settings || {}); return this; }, _attachDatepicker: function(target, settings) { var nodeName, inline, inst; nodeName target.nodeName.toLowerCase(); inline (nodeName div || nodeName span); if (!target.id) { this.uuid + 1; target.id dp + this.uuid; } inst this._newInst($(target), inline); inst.settings $.extend({}, settings || {}); if (nodeName input) { this._connectDatepicker(target, inst); } else if (inline) { this._inlineDatepicker(target, inst); } }, _newInst: function(target, inline) { var id target0.id.replace(/(^A-Za-z0-9_\-)/g, \\\\$1); return {id: id, input: target, selectedDay: 0, selectedMonth: 0, selectedYear: 0, drawMonth: 0, drawYear: 0, inline: inline, dpDiv: (!inline ? this.dpDiv : bindHover($(div class + this._inlineClass + ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all>/div>)))}; }, _connectDatepicker: function(target, inst) { var input $(target); inst.append $(); inst.trigger $(); if (input.hasClass(this.markerClassName)) { return; } this._attachments(input, inst); input.addClass(this.markerClassName).keydown(this._doKeyDown). keypress(this._doKeyPress).keyup(this._doKeyUp); this._autoSize(inst); $.data(target, PROP_NAME, inst); if( inst.settings.disabled ) { this._disableDatepicker( target ); } }, _attachments: function(input, inst) { var showOn, buttonText, buttonImage, appendText this._get(inst, appendText), isRTL this._get(inst, isRTL); if (inst.append) { inst.append.remove(); } if (appendText) { inst.append $(span class + this._appendClass + > + appendText + /span>); inputisRTL ? before : after(inst.append); } input.unbind(focus, this._showDatepicker); if (inst.trigger) { inst.trigger.remove(); } showOn this._get(inst, showOn); if (showOn focus || showOn both) { input.focus(this._showDatepicker); } if (showOn button || showOn both) { buttonText this._get(inst, buttonText); buttonImage this._get(inst, buttonImage); inst.trigger $(this._get(inst, buttonImageOnly) ? $(img/>).addClass(this._triggerClass). attr({ src: buttonImage, alt: buttonText, title: buttonText }) : $(button typebutton>/button>).addClass(this._triggerClass). html(!buttonImage ? buttonText : $(img/>).attr( { src:buttonImage, alt:buttonText, title:buttonText }))); inputisRTL ? before : after(inst.trigger); inst.trigger.click(function() { if ($.datepicker._datepickerShowing && $.datepicker._lastInput input0) { $.datepicker._hideDatepicker(); } else if ($.datepicker._datepickerShowing && $.datepicker._lastInput ! input0) { $.datepicker._hideDatepicker(); $.datepicker._showDatepicker(input0); } else { $.datepicker._showDatepicker(input0); } return false; }); } }, _autoSize: function(inst) { if (this._get(inst, autoSize) && !inst.inline) { var findMax, max, maxI, i, date new Date(2009, 12 - 1, 20), dateFormat this._get(inst, dateFormat); if (dateFormat.match(/DM/)) { findMax function(names) { max 0; maxI 0; for (i 0; i names.length; i++) { if (namesi.length > max) { max namesi.length; maxI i; } } return maxI; }; date.setMonth(findMax(this._get(inst, (dateFormat.match(/MM/) ? monthNames : monthNamesShort)))); date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ? dayNames : dayNamesShort))) + 20 - date.getDay()); } inst.input.attr(size, this._formatDate(inst, date).length); } }, _inlineDatepicker: function(target, inst) { var divSpan $(target); if (divSpan.hasClass(this.markerClassName)) { return; } divSpan.addClass(this.markerClassName).append(inst.dpDiv); $.data(target, PROP_NAME, inst); this._setDate(inst, this._getDefaultDate(inst), true); this._updateDatepicker(inst); this._updateAlternate(inst); if( inst.settings.disabled ) { this._disableDatepicker( target ); } inst.dpDiv.css( display, block ); }, _dialogDatepicker: function(input, date, onSelect, settings, pos) { var id, browserWidth, browserHeight, scrollX, scrollY, inst this._dialogInst; if (!inst) { this.uuid + 1; id dp + this.uuid; this._dialogInput $(input typetext id + id + styleposition: absolute; top: -100px; width: 0px;/>); this._dialogInput.keydown(this._doKeyDown); $(body).append(this._dialogInput); inst this._dialogInst this._newInst(this._dialogInput, false); inst.settings {}; $.data(this._dialogInput0, PROP_NAME, inst); } extendRemove(inst.settings, settings || {}); date (date && date.constructor Date ? this._formatDate(inst, date) : date); this._dialogInput.val(date); this._pos (pos ? (pos.length ? pos : pos.pageX, pos.pageY) : null); if (!this._pos) { browserWidth document.documentElement.clientWidth; browserHeight document.documentElement.clientHeight; scrollX document.documentElement.scrollLeft || document.body.scrollLeft; scrollY document.documentElement.scrollTop || document.body.scrollTop; this._pos (browserWidth / 2) - 100 + scrollX, (browserHeight / 2) - 150 + scrollY; } this._dialogInput.css(left, (this._pos0 + 20) + px).css(top, this._pos1 + px); inst.settings.onSelect onSelect; this._inDialog true; this.dpDiv.addClass(this._dialogClass); this._showDatepicker(this._dialogInput0); if ($.blockUI) { $.blockUI(this.dpDiv); } $.data(this._dialogInput0, PROP_NAME, inst); return this; }, _destroyDatepicker: function(target) { var nodeName, $target $(target), inst $.data(target, PROP_NAME); if (!$target.hasClass(this.markerClassName)) { return; } nodeName target.nodeName.toLowerCase(); $.removeData(target, PROP_NAME); if (nodeName input) { inst.append.remove(); inst.trigger.remove(); $target.removeClass(this.markerClassName). unbind(focus, this._showDatepicker). unbind(keydown, this._doKeyDown). unbind(keypress, this._doKeyPress). unbind(keyup, this._doKeyUp); } else if (nodeName div || nodeName span) { $target.removeClass(this.markerClassName).empty(); } }, _enableDatepicker: function(target) { var nodeName, inline, $target $(target), inst $.data(target, PROP_NAME); if (!$target.hasClass(this.markerClassName)) { return; } nodeName target.nodeName.toLowerCase(); if (nodeName input) { target.disabled false; inst.trigger.filter(button). each(function() { this.disabled false; }).end(). filter(img).css({opacity: 1.0, cursor: }); } else if (nodeName div || nodeName span) { inline $target.children(. + this._inlineClass); inline.children().removeClass(ui-state-disabled); inline.find(select.ui-datepicker-month, select.ui-datepicker-year). prop(disabled, false); } this._disabledInputs $.map(this._disabledInputs, function(value) { return (value target ? null : value); }); // delete entry }, _disableDatepicker: function(target) { var nodeName, inline, $target $(target), inst $.data(target, PROP_NAME); if (!$target.hasClass(this.markerClassName)) { return; } nodeName target.nodeName.toLowerCase(); if (nodeName input) { target.disabled true; inst.trigger.filter(button). each(function() { this.disabled true; }).end(). filter(img).css({opacity: 0.5, cursor: default}); } else if (nodeName div || nodeName span) { inline $target.children(. + this._inlineClass); inline.children().addClass(ui-state-disabled); inline.find(select.ui-datepicker-month, select.ui-datepicker-year). prop(disabled, true); } this._disabledInputs $.map(this._disabledInputs, function(value) { return (value target ? null : value); }); this._disabledInputsthis._disabledInputs.length target; }, _isDisabledDatepicker: function(target) { if (!target) { return false; } for (var i 0; i this._disabledInputs.length; i++) { if (this._disabledInputsi target) { return true; } } return false; }, _getInst: function(target) { try { return $.data(target, PROP_NAME); } catch (err) { throw Missing instance data for this datepicker; } }, _optionDatepicker: function(target, name, value) { var settings, date, minDate, maxDate, inst this._getInst(target); if (arguments.length 2 && typeof name string) { return (name defaults ? $.extend({}, $.datepicker._defaults) : (inst ? (name all ? $.extend({}, inst.settings) : this._get(inst, name)) : null)); } settings name || {}; if (typeof name string) { settings {}; settingsname value; } if (inst) { if (this._curInst inst) { this._hideDatepicker(); } date this._getDateDatepicker(target, true); minDate this._getMinMaxDate(inst, min); maxDate this._getMinMaxDate(inst, max); extendRemove(inst.settings, settings); if (minDate ! null && settings.dateFormat ! undefined && settings.minDate undefined) { inst.settings.minDate this._formatDate(inst, minDate); } if (maxDate ! null && settings.dateFormat ! undefined && settings.maxDate undefined) { inst.settings.maxDate this._formatDate(inst, maxDate); } if ( disabled in settings ) { if ( settings.disabled ) { this._disableDatepicker(target); } else { this._enableDatepicker(target); } } this._attachments($(target), inst); this._autoSize(inst); this._setDate(inst, date); this._updateAlternate(inst); this._updateDatepicker(inst); } }, _changeDatepicker: function(target, name, value) { this._optionDatepicker(target, name, value); }, _refreshDatepicker: function(target) { var inst this._getInst(target); if (inst) { this._updateDatepicker(inst); } }, _setDateDatepicker: function(target, date) { var inst this._getInst(target); if (inst) { this._setDate(inst, date); this._updateDatepicker(inst); this._updateAlternate(inst); } }, _getDateDatepicker: function(target, noDefault) { var inst this._getInst(target); if (inst && !inst.inline) { this._setDateFromField(inst, noDefault); } return (inst ? this._getDate(inst) : null); }, _doKeyDown: function(event) { var onSelect, dateStr, sel, inst $.datepicker._getInst(event.target), handled true, isRTL inst.dpDiv.is(.ui-datepicker-rtl); inst._keyEvent true; if ($.datepicker._datepickerShowing) { switch (event.keyCode) { case 9: $.datepicker._hideDatepicker(); handled false; break; // hide on tab out case 13: sel $(td. + $.datepicker._dayOverClass + :not(. + $.datepicker._currentClass + ), inst.dpDiv); if (sel0) { $.datepicker._selectDay(event.target, inst.selectedMonth, inst.selectedYear, sel0); } onSelect $.datepicker._get(inst, onSelect); if (onSelect) { dateStr $.datepicker._formatDate(inst); onSelect.apply((inst.input ? inst.input0 : null), dateStr, inst); } else { $.datepicker._hideDatepicker(); } return false; case 27: $.datepicker._hideDatepicker(); break; case 33: $.datepicker._adjustDate(event.target, (event.ctrlKey ? -$.datepicker._get(inst, stepBigMonths) : -$.datepicker._get(inst, stepMonths)), M); break; case 34: $.datepicker._adjustDate(event.target, (event.ctrlKey ? +$.datepicker._get(inst, stepBigMonths) : +$.datepicker._get(inst, stepMonths)), M); break; case 35: if (event.ctrlKey || event.metaKey) { $.datepicker._clearDate(event.target); } handled event.ctrlKey || event.metaKey; break; case 36: if (event.ctrlKey || event.metaKey) { $.datepicker._gotoToday(event.target); } handled event.ctrlKey || event.metaKey; break; case 37: if (event.ctrlKey || event.metaKey) { $.datepicker._adjustDate(event.target, (isRTL ? +1 : -1), D); } handled event.ctrlKey || event.metaKey; if (event.originalEvent.altKey) { $.datepicker._adjustDate(event.target, (event.ctrlKey ? -$.datepicker._get(inst, stepBigMonths) : -$.datepicker._get(inst, stepMonths)), M); } break; case 38: if (event.ctrlKey || event.metaKey) { $.datepicker._adjustDate(event.target, -7, D); } handled event.ctrlKey || event.metaKey; break; // -1 week on ctrl or command +up case 39: if (event.ctrlKey || event.metaKey) { $.datepicker._adjustDate(event.target, (isRTL ? -1 : +1), D); } handled event.ctrlKey || event.metaKey; if (event.originalEvent.altKey) { $.datepicker._adjustDate(event.target, (event.ctrlKey ? +$.datepicker._get(inst, stepBigMonths) : +$.datepicker._get(inst, stepMonths)), M); } break; case 40: if (event.ctrlKey || event.metaKey) { $.datepicker._adjustDate(event.target, +7, D); } handled event.ctrlKey || event.metaKey; break; default: handled false; } } else if (event.keyCode 36 && event.ctrlKey) { $.datepicker._showDatepicker(this); } else { handled false; } if (handled) { event.preventDefault(); event.stopPropagation(); } }, _doKeyPress: function(event) { var chars, chr, inst $.datepicker._getInst(event.target); if ($.datepicker._get(inst, constrainInput)) { chars $.datepicker._possibleChars($.datepicker._get(inst, dateFormat)); chr String.fromCharCode(event.charCode null ? event.keyCode : event.charCode); return event.ctrlKey || event.metaKey || (chr || !chars || chars.indexOf(chr) > -1); } }, _doKeyUp: function(event) { var date, inst $.datepicker._getInst(event.target); if (inst.input.val() ! inst.lastVal) { try { date $.datepicker.parseDate($.datepicker._get(inst, dateFormat), (inst.input ? inst.input.val() : null), $.datepicker._getFormatConfig(inst)); if (date) { $.datepicker._setDateFromField(inst); $.datepicker._updateAlternate(inst); $.datepicker._updateDatepicker(inst); } } catch (err) { } } return true; }, _showDatepicker: function(input) { input input.target || input; if (input.nodeName.toLowerCase() ! input) { input $(input, input.parentNode)0; } if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput input) { return; } var inst, beforeShow, beforeShowSettings, isFixed, offset, showAnim, duration; inst $.datepicker._getInst(input); if ($.datepicker._curInst && $.datepicker._curInst ! inst) { $.datepicker._curInst.dpDiv.stop(true, true); if ( inst && $.datepicker._datepickerShowing ) { $.datepicker._hideDatepicker( $.datepicker._curInst.input0 ); } } beforeShow $.datepicker._get(inst, beforeShow); beforeShowSettings beforeShow ? beforeShow.apply(input, input, inst) : {}; if(beforeShowSettings false){ return; } extendRemove(inst.settings, beforeShowSettings); inst.lastVal null; $.datepicker._lastInput input; $.datepicker._setDateFromField(inst); if ($.datepicker._inDialog) { // hide cursor input.value ; } if (!$.datepicker._pos) { $.datepicker._pos $.datepicker._findPos(input); $.datepicker._pos1 + input.offsetHeight; } isFixed false; $(input).parents().each(function() { isFixed | $(this).css(position) fixed; return !isFixed; }); offset {left: $.datepicker._pos0, top: $.datepicker._pos1}; $.datepicker._pos null; inst.dpDiv.empty(); inst.dpDiv.css({position: absolute, display: block, top: -1000px}); $.datepicker._updateDatepicker(inst); offset $.datepicker._checkOffset(inst, offset, isFixed); inst.dpDiv.css({position: ($.datepicker._inDialog && $.blockUI ? static : (isFixed ? fixed : absolute)), display: none, left: offset.left + px, top: offset.top + px}); if (!inst.inline) { showAnim $.datepicker._get(inst, showAnim); duration $.datepicker._get(inst, duration); inst.dpDiv.zIndex($(input).zIndex()+1); $.datepicker._datepickerShowing true; if ( $.effects && $.effects.effect showAnim ) { inst.dpDiv.show(showAnim, $.datepicker._get(inst, showOptions), duration); } else { inst.dpDivshowAnim || show(null); frozen_timeout setTimeout(function(){ datepicker_frozen inst.dpDiv.css(display) none ? true : false; }, 2000); } if ( $.datepicker._shouldFocusInput( inst ) ) { inst.input.focus(); } $.datepicker._curInst inst; } }, _updateDatepicker: function(inst) { this.maxRows 4; instActive inst; inst.dpDiv.empty().append(this._generateHTML(inst)); this._attachHandlers(inst); inst.dpDiv.find(. + this._dayOverClass + a).mouseover(); var origyearshtml, numMonths this._getNumberOfMonths(inst), cols numMonths1, width 17; inst.dpDiv.removeClass(ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4).width(); if (cols > 1) { inst.dpDiv.addClass(ui-datepicker-multi- + cols).css(width, (width * cols) + em); } inst.dpDiv(numMonths0 ! 1 || numMonths1 ! 1 ? add : remove) + Class(ui-datepicker-multi); inst.dpDiv(this._get(inst, isRTL) ? add : remove) + Class(ui-datepicker-rtl); if (inst $.datepicker._curInst && $.datepicker._datepickerShowing && $.datepicker._shouldFocusInput( inst ) ) { inst.input.focus(); } if( inst.yearshtml ){ origyearshtml inst.yearshtml; setTimeout(function(){ if( origyearshtml inst.yearshtml && inst.yearshtml ){ inst.dpDiv.find(select.ui-datepicker-year:first).replaceWith(inst.yearshtml); } origyearshtml inst.yearshtml null; }, 0); } }, _shouldFocusInput: function( inst ) { return inst.input && inst.input.is( :visible ) && !inst.input.is( :disabled ) && !inst.input.is( :focus ); }, _checkOffset: function(inst, offset, isFixed) { var dpWidth inst.dpDiv.outerWidth(), dpHeight inst.dpDiv.outerHeight(), inputWidth inst.input ? inst.input.outerWidth() : 0, inputHeight inst.input ? inst.input.outerHeight() : 0, viewWidth document.documentElement.clientWidth + (isFixed ? 0 : $(document).scrollLeft()), viewHeight document.documentElement.clientHeight + (isFixed ? 0 : $(document).scrollTop()); offset.left - (this._get(inst, isRTL) ? (dpWidth - inputWidth) : 0); offset.left - (isFixed && offset.left inst.input.offset().left) ? $(document).scrollLeft() : 0; offset.top - (isFixed && offset.top (inst.input.offset().top + inputHeight)) ? $(document).scrollTop() : 0; offset.left - Math.min(offset.left, (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ? Math.abs(offset.left + dpWidth - viewWidth) : 0); offset.top - Math.min(offset.top, (offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ? Math.abs(dpHeight + inputHeight) : 0); return offset; }, _findPos: function(obj) { var position, inst this._getInst(obj), isRTL this._get(inst, isRTL); while (obj && (obj.type hidden || obj.nodeType ! 1 || $.expr.filters.hidden(obj))) { obj objisRTL ? previousSibling : nextSibling; } position $(obj).offset(); return position.left, position.top; }, _hideDatepicker: function(input) { var showAnim, duration, postProcess, onClose, inst this._curInst; if (!inst || (input && inst ! $.data(input, PROP_NAME))) { return; } if (this._datepickerShowing) { showAnim this._get(inst, showAnim); duration this._get(inst, duration); postProcess function() { $.datepicker._tidyDialog(inst); }; if ( $.effects && ( $.effects.effect showAnim || $.effects showAnim ) ) { inst.dpDiv.hide(showAnim, $.datepicker._get(inst, showOptions), duration, postProcess); } else { inst.dpDiv(showAnim slideDown ? slideUp : (showAnim fadeIn ? fadeOut : hide))((null), postProcess); } clearTimeout(frozen_timeout); if (!showAnim) { postProcess(); } this._datepickerShowing false; onClose this._get(inst, onClose); if (onClose) { onClose.apply((inst.input ? inst.input0 : null), (inst.input ? inst.input.val() : ), inst); } this._lastInput null; if (this._inDialog) { this._dialogInput.css({ position: absolute, left: 0, top: -100px }); if ($.blockUI) { $.unblockUI(); $(body).append(this.dpDiv); } } this._inDialog false; } }, _tidyDialog: function(inst) { inst.dpDiv.removeClass(this._dialogClass).unbind(.ui-datepicker-calendar); }, _checkExternalClick: function(event) { if (!$.datepicker._curInst) { return; } var $target $(event.target), inst $.datepicker._getInst($target0); if ( ( ( $target0.id ! $.datepicker._mainDivId && $target.parents(# + $.datepicker._mainDivId).length 0 && !$target.hasClass($.datepicker.markerClassName) && !$target.closest(. + $.datepicker._triggerClass).length && $.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) || ( $target.hasClass($.datepicker.markerClassName) && $.datepicker._curInst ! inst ) ) { $.datepicker._hideDatepicker(); } }, _adjustDate: function(id, offset, period) { var target $(id), inst this._getInst(target0); if (this._isDisabledDatepicker(target0)) { return; } this._adjustInstDate(inst, offset + (period M ? this._get(inst, showCurrentAtPos) : 0), // undo positioning period); this._updateDatepicker(inst); }, _gotoToday: function(id) { var date, target $(id), inst this._getInst(target0); if (this._get(inst, gotoCurrent) && inst.currentDay) { inst.selectedDay inst.currentDay; inst.drawMonth inst.selectedMonth inst.currentMonth; inst.drawYear inst.selectedYear inst.currentYear; } else { date new Date(); inst.selectedDay date.getDate(); inst.drawMonth inst.selectedMonth date.getMonth(); inst.drawYear inst.selectedYear date.getFullYear(); } this._notifyChange(inst); this._adjustDate(target); }, _selectMonthYear: function(id, select, period) { var target $(id), inst this._getInst(target0); instselected + (period M ? Month : Year) instdraw + (period M ? Month : Year) parseInt(select.optionsselect.selectedIndex.value,10); this._notifyChange(inst); this._adjustDate(target); }, _selectDay: function(id, month, year, td) { var inst, target $(id); if ($(td).hasClass(this._unselectableClass) || this._isDisabledDatepicker(target0)) { return; } inst this._getInst(target0); inst.selectedDay inst.currentDay $(a, td).html(); inst.selectedMonth inst.currentMonth month; inst.selectedYear inst.currentYear year; this._selectDate(id, this._formatDate(inst, inst.currentDay, inst.currentMonth, inst.currentYear)); }, _clearDate: function(id) { var target $(id); this._selectDate(target, ); }, _selectDate: function(id, dateStr) { var onSelect, target $(id), inst this._getInst(target0); dateStr (dateStr ! null ? dateStr : this._formatDate(inst)); if (inst.input) { inst.input.val(dateStr); } this._updateAlternate(inst); onSelect this._get(inst, onSelect); if (onSelect) { onSelect.apply((inst.input ? inst.input0 : null), dateStr, inst); } else if (inst.input) { inst.input.trigger(change); } if (inst.inline){ this._updateDatepicker(inst); } else { this._hideDatepicker(); this._lastInput inst.input0; if (typeof(inst.input0) ! object) { inst.input.focus(); } this._lastInput null; } }, _updateAlternate: function(inst) { var altFormat, date, dateStr, altField this._get(inst, altField); if (altField) { altFormat this._get(inst, altFormat) || this._get(inst, dateFormat); date this._getDate(inst); dateStr this.formatDate(altFormat, date, this._getFormatConfig(inst)); $(altField).each(function() { $(this).val(dateStr); }); } }, noWeekends: function(date) { var day date.getDay(); return (day > 0 && day 6), ; }, iso8601Week: function(date) { var time, checkDate new Date(date.getTime()); checkDate.setDate(checkDate.getDate() + 4 - (checkDate.getDay() || 7)); time checkDate.getTime(); checkDate.setMonth(0); // Compare with Jan 1 checkDate.setDate(1); return Math.floor(Math.round((time - checkDate) / 86400000) / 7) + 1; }, parseDate: function (format, value, settings) { if (format null || value null) { throw Invalid arguments; } value (typeof value object ? value.toString() : value + ); if (value ) { return null; } var iFormat, dim, extra, iValue 0, shortYearCutoffTemp (settings ? settings.shortYearCutoff : null) || this._defaults.shortYearCutoff, shortYearCutoff (typeof shortYearCutoffTemp ! string ? shortYearCutoffTemp : new Date().getFullYear() % 100 + parseInt(shortYearCutoffTemp, 10)), dayNamesShort (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort, dayNames (settings ? settings.dayNames : null) || this._defaults.dayNames, monthNamesShort (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort, monthNames (settings ? settings.monthNames : null) || this._defaults.monthNames, year -1, month -1, day -1, doy -1, literal false, date, lookAhead function(match) { var matches (iFormat + 1 format.length && format.charAt(iFormat + 1) match); if (matches) { iFormat++; } return matches; }, getNumber function(match) { var isDoubled lookAhead(match), size (match @ ? 14 : (match ! ? 20 : (match y && isDoubled ? 4 : (match o ? 3 : 2)))), digits new RegExp(^\\d{1, + size + }), num value.substring(iValue).match(digits); if (!num) { throw Missing number at position + iValue; } iValue + num0.length; return parseInt(num0, 10); }, getName function(match, shortNames, longNames) { var index -1, names $.map(lookAhead(match) ? longNames : shortNames, function (v, k) { return k, v ; }).sort(function (a, b) { return -(a1.length - b1.length); }); $.each(names, function (i, pair) { var name pair1; if (value.substr(iValue, name.length).toLowerCase() name.toLowerCase()) { index pair0; iValue + name.length; return false; } }); if (index ! -1) { return index + 1; } else { throw Unknown name at position + iValue; } }, checkLiteral function() { if (value.charAt(iValue) ! format.charAt(iFormat)) { throw Unexpected literal at position + iValue; } iValue++; }; for (iFormat 0; iFormat format.length; iFormat++) { if (literal) { if (format.charAt(iFormat) && !lookAhead()) { literal false; } else { checkLiteral(); } } else { switch (format.charAt(iFormat)) { case d: day getNumber(d); break; case D: getName(D, dayNamesShort, dayNames); break; case o: doy getNumber(o); break; case m: month getNumber(m); break; case M: month getName(M, monthNamesShort, monthNames); break; case y: year getNumber(y); break; case @: date new Date(getNumber(@)); year date.getFullYear(); month date.getMonth() + 1; day date.getDate(); break; case !: date new Date((getNumber(!) - this._ticksTo1970) / 10000); year date.getFullYear(); month date.getMonth() + 1; day date.getDate(); break; case : if (lookAhead()){ checkLiteral(); } else { literal true; } break; default: checkLiteral(); } } } if (iValue value.length){ extra value.substr(iValue); if (!/^\s+/.test(extra)) { throw Extra/unparsed characters found in date: + extra; } } if (year -1) { year new Date().getFullYear(); } else if (year 100) { year + new Date().getFullYear() - new Date().getFullYear() % 100 + (year shortYearCutoff ? 0 : -100); } if (doy > -1) { month 1; day doy; do { dim this._getDaysInMonth(year, month - 1); if (day dim) { break; } month++; day - dim; } while (true); } date this._daylightSavingAdjust(new Date(year, month - 1, day)); if (date.getFullYear() ! year || date.getMonth() + 1 ! month || date.getDate() ! day) { throw Invalid date; // E.g. 31/02/00 } return date; }, ATOM: yy-mm-dd, COOKIE: D, dd M yy, ISO_8601: yy-mm-dd, RFC_822: D, d M y, RFC_850: DD, dd-M-y, RFC_1036: D, d M y, RFC_1123: D, d M yy, RFC_2822: D, d M yy, RSS: D, d M y, TICKS: !, TIMESTAMP: @, W3C: yy-mm-dd, _ticksTo1970: (((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) + Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000), formatDate: function (format, date, settings) { if (!date) { return ; } var iFormat, dayNamesShort (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort, dayNames (settings ? settings.dayNames : null) || this._defaults.dayNames, monthNamesShort (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort, monthNames (settings ? settings.monthNames : null) || this._defaults.monthNames, lookAhead function(match) { var matches (iFormat + 1 format.length && format.charAt(iFormat + 1) match); if (matches) { iFormat++; } return matches; }, formatNumber function(match, value, len) { var num + value; if (lookAhead(match)) { while (num.length len) { num 0 + num; } } return num; }, formatName function(match, value, shortNames, longNames) { return (lookAhead(match) ? longNamesvalue : shortNamesvalue); }, output , literal false; if (date) { for (iFormat 0; iFormat format.length; iFormat++) { if (literal) { if (format.charAt(iFormat) && !lookAhead()) { literal false; } else { output + format.charAt(iFormat); } } else { switch (format.charAt(iFormat)) { case d: output + formatNumber(d, date.getDate(), 2); break; case D: output + formatName(D, date.getDay(), dayNamesShort, dayNames); break; case o: output + formatNumber(o, Math.round((new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() - new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3); break; case m: output + formatNumber(m, date.getMonth() + 1, 2); break; case M: output + formatName(M, date.getMonth(), monthNamesShort, monthNames); break; case y: output + (lookAhead(y) ? date.getFullYear() : (date.getYear() % 100 10 ? 0 : ) + date.getYear() % 100); break; case @: output + date.getTime(); break; case !: output + date.getTime() * 10000 + this._ticksTo1970; break; case : if (lookAhead()) { output + ; } else { literal true; } break; default: output + format.charAt(iFormat); } } } } return output; }, _possibleChars: function (format) { var iFormat, chars , literal false, lookAhead function(match) { var matches (iFormat + 1 format.length && format.charAt(iFormat + 1) match); if (matches) { iFormat++; } return matches; }; for (iFormat 0; iFormat format.length; iFormat++) { if (literal) { if (format.charAt(iFormat) && !lookAhead()) { literal false; } else { chars + format.charAt(iFormat); } } else { switch (format.charAt(iFormat)) { case d: case m: case y: case @: chars + 0123456789; break; case D: case M: return null; // Accept anything case : if (lookAhead()) { chars + ; } else { literal true; } break; default: chars + format.charAt(iFormat); } } } return chars; }, _get: function(inst, name) { return inst.settingsname ! undefined ? inst.settingsname : this._defaultsname; }, _setDateFromField: function(inst, noDefault) { if (inst.input.val() inst.lastVal) { return; } var dateFormat this._get(inst, dateFormat), dates inst.lastVal inst.input ? inst.input.val() : null, defaultDate this._getDefaultDate(inst), date defaultDate, settings this._getFormatConfig(inst); try { date this.parseDate(dateFormat, dates, settings) || defaultDate; } catch (event) { dates (noDefault ? : dates); } inst.selectedDay date.getDate(); inst.drawMonth inst.selectedMonth date.getMonth(); inst.drawYear inst.selectedYear date.getFullYear(); inst.currentDay (dates ? date.getDate() : 0); inst.currentMonth (dates ? date.getMonth() : 0); inst.currentYear (dates ? date.getFullYear() : 0); this._adjustInstDate(inst); }, _getDefaultDate: function(inst) { return this._restrictMinMax(inst, this._determineDate(inst, this._get(inst, defaultDate), new Date())); }, _determineDate: function(inst, date, defaultDate) { var offsetNumeric function(offset) { var date new Date(); date.setDate(date.getDate() + offset); return date; }, offsetString function(offset) { try { return $.datepicker.parseDate($.datepicker._get(inst, dateFormat), offset, $.datepicker._getFormatConfig(inst)); } catch (e) { } var date (offset.toLowerCase().match(/^c/) ? $.datepicker._getDate(inst) : null) || new Date(), year date.getFullYear(), month date.getMonth(), day date.getDate(), pattern /(+\-?0-9+)\s*(d|D|w|W|m|M|y|Y)?/g, matches pattern.exec(offset); while (matches) { switch (matches2 || d) { case d : case D : day + parseInt(matches1,10); break; case w : case W : day + parseInt(matches1,10) * 7; break; case m : case M : month + parseInt(matches1,10); day Math.min(day, $.datepicker._getDaysInMonth(year, month)); break; case y: case Y : year + parseInt(matches1,10); day Math.min(day, $.datepicker._getDaysInMonth(year, month)); break; } matches pattern.exec(offset); } return new Date(year, month, day); }, newDate (date null || date ? defaultDate : (typeof date string ? offsetString(date) : (typeof date number ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : new Date(date.getTime())))); newDate (newDate && newDate.toString() Invalid Date ? defaultDate : newDate); if (newDate) { newDate.setHours(0); newDate.setMinutes(0); newDate.setSeconds(0); newDate.setMilliseconds(0); } return this._daylightSavingAdjust(newDate); }, _daylightSavingAdjust: function(date) { if (!date) { return null; } date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0); return date; }, _setDate: function(inst, date, noChange) { var clear !date, origMonth inst.selectedMonth, origYear inst.selectedYear, newDate this._restrictMinMax(inst, this._determineDate(inst, date, new Date())); inst.selectedDay inst.currentDay newDate.getDate(); inst.drawMonth inst.selectedMonth inst.currentMonth newDate.getMonth(); inst.drawYear inst.selectedYear inst.currentYear newDate.getFullYear(); if ((origMonth ! inst.selectedMonth || origYear ! inst.selectedYear) && !noChange) { this._notifyChange(inst); } this._adjustInstDate(inst); if (inst.input) { inst.input.val(clear ? : this._formatDate(inst)); } }, _getDate: function(inst) { var startDate (!inst.currentYear || (inst.input && inst.input.val() ) ? null : this._daylightSavingAdjust(new Date( inst.currentYear, inst.currentMonth, inst.currentDay))); return startDate; }, _attachHandlers: function(inst) { var stepMonths this._get(inst, stepMonths), id # + inst.id.replace( /\\\\/g, \\ ); inst.dpDiv.find(data-handler).map(function () { var handler { prev: function () { $.datepicker._adjustDate(id, -stepMonths, M); }, next: function () { $.datepicker._adjustDate(id, +stepMonths, M); }, hide: function () { $.datepicker._hideDatepicker(); }, today: function () { $.datepicker._gotoToday(id); }, selectDay: function () { $.datepicker._selectDay(id, +this.getAttribute(data-month), +this.getAttribute(data-year), this); return false; }, selectMonth: function () { $.datepicker._selectMonthYear(id, this, M); return false; }, selectYear: function () { $.datepicker._selectMonthYear(id, this, Y); return false; } }; $(this).bind(this.getAttribute(data-event), handlerthis.getAttribute(data-handler)); }); }, _generateHTML: function(inst) { var maxDraw, prevText, prev, nextText, next, currentText, gotoDate, controls, buttonPanel, firstDay, showWeek, dayNames, dayNamesMin, monthNames, monthNamesShort, beforeShowDay, showOtherMonths, selectOtherMonths, defaultDate, html, dow, row, group, col, selectedDate, cornerClass, calender, thead, day, daysInMonth, leadDays, curRows, numRows, printDate, dRow, tbody, daySettings, otherMonth, unselectable, tempDate new Date(), today this._daylightSavingAdjust( new Date(tempDate.getFullYear(), tempDate.getMonth(), tempDate.getDate())), // clear time isRTL this._get(inst, isRTL), showButtonPanel this._get(inst, showButtonPanel), hideIfNoPrevNext this._get(inst, hideIfNoPrevNext), navigationAsDateFormat this._get(inst, navigationAsDateFormat), numMonths this._getNumberOfMonths(inst), showCurrentAtPos this._get(inst, showCurrentAtPos), stepMonths this._get(inst, stepMonths), isMultiMonth (numMonths0 ! 1 || numMonths1 ! 1), currentDate this._daylightSavingAdjust((!inst.currentDay ? new Date(9999, 9, 9) : new Date(inst.currentYear, inst.currentMonth, inst.currentDay))), minDate this._getMinMaxDate(inst, min), maxDate this._getMinMaxDate(inst, max), drawMonth inst.drawMonth - showCurrentAtPos, drawYear inst.drawYear; if (drawMonth 0) { drawMonth + 12; drawYear--; } if (maxDate) { maxDraw this._daylightSavingAdjust(new Date(maxDate.getFullYear(), maxDate.getMonth() - (numMonths0 * numMonths1) + 1, maxDate.getDate())); maxDraw (minDate && maxDraw minDate ? minDate : maxDraw); while (this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1)) > maxDraw) { drawMonth--; if (drawMonth 0) { drawMonth 11; drawYear--; } } } inst.drawMonth drawMonth; inst.drawYear drawYear; prevText this._get(inst, prevText); prevText (!navigationAsDateFormat ? prevText : this.formatDate(prevText, this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)), this._getFormatConfig(inst))); prev (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ? a classui-datepicker-prev ui-corner-all data-handlerprev data-eventclick + title + prevText + >span classui-icon ui-icon-circle-triangle- + ( isRTL ? e : w) + > + prevText + /span>/a> : (hideIfNoPrevNext ? : a classui-datepicker-prev ui-corner-all ui-state-disabled title+ prevText +>span classui-icon ui-icon-circle-triangle- + ( isRTL ? e : w) + > + prevText + /span>/a>)); nextText this._get(inst, nextText); nextText (!navigationAsDateFormat ? nextText : this.formatDate(nextText, this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)), this._getFormatConfig(inst))); next (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ? a classui-datepicker-next ui-corner-all data-handlernext data-eventclick + title + nextText + >span classui-icon ui-icon-circle-triangle- + ( isRTL ? w : e) + > + nextText + /span>/a> : (hideIfNoPrevNext ? : a classui-datepicker-next ui-corner-all ui-state-disabled title+ nextText + >span classui-icon ui-icon-circle-triangle- + ( isRTL ? w : e) + > + nextText + /span>/a>)); currentText this._get(inst, currentText); gotoDate (this._get(inst, gotoCurrent) && inst.currentDay ? currentDate : today); currentText (!navigationAsDateFormat ? currentText : this.formatDate(currentText, gotoDate, this._getFormatConfig(inst))); controls (!inst.inline ? button typebutton classui-datepicker-close ui-state-default ui-priority-primary ui-corner-all data-handlerhide data-eventclick> + this._get(inst, closeText) + /button> : ); buttonPanel (showButtonPanel) ? div classui-datepicker-buttonpane ui-widget-content> + (isRTL ? controls : ) + (this._isInRange(inst, gotoDate) ? button typebutton classui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all data-handlertoday data-eventclick + > + currentText + /button> : ) + (isRTL ? : controls) + /div> : ; firstDay parseInt(this._get(inst, firstDay),10); firstDay (isNaN(firstDay) ? 0 : firstDay); showWeek this._get(inst, showWeek); dayNames this._get(inst, dayNames); dayNamesMin this._get(inst, dayNamesMin); monthNames this._get(inst, monthNames); monthNamesShort this._get(inst, monthNamesShort); beforeShowDay this._get(inst, beforeShowDay); showOtherMonths this._get(inst, showOtherMonths); selectOtherMonths this._get(inst, selectOtherMonths); defaultDate this._getDefaultDate(inst); html ; dow; for (row 0; row numMonths0; row++) { group ; this.maxRows 4; for (col 0; col numMonths1; col++) { selectedDate this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay)); cornerClass ui-corner-all; calender ; if (isMultiMonth) { calender + div classui-datepicker-group; if (numMonths1 > 1) { switch (col) { case 0: calender + ui-datepicker-group-first; cornerClass ui-corner- + (isRTL ? right : left); break; case numMonths1-1: calender + ui-datepicker-group-last; cornerClass ui-corner- + (isRTL ? left : right); break; default: calender + ui-datepicker-group-middle; cornerClass ; break; } } calender + >; } calender + div classui-datepicker-header ui-widget-header ui-helper-clearfix + cornerClass + > + (/all|left/.test(cornerClass) && row 0 ? (isRTL ? next : prev) : ) + (/all|right/.test(cornerClass) && row 0 ? (isRTL ? prev : next) : ) + this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate, row > 0 || col > 0, monthNames, monthNamesShort) + // draw month headers /div>table classui-datepicker-calendar>caption styledisplay:none;>Calendar/caption>thead> + tr>; thead (showWeek ? th classui-datepicker-week-col> + this._get(inst, weekHeader) + /th> : ); for (dow 0; dow 7; dow++) { // days of the week day (dow + firstDay) % 7; thead + th + ((dow + firstDay + 6) % 7 > 5 ? classui-datepicker-week-end : ) + > + span title + dayNamesday + > + dayNamesMinday + /span>/th>; } calender + thead + /tr>/thead>tbody>; daysInMonth this._getDaysInMonth(drawYear, drawMonth); if (drawYear inst.selectedYear && drawMonth inst.selectedMonth) { inst.selectedDay Math.min(inst.selectedDay, daysInMonth); } leadDays (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7; curRows Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate numRows (isMultiMonth ? this.maxRows > curRows ? this.maxRows : curRows : curRows); //If multiple months, use the higher number of rows (see #7043) this.maxRows numRows; printDate this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1 - leadDays)); for (dRow 0; dRow numRows; dRow++) { // create date picker rows calender + tr>; tbody (!showWeek ? : td classui-datepicker-week-col> + this._get(inst, calculateWeek)(printDate) + /td>); for (dow 0; dow 7; dow++) { // create date picker days daySettings (beforeShowDay ? beforeShowDay.apply((inst.input ? inst.input0 : null), printDate) : true, ); otherMonth (printDate.getMonth() ! drawMonth); unselectable (otherMonth && !selectOtherMonths) || !daySettings0 || (minDate && printDate minDate) || (maxDate && printDate > maxDate); tbody + td class + ((dow + firstDay + 6) % 7 > 5 ? ui-datepicker-week-end : ) + // highlight weekends (otherMonth ? ui-datepicker-other-month : ) + // highlight days from other months ((printDate.getTime() selectedDate.getTime() && drawMonth inst.selectedMonth && inst._keyEvent) || // user pressed key (defaultDate.getTime() printDate.getTime() && defaultDate.getTime() selectedDate.getTime()) ? // or defaultDate is current printedDate and defaultDate is selectedDate + this._dayOverClass : ) + // highlight selected day (unselectable ? + this._unselectableClass + ui-state-disabled: ) + // highlight unselectable days (otherMonth && !showOtherMonths ? : + daySettings1 + // highlight custom dates (printDate.getTime() currentDate.getTime() ? + this._currentClass : ) + // highlight selected day (printDate.getTime() today.getTime() ? ui-datepicker-today : )) + + // highlight today (if different) ((!otherMonth || showOtherMonths) && daySettings2 ? title + daySettings2.replace(//g, ') + : ) + // cell title (unselectable ? : data-handlerselectDay data-eventclick data-month + printDate.getMonth() + data-year + printDate.getFullYear() + ) + > + // actions (otherMonth && !showOtherMonths ? : // display for other months (unselectable ? span classui-state-default> + printDate.getDate() + /span> : a classui-state-default + (printDate.getTime() today.getTime() ? ui-state-highlight : ) + (printDate.getTime() currentDate.getTime() ? ui-state-active : ) + // highlight selected day (otherMonth ? ui-priority-secondary : ) + // distinguish dates from other months href#> + printDate.getDate() + /a>)) + /td>; // display selectable date printDate.setDate(printDate.getDate() + 1); printDate this._daylightSavingAdjust(printDate); } calender + tbody + /tr>; } drawMonth++; if (drawMonth > 11) { drawMonth 0; drawYear++; } calender + /tbody>/table> + (isMultiMonth ? /div> + ((numMonths0 > 0 && col numMonths1-1) ? div classui-datepicker-row-break>/div> : ) : ); group + calender; } html + group; } html + buttonPanel; inst._keyEvent false; return html; }, _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate, secondary, monthNames, monthNamesShort) { var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear, changeMonth this._get(inst, changeMonth), changeYear this._get(inst, changeYear), showMonthAfterYear this._get(inst, showMonthAfterYear), html div classui-datepicker-title>, monthHtml ; if (secondary || !changeMonth) { monthHtml + span classui-datepicker-month> + monthNamesdrawMonth + /span>; } else { inMinYear (minDate && minDate.getFullYear() drawYear); inMaxYear (maxDate && maxDate.getFullYear() drawYear); monthHtml + select classui-datepicker-month data-handlerselectMonth data-eventchange>; for ( month 0; month 12; month++) { if ((!inMinYear || month > minDate.getMonth()) && (!inMaxYear || month maxDate.getMonth())) { monthHtml + option value + month + + (month drawMonth ? selectedselected : ) + > + monthNamesShortmonth + /option>; } } monthHtml + /select>; } if (!showMonthAfterYear) { html + monthHtml + (secondary || !(changeMonth && changeYear) ? : ); } if ( !inst.yearshtml ) { inst.yearshtml ; if (secondary || !changeYear) { html + span classui-datepicker-year> + drawYear + /span>; } else { years this._get(inst, yearRange).split(:); thisYear new Date().getFullYear(); determineYear function(value) { var year (value.match(/c+\-.*/) ? drawYear + parseInt(value.substring(1), 10) : (value.match(/+\-.*/) ? thisYear + parseInt(value, 10) : parseInt(value, 10))); return (isNaN(year) ? thisYear : year); }; year determineYear(years0); endYear Math.max(year, determineYear(years1 || )); year (minDate ? Math.max(year, minDate.getFullYear()) : year); endYear (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear); inst.yearshtml + select classui-datepicker-year data-handlerselectYear data-eventchange>; for (; year endYear; year++) { inst.yearshtml + option value + year + + (year drawYear ? selectedselected : ) + > + year + /option>; } inst.yearshtml + /select>; html + inst.yearshtml; inst.yearshtml null; } } html + this._get(inst, yearSuffix); if (showMonthAfterYear) { html + (secondary || !(changeMonth && changeYear) ? : ) + monthHtml; } html + /div>; // Close datepicker_header return html; }, _adjustInstDate: function(inst, offset, period) { var year inst.drawYear + (period Y ? offset : 0), month inst.drawMonth + (period M ? offset : 0), day Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) + (period D ? offset : 0), date this._restrictMinMax(inst, this._daylightSavingAdjust(new Date(year, month, day))); inst.selectedDay date.getDate(); inst.drawMonth inst.selectedMonth date.getMonth(); inst.drawYear inst.selectedYear date.getFullYear(); if (period M || period Y) { this._notifyChange(inst); } }, _restrictMinMax: function(inst, date) { var minDate this._getMinMaxDate(inst, min), maxDate this._getMinMaxDate(inst, max), newDate (minDate && date minDate ? minDate : date); return (maxDate && newDate > maxDate ? maxDate : newDate); }, _notifyChange: function(inst) { var onChange this._get(inst, onChangeMonthYear); if (onChange) { onChange.apply((inst.input ? inst.input0 : null), inst.selectedYear, inst.selectedMonth + 1, inst); } }, _getNumberOfMonths: function(inst) { var numMonths this._get(inst, numberOfMonths); return (numMonths null ? 1, 1 : (typeof numMonths number ? 1, numMonths : numMonths)); }, _getMinMaxDate: function(inst, minMax) { return this._determineDate(inst, this._get(inst, minMax + Date), null); }, _getDaysInMonth: function(year, month) { return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate(); }, _getFirstDayOfMonth: function(year, month) { return new Date(year, month, 1).getDay(); }, _canAdjustMonth: function(inst, offset, curYear, curMonth) { var numMonths this._getNumberOfMonths(inst), date this._daylightSavingAdjust(new Date(curYear, curMonth + (offset 0 ? offset : numMonths0 * numMonths1), 1)); if (offset 0) { date.setDate(this._getDaysInMonth(date.getFullYear(), date.getMonth())); } return this._isInRange(inst, date); }, _isInRange: function(inst, date) { var yearSplit, currentYear, minDate this._getMinMaxDate(inst, min), maxDate this._getMinMaxDate(inst, max), minYear null, maxYear null, years this._get(inst, yearRange); if (years){ yearSplit years.split(:); currentYear new Date().getFullYear(); minYear parseInt(yearSplit0, 10); maxYear parseInt(yearSplit1, 10); if ( yearSplit0.match(/+\-.*/) ) { minYear + currentYear; } if ( yearSplit1.match(/+\-.*/) ) { maxYear + currentYear; } } return ((!minDate || date.getTime() > minDate.getTime()) && (!maxDate || date.getTime() maxDate.getTime()) && (!minYear || date.getFullYear() > minYear) && (!maxYear || date.getFullYear() maxYear)); }, _getFormatConfig: function(inst) { var shortYearCutoff this._get(inst, shortYearCutoff); shortYearCutoff (typeof shortYearCutoff ! string ? shortYearCutoff : new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10)); return {shortYearCutoff: shortYearCutoff, dayNamesShort: this._get(inst, dayNamesShort), dayNames: this._get(inst, dayNames), monthNamesShort: this._get(inst, monthNamesShort), monthNames: this._get(inst, monthNames)}; }, _formatDate: function(inst, day, month, year) { if (!day) { inst.currentDay inst.selectedDay; inst.currentMonth inst.selectedMonth; inst.currentYear inst.selectedYear; } var date (day ? (typeof day object ? day : this._daylightSavingAdjust(new Date(year, month, day))) : this._daylightSavingAdjust(new Date(inst.currentYear, inst.currentMonth, inst.currentDay))); return this.formatDate(this._get(inst, dateFormat), date, this._getFormatConfig(inst)); }});function bindHover(dpDiv) { var selector button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a; return dpDiv.delegate(selector, mouseout, function() { $(this).removeClass(ui-state-hover); if (this.className.indexOf(ui-datepicker-prev) ! -1) { $(this).removeClass(ui-datepicker-prev-hover); } if (this.className.indexOf(ui-datepicker-next) ! -1) { $(this).removeClass(ui-datepicker-next-hover); } }) .delegate(selector, mouseover, function(){ if (!$.datepicker._isDisabledDatepicker( instActive.inline ? dpDiv.parent()0 : instActive.input0)) { $(this).parents(.ui-datepicker-calendar).find(a).removeClass(ui-state-hover); $(this).addClass(ui-state-hover); if (this.className.indexOf(ui-datepicker-prev) ! -1) { $(this).addClass(ui-datepicker-prev-hover); } if (this.className.indexOf(ui-datepicker-next) ! -1) { $(this).addClass(ui-datepicker-next-hover); } } });}function extendRemove(target, props) { $.extend(target, props); for (var name in props) { if (propsname null) { targetname propsname; } } return target;}$.fn.datepicker function(options){ if ( !this.length ) { return this; } if (!$.datepicker.initialized) { $(document).mousedown($.datepicker._checkExternalClick); $.datepicker.initialized true; } if ($(#+$.datepicker._mainDivId).length 0) { $(body).append($.datepicker.dpDiv); } var otherArgs Array.prototype.slice.call(arguments, 1); if (typeof options string && (options isDisabled || options getDate || options widget)) { return $.datepicker_ + options + Datepicker. apply($.datepicker, this0.concat(otherArgs)); } if (options option && arguments.length 2 && typeof arguments1 string) { return $.datepicker_ + options + Datepicker. apply($.datepicker, this0.concat(otherArgs)); } return this.each(function() { typeof options string ? $.datepicker_ + options + Datepicker. apply($.datepicker, this.concat(otherArgs)) : $.datepicker._attachDatepicker(this, options); });};$.datepicker new Datepicker();$.datepicker.initialized false;$.datepicker.uuid new Date().getTime();$.datepicker.version 1.10.4;})(jQuery);(function( $, undefined ) {var sizeRelatedOptions { buttons: true, height: true, maxHeight: true, maxWidth: true, minHeight: true, minWidth: true, width: true }, resizableRelatedOptions { maxHeight: true, maxWidth: true, minHeight: true, minWidth: true };$.widget( ui.dialog, { version: 1.10.4, options: { appendTo: body, autoOpen: true, buttons: , closeOnEscape: true, closeText: close, dialogClass: , draggable: true, hide: null, height: auto, maxHeight: null, maxWidth: null, minHeight: 150, minWidth: 150, modal: false, position: { my: center, at: center, of: window, collision: fit, using: function( pos ) { var topOffset $( this ).css( pos ).offset().top; if ( topOffset 0 ) { $( this ).css( top, pos.top - topOffset ); } } }, resizable: true, show: null, title: null, width: 300, beforeClose: null, close: null, drag: null, dragStart: null, dragStop: null, focus: null, open: null, resize: null, resizeStart: null, resizeStop: null }, _create: function() { this.originalCss { display: this.element0.style.display, width: this.element0.style.width, minHeight: this.element0.style.minHeight, maxHeight: this.element0.style.maxHeight, height: this.element0.style.height }; this.originalPosition { parent: this.element.parent(), index: this.element.parent().children().index( this.element ) }; this.originalTitle this.element.attr(title); this.options.title this.options.title || this.originalTitle; this._createWrapper(); this.element .show() .removeAttr(title) .addClass(ui-dialog-content ui-widget-content) .appendTo( this.uiDialog ); this._createTitlebar(); this._createButtonPane(); if ( this.options.draggable && $.fn.draggable ) { this._makeDraggable(); } if ( this.options.resizable && $.fn.resizable ) { this._makeResizable(); } this._isOpen false; }, _init: function() { if ( this.options.autoOpen ) { this.open(); } }, _appendTo: function() { var element this.options.appendTo; if ( element && (element.jquery || element.nodeType) ) { return $( element ); } return this.document.find( element || body ).eq( 0 ); }, _destroy: function() { var next, originalPosition this.originalPosition; this._destroyOverlay(); this.element .removeUniqueId() .removeClass(ui-dialog-content ui-widget-content) .css( this.originalCss ) .detach(); this.uiDialog.stop( true, true ).remove(); if ( this.originalTitle ) { this.element.attr( title, this.originalTitle ); } next originalPosition.parent.children().eq( originalPosition.index ); if ( next.length && next0 ! this.element0 ) { next.before( this.element ); } else { originalPosition.parent.append( this.element ); } }, widget: function() { return this.uiDialog; }, disable: $.noop, enable: $.noop, close: function( event ) { var activeElement, that this; if ( !this._isOpen || this._trigger( beforeClose, event ) false ) { return; } this._isOpen false; this._destroyOverlay(); if ( !this.opener.filter(:focusable).focus().length ) { try { activeElement this.document 0 .activeElement; if ( activeElement && activeElement.nodeName.toLowerCase() ! body ) { $( activeElement ).blur(); } } catch ( error ) {} } this._hide( this.uiDialog, this.options.hide, function() { that._trigger( close, event ); }); }, isOpen: function() { return this._isOpen; }, moveToTop: function() { this._moveToTop(); }, _moveToTop: function( event, silent ) { var moved !!this.uiDialog.nextAll(:visible).insertBefore( this.uiDialog ).length; if ( moved && !silent ) { this._trigger( focus, event ); } return moved; }, open: function() { var that this; if ( this._isOpen ) { if ( this._moveToTop() ) { this._focusTabbable(); } return; } this._isOpen true; this.opener $( this.document0.activeElement ); this._size(); this._position(); this._createOverlay(); this._moveToTop( null, true ); this._show( this.uiDialog, this.options.show, function() { that._focusTabbable(); that._trigger(focus); }); this._trigger(open); }, _focusTabbable: function() { var hasFocus this.element.find(autofocus); if ( !hasFocus.length ) { hasFocus this.element.find(:tabbable); } if ( !hasFocus.length ) { hasFocus this.uiDialogButtonPane.find(:tabbable); } if ( !hasFocus.length ) { hasFocus this.uiDialogTitlebarClose.filter(:tabbable); } if ( !hasFocus.length ) { hasFocus this.uiDialog; } hasFocus.eq( 0 ).focus(); }, _keepFocus: function( event ) { function checkFocus() { var activeElement this.document0.activeElement, isActive this.uiDialog0 activeElement || $.contains( this.uiDialog0, activeElement ); if ( !isActive ) { this._focusTabbable(); } } event.preventDefault(); checkFocus.call( this ); this._delay( checkFocus ); }, _createWrapper: function() { this.uiDialog $(div>) .addClass( ui-dialog ui-widget ui-widget-content ui-corner-all ui-front + this.options.dialogClass ) .hide() .attr({ tabIndex: -1, role: dialog }) .appendTo( this._appendTo() ); this._on( this.uiDialog, { keydown: function( event ) { if ( this.options.closeOnEscape && !event.isDefaultPrevented() && event.keyCode && event.keyCode $.ui.keyCode.ESCAPE ) { event.preventDefault(); this.close( event ); return; } if ( event.keyCode ! $.ui.keyCode.TAB ) { return; } var tabbables this.uiDialog.find(:tabbable), first tabbables.filter(:first), last tabbables.filter(:last); if ( ( event.target last0 || event.target this.uiDialog0 ) && !event.shiftKey ) { first.focus( 1 ); event.preventDefault(); } else if ( ( event.target first0 || event.target this.uiDialog0 ) && event.shiftKey ) { last.focus( 1 ); event.preventDefault(); } }, mousedown: function( event ) { if ( this._moveToTop( event ) ) { this._focusTabbable(); } } }); if ( !this.element.find(aria-describedby).length ) { this.uiDialog.attr({ aria-describedby: this.element.uniqueId().attr(id) }); } }, _createTitlebar: function() { var uiDialogTitle; this.uiDialogTitlebar $(div>) .addClass(ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix) .prependTo( this.uiDialog ); this._on( this.uiDialogTitlebar, { mousedown: function( event ) { if ( !$( event.target ).closest(.ui-dialog-titlebar-close) ) { this.uiDialog.focus(); } } }); this.uiDialogTitlebarClose $( button typebutton>/button> ) .button({ label: this.options.closeText, icons: { primary: ui-icon-closethick }, text: false }) .addClass(ui-dialog-titlebar-close) .appendTo( this.uiDialogTitlebar ); this._on( this.uiDialogTitlebarClose, { click: function( event ) { event.preventDefault(); this.close( event ); } }); uiDialogTitle $(span>) .uniqueId() .addClass(ui-dialog-title) .prependTo( this.uiDialogTitlebar ); this._title( uiDialogTitle ); this.uiDialog.attr({ aria-labelledby: uiDialogTitle.attr(id) }); }, _title: function( title ) { if ( !this.options.title ) { title.html( ); } title.text( this.options.title ); }, _createButtonPane: function() { this.uiDialogButtonPane $(div>) .addClass(ui-dialog-buttonpane ui-widget-content ui-helper-clearfix); this.uiButtonSet $(div>) .addClass(ui-dialog-buttonset) .appendTo( this.uiDialogButtonPane ); this._createButtons(); }, _createButtons: function() { var that this, buttons this.options.buttons; this.uiDialogButtonPane.remove(); this.uiButtonSet.empty(); if ( $.isEmptyObject( buttons ) || ($.isArray( buttons ) && !buttons.length) ) { this.uiDialog.removeClass(ui-dialog-buttons); return; } $.each( buttons, function( name, props ) { var click, buttonOptions; props $.isFunction( props ) ? { click: props, text: name } : props; props $.extend( { type: button }, props ); click props.click; props.click function() { click.apply( that.element0, arguments ); }; buttonOptions { icons: props.icons, text: props.showText }; delete props.icons; delete props.showText; $( button>/button>, props ) .button( buttonOptions ) .appendTo( that.uiButtonSet ); }); this.uiDialog.addClass(ui-dialog-buttons); this.uiDialogButtonPane.appendTo( this.uiDialog ); }, _makeDraggable: function() { var that this, options this.options; function filteredUi( ui ) { return { position: ui.position, offset: ui.offset }; } this.uiDialog.draggable({ cancel: .ui-dialog-content, .ui-dialog-titlebar-close, handle: .ui-dialog-titlebar, containment: document, start: function( event, ui ) { $( this ).addClass(ui-dialog-dragging); that._blockFrames(); that._trigger( dragStart, event, filteredUi( ui ) ); }, drag: function( event, ui ) { that._trigger( drag, event, filteredUi( ui ) ); }, stop: function( event, ui ) { options.position ui.position.left - that.document.scrollLeft(), ui.position.top - that.document.scrollTop() ; $( this ).removeClass(ui-dialog-dragging); that._unblockFrames(); that._trigger( dragStop, event, filteredUi( ui ) ); } }); }, _makeResizable: function() { var that this, options this.options, handles options.resizable, position this.uiDialog.css(position), resizeHandles typeof handles string ? handles : n,e,s,w,se,sw,ne,nw; function filteredUi( ui ) { return { originalPosition: ui.originalPosition, originalSize: ui.originalSize, position: ui.position, size: ui.size }; } this.uiDialog.resizable({ cancel: .ui-dialog-content, containment: document, alsoResize: this.element, maxWidth: options.maxWidth, maxHeight: options.maxHeight, minWidth: options.minWidth, minHeight: this._minHeight(), handles: resizeHandles, start: function( event, ui ) { $( this ).addClass(ui-dialog-resizing); that._blockFrames(); that._trigger( resizeStart, event, filteredUi( ui ) ); }, resize: function( event, ui ) { that._trigger( resize, event, filteredUi( ui ) ); }, stop: function( event, ui ) { options.height $( this ).height(); options.width $( this ).width(); $( this ).removeClass(ui-dialog-resizing); that._unblockFrames(); that._trigger( resizeStop, event, filteredUi( ui ) ); } }) .css( position, position ); }, _minHeight: function() { var options this.options; return options.height auto ? options.minHeight : Math.min( options.minHeight, options.height ); }, _position: function() { var isVisible this.uiDialog.is(:visible); if ( !isVisible ) { this.uiDialog.show(); } this.uiDialog.position( this.options.position ); if ( !isVisible ) { this.uiDialog.hide(); } }, _setOptions: function( options ) { var that this, resize false, resizableOptions {}; $.each( options, function( key, value ) { that._setOption( key, value ); if ( key in sizeRelatedOptions ) { resize true; } if ( key in resizableRelatedOptions ) { resizableOptions key value; } }); if ( resize ) { this._size(); this._position(); } if ( this.uiDialog.is(:data(ui-resizable)) ) { this.uiDialog.resizable( option, resizableOptions ); } }, _setOption: function( key, value ) { var isDraggable, isResizable, uiDialog this.uiDialog; if ( key dialogClass ) { uiDialog .removeClass( this.options.dialogClass ) .addClass( value ); } if ( key disabled ) { return; } this._super( key, value ); if ( key appendTo ) { this.uiDialog.appendTo( this._appendTo() ); } if ( key buttons ) { this._createButtons(); } if ( key closeText ) { this.uiDialogTitlebarClose.button({ label: + value }); } if ( key draggable ) { isDraggable uiDialog.is(:data(ui-draggable)); if ( isDraggable && !value ) { uiDialog.draggable(destroy); } if ( !isDraggable && value ) { this._makeDraggable(); } } if ( key position ) { this._position(); } if ( key resizable ) { isResizable uiDialog.is(:data(ui-resizable)); if ( isResizable && !value ) { uiDialog.resizable(destroy); } if ( isResizable && typeof value string ) { uiDialog.resizable( option, handles, value ); } if ( !isResizable && value ! false ) { this._makeResizable(); } } if ( key title ) { this._title( this.uiDialogTitlebar.find(.ui-dialog-title) ); } }, _size: function() { var nonContentHeight, minContentHeight, maxContentHeight, options this.options; this.element.show().css({ width: auto, minHeight: 0, maxHeight: none, height: 0 }); if ( options.minWidth > options.width ) { options.width options.minWidth; } nonContentHeight this.uiDialog.css({ height: auto, width: options.width }) .outerHeight(); minContentHeight Math.max( 0, options.minHeight - nonContentHeight ); maxContentHeight typeof options.maxHeight number ? Math.max( 0, options.maxHeight - nonContentHeight ) : none; if ( options.height auto ) { this.element.css({ minHeight: minContentHeight, maxHeight: maxContentHeight, height: auto }); } else { this.element.height( Math.max( 0, options.height - nonContentHeight ) ); } if (this.uiDialog.is(:data(ui-resizable)) ) { this.uiDialog.resizable( option, minHeight, this._minHeight() ); } }, _blockFrames: function() { this.iframeBlocks this.document.find( iframe ).map(function() { var iframe $( this ); return $( div> ) .css({ position: absolute, width: iframe.outerWidth(), height: iframe.outerHeight() }) .appendTo( iframe.parent() ) .offset( iframe.offset() )0; }); }, _unblockFrames: function() { if ( this.iframeBlocks ) { this.iframeBlocks.remove(); delete this.iframeBlocks; } }, _allowInteraction: function( event ) { if ( $( event.target ).closest(.ui-dialog).length ) { return true; } return !!$( event.target ).closest(.ui-datepicker).length; }, _createOverlay: function() { if ( !this.options.modal ) { return; } var that this, widgetFullName this.widgetFullName; if ( !$.ui.dialog.overlayInstances ) { this._delay(function() { if ( $.ui.dialog.overlayInstances ) { this.document.bind( focusin.dialog, function( event ) { if ( !that._allowInteraction( event ) ) { event.preventDefault(); $(.ui-dialog:visible:last .ui-dialog-content) .data( widgetFullName )._focusTabbable(); } }); } }); } this.overlay $(div>) .addClass(ui-widget-overlay ui-front) .appendTo( this._appendTo() ); this._on( this.overlay, { mousedown: _keepFocus }); $.ui.dialog.overlayInstances++; }, _destroyOverlay: function() { if ( !this.options.modal ) { return; } if ( this.overlay ) { $.ui.dialog.overlayInstances--; if ( !$.ui.dialog.overlayInstances ) { this.document.unbind( focusin.dialog ); } this.overlay.remove(); this.overlay null; } }});$.ui.dialog.overlayInstances 0;if ( $.uiBackCompat ! false ) { $.widget( ui.dialog, $.ui.dialog, { _position: function() { var position this.options.position, myAt , offset 0, 0 , isVisible; if ( position ) { if ( typeof position string || (typeof position object && 0 in position ) ) { myAt position.split ? position.split( ) : position0, position1 ; if ( myAt.length 1 ) { myAt1 myAt0; } $.each( left, top , function( i, offsetPosition ) { if ( +myAt i myAt i ) { offset i myAt i ; myAt i offsetPosition; } }); position { my: myAt0 + (offset0 0 ? offset0 : + + offset0) + + myAt1 + (offset1 0 ? offset1 : + + offset1), at: myAt.join( ) }; } position $.extend( {}, $.ui.dialog.prototype.options.position, position ); } else { position $.ui.dialog.prototype.options.position; } isVisible this.uiDialog.is(:visible); if ( !isVisible ) { this.uiDialog.show(); } this.uiDialog.position( position ); if ( !isVisible ) { this.uiDialog.hide(); } } });}}( jQuery ) );(function( $ ) {function modifier( fn ) { return function() { var previous this.element.val(); fn.apply( this, arguments ); this._refresh(); if ( previous ! this.element.val() ) { this._trigger( change ); } };}$.widget( ui.spinner, { version: 1.10.4, defaultElement: input>, widgetEventPrefix: spin, options: { culture: null, icons: { down: ui-icon-triangle-1-s, up: ui-icon-triangle-1-n }, incremental: true, max: null, min: null, numberFormat: null, page: 10, step: 1, change: null, spin: null, start: null, stop: null }, _create: function() { // handle string values that need to be parsed this._setOption( max, this.options.max ); this._setOption( min, this.options.min ); this._setOption( step, this.options.step ); if ( this.value() ! ) { // Format the value, but dont constrain. this._value( this.element.val(), true ); } this._draw(); this._on( this._events ); this._refresh(); this._on( this.window, { beforeunload: function() { this.element.removeAttr( autocomplete ); } }); }, _getCreateOptions: function() { var options {}, element this.element; $.each( min, max, step , function( i, option ) { var value element.attr( option ); if ( value ! undefined && value.length ) { options option value; } }); return options; }, _events: { keydown: function( event ) { if ( this._start( event ) && this._keydown( event ) ) { event.preventDefault(); } }, keyup: _stop, focus: function() { this.previous this.element.val(); }, blur: function( event ) { if ( this.cancelBlur ) { delete this.cancelBlur; return; } this._stop(); this._refresh(); if ( this.previous ! this.element.val() ) { this._trigger( change, event ); } }, mousewheel: function( event, delta ) { if ( !delta ) { return; } if ( !this.spinning && !this._start( event ) ) { return false; } this._spin( (delta > 0 ? 1 : -1) * this.options.step, event ); clearTimeout( this.mousewheelTimer ); this.mousewheelTimer this._delay(function() { if ( this.spinning ) { this._stop( event ); } }, 100 ); event.preventDefault(); }, mousedown .ui-spinner-button: function( event ) { var previous; previous this.element0 this.document0.activeElement ? this.previous : this.element.val(); function checkFocus() { var isActive this.element0 this.document0.activeElement; if ( !isActive ) { this.element.focus(); this.previous previous; this._delay(function() { this.previous previous; }); } } event.preventDefault(); checkFocus.call( this ); this.cancelBlur true; this._delay(function() { delete this.cancelBlur; checkFocus.call( this ); }); if ( this._start( event ) false ) { return; } this._repeat( null, $( event.currentTarget ).hasClass( ui-spinner-up ) ? 1 : -1, event ); }, mouseup .ui-spinner-button: _stop, mouseenter .ui-spinner-button: function( event ) { if ( !$( event.currentTarget ).hasClass( ui-state-active ) ) { return; } if ( this._start( event ) false ) { return false; } this._repeat( null, $( event.currentTarget ).hasClass( ui-spinner-up ) ? 1 : -1, event ); }, mouseleave .ui-spinner-button: _stop }, _draw: function() { var uiSpinner this.uiSpinner this.element .addClass( ui-spinner-input ) .attr( autocomplete, off ) .wrap( this._uiSpinnerHtml() ) .parent() // add buttons .append( this._buttonHtml() ); this.element.attr( role, spinbutton ); this.buttons uiSpinner.find( .ui-spinner-button ) .attr( tabIndex, -1 ) .button() .removeClass( ui-corner-all ); if ( this.buttons.height() > Math.ceil( uiSpinner.height() * 0.5 ) && uiSpinner.height() > 0 ) { uiSpinner.height( uiSpinner.height() ); } if ( this.options.disabled ) { this.disable(); } }, _keydown: function( event ) { var options this.options, keyCode $.ui.keyCode; switch ( event.keyCode ) { case keyCode.UP: this._repeat( null, 1, event ); return true; case keyCode.DOWN: this._repeat( null, -1, event ); return true; case keyCode.PAGE_UP: this._repeat( null, options.page, event ); return true; case keyCode.PAGE_DOWN: this._repeat( null, -options.page, event ); return true; } return false; }, _uiSpinnerHtml: function() { return span classui-spinner ui-widget ui-widget-content ui-corner-all>/span>; }, _buttonHtml: function() { return + a classui-spinner-button ui-spinner-up ui-corner-tr> + span classui-icon + this.options.icons.up + >▲/span> + /a> + a classui-spinner-button ui-spinner-down ui-corner-br> + span classui-icon + this.options.icons.down + >▼/span> + /a>; }, _start: function( event ) { if ( !this.spinning && this._trigger( start, event ) false ) { return false; } if ( !this.counter ) { this.counter 1; } this.spinning true; return true; }, _repeat: function( i, steps, event ) { i i || 500; clearTimeout( this.timer ); this.timer this._delay(function() { this._repeat( 40, steps, event ); }, i ); this._spin( steps * this.options.step, event ); }, _spin: function( step, event ) { var value this.value() || 0; if ( !this.counter ) { this.counter 1; } value this._adjustValue( value + step * this._increment( this.counter ) ); if ( !this.spinning || this._trigger( spin, event, { value: value } ) ! false) { this._value( value ); this.counter++; } }, _increment: function( i ) { var incremental this.options.incremental; if ( incremental ) { return $.isFunction( incremental ) ? incremental( i ) : Math.floor( i*i*i/50000 - i*i/500 + 17*i/200 + 1 ); } return 1; }, _precision: function() { var precision this._precisionOf( this.options.step ); if ( this.options.min ! null ) { precision Math.max( precision, this._precisionOf( this.options.min ) ); } return precision; }, _precisionOf: function( num ) { var str num.toString(), decimal str.indexOf( . ); return decimal -1 ? 0 : str.length - decimal - 1; }, _adjustValue: function( value ) { var base, aboveMin, options this.options; base options.min ! null ? options.min : 0; aboveMin value - base; aboveMin Math.round(aboveMin / options.step) * options.step; value base + aboveMin; value parseFloat( value.toFixed( this._precision() ) ); if ( options.max ! null && value > options.max) { return options.max; } if ( options.min ! null && value options.min ) { return options.min; } return value; }, _stop: function( event ) { if ( !this.spinning ) { return; } clearTimeout( this.timer ); clearTimeout( this.mousewheelTimer ); this.counter 0; this.spinning false; this._trigger( stop, event ); }, _setOption: function( key, value ) { if ( key culture || key numberFormat ) { var prevValue this._parse( this.element.val() ); this.options key value; this.element.val( this._format( prevValue ) ); return; } if ( key max || key min || key step ) { if ( typeof value string ) { value this._parse( value ); } } if ( key icons ) { this.buttons.first().find( .ui-icon ) .removeClass( this.options.icons.up ) .addClass( value.up ); this.buttons.last().find( .ui-icon ) .removeClass( this.options.icons.down ) .addClass( value.down ); } this._super( key, value ); if ( key disabled ) { if ( value ) { this.element.prop( disabled, true ); this.buttons.button( disable ); } else { this.element.prop( disabled, false ); this.buttons.button( enable ); } } }, _setOptions: modifier(function( options ) { this._super( options ); this._value( this.element.val() ); }), _parse: function( val ) { if ( typeof val string && val ! ) { val window.Globalize && this.options.numberFormat ? Globalize.parseFloat( val, 10, this.options.culture ) : +val; } return val || isNaN( val ) ? null : val; }, _format: function( value ) { if ( value ) { return ; } return window.Globalize && this.options.numberFormat ? Globalize.format( value, this.options.numberFormat, this.options.culture ) : value; }, _refresh: function() { this.element.attr({ aria-valuemin: this.options.min, aria-valuemax: this.options.max, // TODO: what should we do with values that cant be parsed? aria-valuenow: this._parse( this.element.val() ) }); }, _value: function( value, allowAny ) { var parsed; if ( value ! ) { parsed this._parse( value ); if ( parsed ! null ) { if ( !allowAny ) { parsed this._adjustValue( parsed ); } value this._format( parsed ); } } this.element.val( value ); this._refresh(); }, _destroy: function() { this.element .removeClass( ui-spinner-input ) .prop( disabled, false ) .removeAttr( autocomplete ) .removeAttr( role ) .removeAttr( aria-valuemin ) .removeAttr( aria-valuemax ) .removeAttr( aria-valuenow ); this.uiSpinner.replaceWith( this.element ); }, stepUp: modifier(function( steps ) { this._stepUp( steps ); }), _stepUp: function( steps ) { if ( this._start() ) { this._spin( (steps || 1) * this.options.step ); this._stop(); } }, stepDown: modifier(function( steps ) { this._stepDown( steps ); }), _stepDown: function( steps ) { if ( this._start() ) { this._spin( (steps || 1) * -this.options.step ); this._stop(); } }, pageUp: modifier(function( pages ) { this._stepUp( (pages || 1) * this.options.page ); }), pageDown: modifier(function( pages ) { this._stepDown( (pages || 1) * this.options.page ); }), value: function( newVal ) { if ( !arguments.length ) { return this._parse( this.element.val() ); } modifier( this._value ).call( this, newVal ); }, widget: function() { return this.uiSpinner; }});}( jQuery ) );(function( $ ) {var increments 0;function addDescribedBy( elem, id ) { var describedby (elem.attr( aria-describedby ) || ).split( /\s+/ ); describedby.push( id ); elem .data( ui-tooltip-id, id ) .attr( aria-describedby, $.trim( describedby.join( ) ) );}function removeDescribedBy( elem ) { var id elem.data( ui-tooltip-id ), describedby (elem.attr( aria-describedby ) || ).split( /\s+/ ), index $.inArray( id, describedby ); if ( index ! -1 ) { describedby.splice( index, 1 ); } elem.removeData( ui-tooltip-id ); describedby $.trim( describedby.join( ) ); if ( describedby ) { elem.attr( aria-describedby, describedby ); } else { elem.removeAttr( aria-describedby ); }}$.widget( ui.tooltip, { version: 1.10.4, options: { content: function() { var title $( this ).attr( title ) || ; return $( a> ).text( title ).html(); }, hide: true, items: title:not(disabled), position: { my: left top+15, at: left bottom, collision: flipfit flip }, show: true, tooltipClass: null, track: false, close: null, open: null }, _create: function() { this._on({ mouseover: open, focusin: open }); this.tooltips {}; this.parents {}; if ( this.options.disabled ) { this._disable(); } }, _setOption: function( key, value ) { var that this; if ( key disabled ) { this value ? _disable : _enable (); this.options key value; return; } this._super( key, value ); if ( key content ) { $.each( this.tooltips, function( id, element ) { that._updateContent( element ); }); } }, _disable: function() { var that this; $.each( this.tooltips, function( id, element ) { var event $.Event( blur ); event.target event.currentTarget element0; that.close( event, true ); }); this.element.find( this.options.items ).addBack().each(function() { var element $( this ); if ( element.is( title ) ) { element .data( ui-tooltip-title, element.attr( title ) ) .attr( title, ); } }); }, _enable: function() { this.element.find( this.options.items ).addBack().each(function() { var element $( this ); if ( element.data( ui-tooltip-title ) ) { element.attr( title, element.data( ui-tooltip-title ) ); } }); }, open: function( event ) { var that this, target $( event ? event.target : this.element ) .closest( this.options.items ); if ( !target.length || target.data( ui-tooltip-id ) ) { return; } if ( target.attr( title ) ) { target.data( ui-tooltip-title, target.attr( title ) ); } target.data( ui-tooltip-open, true ); if ( event && event.type mouseover ) { target.parents().each(function() { var parent $( this ), blurEvent; if ( parent.data( ui-tooltip-open ) ) { blurEvent $.Event( blur ); blurEvent.target blurEvent.currentTarget this; that.close( blurEvent, true ); } if ( parent.attr( title ) ) { parent.uniqueId(); that.parents this.id { element: this, title: parent.attr( title ) }; parent.attr( title, ); } }); } this._updateContent( target, event ); }, _updateContent: function( target, event ) { var content, contentOption this.options.content, that this, eventType event ? event.type : null; if ( typeof contentOption string ) { return this._open( event, target, contentOption ); } content contentOption.call( target0, function( response ) { if ( !target.data( ui-tooltip-open ) ) { return; } that._delay(function() { if ( event ) { event.type eventType; } this._open( event, target, response ); }); }); if ( content ) { this._open( event, target, content ); } }, _open: function( event, target, content ) { var tooltip, events, delayedShow, positionOption $.extend( {}, this.options.position ); if ( !content ) { return; } tooltip this._find( target ); if ( tooltip.length ) { tooltip.find( .ui-tooltip-content ).html( content ); return; } if ( target.is( title ) ) { if ( event && event.type mouseover ) { target.attr( title, ); } else { target.removeAttr( title ); } } tooltip this._tooltip( target ); addDescribedBy( target, tooltip.attr( id ) ); tooltip.find( .ui-tooltip-content ).html( content ); function position( event ) { positionOption.of event; if ( tooltip.is( :hidden ) ) { return; } tooltip.position( positionOption ); } if ( this.options.track && event && /^mouse/.test( event.type ) ) { this._on( this.document, { mousemove: position }); position( event ); } else { tooltip.position( $.extend({ of: target }, this.options.position ) ); } tooltip.hide(); this._show( tooltip, this.options.show ); if ( this.options.show && this.options.show.delay ) { delayedShow this.delayedShow setInterval(function() { if ( tooltip.is( :visible ) ) { position( positionOption.of ); clearInterval( delayedShow ); } }, $.fx.interval ); } this._trigger( open, event, { tooltip: tooltip } ); events { keyup: function( event ) { if ( event.keyCode $.ui.keyCode.ESCAPE ) { var fakeEvent $.Event(event); fakeEvent.currentTarget target0; this.close( fakeEvent, true ); } }, remove: function() { this._removeTooltip( tooltip ); } }; if ( !event || event.type mouseover ) { events.mouseleave close; } if ( !event || event.type focusin ) { events.focusout close; } this._on( true, target, events ); }, close: function( event ) { var that this, target $( event ? event.currentTarget : this.element ), tooltip this._find( target ); if ( this.closing ) { return; } clearInterval( this.delayedShow ); if ( target.data( ui-tooltip-title ) ) { target.attr( title, target.data( ui-tooltip-title ) ); } removeDescribedBy( target ); tooltip.stop( true ); this._hide( tooltip, this.options.hide, function() { that._removeTooltip( $( this ) ); }); target.removeData( ui-tooltip-open ); this._off( target, mouseleave focusout keyup ); if ( target0 ! this.element0 ) { this._off( target, remove ); } this._off( this.document, mousemove ); if ( event && event.type mouseleave ) { $.each( this.parents, function( id, parent ) { $( parent.element ).attr( title, parent.title ); delete that.parents id ; }); } this.closing true; this._trigger( close, event, { tooltip: tooltip } ); this.closing false; }, _tooltip: function( element ) { var id ui-tooltip- + increments++, tooltip $( div> ) .attr({ id: id, role: tooltip }) .addClass( ui-tooltip ui-widget ui-corner-all ui-widget-content + ( this.options.tooltipClass || ) ); $( div> ) .addClass( ui-tooltip-content ) .appendTo( tooltip ); tooltip.appendTo( this.document0.body ); this.tooltips id element; return tooltip; }, _find: function( target ) { var id target.data( ui-tooltip-id ); return id ? $( # + id ) : $(); }, _removeTooltip: function( tooltip ) { tooltip.remove(); delete this.tooltips tooltip.attr( id ) ; }, _destroy: function() { var that this; $.each( this.tooltips, function( id, element ) { var event $.Event( blur ); event.target event.currentTarget element0; that.close( event, true ); $( # + id ).remove(); if ( element.data( ui-tooltip-title ) ) { element.attr( title, element.data( ui-tooltip-title ) ); element.removeData( ui-tooltip-title ); } }); }});}(jQuery));/script>script>jQuery(function(a){a.datepicker.regional.es{closeText:Cerrar,preposition:de ,prevText:<Ant,nextText:Sig>,currentText:Hoy,monthNames:Enero Febrero Marzo Abril Mayo Junio Julio Agosto Septiembre Octubre Noviembre Diciembre.split( ),monthNamesShort:Ene Feb Mar Abr May Jun Jul Ago Sep Oct Nov Dic.split( ),dayNames:Domingo Lunes Martes Miércoles Jueves Viernes Sábado.split( ),dayNamesShort:Dom Lun Mar Mié Juv Vie Sáb.split( ),dayNamesMin:Do Lu Ma Mi Ju Vi Sá.split( ),weekHeader:Sm,dateFormat:dd/mm/yy,firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:};a.datepicker.setDefaults(a.datepicker.regional.es)});/script>script>(function() { var $ jQuery; var LightboxOptions (function() { function LightboxOptions() { this.fadeDuration 500; this.fitImagesInViewport true; this.resizeDuration 700; this.positionFromTop 50; this.showImageNumberLabel true; this.alwaysShowNavOnTouchDevices false; this.wrapAround false; } LightboxOptions.prototype.albumLabel function(curImageNum, albumSize) { return Image + curImageNum + of + albumSize; }; return LightboxOptions; })(); var Lightbox (function() { function Lightbox(options) { this.options options; this.album ; this.currentImageIndex void 0; this.init(); } Lightbox.prototype.init function() { this.enable(); this.build(); }; Lightbox.prototype.enable function() { var self this; $(body).on(click, arel^lightbox, arearel^lightbox, adata-lightbox, areadata-lightbox, function(event) { self.start($(event.currentTarget)); return false; }); }; Lightbox.prototype.build function() { var self this; $(div idlightboxOverlay classlightboxOverlay>/div>div idlightbox classlightbox>div classlb-outerContainer>div classlb-container>img classlb-image src />div classlb-nav>a classlb-prev href >/a>a classlb-next href >/a>/div>div classlb-loader>a classlb-cancel>/a>/div>/div>/div>div classlb-dataContainer>div classlb-data>div classlb-details>span classlb-caption>/span>span classlb-number>/span>/div>div classlb-closeContainer>a classlb-close>/a>/div>/div>/div>/div>).appendTo($(body)); this.$lightbox $(#lightbox); this.$overlay $(#lightboxOverlay); this.$outerContainer this.$lightbox.find(.lb-outerContainer); this.$container this.$lightbox.find(.lb-container); this.containerTopPadding parseInt(this.$container.css(padding-top), 10); this.containerRightPadding parseInt(this.$container.css(padding-right), 10); this.containerBottomPadding parseInt(this.$container.css(padding-bottom), 10); this.containerLeftPadding parseInt(this.$container.css(padding-left), 10); this.$overlay.hide().on(click, function() { self.end(); return false; }); this.$lightbox.hide().on(click, function(event) { if ($(event.target).attr(id) lightbox) { self.end(); } return false; }); this.$outerContainer.on(click, function(event) { if ($(event.target).attr(id) lightbox) { self.end(); } return false; }); this.$lightbox.find(.lb-prev).on(click, function() { if (self.currentImageIndex 0) { self.changeImage(self.album.length - 1); } else { self.changeImage(self.currentImageIndex - 1); } return false; }); this.$lightbox.find(.lb-next).on(click, function() { if (self.currentImageIndex self.album.length - 1) { self.changeImage(0); } else { self.changeImage(self.currentImageIndex + 1); } return false; }); this.$lightbox.find(.lb-loader, .lb-close).on(click, function() { self.end(); return false; }); }; Lightbox.prototype.start function($link) { var self this; var $window $(window); $window.on(resize, $.proxy(this.sizeOverlay, this)); $(select, object, embed).css({ visibility: hidden }); this.sizeOverlay(); this.album ; var imageNumber 0; function addToAlbum($link) { self.album.push({ link: $link.attr(href), title: $link.attr(data-title) || $link.attr(title) }); } var dataLightboxValue $link.attr(data-lightbox); var $links; if (dataLightboxValue) { $links $($link.prop(tagName) + data-lightbox + dataLightboxValue + ); for (var i 0; i $links.length; i ++i) { addToAlbum($($linksi)); if ($linksi $link0) { imageNumber i; } } } else { if ($link.attr(rel) lightbox) { // If image is not part of a set addToAlbum($link); } else { // If image is part of a set $links $($link.prop(tagName) + rel + $link.attr(rel) + ); for (var j 0; j $links.length; j ++j) { addToAlbum($($linksj)); if ($linksj $link0) { imageNumber j; } } } } var top $window.scrollTop() + this.options.positionFromTop; var left $window.scrollLeft(); this.$lightbox.css({ top: top + px, left: left + px }).fadeIn(this.options.fadeDuration); this.changeImage(imageNumber); }; Lightbox.prototype.changeImage function(imageNumber) { var self this; this.disableKeyboardNav(); var $image this.$lightbox.find(.lb-image); this.$overlay.fadeIn(this.options.fadeDuration); $(.lb-loader).fadeIn(slow); this.$lightbox.find(.lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption).hide(); this.$outerContainer.addClass(animating); var preloader new Image(); preloader.onload function() { var $preloader, imageHeight, imageWidth, maxImageHeight, maxImageWidth, windowHeight, windowWidth; $image.attr(src, self.albumimageNumber.link); $preloader $(preloader); $image.width(preloader.width); $image.height(preloader.height); if (self.options.fitImagesInViewport) { windowWidth $(window).width(); windowHeight $(window).height(); maxImageWidth windowWidth - self.containerLeftPadding - self.containerRightPadding - 20; maxImageHeight windowHeight - self.containerTopPadding - self.containerBottomPadding - 120; if ((preloader.width > maxImageWidth) || (preloader.height > maxImageHeight)) { if ((preloader.width / maxImageWidth) > (preloader.height / maxImageHeight)) { imageWidth maxImageWidth; imageHeight parseInt(preloader.height / (preloader.width / imageWidth), 10); $image.width(imageWidth); $image.height(imageHeight); } else { imageHeight maxImageHeight; imageWidth parseInt(preloader.width / (preloader.height / imageHeight), 10); $image.width(imageWidth); $image.height(imageHeight); } } } self.sizeContainer($image.width(), $image.height()); }; preloader.src this.albumimageNumber.link; this.currentImageIndex imageNumber; }; Lightbox.prototype.sizeOverlay function() { this.$overlay .width($(window).width()) .height($(document).height()); }; Lightbox.prototype.sizeContainer function(imageWidth, imageHeight) { var self this; var oldWidth this.$outerContainer.outerWidth(); var oldHeight this.$outerContainer.outerHeight(); var newWidth imageWidth + this.containerLeftPadding + this.containerRightPadding; var newHeight imageHeight + this.containerTopPadding + this.containerBottomPadding; function postResize() { self.$lightbox.find(.lb-dataContainer).width(newWidth); self.$lightbox.find(.lb-prevLink).height(newHeight); self.$lightbox.find(.lb-nextLink).height(newHeight); self.showImage(); } if (oldWidth ! newWidth || oldHeight ! newHeight) { this.$outerContainer.animate({ width: newWidth, height: newHeight }, this.options.resizeDuration, swing, function() { postResize(); }); } else { postResize(); } }; Lightbox.prototype.showImage function() { this.$lightbox.find(.lb-loader).hide(); this.$lightbox.find(.lb-image).fadeIn(slow); this.updateNav(); this.updateDetails(); this.preloadNeighboringImages(); this.enableKeyboardNav(); }; Lightbox.prototype.updateNav function() { var alwaysShowNav false; try { document.createEvent(TouchEvent); alwaysShowNav (this.options.alwaysShowNavOnTouchDevices)? true: false; } catch (e) {} this.$lightbox.find(.lb-nav).show(); if (this.album.length > 1) { if (this.options.wrapAround) { if (alwaysShowNav) { this.$lightbox.find(.lb-prev, .lb-next).css(opacity, 1); } this.$lightbox.find(.lb-prev, .lb-next).show(); } else { if (this.currentImageIndex > 0) { this.$lightbox.find(.lb-prev).show(); if (alwaysShowNav) { this.$lightbox.find(.lb-prev).css(opacity, 1); } } if (this.currentImageIndex this.album.length - 1) { this.$lightbox.find(.lb-next).show(); if (alwaysShowNav) { this.$lightbox.find(.lb-next).css(opacity, 1); } } } } }; Lightbox.prototype.updateDetails function() { var self this; if (typeof this.albumthis.currentImageIndex.title ! undefined && this.albumthis.currentImageIndex.title ! ) { this.$lightbox.find(.lb-caption) .html(this.albumthis.currentImageIndex.title) .fadeIn(fast) .find(a).on(click, function(event){ location.href $(this).attr(href); }); } if (this.album.length > 1 && this.options.showImageNumberLabel) { this.$lightbox.find(.lb-number).text(this.options.albumLabel(this.currentImageIndex + 1, this.album.length)).fadeIn(fast); } else { this.$lightbox.find(.lb-number).hide(); } this.$outerContainer.removeClass(animating); this.$lightbox.find(.lb-dataContainer).fadeIn(this.options.resizeDuration, function() { return self.sizeOverlay(); }); }; Lightbox.prototype.preloadNeighboringImages function() { if (this.album.length > this.currentImageIndex + 1) { var preloadNext new Image(); preloadNext.src this.albumthis.currentImageIndex + 1.link; } if (this.currentImageIndex > 0) { var preloadPrev new Image(); preloadPrev.src this.albumthis.currentImageIndex - 1.link; } }; Lightbox.prototype.enableKeyboardNav function() { $(document).on(keyup.keyboard, $.proxy(this.keyboardAction, this)); }; Lightbox.prototype.disableKeyboardNav function() { $(document).off(.keyboard); }; Lightbox.prototype.keyboardAction function(event) { var KEYCODE_ESC 27; var KEYCODE_LEFTARROW 37; var KEYCODE_RIGHTARROW 39; var keycode event.keyCode; var key String.fromCharCode(keycode).toLowerCase(); if (keycode KEYCODE_ESC || key.match(/x|o|c/)) { this.end(); } else if (key p || keycode KEYCODE_LEFTARROW) { if (this.currentImageIndex ! 0) { this.changeImage(this.currentImageIndex - 1); } else if (this.options.wrapAround && this.album.length > 1) { this.changeImage(this.album.length - 1); } } else if (key n || keycode KEYCODE_RIGHTARROW) { if (this.currentImageIndex ! this.album.length - 1) { this.changeImage(this.currentImageIndex + 1); } else if (this.options.wrapAround && this.album.length > 1) { this.changeImage(0); } } }; Lightbox.prototype.end function() { this.disableKeyboardNav(); $(window).off(resize, this.sizeOverlay); this.$lightbox.fadeOut(this.options.fadeDuration); this.$overlay.fadeOut(this.options.fadeDuration); $(select, object, embed).css({ visibility: visible }); }; return Lightbox; })(); $(function() { var options new LightboxOptions(); var lightbox new Lightbox(options); });}).call(this);/script>script>!function(a){var bselectric,cfunction(a){var b,c40-46 50-53 54-57 62-70 71-74 61 47 77.replace(/\d+/g,\\3$&).split( );for(b in c){if(!c.hasOwnProperty(b))return;aa.toLowerCase().replace(RegExp(+cb+,g),aeiouncy.charAt(b))}return a},dfunction(a){var barguments;return(+a).replace(/{(\d+|(\w+))}/g,function(a,c,d){return d&&b1?b1d:bc})},efunction(e,f){function g(){function e(a){/^(9|13|27)$/.test(a.keyCode||a.which)&&(a.stopPropagation(),l(x,!0))}var gD.children(),hul>,jg.filter(:+R).index();yx~j?j:0,(Cg.length)&&(g.each(function(b){var ea(this),ge.html(),ie.prop(disabled),jf.optionsItemBuilder;Ib{value:e.val(),text:g,slug:c(g),disabled:i},h+d(li class{1}>{2}/li>,a.trim(by?R:,bC-1?last:,i?disabled:.join( )),a.isFunction(j)?j(Ib,e,b):d(j,Ib))}),G.html(h+/ul>),J.html(Iy.text)),F.add(D).off(K),H.data(b,!0).prop(class,s6,D.prop(class),P,f.responsive?s8:.join( )),D.prop(disabled)?E.prop(disabled,!0):(H.removeClass(P).hover(function(){a(this).toggleClass(s7)}),f.openOnHover&&F.on(mouseenter+K,i),F.on(N,function(a){u?k():i(a)}),E.prop(disabled,!1).off().on({keypress:e,keydown:function(a){e(a),clearTimeout(w),wsetTimeout(function(){E.val()},f.keySearchTimeout);var ba.keyCode||a.which;b>36&&41>b&&l(39>b?o():n())},focusin:function(a){E.one(blur,function(){E.blur()}),u||i(a)}}).on(S,function(){E.val().length&&a.each(I,function(a,b){return RegExp(^+E.val(),i).test(b.slug)&&!b.disabled?(l(a),!1):void 0})}),va(li,G.removeAttr(style)).click(function(){return l(a(this).index(),!0),!1}))}function h(){var aG.closest(:visible).children(:hidden),bf.maxHeight;a.addClass(Q);var cG.outerWidth(),dF.outerWidth()-(c-G.width());!f.expandToItemText||d>c?Bd:(G.css(overflow,scroll),H.width(9e4),BG.width(),G.css(overflow,),H.width()),G.width(B).height()>b&&G.height(b),a.removeClass(Q)}function i(b){b.preventDefault(),b.stopPropagation(),h(),a(.+O).removeClass(O),u!0,zG.outerHeight(),E.val().is(:focus)||E.focus(),L.on(N,k).on(scroll+K,j),j(),f.openOnHover&&(clearTimeout(A),H.one(mouseleave+K,function(){AsetTimeout(k,500)})),H.addClass(O),m(x),f.onOpen(e)}function j(){h(),G.css(top,H.offset().top+H.outerHeight()+z>M.scrollTop()+M.height()?-z:)}function k(a){if(!a&&y!x){var bIx.text;D.prop(selectedIndex,yx).data(value,b).trigger(change,b,y),f.onChange(e),J.html(b)}L.off(K),H.removeClass(O),u!1,f.onClose(e)}function l(a,b){Ixa.disabled||(v.removeClass(R).eq(a).addClass(R),m(a),b&&k())}function m(a){var bv.eq(a).outerHeight(),cva.offsetTop,dG.scrollTop(),ec+2*b;G.scrollTop(e>d+z?e-z:d>c-b?c-b:d)}function n(a){if(Ia(x+1)%C.disabled)for(;Ia(a+1)%C.disabled;);return a}function o(a){if(Ia(x>0?x:C)-1.disabled)for(;Ia(a>0?a:C)-1.disabled;);return a}fa.extend(!0,{onOpen:a.noop,onClose:a.noop,onChange:a.noop,maxHeight:300,keySearchTimeout:500,arrowButtonMarkup:b classbutton>▾/b>,disableOnMobile:!0,openOnHover:!1,expandToItemText:!1,responsive:!1,customClass:{prefix:selectric,postfixes:Input Items Open Disabled TempShow HideSelect Wrapper Hover Responsive,camelCase:!0},optionsItemBuilder:{text}},f);var p,qf.customClass,rq.postfixes.split( ),s;if(!f.disableOnMobile||!/andrroid|ipp(hone|od|ad)/i.test(navigator.userAgent)){for(;pr.shift();){var tq.prefix+p;s.push(q.camelCase?t:t.replace(/(A-Z)/g,-$&).toLowerCase())}var u,v,w,x,y,z,A,B,C,Da(e),Ea(input typetext class+s0+/>),Fa(div class+q.prefix+>p classlabel/>+f.arrowButtonMarkup+/div>),Ga(div class+s1+ tabindex-1>/div>),HD.data(b,!0).wrap(div>).parent().append(F.add(G).add(E)),I,Ja(.label,F),K.sl,La(document),Ma(window),Nclick+K,Os2,Ps3,Qs4,Rselected,Soninputin E0?input:keyup;D.wrap(div class+s5+>),g(),D.on({refresh:g,destroy:function(){G.add(F).add(E).remove(),D.removeData(b).removeData(value).off(K+ refresh destroy open close).unwrap().unwrap()},open:i,close:k})}};a.fnbfunction(c,d){return this.each(function(){a(this).data(b)?+cc&&a(this).trigger(c):e(this,c||d)})}}(jQuery);/script>script>!function(t){t.fn.unveilfunction(i,e){function n(){var il.filter(function(){var it(this);if(!i.is(:hidden)){var eo.scrollTop(),ne+o.height(),ri.offset().top;return r+i.height()>e-u&&rn+u}});ri.trigger(unveil),ll.not(r)}var r,ot(window),ui||0,swindow.devicePixelRatio>1?data-src-retina:data-src,lthis;return this.one(unveil,function(){var tthis.getAttribute(s);(tt||this.getAttribute(data-src))&&(this.setAttribute(src,t),functiontypeof e&&e.call(this))}),o.on(scroll.unveil resize.unveil lookup.unveil,n),n(),this}}(window.jQuery||window.Zepto);/script>script>(function(a,b,c){function g(a,c){var db.createElement(a||div),e;for(e in c)dece;return d}function h(a){for(var b1,carguments.length;bc;b++)a.appendChild(argumentsb);return a}function j(a,b,c,d){var gopacity,b,~~(a*100),c,d.join(-),h.01+c/d*100,jMath.max(1-(1-a)/b*(100-h),a),kf.substring(0,f.indexOf(Animation)).toLowerCase(),lk&&-+k+-||;return eg||(i.insertRule(@+l+keyframes +g+{+0%{opacity:+j+}+h+%{opacity:+a+}+(h+.01)+%{opacity:1}+(h+b)%100+%{opacity:+a+}+100%{opacity:+j+}+},0),eg1),g}function k(a,b){var ea.style,f,g;if(eb!c)return b;bb.charAt(0).toUpperCase()+b.slice(1);for(g0;gd.length;g++){fdg+b;if(ef!c)return f}}function l(a,b){for(var c in b)a.stylek(a,c)||cbc;return a}function m(a){for(var b1;barguments.length;b++){var dargumentsb;for(var e in d)aec&&(aede)}return a}function n(a){var b{x:a.offsetLeft,y:a.offsetTop};while(aa.offsetParent)b.x+a.offsetLeft,b.y+a.offsetTop;return b}var dwebkit,Moz,ms,O,e{},f,ifunction(){var ag(style);return h(b.getElementsByTagName(head)0,a),a.sheet||a.styleSheet}(),o{lines:12,length:7,width:5,radius:10,rotate:0,color:#000,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:spinner,top:auto,left:auto},pfunction q(a){if(!this.spin)return new q(a);this.optsm(a||{},q.defaults,o)};p.defaults{},m(p.prototype,{spin:function(a){this.stop();var bthis,cb.opts,db.ell(g(0,{className:c.className}),{position:relative,zIndex:c.zIndex}),ec.radius+c.length+c.width,h,i;a&&(a.insertBefore(d,a.firstChild||null),in(a),hn(d),l(d,{left:(c.leftauto?i.x-h.x+(a.offsetWidth>>1):c.left+e)+px,top:(c.topauto?i.y-h.y+(a.offsetHeight>>1):c.top+e)+px})),d.setAttribute(aria-role,progressbar),b.lines(d,b.opts);if(!f){var j0,kc.fps,mk/c.speed,o(1-c.opacity)/(m*c.trail/100),pm/c.lines;!function q(){j++;for(var ac.lines;a;a--){var eMath.max(1-(j+a*p)%m*o,c.opacity);b.opacity(d,c.lines-a,e,c)}b.timeoutb.el&&setTimeout(q,~~(1e3/k))}()}return b},stop:function(){var athis.el;return a&&(clearTimeout(this.timeout),a.parentNode&&a.parentNode.removeChild(a),this.elc),this},lines:function(a,b){function e(a,d){return l(g(),{position:absolute,width:b.length+b.width+px,height:b.width+px,background:a,boxShadow:d,transformOrigin:left,transform:rotate(+~~(360/b.lines*c+b.rotate)+deg) translate(+b.radius+px+,0),borderRadius:(b.width>>1)+px})}var c0,d;for(;cb.lines;c++)dl(g(),{position:absolute,top:1+~(b.width/2)+px,transform:b.hwaccel?translate3d(0,0,0):,opacity:b.opacity,animation:f&&j(b.opacity,b.trail,c,b.lines)+ +1/b.speed+s linear infinite}),b.shadow&&h(d,l(e(#000,0 0 4px #000),{top:2px})),h(a,h(d,e(b.color,0 0 1px rgba(0,0,0,.1))));return a},opacity:function(a,b,c){ba.childNodes.length&&(a.childNodesb.style.opacityc)}}),!function(){function a(a,b){return g(+a+ xmlnsurn:schemas-microsoft.com:vml classspin-vml>,b)}var bl(g(group),{behavior:url(#default#VML)});!k(b,transform)&&b.adj?(i.addRule(.spin-vml,behavior:url(#default#VML)),p.prototype.linesfunction(b,c){function f(){return l(a(group,{coordsize:e+ +e,coordorigin:-d+ + -d}),{width:e,height:e})}function k(b,e,g){h(i,h(l(f(),{rotation:360/c.lines*b+deg,left:~~e}),h(l(a(roundrect,{arcsize:1}),{width:d,height:c.width,left:c.radius,top:-c.width>>1,filter:g}),a(fill,{color:c.color,opacity:c.opacity}),a(stroke,{opacity:0}))))}var dc.length+c.width,e2*d,g-(c.width+c.length)*2+px,il(f(),{position:absolute,top:g,left:g}),j;if(c.shadow)for(j1;jc.lines;j++)k(j,-2,progid:DXImageTransform.Microsoft.Blur(pixelradius2,makeshadow1,shadowopacity.3));for(j1;jc.lines;j++)k(j);return h(b,i)},p.prototype.opacityfunction(a,b,c,d){var ea.firstChild;dd.shadow&&d.lines||0,e&&b+de.childNodes.length&&(ee.childNodesb+d,ee&&e.firstChild,ee&&e.firstChild,e&&(e.opacityc))}):fk(b,animation)}(),a.Spinnerp})(window,document);/script>script>(function(a){if(typeof definefunction&&define.amd&&define.amd.jQuery){define(jquery,a)}else{a(jQuery)}}(function(f){var pleft,oright,eup,xdown,cin,zout,mnone,sauto,lswipe,tpinch,Atap,jdoubletap,blongtap,yhold,Dhorizontal,uvertical,iall,r10,gstart,kmove,hend,qcancel,aontouchstart in window,vwindow.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,dwindow.navigator.pointerEnabled||window.navigator.msPointerEnabled,BTouchSwipe;var n{fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:true,triggerOnTouchLeave:false,allowPageScroll:auto,fallbackToMouseEvents:true,excludedElements:label, button, input, select, textarea, a, .noSwipe};f.fn.swipefunction(G){var Ff(this),EF.data(B);if(E&&typeof Gstring){if(EG){return EG.apply(this,Array.prototype.slice.call(arguments,1))}else{f.error(Method +G+ does not exist on jQuery.swipe)}}else{if(!E&&(typeof Gobject||!G)){return w.apply(this,arguments)}}return F};f.fn.swipe.defaultsn;f.fn.swipe.phases{PHASE_START:g,PHASE_MOVE:k,PHASE_END:h,PHASE_CANCEL:q};f.fn.swipe.directions{LEFT:p,RIGHT:o,UP:e,DOWN:x,IN:c,OUT:z};f.fn.swipe.pageScroll{NONE:m,HORIZONTAL:D,VERTICAL:u,AUTO:s};f.fn.swipe.fingers{ONE:1,TWO:2,THREE:3,ALL:i};function w(E){if(E&&(E.allowPageScrollundefined&&(E.swipe!undefined||E.swipeStatus!undefined))){E.allowPageScrollm}if(E.click!undefined&&E.tapundefined){E.tapE.click}if(!E){E{}}Ef.extend({},f.fn.swipe.defaults,E);return this.each(function(){var Gf(this);var FG.data(B);if(!F){Fnew C(this,E);G.data(B,F)}})}function C(a4,av){var az(a||d||!av.fallbackToMouseEvents),Jaz?(d?(v?MSPointerDown:pointerdown):touchstart):mousedown,ayaz?(d?(v?MSPointerMove:pointermove):touchmove):mousemove,Uaz?(d?(v?MSPointerUp:pointerup):touchend):mouseup,Saz?null:mouseleave,aD(d?(v?MSPointerCancel:pointercancel):touchcancel);var ag0,aPnull,ab0,a10,aZ0,G1,aq0,aJ0,Mnull;var aRf(a4);var Zstart;var W0;var aQnull;var T0,a20,a50,ad0,N0;var aWnull,afnull;try{aR.bind(J,aN);aR.bind(aD,a9)}catch(ak){f.error(events not supported +J+,+aD+ on jQuery.swipe)}this.enablefunction(){aR.bind(J,aN);aR.bind(aD,a9);return aR};this.disablefunction(){aK();return aR};this.destroyfunction(){aK();aR.data(B,null);return aR};this.optionfunction(bc,bb){if(avbc!undefined){if(bbundefined){return avbc}else{avbcbb}}else{f.error(Option +bc+ does not exist on jQuery.swipe.options)}return null};function aN(bd){if(aB()){return}if(f(bd.target).closest(av.excludedElements,aR).length>0){return}var bebd.originalEvent?bd.originalEvent:bd;var bc,bba?be.touches0:be;Zg;if(a){Wbe.touches.length}else{bd.preventDefault()}ag0;aPnull;aJnull;ab0;a10;aZ0;G1;aq0;aQaj();Maa();R();if(!a||(Wav.fingers||av.fingersi)||aX()){ai(0,bb);Tat();if(W2){ai(1,be.touches1);a1aZau(aQ0.start,aQ1.start)}if(av.swipeStatus||av.pinchStatus){bcO(be,Z)}}else{bcfalse}if(bcfalse){Zq;O(be,Z);return bc}else{if(av.hold){afsetTimeout(f.proxy(function(){aR.trigger(hold,be.target);if(av.hold){bcav.hold.call(aR,be,be.target)}},this),av.longTapThreshold)}ao(true)}return null}function a3(be){var bhbe.originalEvent?be.originalEvent:be;if(Zh||Zq||am()){return}var bd,bca?bh.touches0:bh;var bfaH(bc);a2at();if(a){Wbh.touches.length}if(av.hold){clearTimeout(af)}Zk;if(W2){if(a10){ai(1,bh.touches1);a1aZau(aQ0.start,aQ1.start)}else{aH(bh.touches1);aZau(aQ0.end,aQ1.end);aJar(aQ0.end,aQ1.end)}Ga7(a1,aZ);aqMath.abs(a1-aZ)}if((Wav.fingers||av.fingersi)||!a||aX()){aPaL(bf.start,bf.end);al(be,aP);agaS(bf.start,bf.end);abaM();aI(aP,ag);if(av.swipeStatus||av.pinchStatus){bdO(bh,Z)}if(!av.triggerOnTouchEnd||av.triggerOnTouchLeave){var bbtrue;if(av.triggerOnTouchLeave){var bgaY(this);bbE(bf.end,bg)}if(!av.triggerOnTouchEnd&&bb){ZaC(k)}else{if(av.triggerOnTouchLeave&&!bb){ZaC(h)}}if(Zq||Zh){O(bh,Z)}}}else{Zq;O(bh,Z)}if(bdfalse){Zq;O(bh,Z)}}function L(bb){var bcbb.originalEvent;if(a){if(bc.touches.length>0){F();return true}}if(am()){Wad}a2at();abaM();if(ba()||!an()){Zq;O(bc,Z)}else{if(av.triggerOnTouchEnd||(av.triggerOnTouchEndfalse&&Zk)){bb.preventDefault();Zh;O(bc,Z)}else{if(!av.triggerOnTouchEnd&&a6()){Zh;aF(bc,Z,A)}else{if(Zk){Zq;O(bc,Z)}}}}ao(false);return null}function a9(){W0;a20;T0;a10;aZ0;G1;R();ao(false)}function K(bb){var bcbb.originalEvent;if(av.triggerOnTouchLeave){ZaC(h);O(bc,Z)}}function aK(){aR.unbind(J,aN);aR.unbind(aD,a9);aR.unbind(ay,a3);aR.unbind(U,L);if(S){aR.unbind(S,K)}ao(false)}function aC(bf){var bebf;var bdaA();var bcan();var bbba();if(!bd||bb){beq}else{if(bc&&bfk&&(!av.triggerOnTouchEnd||av.triggerOnTouchLeave)){beh}else{if(!bc&&bfh&&av.triggerOnTouchLeave){beq}}}return be}function O(bd,bb){var bcundefined;if(I()||V()){bcaF(bd,bb,l)}else{if((P()||aX())&&bc!false){bcaF(bd,bb,t)}}if(aG()&&bc!false){bcaF(bd,bb,j)}else{if(ap()&&bc!false){bcaF(bd,bb,b)}else{if(ah()&&bc!false){bcaF(bd,bb,A)}}}if(bbq){a9(bd)}if(bbh){if(a){if(bd.touches.length0){a9(bd)}}else{a9(bd)}}return bc}function aF(be,bb,bd){var bcundefined;if(bdl){aR.trigger(swipeStatus,bb,aP||null,ag||0,ab||0,W,aQ);if(av.swipeStatus){bcav.swipeStatus.call(aR,be,bb,aP||null,ag||0,ab||0,W,aQ);if(bcfalse){return false}}if(bbh&&aV()){aR.trigger(swipe,aP,ag,ab,W,aQ);if(av.swipe){bcav.swipe.call(aR,be,aP,ag,ab,W,aQ);if(bcfalse){return false}}switch(aP){case p:aR.trigger(swipeLeft,aP,ag,ab,W,aQ);if(av.swipeLeft){bcav.swipeLeft.call(aR,be,aP,ag,ab,W,aQ)}break;case o:aR.trigger(swipeRight,aP,ag,ab,W,aQ);if(av.swipeRight){bcav.swipeRight.call(aR,be,aP,ag,ab,W,aQ)}break;case e:aR.trigger(swipeUp,aP,ag,ab,W,aQ);if(av.swipeUp){bcav.swipeUp.call(aR,be,aP,ag,ab,W,aQ)}break;case x:aR.trigger(swipeDown,aP,ag,ab,W,aQ);if(av.swipeDown){bcav.swipeDown.call(aR,be,aP,ag,ab,W,aQ)}break}}}if(bdt){aR.trigger(pinchStatus,bb,aJ||null,aq||0,ab||0,W,G,aQ);if(av.pinchStatus){bcav.pinchStatus.call(aR,be,bb,aJ||null,aq||0,ab||0,W,G,aQ);if(bcfalse){return false}}if(bbh&&a8()){switch(aJ){case c:aR.trigger(pinchIn,aJ||null,aq||0,ab||0,W,G,aQ);if(av.pinchIn){bcav.pinchIn.call(aR,be,aJ||null,aq||0,ab||0,W,G,aQ)}break;case z:aR.trigger(pinchOut,aJ||null,aq||0,ab||0,W,G,aQ);if(av.pinchOut){bcav.pinchOut.call(aR,be,aJ||null,aq||0,ab||0,W,G,aQ)}break}}}if(bdA){if(bbq||bbh){clearTimeout(aW);clearTimeout(af);if(Y()&&!H()){Nat();aWsetTimeout(f.proxy(function(){Nnull;aR.trigger(tap,be.target);if(av.tap){bcav.tap.call(aR,be,be.target)}},this),av.doubleTapThreshold)}else{Nnull;aR.trigger(tap,be.target);if(av.tap){bcav.tap.call(aR,be,be.target)}}}}else{if(bdj){if(bbq||bbh){clearTimeout(aW);Nnull;aR.trigger(doubletap,be.target);if(av.doubleTap){bcav.doubleTap.call(aR,be,be.target)}}}else{if(bdb){if(bbq||bbh){clearTimeout(aW);Nnull;aR.trigger(longtap,be.target);if(av.longTap){bcav.longTap.call(aR,be,be.target)}}}}}return bc}function an(){var bbtrue;if(av.threshold!null){bbag>av.threshold}return bb}function ba(){var bbfalse;if(av.cancelThreshold!null&&aP!null){bb(aT(aP)-ag)>av.cancelThreshold}return bb}function ae(){if(av.pinchThreshold!null){return aq>av.pinchThreshold}return true}function aA(){var bb;if(av.maxTimeThreshold){if(ab>av.maxTimeThreshold){bbfalse}else{bbtrue}}else{bbtrue}return bb}function al(bb,bc){if(av.allowPageScrollm||aX()){bb.preventDefault()}else{var bdav.allowPageScrolls;switch(bc){case p:if((av.swipeLeft&&bd)||(!bd&&av.allowPageScroll!D)){bb.preventDefault()}break;case o:if((av.swipeRight&&bd)||(!bd&&av.allowPageScroll!D)){bb.preventDefault()}break;case e:if((av.swipeUp&&bd)||(!bd&&av.allowPageScroll!u)){bb.preventDefault()}break;case x:if((av.swipeDown&&bd)||(!bd&&av.allowPageScroll!u)){bb.preventDefault()}break}}}function a8(){var bcaO();var bbX();var bdae();return bc&&bb&&bd}function aX(){return !!(av.pinchStatus||av.pinchIn||av.pinchOut)}function P(){return !!(a8()&&aX())}function aV(){var beaA();var bgan();var bdaO();var bbX();var bcba();var bf!bc&&bb&&bd&&bg&&be;return bf}function V(){return !!(av.swipe||av.swipeStatus||av.swipeLeft||av.swipeRight||av.swipeUp||av.swipeDown)}function I(){return !!(aV()&&V())}function aO(){return((Wav.fingers||av.fingersi)||!a)}function X(){return aQ0.end.x!0}function a6(){return !!(av.tap)}function Y(){return !!(av.doubleTap)}function aU(){return !!(av.longTap)}function Q(){if(Nnull){return false}var bbat();return(Y()&&((bb-N)av.doubleTapThreshold))}function H(){return Q()}function ax(){return((W1||!a)&&(isNaN(ag)||agav.threshold))}function a0(){return((ab>av.longTapThreshold)&&(agr))}function ah(){return !!(ax()&&a6())}function aG(){return !!(Q()&&Y())}function ap(){return !!(a0()&&aU())}function F(){a5at();adevent.touches.length+1}function R(){a50;ad0}function am(){var bbfalse;if(a5){var bcat()-a5;if(bcav.fingerReleaseThreshold){bbtrue}}return bb}function aB(){return !!(aR.data(B+_intouch)true)}function ao(bb){if(bbtrue){aR.bind(ay,a3);aR.bind(U,L);if(S){aR.bind(S,K)}}else{aR.unbind(ay,a3,false);aR.unbind(U,L,false);if(S){aR.unbind(S,K,false)}}aR.data(B+_intouch,bbtrue)}function ai(bc,bb){var bdbb.identifier!undefined?bb.identifier:0;aQbc.identifierbd;aQbc.start.xaQbc.end.xbb.pageX||bb.clientX;aQbc.start.yaQbc.end.ybb.pageY||bb.clientY;return aQbc}function aH(bb){var bdbb.identifier!undefined?bb.identifier:0;var bcac(bd);bc.end.xbb.pageX||bb.clientX;bc.end.ybb.pageY||bb.clientY;return bc}function ac(bc){for(var bb0;bbaQ.length;bb++){if(aQbb.identifierbc){return aQbb}}}function aj(){var bb;for(var bc0;bc5;bc++){bb.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0})}return bb}function aI(bb,bc){bcMath.max(bc,aT(bb));Mbb.distancebc}function aT(bb){if(Mbb){return Mbb.distance}return undefined}function aa(){var bb{};bbpaw(p);bboaw(o);bbeaw(e);bbxaw(x);return bb}function aw(bb){return{direction:bb,distance:0}}function aM(){return a2-T}function au(be,bd){var bcMath.abs(be.x-bd.x);var bbMath.abs(be.y-bd.y);return Math.round(Math.sqrt(bc*bc+bb*bb))}function a7(bb,bc){var bd(bc/bb)*1;return bd.toFixed(2)}function ar(){if(G1){return z}else{return c}}function aS(bc,bb){return Math.round(Math.sqrt(Math.pow(bb.x-bc.x,2)+Math.pow(bb.y-bc.y,2)))}function aE(be,bc){var bbbe.x-bc.x;var bgbc.y-be.y;var bdMath.atan2(bg,bb);var bfMath.round(bd*180/Math.PI);if(bf0){bf360-Math.abs(bf)}return bf}function aL(bc,bb){var bdaE(bc,bb);if((bd45)&&(bd>0)){return p}else{if((bd360)&&(bd>315)){return p}else{if((bd>135)&&(bd225)){return o}else{if((bd>45)&&(bd135)){return x}else{return e}}}}}function at(){var bbnew Date();return bb.getTime()}function aY(bb){bbf(bb);var bdbb.offset();var bc{left:bd.left,right:bd.left+bb.outerWidth(),top:bd.top,bottom:bd.top+bb.outerHeight()};return bc}function E(bb,bc){return(bb.x>bc.left&&bb.xbc.right&&bb.y>bc.top&&bb.ybc.bottom)}}}));if(typeof(console) undefined) { var console {} console.log console.error console.info console.debug console.warn console.trace console.dir console.dirxml console.group console.groupEnd console.time console.timeEnd console.assert console.profile console.groupCollapsed function() {};}if (window.tplogstrue) try { console.groupCollapsed(ThemePunch GreenSocks Logs); } catch(e) { }var oldgs window.GreenSockGlobals; oldgs_queue window._gsQueue;var punchgs window.GreenSockGlobals {};if (window.tplogstrue) try { console.info(Build GreenSock SandBox for ThemePunch Plugins); console.info(GreenSock TweenLite Engine Initalised by ThemePunch Plugin); } catch(e) {}(function(t,e){use strict;var it.GreenSockGlobalst.GreenSockGlobals||t;if(!i.TweenLite){var s,r,n,a,o,lfunction(t){var e,st.split(.),ri;for(e0;s.length>e;e++)rserrse||{};return r},hl(com.greensock),_1e-10,ufunction(t){var e,i,st.length;for(e0;e!s;i.push(te++));return i},mfunction(){},ffunction(){var tObject.prototype.toString,et.call();return function(i){return null!i&&(i instanceof Array||objecttypeof i&&!!i.push&&t.call(i)e)}}(),c{},pfunction(s,r,n,a){this.sccs?cs.sc:,csthis,this.gsClassnull,this.funcn;var o;this.checkfunction(h){for(var _,u,m,f,dr.length,vd;--d>-1;)(_crd||new p(rd,)).gsClass?(od_.gsClass,v--):h&&_.sc.push(this);if(0v&&n)for(u(com.greensock.+s).split(.),mu.pop(),fl(u.join(.))mthis.gsClassn.apply(n,o),a&&(imf,functiontypeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+/:)+s.split(.).pop(),,function(){return f}):se&&undefined!typeof module&&module.exports&&(module.exportsf)),d0;this.sc.length>d;d++)this.scd.check()},this.check(!0)},dt._gsDefinefunction(t,e,i,s){return new p(t,e,i,s)},vh._classfunction(t,e,i){return ee||function(){},d(t,,function(){return e},i),e};d.globalsi;var g0,0,1,1,T,yv(easing.Ease,function(t,e,i,s){this._funct,this._typei||0,this._powers||0,this._paramse?g.concat(e):g},!0),wy.map{},Py.registerfunction(t,e,i,s){for(var r,n,a,o,le.split(,),_l.length,u(i||easeIn,easeOut,easeInOut).split(,);--_>-1;)for(nl_,rs?v(easing.+n,null,!0):h.easingn||{},au.length;--a>-1;)oua,wn+.+owo+nrot.getRatio?t:to||new t};for(ny.prototype,n._calcEnd!1,n.getRatiofunction(t){if(this._func)return this._params0t,this._func.apply(null,this._params);var ethis._type,ithis._power,s1e?1-t:2e?t:.5>t?2*t:2*(1-t);return 1i?s*s:2i?s*s*s:3i?s*s*s*s:4i&&(s*s*s*s*s),1e?1-s:2e?s:.5>t?s/2:1-s/2},sLinear,Quad,Cubic,Quart,Quint,Strong,rs.length;--r>-1;)nsr+,Power+r,P(new y(null,null,1,r),n,easeOut,!0),P(new y(null,null,2,r),n,easeIn+(0r?,easeNone:)),P(new y(null,null,3,r),n,easeInOut);w.linearh.easing.Linear.easeIn,w.swingh.easing.Quad.easeInOut;var bv(events.EventDispatcher,function(t){this._listeners{},this._eventTargett||this});nb.prototype,n.addEventListenerfunction(t,e,i,s,r){rr||0;var n,l,hthis._listenerst,_0;for(nullh&&(this._listenersth),lh.length;--l>-1;)nhl,n.ce&&n.si?h.splice(l,1):0_&&r>n.pr&&(_l+1);h.splice(_,0,{c:e,s:i,up:s,pr:r}),this!a||o||a.wake()},n.removeEventListenerfunction(t,e){var i,sthis._listenerst;if(s)for(is.length;--i>-1;)if(si.ce)return s.splice(i,1),void 0},n.dispatchEventfunction(t){var e,i,s,rthis._listenerst;if(r)for(er.length,ithis._eventTarget;--e>-1;)sre,s&&(s.up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i))};var kt.requestAnimationFrame,At.cancelAnimationFrame,SDate.now||function(){return(new Date).getTime()},xS();for(sms,moz,webkit,o,rs.length;--r>-1&&!k;)ktsr+RequestAnimationFrame,Atsr+CancelAnimationFrame||tsr+CancelRequestAnimationFrame;v(Ticker,function(t,e){var i,s,r,n,l,hthis,uS(),fe!!1&&k,c500,p33,dfunction(t){var e,a,oS()-x;o>c&&(u+o-p),x+o,h.time(x-u)/1e3,eh.time-l,(!i||e>0||t!0)&&(h.frame++,l+e+(e>n?.004:n-e),a!0),t!!0&&(rs(d)),a&&h.dispatchEvent(tick)};b.call(h),h.timeh.frame0,h.tickfunction(){d(!0)},h.lagSmoothingfunction(t,e){ct||1/_,pMath.min(e,c,0)},h.sleepfunction(){null!r&&(f&&A?A(r):clearTimeout(r),sm,rnull,ha&&(o!1))},h.wakefunction(){null!r?h.sleep():h.frame>10&&(xS()-c+5),s0i?m:f&&k?k:function(t){return setTimeout(t,0|1e3*(l-h.time)+1)},ha&&(o!0),d(2)},h.fpsfunction(t){return arguments.length?(it,n1/(i||60),lthis.time+n,h.wake(),void 0):i},h.useRAFfunction(t){return arguments.length?(h.sleep(),ft,h.fps(i),void 0):f},h.fps(t),setTimeout(function(){f&&(!r||5>h.frame)&&h.useRAF(!1)},1500)}),nh.Ticker.prototypenew h.events.EventDispatcher,n.constructorh.Ticker;var Rv(core.Animation,function(t,e){if(this.varsee||{},this._durationthis._totalDurationt||0,this._delayNumber(e.delay)||0,this._timeScale1,this._activee.immediateRender!0,this.datae.data,this._reversede.reversed!0,B){o||a.wake();var ithis.vars.useFrames?q:B;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});aR.tickernew h.Ticker,nR.prototype,n._dirtyn._gcn._inittedn._paused!1,n._totalTimen._time0,n._rawPrevTime-1,n._nextn._lastn._onUpdaten._timelinen.timelinenull,n._paused!1;var Cfunction(){o&&S()-x>2e3&&a.wake(),setTimeout(C,2e3)};C(),n.playfunction(t,e){return null!t&&this.seek(t,e),this.reversed(!1).paused(!1)},n.pausefunction(t,e){return null!t&&this.seek(t,e),this.paused(!0)},n.resumefunction(t,e){return null!t&&this.seek(t,e),this.paused(!1)},n.seekfunction(t,e){return this.totalTime(Number(t),e!!1)},n.restartfunction(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,e!!1,!0)},n.reversefunction(t,e){return null!t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},n.renderfunction(){},n.invalidatefunction(){return this._timethis._totalTime0,this._inittedthis._gc!1,this._rawPrevTime-1,(this._gc||!this.timeline)&&this._enabled(!0),this},n.isActivefunction(){var t,ethis._timeline,ithis._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(te.rawTime())>i&&i+this.totalDuration()/this._timeScale>t},n._enabledfunction(t,e){return o||a.wake(),this._gc!t,this._activethis.isActive(),e!!0&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},n._killfunction(){return this._enabled(!1,!1)},n.killfunction(t,e){return this._kill(t,e),this},n._uncachefunction(t){for(var et?this:this.timeline;e;)e._dirty!0,ee.timeline;return this},n._swapSelfInParamsfunction(t){for(var et.length,it.concat();--e>-1;){self}te&&(iethis);return i},n.eventCallbackfunction(t,e,i,s){if(on(t||).substr(0,2)){var rthis.vars;if(1arguments.length)return rt;nulle?delete rt:(rte,rt+Paramsf(i)&&-1!i.join().indexOf({self})?this._swapSelfInParams(i):i,rt+Scopes),onUpdatet&&(this._onUpdatee)}return this},n.delayfunction(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delayt,this):this._delay},n.durationfunction(t){return arguments.length?(this._durationthis._totalDurationt,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration&&0!t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty!1,this._duration)},n.totalDurationfunction(t){return this._dirty!1,arguments.length?this.duration(t):this._totalDuration},n.timefunction(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},n.totalTimefunction(t,e,i){if(o||a.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var sthis._totalDuration,rthis._timeline;if(t>s&&!i&&(ts),this._startTime(this._paused?this._pauseTime:r._time)-(this._reversed?s-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),rr._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!t||0this._duration)&&(this.render(t,e,!1),z.length&&M())}return this},n.progressn.totalProgressfunction(t,e){return arguments.length?this.totalTime(this.duration()*t,e):this._time/this.duration()},n.startTimefunction(t){return arguments.length?(t!this._startTime&&(this._startTimet,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},n.endTimefunction(t){return this._startTime+(0!t?this.totalDuration():this.duration())/this._timeScale},n.timeScalefunction(t){if(!arguments.length)return this._timeScale;if(tt||_,this._timeline&&this._timeline.smoothChildTiming){var ethis._pauseTime,ie||0e?e:this._timeline.totalTime();this._startTimei-(i-this._startTime)*this._timeScale/t}return this._timeScalet,this._uncache(!1)},n.reversedfunction(t){return arguments.length?(t!this._reversed&&(this._reversedt,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},n.pausedfunction(t){if(!arguments.length)return this._paused;if(t!this._paused&&this._timeline){o||t||a.wake();var ethis._timeline,ie.rawTime(),si-this._pauseTime;!t&&e.smoothChildTiming&&(this._startTime+s,this._uncache(!1)),this._pauseTimet?i:null,this._pausedt,this._activethis.isActive(),!t&&0!s&&this._initted&&this.duration()&&this.render(e.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!t&&this._enabled(!0,!1),this};var Dv(core.SimpleTimeline,function(t){R.call(this,0,t),this.autoRemoveChildrenthis.smoothChildTiming!0});nD.prototypenew R,n.constructorD,n.kill()._gc!1,n._firstn._lastn._recentnull,n._sortChildren!1,n.addn.insertfunction(t,e){var i,s;if(t._startTimeNumber(e||0)+t._delay,t._paused&&this!t._timeline&&(t._pauseTimet._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timelinet._timelinethis,t._gc&&t._enabled(!0,!0),ithis._last,this._sortChildren)for(st._startTime;i&&i._startTime>s;)ii._prev;return i?(t._nexti._next,i._nextt):(t._nextthis._first,this._firstt),t._next?t._next._prevt:this._lastt,t._previ,this._recentt,this._timeline&&this._uncache(!0),this},n._removefunction(t,e){return t.timelinethis&&(e||t._enabled(!1,!0),t._prev?t._prev._nextt._next:this._firstt&&(this._firstt._next),t._next?t._next._prevt._prev:this._lastt&&(this._lastt._prev),t._nextt._prevt.timelinenull,tthis._recent&&(this._recentthis._last),this._timeline&&this._uncache(!0)),this},n.renderfunction(t,e,i){var s,rthis._first;for(this._totalTimethis._timethis._rawPrevTimet;r;)sr._next,(r._active||t>r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),rs},n.rawTimefunction(){return o||a.wake(),this._totalTime};var Iv(TweenLite,function(e,i,s){if(R.call(this,i,s),this.renderI.prototype.render,nulle)throwCannot tween a null target.;this.targetestring!typeof e?e:I.selector(e)||e;var r,n,a,oe.jquery||e.length&&e!t&&e0&&(e0t||e0.nodeType&&e0.style&&!e.nodeType),lthis.vars.overwrite;if(this._overwritelnulll?QI.defaultOverwrite:numbertypeof l?l>>0:Ql,(o||e instanceof Array||e.push&&f(e))&&number!typeof e0)for(this._targetsau(e),this._propLookup,this._siblings,r0;a.length>r;r++)nar,n?string!typeof n?n.length&&n!t&&n0&&(n0t||n0.nodeType&&n0.style&&!n.nodeType)?(a.splice(r--,1),this._targetsaa.concat(u(n))):(this._siblingsr$(n,this,!1),1l&&this._siblingsr.length>1&&H(n,this,null,1,this._siblingsr)):(nar--I.selector(n),stringtypeof n&&a.splice(r+1,1)):a.splice(r--,1);else this._propLookup{},this._siblings$(e,this,!1),1l&&this._siblings.length>1&&H(e,this,null,1,this._siblings);(this.vars.immediateRender||0i&&0this._delay&&this.vars.immediateRender!!1)&&(this._time-_,this.render(-this._delay))},!0),Efunction(e){return e&&e.length&&e!t&&e0&&(e0t||e0.nodeType&&e0.style&&!e.nodeType)},Ofunction(t,e){var i,s{};for(i in t)Gi||i in e&&transform!i&&x!i&&y!i&&width!i&&height!i&&className!i&&border!i||!(!Ui||Ui&&Ui._autoCSS)||(siti,delete ti);t.csss};nI.prototypenew R,n.constructorI,n.kill()._gc!1,n.ratio0,n._firstPTn._targetsn._overwrittenPropsn._startAtnull,n._notifyPluginsOfEnabledn._lazy!1,I.version1.14.2,I.defaultEasen._easenew y(null,null,1,1),I.defaultOverwriteauto,I.tickera,I.autoSleep!0,I.lagSmoothingfunction(t,e){a.lagSmoothing(t,e)},I.selectort.$||t.jQuery||function(e){var it.$||t.jQuery;return i?(I.selectori,i(e)):undefinedtypeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById(#e.charAt(0)?e.substr(1):e)};var z,L{},NI._internals{isArray:f,isSelector:E,lazyTweens:z},UI._plugins{},FN.tweenLookup{},j0,GN.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},Q{none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},qR._rootFramesTimelinenew D,BR._rootTimelinenew D,MN.lazyRenderfunction(){var t,ez.length;for(L{};--e>-1;)tze,t&&t._lazy!!1&&(t.render(t._lazy0,t._lazy1,!0),t._lazy!1);z.length0};B._startTimea.time,q._startTimea.frame,B._activeq._active!0,setTimeout(M,1),R._updateRootI.renderfunction(){var t,e,i;if(z.length&&M(),B.render((a.time-B._startTime)*B._timeScale,!1,!1),q.render((a.frame-q._startTime)*q._timeScale,!1,!1),z.length&&M(),!(a.frame%120)){for(i in F){for(eFi.tweens,te.length;--t>-1;)et._gc&&e.splice(t,1);0e.length&&delete Fi}if(iB._first,(!i||i._paused)&&I.autoSleep&&!q._first&&1a._listeners.tick.length){for(;i&&i._paused;)ii._next;i||a.sleep()}}},a.addEventListener(tick,R._updateRoot);var $function(t,e,i){var s,r,nt._gsTweenID;if(Fn||(t._gsTweenIDnt+j++)||(Fn{target:t,tweens:}),e&&(sFn.tweens,srs.lengthe,i))for(;--r>-1;)sre&&s.splice(r,1);return Fn.tweens},Kfunction(t,e,i,s){var r,n,at.vars.onOverwrite;return a&&(ra(t,e,i,s)),aI.onOverwrite,a&&(na(t,e,i,s)),r!!1&&n!!1},Hfunction(t,e,i,s,r){var n,a,o,l;if(1s||s>4){for(lr.length,n0;l>n;n++)if((orn)!e)o._gc||K(o,e)&&o._enabled(!1,!1)&&(a!0);else if(5s)break;return a}var h,ue._startTime+_,m,f0,c0e._duration;for(nr.length;--n>-1;)(orn)e||o._gc||o._paused||(o._timeline!e._timeline?(hh||J(e,0,c),0J(o,h,c)&&(mf++o)):u>o._startTime&&o._startTime+o.totalDuration()/o._timeScale>u&&((c||!o._initted)&&2e-10>u-o._startTime||(mf++o)));for(nf;--n>-1;)if(omn,2s&&o._kill(i,t,e)&&(a!0),2!s||!o._firstPT&&o._initted){if(2!s&&!K(o,e))continue;o._enabled(!1,!1)&&(a!0)}return a},Jfunction(t,e,i){for(var st._timeline,rs._timeScale,nt._startTime;s._timeline;){if(n+s._startTime,r*s._timeScale,s._paused)return-100;ss._timeline}return n/r,n>e?n-e:i&&ne||!t._initted&&2*_>n-e?_:(n+t.totalDuration()/t._timeScale/r)>e+_?0:n-e-_};n._initfunction(){var t,e,i,s,r,nthis.vars,athis._overwrittenProps,othis._duration,l!!n.immediateRender,hn.ease;if(n.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r{};for(s in n.startAt)rsn.startAts;if(r.overwrite!1,r.immediateRender!0,r.lazyl&&n.lazy!!1,r.startAtr.delaynull,this._startAtI.to(this.target,0,r),l)if(this._time>0)this._startAtnull;else if(0!o)return}else if(n.runBackwards&&0!o)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAtnull;else{0!this._time&&(l!1),i{};for(s in n)Gs&&autoCSS!s||(isns);if(i.overwrite0,i.dataisFromStart,i.lazyl&&n.lazy!!1,i.immediateRenderl,this._startAtI.to(this.target,0,i),l){if(0this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAtnull)}if(this._easehh?h instanceof y?h:functiontypeof h?new y(h,n.easeParams):wh||I.defaultEase:I.defaultEase,n.easeParams instanceof Array&&h.config&&(this._easeh.config.apply(h,n.easeParams)),this._easeTypethis._ease._type,this._easePowerthis._ease._power,this._firstPTnull,this._targets)for(tthis._targets.length;--t>-1;)this._initProps(this._targetst,this._propLookupt{},this._siblingst,a?at:null)&&(e!0);else ethis._initProps(this.target,this._propLookup,this._siblings,a);if(e&&I._onPluginEvent(_onInitAllProps,this),a&&(this._firstPT||function!typeof this.target&&this._enabled(!1,!1)),n.runBackwards)for(ithis._firstPT;i;)i.s+i.c,i.c-i.c,ii._next;this._onUpdaten.onUpdate,this._initted!0},n._initPropsfunction(e,i,s,r){var n,a,o,l,h,_;if(nulle)return!1;Le._gsTweenID&&M(),this.vars.css||e.style&&e!t&&e.nodeType&&U.css&&this.vars.autoCSS!!1&&O(this.vars,e);for(n in this.vars){if(_this.varsn,Gn)_&&(_ instanceof Array||_.push&&f(_))&&-1!_.join().indexOf({self})&&(this.varsn_this._swapSelfInParams(_,this));else if(Un&&(lnew Un)._onInitTween(e,this.varsn,this)){for(this._firstPTh{_next:this._firstPT,t:l,p:setRatio,s:0,c:1,f:!0,n:n,pg:!0,pr:l._priority},al._overwriteProps.length;--a>-1;)il._overwritePropsathis._firstPT;(l._priority||l._onInitAllProps)&&(o!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled!0)}else this._firstPTinh{_next:this._firstPT,t:e,p:n,f:functiontypeof en,n:n,pg:!1,pr:0},h.sh.f?en.indexOf(set)||function!typeof eget+n.substr(3)?n:get+n.substr(3)():parseFloat(en),h.cstringtypeof _&&_.charAt(1)?parseInt(_.charAt(0)+1,10)*Number(_.substr(2)):Number(_)-h.s||0;h&&h._next&&(h._next._prevh)}return r&&this._kill(r,e)?this._initProps(e,i,s,r):this._overwrite>1&&this._firstPT&&s.length>1&&H(e,this,i,this._overwrite,s)?(this._kill(i,e),this._initProps(e,i,s,r)):(this._firstPT&&(this.vars.lazy!!1&&this._duration||this.vars.lazy&&!this._duration)&&(Le._gsTweenID!0),o)},n.renderfunction(t,e,i){var s,r,n,a,othis._time,lthis._duration,hthis._rawPrevTime;if(t>l)this._totalTimethis._timel,this.ratiothis._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(s!0,ronComplete),0l&&(this._initted||!this.vars.lazy||i)&&(this._startTimethis._timeline._duration&&(t0),(0t||0>h||h_)&&h!t&&(i!0,h>_&&(ronReverseComplete)),this._rawPrevTimea!e||t||ht?t:_);else if(1e-7>t)this._totalTimethis._time0,this.ratiothis._ease._calcEnd?this._ease.getRatio(0):0,(0!o||0l&&h>0&&h!_)&&(ronReverseComplete,sthis._reversed),0>t&&(this._active!1,0l&&(this._initted||!this.vars.lazy||i)&&(h>0&&(i!0),this._rawPrevTimea!e||t||ht?t:_)),this._initted||(i!0);else if(this._totalTimethis._timet,this._easeType){var ut/l,mthis._easeType,fthis._easePower;(1m||3m&&u>.5)&&(u1-u),3m&&(u*2),1f?u*u:2f?u*u*u:3f?u*u*u*u:4f&&(u*u*u*u*u),this.ratio1m?1-u:2m?u:.5>t/l?u/2:1-u/2}else this.ratiothis._ease.getRatio(t/l);if(this._time!o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(this.vars.lazy!!1&&this._duration||this.vars.lazy&&!this._duration))return this._timethis._totalTimeo,this._rawPrevTimeh,z.push(this),this._lazyt,e,void 0;this._time&&!s?this.ratiothis._ease.getRatio(this._time/l):s&&this._ease._calcEnd&&(this.ratiothis._ease.getRatio(0this._time?0:1))}for(this._lazy!!1&&(this._lazy!1),this._active||!this._paused&&this._time!o&&t>0&&(this._active!0),0o&&(this._startAt&&(t>0?this._startAt.render(t,e,i):r||(r_dummyGS)),this.vars.onStart&&(0!this._time||0l)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||T))),nthis._firstPT;n;)n.f?n.tn.p(n.c*this.ratio+n.s):n.tn.pn.c*this.ratio+n.s,nn._next;this._onUpdate&&(0>t&&this._startAt&&t!-1e-4&&this._startAt.render(t,e,i),e||(this._time!o||s)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||T)),r&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&t!-1e-4&&this._startAt.render(t,e,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active!1),!e&&this.varsr&&this.varsr.apply(this.varsr+Scope||this,this.varsr+Params||T),0l&&this._rawPrevTime_&&a!_&&(this._rawPrevTime0))}},n._killfunction(t,e,i){if(allt&&(tnull),nullt&&(nulle||ethis.target))return this._lazy!1,this._enabled(!1,!1);estring!typeof e?e||this._targets||this.target:I.selector(e)||e;var s,r,n,a,o,l,h,_,u;if((f(e)||E(e))&&number!typeof e0)for(se.length;--s>-1;)this._kill(t,es)&&(l!0);else{if(this._targets){for(sthis._targets.length;--s>-1;)if(ethis._targetss){othis._propLookups||{},this._overwrittenPropsthis._overwrittenProps||,rthis._overwrittenPropsst?this._overwrittenPropss||{}:all;break}}else{if(e!this.target)return!1;othis._propLookup,rthis._overwrittenPropst?this._overwrittenProps||{}:all}if(o){if(ht||o,_t!r&&all!r&&t!o&&(object!typeof t||!t._tempKill),i&&(I.onOverwrite||this.vars.onOverwrite)){for(n in h)on&&(u||(u),u.push(n));if(!K(this,i,e,u))return!1}for(n in h)(aon)&&(a.pg&&a.t._kill(h)&&(l!0),a.pg&&0!a.t._overwriteProps.length||(a._prev?a._prev._nexta._next:athis._firstPT&&(this._firstPTa._next),a._next&&(a._next._preva._prev),a._nexta._prevnull),delete on),_&&(rn1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},n.invalidatefunction(){return this._notifyPluginsOfEnabled&&I._onPluginEvent(_onDisable,this),this._firstPTthis._overwrittenPropsthis._startAtthis._onUpdatenull,this._notifyPluginsOfEnabledthis._activethis._lazy!1,this._propLookupthis._targets?{}:,R.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time-_,this.render(-this._delay)),this},n._enabledfunction(t,e){if(o||a.wake(),t&&this._gc){var i,sthis._targets;if(s)for(is.length;--i>-1;)this._siblingsi$(si,this,!0);else this._siblings$(this.target,this,!0)}return R.prototype._enabled.call(this,t,e),this._notifyPluginsOfEnabled&&this._firstPT?I._onPluginEvent(t?_onEnable:_onDisable,this):!1},I.tofunction(t,e,i){return new I(t,e,i)},I.fromfunction(t,e,i){return i.runBackwards!0,i.immediateRender0!i.immediateRender,new I(t,e,i)},I.fromTofunction(t,e,i,s){return s.startAti,s.immediateRender0!s.immediateRender&&0!i.immediateRender,new I(t,e,s)},I.delayedCallfunction(t,e,i,s,r){return new I(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:s,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:s,immediateRender:!1,useFrames:r,overwrite:0})},I.setfunction(t,e){return new I(t,0,e)},I.getTweensOffunction(t,e){if(nullt)return;tstring!typeof t?t:I.selector(t)||t;var i,s,r,n;if((f(t)||E(t))&&number!typeof t0){for(it.length,s;--i>-1;)ss.concat(I.getTweensOf(ti,e));for(is.length;--i>-1;)for(nsi,ri;--r>-1;)nsr&&s.splice(i,1)}else for(s$(t).concat(),is.length;--i>-1;)(si._gc||e&&!si.isActive())&&s.splice(i,1);return s},I.killTweensOfI.killDelayedCallsTofunction(t,e,i){objecttypeof e&&(ie,e!1);for(var sI.getTweensOf(t,e),rs.length;--r>-1;)sr._kill(i,t)};var Vv(plugins.TweenPlugin,function(t,e){this._overwriteProps(t||).split(,),this._propNamethis._overwriteProps0,this._prioritye||0,this._superV.prototype},!0);if(nV.prototype,V.version1.10.1,V.API2,n._firstPTnull,n._addTweenfunction(t,e,i,s,r,n){var a,o;return null!s&&(anumbertypeof s||!s.charAt(1)?Number(s)-i:parseInt(s.charAt(0)+1,10)*Number(s.substr(2)))?(this._firstPTo{_next:this._firstPT,t:t,p:e,s:i,c:a,f:functiontypeof te,n:r||e,r:n},o._next&&(o._next._prevo),o):void 0},n.setRatiofunction(t){for(var e,ithis._firstPT,s1e-6;i;)ei.c*t+i.s,i.r?eMath.round(e):s>e&&e>-s&&(e0),i.f?i.ti.p(e):i.ti.pe,ii._next},n._killfunction(t){var e,ithis._overwriteProps,sthis._firstPT;if(null!tthis._propName)this._overwriteProps;else for(ei.length;--e>-1;)null!tie&&i.splice(e,1);for(;s;)null!ts.n&&(s._next&&(s._next._prevs._prev),s._prev?(s._prev._nexts._next,s._prevnull):this._firstPTs&&(this._firstPTs._next)),ss._next;return!1},n._roundPropsfunction(t,e){for(var ithis._firstPT;i;)(tthis._propName||null!i.n&&ti.n.split(this._propName+_).join())&&(i.re),ii._next},I._onPluginEventfunction(t,e){var i,s,r,n,a,oe._firstPT;if(_onInitAllPropst){for(;o;){for(ao._next,sr;s&&s.pr>o.pr;)ss._next;(o._prevs?s._prev:n)?o._prev._nexto:ro,(o._nexts)?s._prevo:no,oa}oe._firstPTr}for(;o;)o.pg&&functiontypeof o.tt&&o.tt()&&(i!0),oo._next;return i},V.activatefunction(t){for(var et.length;--e>-1;)te.APIV.API&&(U(new te)._propNamete);return!0},d.pluginfunction(t){if(!(t&&t.propName&&t.init&&t.API))throwillegal plugin definition.;var e,it.propName,st.priority||0,rt.overwriteProps,n{init:_onInitTween,set:setRatio,kill:_kill,round:_roundProps,initAll:_onInitAllProps},av(plugins.+i.charAt(0).toUpperCase()+i.substr(1)+Plugin,function(){V.call(this,i,s),this._overwritePropsr||},t.global!0),oa.prototypenew V(i);o.constructora,a.APIt.API;for(e in n)functiontypeof te&&(onete);return a.versiont.version,V.activate(a),a},st._gsQueue){for(r0;s.length>r;r++)sr();for(n in c)cn.func||t.console.log(GSAP encountered missing dependency: com.greensock.+n)}o!1}})(undefined!typeof module&&module.exports&&undefined!typeof global?global:this||window,TweenLite);var _gsScopeundefined!typeof module&&module.exports&&undefined!typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue)).push(function(){use strict;_gsScope._gsDefine(TimelineLite,core.Animation,core.SimpleTimeline,TweenLite,function(t,e,i){var sfunction(t){e.call(this,t),this._labels{},this.autoRemoveChildrenthis.vars.autoRemoveChildren!0,this.smoothChildTimingthis.vars.smoothChildTiming!0,this._sortChildren!0,this._onUpdatethis.vars.onUpdate;var i,s,rthis.vars;for(s in r)irs,o(i)&&-1!i.join().indexOf({self})&&(rsthis._swapSelfInParams(i));o(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},r1e-10,ni._internals,an.isSelector,on.isArray,hn.lazyTweens,ln.lazyRender,_,u_gsScope._gsDefine.globals,cfunction(t){var e,i{};for(e in t)iete;return i},pfunction(t,e,i,s){var rt._timeline._totalTime;(e||!this._forcingPlayhead)&&(t._timeline.pause(t._startTime),e&&e.apply(s||t._timeline,i||_),this._forcingPlayhead&&t._timeline.seek(r))},ffunction(t){var e,i,st.length;for(e0;e!s;i.push(te++));return i},ms.prototypenew e;return s.version1.14.2,m.constructors,m.kill()._gcm._forcingPlayhead!1,m.tofunction(t,e,s,r){var ns.repeat&&u.TweenMax||i;return e?this.add(new n(t,e,s),r):this.set(t,s,r)},m.fromfunction(t,e,s,r){return this.add((s.repeat&&u.TweenMax||i).from(t,e,s),r)},m.fromTofunction(t,e,s,r,n){var ar.repeat&&u.TweenMax||i;return e?this.add(a.fromTo(t,e,s,r),n):this.set(t,r,n)},m.staggerTofunction(t,e,r,n,o,h,l,_){var u,pnew s({onComplete:h,onCompleteParams:l,onCompleteScope:_,smoothChildTiming:this.smoothChildTiming});for(stringtypeof t&&(ti.selector(t)||t),tt||,a(t)&&(tf(t)),nn||0,0>n&&(tf(t),t.reverse(),n*-1),u0;t.length>u;u++)r.startAt&&(r.startAtc(r.startAt)),p.to(tu,e,c(r),u*n);return this.add(p,o)},m.staggerFromfunction(t,e,i,s,r,n,a,o){return i.immediateRender0!i.immediateRender,i.runBackwards!0,this.staggerTo(t,e,i,s,r,n,a,o)},m.staggerFromTofunction(t,e,i,s,r,n,a,o,h){return s.startAti,s.immediateRender0!s.immediateRender&&0!i.immediateRender,this.staggerTo(t,e,s,r,n,a,o,h)},m.callfunction(t,e,s,r){return this.add(i.delayedCall(0,t,e,s),r)},m.setfunction(t,e,s){return sthis._parseTimeOrLabel(s,0,!0),nulle.immediateRender&&(e.immediateRendersthis._time&&!this._paused),this.add(new i(t,0,e),s)},s.exportRootfunction(t,e){tt||{},nullt.smoothChildTiming&&(t.smoothChildTiming!0);var r,n,anew s(t),oa._timeline;for(nulle&&(e!0),o._remove(a,!0),a._startTime0,a._rawPrevTimea._timea._totalTimeo._time,ro._first;r;)nr._next,e&&r instanceof i&&r.targetr.vars.onComplete||a.add(r,r._startTime-r._delay),rn;return o.add(a,0),a},m.addfunction(r,n,a,h){var l,_,u,c,p,f;if(number!typeof n&&(nthis._parseTimeOrLabel(n,0,!0,r)),!(r instanceof t)){if(r instanceof Array||r&&r.push&&o(r)){for(aa||normal,hh||0,ln,_r.length,u0;_>u;u++)o(cru)&&(cnew s({tweens:c})),this.add(c,l),string!typeof c&&function!typeof c&&(sequencea?lc._startTime+c.totalDuration()/c._timeScale:starta&&(c._startTime-c.delay())),l+h;return this._uncache(!0)}if(stringtypeof r)return this.addLabel(r,n);if(function!typeof r)throwCannot add +r+ into the timeline; it is not a tween, timeline, function, or string.;ri.delayedCall(0,r)}if(e.prototype.add.call(this,r,n),(this._gc||this._timethis._duration)&&!this._paused&&this._durationthis.duration())for(pthis,fp.rawTime()>r._startTime;p._timeline;)f&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),pp._timeline;return this},m.removefunction(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&o(e)){for(var ie.length;--i>-1;)this.remove(ei);return this}returnstringtypeof e?this.removeLabel(e):this.kill(null,e)},m._removefunction(t,i){e.prototype._remove.call(this,t,i);var sthis._last;return s?this._time>s._startTime+s._totalDuration/s._timeScale&&(this._timethis.duration(),this._totalTimethis._totalDuration):this._timethis._totalTimethis._durationthis._totalDuration0,this},m.appendfunction(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},m.insertm.insertMultiplefunction(t,e,i,s){return this.add(t,e||0,i,s)},m.appendMultiplefunction(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},m.addLabelfunction(t,e){return this._labelstthis._parseTimeOrLabel(e),this},m.addPausefunction(t,e,i,s){return this.call(p,{self},e,i,s,this,t)},m.removeLabelfunction(t){return delete this._labelst,this},m.getLabelTimefunction(t){return null!this._labelst?this._labelst:-1},m._parseTimeOrLabelfunction(e,i,s,r){var n;if(r instanceof t&&r.timelinethis)this.remove(r);else if(r&&(r instanceof Array||r.push&&o(r)))for(nr.length;--n>-1;)rninstanceof t&&rn.timelinethis&&this.remove(rn);if(stringtypeof i)return this._parseTimeOrLabel(i,s&&numbertypeof e&&nullthis._labelsi?e-this.duration():0,s);if(ii||0,string!typeof e||!isNaN(e)&&nullthis._labelse)nulle&&(ethis.duration());else{if(ne.indexOf(),-1n)return nullthis._labelse?s?this._labelsethis.duration()+i:i:this._labelse+i;iparseInt(e.charAt(n-1)+1,10)*Number(e.substr(n+1)),en>1?this._parseTimeOrLabel(e.substr(0,n-1),0,s):this.duration()}return Number(e)+i},m.seekfunction(t,e){return this.totalTime(numbertypeof t?t:this._parseTimeOrLabel(t),e!!1)},m.stopfunction(){return this.paused(!0)},m.gotoAndPlayfunction(t,e){return this.play(t,e)},m.gotoAndStopfunction(t,e){return this.pause(t,e)},m.renderfunction(t,e,i){this._gc&&this._enabled(!0,!1);var s,n,a,o,u,cthis._dirty?this.totalDuration():this._totalDuration,pthis._time,fthis._startTime,mthis._timeScale,dthis._paused;if(t>c?(this._totalTimethis._timec,this._reversed||this._hasPausedChild()||(n!0,oonComplete,0this._duration&&(0t||0>this._rawPrevTime||this._rawPrevTimer)&&this._rawPrevTime!t&&this._first&&(u!0,this._rawPrevTime>r&&(oonReverseComplete))),this._rawPrevTimethis._duration||!e||t||this._rawPrevTimet?t:r,tc+1e-4):1e-7>t?(this._totalTimethis._time0,(0!p||0this._duration&&this._rawPrevTime!r&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>0))&&(oonReverseComplete,nthis._reversed),0>t?(this._active!1,this._rawPrevTime>0&&this._first&&(u!0),this._rawPrevTimet):(this._rawPrevTimethis._duration||!e||t||this._rawPrevTimet?t:r,t0,this._initted||(u!0))):this._totalTimethis._timethis._rawPrevTimet,this._time!p&&this._first||i||u){if(this._initted||(this._initted!0),this._active||!this._paused&&this._time!p&&t>0&&(this._active!0),0p&&this.vars.onStart&&0!this._time&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||_)),this._time>p)for(sthis._first;s&&(as._next,!this._paused||d);)(s._active||s._startTimethis._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),sa;else for(sthis._last;s&&(as._prev,!this._paused||d);)(s._active||p>s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),sa;this._onUpdate&&(e||(h.length&&l(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||_))),o&&(this._gc||(fthis._startTime||m!this._timeScale)&&(0this._time||c>this.totalDuration())&&(n&&(h.length&&l(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active!1),!e&&this.varso&&this.varso.apply(this.varso+Scope||this,this.varso+Params||_)))}},m._hasPausedChildfunction(){for(var tthis._first;t;){if(t._paused||t instanceof s&&t._hasPausedChild())return!0;tt._next}return!1},m.getChildrenfunction(t,e,s,r){rr||-9999999999;for(var n,athis._first,o0;a;)r>a._startTime||(a instanceof i?e!!1&&(no++a):(s!!1&&(no++a),t!!1&&(nn.concat(a.getChildren(!0,e,s)),on.length))),aa._next;return n},m.getTweensOffunction(t,e){var s,r,nthis._gc,a,o0;for(n&&this._enabled(!0,!0),si.getTweensOf(t),rs.length;--r>-1;)(sr.timelinethis||e&&this._contains(sr))&&(ao++sr);return n&&this._enabled(!1,!0),a},m.recentfunction(){return this._recent},m._containsfunction(t){for(var et.timeline;e;){if(ethis)return!0;ee.timeline}return!1},m.shiftChildrenfunction(t,e,i){ii||0;for(var s,rthis._first,nthis._labels;r;)r._startTime>i&&(r._startTime+t),rr._next;if(e)for(s in n)ns>i&&(ns+t);return this._uncache(!0)},m._killfunction(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var ie?this.getTweensOf(e):this.getChildren(!0,!0,!1),si.length,r!1;--s>-1;)is._kill(t,e)&&(r!0);return r},m.clearfunction(t){var ethis.getChildren(!1,!0,!0),ie.length;for(this._timethis._totalTime0;--i>-1;)ei._enabled(!1,!1);return t!!1&&(this._labels{}),this._uncache(!0)},m.invalidatefunction(){for(var ethis._first;e;)e.invalidate(),ee._next;return t.prototype.invalidate.call(this)},m._enabledfunction(t,i){if(tthis._gc)for(var sthis._first;s;)s._enabled(t,!0),ss._next;return e.prototype._enabled.call(this,t,i)},m.totalTimefunction(){this._forcingPlayhead!0;var et.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead!1,e},m.durationfunction(t){return arguments.length?(0!this.duration()&&0!t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},m.totalDurationfunction(t){if(!arguments.length){if(this._dirty){for(var e,i,s0,rthis._last,n999999999999;r;)er._prev,r._dirty&&r.totalDuration(),r._startTime>n&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):nr._startTime,0>r._startTime&&!r._paused&&(s-r._startTime,this._timeline.smoothChildTiming&&(this._startTime+r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),n0),ir._startTime+r._totalDuration/r._timeScale,i>s&&(si),re;this._durationthis._totalDurations,this._dirty!1}return this._totalDuration}return 0!this.totalDuration()&&0!t&&this.timeScale(this._totalDuration/t),this},m.usesFramesfunction(){for(var ethis._timeline;e._timeline;)ee._timeline;return et._rootFramesTimeline},m.rawTimefunction(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},s},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){use strict;var efunction(){return(_gsScope.GreenSockGlobals||_gsScope)t};functiontypeof define&&define.amd?define(TweenLite,e):undefined!typeof module&&module.exports&&(require(./TweenLite.js),module.exportse())}(TimelineLite);var _gsScopeundefined!typeof module&&module.exports&&undefined!typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue)).push(function(){use strict;_gsScope._gsDefine(easing.Back,easing.Ease,function(t){var e,i,s,r_gsScope.GreenSockGlobals||_gsScope,nr.com.greensock,a2*Math.PI,oMath.PI/2,hn._class,lfunction(e,i){var sh(easing.+e,function(){},!0),rs.prototypenew t;return r.constructors,r.getRatioi,s},_t.register||function(){},ufunction(t,e,i,s){var rh(easing.+t,{easeOut:new e,easeIn:new i,easeInOut:new s},!0);return _(r,t),r},cfunction(t,e,i){this.tt,this.ve,i&&(this.nexti,i.prevthis,this.ci.v-e,this.gapi.t-t)},pfunction(e,i){var sh(easing.+e,function(t){this._p1t||0t?t:1.70158,this._p21.525*this._p1},!0),rs.prototypenew t;return r.constructors,r.getRatioi,r.configfunction(t){return new s(t)},s},fu(Back,p(BackOut,function(t){return(t-1)*t*((this._p1+1)*t+this._p1)+1}),p(BackIn,function(t){return t*t*((this._p1+1)*t-this._p1)}),p(BackInOut,function(t){return 1>(t*2)?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-2)*t*((this._p2+1)*t+this._p2)+2)})),mh(easing.SlowMo,function(t,e,i){ee||0e?e:.7,nullt?t.7:t>1&&(t1),this._p1!t?e:0,this._p1(1-t)/2,this._p2t,this._p3this._p1+this._p2,this._calcEndi!0},!0),dm.prototypenew t;return d.constructorm,d.getRatiofunction(t){var et+(.5-t)*this._p;return this._p1>t?this._calcEnd?1-(t1-t/this._p1)*t:e-(t1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t(t-this._p3)/this._p1)*t:e+(t-e)*(t(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.easenew m(.7,.7),d.configm.configfunction(t,e,i){return new m(t,e,i)},eh(easing.SteppedEase,function(t){tt||1,this._p11/t,this._p2t+1},!0),de.prototypenew t,d.constructore,d.getRatiofunction(t){return 0>t?t0:t>1&&(t.999999999),(this._p2*t>>0)*this._p1},d.confige.configfunction(t){return new e(t)},ih(easing.RoughEase,function(e){ee||{};for(var i,s,r,n,a,o,he.taper||none,l,_0,u0|(e.points||20),pu,fe.randomize!!1,me.clamp!0,de.template instanceof t?e.template:null,gnumbertypeof e.strength?.4*e.strength:.4;--p>-1;)if?Math.random():1/u*p,sd?d.getRatio(i):i,noneh?rg:outh?(n1-i,rn*n*g):inh?ri*i*g:.5>i?(n2*i,r.5*n*n*g):(n2*(1-i),r.5*n*n*g),f?s+Math.random()*r-.5*r:p%2?s+.5*r:s-.5*r,m&&(s>1?s1:0>s&&(s0)),l_++{x:i,y:s};for(l.sort(function(t,e){return t.x-e.x}),onew c(1,1,null),pu;--p>-1;)alp,onew c(a.x,a.y,o);this._prevnew c(0,0,0!o.t?o:o.next)},!0),di.prototypenew t,d.constructori,d.getRatiofunction(t){var ethis._prev;if(t>e.t){for(;e.next&&t>e.t;)ee.next;ee.prev}else for(;e.prev&&e.t>t;)ee.prev;return this._preve,e.v+(t-e.t)/e.gap*e.c},d.configfunction(t){return new i(t)},i.easenew i,u(Bounce,l(BounceOut,function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-2.25/2.75)*t+.9375:7.5625*(t-2.625/2.75)*t+.984375}),l(BounceIn,function(t){return 1/2.75>(t1-t)?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-2.25/2.75)*t+.9375):1-(7.5625*(t-2.625/2.75)*t+.984375)}),l(BounceInOut,function(t){var e.5>t;return te?1-2*t:2*t-1,t1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-2.25/2.75)*t+.9375:7.5625*(t-2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),u(Circ,l(CircOut,function(t){return Math.sqrt(1-(t-1)*t)}),l(CircIn,function(t){return-(Math.sqrt(1-t*t)-1)}),l(CircInOut,function(t){return 1>(t*2)?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-2)*t)+1)})),sfunction(e,i,s){var rh(easing.+e,function(t,e){this._p1t||1,this._p2e||s,this._p3this._p2/a*(Math.asin(1/this._p1)||0)},!0),nr.prototypenew t;return n.constructorr,n.getRatioi,n.configfunction(t,e){return new r(t,e)},r},u(Elastic,s(ElasticOut,function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*a/this._p2)+1},.3),s(ElasticIn,function(t){return-(this._p1*Math.pow(2,10*(t-1))*Math.sin((t-this._p3)*a/this._p2))},.3),s(ElasticInOut,function(t){return 1>(t*2)?-.5*this._p1*Math.pow(2,10*(t-1))*Math.sin((t-this._p3)*a/this._p2):.5*this._p1*Math.pow(2,-10*(t-1))*Math.sin((t-this._p3)*a/this._p2)+1},.45)),u(Expo,l(ExpoOut,function(t){return 1-Math.pow(2,-10*t)}),l(ExpoIn,function(t){return Math.pow(2,10*(t-1))-.001}),l(ExpoInOut,function(t){return 1>(t*2)?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),u(Sine,l(SineOut,function(t){return Math.sin(t*o)}),l(SineIn,function(t){return-Math.cos(t*o)+1}),l(SineInOut,function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h(easing.EaseLookup,{find:function(e){return t.mape}},!0),_(r.SlowMo,SlowMo,ease,),_(i,RoughEase,ease,),_(e,SteppedEase,ease,),f},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()();var _gsScopeundefined!typeof module&&module.exports&&undefined!typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue)).push(function(){use strict;_gsScope._gsDefine(plugins.CSSPlugin,plugins.TweenPlugin,TweenLite,function(t,e){var i,r,s,n,afunction(){t.call(this,css),this._overwriteProps.length0,this.setRatioa.prototype.setRatio},o{},la.prototypenew t(css);l.constructora,a.version1.14.2,a.API2,a.defaultTransformPerspective0,a.defaultSkewTypecompensated,lpx,a.suffixMap{top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:};var h,u,f,p,_,c,d/(?:\d|\-\d|\.\d|\-\.\d)+/g,m/(?:\d|\-\d|\.\d|\-\.\d|\+\d|\-\d|\+.\d|\-\.\d)+/g,g/(?:\+|\-|\-|\b)\d\-\.+a-zA-Z0-9*(?:%|\b)/gi,v/(?!+-?\d*\.?\d+|e+-\d+)^0-9/g,y/(?:\d|\-|\+||#|\.)*/g,x/opacity * *(^)*)/i,T/opacity:(^;*)/i,w/alpha\(opacity *.+?\)/i,b/^(rgb|hsl)/,P/(A-Z)/g,S/-(a-z)/gi,R/(^(?:url\(\|url\())|(?:(\\))$|\)$)/gi,Cfunction(t,e){return e.toUpperCase()},k/(?:Left|Right|Width)/i,O/(M11|M12|M21|M22)\d\-\.e+/gi,A/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D/,(?^\)*(?:\(|$))/gi,MMath.PI/180,L180/Math.PI,N{},zdocument,Xz.createElement(div),Iz.createElement(img),Ea._internals{_specialProps:o},Fnavigator.userAgent,Yfunction(){var t,eF.indexOf(Android),iz.createElement(div);return f-1!F.indexOf(Safari)&&-1F.indexOf(Chrome)&&(-1e||Number(F.substr(e+8,1))>3),_f&&6>Number(F.substr(F.indexOf(Version/)+8,1)),p-1!F.indexOf(Firefox),(/MSIE (0-9{1,}\.0-9{0,})/.exec(F)||/Trident\/.*rv:(0-9{1,}\.0-9{0,})/.exec(F))&&(cparseFloat(RegExp.$1)),i.innerHTMLa styletop:1px;opacity:.55;>a/a>,ti.getElementsByTagName(a)0,t?/^0.55/.test(t.style.opacity):!1}(),Bfunction(t){return x.test(stringtypeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||)?parseFloat(RegExp.$1)/100:1},Ufunction(t){window.console&&console.log(t)},j,W,Vfunction(t,e){ee||X;var i,r,se.style;if(void 0!st)return t;for(tt.charAt(0).toUpperCase()+t.substr(1),iO,Moz,ms,Ms,Webkit,r5;--r>-1&&void 0sir+t;);return r>0?(W3r?ms:ir,j-+W.toLowerCase()+-,W+t):null},qz.defaultView?z.defaultView.getComputedStyle:function(){},Ha.getStylefunction(t,e,i,r,s){var n;return Y||opacity!e?(!r&&t.stylee?nt.stylee:(ii||q(t))?nie||i.getPropertyValue(e)||i.getPropertyValue(e.replace(P,-$1).toLowerCase()):t.currentStyle&&(nt.currentStylee),nulls||n&&none!n&&auto!n&&auto auto!n?n:s):B(t)},GE.convertToPixelsfunction(t,i,r,s,n){if(pxs||!s)return r;if(autos||!r)return 0;var o,l,h,uk.test(i),ft,pX.style,_0>r;if(_&&(r-r),%s&&-1!i.indexOf(border))or/100*(u?t.clientWidth:t.clientHeight);else{if(p.cssTextborder:0 solid red;position:+H(t,position)+;line-height:0;,%!s&&f.appendChild)pu?borderLeftWidth:borderTopWidthr+s;else{if(ft.parentNode||z.body,lf._gsCache,he.ticker.frame,l&&u&&l.timeh)return l.width*r/100;pu?width:heightr+s}f.appendChild(X),oparseFloat(Xu?offsetWidth:offsetHeight),f.removeChild(X),u&&%s&&a.cacheWidths!!1&&(lf._gsCachef._gsCache||{},l.timeh,l.width100*(o/r)),0!o||n||(oG(t,i,r,s,!0))}return _?-o:o},QE.calculateOffsetfunction(t,e,i){if(absolute!H(t,position,i))return 0;var rlefte?Left:Top,sH(t,margin+r,i);return toffset+r-(G(t,e,parseFloat(s),s.replace(y,))||0)},Zfunction(t,e){var i,r,s{};if(ee||q(t,null))if(ie.length)for(;--i>-1;)sei.replace(S,C)e.getPropertyValue(ei);else for(i in e)siei;else if(et.currentStyle||t.style)for(i in e)stringtypeof i&&void 0si&&(si.replace(S,C)ei);return Y||(s.opacityB(t)),rAe(t,e,!1),s.rotationr.rotation,s.skewXr.skewX,s.scaleXr.scaleX,s.scaleYr.scaleY,s.xr.x,s.yr.y,be&&(s.zr.z,s.rotationXr.rotationX,s.rotationYr.rotationY,s.scaleZr.scaleZ),s.filters&&delete s.filters,s},$function(t,e,i,r,s){var n,a,o,l{},ht.style;for(a in i)cssText!a&&length!a&&isNaN(a)&&(ea!(nia)||s&&sa)&&-1a.indexOf(Origin)&&(numbertypeof n||stringtypeof n)&&(laauto!n||left!a&&top!a?!n&&auto!n&&none!n||string!typeof ea||ea.replace(v,)?n:0:Q(t,a),void 0!ha&&(onew fe(h,a,ha,o)));if(r)for(a in r)className!a&&(lara);return{difs:l,firstMPT:o}},K{width:Left,Right,height:Top,Bottom},JmarginLeft,marginRight,marginTop,marginBottom,tefunction(t,e,i){var rparseFloat(widthe?t.offsetWidth:t.offsetHeight),sKe,ns.length;for(ii||q(t,null);--n>-1;)r-parseFloat(H(t,padding+sn,i,!0))||0,r-parseFloat(H(t,border+sn+Width,i,!0))||0;return r},eefunction(t,e){(nullt||t||autot||auto autot)&&(t0 0);var it.split( ),r-1!t.indexOf(left)?0%:-1!t.indexOf(right)?100%:i0,s-1!t.indexOf(top)?0%:-1!t.indexOf(bottom)?100%:i1;return nulls?s0:centers&&(s50%),(centerr||isNaN(parseFloat(r))&&-1(r+).indexOf())&&(r50%),e&&(e.oxp-1!r.indexOf(%),e.oyp-1!s.indexOf(%),e.oxrr.charAt(1),e.oyrs.charAt(1),e.oxparseFloat(r.replace(v,)),e.oyparseFloat(s.replace(v,))),r+ +s+(i.length>2? +i2:)},iefunction(t,e){returnstringtypeof t&&t.charAt(1)?parseInt(t.charAt(0)+1,10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)},refunction(t,e){return nullt?e:stringtypeof t&&t.charAt(1)?parseInt(t.charAt(0)+1,10)*parseFloat(t.substr(2))+e:parseFloat(t)},sefunction(t,e,i,r){var s,n,a,o,l1e-6;return nullt?oe:numbertypeof t?ot:(s360,nt.split(_),aNumber(n0.replace(v,))*(-1t.indexOf(rad)?1:L)-(t.charAt(1)?0:e),n.length&&(r&&(rie+a),-1!t.indexOf(short)&&(a%s,a!a%(s/2)&&(a0>a?a+s:a-s)),-1!t.indexOf(_cw)&&0>a?a(a+9999999999*s)%s-(0|a/s)*s:-1!t.indexOf(ccw)&&a>0&&(a(a-9999999999*s)%s-(0|a/s)*s)),oe+a),l>o&&o>-l&&(o0),o},ne{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},aefunction(t,e,i){return t0>t?t+1:t>1?t-1:t,0|255*(1>6*t?e+6*(i-e)*t:.5>t?i:2>3*t?e+6*(i-e)*(2/3-t):e)+.5},oea.parseColorfunction(t){var e,i,r,s,n,a;return t&&!t?numbertypeof t?t>>16,255&t>>8,255&t:(,t.charAt(t.length-1)&&(tt.substr(0,t.length-1)),net?net:#t.charAt(0)?(4t.length&&(et.charAt(1),it.charAt(2),rt.charAt(3),t#+e+e+i+i+r+r),tparseInt(t.substr(1),16),t>>16,255&t>>8,255&t):hslt.substr(0,3)?(tt.match(d),sNumber(t0)%360/360,nNumber(t1)/100,aNumber(t2)/100,i.5>a?a*(n+1):a+n-a*n,e2*a-i,t.length>3&&(t3Number(t3)),t0ae(s+1/3,e,i),t1ae(s,e,i),t2ae(s-1/3,e,i),t):(tt.match(d)||ne.transparent,t0Number(t0),t1Number(t1),t2Number(t2),t.length>3&&(t3Number(t3)),t)):ne.black},le(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b;for(l in ne)le+|+l+\\b;leRegExp(le+),gi);var hefunction(t,e,i,r){if(nullt)return function(t){return t};var s,ne?(t.match(le)||)0:,at.split(n).join().match(g)||,ot.substr(0,t.indexOf(a0)),l)t.charAt(t.length-1)?):,h-1!t.indexOf( )? :,,ua.length,fu>0?a0.replace(d,):;return u?se?function(t){var e,p,_,c;if(numbertypeof t)t+f;else if(r&&D.test(t)){for(ct.replace(D,|).split(|),_0;c.length>_;_++)c_s(c_);return c.join(,)}if(e(t.match(le)||n)0,pt.split(e).join().match(g)||,_p.length,u>_--)for(;u>++_;)p_i?p0|(_-1)/2:a_;return o+p.join(h)+h+e+l+(-1!t.indexOf(inset)? inset:)}:function(t){var e,n,p;if(numbertypeof t)t+f;else if(r&&D.test(t)){for(nt.replace(D,|).split(|),p0;n.length>p;p++)nps(np);return n.join(,)}if(et.match(g)||,pe.length,u>p--)for(;u>++p;)epi?e0|(p-1)/2:ap;return o+e.join(h)+l}:function(t){return t}},uefunction(t){return tt.split(,),function(e,i,r,s,n,a,o){var l,h(i+).split( );for(o{},l0;4>l;l++)otlhlhl||h(l-1)/2>>0;return s.parse(e,o,n,a)}},fe(E._setPluginRatiofunction(t){this.plugin.setRatio(t);for(var e,i,r,s,nthis.data,an.proxy,on.firstMPT,l1e-6;o;)eao.v,o.r?eMath.round(e):l>e&&e>-l&&(e0),o.to.pe,oo._next;if(n.autoRotate&&(n.autoRotate.rotationa.rotation),1t)for(on.firstMPT;o;){if(io.t,i.type){if(1i.type){for(si.xs0+i.s+i.xs1,r1;i.l>r;r++)s+ixn+r+ixs+(r+1);i.es}}else i.ei.s+i.xs0;oo._next}},function(t,e,i,r,s){this.tt,this.pe,this.vi,this.rs,r&&(r._prevthis,this._nextr)}),pe(E._parseToProxyfunction(t,e,i,r,s,n){var a,o,l,h,u,fr,p{},_{},ci._transform,dN;for(i._transformnull,Ne,rui.parse(t,e,r,s),Nd,n&&(i._transformc,f&&(f._prevnull,f._prev&&(f._prev._nextnull)));r&&r!f;){if(1>r.type&&(or.p,_or.s+r.c,por.s,n||(hnew fe(r,s,o,h,r.r),r.c0),1r.type))for(ar.l;--a>0;)lxn+a,or.p+_+l,_or.datal,porl,n||(hnew fe(r,l,o,h,r.rxpl));rr._next}return{proxy:p,end:_,firstMPT:h,pt:u}},E.CSSPropTweenfunction(t,e,r,s,a,o,l,h,u,f,p){this.tt,this.pe,this.sr,this.cs,this.nl||e,t instanceof pe||n.push(this.n),this.rh,this.typeo||0,u&&(this.pru,i!0),this.bvoid 0f?r:f,this.evoid 0p?r+s:p,a&&(this._nexta,a._prevthis)}),_ea.parseComplexfunction(t,e,i,r,s,n,a,o,l,u){ii||n||,anew pe(t,e,0,0,a,u?2:1,null,!1,o,i,r),r+;var f,p,_,c,g,v,y,x,T,w,P,S,Ri.split(, ).join(,).split( ),Cr.split(, ).join(,).split( ),kR.length,Oh!!1;for((-1!r.indexOf(,)||-1!i.indexOf(,))&&(RR.join( ).replace(D,, ).split( ),CC.join( ).replace(D,, ).split( ),kR.length),k!C.length&&(R(n||).split( ),kR.length),a.pluginl,a.setRatiou,f0;k>f;f++)if(cRf,gCf,xparseFloat(c),x||0x)a.appendXtra(,x,ie(g,x),g.replace(m,),O&&-1!g.indexOf(px),!0);else if(s&&(#c.charAt(0)||nec||b.test(c)))S,g.charAt(g.length-1)?),:),coe(c),goe(g),Tc.length+g.length>6,T&&!Y&&0g3?(axs+a.l+a.l? transparent:transparent,a.ea.e.split(Cf).join(transparent)):(Y||(T!1),a.appendXtra(T?rgba(:rgb(,c0,g0-c0,,,!0,!0).appendXtra(,c1,g1-c1,,,!0).appendXtra(,c2,g2-c2,T?,:S,!0),T&&(c4>c.length?1:c3,a.appendXtra(,c,(4>g.length?1:g3)-c,S,!1)));else if(vc.match(d)){if(yg.match(m),!y||y.length!v.length)return a;for(_0,p0;v.length>p;p++)Pvp,wc.indexOf(P,_),a.appendXtra(c.substr(_,w-_),Number(P),ie(yp,P),,O&&pxc.substr(w+P.length,2),0p),_w+P.length;axs+a.l+c.substr(_)}else axs+a.l+a.l? +c:c;if(-1!r.indexOf()&&a.data){for(Sa.xs0+a.data.s,f1;a.l>f;f++)S+axs+f+a.dataxn+f;a.eS+axs+f}return a.l||(a.type-1,a.xs0a.e),a.xfirst||a},ce9;for(lpe.prototype,l.ll.pr0;--ce>0;)lxn+ce0,lxs+ce;l.xs0,l._nextl._prevl.xfirstl.datal.pluginl.setRatiol.rxpnull,l.appendXtrafunction(t,e,i,r,s,n){var athis,oa.l;return axs+o+n&&o? +t:t||,i||0o||a.plugin?(a.l++,a.typea.setRatio?2:1,axs+a.lr||,o>0?(a.dataxn+oe+i,a.rxpxn+os,axn+oe,a.plugin||(a.xfirstnew pe(a,xn+o,e,i,a.xfirst||a,0,a.n,s,a.pr),a.xfirst.xs00),a):(a.data{s:e+i},a.rxp{},a.se,a.ci,a.rs,a)):(axs+o+e+(r||),a)};var defunction(t,e){ee||{},this.pe.prefix?V(t)||t:t,otothis.pthis,this.formate.formatter||he(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parsee.parser),this.clrse.color,this.multie.multi,this.keyworde.keyword,this.dflte.defaultValue,this.pre.priority||0},meE._registerComplexSpecialPropfunction(t,e,i){object!typeof e&&(e{parser:i});var r,s,nt.split(,),ae.defaultValue;for(ii||a,r0;n.length>r;r++)e.prefix0r&&e.prefix,e.defaultValueir||a,snew de(nr,e)},gefunction(t){if(!ot){var et.charAt(0).toUpperCase()+t.substr(1)+Plugin;me(t,{parser:function(t,i,r,s,n,a,l){var h(_gsScope.GreenSockGlobals||_gsScope).com.greensock.pluginse;return h?(h._cssRegister(),or.parse(t,i,r,s,n,a,l)):(U(Error: +e+ js file not loaded.),n)}})}};lde.prototype,l.parseComplexfunction(t,e,i,r,s,n){var a,o,l,h,u,f,pthis.keyword;if(this.multi&&(D.test(i)||D.test(e)?(oe.replace(D,|).split(|),li.replace(D,|).split(|)):p&&(oe,li)),l){for(hl.length>o.length?l.length:o.length,a0;h>a;a++)eoaoa||this.dflt,ilala||this.dflt,p&&(ue.indexOf(p),fi.indexOf(p),u!f&&(i-1f?l:o,ia+ +p));eo.join(, ),il.join(, )}return _e(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,s,n)},l.parsefunction(t,e,i,r,n,a){return this.parseComplex(t.style,this.format(H(t,this.p,s,!1,this.dflt)),this.format(e),n,a)},a.registerSpecialPropfunction(t,e,i){me(t,{parser:function(t,r,s,n,a,o){var lnew pe(t,s,0,0,a,2,s,!1,i);return l.plugino,l.setRatioe(t,r,n._tween,s),l},priority:i})};var ve,yescaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent.split(,),xeV(transform),Tej+transform,weV(transformOrigin),benull!V(perspective),PeE.Transformfunction(){this.skewY0},Sewindow.SVGElement,Refunction(t,e,i){var r,sz.createElementNS(http://www.w3.org/2000/svg,t),n/(a-z)(A-Z)/g;for(r in i)s.setAttributeNS(null,r.replace(n,$1-$2).toLowerCase(),ir);return e.appendChild(s),s},Cedocument.documentElement,kefunction(){var t,e,i,rc||/Android/i.test(F)&&!window.chrome;return z.createElementNS&&!r&&(tRe(svg,Ce),eRe(rect,t,{width:100,height:50,x:100}),ie.getBoundingClientRect().left,e.stylewe50% 50%,e.stylexescale(0.5,0.5),rie.getBoundingClientRect().left,Ce.removeChild(t)),r}(),Oefunction(t,e,i){var rt.getBBox();eee(e).split( ),i.xOrigin(-1!e0.indexOf(%)?parseFloat(e0)/100*r.width:parseFloat(e0))+r.x,i.yOrigin(-1!e1.indexOf(%)?parseFloat(e1)/100*r.height:parseFloat(e1))+r.y},AeE.getTransformfunction(t,e,i,r){if(t._gsTransform&&i&&!r)return t._gsTransform;var n,o,l,h,u,f,p,_,c,d,m,g,v,yi?t._gsTransform||new Pe:new Pe,x0>y.scaleX,T2e-5,w1e5,b179.99,Pb*M,Sbe?parseFloat(H(t,we,e,!1,0 0 0).split( )2)||y.zOrigin||0:0,RparseFloat(a.defaultTransformPerspective)||0;if(xe?nH(t,Te,e,!0):t.currentStyle&&(nt.currentStyle.filter.match(O),nn&&4n.length?n0.substr(4),Number(n2.substr(4)),Number(n1.substr(4)),n3.substr(4),y.x||0,y.y||0.join(,):),n&&none!n&&matrix(1, 0, 0, 1, 0, 0)!n){for(o(n||).match(/(?:\-|\b)\d\-\.e+\b/gi)||,lo.length;--l>-1;)hNumber(ol),ol(uh-(h|0))?(0|u*w+(0>u?-.5:.5))/w+h:h;if(16o.length){var Co8,ko9,Ao10,Do12,No13,zo14;if(y.zOrigin&&(z-y.zOrigin,DC*z-o12,Nk*z-o13,zA*z+y.zOrigin-o14),!i||r||nully.rotationX){var X,I,E,F,Y,B,U,jo0,Wo1,Vo2,qo3,Go4,Qo5,Zo6,$o7,Ko11,JMath.atan2(Z,A),te-P>J||J>P;y.rotationXJ*L,J&&(FMath.cos(-J),YMath.sin(-J),XG*F+C*Y,IQ*F+k*Y,EZ*F+A*Y,CG*-Y+C*F,kQ*-Y+k*F,AZ*-Y+A*F,K$*-Y+K*F,GX,QI,ZE),JMath.atan2(C,j),y.rotationYJ*L,J&&(B-P>J||J>P,FMath.cos(-J),YMath.sin(-J),Xj*F-C*Y,IW*F-k*Y,EV*F-A*Y,kW*Y+k*F,AV*Y+A*F,Kq*Y+K*F,jX,WI,VE),JMath.atan2(W,Q),y.rotationJ*L,J&&(U-P>J||J>P,FMath.cos(-J),YMath.sin(-J),jj*F+G*Y,IW*F+Q*Y,QW*-Y+Q*F,ZV*-Y+Z*F,WI),U&&te?y.rotationy.rotationX0:U&&B?y.rotationy.rotationY0:B&&te&&(y.rotationYy.rotationX0),y.scaleX(0|Math.sqrt(j*j+W*W)*w+.5)/w,y.scaleY(0|Math.sqrt(Q*Q+k*k)*w+.5)/w,y.scaleZ(0|Math.sqrt(Z*Z+A*A)*w+.5)/w,y.skewX0,y.perspectiveK?1/(0>K?-K:K):0,y.xD,y.yN,y.zz}}else if(!(be&&!r&&o.length&&y.xo4&&y.yo5&&(y.rotationX||y.rotationY)||void 0!y.x&&noneH(t,display,e))){var eeo.length>6,ieee?o0:1,reo1||0,seo2||0,neee?o3:1;y.xo4||0,y.yo5||0,fMath.sqrt(ie*ie+re*re),pMath.sqrt(ne*ne+se*se),_ie||re?Math.atan2(re,ie)*L:y.rotation||0,cse||ne?Math.atan2(se,ne)*L+_:y.skewX||0,df-Math.abs(y.scaleX||0),mp-Math.abs(y.scaleY||0),Math.abs(c)>90&&270>Math.abs(c)&&(x?(f*-1,c+0>_?180:-180,_+0>_?180:-180):(p*-1,c+0>c?180:-180)),g(_-y.rotation)%180,v(c-y.skewX)%180,(void 0y.skewX||d>T||-T>d||m>T||-T>m||g>-b&&b>g&&false|g*w||v>-b&&b>v&&false|v*w)&&(y.scaleXf,y.scaleYp,y.rotation_,y.skewXc),be&&(y.rotationXy.rotationYy.z0,y.perspectiveR,y.scaleZ1)}y.zOriginS;for(l in y)T>yl&&yl>-T&&(yl0)}else y{x:0,y:0,z:0,scaleX:1,scaleY:1,scaleZ:1,skewX:0,skewY:0,perspective:R,rotation:0,rotationX:0,rotationY:0,zOrigin:0};return i&&(t._gsTransformy),y.svgSe&&t instanceof Se&&t.parentNode instanceof Se,y.svg&&(Oe(t,H(t,we,s,!1,50% 50%)+,y),vea.useSVGTransformAttr||ke),y.xPercenty.yPercent0,y},Defunction(t){var e,i,rthis.data,s-r.rotation*M,ns+r.skewX*M,a1e5,o(0|Math.cos(s)*r.scaleX*a)/a,l(0|Math.sin(s)*r.scaleX*a)/a,h(0|Math.sin(n)*-r.scaleY*a)/a,u(0|Math.cos(n)*r.scaleY*a)/a,fthis.t.style,pthis.t.currentStyle;if(p){il,l-h,h-i,ep.filter,f.filter;var _,d,mthis.t.offsetWidth,gthis.t.offsetHeight,vabsolute!p.position,Tprogid:DXImageTransform.Microsoft.Matrix(M11+o+, M12+l+, M21+h+, M22+u,wr.x+m*r.xPercent/100,br.y+g*r.yPercent/100;if(null!r.ox&&(_(r.oxp?.01*m*r.ox:r.ox)-m/2,d(r.oyp?.01*g*r.oy:r.oy)-g/2,w+_-(_*o+d*l),b+d-(_*h+d*u)),v?(_m/2,dg/2,T+, Dx+(_-(_*o+d*l)+w)+, Dy+(d-(_*h+d*u)+b)+)):T+, sizingMethodauto expand),f.filter-1!e.indexOf(DXImageTransform.Microsoft.Matrix()?e.replace(A,T):T+ +e,(0t||1t)&&1o&&0l&&0h&&1u&&(v&&-1T.indexOf(Dx0, Dy0)||x.test(e)&&100!parseFloat(RegExp.$1)||-1e.indexOf(gradient(&&e.indexOf(Alpha))&&f.removeAttribute(filter)),!v){var P,S,R,C8>c?1:-1;for(_r.ieOffsetX||0,dr.ieOffsetY||0,r.ieOffsetXMath.round((m-((0>o?-o:o)*m+(0>l?-l:l)*g))/2+w),r.ieOffsetYMath.round((g-((0>u?-u:u)*g+(0>h?-h:h)*m))/2+b),ce0;4>ce;ce++)SJce,PpS,i-1!P.indexOf(px)?parseFloat(P):G(this.t,S,parseFloat(P),P.replace(y,))||0,Ri!rS?2>ce?-r.ieOffsetX:-r.ieOffsetY:2>ce?_-r.ieOffsetX:d-r.ieOffsetY,fS(rSMath.round(i-R*(0ce||2ce?1:C)))+px}}},MeE.set3DTransformRatiofunction(t){var e,i,r,s,n,a,o,l,h,u,f,_,c,d,m,g,v,y,x,T,w,b,P,Sthis.data,Rthis.t.style,CS.rotation*M,kS.scaleX,OS.scaleY,AS.scaleZ,DS.x,LS.y,NS.z,zS.perspective;if(!(1!t&&0!t||auto!S.force3D||S.rotationY||S.rotationX||1!A||z||N))return Le.call(this,t),void 0;if(p){var X1e-4;X>k&&k>-X&&(kA2e-5),X>O&&O>-X&&(OA2e-5),!z||S.z||S.rotationX||S.rotationY||(z0)}if(C||S.skewX)yMath.cos(C),xMath.sin(C),ey,nx,S.skewX&&(C-S.skewX*M,yMath.cos(C),xMath.sin(C),simpleS.skewType&&(TMath.tan(S.skewX*M),TMath.sqrt(1+T*T),y*T,x*T)),i-x,ay;else{if(!(S.rotationY||S.rotationX||1!A||z||S.svg))return Rxe(S.xPercent||S.yPercent?translate(+S.xPercent+%,+S.yPercent+%) translate3d(:translate3d()+D+px,+L+px,+N+px)+(1!k||1!O? scale(+k+,+O+):),void 0;ea1,in0}f1,rsolhu_cd0,mz?-1/z:0,gS.zOrigin,v1e5,CS.rotationY*M,C&&(yMath.cos(C),xMath.sin(C),hf*-x,cm*-x,re*x,on*x,f*y,m*y,e*y,n*y),CS.rotationX*M,C&&(yMath.cos(C),xMath.sin(C),Ti*y+r*x,wa*y+o*x,bu*y+f*x,Pd*y+m*x,ri*-x+r*y,oa*-x+o*y,fu*-x+f*y,md*-x+m*y,iT,aw,ub,dP),1!A&&(r*A,o*A,f*A,m*A),1!O&&(i*O,a*O,u*O,d*O),1!k&&(e*k,n*k,h*k,c*k),g&&(_-g,sr*_,lo*_,_f*_+g),S.svg&&(s+S.xOrigin-(S.xOrigin*e+S.yOrigin*i),l+S.yOrigin-(S.xOrigin*n+S.yOrigin*a)),s(T(s+D)-(s|0))?(0|T*v+(0>T?-.5:.5))/v+s:s,l(T(l+L)-(l|0))?(0|T*v+(0>T?-.5:.5))/v+l:l,_(T(_+N)-(_|0))?(0|T*v+(0>T?-.5:.5))/v+_:_,Rxe(S.xPercent||S.yPercent?translate(+S.xPercent+%,+S.yPercent+%) matrix3d(:matrix3d()+(0|e*v)/v,(0|n*v)/v,(0|h*v)/v,(0|c*v)/v,(0|i*v)/v,(0|a*v)/v,(0|u*v)/v,(0|d*v)/v,(0|r*v)/v,(0|o*v)/v,(0|f*v)/v,(0|m*v)/v,s,l,_,z?1+-_/z:1.join(,)+)},LeE.set2DTransformRatiofunction(t){var e,i,r,s,n,a,o,l,h,u,f,pthis.data,_this.t,c_.style,dp.x,mp.y;return!(p.rotationX||p.rotationY||p.z||p.force3D!0||autop.force3D&&1!t&&0!t)||p.svg&&ve||!be?(sp.scaleX,np.scaleY,p.rotation||p.skewX||p.svg?(ep.rotation*M,ie-p.skewX*M,r1e5,aMath.cos(e)*s,oMath.sin(e)*s,lMath.sin(i)*-n,hMath.cos(i)*n,p.svg&&(d+p.xOrigin-(p.xOrigin*a+p.yOrigin*l),m+p.yOrigin-(p.xOrigin*o+p.yOrigin*h),f1e-6,f>d&&d>-f&&(d0),f>m&&m>-f&&(m0)),u(0|a*r)/r+,+(0|o*r)/r+,+(0|l*r)/r+,+(0|h*r)/r+,+d+,+m+),p.svg&&ve?_.setAttribute(transform,matrix(+u):cxe(p.xPercent||p.yPercent?translate(+p.xPercent+%,+p.yPercent+%) matrix(:matrix()+u):cxe(p.xPercent||p.yPercent?translate(+p.xPercent+%,+p.yPercent+%) matrix(:matrix()+s+,0,0,+n+,+d+,+m+),void 0):(this.setRatioMe,Me.call(this,t),void 0)};me(transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,{parser:function(t,e,i,r,n,o,l){if(r._transform)return n;var h,u,f,p,_,c,d,mr._transformAe(t,s,!0,l.parseTransform),gt.style,v1e-6,yye.length,xl,T{};if(stringtypeof x.transform&&xe)fX.style,fxex.transform,f.displayblock,f.positionabsolute,z.body.appendChild(X),hAe(X,null,!1),z.body.removeChild(X);else if(objecttypeof x){if(h{scaleX:re(null!x.scaleX?x.scaleX:x.scale,m.scaleX),scaleY:re(null!x.scaleY?x.scaleY:x.scale,m.scaleY),scaleZ:re(x.scaleZ,m.scaleZ),x:re(x.x,m.x),y:re(x.y,m.y),z:re(x.z,m.z),xPercent:re(x.xPercent,m.xPercent),yPercent:re(x.yPercent,m.yPercent),perspective:re(x.transformPerspective,m.perspective)},dx.directionalRotation,null!d)if(objecttypeof d)for(f in d)xfdf;else x.rotationd;stringtypeof x.x&&-1!x.x.indexOf(%)&&(h.x0,h.xPercentre(x.x,m.xPercent)),stringtypeof x.y&&-1!x.y.indexOf(%)&&(h.y0,h.yPercentre(x.y,m.yPercent)),h.rotationse(rotationin x?x.rotation:shortRotationin x?x.shortRotation+_short:rotationZin x?x.rotationZ:m.rotation,m.rotation,rotation,T),be&&(h.rotationXse(rotationXin x?x.rotationX:shortRotationXin x?x.shortRotationX+_short:m.rotationX||0,m.rotationX,rotationX,T),h.rotationYse(rotationYin x?x.rotationY:shortRotationYin x?x.shortRotationY+_short:m.rotationY||0,m.rotationY,rotationY,T)),h.skewXnullx.skewX?m.skewX:se(x.skewX,m.skewX),h.skewYnullx.skewY?m.skewY:se(x.skewY,m.skewY),(uh.skewY-m.skewY)&&(h.skewX+u,h.rotation+u)}for(be&&null!x.force3D&&(m.force3Dx.force3D,c!0),m.skewTypex.skewType||m.skewType||a.defaultSkewType,_m.force3D||m.z||m.rotationX||m.rotationY||h.z||h.rotationX||h.rotationY||h.perspective,_||nullx.scale||(h.scaleZ1);--y>-1;)iyey,phi-mi,(p>v||-v>p||null!xi||null!Ni)&&(c!0,nnew pe(m,i,mi,p,n),i in T&&(n.eTi),n.xs00,n.plugino,r._overwriteProps.push(n.n));return px.transformOrigin,p&&m.svg&&(Oe(t,p,h),nnew pe(m,xOrigin,m.xOrigin,h.xOrigin-m.xOrigin,n,-1,transformOrigin),n.bm.xOrigin,n.en.xs0h.xOrigin,nnew pe(m,yOrigin,m.yOrigin,h.yOrigin-m.yOrigin,n,-1,transformOrigin),n.bm.yOrigin,n.en.xs0h.yOrigin,p0px 0px),(p||be&&_&&m.zOrigin)&&(xe?(c!0,iwe,p(p||H(t,i,s,!1,50% 50%))+,nnew pe(g,i,0,0,n,-1,transformOrigin),n.bgi,n.plugino,be?(fm.zOrigin,pp.split( ),m.zOrigin(p.length>2&&(0f||0px!p2)?parseFloat(p2):f)||0,n.xs0n.ep0+ +(p1||50%)+ 0px,nnew pe(m,zOrigin,0,0,n,-1,n.n),n.bf,n.xs0n.em.zOrigin):n.xs0n.ep):ee(p+,m)),c&&(r._transformTypem.svg&&ve||!_&&3!this._transformType?2:3),n},prefix:!0}),me(boxShadow,{defaultValue:0px 0px 0px 0px #999,prefix:!0,color:!0,multi:!0,keyword:inset}),me(borderRadius,{defaultValue:0px,parser:function(t,e,i,n,a){ethis.format(e);var o,l,h,u,f,p,_,c,d,m,g,v,y,x,T,w,bborderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,Pt.style;for(dparseFloat(t.offsetWidth),mparseFloat(t.offsetHeight),oe.split( ),l0;b.length>l;l++)this.p.indexOf(border)&&(blV(bl)),fuH(t,bl,s,!1,0px),-1!f.indexOf( )&&(uf.split( ),fu0,uu1),phol,_parseFloat(f),vf.substr((_+).length),yp.charAt(1),y?(cparseInt(p.charAt(0)+1,10),pp.substr(2),c*parseFloat(p),gp.substr((c+).length-(0>c?1:0))||):(cparseFloat(p),gp.substr((c+).length)),g&&(gri||v),g!v&&(xG(t,borderLeft,_,v),TG(t,borderTop,_,v),%g?(f100*(x/d)+%,u100*(T/m)+%):emg?(wG(t,borderLeft,1,em),fx/w+em,uT/w+em):(fx+px,uT+px),y&&(pparseFloat(f)+c+g,hparseFloat(u)+c+g)),a_e(P,bl,f+ +u,p+ +h,!1,0px,a);return a},prefix:!0,formatter:he(0px 0px 0px 0px,!1,!0)}),me(backgroundPosition,{defaultValue:0 0,parser:function(t,e,i,r,n,a){var o,l,h,u,f,p,_background-position,ds||q(t,null),mthis.format((d?c?d.getPropertyValue(_+-x)+ +d.getPropertyValue(_+-y):d.getPropertyValue(_):t.currentStyle.backgroundPositionX+ +t.currentStyle.backgroundPositionY)||0 0),gthis.format(e);if(-1!m.indexOf(%)!(-1!g.indexOf(%))&&(pH(t,backgroundImage).replace(R,),p&&none!p)){for(om.split( ),lg.split( ),I.setAttribute(src,p),h2;--h>-1;)moh,u-1!m.indexOf(%),u!(-1!lh.indexOf(%))&&(f0h?t.offsetWidth-I.width:t.offsetHeight-I.height,ohu?parseFloat(m)/100*f+px:100*(parseFloat(m)/f)+%);mo.join( )}return this.parseComplex(t.style,m,g,n,a)},formatter:ee}),me(backgroundSize,{defaultValue:0 0,formatter:ee}),me(perspective,{defaultValue:0px,prefix:!0}),me(perspectiveOrigin,{defaultValue:50% 50%,prefix:!0}),me(transformStyle,{prefix:!0}),me(backfaceVisibility,{prefix:!0}),me(userSelect,{prefix:!0}),me(margin,{parser:ue(marginTop,marginRight,marginBottom,marginLeft)}),me(padding,{parser:ue(paddingTop,paddingRight,paddingBottom,paddingLeft)}),me(clip,{defaultValue:rect(0px,0px,0px,0px),parser:function(t,e,i,r,n,a){var o,l,h;return 9>c?(lt.currentStyle,h8>c? :,,orect(+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+),ethis.format(e).split(,).join(h)):(othis.format(H(t,this.p,s,!1,this.dflt)),ethis.format(e)),this.parseComplex(t.style,o,e,n,a)}}),me(textShadow,{defaultValue:0px 0px 0px #999,color:!0,multi:!0}),me(autoRound,strictUnits,{parser:function(t,e,i,r,s){return s}}),me(border,{defaultValue:0px solid #000,parser:function(t,e,i,r,n,a){return this.parseComplex(t.style,this.format(H(t,borderTopWidth,s,!1,0px)+ +H(t,borderTopStyle,s,!1,solid)+ +H(t,borderTopColor,s,!1,#000)),this.format(e),n,a)},color:!0,formatter:function(t){var et.split( );return e0+ +(e1||solid)+ +(t.match(le)||#000)0}}),me(borderWidth,{parser:ue(borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth)}),me(float,cssFloat,styleFloat,{parser:function(t,e,i,r,s){var nt.style,acssFloatin n?cssFloat:styleFloat;return new pe(n,a,0,0,s,-1,i,!1,0,na,e)}});var Nefunction(t){var e,ithis.t,ri.filter||H(this.data,filter)||,s0|this.s+this.c*t;100s&&(-1r.indexOf(atrix()&&-1r.indexOf(radient()&&-1r.indexOf(oader()?(i.removeAttribute(filter),e!H(this.data,filter)):(i.filterr.replace(w,),e!0)),e||(this.xn1&&(i.filterrr||alpha(opacity+s+)),-1r.indexOf(pacity)?0s&&this.xn1||(i.filterr+ alpha(opacity+s+)):i.filterr.replace(x,opacity+s))};me(opacity,alpha,autoAlpha,{defaultValue:1,parser:function(t,e,i,r,n,a){var oparseFloat(H(t,opacity,s,!1,1)),lt.style,hautoAlphai;returnstringtypeof e&&e.charAt(1)&&(e(-e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1o&&hiddenH(t,visibility,s)&&0!e&&(o0),Y?nnew pe(l,opacity,o,e-o,n):(nnew pe(l,opacity,100*o,100*(e-o),n),n.xn1h?1:0,l.zoom1,n.type2,n.balpha(opacity+n.s+),n.ealpha(opacity+(n.s+n.c)+),n.datat,n.plugina,n.setRatioNe),h&&(nnew pe(l,visibility,0,0,n,-1,null,!1,0,0!o?inherit:hidden,0e?hidden:inherit),n.xs0inherit,r._overwriteProps.push(n.n),r._overwriteProps.push(i)),n}});var zefunction(t,e){e&&(t.removeProperty?(mse.substr(0,2)&&(eM+e.substr(1)),t.removeProperty(e.replace(P,-$1).toLowerCase())):t.removeAttribute(e))},Xefunction(t){if(this.t._gsClassPTthis,1t||0t){this.t.setAttribute(class,0t?this.b:this.e);for(var ethis.data,ithis.t.style;e;)e.v?ie.pe.v:ze(i,e.p),ee._next;1t&&this.t._gsClassPTthis&&(this.t._gsClassPTnull)}else this.t.getAttribute(class)!this.e&&this.t.setAttribute(class,this.e)};me(className,{parser:function(t,e,r,n,a,o,l){var h,u,f,p,_,ct.getAttribute(class)||,dt.style.cssText;if(an._classNamePTnew pe(t,r,0,0,a,2),a.setRatioXe,a.pr-11,i!0,a.bc,uZ(t,s),ft._gsClassPT){for(p{},_f.data;_;)p_.p1,__._next;f.setRatio(1)}return t._gsClassPTa,a.e!e.charAt(1)?e:c.replace(RegExp(\\s*\\b+e.substr(2)+\\b),)+(+e.charAt(0)? +e.substr(2):),n._tween._duration&&(t.setAttribute(class,a.e),h$(t,u,Z(t),l,p),t.setAttribute(class,c),a.datah.firstMPT,t.style.cssTextd,aa.xfirstn.parse(t,h.difs,a,o)),a}});var Iefunction(t){if((1t||0t)&&this.data._totalTimethis.data._totalDuration&&isFromStart!this.data.data){var e,i,r,s,nthis.t.style,ao.transform.parse;if(allthis.e)n.cssText,s!0;else for(ethis.e.split( ).join().split(,),re.length;--r>-1;)ier,oi&&(oi.parsea?s!0:itransformOrigini?we:oi.p),ze(n,i);s&&(ze(n,xe),this.t._gsTransform&&delete this.t._gsTransform)}};for(me(clearProps,{parser:function(t,e,r,s,n){return nnew pe(t,r,0,0,n,2),n.setRatioIe,n.ee,n.pr-10,n.datas._tween,i!0,n}}),lbezier,throwProps,physicsProps,physics2D.split(,),cel.length;ce--;)ge(lce);la.prototype,l._firstPTnull,l._onInitTweenfunction(t,e,o){if(!t.nodeType)return!1;this._targett,this._tweeno,this._varse,he.autoRound,i!1,re.suffixMap||a.suffixMap,sq(t,),nthis._overwriteProps;var l,p,c,d,m,g,v,y,x,wt.style;if(u&&w.zIndex&&(lH(t,zIndex,s),(autol||l)&&this._addLazySet(w,zIndex,0)),stringtypeof e&&(dw.cssText,lZ(t,s),w.cssTextd+;+e,l$(t,l,Z(t)).difs,!Y&&T.test(e)&&(l.opacityparseFloat(RegExp.$1)),el,w.cssTextd),this._firstPTpthis.parse(t,e,null),this._transformType){for(x3this._transformType,xe?f&&(u!0,w.zIndex&&(vH(t,zIndex,s),(autov||v)&&this._addLazySet(w,zIndex,0)),_&&this._addLazySet(w,WebkitBackfaceVisibility,this._vars.WebkitBackfaceVisibility||(x?visible:hidden))):w.zoom1,cp;c&&c._next;)cc._next;ynew pe(t,transform,0,0,null,2),this._linkCSSP(y,null,c),y.setRatiox&&be?Me:xe?Le:De,y.datathis._transform||Ae(t,s,!0),n.pop()}if(i){for(;p;){for(gp._next,cd;c&&c.pr>p.pr;)cc._next;(p._prevc?c._prev:m)?p._prev._nextp:dp,(p._nextc)?c._prevp:mp,pg}this._firstPTd}return!0},l.parsefunction(t,e,i,n){var a,l,u,f,p,_,c,d,m,g,vt.style;for(a in e)_ea,loa,l?il.parse(t,_,a,this,i,n,e):(pH(t,a,s)+,mstringtypeof _,colora||filla||strokea||-1!a.indexOf(Color)||m&&b.test(_)?(m||(_oe(_),_(_.length>3?rgba(:rgb()+_.join(,)+)),i_e(v,a,p,_,!0,transparent,i,0,n)):!m||-1_.indexOf( )&&-1_.indexOf(,)?(uparseFloat(p),cu||0u?p.substr((u+).length):,(p||autop)&&(widtha||heighta?(ute(t,a,s),cpx):lefta||topa?(uQ(t,a,s),cpx):(uopacity!a?0:1,c)),gm&&_.charAt(1),g?(fparseInt(_.charAt(0)+1,10),__.substr(2),f*parseFloat(_),d_.replace(y,)):(fparseFloat(_),dm?_.substr((f+).length)||:),d&&(da in r?ra:c),_f||0f?(g?f+u:f)+d:ea,c!d&&!d&&(f||0f)&&u&&(uG(t,a,u,c),%d?(u/G(t,a,100,%)/100,e.strictUnits!!0&&(pu+%)):emd?u/G(t,a,1,em):px!d&&(fG(t,a,f,d),dpx),g&&(f||0f)&&(_f+u+d)),g&&(f+u),!u&&0!u||!f&&0!f?void 0!va&&(_||NaN!_+&&null!_)?(inew pe(v,a,f||u||0,0,i,-1,a,!1,0,p,_),i.xs0none!_||display!a&&-1a.indexOf(Style)?_:p):U(invalid +a+ tween value: +ea):(inew pe(v,a,u,f-u,i,0,a,h!!1&&(pxd||zIndexa),0,p,_),i.xs0d)):i_e(v,a,p,_,!0,null,i,0,n)),n&&i&&!i.plugin&&(i.pluginn);return i},l.setRatiofunction(t){var e,i,r,sthis._firstPT,n1e-6;if(1!t||this._tween._time!this._tween._duration&&0!this._tween._time)if(t||this._tween._time!this._tween._duration&&0!this._tween._time||this._tween._rawPrevTime-1e-6)for(;s;){if(es.c*t+s.s,s.r?eMath.round(e):n>e&&e>-n&&(e0),s.type)if(1s.type)if(rs.l,2r)s.ts.ps.xs0+e+s.xs1+s.xn1+s.xs2;else if(3r)s.ts.ps.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4r)s.ts.ps.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5r)s.ts.ps.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(is.xs0+e+s.xs1,r1;s.l>r;r++)i+sxn+r+sxs+(r+1);s.ts.pi}else-1s.type?s.ts.ps.xs0:s.setRatio&&s.setRatio(t);else s.ts.pe+s.xs0;ss._next}else for(;s;)2!s.type?s.ts.ps.b:s.setRatio(t),ss._next;else for(;s;)2!s.type?s.ts.ps.e:s.setRatio(t),ss._next},l._enableTransformsfunction(t){this._transformthis._transform||Ae(this._target,s,!0),this._transformTypethis._transform.svg&&ve||!t&&3!this._transformType?2:3};var Eefunction(){this.tthis.pthis.e,this.data._linkCSSP(this,this._next,null,!0)};l._addLazySetfunction(t,e,i){var rthis._firstPTnew pe(t,e,0,0,this._firstPT,2);r.ei,r.setRatioEe,r.datathis},l._linkCSSPfunction(t,e,i,r){return t&&(e&&(e._prevt),t._next&&(t._next._prevt._prev),t._prev?t._prev._nextt._next:this._firstPTt&&(this._firstPTt._next,r!0),i?i._nextt:r||null!this._firstPT||(this._firstPTt),t._nexte,t._previ),t},l._killfunction(e){var i,r,s,ne;if(e.autoAlpha||e.alpha){n{};for(r in e)nrer;n.opacity1,n.autoAlpha&&(n.visibility1)}return e.className&&(ithis._classNamePT)&&(si.xfirst,s&&s._prev?this._linkCSSP(s._prev,i._next,s._prev._prev):sthis._firstPT&&(this._firstPTi._next),i._next&&this._linkCSSP(i._next,i._next._next,s._prev),this._classNamePTnull),t.prototype._kill.call(this,n)};var Fefunction(t,e,i){var r,s,n,a;if(t.slice)for(st.length;--s>-1;)Fe(ts,e,i);else for(rt.childNodes,sr.length;--s>-1;)nrs,an.type,n.style&&(e.push(Z(n)),i&&i.push(n)),1!a&&9!a&&11!a||!n.childNodes.length||Fe(n,e,i)};return a.cascadeTofunction(t,i,r){var s,n,a,oe.to(t,i,r),lo,h,u,f,pe._internals.reservedProps;for(to._targets||o.target,Fe(t,h,f),o.render(i,!0),Fe(t,u),o.render(0,!0),o._enabled(!0),sf.length;--s>-1;)if(n$(fs,hs,us),n.firstMPT){nn.difs;for(a in r)pa&&(nara);l.push(e.to(fs,i,n))}return l},t.activate(a),a},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){use strict;var efunction(){return(_gsScope.GreenSockGlobals||_gsScope)t};functiontypeof define&&define.amd?define(TweenLite,e):undefined!typeof module&&module.exports&&(require(../TweenLite.js),module.exportse())}(CSSPlugin);var _gsScopeundefined!typeof module&&module.exports&&undefined!typeof global?global:this||window;(function(t){use strict;var et.GreenSockGlobals||t,ifunction(t){var i,st.split(.),re;for(i0;s.length>i;i++)rsirrsi||{};return r},si(com.greensock.utils),rfunction(t){var et.nodeType,i;if(1e||9e||11e){if(stringtypeof t.textContent)return t.textContent;for(tt.firstChild;t;tt.nextSibling)i+r(t)}else if(3e||4e)return t.nodeValue;return i},ndocument,an.defaultView?n.defaultView.getComputedStyle:function(){},o/(A-Z)/g,hfunction(t,e,i,s){var r;return(ii||a(t,null))?(ti.getPropertyValue(e.replace(o,-$1).toLowerCase()),rt||i.length?t:ie):t.currentStyle&&(it.currentStyle,rie),s?r:parseInt(r,10)||0},lfunction(t){return t.length&&t0&&(t0.nodeType&&t0.style&&!t.nodeType||t0.length&&t00)?!0:!1},_function(t){var e,i,s,r,nt.length;for(e0;n>e;e++)if(ite,l(i))for(si.length,s0;i.length>s;s++)r.push(is);else r.push(i);return r},u)eefec303079ad17405c,c/(?:br>|br\/>|br \/>)/gi,pn.all&&!n.addEventListener,fdiv styleposition:relative;display:inline-block;+(p?*display:inline;*zoom:1;:),mfunction(t){tt||;var e-1!t.indexOf(++),i1;return e&&(tt.split(++).join()),function(){return f+(t? class+t+(e?i++:)+>:>)}},ds.SplitTexte.SplitTextfunction(t,e){if(stringtypeof t&&(td.selector(t)),!t)throwcannot split a null element.;this.elementsl(t)?_(t):t,this.chars,this.words,this.lines,this._originals,this.varse||{},this.split(e)},gfunction(t,e,i){var st.nodeType;if(1s||9s||11s)for(tt.firstChild;t;tt.nextSibling)g(t,e,i);else(3s||4s)&&(t.nodeValuet.nodeValue.split(e).join(i))},vfunction(t,e){for(var ie.length;--i>-1;)t.push(ei)},yfunction(t,e,i,s,o){c.test(t.innerHTML)&&(t.innerHTMLt.innerHTML.replace(c,u));var l,_,p,f,d,y,T,w,b,x,P,S,C,k,Rr(t),Ae.type||e.split||chars,words,lines,O-1!A.indexOf(lines)?:null,D-1!A.indexOf(words),M-1!A.indexOf(chars),Labsolutee.position||e.absolute!0,zL? : ,I-999,Ea(t),Nh(t,paddingLeft,E),Fh(t,borderBottomWidth,E)+h(t,borderTopWidth,E),Xh(t,borderLeftWidth,E)+h(t,borderRightWidth,E),Uh(t,paddingTop,E)+h(t,paddingBottom,E),Bh(t,paddingLeft,E)+h(t,paddingRight,E),jh(t,textAlign,E,!0),Yt.clientHeight,qt.clientWidth,G/div>,Vm(e.wordsClass),Qm(e.charsClass),W-1!(e.linesClass||).indexOf(++),He.linesClass,Z-1!R.indexOf(),$!0,K,J,te;for(W&&(HH.split(++).join()),Z&&(RR.split().join()),lR.length,fV(),d0;l>d;d++)if(TR.charAt(d),)T&&R.substr(d,20)u)f+($?G:)+BR/>,$!1,d!l-20&&R.substr(d+20,20)!u&&(f+ +V(),$!0),d+19;else if( T&& !R.charAt(d-1)&&d!l-1&&R.substr(d-20,20)!u){for(f+$?G:,$!1; R.charAt(d+1);)f+z,d++;()!R.charAt(d+1)||R.substr(d+1,20)!u)&&(f+z+V(),$!0)}else f+M&& !T?Q()+T+/div>:T;for(t.innerHTMLf+($?G:),Z&&g(t,,),yt.getElementsByTagName(*),ly.length,w,d0;l>d;d++)wdyd;if(O||L)for(d0;l>d;d++)bwd,pb.parentNodet,(p||L||M&&!D)&&(xb.offsetTop,O&&p&&x!I&&BR!b.nodeName&&(_,O.push(_),Ix),L&&(b._xb.offsetLeft,b._yx,b._wb.offsetWidth,b._hb.offsetHeight),O&&(D!p&&M||(_.push(b),b._x-N),p&&d&&(wd-1._wordEnd!0),BRb.nodeName&&b.nextSibling&&BRb.nextSibling.nodeName&&O.push()));for(d0;l>d;d++)bwd,pb.parentNodet,BR!b.nodeName?(L&&(Sb.style,D||p||(b._x+b.parentNode._x,b._y+b.parentNode._y),S.leftb._x+px,S.topb._y+px,S.positionabsolute,S.displayblock,S.widthb._w+1+px,S.heightb._h+px),D?p&&!b.innerHTML?J.push(b):M&&K.push(b):p?(t.removeChild(b),w.splice(d--,1),l--):!p&&M&&(x!O&&!L&&b.nextSibling,t.appendChild(b),x||t.appendChild(n.createTextNode( )),K.push(b))):O||L?(t.removeChild(b),w.splice(d--,1),l--):D||t.appendChild(b);if(O){for(L&&(Pn.createElement(div),t.appendChild(P),CP.offsetWidth+px,xP.offsetParentt?0:t.offsetLeft,t.removeChild(P)),St.style.cssText,t.style.cssTextdisplay:none;;t.firstChild;)t.removeChild(t.firstChild);for(k!L||!D&&!M,d0;O.length>d;d++){for(_Od,Pn.createElement(div),P.style.cssTextdisplay:block;text-align:+j+;position:+(L?absolute;:relative;),H&&(P.classNameH+(W?d+1:)),te.push(P),l_.length,y0;l>y;y++)BR!_y.nodeName&&(b_y,P.appendChild(b),k&&(b._wordEnd||D)&&P.appendChild(n.createTextNode( )),L&&(0y&&(P.style.topb._y+px,P.style.leftN+x+px),b.style.top0px,x&&(b.style.leftb._x-x+px)));0l&&(P.innerHTML ),D||M||(P.innerHTMLr(P).split(String.fromCharCode(160)).join( )),L&&(P.style.widthC,P.style.heightb._h+px),t.appendChild(P)}t.style.cssTextS}L&&(Y>t.clientHeight&&(t.style.heightY-U+px,Y>t.clientHeight&&(t.style.heightY+F+px)),q>t.clientWidth&&(t.style.widthq-B+px,q>t.clientWidth&&(t.style.widthq+X+px))),v(i,K),v(s,J),v(o,te)},Td.prototype;T.splitfunction(t){this.isSplit&&this.revert(),this.varst||this.vars,this._originals.lengththis.chars.lengththis.words.lengththis.lines.length0;for(var ethis.elements.length;--e>-1;)this._originalsethis.elementse.innerHTML,y(this.elementse,this.vars,this.chars,this.words,this.lines);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit!0,this},T.revertfunction(){if(!this._originals)throwrevert() call wasnt scoped properly.;for(var tthis._originals.length;--t>-1;)this.elementst.innerHTMLthis._originalst;return this.chars,this.words,this.lines,this.isSplit!1,this},d.selectort.$||t.jQuery||function(e){var it.$||t.jQuery;return i?(d.selectori,i(e)):undefinedtypeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById(#e.charAt(0)?e.substr(1):e)},d.version0.3.3})(_gsScope),function(t){use strict;var efunction(){return(_gsScope.GreenSockGlobals||_gsScope)t};functiontypeof define&&define.amd?define(TweenLite,e):undefined!typeof module&&module.exports&&(module.exportse())}(SplitText);try{ window.GreenSockGlobals null; window._gsQueue null; window._gsDefine null; delete(window.GreenSockGlobals); delete(window._gsQueue); delete(window._gsDefine); } catch(e) {}try{ window.GreenSockGlobals oldgs; window._gsQueue oldgs_queue; } catch(e) {}if (window.tplogstrue) try { console.groupEnd(); } catch(e) {}(function(e,t){ e.waitForImages{hasImageProperties:backgroundImage,listStyleImage,borderImage,borderCornerImage};e.expr:.uncachedfunction(t){var ndocument.createElement(img);n.srct.src;return e(t).is(imgsrc!)&&!n.complete};e.fn.waitForImagesfunction(t,n,r){if(e.isPlainObject(arguments0)){nt.each;rt.waitForAll;tt.finished}tt||e.noop;nn||e.noop;r!!r;if(!e.isFunction(t)||!e.isFunction(n)){throw new TypeError(An invalid callback was supplied.)}return this.each(function(){var ie(this),s;if(r){var oe.waitForImages.hasImageProperties||,u/url\((?)(.*?)\1\)/g;i.find(*).each(function(){var te(this);if(t.is(img:uncached)){s.push({src:t.attr(src),element:t0})}e.each(o,function(e,n){var rt.css(n);if(!r){return true}var i;while(iu.exec(r)){s.push({src:i2,element:t0})}})})}else{i.find(img:uncached).each(function(){s.push({src:this.src,element:this})})}var fs.length,l0;if(f0){t.call(i0)}e.each(s,function(r,s){var onew Image;e(o).bind(load error,function(e){l++;n.call(s.element,l,f,e.typeload);if(lf){t.call(i0);return false}});o.srcs.src})})};})(jQuery)function revslider_showDoubleJqueryError(a){var bRevolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.;b+br> This includes make eliminates the revolution slider libraries, and make it not work.,b+br>br> To fix it you can:br> 1. In the Slider Settings -> Troubleshooting set option: strong>b>Put JS Includes To Body/b>/strong> option to true.,b+br> 2. Find the double jquery.js include and remove it.,bspan stylefont-size:16px;color:#BC0C06;>+b+/span>,jQuery(a).show().html(b)}!function(a,b){function c(){var a!1;return navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)?navigator.userAgent.match(/OS 4_\d like Mac OS X/i)&&(a!0):a!1,a}function d(d,e){if(db)return!1;if(d.data(aimg)!b&&(enabledd.data(aie8)&&i(8)||enabledd.data(amobile)&&W())&&d.html(img classtp-slider-alternative-image src+d.data(aimg)+>),preview1!e.navigationStyle&&preview3!e.navigationStyle&&preview4!e.navigationStyle||(e.soloArrowLeftHalignleft,e.soloArrowLeftValigncenter,e.soloArrowLeftHOffset0,e.soloArrowLeftVOffset0,e.soloArrowRightHalignright,e.soloArrowRightValigncenter,e.soloArrowRightHOffset0,e.soloArrowRightVOffset0,e.navigationArrowssolo),one.simplifyAll&&(i(8)||c())&&(d.find(.tp-caption).each(function(){var ba(this);b.removeClass(customin).removeClass(customout).addClass(fadein).addClass(fadeout),b.data(splitin,),b.data(speed,400)}),d.find(>ul>li).each(function(){var ba(this);b.data(transition,fade),b.data(masterspeed,500),b.data(slotamount,1);var cb.find(>img).first();c.data(kenburns,off)})),e.desktop!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i),on!e.fullWidth&&on!e.fullScreen&&(e.autoHeightoff),one.fullScreen&&(e.autoHeighton),on!e.fullWidth&&on!e.fullScreen&&(forceFulWidthoff),one.fullWidth&&offe.autoHeight&&d.css({maxHeight:e.startheight+px}),W()&&one.hideThumbsOnMobile&&thumbe.navigationType&&(e.navigationTypenone),W()&&one.hideBulletsOnMobile&&bullete.navigationType&&(e.navigationTypenone),W()&&one.hideBulletsOnMobile&&bothe.navigationType&&(e.navigationTypenone),W()&&one.hideArrowsOnMobile&&(e.navigationArrowsnone),one.forceFullWidth&&0d.closest(.forcefullwidth_wrapper_tp_banner).length){var jd.parent().offset().left,pd.parent().css(marginBottom),qd.parent().css(marginTop);pb&&(p0),qb&&(q0),d.parent().wrap(div styleposition:relative;width:100%;height:auto;margin-top:+q+;margin-bottom:+p+ classforcefullwidth_wrapper_tp_banner>/div>),d.closest(.forcefullwidth_wrapper_tp_banner).append(div classtp-fullwidth-forcer stylewidth:100%;height:+d.height()+px>/div>),d.css({backgroundColor:d.parent().css(backgroundColor),backgroundImage:d.parent().css(backgroundImage)}),d.parent().css({left:0-j+px,position:absolute,width:a(window).width()}),e.widtha(window).width()}try{e.hideThumbsUnderResolution>a(window).width()&&0!e.hideThumbsUnderResolution?d.parent().find(.tp-bullets.tp-thumbs).css({display:none}):d.parent().find(.tp-bullets.tp-thumbs).css({display:block})}catch(a){}if(!d.hasClass(revslider-initialised)){d.addClass(revslider-initialised),d.attr(id)b&&d.attr(id,revslider-+Math.round(1e3*Math.random()+5)),e.firefox13!1,e.ie!a.support.opacity,e.ie99document.documentMode,e.origcde.delay;var ra.fn.jquery.split(.),tparseFloat(r0),uparseFloat(r1);parseFloat(r2||0);1t&&u7&&d.html(div styletext-align:center; padding:40px 0px; font-size:20px; color:#992222;> The Current Version of jQuery:+r+ br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin/div>),t>1&&(e.ie!1),a.support.transition||(a.fn.transitiona.fn.animate),d.find(.caption).each(function(){a(this).addClass(tp-caption)}),W()&&(!navigator.userAgent.split(ipad).length>1||!navigator.userAgent.split(iPad).length>1)&&d.find(.tp-caption).each(function(){var ba(this);1!b.data(autoplayonlyfirsttime)&&true!b.data(autoplayonlyfirsttime)||b.data(autoplayonlyfirsttime,false),1!b.data(autoplay)&&true!b.data(autoplay)||b.data(autoplay,!1)});var w0,x0,Ahttp;if(https:location.protocol&&(Ahttps),d.find(.tp-caption).each(function(c){try{if((a(this).data(ytid)!b||a(this).find(iframe).attr(src).toLowerCase().indexOf(youtube)>0)&&0w){w1;var ddocument.createElement(script),ehttps;d.srce+://www.youtube.com/iframe_api;var fdocument.getElementsByTagName(script)0,g!0;a(head).find(*).each(function(){a(this).attr(src)e+://www.youtube.com/iframe_api&&(g!1)}),g&&f.parentNode.insertBefore(d,f)}}catch(a){}try{if((a(this).data(vimeoid)!b||a(this).find(iframe).attr(src).toLowerCase().indexOf(vimeo)>0)&&0x){x1;var hdocument.createElement(script);h.srcA+://a.vimeocdn.com/js/froogaloop2.min.js;var fdocument.getElementsByTagName(script)0,g!0;a(head).find(*).each(function(){a(this).attr(src)A+://a.vimeocdn.com/js/froogaloop2.min.js&&(g!1)}),g&&f.parentNode.insertBefore(h,f)}}catch(a){}try{a(this).data(videomp4)!b||a(this).data(videowebm)!b}catch(a){}}),d.find(.tp-caption video).each(function(b){a(this).removeClass(video-js).removeClass(vjs-default-skin),a(this).attr(preload,),a(this).css({display:none})}),d.find(>ul:first-child >li).each(function(){var ba(this);b.data(origindex,b.index())}),one.shuffle){var Bnew Object,Cd.find(>ul:first-child >li:first-child);B.fstransitionC.data(fstransition),B.fsmasterspeedC.data(fsmasterspeed),B.fsslotamountC.data(fsslotamount);for(var D0;Dd.find(>ul:first-child >li).length;D++){var EMath.round(Math.random()*d.find(>ul:first-child >li).length);d.find(>ul:first-child >li:eq(+E+)).prependTo(d.find(>ul:first-child))}var Fd.find(>ul:first-child >li:first-child);F.data(fstransition,B.fstransition),F.data(fsmasterspeed,B.fsmasterspeed),F.data(fsslotamount,B.fsslotamount)}e.slots4,e.act-1,e.next0,e.startWithSlide!b&&(e.nexte.startWithSlide);var Gg(#)0;if(G.length9&&G.split(slide).length>1){var HparseInt(G.split(slide)1,0);H1&&(H1),H>d.find(>ul:first >li).length&&(Hd.find(>ul:first >li).length),e.nextH-1}e.firststart1,e.navigationHOffsetb&&(e.navOffsetHorizontal0),e.navigationVOffsetb&&(e.navOffsetVertical0),d.append(div classtp-loader +e.spinner+>div classdot1>/div>div classdot2>/div>div classbounce1>/div>div classbounce2>/div>div classbounce3>/div>/div>),0d.find(.tp-bannertimer).length&&d.append(div classtp-bannertimer stylevisibility:hidden>/div>);var Id.find(.tp-bannertimer);if(I.length>0&&I.css({width:0%}),d.addClass(tp-simpleresponsive),e.containerd,e.slideamountd.find(>ul:first >li).length,0d.height()&&d.height(e.startheight),e.startwidth!b&&0!e.startwidth||(e.startwidthd.width()),e.startheight!b&&0!e.startheight||(e.startheightd.height()),e.widthd.width(),e.heightd.height(),e.bwe.startwidth/d.width(),e.bhe.startheight/d.height(),e.width!e.startwidth&&(e.heightMath.round(e.startheight*(e.width/e.startwidth)),d.height(e.height)),0!e.shadow){d.parent().append(div classtp-bannershadow tp-shadow+e.shadow+>/div>);var j0;one.forceFullWidth&&(j0-e.container.parent().offset().left),d.parent().find(.tp-bannershadow).css({width:e.width,left:j})}d.find(ul).css({display:none});d.find(ul).css({display:block}),s(d,e),off!e.parallax&&aa(d,e),e.slideamount>1&&k(d,e),e.slideamount>1&&thumbe.navigationType&&ca(d,e),e.slideamount>1&&l(d,e),one.keyboardNavigation&&m(d,e),n(d,e),e.hideThumbs>0&&o(d,e),setTimeout(function(){z(d,e)},e.startDelay),e.startDelay0,e.slideamount>1&&V(d,e),setTimeout(function(){d.trigger(revolution.slide.onloaded)},500),a(body).data(rs-fullScreenMode,!1),a(window).on(mozfullscreenchange webkitfullscreenchange fullscreenchange,function(){a(body).data(rs-fullScreenMode,!a(body).data(rs-fullScreenMode)),a(body).data(rs-fullScreenMode)&&setTimeout(function(){a(window).trigger(resize)},200)});var Kresize.revslider-+d.attr(id);a(window).on(K,function(){if(db)return!1;if(0!a(body).find(d)&&one.forceFullWidth){var ce.container.closest(.forcefullwidth_wrapper_tp_banner).offset().left;e.container.parent().css({left:0-c+px,width:a(window).width()})}(d.outerWidth(!0)!e.width||d.is(:hidden))&&h(d,e)});try{0!e.hideThumbsUnderResoluition&&thumbe.navigationType&&(e.hideThumbsUnderResoluition>a(window).width()?a(.tp-bullets).css({display:none}):a(.tp-bullets).css({display:block}))}catch(a){}d.find(.tp-scrollbelowslider).on(click,function(){var b0;try{ba(body).find(e.fullScreenOffsetContainer).height()}catch(a){}try{b-parseInt(a(this).data(scrolloffset),0)}catch(a){}a(body,html).animate({scrollTop:d.offset().top+d.find(>ul >li).height()-b+px},{duration:400})});var Ld.parent();a(window).width()e.hideSliderAtLimit&&(d.trigger(stoptimer),none!L.css(display)&&L.data(olddisplay,L.css(display)),L.css({display:none})),f(d,e)}}a.fn.extend({revolution:function(c){var e{delay:9e3,startheight:500,startwidth:960,fullScreenAlignForce:off,autoHeight:off,hideTimerBar:off,hideThumbs:200,hideNavDelayOnMobile:1500,thumbWidth:100,thumbHeight:50,thumbAmount:3,navigationType:bullet,navigationArrows:solo,navigationInGrid:off,hideThumbsOnMobile:off,hideBulletsOnMobile:off,hideArrowsOnMobile:off,hideThumbsUnderResoluition:0,navigationStyle:round,navigationHAlign:center,navigationVAlign:bottom,navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:left,soloArrowLeftValign:center,soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:right,soloArrowRightValign:center,soloArrowRightHOffset:20,soloArrowRightVOffset:0,keyboardNavigation:on,touchenabled:on,onHoverStop:on,stopAtSlide:-1,stopAfterLoops:-1,hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,shadow:0,fullWidth:off,fullScreen:off,minFullScreenHeight:0,fullScreenOffsetContainer:,fullScreenOffset:0,dottedOverlay:none,forceFullWidth:off,spinner:spinner0,swipe_treshold:75,swipe_min_touches:1,drag_block_vertical:!1,isJoomla:!1,parallax:off,parallaxLevels:10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,parallaxBgFreeze:off,parallaxOpacity:on,parallaxDisableOnMobile:off,panZoomDisableOnMobile:off,simplifyAll:on,minHeight:0,nextSlideOnWindowFocus:off,startDelay:0};return ca.extend({},e,c),this.each(function(){if(1window.tplogs)try{console.groupCollapsed(Slider Revolution 4.6.3 Initialisation on +a(this).attr(id)),console.groupCollapsed(Used Options:),console.info(c),console.groupEnd(),console.groupCollapsed(Tween Engine:)}catch(a){}if(punchgs.TweenLiteb){if(1window.tplogs)try{console.error(GreenSock Engine Does not Exist!)}catch(a){}return!1}if(punchgs.force3D!0,1window.tplogs)try{console.info(GreenSock Engine Version in Slider Revolution:+punchgs.TweenLite.version)}catch(a){}if(onc.simplifyAll||(punchgs.TweenLite.lagSmoothing(1e3,16),punchgs.force3Dtrue),1window.tplogs)try{console.groupEnd(),console.groupEnd()}catch(a){}d(a(this),c)})},revscroll:function(c){return this.each(function(){var da(this);d!b&&d.length>0&&a(body).find(#+d.attr(id)).length>0&&a(body,html).animate({scrollTop:d.offset().top+d.find(>ul >li).height()-c+px},{duration:400})})},revredraw:function(c){return this.each(function(){var ca(this);if(c!b&&c.length>0&&a(body).find(#+c.attr(id)).length>0){var dc.parent().find(.tp-bannertimer),ed.data(opt);h(c,e)}})},revkill:function(c){var dthis,ea(this);if(e!b&&e.length>0&&a(body).find(#+e.attr(id)).length>0){e.data(conthover,1),e.data(conthover-changed,1),e.trigger(revolution.slide.onpause);var fe.parent().find(.tp-bannertimer),gf.data(opt);g.bannertimeronpause!0,e.trigger(stoptimer),punchgs.TweenLite.killTweensOf(e.find(*),!1),punchgs.TweenLite.killTweensOf(e,!1),e.unbind(hover, mouseover, mouseenter,mouseleave, resize);var hresize.revslider-+e.attr(id);a(window).off(h),e.find(*).each(function(){var ca(this);c.unbind(on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer),c.off(on, hover, mouseenter,mouseleave,mouseover, resize),c.data(mySplitText,null),c.data(ctl,null),c.data(tween)!b&&c.data(tween).kill(),c.data(kenburn)!b&&c.data(kenburn).kill(),c.remove(),c.empty(),cnull}),punchgs.TweenLite.killTweensOf(e.find(*),!1),punchgs.TweenLite.killTweensOf(e,!1),f.remove();try{e.closest(.forcefullwidth_wrapper_tp_banner).remove()}catch(a){}try{e.closest(.rev_slider_wrapper).remove()}catch(a){}try{e.remove()}catch(a){}return e.empty(),e.html(),enull,gnull,delete d.container,delete d.opt,!0}return!1},revpause:function(c){return this.each(function(){var ca(this);if(c!b&&c.length>0&&a(body).find(#+c.attr(id)).length>0){c.data(conthover,1),c.data(conthover-changed,1),c.trigger(revolution.slide.onpause);var dc.parent().find(.tp-bannertimer),ed.data(opt);e.bannertimeronpause!0,c.trigger(stoptimer)}})},revresume:function(c){return this.each(function(){var ca(this);if(c!b&&c.length>0&&a(body).find(#+c.attr(id)).length>0){c.data(conthover,0),c.data(conthover-changed,1),c.trigger(revolution.slide.onresume);var dc.parent().find(.tp-bannertimer),ed.data(opt);e.bannertimeronpause!1,c.trigger(starttimer)}})},revnext:function(c){return this.each(function(){var ca(this);c!b&&c.length>0&&a(body).find(#+c.attr(id)).length>0&&c.parent().find(.tp-rightarrow).click()})},revprev:function(c){return this.each(function(){var ca(this);c!b&&c.length>0&&a(body).find(#+c.attr(id)).length>0&&c.parent().find(.tp-leftarrow).click()})},revmaxslide:function(b){return a(this).find(>ul:first-child >li).length},revcurrentslide:function(c){var da(this);if(d!b&&d.length>0&&a(body).find(#+d.attr(id)).length>0){var ed.parent().find(.tp-bannertimer),fe.data(opt);return f.act}},revlastslide:function(c){var da(this);if(d!b&&d.length>0&&a(body).find(#+d.attr(id)).length>0){var ed.parent().find(.tp-bannertimer),fe.data(opt);return f.lastslide}},revshowslide:function(c){return this.each(function(){var da(this);d!b&&d.length>0&&a(body).find(#+d.attr(id)).length>0&&(d.data(showus,c),d.parent().find(.tp-rightarrow).click())})}});var f(function(){var a,b,c{hidden:visibilitychange,webkitHidden:webkitvisibilitychange,mozHidden:mozvisibilitychange,msHidden:msvisibilitychange};for(a in c)if(a in document){bca;break}return function(c){return c&&document.addEventListener(b,c),!documenta}}(),function(c,d){var edocument.documentModeb,fwindow.chrome;e&&!f?a(window).on(focusin,function(){return c!b&&void setTimeout(function(){ond.nextSlideOnWindowFocus&&c.revnext(),c.revredraw()},300)}).on(focusout,function(){}):window.addEventListener?(window.addEventListener(focus,function(a){return c!b&&void setTimeout(function(){ond.nextSlideOnWindowFocus&&c.revnext(),c.revredraw()},300)},!1),window.addEventListener(blur,function(a){},!1)):(window.attachEvent(focus,function(a){setTimeout(function(){return c!b&&(ond.nextSlideOnWindowFocus&&c.revnext(),void c.revredraw())},300)}),window.attachEvent(blur,function(a){}))}),gfunction(a){for(var c,b,dwindow.location.href.slice(window.location.href.indexOf(a)+1).split(_),e0;ed.length;e++)dede.replace(%3D,),cde.split(),b.push(c0),bc0c1;return b},hfunction(c,d){if(cb)return!1;try{0!d.hideThumbsUnderResoluition&&thumbd.navigationType&&(d.hideThumbsUnderResoluition>a(window).width()?a(.tp-bullets).css({display:none}):a(.tp-bullets).css({display:block}))}catch(a){}c.find(.defaultimg).each(function(b){r(a(this),d)});var ec.parent();a(window).width()d.hideSliderAtLimit?(c.trigger(stoptimer),none!e.css(display)&&e.data(olddisplay,e.css(display)),e.css({display:none})):c.is(:hidden)&&(e.data(olddisplay)!b&&undefined!e.data(olddisplay)&&none!e.data(olddisplay)?e.css({display:e.data(olddisplay)}):e.css({display:block}),c.trigger(restarttimer),setTimeout(function(){h(c,d)},150));var f0;ond.forceFullWidth&&(f0-d.container.parent().offset().left);try{c.parent().find(.tp-bannershadow).css({width:d.width,left:f})}catch(a){}var gc.find(>ul >li:eq(+d.act+) .slotholder),ic.find(>ul >li:eq(+d.next+) .slotholder);v(c,d,c),punchgs.TweenLite.set(i.find(.defaultimg),{opacity:0}),g.find(.defaultimg).css({opacity:1}),i.find(.defaultimg).each(function(){var ea(this);ond.panZoomDisableOnMobile||e.data(kenburn)!b&&(e.data(kenburn).restart(),Y(c,d,!0))});var jc.find(>ul >li:eq(+d.next+)),kc.parent().find(.tparrows);k.hasClass(preview2)&&k.css({width:parseInt(k.css(minWidth),0)}),L(j,d,!0),p(c,d)},ifunction(b,c){var da(div styledisplay:none;/>).appendTo(a(body));d.html(!--if +(c||)+ IE +(b||)+>a> /a>!endif-->);var ed.find(a).length;return d.remove(),e},jfunction(a,b){a.nextb.find(>ul >li).length-1&&(a.looptogoa.looptogo-1,a.looptogo0&&(a.stopLoopon)),z(b,a)},kfunction(b,c){var dhidebullets;0c.hideThumbs&&(d),bullet!c.navigationType&&both!c.navigationType||b.parent().append(div classtp-bullets +d+ simplebullets +c.navigationStyle+>/div>);var eb.parent().find(.tp-bullets);b.find(>ul:first >li).each(function(a){b.find(>ul:first >li:eq(+a+) img:first).attr(src);e.append(div classbullet>/div>);e.find(.bullet:first)}),e.find(.bullet).each(function(d){var ea(this);dc.slideamount-1&&e.addClass(last),0d&&e.addClass(first),e.click(function(){var a!1,de.index();withbullet!c.navigationArrows&&nexttobullets!c.navigationArrows||(de.index()-1),dc.act&&(a!0),0!c.transition||a||(c.nextd,j(c,b))})}),e.append(div classtpclear>/div>),p(b,c)},lfunction(a,c){function h(b){a.parent().append(div style+e+ classtp-+b+arrow +f+ tparrows +g+>div classtp-arr-allwrapper>div classtp-arr-iwrapper>div classtp-arr-imgholder>/div>div classtp-arr-imgholder2>/div>div classtp-arr-titleholder>/div>div classtp-arr-subtitleholder>/div>/div>/div>/div>)}var e(a.find(.tp-bullets),),fhidearrows,gc.navigationStyle;0c.hideThumbs&&(f),nonec.navigationArrows&&(evisibility:hidden;display:none),c.soloArrowStyledefault +c.navigationStyle,none!c.navigationArrows&&nexttobullets!c.navigationArrows&&(gc.soloArrowStyle),h(left),h(right),a.parent().find(.tp-rightarrow).click(function(){0c.transition&&(a.data(showus)!b&&a.data(showus)!-1?c.nexta.data(showus)-1:c.nextc.next+1,a.data(showus,-1),c.next>c.slideamount&&(c.next0),c.next0&&(c.next0),c.act!c.next&&j(c,a))}),a.parent().find(.tp-leftarrow).click(function(){0c.transition&&(c.nextc.next-1,c.leftarrowpressed1,c.next0&&(c.nextc.slideamount-1),j(c,a))}),p(a,c)},mfunction(c,d){a(document).keydown(function(a){0d.transition&&39a.keyCode&&(c.data(showus)!b&&c.data(showus)!-1?d.nextc.data(showus)-1:d.nextd.next+1,c.data(showus,-1),d.next>d.slideamount&&(d.next0),d.next0&&(d.next0),d.act!d.next&&j(d,c)),0d.transition&&37a.keyCode&&(d.nextd.next-1,d.leftarrowpressed1,d.next0&&(d.nextd.slideamount-1),j(d,c))}),p(c,d)},nfunction(b,c){var dvertical;onc.touchenabled&&(1c.drag_block_vertical&&(dnone),b.swipe({allowPageScroll:d,fingers:c.swipe_min_touches,treshold:c.swipe_treshold,swipe:function(e,f,g,h,i,k){switch(f){caseleft:0c.transition&&(c.nextc.next+1,c.nextc.slideamount&&(c.next0),j(c,b));break;caseright:0c.transition&&(c.nextc.next-1,c.leftarrowpressed1,c.next0&&(c.nextc.slideamount-1),j(c,b));break;caseup:noned&&a(html, body).animate({scrollTop:b.offset().top+b.height()+px});break;casedown:noned&&a(html, body).animate({scrollTop:b.offset().top-a(window).height()+px})}}}))},ofunction(a,b){var ca.parent().find(.tp-bullets),da.parent().find(.tparrows);if(nullc){a.append(div class.tp-bullets>/div>);var ca.parent().find(.tp-bullets)}if(nulld){a.append(div class.tparrows>/div>);var da.parent().find(.tparrows)}if(a.data(hideThumbs,b.hideThumbs),c.addClass(hidebullets),d.addClass(hidearrows),W())try{a.hammer().on(touch,function(){a.addClass(hovered),onb.onHoverStop&&a.trigger(stoptimer),clearTimeout(a.data(hideThumbs)),c.removeClass(hidebullets),d.removeClass(hidearrows)}),a.hammer().on(release,function(){a.removeClass(hovered),a.trigger(starttimer),a.hasClass(hovered)||c.hasClass(hovered)||a.data(hideThumbs,setTimeout(function(){c.addClass(hidebullets),d.addClass(hidearrows),a.trigger(starttimer)},b.hideNavDelayOnMobile))})}catch(a){}else c.hover(function(){b.overnav!0,onb.onHoverStop&&a.trigger(stoptimer),c.addClass(hovered),clearTimeout(a.data(hideThumbs)),c.removeClass(hidebullets),d.removeClass(hidearrows)},function(){b.overnav!1,a.trigger(starttimer),c.removeClass(hovered),a.hasClass(hovered)||c.hasClass(hovered)||a.data(hideThumbs,setTimeout(function(){c.addClass(hidebullets),d.addClass(hidearrows)},b.hideThumbs))}),d.hover(function(){b.overnav!0,onb.onHoverStop&&a.trigger(stoptimer),c.addClass(hovered),clearTimeout(a.data(hideThumbs)),c.removeClass(hidebullets),d.removeClass(hidearrows)},function(){b.overnav!1,a.trigger(starttimer),c.removeClass(hovered)}),a.on(mouseenter,function(){a.addClass(hovered),onb.onHoverStop&&a.trigger(stoptimer),clearTimeout(a.data(hideThumbs)),c.removeClass(hidebullets),d.removeClass(hidearrows)}),a.on(mouseleave,function(){a.removeClass(hovered),a.trigger(starttimer),a.hasClass(hovered)||c.hasClass(hovered)||a.data(hideThumbs,setTimeout(function(){c.addClass(hidebullets),d.addClass(hidearrows)},b.hideThumbs))})},pfunction(b,c){var db.parent(),ed.find(.tp-bullets);if(thumbc.navigationType){e.find(.thumb).each(function(b){var da(this);d.css({width:c.thumbWidth*c.bw+px,height:c.thumbHeight*c.bh+px})});var fe.find(.tp-mask);f.width(c.thumbWidth*c.thumbAmount*c.bw),f.height(c.thumbHeight*c.bh),f.parent().width(c.thumbWidth*c.thumbAmount*c.bw),f.parent().height(c.thumbHeight*c.bh)}var gd.find(.tp-leftarrow),hd.find(.tp-rightarrow);thumbc.navigationType&&nexttobulletsc.navigationArrows&&(c.navigationArrowssolo),nexttobulletsc.navigationArrows&&(g.prependTo(e).css({float:left}),h.insertBefore(e.find(.tpclear)).css({float:left}));var i0;onc.forceFullWidth&&(i0-c.container.parent().offset().left);var j0,k0;if(onc.navigationInGrid&&(jb.width()>c.startwidth?(b.width()-c.startwidth)/2:0,kb.height()>c.startheight?(b.height()-c.startheight)/2:0),none!c.navigationArrows&&nexttobullets!c.navigationArrows){var lc.soloArrowLeftValign,mc.soloArrowLeftHalign,nc.soloArrowRightValign,oc.soloArrowRightHalign,pc.soloArrowLeftVOffset,qc.soloArrowLeftHOffset,rc.soloArrowRightVOffset,sc.soloArrowRightHOffset;g.css({position:absolute}),h.css({position:absolute}),centerl?g.css({top:50%,marginTop:p-Math.round(g.innerHeight()/2)+px}):bottoml?g.css({top:auto,bottom:0+p+px}):topl&&g.css({bottom:auto,top:0+p+px}),centerm?g.css({left:50%,marginLeft:i+q-Math.round(g.innerWidth()/2)+px}):leftm?g.css({left:j+q+i+px}):rightm&&g.css({right:j+q-i+px}),centern?h.css({top:50%,marginTop:r-Math.round(h.innerHeight()/2)+px}):bottomn?h.css({top:auto,bottom:0+r+px}):topn&&h.css({bottom:auto,top:0+r+px}),centero?h.css({left:50%,marginLeft:i+s-Math.round(h.innerWidth()/2)+px}):lefto?h.css({left:j+s+i+px}):righto&&h.css({right:j+s-i+px}),null!g.position()&&g.css({top:Math.round(parseInt(g.position().top,0))+px}),null!h.position()&&h.css({top:Math.round(parseInt(h.position().top,0))+px})}nonec.navigationArrows&&(g.css({visibility:hidden}),h.css({visibility:hidden}));var tc.navigationVAlign,uc.navigationHAlign,vc.navigationVOffset*c.bh,wc.navigationHOffset*c.bw;centert&&e.css({top:50%,marginTop:v-Math.round(e.innerHeight()/2)+px}),bottomt&&e.css({bottom:0+v+px}),topt&&e.css({top:0+v+px}),centeru&&e.css({left:50%,marginLeft:i+w-Math.round(e.innerWidth()/2)+px}),leftu&&e.css({left:0+w+i+px}),rightu&&e.css({right:0+w-i+px})},qfunction(c){var dc.container;c.beforlic.next-1,c.cominglic.next+1,c.beforli0&&(c.beforlic.slideamount-1),c.comingli>c.slideamount&&(c.comingli0);var ed.find(>ul:first-child >li:eq(+c.comingli+)),fd.find(>ul:first-child >li:eq(+c.beforli+)),gf.find(.defaultimg).attr(src),he.find(.defaultimg).attr(src);c.arrb&&(c.arrd.parent().find(.tparrows),c.rard.parent().find(.tp-rightarrow),c.lard.parent().find(.tp-leftarrow),c.raimgc.rar.find(.tp-arr-imgholder),c.laimgc.lar.find(.tp-arr-imgholder),c.raimg_bc.rar.find(.tp-arr-imgholder2),c.laimg_bc.lar.find(.tp-arr-imgholder2),c.ratitc.rar.find(.tp-arr-titleholder),c.latitc.lar.find(.tp-arr-titleholder));var ic.arr,jc.rar,kc.lar,lc.raimg,mc.laimg,nc.raimg_b,oc.laimg_b,pc.ratit,qc.latit;if(e.data(title)!b&&p.html(e.data(title)),f.data(title)!b&&q.html(f.data(title)),j.hasClass(itishovered)&&j.width(p.outerWidth(!0)+parseInt(j.css(minWidth),0)),k.hasClass(itishovered)&&k.width(q.outerWidth(!0)+parseInt(k.css(minWidth),0)),i.hasClass(preview2)&&!i.hasClass(hashoveralready))if(i.addClass(hashoveralready),W()){var ia(this),ri.find(.tp-arr-titleholder);r.addClass(alwayshidden),punchgs.TweenLite.set(r,{autoAlpha:0})}else i.hover(function(){var ba(this),cb.find(.tp-arr-titleholder);a(window).width()>767&&b.width(c.outerWidth(!0)+parseInt(b.css(minWidth),0)),b.addClass(itishovered)},function(){var ba(this);b.find(.tp-arr-titleholder);b.css({width:parseInt(b.css(minWidth),0)}),b.removeClass(itishovered)});f.data(thumb)!b&&(gf.data(thumb)),e.data(thumb)!b&&(he.data(thumb)),i.hasClass(preview4)?(n.css({backgroundImage:url(+h+)}),o.css({backgroundImage:url(+g+)}),punchgs.TweenLite.fromTo(n,.8,{force3D:punchgs.force3d,x:0},{x:-l.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){l.css({backgroundImage:url(+h+)}),punchgs.TweenLite.set(n,{x:0})}}),punchgs.TweenLite.fromTo(o,.8,{force3D:punchgs.force3d,x:0},{x:l.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){m.css({backgroundImage:url(+g+)}),punchgs.TweenLite.set(o,{x:0})}}),punchgs.TweenLite.fromTo(l,.8,{x:0},{force3D:punchgs.force3d,x:-l.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){punchgs.TweenLite.set(l,{x:0})}}),punchgs.TweenLite.fromTo(m,.8,{x:0},{force3D:punchgs.force3d,x:l.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){punchgs.TweenLite.set(m,{x:0})}})):(punchgs.TweenLite.to(l,.5,{autoAlpha:0,onComplete:function(){l.css({backgroundImage:url(+h+)}),m.css({backgroundImage:url(+g+)})}}),punchgs.TweenLite.to(m,.5,{autoAlpha:0,onComplete:function(){punchgs.TweenLite.to(l,.5,{autoAlpha:1,delay:.2}),punchgs.TweenLite.to(m,.5,{autoAlpha:1,delay:.2})}})),j.hasClass(preview4)&&!j.hasClass(hashoveralready)&&(j.addClass(hashoveralready),j.hover(function(){var ba(this).find(.tp-arr-iwrapper),ca(this).find(.tp-arr-allwrapper);punchgs.TweenLite.fromTo(b,.4,{x:b.width()},{x:0,delay:.3,ease:punchgs.Power3.easeOut,overwrite:all}),punchgs.TweenLite.to(c,.2,{autoAlpha:1,overwrite:all})},function(){var ba(this).find(.tp-arr-iwrapper),ca(this).find(.tp-arr-allwrapper);punchgs.TweenLite.to(b,.4,{x:b.width(),ease:punchgs.Power3.easeOut,delay:.2,overwrite:all}),punchgs.TweenLite.to(c,.2,{delay:.6,autoAlpha:0,overwrite:all})}),k.hover(function(){var ba(this).find(.tp-arr-iwrapper),ca(this).find(.tp-arr-allwrapper);punchgs.TweenLite.fromTo(b,.4,{x:0-b.width()},{x:0,delay:.3,ease:punchgs.Power3.easeOut,overwrite:all}),punchgs.TweenLite.to(c,.2,{autoAlpha:1,overwrite:all})},function(){var ba(this).find(.tp-arr-iwrapper),ca(this).find(.tp-arr-allwrapper);punchgs.TweenLite.to(b,.4,{x:0-b.width(),ease:punchgs.Power3.easeOut,delay:.2,overwrite:all}),punchgs.TweenLite.to(c,.2,{delay:.6,autoAlpha:0,overwrite:all})}))},rfunction(c,d){if(d.container.closest(.forcefullwidth_wrapper_tp_banner).find(.tp-fullwidth-forcer).css({height:d.container.height()}),d.container.closest(.rev_slider_wrapper).css({height:d.container.height()}),d.widthparseInt(d.container.width(),0),d.heightparseInt(d.container.height(),0),d.bwd.width/d.startwidth,d.bhd.height/d.startheight,d.bh>d.bw&&(d.bhd.bw),d.bhd.bw&&(d.bwd.bh),d.bwd.bh&&(d.bhd.bw),d.bh>1&&(d.bw1,d.bh1),d.bw>1&&(d.bw1,d.bh1),d.heightMath.round(d.startheight*(d.width/d.startwidth)),d.height>d.startheight&&on!d.autoHeight&&(d.heightd.startheight),ond.fullScreen){d.heightd.bw*d.startheight;var f(d.container.parent().width(),a(window).height());if(d.fullScreenOffsetContainer!b){try{var gd.fullScreenOffsetContainer.split(,);a.each(g,function(b,c){f-a(c).outerHeight(!0),fd.minFullScreenHeight&&(fd.minFullScreenHeight)})}catch(a){}try{d.fullScreenOffset.split(%).length>1&&d.fullScreenOffset!b&&d.fullScreenOffset.length>0?f-a(window).height()*parseInt(d.fullScreenOffset,0)/100:d.fullScreenOffset!b&&d.fullScreenOffset.length>0&&(f-parseInt(d.fullScreenOffset,0)),fd.minFullScreenHeight&&(fd.minFullScreenHeight)}catch(a){}}d.container.parent().height(f),d.container.closest(.rev_slider_wrapper).height(f),d.container.css({height:100%}),d.heightf,d.minHeight!b&&d.heightd.minHeight&&(d.heightd.minHeight)}else d.minHeight!b&&d.heightd.minHeight&&(d.heightd.minHeight),d.container.height(d.height);d.slotwMath.ceil(d.width/d.slots),ond.fullScreen?d.slothMath.ceil(a(window).height()/d.slots):d.slothMath.ceil(d.height/d.slots),ond.autoHeight&&(d.slothMath.ceil(c.height()/d.slots))},sfunction(c,d){c.find(.tp-caption).each(function(){a(this).addClass(a(this).data(transition)),a(this).addClass(start)}),c.find(>ul:first).css({overflow:hidden,width:100%,height:100%,maxHeight:c.parent().css(maxHeight)}).addClass(tp-revslider-mainul),ond.autoHeight&&(c.find(>ul:first).css({overflow:hidden,width:100%,height:100%,maxHeight:none}),c.css({maxHeight:none}),c.parent().css({maxHeight:none})),c.find(>ul:first >li).each(function(d){var ea(this);if(e.addClass(tp-revslider-slidesli),e.css({width:100%,height:100%,overflow:hidden}),e.data(link)!b){var fe.data(link),g_self,h60;backe.data(slideindex)&&(h0);var ichecksle.data(linktoslide);i!b&&next!i&&prev!i&&c.find(>ul:first-child >li).each(function(){var ba(this);b.data(origindex)+1checksl&&(ib.index()+1)}),e.data(target)!b&&(ge.data(target)),slide!f&&(ino);var jdiv classtp-caption sft slidelink stylewidth:100%;height:100%;z-index:+h+; data-xcenter data-ycenter data-linktoslide+i+ data-start0>a stylewidth:100%;height:100%;display:block;slide!f&&(jj+ target+g+ href+f+),j+>span stylewidth:100%;height:100%;display:block>/span>/a>/div>,e.append(j)}}),c.parent().css({overflow:visible}),c.find(>ul:first >li >img).each(function(c){var ea(this);e.addClass(defaultimg),e.data(lazyload)!b&&1!e.data(lazydone)||r(e,d),i(8)&&e.data(kenburns,off),ond.panZoomDisableOnMobile&&W()&&(e.data(kenburns,off),e.data(bgfit,cover)),e.wrap(div classslotholder stylewidth:100%;height:100%;data-duration+e.data(duration)+data-zoomstart+e.data(zoomstart)+data-zoomend+e.data(zoomend)+data-rotationstart+e.data(rotationstart)+data-rotationend+e.data(rotationend)+data-ease+e.data(ease)+data-duration+e.data(duration)+data-bgpositionend+e.data(bgpositionend)+data-bgposition+e.data(bgposition)+data-duration+e.data(duration)+data-kenburns+e.data(kenburns)+data-easeme+e.data(ease)+data-bgfit+e.data(bgfit)+data-bgfitend+e.data(bgfitend)+data-owidth+e.data(owidth)+data-oheight+e.data(oheight)+>/div>),none!d.dottedOverlay&&d.dottedOverlay!b&&e.closest(.slotholder).append(div classtp-dottedoverlay +d.dottedOverlay+>/div>);var fe.attr(src),h(e.data(lazyload),e.data(bgfit)),je.data(bgrepeat),ke.data(bgposition);hb&&(hcover),jb&&(jno-repeat),kb&&(kcenter center);var le.closest(.slotholder);e.replaceWith(div classtp-bgimg defaultimg data-lazyload+e.data(lazyload)+ data-bgfit+h+data-bgposition+k+ data-bgrepeat+j+ data-lazydone+e.data(lazydone)+ src+f+ data-src+f+ stylebackground-color:+e.css(backgroundColor)+;background-repeat:+j+;background-image:url(+f+);background-size:+h+;background-position:+k+;width:100%;height:100%;>/div>),i(8)&&(l.find(.tp-bgimg).css({backgroundImage:none,background-image:none}),l.find(.tp-bgimg).append(img classieeightfallbackimage defaultimg src+f+ stylewidth:100%>)),e.css({opacity:0}),e.data(li-id,c)})},tfunction(a,c,d,e){var fa,gf.find(.defaultimg),hf.data(zoomstart),jf.data(rotationstart);g.data(currotate)!b&&(jg.data(currotate)),g.data(curscale)!b&&boxe?h100*g.data(curscale):g.data(curscale)!b&&(hg.data(curscale)),r(g,c);var kg.data(src),lg.css(backgroundColor),mc.width,nc.height,og.data(fxof),p0;onc.autoHeight&&(nc.container.height()),ob&&(o0);var q0,sg.data(bgfit),tg.data(bgrepeat),vg.data(bgposition);if(sb&&(scover),tb&&(tno-repeat),vb&&(vcenter center),i(8)){f.data(kenburns,off);var wk;k}switch(e){casebox:var x0,y0,z0;if(xc.sloth>c.slotw?c.sloth:c.slotw,!d)var q0-x;c.slotwx,c.slothx;var y0,z0;onf.data(kenburns)&&(sh,s.toString().length4&&(sX(s,f,c)));for(var A0;Ac.slots;A++){z0;for(var B0;Bc.slots;B++)f.append(div classslot styleposition:absolute;top:+(p+z)+px;left:+(o+y)+px;width:+x+px;height:+x+px;overflow:hidden;>div classslotslide data-x+y+ data-y+z+ styleposition:absolute;top:0px;left:0px;width:+x+px;height:+x+px;overflow:hidden;>div styleposition:absolute;top:+(0-z)+px;left:+(0-y)+px;width:+m+px;height:+n+px;background-color:+l+;background-image:url(+k+);background-repeat:+t+;background-size:+s+;background-position:+v+;>/div>/div>/div>),z+x,i(8)&&(f.find(.slot ).last().find(.slotslide).append(img src+w+>),u(f,c)),h!b&&j!b&&punchgs.TweenLite.set(f.find(.slot).last(),{rotationZ:j});y+x}break;casevertical:casehorizontal:if(onf.data(kenburns)&&(sh,s.toString().length4&&(sX(s,f,c))),horizontale){if(!d)var q0-c.slotw;for(var B0;Bc.slots;B++)f.append(div classslot styleposition:absolute;top:+(0+p)+px;left:+(o+B*c.slotw)+px;overflow:hidden;width:+(c.slotw+.6)+px;height:+n+px>div classslotslide styleposition:absolute;top:0px;left:+q+px;width:+(c.slotw+.6)+px;height:+n+px;overflow:hidden;>div stylebackground-color:+l+;position:absolute;top:0px;left:+(0-B*c.slotw)+px;width:+m+px;height:+n+px;background-image:url(+k+);background-repeat:+t+;background-size:+s+;background-position:+v+;>/div>/div>/div>),h!b&&j!b&&punchgs.TweenLite.set(f.find(.slot).last(),{rotationZ:j}),i(8)&&(f.find(.slot ).last().find(.slotslide).append(img classieeightfallbackimage src+w+ stylewidth:100%;height:auto>),u(f,c))}else{if(!d)var q0-c.sloth;for(var B0;Bc.slots+2;B++)f.append(div classslot styleposition:absolute;top:+(p+B*c.sloth)+px;left:+o+px;overflow:hidden;width:+m+px;height:+c.sloth+px>div classslotslide styleposition:absolute;top:+q+px;left:0px;width:+m+px;height:+c.sloth+px;overflow:hidden;>div stylebackground-color:+l+;position:absolute;top:+(0-B*c.sloth)+px;left:0px;width:+m+px;height:+n+px;background-image:url(+k+);background-repeat:+t+;background-size:+s+;background-position:+v+;>/div>/div>/div>),h!b&&j!b&&punchgs.TweenLite.set(f.find(.slot).last(),{rotationZ:j}),i(8)&&(f.find(.slot ).last().find(.slotslide).append(img classieeightfallbackimage src+w+ stylewidth:100%;height:auto;>),u(f,c))}}},ufunction(a,b){if(i(8)){var ca.find(.ieeightfallbackimage);c.width(),c.height();b.startwidth/b.startheighta.data(owidth)/a.data(oheight)?c.css({width:auto,height:100%}):c.css({width:100%,height:auto}),setTimeout(function(){var dc.width(),ec.height(),fa.data(bgposition);center centerf&&c.css({position:absolute,top:b.height/2-e/2+px,left:b.width/2-d/2+px}),center top!f&&top center!f||c.css({position:absolute,top:0px,left:b.width/2-d/2+px}),center bottom!f&&bottom center!f||c.css({position:absolute,bottom:0px,left:b.width/2-d/2+px}),right top!f&&top right!f||c.css({position:absolute,top:0px,right:0px}),right bottom!f&&bottom right!f||c.css({position:absolute,bottom:0px,right:0px}),right center!f&¢er right!f||c.css({position:absolute,top:b.height/2-e/2+px,right:0px}),left bottom!f&&bottom left!f||c.css({position:absolute,bottom:0px,left:0px}),left center!f&¢er left!f||c.css({position:absolute,top:b.height/2-e/2+px,left:0px})},20)}},vfunction(b,c,d){d.find(.slot).each(function(){a(this).remove()}),c.transition0},wfunction(c,d){c.find(img, .defaultimg).each(function(c){var ea(this),fe.data(lazyload);if(f!e.attr(src)&&d3&&f!b&&undefined!f){if(f!b&&undefined!f){e.attr(src,f);var gnew Image;g.onloadfunction(a){e.data(lazydone,1),e.hasClass(defaultimg)&&x(e,g)},g.errorfunction(){e.data(lazydone,1)},g.srce.attr(src),g.complete&&(e.hasClass(defaultimg)&&x(e,g),e.data(lazydone,1))}}else if((fb||undefinedf)&&1!e.data(lazydone)){var gnew Image;g.onloadfunction(){e.hasClass(defaultimg)&&x(e,g),e.data(lazydone,1)},g.errorfunction(){e.data(lazydone,1)},e.attr(src)!b&&undefined!e.attr(src)?g.srce.attr(src):g.srce.data(src),g.complete&&(e.hasClass(defaultimg)&&x(e,g),e.data(lazydone,1))}})},xfunction(a,b){var ca.closest(li),db.width,eb.height;c.data(owidth,d),c.data(oheight,e),c.find(.slotholder).data(owidth,d),c.find(.slotholder).data(oheight,e),c.data(loadeddone,1)},yfunction(c,d,e){w(c,0);var fsetInterval(function(){e.bannertimeronpause!0,e.container.trigger(stoptimer),e.cd0;var g0;c.find(img, .defaultimg).each(function(b){1!a(this).data(lazydone)&&g++}),g>0?w(c,g):(clearInterval(f),d!b&&d())},100)},zfunction(a,c){try{a.find(>ul:first-child >li:eq(+c.act+))}catch(b){a.find(>ul:first-child >li:eq(1))}c.lastslidec.act;var ea.find(>ul:first-child >li:eq(+c.next+)),fe.find(.defaultimg);c.bannertimeronpause!0,a.trigger(stoptimer),c.cd0,f.data(lazyload)!b&&undefined!f.data(lazyload)&&1!f.data(lazydone)?(i(8)?f.attr(src,e.find(.defaultimg).data(lazyload)):f.css({backgroundImage:url(+e.find(.defaultimg).data(lazyload)+)}),f.data(src,e.find(.defaultimg).data(lazyload)),f.data(lazydone,1),f.data(orgw,0),e.data(loadeddone,1),a.find(.tp-loader).css({display:block}),y(a.find(.tp-static-layers),function(){y(e,function(){var be.find(.slotholder);if(onb.data(kenburns))var dsetInterval(function(){var eb.data(owidth);e>0&&(clearInterval(d),A(c,f,a))},10);else A(c,f,a)},c)},c)):e.data(loadeddone)b?(e.data(loadeddone,1),y(e,function(){A(c,f,a)},c)):A(c,f,a)},Afunction(a,b,c){a.bannertimeronpause!1,a.cd0,c.trigger(nulltimer),c.find(.tp-loader).css({display:none}),r(b,a),p(c,a),r(b,a),B(c,a)},Bfunction(a,c){a.trigger(revolution.slide.onbeforeswap),c.transition1,c.videoplaying!1;try{var da.find(>ul:first-child >li:eq(+c.act+))}catch(b){var da.find(>ul:first-child >li:eq(1))}c.lastslidec.act;var ea.find(>ul:first-child >li:eq(+c.next+));setTimeout(function(){q(c)},200);var fd.find(.slotholder),ge.find(.slotholder);on!g.data(kenburns)&&on!f.data(kenburns)||(_(a,c),a.find(.kenburnimg).remove()),e.data(delay)!b?(c.cd0,c.delaye.data(delay)):c.delayc.origcd,1c.firststart&&punchgs.TweenLite.set(d,{autoAlpha:0}),punchgs.TweenLite.set(d,{zIndex:18}),punchgs.TweenLite.set(e,{autoAlpha:0,zIndex:20});var h0;d.index()!e.index()&&1!c.firststart&&(hR(d,c)),on!d.data(saveperformance)&&(h0),setTimeout(function(){a.trigger(restarttimer),C(a,c,e,d,f,g)},h)},Cfunction(c,d,e,f,g,h){function x(){a.each(o,function(a,b){b0!m&&b8!m||(jb1,nb2,rs),s+1})}preparede.data(differentissplayed)&&(e.data(differentissplayed,done),e.data(transition,e.data(savedtransition)),e.data(slotamount,e.data(savedslotamount)),e.data(masterspeed,e.data(savedmasterspeed))),e.data(fstransition)!b&&done!e.data(differentissplayed)&&(e.data(savedtransition,e.data(transition)),e.data(savedslotamount,e.data(slotamount)),e.data(savedmasterspeed,e.data(masterspeed)),e.data(transition,e.data(fstransition)),e.data(slotamount,e.data(fsslotamount)),e.data(masterspeed,e.data(fsmasterspeed)),e.data(differentissplayed,prepared)),c.find(.active-revslide).removeClass(.active-revslide),e.addClass(active-revslide),e.data(transition)b&&e.data(transition,random);var j0,ke.data(transition).split(,),le.data(nexttransid)b?-1:e.data(nexttransid);one.data(randomtransition)?lMath.round(Math.random()*k.length):l+1,lk.length&&(l0),e.data(nexttransid,l);var mkl;d.ie&&(boxfadem&&(mboxslide),slotfade-verticalm&&(mslotzoom-vertical),slotfade-horizontalm&&(mslotzoom-horizontal)),i(8)&&(m11);var n0;scrolld.parallax&&d.parallaxFirstGob&&(d.parallaxFirstGo!0,ba(c,d),setTimeout(function(){ba(c,d)},210),setTimeout(function(){ba(c,d)},420)),slidehorizontalm&&(mslideleft,1d.leftarrowpressed&&(mslideright)),slideverticalm&&(mslideup,1d.leftarrowpressed&&(mslidedown)),parallaxhorizontalm&&(mparallaxtoleft,1d.leftarrowpressed&&(mparallaxtoright)),parallaxverticalm&&(mparallaxtotop,1d.leftarrowpressed&&(mparallaxtobottom));var oboxslide,0,1,10,0,box,!1,null,0,boxfade,1,0,10,0,box,!1,null,1,slotslide-horizontal,2,0,0,200,horizontal,!0,!1,2,slotslide-vertical,3,0,0,200,vertical,!0,!1,3,curtain-1,4,3,0,0,horizontal,!0,!0,4,curtain-2,5,3,0,0,horizontal,!0,!0,5,curtain-3,6,3,25,0,horizontal,!0,!0,6,slotzoom-horizontal,7,0,0,400,horizontal,!0,!0,7,slotzoom-vertical,8,0,0,0,vertical,!0,!0,8,slotfade-horizontal,9,0,0,500,horizontal,!0,null,9,slotfade-vertical,10,0,0,500,vertical,!0,null,10,fade,11,0,1,300,horizontal,!0,null,11,slideleft,12,0,1,0,horizontal,!0,!0,12,slideup,13,0,1,0,horizontal,!0,!0,13,slidedown,14,0,1,0,horizontal,!0,!0,14,slideright,15,0,1,0,horizontal,!0,!0,15,papercut,16,0,0,600,,null,null,16,3dcurtain-horizontal,17,0,20,100,vertical,!1,!0,17,3dcurtain-vertical,18,0,10,100,horizontal,!1,!0,18,cubic,19,0,20,600,horizontal,!1,!0,19,cube,19,0,20,600,horizontal,!1,!0,20,flyin,20,0,4,600,vertical,!1,!0,21,turnoff,21,0,1,1600,horizontal,!1,!0,22,incube,22,0,20,200,horizontal,!1,!0,23,cubic-horizontal,23,0,20,500,vertical,!1,!0,24,cube-horizontal,23,0,20,500,vertical,!1,!0,25,incube-horizontal,24,0,20,500,vertical,!1,!0,26,turnoff-vertical,25,0,1,200,horizontal,!1,!0,27,fadefromright,12,1,1,0,horizontal,!0,!0,28,fadefromleft,15,1,1,0,horizontal,!0,!0,29,fadefromtop,14,1,1,0,horizontal,!0,!0,30,fadefrombottom,13,1,1,0,horizontal,!0,!0,31,fadetoleftfadefromright,12,2,1,0,horizontal,!0,!0,32,fadetorightfadetoleft,15,2,1,0,horizontal,!0,!0,33,fadetobottomfadefromtop,14,2,1,0,horizontal,!0,!0,34,fadetotopfadefrombottom,13,2,1,0,horizontal,!0,!0,35,parallaxtoright,12,3,1,0,horizontal,!0,!0,36,parallaxtoleft,15,3,1,0,horizontal,!0,!0,37,parallaxtotop,14,3,1,0,horizontal,!0,!0,38,parallaxtobottom,13,3,1,0,horizontal,!0,!0,39,scaledownfromright,12,4,1,0,horizontal,!0,!0,40,scaledownfromleft,15,4,1,0,horizontal,!0,!0,41,scaledownfromtop,14,4,1,0,horizontal,!0,!0,42,scaledownfrombottom,13,4,1,0,horizontal,!0,!0,43,zoomout,13,5,1,0,horizontal,!0,!0,44,zoomin,13,6,1,0,horizontal,!0,!0,45,notransition,26,0,1,0,horizontal,!0,null,46,p0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,q16,17,18,19,20,21,22,23,24,25,26,27,j0,n1,r0,s0,unew Array;onh.data(kenburns)&&(boxslide!m&&0!m&&boxfade!m&&1!m&&papercut!m&&16!m||(m11),Y(c,d,!0,!0)),randomm&&(mMath.round(Math.random()*o.length-1),m>o.length-1&&(mo.length-1)),random-staticm&&(mMath.round(Math.random()*p.length-1),m>p.length-1&&(mp.length-1),mpm),random-premiumm&&(mMath.round(Math.random()*q.length-1),m>q.length-1&&(mq.length-1),mqm);var v12,13,14,15,16,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45;if(1d.isJoomla&&window.MooTools!b&&v.indexOf(m)!-1){var wMath.round(Math.random()*(q.length-2))+1;w>q.length-1&&(wq.length-1),0w&&(w1),mqw}x(),i(8)&&j>15&&j28&&(mMath.round(Math.random()*p.length-1),m>p.length-1&&(mp.length-1),mpm,s0,x());var y-1;(1d.leftarrowpressed||d.act>d.next)&&(y1),d.leftarrowpressed0,j>26&&(j26),j0&&(j0);var z300;e.data(masterspeed)!b&&e.data(masterspeed)>99&&e.data(masterspeed)d.delay&&(ze.data(masterspeed)),e.data(masterspeed)!b&&e.data(masterspeed)>d.delay&&(zd.delay),uor,c.parent().find(.bullet).each(function(){var ba(this),cb.index();b.removeClass(selected),withbullet!d.navigationArrows&&nexttobullets!d.navigationArrows||(cb.index()-1),cd.next&&b.addClass(selected)});var Anew punchgs.TimelineLite({onComplete:function(){D(c,d,h,g,e,f,A)}});if(A.add(punchgs.TweenLite.set(h.find(.defaultimg),{opacity:0})),A.pause(),e.data(slotamount)b||e.data(slotamount)1?(d.slotsMath.round(12*Math.random()+4),boxslidem?d.slotsMath.round(6*Math.random()+3):flyinm&&(d.slotsMath.round(4*Math.random()+1))):d.slotse.data(slotamount),e.data(rotate)b?d.rotate0:999e.data(rotate)?d.rotateMath.round(360*Math.random()):d.rotatee.data(rotate),(!a.support.transition||d.ie||d.ie9)&&(d.rotate0),1d.firststart&&(d.firststart0),z+u4,(4j||5j||6j)&&d.slots3&&(d.slots3),0!u3&&(d.slotsMath.min(d.slots,u3)),9j&&(d.slotsd.width/20),10j&&(d.slotsd.height/20),null!u7&&t(g,d,u7,u5),null!u6&&t(h,d,u6,u5),0j){var BMath.ceil(d.height/d.sloth),C0;h.find(.slotslide).each(function(b){var ca(this);C+1,CB&&(C0),A.add(punchgs.TweenLite.from(c,z/600,{opacity:0,top:0-d.sloth,left:0-d.slotw,rotation:d.rotate,force3D:auto,ease:punchgs.Power2.easeOut}),(15*b+30*C)/1500)})}if(1j){var E,F0;h.find(.slotslide).each(function(b){var ca(this),eMath.random()*z+300,f500*Math.random()+200;e+f>E&&(Ef+f,Fb),A.add(punchgs.TweenLite.from(c,e/1e3,{autoAlpha:0,force3D:auto,rotation:d.rotate,ease:punchgs.Power2.easeInOut}),f/1e3)})}if(2j){var Gnew punchgs.TimelineLite;g.find(.slotslide).each(function(){var ba(this);G.add(punchgs.TweenLite.to(b,z/1e3,{left:d.slotw,force3D:auto,rotation:0-d.rotate}),0),A.add(G,0)}),h.find(.slotslide).each(function(){var ba(this);G.add(punchgs.TweenLite.from(b,z/1e3,{left:0-d.slotw,force3D:auto,rotation:d.rotate}),0),A.add(G,0)})}if(3j){var Gnew punchgs.TimelineLite;g.find(.slotslide).each(function(){var ba(this);G.add(punchgs.TweenLite.to(b,z/1e3,{top:d.sloth,rotation:d.rotate,force3D:auto,transformPerspective:600}),0),A.add(G,0)}),h.find(.slotslide).each(function(){var ba(this);G.add(punchgs.TweenLite.from(b,z/1e3,{top:0-d.sloth,rotation:d.rotate,ease:punchgs.Power2.easeOut,force3D:auto,transformPerspective:600}),0),A.add(G,0)})}if(4j||5j){setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100);var Hz/1e3,Gnew punchgs.TimelineLite;g.find(.slotslide).each(function(b){var ca(this),eb*H/d.slots;5j&&(e(d.slots-b-1)*H/d.slots/1.5),G.add(punchgs.TweenLite.to(c,3*H,{transformPerspective:600,force3D:auto,top:0+d.height,opacity:.5,rotation:d.rotate,ease:punchgs.Power2.easeInOut,delay:e}),0),A.add(G,0)}),h.find(.slotslide).each(function(b){var ca(this),eb*H/d.slots;5j&&(e(d.slots-b-1)*H/d.slots/1.5),G.add(punchgs.TweenLite.from(c,3*H,{top:0-d.height,opacity:.5,rotation:d.rotate,force3D:auto,ease:punchgs.Power2.easeInOut,delay:e}),0),A.add(G,0)})}if(6j){d.slots2&&(d.slots2),d.slots%2&&(d.slotsd.slots+1);var Gnew punchgs.TimelineLite;setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100),g.find(.slotslide).each(function(b){var ca(this);if(b+1d.slots/2)var e90*(b+2);else var e90*(2+d.slots-b);G.add(punchgs.TweenLite.to(c,(z+e)/1e3,{top:0+d.height,opacity:1,force3D:auto,rotation:d.rotate,ease:punchgs.Power2.easeInOut}),0),A.add(G,0)}),h.find(.slotslide).each(function(b){var ca(this);if(b+1d.slots/2)var e90*(b+2);else var e90*(2+d.slots-b);G.add(punchgs.TweenLite.from(c,(z+e)/1e3,{top:0-d.height,opacity:1,force3D:auto,rotation:d.rotate,ease:punchgs.Power2.easeInOut}),0),A.add(G,0)})}if(7j){z*2,z>d.delay&&(zd.delay);var Gnew punchgs.TimelineLite;setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100),g.find(.slotslide).each(function(){var ba(this).find(div);G.add(punchgs.TweenLite.to(b,z/1e3,{left:0-d.slotw/2+px,top:0-d.height/2+px,width:2*d.slotw+px,height:2*d.height+px,opacity:0,rotation:d.rotate,force3D:auto,ease:punchgs.Power2.easeOut}),0),A.add(G,0)}),h.find(.slotslide).each(function(b){var ca(this).find(div);G.add(punchgs.TweenLite.fromTo(c,z/1e3,{left:0,top:0,opacity:0,transformPerspective:600},{left:0-b*d.slotw+px,ease:punchgs.Power2.easeOut,force3D:auto,top:0px,width:d.width,height:d.height,opacity:1,rotation:0,delay:.1}),0),A.add(G,0)})}if(8j){z*3,z>d.delay&&(zd.delay);var Gnew punchgs.TimelineLite;g.find(.slotslide).each(function(){var ba(this).find(div);G.add(punchgs.TweenLite.to(b,z/1e3,{left:0-d.width/2+px,top:0-d.sloth/2+px,width:2*d.width+px,height:2*d.sloth+px,force3D:auto,opacity:0,rotation:d.rotate}),0),A.add(G,0)}),h.find(.slotslide).each(function(b){var ca(this).find(div);G.add(punchgs.TweenLite.fromTo(c,z/1e3,{left:0,top:0,opacity:0,force3D:auto},{left:0px,top:0-b*d.sloth+px,width:h.find(.defaultimg).data(neww)+px,height:h.find(.defaultimg).data(newh)+px,opacity:1,rotation:0}),0),A.add(G,0)})}if(9j||10j){var J0;h.find(.slotslide).each(function(b){var ca(this);J++,A.add(punchgs.TweenLite.fromTo(c,z/1e3,{autoAlpha:0,force3D:auto,transformPerspective:600},{autoAlpha:1,ease:punchgs.Power2.easeInOut,delay:5*b/1e3}),0)})}if(11j||26j){var J0;26j&&(z0),h.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.from(c,z/1e3,{autoAlpha:0,force3D:auto,ease:punchgs.Power2.easeInOut}),0)})}if(12j||13j||14j||15j){zz,z>d.delay&&(zd.delay),setTimeout(function(){punchgs.TweenLite.set(g.find(.defaultimg),{autoAlpha:0})},100);var Kd.width,Md.height,Nh.find(.slotslide),O0,P0,Q1,R1,S1,Tpunchgs.Power2.easeInOut,Upunchgs.Power2.easeInOut,Vz/1e3,WV;on!d.fullWidth&&on!d.fullScreen||(KN.width(),MN.height()),12j?OK:15j?O0-K:13j?PM:14j&&(P0-M),1n&&(Q0),2n&&(Q0),3n&&(Tpunchgs.Power2.easeInOut,Upunchgs.Power1.easeInOut,Vz/1200),4!n&&5!n||(R.6),6n&&(R1.4),5!n&&6!n||(S1.4,Q0,K0,M0,O0,P0),6n&&(S.6);A.add(punchgs.TweenLite.from(N,V,{left:O,top:P,scale:S,opacity:Q,rotation:d.rotate,ease:U,force3D:auto}),0);var Zg.find(.slotslide);if(4!n&&5!n||(K0,M0),1!n)switch(j){case 12:A.add(punchgs.TweenLite.to(Z,W,{left:0-K+px,force3D:auto,scale:R,opacity:Q,rotation:d.rotate,ease:T}),0);break;case 15:A.add(punchgs.TweenLite.to(Z,W,{left:K+px,force3D:auto,scale:R,opacity:Q,rotation:d.rotate,ease:T}),0);break;case 13:A.add(punchgs.TweenLite.to(Z,W,{top:0-M+px,force3D:auto,scale:R,opacity:Q,rotation:d.rotate,ease:T}),0);break;case 14:A.add(punchgs.TweenLite.to(Z,W,{top:M+px,force3D:auto,scale:R,opacity:Q,rotation:d.rotate,ease:T}),0)}}if(16j){var Gnew punchgs.TimelineLite;A.add(punchgs.TweenLite.set(f,{position:absolute,z-index:20}),0),A.add(punchgs.TweenLite.set(e,{position:absolute,z-index:15}),0),f.wrapInner(div classtp-half-one styleposition:relative; width:100%;height:100%>/div>),f.find(.tp-half-one).clone(!0).appendTo(f).addClass(tp-half-two),f.find(.tp-half-two).removeClass(tp-half-one);var Kd.width,Md.height;ond.autoHeight&&(Mc.height()),f.find(.tp-half-one .defaultimg).wrap(div classtp-papercut stylewidth:+K+px;height:+M+px;>/div>),f.find(.tp-half-two .defaultimg).wrap(div classtp-papercut stylewidth:+K+px;height:+M+px;>/div>),f.find(.tp-half-two .defaultimg).css({position:absolute,top:-50%}),f.find(.tp-half-two .tp-caption).wrapAll(div styleposition:absolute;top:-50%;left:0px;>/div>),A.add(punchgs.TweenLite.set(f.find(.tp-half-two),{width:K,height:M,overflow:hidden,zIndex:15,position:absolute,top:M/2,left:0px,transformPerspective:600,transformOrigin:center bottom}),0),A.add(punchgs.TweenLite.set(f.find(.tp-half-one),{width:K,height:M/2,overflow:visible,zIndex:10,position:absolute,top:0px,left:0px,transformPerspective:600,transformOrigin:center top}),0);var _(f.find(.defaultimg),Math.round(20*Math.random()-10)),aaMath.round(20*Math.random()-10),caMath.round(20*Math.random()-10),da.4*Math.random()-.2,ea.4*Math.random()-.2,fa1*Math.random()+1,ga1*Math.random()+1,ha.3*Math.random()+.3;A.add(punchgs.TweenLite.set(f.find(.tp-half-one),{overflow:hidden}),0),A.add(punchgs.TweenLite.fromTo(f.find(.tp-half-one),z/800,{width:K,height:M/2,position:absolute,top:0px,left:0px,force3D:auto,transformOrigin:center top},{scale:fa,rotation:_,y:0-M-M/4,autoAlpha:0,ease:punchgs.Power2.easeInOut}),0),A.add(punchgs.TweenLite.fromTo(f.find(.tp-half-two),z/800,{width:K,height:M,overflow:hidden,position:absolute,top:M/2,left:0px,force3D:auto,transformOrigin:center bottom},{scale:ga,rotation:aa,y:M+M/4,ease:punchgs.Power2.easeInOut,autoAlpha:0,onComplete:function(){punchgs.TweenLite.set(f,{position:absolute,z-index:15}),punchgs.TweenLite.set(e,{position:absolute,z-index:20}),f.find(.tp-half-one).length>0&&(f.find(.tp-half-one .defaultimg).unwrap(),f.find(.tp-half-one .slotholder).unwrap()),f.find(.tp-half-two).remove()}}),0),G.add(punchgs.TweenLite.set(h.find(.defaultimg),{autoAlpha:1}),0),null!f.html()&&A.add(punchgs.TweenLite.fromTo(e,(z-200)/1e3,{scale:ha,x:d.width/4*da,y:M/4*ea,rotation:ca,force3D:auto,transformOrigin:center center,ease:punchgs.Power2.easeOut},{autoAlpha:1,scale:1,x:0,y:0,rotation:0}),0),A.add(G,0)}if(17j&&h.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/800,{opacity:0,rotationY:0,scale:.9,rotationX:-110,force3D:auto,transformPerspective:600,transformOrigin:center center},{opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:auto,rotationY:0,ease:punchgs.Power3.easeOut,delay:.06*b}),0)}),18j&&h.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/500,{autoAlpha:0,rotationY:310,scale:.9,rotationX:10,force3D:auto,transformPerspective:600,transformOrigin:center center},{autoAlpha:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:auto,rotationY:0,ease:punchgs.Power3.easeOut,delay:.06*b}),0)}),19j||22j){var Gnew punchgs.TimelineLite;A.add(punchgs.TweenLite.set(f,{zIndex:20}),0),A.add(punchgs.TweenLite.set(e,{zIndex:20}),0),setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100);var ka(e.css(z-index),f.css(z-index),90),Q1,lacenter center ;1y&&(ka-90),19j?(lala+-+d.height/2,Q0):la+d.height/2,punchgs.TweenLite.set(c,{transformStyle:flat,backfaceVisibility:hidden,transformPerspective:600}),h.find(.slotslide).each(function(b){var ca(this);G.add(punchgs.TweenLite.fromTo(c,z/1e3,{transformStyle:flat,backfaceVisibility:hidden,left:0,rotationY:d.rotate,z:10,top:0,scale:1,force3D:auto,transformPerspective:600,transformOrigin:la,rotationX:ka},{left:0,rotationY:0,top:0,z:0,scale:1,force3D:auto,rotationX:0,delay:50*b/1e3,ease:punchgs.Power2.easeInOut}),0),G.add(punchgs.TweenLite.to(c,.1,{autoAlpha:1,delay:50*b/1e3}),0),A.add(G)}),g.find(.slotslide).each(function(b){var ca(this),e-90;1y&&(e90),G.add(punchgs.TweenLite.fromTo(c,z/1e3,{transformStyle:flat,backfaceVisibility:hidden,autoAlpha:1,rotationY:0,top:0,z:0,scale:1,force3D:auto,transformPerspective:600,transformOrigin:la,rotationX:0},{autoAlpha:1,rotationY:d.rotate,top:0,z:10,scale:1,rotationX:e,delay:50*b/1e3,force3D:auto,ease:punchgs.Power2.easeInOut}),0),A.add(G)})}if(20j){setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100);e.css(z-index),f.css(z-index);if(1y)var ma-d.width,ka70,laleft center -+d.height/2;else var mad.width,ka-70,laright center -+d.height/2;h.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/1500,{left:ma,rotationX:40,z:-600,opacity:Q,top:0,force3D:auto,transformPerspective:600,transformOrigin:la,rotationY:ka},{left:0,delay:50*b/1e3,ease:punchgs.Power2.easeInOut}),0),A.add(punchgs.TweenLite.fromTo(c,z/1e3,{rotationX:40,z:-600,opacity:Q,top:0,scale:1,force3D:auto,transformPerspective:600,transformOrigin:la,rotationY:ka},{rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:50*b/1e3,ease:punchgs.Power2.easeInOut}),0),A.add(punchgs.TweenLite.to(c,.1,{opacity:1,force3D:auto,delay:50*b/1e3+z/2e3}),0)}),g.find(.slotslide).each(function(b){var ca(this);if(1!y)var e-d.width,f70,gleft center -+d.height/2;else var ed.width,f-70,gright center -+d.height/2;A.add(punchgs.TweenLite.fromTo(c,z/1e3,{opacity:1,rotationX:0,top:0,z:0,scale:1,left:0,force3D:auto,transformPerspective:600,transformOrigin:g,rotationY:0},{opacity:1,rotationX:40,top:0,z:-600,left:e,force3D:auto,scale:.8,rotationY:f,delay:50*b/1e3,ease:punchgs.Power2.easeInOut}),0),A.add(punchgs.TweenLite.to(c,.1,{force3D:auto,opacity:0,delay:50*b/1e3+(z/1e3-z/1e4)}),0)})}if(21j||25j){setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100);var ka(e.css(z-index),f.css(z-index),90),ma-d.width,na-ka;if(1y)if(25j){var lacenter top 0;kad.rotate}else{var laleft center 0;nad.rotate}else if(mad.width,ka-90,25j){var lacenter bottom 0;na-ka,kad.rotate}else{var laright center 0;nad.rotate}h.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/1e3,{left:0,transformStyle:flat,rotationX:na,z:0,autoAlpha:0,top:0,scale:1,force3D:auto,transformPerspective:600,transformOrigin:la,rotationY:ka},{left:0,rotationX:0,top:0,z:0,autoAlpha:1,scale:1,rotationY:0,force3D:auto,ease:punchgs.Power3.easeInOut}),0)}),1!y?(ma-d.width,ka90,25j?(lacenter top 0,na-ka,kad.rotate):(laleft center 0,nad.rotate)):(mad.width,ka-90,25j?(lacenter bottom 0,na-ka,kad.rotate):(laright center 0,nad.rotate)),g.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/1e3,{left:0,transformStyle:flat,rotationX:0,z:0,autoAlpha:1,top:0,scale:1,force3D:auto,transformPerspective:600,transformOrigin:la,rotationY:0},{left:0,rotationX:na,top:0,z:0,autoAlpha:1,force3D:auto,scale:1,rotationY:ka,ease:punchgs.Power1.easeInOut}),0)})}if(23j||24j){setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100);var ka(e.css(z-index),f.css(z-index),-90),Q1,oa0;if(1y&&(ka90),23j){var lacenter center -+d.width/2;Q0}else var lacenter center +d.width/2;punchgs.TweenLite.set(c,{transformStyle:preserve-3d,backfaceVisibility:hidden,perspective:2500}),h.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/1e3,{left:oa,rotationX:d.rotate,force3D:auto,opacity:Q,top:0,scale:1,transformPerspective:600,transformOrigin:la,rotationY:ka},{left:0,rotationX:0,autoAlpha:1,top:0,z:0,scale:1,rotationY:0,delay:50*b/500,ease:punchgs.Power2.easeInOut}),0)}),ka90,1y&&(ka-90),g.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/1e3,{left:0,autoAlpha:1,rotationX:0,top:0,z:0,scale:1,force3D:auto,transformPerspective:600,transformOrigin:la,rotationY:0},{left:oa,autoAlpha:1,rotationX:d.rotate,top:0,scale:1,rotationY:ka,delay:50*b/500,ease:punchgs.Power2.easeInOut}),0)})}A.pause(),L(e,d,null,A),punchgs.TweenLite.to(e,.001,{autoAlpha:1});var pa{};pa.slideIndexd.next+1,pa.slidee,c.trigger(revolution.slide.onchange,pa),setTimeout(function(){c.trigger(revolution.slide.onafterswap)},z),c.trigger(revolution.slide.onvideostop)},Dfunction(a,b,c,d,e,f,g){punchgs.TweenLite.to(c.find(.defaultimg),.001,{autoAlpha:1,onComplete:function(){v(a,b,e)}}),e.index()!f.index()&&punchgs.TweenLite.to(f,.2,{autoAlpha:0,onComplete:function(){v(a,b,f)}}),b.actb.next,thumbb.navigationType&&da(a),onc.data(kenburns)&&Y(a,b),a.find(.current-sr-slide-visible).removeClass(current-sr-slide-visible),e.addClass(current-sr-slide-visible),scroll!b.parallax&&scroll+mouse!b.parallax&&mouse+scroll!b.parallax||ba(a,b),g.clear()},Efunction(b){var cb.target.getVideoEmbedCode(),da(#+c.split(id)1.split()0),ed.closest(.tp-simpleresponsive),fd.parent().data(player);if(b.dataYT.PlayerState.PLAYING){var ge.find(.tp-bannertimer),hg.data(opt);muted.closest(.tp-caption).data(volume)&&f.mute(),h.videoplaying!0,e.trigger(stoptimer),e.trigger(revolution.slide.onvideoplay)}else{var ge.find(.tp-bannertimer),hg.data(opt);b.data!-1&&3!b.data&&(h.videoplaying!1,e.trigger(starttimer),e.trigger(revolution.slide.onvideostop)),0b.data&&1h.nextslideatend?h.container.revnext():(h.videoplaying!1,e.trigger(starttimer),e.trigger(revolution.slide.onvideostop))}},Ffunction(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent(b,c,!1)},Gfunction(b,c){var d$f(b),ea(#+b),fe.closest(.tp-simpleresponsive),ge.closest(.tp-caption);setTimeout(function(){d.addEvent(ready,function(b){c&&d.api(play),d.addEvent(play,function(a){var bf.find(.tp-bannertimer),cb.data(opt);c.videoplaying!0,f.trigger(stoptimer),muteg.data(volume)&&d.api(setVolume,0)}),d.addEvent(finish,function(a){var bf.find(.tp-bannertimer),cb.data(opt);c.videoplaying!1,f.trigger(starttimer),f.trigger(revolution.slide.onvideoplay),1c.nextslideatend&&c.container.revnext()}),d.addEvent(pause,function(a){var bf.find(.tp-bannertimer),cb.data(opt);c.videoplaying!1,f.trigger(starttimer),f.trigger(revolution.slide.onvideostop)}),g.find(.tp-thumb-image).click(function(){punchgs.TweenLite.to(a(this),.3,{autoAlpha:0,force3D:auto,ease:punchgs.Power3.easeInOut}),d.api(play)})})},150)},Hfunction(a,c){var dc.width(),ec.height(),fa.data(mediaAspect);fb&&(f1);var gd/e;a.css({position:absolute});a.find(video);gf?punchgs.TweenLite.to(a,1e-4,{width:e*f,force3D:auto,top:0,left:0-(e*f-d)/2,height:e}):punchgs.TweenLite.to(a,1e-4,{width:d,force3D:auto,top:0-(d/f-e)/2,left:0,height:d/f})},Ifunction(){var anew Object;return a.x0,a.y0,a.rotationX0,a.rotationY0,a.rotationZ0,a.scale1,a.scaleX1,a.scaleY1,a.skewX0,a.skewY0,a.opacity0,a.transformOrigincenter, center,a.transformPerspective400,a.rotation0,a},Jfunction(b,c){var dc.split(;);return a.each(d,function(a,c){cc.split(:);var dc0,ec1;rotationXd&&(b.rotationXparseInt(e,0)),rotationYd&&(b.rotationYparseInt(e,0)),rotationZd&&(b.rotationZparseInt(e,0)),rotationZd&&(b.rotationparseInt(e,0)),scaleXd&&(b.scaleXparseFloat(e)),scaleYd&&(b.scaleYparseFloat(e)),opacityd&&(b.opacityparseFloat(e)),skewXd&&(b.skewXparseInt(e,0)),skewYd&&(b.skewYparseInt(e,0)),xd&&(b.xparseInt(e,0)),yd&&(b.yparseInt(e,0)),zd&&(b.zparseInt(e,0)),transformOrigind&&(b.transformOrigine.toString()),transformPerspectived&&(b.transformPerspectiveparseInt(e,0))}),b},Kfunction(b){var cb.split(animation:),dnew Object;d.animationJ(I(),c1);var ec0.split(;);return a.each(e,function(a,b){bb.split(:);var cb0,eb1;typc&&(d.type),speedc&&(d.speedparseInt(e,0)/1e3),startc&&(d.startparseInt(e,0)/1e3),elementdelayc&&(d.elementdelayparseFloat(e)),easec&&(d.easee)}),d},Lfunction(c,d,e,f){function g(){}function h(){}c.data(ctl)b&&c.data(ctl,new punchgs.TimelineLite);var jc.data(ctl),k0,l0,mc.find(.tp-caption),nd.container.find(.tp-static-layers).find(.tp-caption);j.pause(),a.each(n,function(a,b){m.push(b)}),m.each(function(c){var fe,j-1,ma(this);if(m.hasClass(tp-static-layer)){var nm.data(startslide),om.data(endslide);n!-1&&-1!n||m.data(startslide,0),o!-1&&-1!o||m.data(endslide,d.slideamount),0n&&od.slideamount-1&&m.data(endslide,d.slideamount+1),nm.data(startslide),om.data(endslide),m.hasClass(tp-is-shown)?jod.next||n>d.next||od.next?2:0:nd.next&&o>d.next||nd.next||od.next?(m.addClass(tp-is-shown),j1):j0}kd.width/2-d.startwidth*d.bw/2;var pd.bw;d.bh;ond.fullScreen&&(ld.height/2-d.startheight*d.bh/2),(ond.autoHeight||d.minHeight!b&&d.minHeight>0)&&(ld.container.height()/2-d.startheight*d.bh/2),l0&&(l0);var r0;if(d.widthd.hideCaptionAtLimit&&onm.data(captionhidden)?(m.addClass(tp-hidden-caption),r1):d.widthd.hideAllCaptionAtLimit||d.widthd.hideAllCaptionAtLilmit?(m.addClass(tp-hidden-caption),r1):m.removeClass(tp-hidden-caption),0r){if(m.data(linktoslide)b||m.hasClass(hasclicklistener)||(m.addClass(hasclicklistener),m.css({cursor:pointer}),no!m.data(linktoslide)&&m.click(function(){var ba(this),cb.data(linktoslide);next!c&&prev!c?(d.container.data(showus,c),d.container.parent().find(.tp-rightarrow).click()):nextc?d.container.parent().find(.tp-rightarrow).click():prevc&&d.container.parent().find(.tp-leftarrow).click()})),k0&&(k0),m.hasClass(tp-videolayer)||m.find(iframe).length>0||m.find(video).length>0){var siframe+Math.round(1e5*Math.random()+1),tm.data(videowidth),um.data(videoheight),vm.data(videoattributes),wm.data(ytid),xm.data(vimeoid),ym.data(videpreload),zm.data(videomp4),Am.data(videowebm),Bm.data(videoogv),Cm.data(videocontrols),Dhttp,Lloopm.data(videoloop)?loop:loopandnoslidestopm.data(videoloop)?loop:;if(m.data(thumbimage)!b&&m.data(videoposter)b&&m.data(videoposter,m.data(thumbimage)),w!b&&String(w).length>1&&0m.find(iframe).length&&(Dhttps,noneC&&(vv.replace(controls1,controls0),v.toLowerCase().indexOf(controls)-1&&(v+&controls0)),m.append(iframe stylevisible:hidden src+D+://www.youtube.com/embed/+w+?+v+ width+t+ height+u+ stylewidth:+t+px;height:+u+px>/iframe>)),x!b&&String(x).length>1&&0m.find(iframe).length&&(https:location.protocol&&(Dhttps),m.append(iframe stylevisible:hidden src+D+://player.vimeo.com/video/+x+?+v+ width+t+ height+u+ stylewidth:+t+px;height:+u+px>/iframe>)),(z!b||A!b)&&0m.find(video).length){controls!C&&(C);var Nvideo stylevisible:hidden class +L+ preload+y+ width+t+ height+u+;m.data(videoposter)!b&&m.data(videoposter)!b&&(NN+poster+m.data(videoposter)+>),A!b&&firefoxM().toLowerCase()&&(NN+source src+A+ typevideo/webm />),z!b&&(NN+source src+z+ typevideo/mp4 />),B!b&&(NN+source src+B+ typevideo/ogg />),N+/video>,m.append(N),controlsC&&m.append(div classtp-video-controls>div classtp-video-button-wrap>button typebutton classtp-video-button tp-vid-play-pause>Play/button>/div>div classtp-video-seek-bar-wrap>input typerange classtp-seek-bar value0>/div>div classtp-video-button-wrap>button typebutton classtp-video-button tp-vid-mute>Mute/button>/div>div classtp-video-vol-bar-wrap>input typerange classtp-volume-bar min0 max1 step0.1 value1>/div>div classtp-video-button-wrap>button typebutton classtp-video-button tp-vid-full-screen>Full-Screen/button>/div>/div>)}var R!1;1!m.data(autoplayonlyfirsttime)&&true!m.data(autoplayonlyfirsttime)&&1!m.data(autoplay)||(m.data(autoplay,!0),R!0),m.find(iframe).each(function(){var ca(this);if(punchgs.TweenLite.to(c,.1,{autoAlpha:1,zIndex:0,transformStyle:preserve-3d,z:0,rotationX:0,force3D:auto}),W()){var gc.attr(src);c.attr(src,),c.attr(src,g)}if(d.nextslideatendm.data(nextslideatend),m.data(videoposter)!b&&m.data(videoposter).length>2&&1!m.data(autoplay)&&!f&&(0m.find(.tp-thumb-image).length?m.append(div classtp-thumb-image stylecursor:pointer; position:absolute;top:0px;left:0px;width:100%;height:100%;background-image:url(+m.data(videoposter)+); background-size:cover>/div>):punchgs.TweenLite.set(m.find(.tp-thumb-image),{autoAlpha:1})),c.attr(src).toLowerCase().indexOf(youtube)>0)if(c.hasClass(HasListener)){if(!e){var hm.data(player);on!m.data(forcerewind)||W()||h.seekTo(0),(!W()&&1m.data(autoplay)||R)&&m.data(timerplay,setTimeout(function(){h.playVideo()},m.data(start)))}}else try{c.attr(id,s);var h,isetInterval(function(){YT!b&&typeof YT.Player!b&&undefined!typeof YT.Player&&(hnew YT.Player(s,{events:{onStateChange:E,onReady:function(c){var dc.target.getVideoEmbedCode(),ea(#+d.split(id)1.split()0),fe.closest(.tp-caption),gf.data(videorate);f.data(videostart);g!b&&c.target.setPlaybackRate(parseFloat(g)),(!W()&&1f.data(autoplay)||R)&&f.data(timerplay,setTimeout(function(){c.target.playVideo()},f.data(start))),f.find(.tp-thumb-image).click(function(){punchgs.TweenLite.to(a(this),.3,{autoAlpha:0,force3D:auto,ease:punchgs.Power3.easeInOut}),W()||h.playVideo()})}}})),c.addClass(HasListener),m.data(player,h),clearInterval(i)},100)}catch(a){}else if(c.attr(src).toLowerCase().indexOf(vimeo)>0)if(c.hasClass(HasListener)){if(!(e||W()||1!m.data(autoplay)&&on!m.data(forcerewind))){var cm.find(iframe),qc.attr(id),r$f(q);onm.data(forcerewind)&&r.api(seekTo,0),m.data(timerplay,setTimeout(function(){1m.data(autoplay)&&r.api(play)},m.data(start)))}}else{c.addClass(HasListener),c.attr(id,s);for(var o,jc.attr(src),k{},lj,n/(^&+)(^&*)/g;on.exec(l);)kdecodeURIComponent(o1)decodeURIComponent(o2);jk.player_id!b?j.replace(k.player_id,s):j+&player_id+s;try{jj.replace(api0,api1)}catch(a){}j+&api1,c.attr(src,j);var hm.find(iframe)0,psetInterval(function(){$f!b&&typeof $f(s).api!b&&undefined!typeof $f(s).api&&($f(h).addEvent(ready,function(){G(s,R)}),clearInterval(p))},100)}}),(W()&&1m.data(disablevideoonmobile)||i(8))&&m.find(video).remove(),m.find(video).length>0&&m.find(video).each(function(c){var ethis,fa(this);f.parent().hasClass(html5vid)||f.wrap(div classhtml5vid styleposition:relative;top:0px;left:0px;width:auto;height:auto>/div>);var gf.parent();F(e,loadedmetadata,function(a){a.data(metaloaded,1)}(g)),clearInterval(g.data(interval)),g.data(interval,setInterval(function(){if(1g.data(metaloaded)||NaN!e.duration){if(clearInterval(g.data(interval)),!g.hasClass(HasListener)){g.addClass(HasListener),none!m.data(dottedoverlay)&&m.data(dottedoverlay)!b&&1!m.find(.tp-dottedoverlay).length&&g.append(div classtp-dottedoverlay +m.data(dottedoverlay)+>/div>),f.attr(control)b&&(0g.find(.tp-video-play-button).length&&g.append(div classtp-video-play-button>i classrevicon-right-dir>/i>div classtp-revstop>/div>/div>),g.find(video, .tp-poster, .tp-video-play-button).click(function(){g.hasClass(videoisplaying)?e.pause():e.play()})),(1m.data(forcecover)||m.hasClass(fullscreenvideo))&&(1m.data(forcecover)&&(H(g,d.container),g.addClass(fullcoveredvideo),m.addClass(fullcoveredvideo)),g.css({width:100%,height:100%}));var am.find(.tp-vid-play-pause)0,cm.find(.tp-vid-mute)0,hm.find(.tp-vid-full-screen)0,im.find(.tp-seek-bar)0,jm.find(.tp-volume-bar)0;a!b&&(F(a,click,function(){1e.paused?e.play():e.pause()}),F(c,click,function(){0e.muted?(e.muted!0,c.innerHTMLUnmute):(e.muted!1,c.innerHTMLMute)}),F(h,click,function(){e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()}),F(i,change,function(){var ae.duration*(i.value/100);e.currentTimea}),F(e,timeupdate,function(){var a100/e.duration*e.currentTime;i.valuea}),F(i,mousedown,function(){e.pause()}),F(i,mouseup,function(){e.play()}),F(j,change,function(){e.volumej.value})),F(e,play,function(){mutem.data(volume)&&(e.muted!0),g.addClass(videoisplaying),loopandnoslidestopm.data(videoloop)?(d.videoplaying!1,d.container.trigger(starttimer),d.container.trigger(revolution.slide.onvideostop)):(d.videoplaying!0,d.container.trigger(stoptimer),d.container.trigger(revolution.slide.onvideoplay));var am.find(.tp-vid-play-pause)0,cm.find(.tp-vid-mute)0;a!b&&(a.innerHTMLPause),c!b&&e.muted&&(c.innerHTMLUnmute)}),F(e,pause,function(){g.removeClass(videoisplaying),d.videoplaying!1,d.container.trigger(starttimer),d.container.trigger(revolution.slide.onvideostop);var am.find(.tp-vid-play-pause)0;a!b&&(a.innerHTMLPlay)}),F(e,ended,function(){g.removeClass(videoisplaying),d.videoplaying!1,d.container.trigger(starttimer),d.container.trigger(revolution.slide.onvideostop),1d.nextslideatend&&d.container.revnext()})}var k!1;1!m.data(autoplayonlyfirsttime)&&true!m.data(autoplayonlyfirsttime)||(k!0);var l16/9;if(4:3m.data(aspectratio)&&(l4/3),g.data(mediaAspect,l),1g.closest(.tp-caption).data(forcecover)&&(H(g,d.container),g.addClass(fullcoveredvideo)),f.css({display:block}),d.nextslideatendm.data(nextslideatend),1!m.data(autoplay)&&1!k||(loopandnoslidestopm.data(videoloop)?(d.videoplaying!1,d.container.trigger(starttimer),d.container.trigger(revolution.slide.onvideostop)):(d.videoplaying!0,d.container.trigger(stoptimer),d.container.trigger(revolution.slide.onvideoplay)),on!m.data(forcerewind)||g.hasClass(videoisplaying)||e.currentTime>0&&(e.currentTime0),mutem.data(volume)&&(e.muted!0),g.data(timerplay,setTimeout(function(){on!m.data(forcerewind)||g.hasClass(videoisplaying)||e.currentTime>0&&(e.currentTime0),mutem.data(volume)&&(e.muted!0),e.play()},10+m.data(start)))),g.data(ww)b&&g.data(ww,f.attr(width)),g.data(hh)b&&g.data(hh,f.attr(height)),!m.hasClass(fullscreenvideo)&&1m.data(forcecover))try{g.width(g.data(ww)*d.bw),g.height(g.data(hh)*d.bh)}catch(a){}clearInterval(g.data(interval))}}),100)}),1m.data(autoplay)&&(setTimeout(function(){loopandnoslidestop!m.data(videoloop)&&(d.videoplaying!0,d.container.trigger(stoptimer))},200),loopandnoslidestop!m.data(videoloop)&&(d.videoplaying!0,d.container.trigger(stoptimer)),1!m.data(autoplayonlyfirsttime)&&true!m.data(autoplayonlyfirsttime)||(m.data(autoplay,!1),m.data(autoplayonlyfirsttime,!1)))}var U0,V0;if(m.find(img).length>0){var Xm.find(img);0X.width()&&X.css({width:auto}),0X.height()&&X.css({height:auto}),X.data(ww)b&&X.width()>0&&X.data(ww,X.width()),X.data(hh)b&&X.height()>0&&X.data(hh,X.height());var YX.data(ww),ZX.data(hh);Yb&&(Y0),Zb&&(Z0),X.width(Y*d.bw),X.height(Z*d.bh),UX.width(),VX.height()}else if(m.find(iframe).length>0||m.find(video).length>0){var $!1,Xm.find(iframe);0X.length&&(Xm.find(video),$!0),X.css({display:block}),m.data(ww)b&&m.data(ww,X.width()),m.data(hh)b&&m.data(hh,X.height());var Ym.data(ww),Zm.data(hh),_m;_.data(fsize)b&&_.data(fsize,parseInt(_.css(font-size),0)||0),_.data(pt)b&&_.data(pt,parseInt(_.css(paddingTop),0)||0),_.data(pb)b&&_.data(pb,parseInt(_.css(paddingBottom),0)||0),_.data(pl)b&&_.data(pl,parseInt(_.css(paddingLeft),0)||0),_.data(pr)b&&_.data(pr,parseInt(_.css(paddingRight),0)||0),_.data(mt)b&&_.data(mt,parseInt(_.css(marginTop),0)||0),_.data(mb)b&&_.data(mb,parseInt(_.css(marginBottom),0)||0),_.data(ml)b&&_.data(ml,parseInt(_.css(marginLeft),0)||0),_.data(mr)b&&_.data(mr,parseInt(_.css(marginRight),0)||0),_.data(bt)b&&_.data(bt,parseInt(_.css(borderTop),0)||0),_.data(bb)b&&_.data(bb,parseInt(_.css(borderBottom),0)||0),_.data(bl)b&&_.data(bl,parseInt(_.css(borderLeft),0)||0),_.data(br)b&&_.data(br,parseInt(_.css(borderRight),0)||0),_.data(lh)b&&_.data(lh,parseInt(_.css(lineHeight),0)||0),auto_.data(lh)&&_.data(lh,_.data(fsize)+4);var aad.width,bad.height;if(aa>d.startwidth&&(aad.startwidth),ba>d.startheight&&(bad.startheight),m.hasClass(fullscreenvideo)){k0,l0,m.data(x,0),m.data(y,0);var cad.height;ond.autoHeight&&(cad.container.height()),m.css({width:d.width,height:ca})}else m.css({font-size:_.data(fsize)*d.bw+px,padding-top:_.data(pt)*d.bh+px,padding-bottom:_.data(pb)*d.bh+px,padding-left:_.data(pl)*d.bw+px,padding-right:_.data(pr)*d.bw+px,margin-top:_.data(mt)*d.bh+px,margin-bottom:_.data(mb)*d.bh+px,margin-left:_.data(ml)*d.bw+px,margin-right:_.data(mr)*d.bw+px,border-top:_.data(bt)*d.bh+px,border-bottom:_.data(bb)*d.bh+px,border-left:_.data(bl)*d.bw+px,border-right:_.data(br)*d.bw+px,line-height:_.data(lh)*d.bh+px,height:Z*d.bh+px});0$?(X.width(Y*d.bw),X.height(Z*d.bh)):1m.data(forcecover)||m.hasClass(fullscreenvideo)||(X.width(Y*d.bw),X.height(Z*d.bh)),UX.width(),VX.height()}else{m.find(.tp-resizeme, .tp-resizeme *).each(function(){O(a(this),d)}),m.hasClass(tp-resizeme)&&m.find(*).each(function(){O(a(this),d)}),O(m,d),Vm.outerHeight(!0),Um.outerWidth(!0);var dam.outerHeight(),eam.css(backgroundColor);m.find(.frontcorner).css({borderWidth:da+px,left:0-da+px,borderRight:0px solid transparent,borderTopColor:ea}),m.find(.frontcornertop).css({borderWidth:da+px,left:0-da+px,borderRight:0px solid transparent,borderBottomColor:ea}),m.find(.backcorner).css({borderWidth:da+px,right:0-da+px,borderLeft:0px solid transparent,borderBottomColor:ea}),m.find(.backcornertop).css({borderWidth:da+px,right:0-da+px,borderLeft:0px solid transparent,borderTopColor:ea})}ond.fullScreenAlignForce&&(k0,l0),m.data(voffset)b&&m.data(voffset,0),m.data(hoffset)b&&m.data(hoffset,0);var fam.data(voffset)*p,gam.data(hoffset)*p,had.startwidth*p,iad.startheight*p;ond.fullScreenAlignForce&&(had.container.width(),iad.container.height()),center!m.data(x)&¢er!m.data(xcenter)||(m.data(xcenter,center),m.data(x,ha/2-m.outerWidth(!0)/2+ga)),left!m.data(x)&&left!m.data(xleft)||(m.data(xleft,left),m.data(x,0/p+ga)),right!m.data(x)&&right!m.data(xright)||(m.data(xright,right),m.data(x,(ha-m.outerWidth(!0)+ga)/p)),center!m.data(y)&¢er!m.data(ycenter)||(m.data(ycenter,center),m.data(y,ia/2-m.outerHeight(!0)/2+fa)),top!m.data(y)&&top!m.data(ytop)||(m.data(ytop,top),m.data(y,0/d.bh+fa)),bottom!m.data(y)&&bottom!m.data(ybottom)||(m.data(ybottom,bottom),m.data(y,(ia-m.outerHeight(!0)+fa)/p)),m.data(start)b&&m.data(start,1e3);var jam.data(easing);jab&&(japunchgs.Power1.easeOut);var kam.data(start)/1e3,lam.data(speed)/1e3;if(centerm.data(x)||centerm.data(xcenter))var mam.data(x)+k;else var map*m.data(x)+k;if(centerm.data(y)||centerm.data(ycenter))var nam.data(y)+l;else var nad.bh*m.data(y)+l;if(punchgs.TweenLite.set(m,{top:na,left:ma,overwrite:auto}),0j&&(f!0),m.data(timeline)b||f||(2!j&&m.data(timeline).gotoAndPlay(0),f!0),!f){m.data(timeline)!b;var oanew punchgs.TimelineLite({smoothChildTiming:!0,onStart:h});oa.pause(),ond.fullScreenAlignForce;var pam;m.data(mySplitText)!b&&m.data(mySplitText).revert(),chars!m.data(splitin)&&words!m.data(splitin)&&lines!m.data(splitin)&&chars!m.data(splitout)&&words!m.data(splitout)&&lines!m.data(splitout)||(m.find(a).length>0?m.data(mySplitText,new punchgs.SplitText(m.find(a),{type:lines,words,chars,charsClass:tp-splitted,wordsClass:tp-splitted,linesClass:tp-splitted})):m.find(.tp-layer-inner-rotation).length>0?m.data(mySplitText,new punchgs.SplitText(m.find(.tp-layer-inner-rotation),{type:lines,words,chars,charsClass:tp-splitted,wordsClass:tp-splitted,linesClass:tp-splitted})):m.data(mySplitText,new punchgs.SplitText(m,{type:lines,words,chars,charsClass:tp-splitted,wordsClass:tp-splitted,linesClass:tp-splitted})),m.addClass(splitted)),charsm.data(splitin)&&(pam.data(mySplitText).chars),wordsm.data(splitin)&&(pam.data(mySplitText).words),linesm.data(splitin)&&(pam.data(mySplitText).lines);var qaI(),raI();m.data(repeat)!b&&(repeatVm.data(repeat)),m.data(yoyo)!b&&(yoyoVm.data(yoyo)),m.data(repeatdelay)!b&&(repeatdelayVm.data(repeatdelay));var sam.attr(class);sa.match(customin)?qaJ(qa,m.data(customin)):sa.match(randomrotate)?(qa.scale3*Math.random()+1,qa.rotationMath.round(200*Math.random()-100),qa.xMath.round(200*Math.random()-100),qa.yMath.round(200*Math.random()-100)):sa.match(lfr)||sa.match(skewfromright)?qa.x15+d.width:sa.match(lfl)||sa.match(skewfromleft)?qa.x-15-U:sa.match(sfl)||sa.match(skewfromleftshort)?qa.x-50:sa.match(sfr)||sa.match(skewfromrightshort)?qa.x50:sa.match(lft)?qa.y-25-V:sa.match(lfb)?qa.y25+d.height:sa.match(sft)?qa.y-50:sa.match(sfb)&&(qa.y50),sa.match(skewfromright)||m.hasClass(skewfromrightshort)?qa.skewX-85:(sa.match(skewfromleft)||m.hasClass(skewfromleftshort))&&(qa.skewX85),(sa.match(fade)||sa.match(sft)||sa.match(sfl)||sa.match(sfb)||sa.match(skewfromleftshort)||sa.match(sfr)||sa.match(skewfromrightshort))&&(qa.opacity0),safariM().toLowerCase();var tam.data(elementdelay)b?0:m.data(elementdelay);ra.easeqa.easem.data(easing)b?punchgs.Power1.easeInOut:m.data(easing),qa.datanew Object,qa.data.oldxqa.x,qa.data.oldyqa.y,ra.datanew Object,ra.data.oldxra.x,ra.data.oldyra.y,qa.xqa.x*p,qa.yqa.y*p;var uanew punchgs.TimelineLite;if(2!j)if(sa.match(customin))pa!m&&oa.add(punchgs.TweenLite.set(m,{force3D:auto,opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:visible,delay:0,overwrite:all})),qa.visibilityhidden,ra.visibilityvisible,ra.overwriteall,ra.opacity1,ra.onCompleteg(),ra.delayka,ra.force3Dauto,oa.add(ua.staggerFromTo(pa,la,qa,ra,ta),frame0);else if(qa.visibilityvisible,qa.transformPerspective600,pa!m&&oa.add(punchgs.TweenLite.set(m,{force3D:auto,opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:visible,delay:0,overwrite:all})),ra.visibilityvisible,ra.delayka,ra.onCompleteg(),ra.opacity1,ra.force3Dauto,sa.match(randomrotate)&&pa!m)for(var c0;cpa.length;c++){var vanew Object,wanew Object;a.extend(va,qa),a.extend(wa,ra),qa.scale3*Math.random()+1,qa.rotationMath.round(200*Math.random()-100),qa.xMath.round(200*Math.random()-100),qa.yMath.round(200*Math.random()-100),0!c&&(wa.delayka+c*ta),oa.append(punchgs.TweenLite.fromTo(pac,la,va,wa),frame0)}else oa.add(ua.staggerFromTo(pa,la,qa,ra,ta),frame0);m.data(timeline,oa);new Array;if(m.data(frames)!b){var yam.data(frames);yaya.replace(/\s+/g,),yaya.replace({,);var zaya.split(});a.each(za,function(a,b){if(b.length>0){var cK(b);S(m,d,c,frame+(a+10),p)}})}oam.data(timeline),m.data(end)b||j!-1&&2!j?j-1||2j?T(m,d,999999,qa,frame99,p):T(m,d,200,qa,frame99,p):T(m,d,m.data(end)/1e3,qa,frame99,p),oam.data(timeline),m.data(timeline,oa),P(m,p),oa.resume()}}if(f&&(Q(m),P(m,p),m.data(timeline)!b)){var Aam.data(timeline).getTweensOf();a.each(Aa,function(a,c){if(c.vars.data!b){var dc.vars.data.oldx*p,ec.vars.data.oldy*p;if(1!c.progress()&&0!c.progress())try{c.vars.xd,c.vary.ye}catch(a){}else 1c.progress()&&punchgs.TweenLite.set(c.target,{x:d,y:e})}})}});var oa(body).find(#+d.container.attr(id)).find(.tp-bannertimer);o.data(opt,d),f!b&&setTimeout(function(){f.resume()},30)},Mfunction(){var c,anavigator.appName,bnavigator.userAgent,db.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return d&&null!(cb.match(/version\/(\.\d+)/i))&&(d2c1),dd?d1,d2:a,navigator.appVersion,-?,d0},Ofunction(a,c){a.data(fsize)b&&a.data(fsize,parseInt(a.css(font-size),0)||0),a.data(pt)b&&a.data(pt,parseInt(a.css(paddingTop),0)||0),a.data(pb)b&&a.data(pb,parseInt(a.css(paddingBottom),0)||0),a.data(pl)b&&a.data(pl,parseInt(a.css(paddingLeft),0)||0),a.data(pr)b&&a.data(pr,parseInt(a.css(paddingRight),0)||0),a.data(mt)b&&a.data(mt,parseInt(a.css(marginTop),0)||0),a.data(mb)b&&a.data(mb,parseInt(a.css(marginBottom),0)||0),a.data(ml)b&&a.data(ml,parseInt(a.css(marginLeft),0)||0),a.data(mr)b&&a.data(mr,parseInt(a.css(marginRight),0)||0),a.data(bt)b&&a.data(bt,parseInt(a.css(borderTopWidth),0)||0),a.data(bb)b&&a.data(bb,parseInt(a.css(borderBottomWidth),0)||0),a.data(bl)b&&a.data(bl,parseInt(a.css(borderLeftWidth),0)||0),a.data(br)b&&a.data(br,parseInt(a.css(borderRightWidth),0)||0),a.data(ls)b&&a.data(ls,parseInt(a.css(letterSpacing),0)||0),a.data(lh)b&&a.data(lh,parseInt(a.css(lineHeight),0)||auto),a.data(minwidth)b&&a.data(minwidth,parseInt(a.css(minWidth),0)||0),a.data(minheight)b&&a.data(minheight,parseInt(a.css(minHeight),0)||0),a.data(maxwidth)b&&a.data(maxwidth,parseInt(a.css(maxWidth),0)||none),a.data(maxheight)b&&a.data(maxheight,parseInt(a.css(maxHeight),0)||none),a.data(wii)b&&a.data(wii,parseInt(a.css(width),0)||0),a.data(hii)b&&a.data(hii,parseInt(a.css(height),0)||0),a.data(wan)b&&a.data(wan,a.css(-webkit-transition)),a.data(moan)b&&a.data(moan,a.css(-moz-animation-transition)),a.data(man)b&&a.data(man,a.css(-ms-animation-transition)),a.data(ani)b&&a.data(ani,a.css(transition)),autoa.data(lh)&&a.data(lh,a.data(fsize)+4),a.hasClass(tp-splitted)||(a.css(-webkit-transition,none),a.css(-moz-transition,none),a.css(-ms-transition,none),a.css(transition,none),punchgs.TweenLite.set(a,{fontSize:Math.round(a.data(fsize)*c.bw)+px,letterSpacing:Math.floor(a.data(ls)*c.bw)+px,paddingTop:Math.round(a.data(pt)*c.bh)+px,paddingBottom:Math.round(a.data(pb)*c.bh)+px,paddingLeft:Math.round(a.data(pl)*c.bw)+px,paddingRight:Math.round(a.data(pr)*c.bw)+px,marginTop:a.data(mt)*c.bh+px,marginBottom:a.data(mb)*c.bh+px,marginLeft:a.data(ml)*c.bw+px,marginRight:a.data(mr)*c.bw+px,borderTopWidth:Math.round(a.data(bt)*c.bh)+px,borderBottomWidth:Math.round(a.data(bb)*c.bh)+px,borderLeftWidth:Math.round(a.data(bl)*c.bw)+px,borderRightWidth:Math.round(a.data(br)*c.bw)+px,lineHeight:Math.round(a.data(lh)*c.bh)+px,minWidth:a.data(minwidth)*c.bw+px,minHeight:a.data(minheight)*c.bh+px,overwrite:auto}),setTimeout(function(){a.css(-webkit-transition,a.data(wan)),a.css(-moz-transition,a.data(moan)),a.css(-ms-transition,a.data(man)),a.css(transition,a.data(ani))},30),none!a.data(maxheight)&&a.css({maxHeight:a.data(maxheight)*c.bh+px}),none!a.data(maxwidth)&&a.css({maxWidth:a.data(maxwidth)*c.bw+px}))},Pfunction(c,d){c.find(.rs-pendulum).each(function(){var ca(this);if(c.data(timeline)b){c.data(timeline,new punchgs.TimelineLite);var ec.data(startdeg)b?-20:c.data(startdeg),fc.data(enddeg)b?20:c.data(enddeg),gc.data(speed)b?2:c.data(speed),hc.data(origin)b?50% 50%:c.data(origin),ic.data(easing)b?punchgs.Power2.easeInOut:c.data(ease);e*d,f*d,c.data(timeline).append(new punchgs.TweenLite.fromTo(c,g,{force3D:auto,rotation:e,transformOrigin:h},{rotation:f,ease:i})),c.data(timeline).append(new punchgs.TweenLite.fromTo(c,g,{force3D:auto,rotation:f,transformOrigin:h},{rotation:e,ease:i,onComplete:function(){c.data(timeline).restart()}}))}}),c.find(.rs-rotate).each(function(){var ca(this);if(c.data(timeline)b){c.data(timeline,new punchgs.TimelineLite);var ec.data(startdeg)b?0:c.data(startdeg),fc.data(enddeg)b?360:c.data(enddeg);speedc.data(speed)b?2:c.data(speed),originc.data(origin)b?50% 50%:c.data(origin),easingc.data(easing)b?punchgs.Power2.easeInOut:c.data(easing),e*d,f*d,c.data(timeline).append(new punchgs.TweenLite.fromTo(c,speed,{force3D:auto,rotation:e,transformOrigin:origin},{rotation:f,ease:easing,onComplete:function(){c.data(timeline).restart()}}))}}),c.find(.rs-slideloop).each(function(){var ca(this);if(c.data(timeline)b){c.data(timeline,new punchgs.TimelineLite);var ec.data(xs)b?0:c.data(xs),fc.data(ys)b?0:c.data(ys),gc.data(xe)b?0:c.data(xe),hc.data(ye)b?0:c.data(ye),ic.data(speed)b?2:c.data(speed),jc.data(easing)b?punchgs.Power2.easeInOut:c.data(easing);e*d,f*d,g*d,h*d,c.data(timeline).append(new punchgs.TweenLite.fromTo(c,i,{force3D:auto,x:e,y:f},{x:g,y:h,ease:j})),c.data(timeline).append(new punchgs.TweenLite.fromTo(c,i,{force3D:auto,x:g,y:h},{x:e,y:f,onComplete:function(){c.data(timeline).restart()}}))}}),c.find(.rs-pulse).each(function(){var ca(this);if(c.data(timeline)b){c.data(timeline,new punchgs.TimelineLite);var dc.data(zoomstart)b?0:c.data(zoomstart),ec.data(zoomend)b?0:c.data(zoomend),fc.data(speed)b?2:c.data(speed),gc.data(easing)b?punchgs.Power2.easeInOut:c.data(easing);c.data(timeline).append(new punchgs.TweenLite.fromTo(c,f,{force3D:auto,scale:d},{scale:e,ease:g})),c.data(timeline).append(new punchgs.TweenLite.fromTo(c,f,{force3D:auto,scale:e},{scale:d,onComplete:function(){c.data(timeline).restart()}}))}}),c.find(.rs-wave).each(function(){var ca(this);if(c.data(timeline)b){c.data(timeline,new punchgs.TimelineLite);var ec.data(angle)b?10:c.data(angle),fc.data(radius)b?10:c.data(radius),gc.data(speed)b?-20:c.data(speed);c.data(origin)b?-20:c.data(origin);e*d,f*d;var i{a:0,ang:e,element:c,unit:f};c.data(timeline).append(new punchgs.TweenLite.fromTo(i,g,{a:360},{a:0,force3D:auto,ease:punchgs.Linear.easeNone,onUpdate:function(){var ai.a*(Math.PI/180);punchgs.TweenLite.to(i.element,.1,{force3D:auto,x:Math.cos(a)*i.unit,y:i.unit*(1-Math.sin(a))})},onComplete:function(){c.data(timeline).restart()}}))}})},Qfunction(c){c.find(.rs-pendulum, .rs-slideloop, .rs-pulse, .rs-wave).each(function(){var ca(this);c.data(timeline)!b&&(c.data(timeline).pause(),c.data(timeline,null))})},Rfunction(c,d){var e0,fc.find(.tp-caption),gd.container.find(.tp-static-layers).find(.tp-caption);return a.each(g,function(a,b){f.push(b)}),f.each(function(c){var f-1,ga(this);if(g.hasClass(tp-static-layer)&&(g.data(startslide)!-1&&-1!g.data(startslide)||g.data(startslide,0),g.data(endslide)!-1&&-1!g.data(endslide)||g.data(endslide,d.slideamount),g.hasClass(tp-is-shown)?g.data(startslide)>d.next||g.data(endslide)d.next?(f2,g.removeClass(tp-is-shown)):f0:f2),0!f){if(Q(g),g.find(iframe).length>0){punchgs.TweenLite.to(g.find(iframe),.2,{autoAlpha:0}),W()&&g.find(iframe).remove();try{var hg.find(iframe),ih.attr(id),j$f(i);j.api(pause),clearTimeout(g.data(timerplay))}catch(a){}try{var kg.data(player);k.stopVideo(),clearTimeout(g.data(timerplay))}catch(a){}}if(g.find(video).length>0)try{g.find(video).each(function(b){var ca(this).parent();c.attr(id);clearTimeout(c.data(timerplay));var ethis;e.pause()})}catch(a){}try{var lg.data(timeline),ml.getLabelTime(frame99),nl.time();if(m>n){var ol.getTweensOf(g);if(a.each(o,function(a,b){0!a&&b.pause()}),0!g.css(opacity)){var pg.data(endspeed)b?g.data(speed):g.data(endspeed);p>e&&(ep),l.play(frame99)}else l.progress(1,!1)}}catch(a){}}}),e},Sfunction(a,c,d,e,f){var ga.data(timeline),hnew punchgs.TimelineLite,ia;charsd.typ?ia.data(mySplitText).chars:wordsd.typ?ia.data(mySplitText).words:linesd.typ&&(ia.data(mySplitText).lines),d.animation.eased.ease,d.animation.rotationZ!b&&(d.animation.rotationd.animation.rotationZ),d.animation.datanew Object,d.animation.data.oldxd.animation.x,d.animation.data.oldyd.animation.y,d.animation.xd.animation.x*f,d.animation.yd.animation.y*f,g.add(h.staggerTo(i,d.speed,d.animation,d.elementdelay),d.start),g.addLabel(e,d.start),a.data(timeline,g)},Tfunction(a,c,d,e,f,g){var ha.data(timeline),inew punchgs.TimelineLite,jI(),ka.data(endspeed)b?a.data(speed):a.data(endspeed),la.attr(class);if(j.easea.data(endeasing)b?punchgs.Power1.easeInOut:a.data(endeasing),k/1e3,l.match(ltr)||l.match(ltl)||l.match(str)||l.match(stl)||l.match(ltt)||l.match(ltb)||l.match(stt)||l.match(stb)||l.match(skewtoright)||l.match(skewtorightshort)||l.match(skewtoleft)||l.match(skewtoleftshort)||l.match(fadeout)||l.match(randomrotateout)){l.match(skewtoright)||l.match(skewtorightshort)?j.skewX35:(l.match(skewtoleft)||l.match(skewtoleftshort))&&(j.skewX-35),l.match(ltr)||l.match(skewtoright)?j.xc.width+60:l.match(ltl)||l.match(skewtoleft)?j.x0-(c.width+60):l.match(ltt)?j.y0-(c.height+60):l.match(ltb)?j.yc.height+60:l.match(str)||l.match(skewtorightshort)?(j.x50,j.opacity0):l.match(stl)||l.match(skewtoleftshort)?(j.x-50,j.opacity0):l.match(stt)?(j.y-50,j.opacity0):l.match(stb)?(j.y50,j.opacity0):l.match(randomrotateout)?(j.xMath.random()*c.width,j.yMath.random()*c.height,j.scale2*Math.random()+.3,j.rotation360*Math.random()-180,j.opacity0):l.match(fadeout)&&(j.opacity0),l.match(skewtorightshort)?j.x270:l.match(skewtoleftshort)&&(j.x-270),j.datanew Object,j.data.oldxj.x,j.data.oldyj.y,j.xj.x*g,j.yj.y*g,j.overwriteauto;var ma,ma;charsa.data(splitout)?ma.data(mySplitText).chars:wordsa.data(splitout)?ma.data(mySplitText).words:linesa.data(splitout)&&(ma.data(mySplitText).lines);var na.data(endelementdelay)b?0:a.data(endelementdelay);h.add(i.staggerTo(m,k,j,n),d)}else if(a.hasClass(customout)){jJ(j,a.data(customout));var ma;charsa.data(splitout)?ma.data(mySplitText).chars:wordsa.data(splitout)?ma.data(mySplitText).words:linesa.data(splitout)&&(ma.data(mySplitText).lines);var na.data(endelementdelay)b?0:a.data(endelementdelay);j.onStartfunction(){punchgs.TweenLite.set(a,{transformPerspective:j.transformPerspective,transformOrigin:j.transformOrigin,overwrite:auto})},j.datanew Object,j.data.oldxj.x,j.data.oldyj.y,j.xj.x*g,j.yj.y*g,h.add(i.staggerTo(m,k,j,n),d)}else e.delay0,h.add(punchgs.TweenLite.to(a,k,e),d);h.addLabel(f,d),a.data(timeline,h)},Ufunction(b,c){b.children().each(function(){try{a(this).die(click)}catch(a){}try{a(this).die(mouseenter)}catch(a){}try{a(this).die(mouseleave)}catch(a){}try{a(this).unbind(hover)}catch(a){}});try{b.die(click,mouseenter,mouseleave)}catch(a){}clearInterval(c.cdint),bnull},Vfunction(c,d){if(d.cd0,d.loop0,d.stopAfterLoops!b&&d.stopAfterLoops>-1?d.looptogod.stopAfterLoops:d.looptogo9999999,d.stopAtSlide!b&&d.stopAtSlide>-1?d.lastslidetoshowd.stopAtSlide:d.lastslidetoshow999,d.stopLoopoff,0d.looptogo&&(d.stopLoopon),d.slideamount>1&&(0!d.stopAfterLoops||1!d.stopAtSlide)){var ec.find(.tp-bannertimer);c.on(stoptimer,function(){var ba(this).find(.tp-bannertimer);b.data(tween).pause(),ond.hideTimerBar&&b.css({visibility:hidden})}),c.on(starttimer,function(){1!d.conthover&&1!d.videoplaying&&d.width>d.hideSliderAtLimit&&1!d.bannertimeronpause&&1!d.overnav&&(ond.stopLoop&&d.nextd.lastslidetoshow-1||1d.noloopanymore?d.noloopanymore1:(e.css({visibility:visible}),e.data(tween).resume())),ond.hideTimerBar&&e.css({visibility:hidden})}),c.on(restarttimer,function(){var ba(this).find(.tp-bannertimer);ond.stopLoop&&d.nextd.lastslidetoshow-1||1d.noloopanymore?d.noloopanymore1:(b.css({visibility:visible}),b.data(tween).kill(),b.data(tween,punchgs.TweenLite.fromTo(b,d.delay/1e3,{width:0%},{force3D:auto,width:100%,ease:punchgs.Linear.easeNone,onComplete:f,delay:1}))),ond.hideTimerBar&&b.css({visibility:hidden})}),c.on(nulltimer,function(){e.data(tween).pause(0),ond.hideTimerBar&&e.css({visibility:hidden})});var ffunction(){0a(body).find(c).length&&(U(c,d),clearInterval(d.cdint)),c.trigger(revolution.slide.slideatend),1c.data(conthover-changed)&&(d.conthoverc.data(conthover),c.data(conthover-changed,0)),d.actd.next,d.nextd.next+1,d.next>c.find(>ul >li).length-1&&(d.next0,d.looptogod.looptogo-1,d.looptogo0&&(d.stopLoopon)),ond.stopLoop&&d.nextd.lastslidetoshow-1?(c.find(.tp-bannertimer).css({visibility:hidden}),c.trigger(revolution.slide.onstop),d.noloopanymore1):e.data(tween).restart(),z(c,d)};e.data(tween,punchgs.TweenLite.fromTo(e,d.delay/1e3,{width:0%},{force3D:auto,width:100%,ease:punchgs.Linear.easeNone,onComplete:f,delay:1})),e.data(opt,d),c.hover(function(){if(ond.onHoverStop&&!W()){c.trigger(stoptimer),c.trigger(revolution.slide.onpause);var ec.find(>ul >li:eq(+d.next+) .slotholder);e.find(.defaultimg).each(function(){var ca(this);c.data(kenburn)!b&&c.data(kenburn).pause()})}},function(){if(1!c.data(conthover)){c.trigger(revolution.slide.onresume),c.trigger(starttimer);var ec.find(>ul >li:eq(+d.next+) .slotholder);e.find(.defaultimg).each(function(){var ca(this);c.data(kenburn)!b&&c.data(kenburn).play()})}})}},Wfunction(){var aandroid,webos,iphone,ipad,blackberry,Android,webos,,iPod,iPhone,iPad,Blackberry,BlackBerry,b!1;for(var c in a)navigator.userAgent.split(ac).length>1&&(b!0);return b},Xfunction(a,b,c){var db.data(owidth),eb.data(oheight);if(d/e>c.width/c.height){var fc.container.width()/d,ge*f,hg/c.container.height()*a;return a*100/h,h100,aa,a+% +h+% 1}var fc.container.width()/d,ge*f,hg/c.container.height()*a;return a+% +h+%},Yfunction(c,d,e,f){try{c.find(>ul:first-child >li:eq(+d.act+))}catch(a){c.find(>ul:first-child >li:eq(1))}d.lastslided.act;var hc.find(>ul:first-child >li:eq(+d.next+)),jh.find(.slotholder),kj.data(bgposition),lj.data(bgpositionend),mj.data(zoomstart)/100,nj.data(zoomend)/100,oj.data(rotationstart),pj.data(rotationend),qj.data(bgfit),rj.data(bgfitend),sj.data(easeme),tj.data(duration)/1e3,u100;qb&&(q100),rb&&(r100);var vq,wr;qX(q,j,d),rX(r,j,d),uX(100,j,d),mb&&(m1),nb&&(n1),ob&&(o0),pb&&(p0),m1&&(m1),n1&&(n1);var xnew Object;x.wparseInt(u.split( )0,0),x.hparseInt(u.split( )1,0);var y!1;1u.split( )2&&(y!0),j.find(.defaultimg).each(function(){var ba(this);0j.find(.kenburnimg).length?j.append(div classkenburnimg styleposition:absolute;z-index:1;width:100%;height:100%;top:0px;left:0px;>img src+b.attr(src)+ style-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;position:absolute;width:+x.w+%;height:+x.h+%;>/div>):j.find(.kenburnimg img).css({width:x.w+%,height:x.h+%});var cj.find(.kenburnimg img),eZ(d,k,q,c,y),gZ(d,l,r,c,y);if(y&&(e.wv/100,g.ww/100),f){punchgs.TweenLite.set(c,{autoAlpha:0,transformPerspective:1200,transformOrigin:0% 0%,top:0,left:0,scale:e.w,x:e.x,y:e.y});var he.w,mh*c.width()-d.width,nh*c.height()-d.height,oMath.abs(e.x/m*100),uMath.abs(e.y/n*100);0n&&(u0),0m&&(o0),b.data(bgposition,o+% +u+%),i(8)||b.data(currotate,$(c)),i(8)||b.data(curscale,x.w*h+% +(x.h*h+%)),j.find(.kenburnimg).remove()}else b.data(kenburn,punchgs.TweenLite.fromTo(c,t,{autoAlpha:1,force3D:punchgs.force3d,transformOrigin:0% 0%,top:0,left:0,scale:e.w,x:e.x,y:e.y},{autoAlpha:1,rotationZ:p,ease:s,x:g.x,y:g.y,scale:g.w,onUpdate:function(){var ac0._gsTransform.scaleX,ea*c.width()-d.width,fa*c.height()-d.height,gMath.abs(c0._gsTransform.x/e*100),hMath.abs(c0._gsTransform.y/f*100);0f&&(h0),0e&&(g0),b.data(bgposition,g+% +h+%),i(8)||b.data(currotate,$(c)),i(8)||b.data(curscale,x.w*a+% +(x.h*a+%))}}))})},Zfunction(a,b,c,d,e){var fnew Object;switch(e?f.wparseInt(c.split( )1,0)/100:f.wparseInt(c.split( )0,0)/100,b){caseleft top:casetop left:f.x0,f.y0;break;casecenter top:casetop center:f.x((0-d.width())*f.w+parseInt(a.width,0))/2,f.y0;break;casetop right:caseright top:f.x(0-d.width())*f.w+parseInt(a.width,0),f.y0;break;casecenter left:caseleft center:f.x0,f.y((0-d.height())*f.w+parseInt(a.height,0))/2;break;casecenter center:f.x((0-d.width())*f.w+parseInt(a.width,0))/2,f.y((0-d.height())*f.w+parseInt(a.height,0))/2;break;casecenter right:caseright center:f.x(0-d.width())*f.w+parseInt(a.width,0),f.y((0-d.height())*f.w+parseInt(a.height,0))/2;break;casebottom left:caseleft bottom:f.x0,f.y(0-d.height())*f.w+parseInt(a.height,0);break;casebottom center:casecenter bottom:f.x((0-d.width())*f.w+parseInt(a.width,0))/2,f.y(0-d.height())*f.w+parseInt(a.height,0);break;casebottom right:caseright bottom:f.x(0-d.width())*f.w+parseInt(a.width,0),f.y(0-d.height())*f.w+parseInt(a.height,0)}return f},$function(a){var ba.css(-webkit-transform)||a.css(-moz-transform)||a.css(-ms-transform)||a.css(-o-transform)||a.css(transform);if(none!b)var cb.split(()1.split())0.split(,),dc0,ec1,fMath.round(Math.atan2(e,d)*(180/Math.PI));else var f0;return f0?f+360:f},_function(c,d){try{var ec.find(>ul:first-child >li:eq(+d.act+))}catch(a){var ec.find(>ul:first-child >li:eq(1))}d.lastslided.act;var fc.find(>ul:first-child >li:eq(+d.next+));e.find(.slotholder),f.find(.slotholder);c.find(.defaultimg).each(function(){var ca(this);punchgs.TweenLite.killTweensOf(c,!1),punchgs.TweenLite.set(c,{scale:1,rotationZ:0}),punchgs.TweenLite.killTweensOf(c.data(kenburn img),!1),c.data(kenburn)!b&&c.data(kenburn).pause(),c.data(currotate)!b&&c.data(bgposition)!b&&c.data(curscale)!b&&punchgs.TweenLite.set(c,{rotation:c.data(currotate),backgroundPosition:c.data(bgposition),backgroundSize:c.data(curscale)}),c!b&&c.data(kenburn img)!b&&c.data(kenburn img).length>0&&punchgs.TweenLite.set(c.data(kenburn img),{autoAlpha:0})})},aafunction(b,c){return(!W()||on!c.parallaxDisableOnMobile)&&(b.find(>ul:first-child >li).each(function(){for(var ba(this),d1;d10;d++)b.find(.rs-parallaxlevel-+d).each(function(){var ba(this);b.wrap(div styleposition:absolute;top:0px;left:0px;width:100%;height:100%;z-index:+b.css(zIndex)+ classtp-parallax-container data-parallaxlevel+c.parallaxLevelsd-1+>/div>)})}),mouse!c.parallax&&scroll+mouse!c.parallax&&mouse+scroll!c.parallax||(b.mouseenter(function(a){var cb.find(.current-sr-slide-visible),db.offset().top,eb.offset().left,fa.pageX-e,ga.pageY-d;c.data(enterx,f),c.data(entery,g)}),b.on(mousemove.hoverdir, mouseleave.hoverdir,function(d){var eb.find(.current-sr-slide-visible);switch(d.type){casemousemove:var fb.offset().top,gb.offset().left,he.data(enterx),ie.data(entery),jh-(d.pageX-g),ki-(d.pageY-f);e.find(.tp-parallax-container).each(function(){var ba(this),dparseInt(b.data(parallaxlevel),0)/100,ej*d,fk*d;scroll+mousec.parallax||mouse+scrollc.parallax?punchgs.TweenLite.to(b,.4,{force3D:auto,x:e,ease:punchgs.Power3.easeOut,overwrite:all}):punchgs.TweenLite.to(b,.4,{force3D:auto,x:e,y:f,ease:punchgs.Power3.easeOut,overwrite:all})});break;casemouseleave:e.find(.tp-parallax-container).each(function(){var ba(this);scroll+mousec.parallax||mouse+scrollc.parallax?punchgs.TweenLite.to(b,1.5,{force3D:auto,x:0,ease:punchgs.Power3.easeOut}):punchgs.TweenLite.to(b,1.5,{force3D:auto,x:0,y:0,ease:punchgs.Power3.easeOut})})}}),W()&&(window.ondeviceorientationfunction(c){var dMath.round(c.beta||0),eMath.round(c.gamma||0),fb.find(.current-sr-slide-visible);if(a(window).width()>a(window).height()){var ge;ed,dg}var h360/b.width()*e,i180/b.height()*d;f.find(.tp-parallax-container).each(function(){var ba(this),cparseInt(b.data(parallaxlevel),0)/100,dh*c,ei*c;punchgs.TweenLite.to(b,.2,{force3D:auto,x:d,y:e,ease:punchgs.Power3.easeOut})})})),void(scroll!c.parallax&&scroll+mouse!c.parallax&&mouse+scroll!c.parallax||a(window).on(scroll,function(a){ba(b,c)})))},bafunction(b,c){if(W()&&onc.parallaxDisableOnMobile)return!1;var db.offset().top,ea(window).scrollTop(),fd+b.height()/2,gd+b.height()/2-e,ha(window).height()/2,ih-g;fh&&(i-h-f);b.find(.current-sr-slide-visible);if(b.find(.tp-parallax-container).each(function(b){var ca(this),dparseInt(c.data(parallaxlevel),0)/100,ei*d;c.data(parallaxoffset,e),punchgs.TweenLite.to(c,.2,{force3D:auto,y:e,ease:punchgs.Power3.easeOut})}),on!c.parallaxBgFreeze){var kc.parallaxLevels0/100,li*k;punchgs.TweenLite.to(b,.2,{force3D:auto,y:l,ease:punchgs.Power3.easeOut})}},cafunction(c,d){var ec.parent();thumb!d.navigationType&&both!d.navsecond||e.append(div classtp-bullets tp-thumbs +d.navigationStyle+>div classtp-mask>div classtp-thumbcontainer>/div>/div>/div>);var fe.find(.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer),gf.parent();g.width(d.thumbWidth*d.thumbAmount),g.height(d.thumbHeight),g.parent().width(d.thumbWidth*d.thumbAmount),g.parent().height(d.thumbHeight),c.find(>ul:first >li).each(function(a){var ec.find(>ul:first >li:eq(+a+)),ge.find(.defaultimg).css(backgroundColor);if(e.data(thumb)!b)var he.data(thumb);else var he.find(img:first).attr(src);f.append(div classbullet thumb stylebackground-color:+g+;position:relative;width:+d.thumbWidth+px;height:+d.thumbHeight+px;background-image:url(+h+) !important;background-size:cover;background-position:center center;>/div>);f.find(.bullet:first)});var h10;f.find(.bullet).each(function(b){var ea(this);bd.slideamount-1&&e.addClass(last),0b&&e.addClass(first),e.width(d.thumbWidth),e.height(d.thumbHeight),he.outerWidth(!0)&&(he.outerWidth(!0)),e.click(function(){0d.transition&&e.index()!d.act&&(d.nexte.index(),j(d,c))})});var ih*c.find(>ul:first >li).length,kf.parent().width();d.thumbWidthh,ki&&(a(document).mousemove(function(b){a(body).data(mousex,b.pageX)}),f.parent().mouseenter(function(){var ba(this),db.offset(),ea(body).data(mousex)-d.left,fb.width(),gb.find(.bullet:first).outerWidth(!0),hg*c.find(>ul:first >li).length,ih-f+15,ji/f;b.addClass(over),e-30;var k0-e*j;k>0&&(k0),k0-h+f&&(k0-h+f),ea(b,k,200)}),f.parent().mousemove(function(){var ba(this),db.offset(),ea(body).data(mousex)-d.left,fb.width(),gb.find(.bullet:first).outerWidth(!0),hg*c.find(>ul:first >li).length-1,ih-f+15,ji/f;e-3,e6&&(e0),e+3>f-6&&(ef);var k0-e*j;k>0&&(k0),k0-h+f&&(k0-h+f),ea(b,k,0)}),f.parent().mouseleave(function(){var ba(this);b.removeClass(over),da(c)}))},dafunction(a){var ba.parent().find(.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer),cb.parent(),e(c.offset(),c.find(.bullet:first).outerWidth(!0)),fc.find(.bullet.selected).index()*e,gc.width(),ec.find(.bullet:first).outerWidth(!0),he*a.find(>ul:first >li).length,k0-f;k>0&&(k0),k0-h+g&&(k0-h+g),c.hasClass(over)||ea(c,k,200)},eafunction(a,b,c){punchgs.TweenLite.to(a.find(.tp-thumbcontainer),.2,{force3D:auto,left:b,ease:punchgs.Power3.easeOut,overwrite:auto})}}(jQuery);/script>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/i18n/messages_es.js>/script>script async defer srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/lib/owlcarousel/owl.carousel.min.js>/script>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/scripts/common.js?v1>/script>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/plugins/pricescalendar/calendar.plugin.js>/script>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/plugins/dates-selector/datepicker_v1.js>/script>script>$(function () { DP_extend_info.config.booking_version 7; DP_extend_info.config.custom_format_day_month function (dateComponents) { dateComponents dateComponents.split(/); return div classday> + dateComponents0 + /div>/div classmonth> + dateComponents1 + /div>/div classyear> + dateComponents2 + /div> ; }; DP_extend_info.init(); })/script>script async typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/scripts/booking_7.js?v1.1>/script>script async typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/scripts/booking_full_popup.js?v1>/script>script async typetext/javascript typetext/javascript src/js/simoa/functions.js?v1.5>/script>script async typetext/javascript typetext/javascript src/js/simoa/booking_engine_personalize.js?v1.1>/script>script async typetext/javascript src//www.tripadvisor.com/js3/conversion/pixel.js>/script>div styledisplay: none;>div iddata>div idwrapper_booking_fancybox>div idbooking_widget_popup classbooking_widget_fancybox>div idmotor_reserva>!-- booking engine 2 -->form actionhttps://www.marinaturquesa.com/booking1 namesearchForm idsearchForm methodpost classparaty-booking-form motor2>input typehidden idlanguage namelanguage valueSPANISH />input typehidden idagesKid1 nameagesKid1 value />input typehidden idagesKid2 nameagesKid2 value />input typehidden idagesKid3 nameagesKid3 value />input idroomType typehidden nameroomType value>input classroomTypeValue typehidden nameroomTypeValue value>input idroomFilter typehidden nameroomFilter value>input idroomFilterName typehidden nameroomFilterName value>input typehidden idroomtype_list_json nameroomtype_list_json value>input idboardFilter typehidden nameboardFilter value>input idkeyBooking0Source typehidden namekeyBooking0Source value>input typehidden value namepriceSeekerHotel idpriceSeekerHotel/>input typehidden idgclid namegclid value />input typehidden idusing_booking_0 nameusing_booking_0 value />input typehidden idnamespace namenamespace valuemarina-turquesa />div idbooking_engine_title>h4 idbooking_title1>Reservas/h4>h4 idbooking_title2>Reserva ahora/h4>h3 idbest_price>MEJOR PRECIO ONLINE/h3>/div>div idcontenedor_hotel>/div>fieldset idcontenedor_fechas>div idfecha_entrada classcolocar_fechas fecha_entrada>label idtitulo_fecha_entrada classfloat_fecha>Fecha de Entrada/label>input typetext classfloat_fecha classdatepicker1 namestartDate iddatepicker1 tabindex4 readonlyreadonly autocompleteoff/>/div>div idfecha_salida classcolocar_fechas fecha_salida>label idtitulo_fecha_salida classfloat_fecha>Fecha de Salida/label>input typetext classfloat_fecha classdatepicker2 nameendDate iddatepicker2 tabindex5 readonlyreadonly autocompleteoff/>/div>div idcontador_noches classcolocar_fechas>p classfloat_fecha>Número de noches: X/p>/div>/fieldset>fieldset idcontenedor_habitaciones >label> Habitaciones /label>select idselector_habitaciones namenumRooms onchangemostrarHabitaciones(this.value); tabindex6>option value1 selectedselected>1/option>option value2 >2/option>option value3 >3/option>/select>/fieldset>fieldset idcontenedor_opciones >div idhab1>label classnumero_habitacion> Habitación 1/label>div classadultos numero_personas>label classselector_adultos idtitulo_adultos>Adultos/label>select classselector_adultos idhab1_adultos nameadultsRoom1 tabindex7>option value1 >1/option>option value2 selectedselected>2/option>option value3 >3/option>option value4 >4/option>option value5 >5/option>option value6 >6/option>option value7 >7/option>option value8 >8/option>/select>/div>div classninos numero_personas titleBebés gratis>label forchildrenRoom1 idtitulo_ninos classselector_ninos>Niños/label>select idhab1_ninos classselector_ninos namechildrenRoom1 onchange tabindex8>option value0 selectedselected > 0 /option>option value1 > 1 /option>option value2 > 2 /option>option value3 > 3 /option>option value4 > 4 /option>/select>label idinfo_ninos classselector_ninos> (De 2 a 12 años) /label>/div>/div>div idhab2>label classnumero_habitacion>Habitación 2/label>div classadultos numero_personas>select classselector_adultos idhab2_adultos nameadultsRoom2 tabindex10>option value1 >1/option>option value2 selectedselected>2/option>option value3 >3/option>option value4 >4/option>option value5 >5/option>option value6 >6/option>option value7 >7/option>option value8 >8/option>/select>/div>div classninos numero_personas titleBebés gratis>select idhab2_ninos classselector_ninos namechildrenRoom2 onchange tabindex11>option value0 selectedselected > 0 /option>option value1 > 1 /option>option value2 > 2 /option>option value3 > 3 /option>option value4 > 4 /option>/select>/div>/div>div idhab3>label classnumero_habitacion>Habitación 3/label>div classadultos numero_personas>select classselector_adultos idhab3_adultos nameadultsRoom3 tabindex13>option value1 >1/option>option value2 selectedselected>2/option>option value3 >3/option>option value4 >4/option>option value5 >5/option>option value6 >6/option>option value7 >7/option>option value8 >8/option>/select>/div>div classninos numero_personas titleBebés gratis>select idhab3_ninos classselector_ninos namechildrenRoom3 onchange tabindex14>option value0 selectedselected > 0 /option>option value1 > 1 /option>option value2 > 2 /option>option value3 > 3 /option>option value4 > 4 /option>/select>/div>/div>/fieldset>fieldset idenvio>input typetext idpromocode classcolocar_envio promocode_input_class namepromocode placeholderCódigo promocional value tabindex16>button typesubmit onclick$(this).addClass(clicked_button);return bookingSearch() idsearch-button classcolocar_envio buttonsearch-ratecheck tabindex17>Reservar/button>div idenvio_spinner>/div>/fieldset>input typehidden idbooking-search-popup namebooking-search-popup valuetrue>script> function show_booking_search_popup(myForm) { if (typeof(sending_form_custom_from_paraty) undefined){ sending_form_custom_from_paraty true; setTimeout( function(myForm) { openBookingSearchPopup(myForm); }, 1000, myForm ); } }; function openBookingSearchPopup(myForm) { var elements { href : https://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jhs800 }, var popup_description ; if (typeof(custom_popup_loading_description) ! undefined) { popup_description custom_popup_loading_description; } $(img/>).attr(src, https://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jh); text_popup div classcontainer_popup_booking styletext-align:center;>img srchttps://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jh>div classdescription_popup_booking> + popup_description + /div>/div>; var fancybox_params { width : auto, maxWidth: 800, height: auto, fitToView: false, autoSize: false, padding: 0, closeClick: false, closeBtn: false, wrapCSS: booking_popup_waiting, helpers: { overlay: {closeClick: false} // prevents closing when clicking OUTSIDE fancybox } }; if ($.fancybox.version.slice(0,2) 3.) { fancybox_paramsbaseClass fancy-booking-search; fancybox_paramsmodal true; $.fancybox.open(text_popup, fancybox_params); } else { $.fancybox(text_popup, fancybox_params); } myForm.submit(); } function openBookingSearchPopup_v2(myForm, show_popuptrue) { if ((window.location ! window.parent.location) && show_popup) { const parentMessage { message: resize_iframe, height: 700, }; window.parent.postMessage(parentMessage, *); } var container_booking_popup $(div>/div>).addClass(container_popup_booking).css(text-align, center), loading_popup_top_text `Actualizando para continuar con su reserva`; if ($(.logo_namespace).length) { var logo_namespace $(inputnamenamespace).val(); var url_logo $(#logo_ + logo_namespace).val(); loading_popup_top_text $(img src+ url_logo +>); } var loading_popup_bottom_text `Solo será un momento, por favor`, descipription_top_booking_popup $(div>/div>).addClass(description_top_popup_booking).html(loading_popup_top_text), descipription_bottom_booking_popup $(div>/div>).addClass(description_bottom_popup_booking).html(loading_popup_bottom_text), gif_wrapper $(div>/div>).addClass(gif_wrapper), number_of_lines 20; for (var x 0; x number_of_lines; x++) { var target_delay_css { -webkit-animation-delay: -(1.5 - (0.1 * x)) + s, -moz-animation-delay: -(1.5 - (0.1 * x)) + s, -o-animation-delay: -(1.5 - (0.1 * x)) + s, animation-delay: -(1.5 - (0.1 * x)) + s }; var element_line_to_append $(div>/div>).addClass(default_line_loading).css(target_delay_css); element_line_to_append.appendTo(gif_wrapper); } container_booking_popup.append(descipription_top_booking_popup).append(gif_wrapper).append(descipription_bottom_booking_popup); var selected_start_date $(inputnamestartDate).val(), selected_end_date $(inputnameendDate).val(); if(selected_start_date ){ var today new Date(); var dd today.getDate(); var mm today.getMonth()+1; //January is 0! var yyyy today.getFullYear(); if(dd10) {dd 0+dd} if(mm10) {mm 0+mm} today dd + / + mm + / + yyyy; selected_start_date today; } var custom_format_date ; if (custom_format_date) { var splitted_start_date selected_start_date.split(/), start_day splitted_start_date0, start_month splitted_start_date1, start_year splitted_start_date2, start_datetime new Date(start_year, start_month - 1, start_day), week_start_day start_datetime.getDay(); var splitted_end_date selected_end_date.split(/), end_day splitted_end_date0, end_month splitted_end_date1, end_year splitted_end_date2, end_datetime new Date(end_year, end_month - 1, end_day), week_end_day end_datetime.getDay(); var days_list $.datepicker._defaults.dayNames; //Start date selected_start_date custom_format_date.replace(%m, start_month).replace(%d, start_day).replace(%Y, start_year); selected_start_date selected_start_date.replace(%a, days_listweek_start_day).replace(%bb, _monthNamesstart_month - 1).replace(%b, _monthNamesstart_month - 1); //End date selected_end_date custom_format_date.replace(%m, end_month).replace(%d, end_day).replace(%Y, end_year); selected_end_date selected_end_date.replace(%a, days_listweek_end_day).replace(%bb, _monthNamesend_month - 1).replace(%b, _monthNamesend_month - 1); } //Protection for failures if(selected_start_date.indexOf(NaN) > -1 || selected_end_date.indexOf(NaN)){ container_booking_popup.html(container_booking_popup.html().replace(@@start_date@@, selected_start_date).replace(@@end_date@@, selected_end_date)); } else { container_booking_popup.find(.description_bottom_popup_booking).remove(); } if (show_popup) { var fancybox_params { width: auto, maxWidth: 800, height: auto, fitToView: false, autoSize: false, padding: 0, closeClick: false, closeBtn: false, helpers: { overlay: { closeClick: false } // prevents closing when clicking OUTSIDE fancybox }, wrapCSS: fancy-booking-search_v2 , beforeShow: function () { $(.fancybox-bg).css(background, ); if (typeof (cookiesController) ! undefined && cookiesController.search_cookie(step_history_back)) { cookiesController.delete_cookie(step_history_back); } } }; if ($.fancybox.version.slice(0, 2) 3.) { fancybox_paramsbaseClass fancybox-wrap fancy-booking-search_v2 ; fancybox_paramsmodal true; $.fancybox.open(container_booking_popup, fancybox_params); } else { $.fancybox(container_booking_popup, fancybox_params); } if (myForm) { if (!navigator.userAgent.match(/chrome/i) && (navigator.userAgent.match(/safari/i) || !navigator.userAgent.match(/firefox/i))) { setTimeout(function () { myForm.submit(); }, 700); } else { myForm.submit(); } } } } $(img/>).attr(src, https://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jh); function showGallery(elements) { $.fancybox(elements, { modal: true, closeBtn: false, autoPlay: true, playSpeed: 3000, prevEffect: none, nextEffect: none, type: image, arrows: false, nextClick: false, mouseWheel: false, helpers: { title: { type: outside }, overlay: { opacity: 0.8, css: { background-color: #000 } } }, padding: 0 }); } /script>/form>/div>!-- Javascript at the bottom to increase speed -->script srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/js/datepicker/jquery.ui.datepicker-es.js?v1.3 typetext/javascript>/script>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/lib/spin.min.js>/script>!-- Javascript at the bottom to increase speed -->script typetext/javascript> var datePicker1Selector .classdatepicker1; var datePicker2Selector .classdatepicker2;$(#hotel_destino).change(function() { var action $(this).val(); $(#searchForm).attr(action, action); var newNamespace namespacesaction; $(#namespace).val(newNamespace); }); $(function(){ $.datepicker.setDefaults($.datepicker.regionales);});var checkDates function() { var date1_str $(datePicker1Selector).val(); var date2_str $(datePicker2Selector).val(); if (date1_str || date2_str ){ return false; } else { return true; }}$(document).ready(function () { if ($(#internalStartDate).length ! 0) { var startDate $(#internalStartDate).val(); var startYear startDate.substring(0,4); var startMonth startDate.substring(5,7); var startDay startDate.substring(8,10); var startParse startDay + / + startMonth + / + startYear; var endDate $(#internalEndDate).val(); var endYear endDate.substring(0,4); var endMonth endDate.substring(5,7); var endDay endDate.substring(8,10); var endParse endDay + / + endMonth + / + endYear; } else { var startParse ; var endParse ; } $(datePicker1Selector).val(startParse); $(datePicker2Selector).val(endParse); if ($(.internalUrlParamsTransfer).length){ let target_value $(.internalUrlParamsTransfer).val(); if (!$(.transfer_to_booking).length) { $(.paraty-booking-form).each(function(){ $(this).append($(input typehidden classtransfer_to_booking nametransfer_url_params value + target_value + >)); }) } else { $(.transfer_to_booking).val(target_value) } } if ($(#internalNumRooms).length ! 0){ $(#selector_habitaciones).val($(#internalNumRooms).val()); $(#selector_habitaciones).change(); var internalNum1AdultsRooms 2; var internalNum2AdultsRooms 2; var internalNum3AdultsRooms 2; var internalNum1BabiesRooms 0; var internalNum2BabiesRooms 0; var internalNum3BabiesRooms 0; if ($(#internalNum1AdultsRooms).length ! 0) internalNum1AdultsRooms $(#internalNum1AdultsRooms).val() if ($(#internalNum2AdultsRooms).length ! 0) internalNum2AdultsRooms $(#internalNum2AdultsRooms).val() if ($(#internalNum3AdultsRooms).length ! 0) internalNum3AdultsRooms $(#internalNum3AdultsRooms).val() if ($(#internalNum1BabiesRooms).length ! 0) internalNum1BabiesRooms $(#internalNum1BabiesRooms).val() if ($(#internalNum2BabiesRooms).length ! 0) internalNum2BabiesRooms $(#internalNum2BabiesRooms).val() if ($(#internalNum3BabiesRooms).length ! 0) internalNum3BabiesRooms $(#internalNum3BabiesRooms).val() $(#hab1_adultos).val(internalNum1AdultsRooms); $(#hab2_adultos).val(internalNum2AdultsRooms); $(#hab3_adultos).val(internalNum3AdultsRooms); $(#hab1_ninos).val($(#internalNum1KidsRooms).val()); $(#hab2_ninos).val($(#internalNum2KidsRooms).val()); $(#hab3_ninos).val($(#internalNum3KidsRooms).val()); $(#hab1_bebes).val(internalNum1BabiesRooms); $(#hab2_bebes).val(internalNum2BabiesRooms); $(#hab3_bebes).val(internalNum3BabiesRooms); }if ($(#internalPromocode) && $(#internalPromocode).val()){ $(#promocode).val($(#internalPromocode).val());} if (typeof(DP_extend_info) undefined || DP_extend_info.config.booking_version.indexOf(2) -1) { $(datePicker1Selector).datepicker({ minDate: new Date(), altFormat: dd/mm/yy, dateFormat: dd/mm/yy, onClose: function (selectedDate, inst) { if (selectedDate) { var theDate $.datepicker.parseDate(dd/mm/yy, selectedDate); var theSelectedDate $.datepicker.parseDate(dd/mm/yy, selectedDate); theSelectedDate.setDate(theSelectedDate.getDate()); $(datePicker1Selector).datepicker(setDate, theSelectedDate); if (typeof(min_stay_number) ! undefined){ theDate.setDate(theDate.getDate() + min_stay_number); } else { theDate.setDate(theDate.getDate() + 1); } $(datePicker2Selector).datepicker(option, minDate, theDate); $(datePicker2Selector).datepicker(setDate, theDate); $(this).closest(#contenedor_fechas).find(datePicker2Selector).datepicker(show); } } }); $(datePicker2Selector).datepicker({ minDate: minDateDeparture(), altFormat: dd/mm/yy, dateFormat: dd/mm/yy }); $(datePicker1Selector).change(function () { var date2 $(this).datepicker(getDate, +3d); $(datePicker1Selector).datepicker(setDate, date2); date2.setDate(date2.getDate() + 1); $(datePicker2Selector).datepicker(setDate, date2); checkDates(); }); $(datePicker2Selector).change(function () { var date2 $(this).datepicker(getDate, +3d); $(datePicker2Selector).datepicker(setDate, date2); checkDates(); }); $(datePicker1Selector).removeAttr(disabled); $(datePicker2Selector).removeAttr(disabled); } });function minDateDeparture(){ if ($(datePicker1Selector).val()){ var theDate $.datepicker.parseDate(dd/mm/yy, $(datePicker1Selector).val()); theDate.setDate(theDate.getDate() + 1 ); } else{ var theDate new Date(); } return theDate;}function mostrarHabitaciones(selector_habitaciones) { for ( var i 3; i > selector_habitaciones; i--) { //$(#hab + i).hide(); $(idhab+ i + ).each(function() { $(this).hide(); }); //$(#childrenRoom + (i + 1)).val(0); $(idchildrenRoom+ (i + 1) + ).each(function() { $(this).val(0); }); } for ( var i selector_habitaciones; i > 0; i--) { //$(#hab + i).show(); $(idhab+ i + ).each(function() { $(this).show(); }); }}function bookingSearch(){ if (!checkDates()){ return false; } var destination_input $(form.paraty-booking-form.motor2).find(.destination); if(destination_input.length && destination_input.val() ){ $(form.paraty-booking-form .destination_field, form.paraty-booking-form.motor2 .destination_wrapper).show(); return false; } try { ga(function (tracker) { client_id tracker.get(clientId); }); $(input>).attr({ type: hidden, id: _ga, name: _ga, value: client_id }).appendTo($(#search-button).closest(form)); } catch (err) { console.log(Google Analytics defined incorrectly (May use a old version)); } var opts { lines: 13, // The number of lines to draw length: 4, // The length of each line width: 3, // The line thickness radius: 10, // The radius of the inner circle rotate: 0, // The rotation offset color: #e1e1e1, // #rgb or #rrggbb speed: 1.5, // Rounds per second trail: 60, // Afterglow percentage shadow: false, // Whether to render a shadow hwaccel: false, // Whether to use hardware acceleration className: spinner, // The CSS class to assign to the spinner zIndex: 2e9, // The z-index (defaults to 2000000000) top: auto, // Top position relative to parent in px left: auto // Left position relative to parent in px }; var target document.getElementById(envio_spinner); if( $(#booking-search-popup).length ) { show_booking_search_popup($(#searchForm)); return false; } else { $(#search-button).hide(); var spinner new Spinner(opts).spin(target); $(#searchForm).submit(); }};/script>script> adult_tag Adulto; adults_tag Adultos; kid_tag Niño; kids_tag Niños; baby_tag Bebé; babies_tag Bebés; no_dispo_text No disponible;/script>script async> ($ > { if (typeof only_once_rescueseeker undefined) { only_once_rescueseeker 1; $.getScript(https://global-dot-rescue-seeker.appspot.com/static/rescue-seeker/common/js/rescue-seeker-widget.js?v2) .done(function (script, textStatus) { console.log(RESCUE SEEKER: Main rescue seeker script loaded!); RescueSeeker.load(marina-turquesa, es, paraty); }) .fail(function (jqxhr, settings, exception) { console.error(RESCUE SEEKER: Main rescue seeker script NOT loaded!); console.error(exception); }); } })(jQuery);/script>/div>/div>/div>/div>script> $(function(){ $(#booking label.dates_selector_label).html(Entrada / Salida); $(.promocode_input).attr(placeholder, promocode); $(.submit_button).html(span> + $(.submit_button).text() + /span>) }) /script>style> .automatic_floating_picture { position: fixed; bottom: 32px; left: 32px; z-index: 1000; transition: .3s all; } .automatic_floating_picture.hide_picture{ opacity: 0; left: -100%; } .automatic_floating_picture .right { position: fixed; bottom: 32px; right: 32px; z-index: 1000; } .automatic_floating_picture img { width: 100%; height: 100%; } /style>div classautomatic_floating_picture >/div>/body>/html>
Port 443
HTTP/1.1 200 OKContent-Type: text/html; charsetutf-8Vary: Accept-EncodingVary: Accept-EncodingX-Cloud-Trace-Context: 6af82704c5549d0ba54ee5d89cae52f9Alt-Svc: h3:443; ma2592000,h3-29:443; ma2592000Date: Wed, 08 Jan 2025 03:06:20 GMTServer: Google FrontendContent-Length: 656723 !DOCTYPE html>html langes xml:langes>head>link hrefhttps://fonts.googleapis.com/css?familyRoboto:100,300,400,700|Roboto+Slab:300 relstylesheet>title> Web Oficial Apartamentos Marina Turquesa /title>meta http-equivcontent-type contenttext/html; charsetUTF-8/>link relicon hrefhttps://cdn.paraty.es/static_files/secure-booking-online/specific/202411270910/images/favicon_marina-turquesa.ico?v1.108 typeimage/x-icon>meta namekeywords contentapartamentos marina turquesa, marina turquesa nerja, apartamentos en nerja, apartamentos marina turquesa, marina turquesa, apartamentos nerja, nerja vacaciones,/>meta namedescription contentApartamentos Marina Turquesa en Nerja con piscina y con piscina cubierta, gimnasio y cerca de la playa/>meta namerevisit-after content2 days/>meta http-equivContent-Language contentes/>meta namedc.title content Web Oficial Apartamentos Marina Turquesa />meta namedc.description contentApartamentos Marina Turquesa en Nerja con piscina y con piscina cubierta, gimnasio y cerca de la playa/>meta namedc.keywords contentapartamentos marina turquesa, marina turquesa nerja, apartamentos en nerja, apartamentos marina turquesa, marina turquesa, apartamentos nerja, nerja vacaciones,/>meta namedc.language contentes/>meta namedc.creator contentApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga/>meta namedc.format contenttext/html/>meta namedc.identifier contenthttps://www.marinaturquesa.comes/noticias/>meta nameformat-detection contenttelephoneno>!-- REVOLUTION BANNER CSS SETTINGS -->link mediascreen relstylesheet typetext/css hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/lib/rs-plugin/css/settings_unified.min.css/>!-- lightbox -->link relstylesheet hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/lib/lightbox/css/lightbox.css typetext/css/>!-- styles -->link relstylesheet typetext/css hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/css/templateBaseline.css/>link relstylesheet typetext/css hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/css/1140/1140.css/>link relstylesheet typetext/css hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/plugins/pricescalendar/styles.css>link relstylesheet typetext/css hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/plugins/dates-selector/css/datepicker_ext_inf.css?v1.111>link relstylesheet typetext/css href/css/simoa/styles_marina-turquesa.css?v4.79/>!--if IE 8>link relstylesheet typetext/css href/css/simoa/ie8.css />!endif-->script typetext/javascript> if (navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i)) { document.write(meta nameviewport contentwidth1160, initial-scale1, user-scalableyes>); } if (navigator.userAgent.match(/iPad/i)) { document.write(link relstylesheet typetext/css href/css/simoa/ipad.css?v4>); } /script>!--if lte IE 7>script typetext/javascript> alert(La versión de su navegador no está soportada. Por favor, utilice una versión más moderna o use otro navegador); /script>!endif-->!--if lte IE 8>script src//html5shiv.googlecode.com/svn/trunk/html5.js>/script>!endif-->script>(function(e,t){function _(e){var tMe{};return v.each(e.split(y),function(e,n){tn!0}),t}function H(e,n,r){if(rt&&e.nodeType1){var idata-+n.replace(P,-$1).toLowerCase();re.getAttribute(i);if(typeof rstring){try{rrtrue?!0:rfalse?!1:rnull?null:+r+r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else rt}return r}function B(e){var t;for(t in e){if(tdata&&v.isEmptyObject(et))continue;if(t!toJSON)return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType11}function at(e,t){do eet;while(e&&e.nodeType!1);return e}function ft(e,t,n){tt||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i!!t.call(e,r,e);return in});if(t.nodeType)return v.grep(e,function(e,r){return etn});if(typeof tstring){var rv.grep(e,function(e){return e.nodeType1});if(it.test(t))return v.filter(t,r,!n);tv.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>0n})}function lt(e){var tct.split(|),ne.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)0||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!1||!v.hasData(e))return;var n,r,i,sv._data(e),ov._data(t,s),us.events;if(u){delete o.handle,o.events{};for(n in u)for(r0,iun.length;ri;r++)v.event.add(t,n,unr)}o.data&&(o.datav.extend({},o.data))}function Ot(e,t){var n;if(t.nodeType!1)return;t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),nt.nodeName.toLowerCase(),nobject?(t.parentNode&&(t.outerHTMLe.outerHTML),v.support.html5Clone&&e.innerHTML&&!v.trim(t.innerHTML)&&(t.innerHTMLe.innerHTML)):ninput&&Et.test(e.type)?(t.defaultCheckedt.checkede.checked,t.value!e.value&&(t.valuee.value)):noption?t.selectede.defaultSelected:ninput||ntextarea?t.defaultValuee.defaultValue:nscript&&t.text!e.text&&(t.texte.text),t.removeAttribute(v.expando)}function Mt(e){return typeof e.getElementsByTagName!undefined?e.getElementsByTagName(*):typeof e.querySelectorAll!undefined?e.querySelectorAll(*):}function _t(e){Et.test(e.type)&&(e.defaultCheckede.checked)}function Qt(e,t){if(t in e)return t;var nt.charAt(0).toUpperCase()+t.slice(1),rt,iJt.length;while(i--){tJti+n;if(t in e)return t}return r}function Gt(e,t){return et||e,v.css(e,display)none||!v.contains(e.ownerDocument,e)}function Yt(e,t){var n,r,i,s0,oe.length;for(;so;s++){nes;if(!n.style)continue;isv._data(n,olddisplay),t?(!is&&n.style.displaynone&&(n.style.display),n.style.display&&Gt(n)&&(isv._data(n,olddisplay,nn(n.nodeName)))):(rDt(n,display),!is&&r!none&&v._data(n,olddisplay,r))}for(s0;so;s++){nes;if(!n.style)continue;if(!t||n.style.displaynone||n.style.display)n.style.displayt?is||:none}return e}function Zt(e,t,n){var rRt.exec(t);return r?Math.max(0,r1-(n||0))+(r2||px):t}function en(e,t,n,r){var in(r?border:content)?4:twidth?1:0,s0;for(;i4;i+2)nmargin&&(s+v.css(e,n+$ti,!0)),r?(ncontent&&(s-parseFloat(Dt(e,padding+$ti))||0),n!margin&&(s-parseFloat(Dt(e,border+$ti+Width))||0)):(s+parseFloat(Dt(e,padding+$ti))||0,n!padding&&(s+parseFloat(Dt(e,border+$ti+Width))||0));return s}function tn(e,t,n){var rtwidth?e.offsetWidth:e.offsetHeight,i!0,sv.support.boxSizing&&v.css(e,boxSizing)border-box;if(r0||rnull){rDt(e,t);if(r0||rnull)re.stylet;if(Ut.test(r))return r;is&&(v.support.boxSizingReliable||re.stylet),rparseFloat(r)||0}return r+en(e,t,n||(s?border:content),i)+px}function nn(e){if(Wte)return Wte;var tv(+e+>).appendTo(i.body),nt.css(display);t.remove();if(nnone||n){Pti.body.appendChild(Pt||v.extend(i.createElement(iframe),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht(Pt.contentWindow||Pt.contentDocument).document,Ht.write(!doctype html>html>body>),Ht.close();tHt.body.appendChild(Ht.createElement(e)),nDt(t,display),i.body.removeChild(Pt)}return Wten,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e++(typeof iobject?t:)+,i,n,r)});else if(!n&&v.type(t)object)for(i in t)fn(e++i+,ti,n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!string&&(nt,t*);var r,i,s,ot.toLowerCase().split(y),u0,ao.length;if(v.isFunction(n))for(;ua;u++)rou,s/^\+/.test(r),s&&(rr.substr(1)||*),ierer||,is?unshift:push(n)}}function kn(e,n,r,i,s,o){ss||n.dataTypes0,oo||{},os!0;var u,aes,f0,la?a.length:0,ceSn;for(;fl&&(c||!u);f++)uaf(n,r,i),typeof ustring&&(!c||ou?ut:(n.dataTypes.unshift(u),ukn(e,n,r,i,u,o)));return(c||!u)&&!o*&&(ukn(e,n,r,i,*,o)),u}function Ln(e,n){var r,i,sv.ajaxSettings.flatOptions||{};for(r in n)nr!t&&((sr?e:i||(i{}))rnr);i&&v.extend(!0,e,i)}function An(e,n,r){var i,s,o,u,ae.contents,fe.dataTypes,le.responseFields;for(s in l)s in r&&(nlsrs);while(f0*)f.shift(),it&&(ie.mimeType||n.getResponseHeader(content-type));if(i)for(s in a)if(as&&as.test(i)){f.unshift(s);break}if(f0in r)of0;else{for(s in r){if(!f0||e.converterss+ +f0){os;break}u||(us)}oo||u}if(o)return o!f0&&f.unshift(o),ro}function On(e,t){var n,r,i,s,oe.dataTypes.slice(),uo0,a{},f0;e.dataFilter&&(te.dataFilter(t,e.dataType));if(o1)for(n in e.converters)an.toLowerCase()e.convertersn;for(;io++f;)if(i!*){if(u!*&&u!i){nau+ +i||a* +i;if(!n)for(r in a){sr.split( );if(s1i){nau+ +s0||a* +s0;if(n){n!0?nar:ar!!0&&(is0,o.splice(f--,0,i));break}}}if(n!!0)if(n&ðrows)tn(t);else try{tn(t)}catch(l){return{state:parsererror,error:n?l:No conversion from +u+ to +i}}}ui}return{state:success,data:t}}function Fn(){try{return new e.XMLHttpRequest}catch(t){}}function In(){try{return new e.ActiveXObject(Microsoft.XMLHTTP)}catch(t){}}function $n(){return setTimeout(function(){qnt},0),qnv.now()}function Jn(e,t){v.each(t,function(t,n){var r(Vnt||).concat(Vn*),i0,sr.length;for(;is;i++)if(ri.call(e,t,n))return})}function Kn(e,t,n){var r,i0,s0,oXn.length,uv.Deferred().always(function(){delete a.elem}),afunction(){var tqn||$n(),nMath.max(0,f.startTime+f.duration-t),rn/f.duration||0,i1-r,s0,of.tweens.length;for(;so;s++)f.tweenss.run(i);return u.notifyWith(e,f,i,n),i1&&o?n:(u.resolveWith(e,f),!1)},fu.promise({elem:e,props:v.extend({},t),opts:v.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:qn||$n(),duration:n.duration,tweens:,createTween:function(t,n,r){var iv.Tween(e,f.opts,t,n,f.opts.specialEasingt||f.opts.easing);return f.tweens.push(i),i},stop:function(t){var n0,rt?f.tweens.length:0;for(;nr;n++)f.tweensn.run(1);return t?u.resolveWith(e,f,t):u.rejectWith(e,f,t),this}}),lf.props;Qn(l,f.opts.specialEasing);for(;io;i++){rXni.call(f,e,l,f.opts);if(r)return r}return Jn(f,l),v.isFunction(f.opts.start)&&f.opts.start.call(e,f),v.fx.timer(v.extend(a,{anim:f,queue:f.opts.queue,elem:e})),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}function Qn(e,t){var n,r,i,s,o;for(n in e){rv.camelCase(n),itr,sen,v.isArray(s)&&(is1,sens0),n!r&&(ers,delete en),ov.cssHooksr;if(o&&expandin o){so.expand(s),delete er;for(n in s)n in e||(ensn,tni)}else tri}}function Gn(e,t,n){var r,i,s,o,u,a,f,l,c,hthis,pe.style,d{},m,ge.nodeType&&Gt(e);n.queue||(lv._queueHooks(e,fx),l.unqueuednull&&(l.unqueued0,cl.empty.fire,l.empty.firefunction(){l.unqueued||c()}),l.unqueued++,h.always(function(){h.always(function(){l.unqueued--,v.queue(e,fx).length||l.empty.fire()})})),e.nodeType1&&(heightin t||widthin t)&&(n.overflowp.overflow,p.overflowX,p.overflowY,v.css(e,display)inline&&v.css(e,float)none&&(!v.support.inlineBlockNeedsLayout||nn(e.nodeName)inline?p.displayinline-block:p.zoom1)),n.overflow&&(p.overflowhidden,v.support.shrinkWrapBlocks||h.done(function(){p.overflown.overflow0,p.overflowXn.overflow1,p.overflowYn.overflow2}));for(r in t){str;if(Un.exec(s)){delete tr,aa||stoggle;if(s(g?hide:show))continue;m.push(r)}}om.length;if(o){uv._data(e,fxshow)||v._data(e,fxshow,{}),hiddenin u&&(gu.hidden),a&&(u.hidden!g),g?v(e).show():h.done(function(){v(e).hide()}),h.done(function(){var t;v.removeData(e,fxshow,!0);for(t in d)v.style(e,t,dt)});for(r0;ro;r++)imr,fh.createTween(i,g?ui:0),diui||v.style(e,i),i in u||(uif.start,g&&(f.endf.start,f.startiwidth||iheight?1:0))}}function Yn(e,t,n,r,i){return new Yn.prototype.init(e,t,n,r,i)}function Zn(e,t){var n,r{height:e},i0;tt?1:0;for(;i4;i+2-t)n$ti,rmargin+nrpadding+ne;return t&&(r.opacityr.widthe),r}function tr(e){return v.isWindow(e)?e:e.nodeType9?e.defaultView||e.parentWindow:!1}var n,r,ie.document,se.location,oe.navigator,ue.jQuery,ae.$,fArray.prototype.push,lArray.prototype.slice,cArray.prototype.indexOf,hObject.prototype.toString,pObject.prototype.hasOwnProperty,dString.prototype.trim,vfunction(e,t){return new v.fn.init(e,t,n)},m/\-+?(?:\d*\.|)\d+(?:eE\-+?\d+|)/.source,g/\S/,y/\s+/,b/^\s\uFEFF\xA0+|\s\uFEFF\xA0+$/g,w/^(?:^#*(\w\W+>)^>*$|#(\w\-*)$)/,E/^(\w+)\s*\/?>(?:\/\1>|)$/,S/^\,:{}\s*$/,x/(?:^|:|,)(?:\s*\)+/g,T/\\(?:\\\/bfnrt|u\da-fA-F{4})/g,N/^\\\r\n*|true|false|null|-?(?:\d\d*\.|)\d+(?:eE\-+?\d+|)/g,C/^-ms-/,k/-(\da-z)/gi,Lfunction(e,t){return(t+).toUpperCase()},Afunction(){i.addEventListener?(i.removeEventListener(DOMContentLoaded,A,!1),v.ready()):i.readyStatecomplete&&(i.detachEvent(onreadystatechange,A),v.ready())},O{};v.fnv.prototype{constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.contextthis0e,this.length1,this;if(typeof estring){e.charAt(0)&&e.charAt(e.length-1)>&&e.length>3?snull,e,null:sw.exec(e);if(s&&(s1||!n)){if(s1)return nn instanceof v?n0:n,an&&n.nodeType?n.ownerDocument||n:i,ev.parseHTML(s1,a,!0),E.test(s1)&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);oi.getElementById(s2);if(o&&o.parentNode){if(o.id!s2)return r.find(e);this.length1,this0o}return this.contexti,this.selectore,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!t&&(this.selectore.selector,this.contexte.context),v.makeArray(e,this))},selector:,jquery:1.8.3,length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return enull?this.toArray():e0?thisthis.length+e:thise},pushStack:function(e,t,n){var rv.merge(this.constructor(),e);return r.prevObjectthis,r.contextthis.context,tfind?r.selectorthis.selector+(this.selector? :)+n:t&&(r.selectorthis.selector+.+t+(+n+)),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e+e,e-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),slice,l.call(arguments).join(,))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:.sort,splice:.splice},v.fn.init.prototypev.fn,v.extendv.fn.extendfunction(){var e,n,r,i,s,o,uarguments0||{},a1,farguments.length,l!1;typeof uboolean&&(lu,uarguments1||{},a2),typeof u!object&&!v.isFunction(u)&&(u{}),fa&&(uthis,--a);for(;af;a++)if((eargumentsa)!null)for(n in e){run,ien;if(ui)continue;l&&i&&(v.isPlainObject(i)||(sv.isArray(i)))?(s?(s!1,or&&v.isArray(r)?r:):or&&v.isPlainObject(r)?r:{},unv.extend(l,o,i)):i!t&&(uni)}return u},v.extend({noConflict:function(t){return e.$v&&(e.$a),t&&e.jQueryv&&(e.jQueryu),v},isReady:!1,readyWait:1,holdReady:function(e){e?v.readyWait++:v.ready(!0)},ready:function(e){if(e!0?--v.readyWait:v.isReady)return;if(!i.body)return setTimeout(v.ready,1);v.isReady!0;if(e!!0&&--v.readyWait>0)return;r.resolveWith(i,v),v.fn.trigger&&v(i).trigger(ready).off(ready)},isFunction:function(e){return v.type(e)function},isArray:Array.isArray||function(e){return v.type(e)array},isWindow:function(e){return e!null&&ee.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return enull?String(e):Oh.call(e)||object},isPlainObject:function(e){if(!e||v.type(e)!object||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,constructor)&&!p.call(e.constructor.prototype,isPrototypeOf))return!1}catch(n){return!1}var r;for(r in e);return rt||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!string?null:(typeof tboolean&&(nt,t0),tt||i,(rE.exec(e))?t.createElement(r1):(rv.buildFragment(e,t,n?null:),v.merge(,(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!string)return null;tv.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,@).replace(N,).replace(x,)))return(new Function(return +t))();v.error(Invalid JSON: +t)},parseXML:function(n){var r,i;if(!n||typeof n!string)return null;try{e.DOMParser?(inew DOMParser,ri.parseFromString(n,text/xml)):(rnew ActiveXObject(Microsoft.XMLDOM),r.asyncfalse,r.loadXML(n))}catch(s){rt}return(!r||!r.documentElement||r.getElementsByTagName(parsererror).length)&&v.error(Invalid XML: +n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,ms-).replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()t.toLowerCase()},each:function(e,n,r){var i,s0,oe.length,uot||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(ei,r)!1)break}else for(;so;)if(n.apply(es++,r)!1)break}else if(u){for(i in e)if(n.call(ei,i,ei)!1)break}else for(;so;)if(n.call(es,s,es++)!1)break;return e},trim:d&&!d.call(\ufeff\u00a0)?function(e){return enull?:d.call(e)}:function(e){return enull?:(e+).replace(b,)},makeArray:function(e,t){var n,rt||;return e!null&&(nv.type(e),e.lengthnull||nstring||nfunction||nregexp||v.isWindow(e)?f.call(r,e):v.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(c)return c.call(t,e,n);rt.length,nn?n0?Math.max(0,r+n):n:0;for(;nr;n++)if(n in t&&tne)return n}return-1},merge:function(e,n){var rn.length,ie.length,s0;if(typeof rnumber)for(;sr;s++)ei++ns;else while(ns!t)ei++ns++;return e.lengthi,e},grep:function(e,t,n){var r,i,s0,oe.length;n!!n;for(;so;s++)r!!t(es,s),n!r&&i.push(es);return i},map:function(e,n,r){var i,s,o,u0,ae.length,fe instanceof v||a!t&&typeof anumber&&(a>0&&e0&&ea-1||a0||v.isArray(e));if(f)for(;ua;u++)in(eu,u,r),i!null&&(oo.lengthi);else for(s in e)in(es,s,r),i!null&&(oo.lengthi);return o.concat.apply(,o)},guid:1,proxy:function(e,n){var r,i,s;return typeof nstring&&(ren,ne,er),v.isFunction(e)?(il.call(arguments,2),sfunction(){return e.apply(n,i.concat(l.call(arguments)))},s.guide.guide.guid||v.guid++,s):t},access:function(e,n,r,i,s,o,u){var a,frnull,l0,ce.length;if(r&&typeof robject){for(l in r)v.access(e,n,l,rl,1,o,i);s1}else if(i!t){aut&&v.isFunction(i),f&&(a?(an,nfunction(e,t,n){return a.call(v(e),n)}):(n.call(e,i),nnull));if(n)for(;lc;l++)n(el,r,a?i.call(el,l,n(el,r)):i,u);s1}return s?e:f?n.call(e):c?n(e0,r):o},now:function(){return(new Date).getTime()}}),v.ready.promisefunction(t){if(!r){rv.Deferred();if(i.readyStatecomplete)setTimeout(v.ready,1);else if(i.addEventListener)i.addEventListener(DOMContentLoaded,A,!1),e.addEventListener(load,v.ready,!1);else{i.attachEvent(onreadystatechange,A),e.attachEvent(onload,v.ready);var n!1;try{ne.frameElementnull&&i.documentElement}catch(s){}n&&n.doScroll&&function o(){if(!v.isReady){try{n.doScroll(left)}catch(e){return setTimeout(o,50)}v.ready()}}()}}return r.promise(t)},v.each(Boolean Number String Function Array Date RegExp Object.split( ),function(e,t){Oobject +t+t.toLowerCase()}),nv(i);var M{};v.Callbacksfunction(e){etypeof estring?Me||_(e):v.extend({},e);var n,r,i,s,o,u,a,f!e.once&&,lfunction(t){ne.memory&&t,r!0,us||0,s0,oa.length,i!0;for(;a&&uo;u++)if(au.apply(t0,t1)!1&&e.stopOnFalse){n!1;break}i!1,a&&(f?f.length&&l(f.shift()):n?a:c.disable())},c{add:function(){if(a){var ta.length;(function r(t){v.each(t,function(t,n){var iv.type(n);ifunction?(!e.unique||!c.has(n))&&a.push(n):n&&n.length&&i!string&&r(n)})})(arguments),i?oa.length:n&&(st,l(n))}return this},remove:function(){return a&&v.each(arguments,function(e,t){var n;while((nv.inArray(t,a,n))>-1)a.splice(n,1),i&&(no&&o--,nu&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a,this},disable:function(){return afnt,this},disabled:function(){return!a},lock:function(){return ft,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return tt||,te,t.slice?t.slice():t,a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var tresolve,done,v.Callbacks(once memory),resolved,reject,fail,v.Callbacks(once memory),rejected,notify,progress,v.Callbacks(memory),npending,r{state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var earguments;return v.Deferred(function(n){v.each(t,function(t,r){var sr0,oet;ir1(v.isFunction(o)?function(){var eo.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):ns+With(thisi?n:this,e)}:ns)}),enull}).promise()},promise:function(e){return e!null?v.extend(e,r):r}},i{};return r.piper.then,v.each(t,function(e,s){var os2,us3;rs1o.add,u&&o.add(function(){nu},te^12.disable,t22.lock),is0o.fire,is0+Witho.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t0,nl.call(arguments),rn.length,ir!1||e&&v.isFunction(e.promise)?r:0,si1?e:v.Deferred(),ofunction(e,t,n){return function(r){tethis,nearguments.length>1?l.call(arguments):r,nu?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){unew Array(r),anew Array(r),fnew Array(r);for(;tr;t++)nt&&v.isFunction(nt.promise)?nt.promise().done(o(t,f,n)).fail(s.reject).progress(o(t,a,u)):--i}return i||s.resolveWith(f,n),s.promise()}}),v.supportfunction(){var t,n,r,s,o,u,a,f,l,c,h,pi.createElement(div);p.setAttribute(className,t),p.innerHTML link/>table>/table>a href/a>a/a>input typecheckbox/>,np.getElementsByTagName(*),rp.getElementsByTagName(a)0;if(!n||!r||!n.length)return{};si.createElement(select),os.appendChild(i.createElement(option)),up.getElementsByTagName(input)0,r.style.cssTexttop:1px;float:left;opacity:.5,t{leadingWhitespace:p.firstChild.nodeType3,tbody:!p.getElementsByTagName(tbody).length,htmlSerialize:!!p.getElementsByTagName(link).length,style:/top/.test(r.getAttribute(style)),hrefNormalized:r.getAttribute(href)/a,opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.valueon,optSelected:o.selected,getSetAttribute:p.className!t,enctype:!!i.createElement(form).enctype,html5Clone:i.createElement(nav).cloneNode(!0).outerHTML!:nav>/:nav>,boxModel:i.compatModeCSS1Compat,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked!0,t.noCloneCheckedu.cloneNode(!0).checked,s.disabled!0,t.optDisabled!o.disabled;try{delete p.test}catch(d){t.deleteExpando!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent(onclick,hfunction(){t.noCloneEvent!1}),p.cloneNode(!0).fireEvent(onclick),p.detachEvent(onclick,h)),ui.createElement(input),u.valuet,u.setAttribute(type,radio),t.radioValueu.valuet,u.setAttribute(checked,checked),u.setAttribute(name,t),p.appendChild(u),ai.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClonea.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendCheckedu.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})fon+l,cf in p,c||(p.setAttribute(f,return;),ctypeof pffunction),tl+Bubblesc;return v(function(){var n,r,s,o,upadding:0;margin:0;border:0;display:block;overflow:hidden;,ai.getElementsByTagName(body)0;if(!a)return;ni.createElement(div),n.style.cssTextvisibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px,a.insertBefore(n,a.firstChild),ri.createElement(div),n.appendChild(r),r.innerHTMLtable>tr>td>/td>td>t/td>/tr>/table>,sr.getElementsByTagName(td),s0.style.cssTextpadding:0;margin:0;border:0;display:none,cs0.offsetHeight0,s0.style.display,s1.style.displaynone,t.reliableHiddenOffsetsc&&s0.offsetHeight0,r.innerHTML,r.style.cssTextbox-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;,t.boxSizingr.offsetWidth4,t.doesNotIncludeMarginInBodyOffseta.offsetTop!1,e.getComputedStyle&&(t.pixelPosition(e.getComputedStyle(r,null)||{}).top!1%,t.boxSizingReliable(e.getComputedStyle(r,null)||{width:4px}).width4px,oi.createElement(div),o.style.cssTextr.style.cssTextu,o.style.marginRighto.style.width0,r.style.width1px,r.appendChild(o),t.reliableMarginRight!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!undefined&&(r.innerHTML,r.style.cssTextu+width:1px;padding:1px;display:inline;zoom:1,t.inlineBlockNeedsLayoutr.offsetWidth3,r.style.displayblock,r.style.overflowvisible,r.innerHTMLdiv>/div>,r.firstChild.style.width5px,t.shrinkWrapBlocksr.offsetWidth!3,n.style.zoom1),a.removeChild(n),nrsonull}),a.removeChild(p),nrsouapnull,t}();var D/(?:\{\s\S*\}|\\s\S*\)$/,P/(A-Z)/g;v.extend({cache:{},deletedIds:,uuid:0,expando:jQuery+(v.fn.jquery+Math.random()).replace(/\D/g,),noData:{embed:!0,object:clsid:D27CDB6E-AE6D-11cf-96B8-444553540000,applet:!0},hasData:function(e){return ee.nodeType?v.cacheev.expando:ev.expando,!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,uv.expando,atypeof nstring,fe.nodeType,lf?v.cache:e,cf?eu:eu&&u;if((!c||!lc||!i&&!lc.data)&&a&&rt)return;c||(f?eucv.deletedIds.pop()||v.guid++:cu),lc||(lc{},f||(lc.toJSONv.noop));if(typeof nobject||typeof nfunction)i?lcv.extend(lc,n):lc.datav.extend(lc.data,n);return slc,i||(s.data||(s.data{}),ss.data),r!t&&(sv.camelCase(n)r),a?(osn,onull&&(osv.camelCase(n))):os,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,oe.nodeType,uo?v.cache:e,ao?ev.expando:v.expando;if(!ua)return;if(t){rn?ua:ua.data;if(r){v.isArray(t)||(t in r?tt:(tv.camelCase(t),t in r?tt:tt.split( )));for(i0,st.length;is;i++)delete rti;if(!(n?B:v.isEmptyObject)(r))return}}if(!n){delete ua.data;if(!B(ua))return}o?v.cleanData(e,!0):v.support.deleteExpando||u!u.window?delete ua:uanull},_data:function(e,t,n){return v.data(e,t,n,!0)},acceptData:function(e){var te.nodeName&&v.noDatae.nodeName.toLowerCase();return!t||t!!0&&e.getAttribute(classid)t}}),v.fn.extend({data:function(e,n){var r,i,s,o,u,athis0,f0,lnull;if(et){if(this.length){lv.data(a);if(a.nodeType1&&!v._data(a,parsedAttrs)){sa.attributes;for(us.length;fu;f++)osf.name,o.indexOf(data-)||(ov.camelCase(o.substring(5)),H(a,o,lo));v._data(a,parsedAttrs,!0)}}return l}return typeof eobject?this.each(function(){v.data(this,e)}):(re.split(.,2),r1r1?.+r1:,ir1+!,v.access(this,function(n){if(nt)return lthis.triggerHandler(getData+i,r0),lt&&a&&(lv.data(a,e),lH(a,e,l)),lt&&r1?this.data(r0):l;r1n,this.each(function(){var tv(this);t.triggerHandler(setData+i,r),v.data(this,e,n),t.triggerHandler(changeData+i,r)})},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t(t||fx)+queue,rv._data(e,t),n&&(!r||v.isArray(n)?rv._data(e,t,v.makeArray(n)):r.push(n)),r||},dequeue:function(e,t){tt||fx;var nv.queue(e,t),rn.length,in.shift(),sv._queueHooks(e,t),ofunction(){v.dequeue(e,t)};iinprogress&&(in.shift(),r--),i&&(tfx&&n.unshift(inprogress),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var nt+queueHooks;return v._data(e,n)||v._data(e,n,{empty:v.Callbacks(once memory).add(function(){v.removeData(e,t+queue,!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r2;return typeof e!string&&(ne,efx,r--),arguments.lengthr?v.queue(this0,e):nt?this:this.each(function(){var tv.queue(this,e,n);v._queueHooks(this,e),efx&&t0!inprogress&&v.dequeue(this,e)})},dequeue:function(e){return this.each(function(){v.dequeue(this,e)})},delay:function(e,t){return ev.fx?v.fx.speedse||e:e,tt||fx,this.queue(t,function(t,n){var rsetTimeout(t,e);n.stopfunction(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||fx,)},promise:function(e,n){var r,i1,sv.Deferred(),othis,uthis.length,afunction(){--i||s.resolveWith(o,o)};typeof e!string&&(ne,et),ee||fx;while(u--)rv._data(ou,e+queueHooks),r&&r.empty&&(i++,r.empty.add(a));return a(),s.promise(n)}});var j,F,I,q/\t\r\n/g,R/\r/g,U/^(?:button|input)$/i,z/^(?:button|input|object|select|textarea)$/i,W/^a(?:rea|)$/i,X/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Vv.support.getSetAttribute;v.fn.extend({attr:function(e,t){return v.access(this,v.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return ev.propFixe||e,this.each(function(){try{thiset,delete thise}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof estring){te.split(y);for(n0,rthis.length;nr;n++){ithisn;if(i.nodeType1)if(!i.className&&t.length1)i.classNamee;else{s +i.className+ ;for(o0,ut.length;ou;o++)s.indexOf( +to+ )0&&(s+to+ );i.classNamev.trim(s)}}}return this},removeClass:function(e){var n,r,i,s,o,u,a;if(v.isFunction(e))return this.each(function(t){v(this).removeClass(e.call(this,t,this.className))});if(e&&typeof estring||et){n(e||).split(y);for(u0,athis.length;ua;u++){ithisu;if(i.nodeType1&&i.className){r( +i.className+ ).replace(q, );for(s0,on.length;so;s++)while(r.indexOf( +ns+ )>0)rr.replace( +ns+ , );i.classNamee?v.trim(r):}}}return this},toggleClass:function(e,t){var ntypeof e,rtypeof tboolean;return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(nstring){var i,s0,ov(this),ut,ae.split(y);while(ias++)ur?u:!o.hasClass(i),ou?addClass:removeClass(i)}else if(nundefined||nboolean)this.className&&v._data(this,__className__,this.className),this.classNamethis.className||e!1?:v._data(this,__className__)||})},hasClass:function(e){var t +e+ ,n0,rthis.length;for(;nr;n++)if(thisn.nodeType1&&( +thisn.className+ ).replace(q, ).indexOf(t)>0)return!0;return!1},val:function(e){var n,r,i,sthis0;if(!arguments.length){if(s)return nv.valHookss.type||v.valHookss.nodeName.toLowerCase(),n&&getin n&&(rn.get(s,value))!t?r:(rs.value,typeof rstring?r.replace(R,):rnull?:r);return}return iv.isFunction(e),this.each(function(r){var s,ov(this);if(this.nodeType!1)return;i?se.call(this,r,o.val()):se,snull?s:typeof snumber?s+:v.isArray(s)&&(sv.map(s,function(e){return enull?:e+})),nv.valHooksthis.type||v.valHooksthis.nodeName.toLowerCase();if(!n||!(setin n)||n.set(this,s,value)t)this.values})}}),v.extend({valHooks:{option:{get:function(e){var te.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,re.options,ie.selectedIndex,se.typeselect-one||i0,os?null:,us?i+1:r.length,ai0?u:s?i:0;for(;au;a++){nra;if((n.selected||ai)&&(v.support.optDisabled?!n.disabled:n.getAttribute(disabled)null)&&(!n.parentNode.disabled||!v.nodeName(n.parentNode,optgroup))){tv(n).val();if(s)return t;o.push(t)}}return o},set:function(e,t){var nv.makeArray(t);return v(e).find(option).each(function(){this.selectedv.inArray(v(this).val(),n)>0}),n.length||(e.selectedIndex-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,ae.nodeType;if(!e||a3||a8||a2)return;if(i&&v.isFunction(v.fnn))return v(e)n(r);if(typeof e.getAttributeundefined)return v.prop(e,n,r);ua!1||!v.isXMLDoc(e),u&&(nn.toLowerCase(),ov.attrHooksn||(X.test(n)?F:j));if(r!t){if(rnull){v.removeAttr(e,n);return}return o&&setin o&&u&&(so.set(e,r,n))!t?s:(e.setAttribute(n,r+),r)}return o&&getin o&&u&&(so.get(e,n))!null?s:(se.getAttribute(n),snull?t:s)},removeAttr:function(e,t){var n,r,i,s,o0;if(t&&e.nodeType1){rt.split(y);for(;or.length;o++)iro,i&&(nv.propFixi||i,sX.test(i),s||v.attr(e,i,),e.removeAttribute(V?i:n),s&&n in e&&(en!1))}},attrHooks:{type:{set:function(e,t){if(U.test(e.nodeName)&&e.parentNode)v.error(type property cant be changed);else if(!v.support.radioValue&&tradio&&v.nodeName(e,input)){var ne.value;return e.setAttribute(type,t),n&&(e.valuen),t}}},value:{get:function(e,t){return j&&v.nodeName(e,button)?j.get(e,t):t in e?e.value:null},set:function(e,t,n){if(j&&v.nodeName(e,button))return j.set(e,t,n);e.valuet}}},propFix:{tabindex:tabIndex,readonly:readOnly,for:htmlFor,class:className,maxlength:maxLength,cellspacing:cellSpacing,cellpadding:cellPadding,rowspan:rowSpan,colspan:colSpan,usemap:useMap,frameborder:frameBorder,contenteditable:contentEditable},prop:function(e,n,r){var i,s,o,ue.nodeType;if(!e||u3||u8||u2)return;return ou!1||!v.isXMLDoc(e),o&&(nv.propFixn||n,sv.propHooksn),r!t?s&&setin s&&(is.set(e,r,n))!t?i:enr:s&&getin s&&(is.get(e,n))!null?i:en},propHooks:{tabIndex:{get:function(e){var ne.getAttributeNode(tabindex);return n&&n.specified?parseInt(n.value,10):z.test(e.nodeName)||W.test(e.nodeName)&&e.href?0:t}}}}),F{get:function(e,n){var r,iv.prop(e,n);return i!0||typeof i!boolean&&(re.getAttributeNode(n))&&r.nodeValue!!1?n.toLowerCase():t},set:function(e,t,n){var r;return t!1?v.removeAttr(e,n):(rv.propFixn||n,r in e&&(er!0),e.setAttribute(n,n.toLowerCase())),n}},V||(I{name:!0,id:!0,coords:!0},jv.valHooks.button{get:function(e,n){var r;return re.getAttributeNode(n),r&&(In?r.value!:r.specified)?r.value:t},set:function(e,t,n){var re.getAttributeNode(n);return r||(ri.createAttribute(n),e.setAttributeNode(r)),r.valuet+}},v.each(width,height,function(e,t){v.attrHookstv.extend(v.attrHookst,{set:function(e,n){if(n)return e.setAttribute(t,auto),n}})}),v.attrHooks.contenteditable{get:j.get,set:function(e,t,n){t&&(tfalse),j.set(e,t,n)}}),v.support.hrefNormalized||v.each(href,src,width,height,function(e,n){v.attrHooksnv.extend(v.attrHooksn,{get:function(e){var re.getAttribute(n,2);return rnull?t:r}})}),v.support.style||(v.attrHooks.style{get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssTextt+}}),v.support.optSelected||(v.propHooks.selectedv.extend(v.propHooks.selected,{get:function(e){var te.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),v.support.enctype||(v.propFix.enctypeencoding),v.support.checkOn||v.each(radio,checkbox,function(){v.valHooksthis{get:function(e){return e.getAttribute(value)null?on:e.value}}}),v.each(radio,checkbox,function(){v.valHooksthisv.extend(v.valHooksthis,{set:function(e,t){if(v.isArray(t))return e.checkedv.inArray(v(e).val(),t)>0}})});var $/^(?:textarea|input|select)$/i,J/^(^\.*|)(?:\.(.+)|)$/,K/(?:^|\s)hover(\.\S+|)\b/,Q/^key/,G/^(?:mouse|contextmenu)|click/,Y/^(?:focusinfocus|focusoutblur)$/,Zfunction(e){return v.event.special.hover?e:e.replace(K,mouseenter$1 mouseleave$1)};v.event{add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType3||e.nodeType8||!n||!r||!(ov._data(e)))return;r.handler&&(dr,rd.handler,sd.selector),r.guid||(r.guidv.guid++),ao.events,a||(o.eventsa{}),uo.handle,u||(o.handleufunction(e){return typeof vundefined||!!e&&v.event.triggerede.type?t:v.event.dispatch.apply(u.elem,arguments)},u.eleme),nv.trim(Z(n)).split( );for(f0;fn.length;f++){lJ.exec(nf)||,cl1,h(l2||).split(.).sort(),gv.event.specialc||{},c(s?g.delegateType:g.bindType)||c,gv.event.specialc||{},pv.extend({type:c,origType:l1,data:i,handler:r,guid:r.guid,selector:s,needsContext:s&&v.expr.match.needsContext.test(s),namespace:h.join(.)},d),mac;if(!m){mac,m.delegateCount0;if(!g.setup||g.setup.call(e,i,h,u)!1)e.addEventListener?e.addEventListener(c,u,!1):e.attachEvent&&e.attachEvent(on+c,u)}g.add&&(g.add.call(e,p),p.handler.guid||(p.handler.guidr.guid)),s?m.splice(m.delegateCount++,0,p):m.push(p),v.event.globalc!0}enull},global:{},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,h,p,d,m,gv.hasData(e)&&v._data(e);if(!g||!(hg.events))return;tv.trim(Z(t||)).split( );for(s0;st.length;s++){oJ.exec(ts)||,uao1,fo2;if(!u){for(u in h)v.event.remove(e,u+ts,n,r,!0);continue}pv.event.specialu||{},u(r?p.delegateType:p.bindType)||u,dhu||,ld.length,ff?new RegExp((^|\\.)+f.split(.).sort().join(\\.(?:.*\\.|))+(\\.|$)):null;for(c0;cd.length;c++)mdc,(i||am.origType)&&(!n||n.guidm.guid)&&(!f||f.test(m.namespace))&&(!r||rm.selector||r**&&m.selector)&&(d.splice(c--,1),m.selector&&d.delegateCount--,p.remove&&p.remove.call(e,m));d.length0&&l!d.length&&((!p.teardown||p.teardown.call(e,f,g.handle)!1)&&v.removeEvent(e,u,g.handle),delete hu)}v.isEmptyObject(h)&&(delete g.handle,v.removeData(e,events,!0))},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,s,o){if(!s||s.nodeType!3&&s.nodeType!8){var u,a,f,l,c,h,p,d,m,g,yn.type||n,b;if(Y.test(y+v.event.triggered))return;y.indexOf(!)>0&&(yy.slice(0,-1),a!0),y.indexOf(.)>0&&(by.split(.),yb.shift(),b.sort());if((!s||v.event.customEventy)&&!v.event.globaly)return;ntypeof nobject?nv.expando?n:new v.Event(y,n):new v.Event(y),n.typey,n.isTrigger!0,n.exclusivea,n.namespaceb.join(.),n.namespace_ren.namespace?new RegExp((^|\\.)+b.join(\\.(?:.*\\.|))+(\\.|$)):null,hy.indexOf(:)0?on+y:;if(!s){uv.cache;for(f in u)uf.events&&uf.eventsy&&v.event.trigger(n,r,uf.handle.elem,!0);return}n.resultt,n.target||(n.targets),rr!null?v.makeArray(r):,r.unshift(n),pv.event.specialy||{};if(p.trigger&&p.trigger.apply(s,r)!1)return;ms,p.bindType||y;if(!o&&!p.noBubble&&!v.isWindow(s)){gp.delegateType||y,lY.test(g+y)?s:s.parentNode;for(cs;l;ll.parentNode)m.push(l,g),cl;c(s.ownerDocument||i)&&m.push(c.defaultView||c.parentWindow||e,g)}for(f0;fm.length&&!n.isPropagationStopped();f++)lmf0,n.typemf1,d(v._data(l,events)||{})n.type&&v._data(l,handle),d&&d.apply(l,r),dh&&lh,d&&v.acceptData(l)&&d.apply&&d.apply(l,r)!1&&n.preventDefault();return n.typey,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(s.ownerDocument,r)!1)&&(y!click||!v.nodeName(s,a))&&v.acceptData(s)&&h&&sy&&(y!focus&&y!blur||n.target.offsetWidth!0)&&!v.isWindow(s)&&(csh,c&&(shnull),v.event.triggeredy,sy(),v.event.triggeredt,c&&(shc)),n.result}return},dispatch:function(n){nv.event.fix(n||e.event);var r,i,s,o,u,a,f,c,h,p,d(v._data(this,events)||{})n.type||,md.delegateCount,gl.call(arguments),y!n.exclusive&&!n.namespace,bv.event.specialn.type||{},w;g0n,n.delegateTargetthis;if(b.preDispatch&&b.preDispatch.call(this,n)!1)return;if(m&&(!n.button||n.type!click))for(sn.target;s!this;ss.parentNode||this)if(s.disabled!!0||n.type!click){u{},f;for(r0;rm;r++)cdr,hc.selector,uht&&(uhc.needsContext?v(h,this).index(s)>0:v.find(h,this,null,s).length),uh&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r0;rw.length&&!n.isPropagationStopped();r++){awr,n.currentTargeta.elem;for(i0;ia.matches.length&&!n.isImmediatePropagationStopped();i++){ca.matchesi;if(y||!n.namespace&&!c.namespace||n.namespace_re&&n.namespace_re.test(c.namespace))n.datac.data,n.handleObjc,o((v.event.specialc.origType||{}).handle||c.handler).apply(a.elem,g),o!t&&(n.resulto,o!1&&(n.preventDefault(),n.stopPropagation()))}}return b.postDispatch&&b.postDispatch.call(this,n),n.result},props:attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which.split( ),fixHooks:{},keyHooks:{props:char charCode key keyCode.split( ),filter:function(e,t){return e.whichnull&&(e.whicht.charCode!null?t.charCode:t.keyCode),e}},mouseHooks:{props:button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement.split( ),filter:function(e,n){var r,s,o,un.button,an.fromElement;return e.pageXnull&&n.clientX!null&&(re.target.ownerDocument||i,sr.documentElement,or.body,e.pageXn.clientX+(s&&s.scrollLeft||o&&o.scrollLeft||0)-(s&&s.clientLeft||o&&o.clientLeft||0),e.pageYn.clientY+(s&&s.scrollTop||o&&o.scrollTop||0)-(s&&s.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTargetae.target?n.toElement:a),!e.which&&u!t&&(e.whichu&1?1:u&2?3:u&4?2:0),e}},fix:function(e){if(ev.expando)return e;var t,n,re,sv.event.fixHookse.type||{},os.props?this.props.concat(s.props):this.props;ev.Event(r);for(to.length;t;)no--t,enrn;return e.target||(e.targetr.srcElement||i),e.target.nodeType3&&(e.targete.target.parentNode),e.metaKey!!e.metaKey,s.filter?s.filter(e,r):e},special:{load:{noBubble:!0},focus:{delegateType:focusin},blur:{delegateType:focusout},beforeunload:{setup:function(e,t,n){v.isWindow(this)&&(this.onbeforeunloadn)},teardown:function(e,t){this.onbeforeunloadt&&(this.onbeforeunloadnull)}}},simulate:function(e,t,n,r){var iv.extend(new v.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?v.event.trigger(i,null,t):v.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},v.event.handlev.event.dispatch,v.removeEventi.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var ron+t;e.detachEvent&&(typeof erundefined&&(ernull),e.detachEvent(r,n))},v.Eventfunction(e,t){if(!(this instanceof v.Event))return new v.Event(e,t);e&&e.type?(this.originalEvente,this.typee.type,this.isDefaultPreventede.defaultPrevented||e.returnValue!1||e.getPreventDefault&&e.getPreventDefault()?tt:et):this.typee,t&&v.extend(this,t),this.timeStampe&&e.timeStamp||v.now(),thisv.expando!0},v.Event.prototype{preventDefault:function(){this.isDefaultPreventedtt;var ethis.originalEvent;if(!e)return;e.preventDefault?e.preventDefault():e.returnValue!1},stopPropagation:function(){this.isPropagationStoppedtt;var ethis.originalEvent;if(!e)return;e.stopPropagation&&e.stopPropagation(),e.cancelBubble!0},stopImmediatePropagation:function(){this.isImmediatePropagationStoppedtt,this.stopPropagation()},isDefaultPrevented:et,isPropagationStopped:et,isImmediatePropagationStopped:et},v.each({mouseenter:mouseover,mouseleave:mouseout},function(e,t){v.event.speciale{delegateType:t,bindType:t,handle:function(e){var n,rthis,ie.relatedTarget,se.handleObj,os.selector;if(!i||i!r&&!v.contains(r,i))e.types.origType,ns.handler.apply(this,arguments),e.typet;return n}}}),v.support.submitBubbles||(v.event.special.submit{setup:function(){if(v.nodeName(this,form))return!1;v.event.add(this,click._submit keypress._submit,function(e){var ne.target,rv.nodeName(n,input)||v.nodeName(n,button)?n.form:t;r&&!v._data(r,_submit_attached)&&(v.event.add(r,submit._submit,function(e){e._submit_bubble!0}),v._data(r,_submit_attached,!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&v.event.simulate(submit,this.parentNode,e,!0))},teardown:function(){if(v.nodeName(this,form))return!1;v.event.remove(this,._submit)}}),v.support.changeBubbles||(v.event.special.change{setup:function(){if($.test(this.nodeName)){if(this.typecheckbox||this.typeradio)v.event.add(this,propertychange._change,function(e){e.originalEvent.propertyNamechecked&&(this._just_changed!0)}),v.event.add(this,click._change,function(e){this._just_changed&&!e.isTrigger&&(this._just_changed!1),v.event.simulate(change,this,e,!0)});return!1}v.event.add(this,beforeactivate._change,function(e){var te.target;$.test(t.nodeName)&&!v._data(t,_change_attached)&&(v.event.add(t,change._change,function(e){this.parentNode&&!e.isSimulated&&!e.isTrigger&&v.event.simulate(change,this.parentNode,e,!0)}),v._data(t,_change_attached,!0))})},handle:function(e){var te.target;if(this!t||e.isSimulated||e.isTrigger||t.type!radio&&t.type!checkbox)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return v.event.remove(this,._change),!$.test(this.nodeName)}}),v.support.focusinBubbles||v.each({focus:focusin,blur:focusout},function(e,t){var n0,rfunction(e){v.event.simulate(t,e.target,v.event.fix(e),!0)};v.event.specialt{setup:function(){n++0&&i.addEventListener(e,r,!0)},teardown:function(){--n0&&i.removeEventListener(e,r,!0)}}}),v.fn.extend({on:function(e,n,r,i,s){var o,u;if(typeof eobject){typeof n!string&&(rr||n,nt);for(u in e)this.on(u,n,r,eu,s);return this}rnull&&inull?(in,rnt):inull&&(typeof nstring?(ir,rt):(ir,rn,nt));if(i!1)iet;else if(!i)return this;return s1&&(oi,ifunction(e){return v().off(e),o.apply(this,arguments)},i.guido.guid||(o.guidv.guid++)),this.each(function(){v.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,s;if(e&&e.preventDefault&&e.handleObj)return ie.handleObj,v(e.delegateTarget).off(i.namespace?i.origType+.+i.namespace:i.origType,i.selector,i.handler),this;if(typeof eobject){for(s in e)this.off(s,n,es);return this}if(n!1||typeof nfunction)rn,nt;return r!1&&(ret),this.each(function(){v.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return v(this.context).on(e,this.selector,t,n),this},die:function(e,t){return v(this.context).off(e,this.selector||**,t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length1?this.off(e,**):this.off(t,e||**,n)},trigger:function(e,t){return this.each(function(){v.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this0)return v.event.trigger(e,t,this0,!0)},toggle:function(e){var targuments,ne.guid||v.guid++,r0,ifunction(n){var i(v._data(this,lastToggle+e.guid)||0)%r;return v._data(this,lastToggle+e.guid,i+1),n.preventDefault(),ti.apply(this,arguments)||!1};i.guidn;while(rt.length)tr++.guidn;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),v.each(blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu.split( ),function(e,t){v.fntfunction(e,n){return nnull&&(ne,enull),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHookstv.event.keyHooks),G.test(t)&&(v.event.fixHookstv.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){nn||,tt||g;var i,s,a,f,lt.nodeType;if(!e||typeof e!string)return n;if(l!1&&l!9)return;ao(t);if(!a&&!r)if(iR.exec(e))if(fi1){if(l9){st.getElementById(f);if(!s||!s.parentNode)return n;if(s.idf)return n.push(s),n}else if(t.ownerDocument&&(st.ownerDocument.getElementById(f))&&u(t,s)&&s.idf)return n.push(s),n}else{if(i2)return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((fi3)&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,$1),t,n,r,a)}function rt(e){return function(t){var nt.nodeName.toLowerCase();return ninput&&t.typee}}function it(e){return function(t){var nt.nodeName.toLowerCase();return(ninput||nbutton)&&t.typee}}function st(e){return N(function(t){return t+t,N(function(n,r){var i,se(,n.length,t),os.length;while(o--)niso&&(ni!(rini))})})}function ot(e,t,n){if(et)return n;var re.nextSibling;while(r){if(rt)return-1;rr.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,lLde+ ;if(l)return t?0:l.slice(0);ue,a,fi.preFilter;while(u){if(!n||(rF.exec(u)))r&&(uu.slice(r0.length)||u),a.push(s);n!1;if(rI.exec(u))s.push(nnew m(r.shift())),uu.slice(n.length),n.typer0.replace(j, );for(o in i.filter)(rJo.exec(u))&&(!fo||(rfo(r)))&&(s.push(nnew m(r.shift())),uu.slice(n.length),n.typeo,n.matchesr);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var it.dir,sr&&t.dirparentNode,ow++;return t.first?function(t,n,r){while(tti)if(s||t.nodeType1)return e(t,n,r)}:function(t,r,u){if(!u){var a,fb+ +o+ ,lf+n;while(tti)if(s||t.nodeType1){if((atd)l)return t.sizset;if(typeof astring&&a.indexOf(f)0){if(t.sizset)return t}else{tdl;if(e(t,r,u))return t.sizset!0,t;t.sizset!1}}}else while(tti)if(s||t.nodeType1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var ie.length;while(i--)if(!ei(t,n,r))return!1;return!0}:e0}function lt(e,t,n,r,i){var s,o,u0,ae.length,ft!null;for(;ua;u++)if(seu)if(!n||n(s,r,i))o.push(s),f&&t.push(u);return o}function ct(e,t,n,r,i,s){return r&&!rd&&(rct(r)),i&&!id&&(ict(i,s)),N(function(s,o,u,a){var f,l,c,h,p,do.length,vs||dt(t||*,u.nodeType?u:u,),me&&(s||!t)?lt(v,h,e,u,a):v,gn?i||(s?e:d||r)?:o:m;n&&n(m,g,u,a);if(r){flt(g,p),r(f,,u,a),lf.length;while(l--)if(cfl)gpl!(mplc)}if(s){if(i||e){if(i){f,lg.length;while(l--)(cgl)&&f.push(mlc);i(null,g,f,a)}lg.length;while(l--)(cgl)&&(fi?T.call(s,c):hl)>-1&&(sf!(ofc))}}else glt(go?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,se.length,oi.relativee0.type,uo||i.relative ,ao?1:0,fat(function(e){return et},u,!0),lat(function(e){return T.call(t,e)>-1},u,!0),hfunction(e,n,r){return!o&&(r||n!c)||((tn).nodeType?f(e,n,r):l(e,n,r))};for(;as;a++)if(ni.relativeea.type)hat(ft(h),n);else{ni.filterea.type.apply(null,ea.matches);if(nd){r++a;for(;rs;r++)if(i.relativeer.type)break;return ct(a>1&&ft(h),a>1&&e.slice(0,a-1).join().replace(j,$1),n,ar&&ht(e.slice(a,r)),rs&&ht(ee.slice(r)),rs&&e.join())}h.push(n)}return ft(h)}function pt(e,t){var rt.length>0,se.length>0,ofunction(u,a,f,l,h){var p,d,v,m,y0,w0,xu&&,Th!null,Nc,Cu||s&&i.find.TAG(*,h&&a.parentNode||a),kb+Nnull?1:Math.E;T&&(ca!g&&a,no.el);for(;(pCw)!null;w++){if(s&&p){for(d0;ved;d++)if(v(p,a,f)){l.push(p);break}T&&(bk,n++o.el)}r&&((p!v&&p)&&y--,u&&x.push(p))}y+w;if(r&&w!y){for(d0;vtd;d++)v(x,m,a,f);if(u){if(y>0)while(w--)!xw&&!mw&&(mwE.call(l));mlt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(bk,cN),x};return o.el0,r?N(o):o}function dt(e,t,n){var r0,it.length;for(;ri;r++)nt(e,tr,n);return n}function vt(e,t,n,r,s){var o,u,f,l,c,hut(e),ph.length;if(!r&&h.length1){uh0h0.slice(0);if(u.length>2&&(fu0).typeID&&t.nodeType9&&!s&&i.relativeu1.type){ti.find.ID(f.matches0.replace($,),t,s)0;if(!t)return n;ee.slice(u.shift().length)}for(oJ.POS.test(e)?-1:u.length-1;o>0;o--){fuo;if(i.relativelf.type)break;if(ci.findl)if(rc(f.matches0.replace($,),z.test(u0.type)&&t.parentNode||t,s)){u.splice(o,1),er.length&&u.join();if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h!0,pundefined,d(sizcache+Math.random()).replace(.,),mString,ge.document,yg.documentElement,b0,w0,E.pop,S.push,x.slice,T.indexOf||function(e){var t0,nthis.length;for(;tn;t++)if(thiste)return t;return-1},Nfunction(e,t){return edtnull||t,e},Cfunction(){var e{},t;return N(function(n,r){return t.push(n)>i.cacheLength&&delete et.shift(),en+ r},e)},kC(),LC(),AC(),O\\x20\\t\\r\\n\\f,M(?:\\\\.|-\\w|^\\x00-\\xa0)+,_M.replace(w,w#),D(*^$|!~?),P\\+O+*(+M+)+O+*(?:+D+O+*(?:(\)((?:\\\\.|^\\\\)*?)\\3|(+_+)|)|)+O+*\\,H:(+M+)(?:\\((?:(\)((?:\\\\.|^\\\\)*?)\\2|(^()\\*|(?:(?:+P+)|^:|\\\\.)*|.*))\\)|),B:(even|odd|eq|gt|lt|nth|first|last)(?:\\(+O+*((?:-\\d)?\\d*)+O+*\\)|)(?^-|$),jnew RegExp(^+O++|((?:^|^\\\\)(?:\\\\.)*)+O++$,g),Fnew RegExp(^+O+*,+O+*),Inew RegExp(^+O+*(\\x20\\t\\r\\n\\f>+~)+O+*),qnew RegExp(H),R/^(?:#(\w\-+)|(\w+)|\.(\w\-+))$/,U/^:not/,z/\x20\t\r\n\f*+~/,W/:not\($/,X/h\d/i,V/input|select|textarea|button/i,$/\\(?!\\)/g,J{ID:new RegExp(^#(+M+)),CLASS:new RegExp(^\\.(+M+)),NAME:new RegExp(^\\name\?(+M+)\?\\),TAG:new RegExp(^(+M.replace(w,w*)+)),ATTR:new RegExp(^+P),PSEUDO:new RegExp(^+H),POS:new RegExp(B,i),CHILD:new RegExp(^:(only|nth|first|last)-child(?:\\(+O+*(even|odd|((+-|)(\\d*)n|)+O+*(?:(+-|)+O+*(\\d+)|))+O+*\\)|),i),needsContext:new RegExp(^+O+*>+~|+B,i)},Kfunction(e){var tg.createElement(div);try{return e(t)}catch(n){return!1}finally{tnull}},QK(function(e){return e.appendChild(g.createComment()),!e.getElementsByTagName(*).length}),GK(function(e){return e.innerHTMLa href#>/a>,e.firstChild&&typeof e.firstChild.getAttribute!p&&e.firstChild.getAttribute(href)#}),YK(function(e){e.innerHTMLselect>/select>;var ttypeof e.lastChild.getAttribute(multiple);return t!boolean&&t!string}),ZK(function(e){return e.innerHTMLdiv classhidden e>/div>div classhidden>/div>,!e.getElementsByClassName||!e.getElementsByClassName(e).length?!1:(e.lastChild.classNamee,e.getElementsByClassName(e).length2)}),etK(function(e){e.idd+0,e.innerHTMLa name+d+>/a>div name+d+>/div>,y.insertBefore(e,y.firstChild);var tg.getElementsByName&&g.getElementsByName(d).length2+g.getElementsByName(d+0).length;return r!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)0.nodeType}catch(tt){xfunction(e){var t,n;for(;tthise;e++)n.push(t);return n}}nt.matchesfunction(e,t){return nt(e,null,null,t)},nt.matchesSelectorfunction(e,t){return nt(t,null,null,e).length>0},snt.getTextfunction(e){var t,n,r0,ie.nodeType;if(i){if(i1||i9||i11){if(typeof e.textContentstring)return e.textContent;for(ee.firstChild;e;ee.nextSibling)n+s(e)}else if(i3||i4)return e.nodeValue}else for(;ter;r++)n+s(t);return n},ont.isXMLfunction(e){var te&&(e.ownerDocument||e).documentElement;return t?t.nodeName!HTML:!1},unt.containsy.contains?function(e,t){var ne.nodeType9?e.documentElement:e,rt&&t.parentNode;return er||!!(r&&r.nodeType1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(tt.parentNode)if(te)return!0;return!1},nt.attrfunction(e,t){var n,ro(e);return r||(tt.toLowerCase()),(ni.attrHandlet)?n(e):r||Y?e.getAttribute(t):(ne.getAttributeNode(t),n?typeof etboolean?et?t:null:n.specified?n.value:null:null)},int.selectors{cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute(href,2)},type:function(e){return e.getAttribute(type)}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!p&&!n){var rt.getElementById(e);return r&&r.parentNode?r:}}:function(e,n,r){if(typeof n.getElementById!p&&!r){var in.getElementById(e);return i?i.ide||typeof i.getAttributeNode!p&&i.getAttributeNode(id).valuee?i:t:}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!p)return t.getElementsByTagName(e)}:function(e,t){var nt.getElementsByTagName(e);if(e*){var r,i,s0;for(;rns;s++)r.nodeType1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!p&&!n)return t.getElementsByClassName(e)}},relative:{>:{dir:parentNode,first:!0}, :{dir:parentNode},+:{dir:previousSibling,first:!0},~:{dir:previousSibling}},preFilter:{ATTR:function(e){return e1e1.replace($,),e3(e4||e5||).replace($,),e2~&&(e3 +e3+ ),e.slice(0,4)},CHILD:function(e){return e1e1.toLowerCase(),e1nth?(e2||nt.error(e0),e3+(e3?e4+(e5||1):2*(e2even||e2odd)),e4+(e6+e7||e2odd)):e2&&nt.error(e0),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e0))return null;if(e3)e2e3;else if(te4)q.test(t)&&(nut(t,!0))&&(nt.indexOf(),t.length-n)-t.length)&&(tt.slice(0,n),e0e0.slice(0,n)),e2t;return e.slice(0,3)}},filter:{ID:r?function(e){return ee.replace($,),function(t){return t.getAttribute(id)e}}:function(e){return ee.replace($,),function(t){var ntypeof t.getAttributeNode!p&&t.getAttributeNode(id);return n&&n.valuee}},TAG:function(e){return e*?function(){return!0}:(ee.replace($,).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()e})},CLASS:function(e){var tkde+ ;return t||(tnew RegExp((^|+O+)+e+(+O+|$)))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!p&&e.getAttribute(class)||)})},ATTR:function(e,t,n){return function(r,i){var snt.attr(r,e);return snull?t!:t?(s+,t?sn:t!?s!n:t^?n&&s.indexOf(n)0:t*?n&&s.indexOf(n)>-1:t$?n&&s.substr(s.length-n.length)n:t~?( +s+ ).indexOf(n)>-1:t|?sn||s.substr(0,n.length+1)n+-:!1):!0}},CHILD:function(e,t,n,r){return enth?function(e){var t,i,se.parentNode;if(n1&&r0)return!0;if(s){i0;for(ts.firstChild;t;tt.nextSibling)if(t.nodeType1){i++;if(et)break}}return i-r,in||i%n0&&i/n>0}:function(t){var nt;switch(e){caseonly:casefirst:while(nn.previousSibling)if(n.nodeType1)return!1;if(efirst)return!0;nt;caselast:while(nn.nextSibling)if(n.nodeType1)return!1;return!0}}},PSEUDO:function(e,t){var n,ri.pseudose||i.setFilterse.toLowerCase()||nt.error(unsupported pseudo: +e);return rd?r(t):r.length>1?(ne,e,,t,i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,sr(e,t),os.length;while(o--)iT.call(e,so),ei!(niso)}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t,n,ra(e.replace(j,$1));return rd?N(function(e,t,n,i){var s,or(e,null,i,),ue.length;while(u--)if(sou)eu!(tus)}):function(e,i,s){return t0e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled!1},disabled:function(e){return e.disabled!0},checked:function(e){var te.nodeName.toLowerCase();return tinput&&!!e.checked||toption&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;ee.firstChild;while(e){if(e.nodeName>@||(te.nodeType)3||t4)return!1;ee.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()input&&(te.type)text&&((ne.getAttribute(type))null||n.toLowerCase()t)},radio:rt(radio),checkbox:rt(checkbox),file:rt(file),password:rt(password),image:rt(image),submit:it(submit),reset:it(reset),button:function(e){var te.nodeName.toLowerCase();return tinput&&e.typebutton||tbutton},input:function(e){return V.test(e.nodeName)},focus:function(e){var te.ownerDocument;return et.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return ee.ownerDocument.activeElement},first:st(function(){return0}),last:st(function(e,t){returnt-1}),eq:st(function(e,t,n){returnn0?n+t:n}),even:st(function(e,t){for(var n0;nt;n+2)e.push(n);return e}),odd:st(function(e,t){for(var n1;nt;n+2)e.push(n);return e}),lt:st(function(e,t,n){for(var rn0?n+t:n;--r>0;)e.push(r);return e}),gt:st(function(e,t,n){for(var rn0?n+t:n;++rt;)e.push(r);return e})}},fy.compareDocumentPosition?function(e,t){return et?(l!0,0):(!e.compareDocumentPosition||!t.compareDocumentPosition?e.compareDocumentPosition:e.compareDocumentPosition(t)&4)?-1:1}:function(e,t){if(et)return l!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i,s,oe.parentNode,ut.parentNode,ao;if(ou)return ot(e,t);if(!o)return-1;if(!u)return 1;while(a)i.unshift(a),aa.parentNode;au;while(a)s.unshift(a),aa.parentNode;ni.length,rs.length;for(var f0;fn&&fr;f++)if(if!sf)return ot(if,sf);return fn?ot(e,sf,-1):ot(if,t,1)},0,0.sort(f),h!l,nt.uniqueSortfunction(e){var t,n,r1,i0;lh,e.sort(f);if(l){for(;ter;r++)ter-1&&(in.push(r));while(i--)e.splice(ni,1)}return e},nt.errorfunction(e){throw new Error(Syntax error, unrecognized expression: +e)},ant.compilefunction(e,t){var n,r,i,sAde+ ;if(!s){t||(tut(e)),nt.length;while(n--)sht(tn),sd?r.push(s):i.push(s);sA(e,pt(i,r))}return s},g.querySelectorAll&&function(){var e,tvt,n/|\\/g,r/\\x20\t\r\n\f*(^\*)\x20\t\r\n\f*\/g,i:focus,s:active,uy.matchesSelector||y.mozMatchesSelector||y.webkitMatchesSelector||y.oMatchesSelector||y.msMatchesSelector;K(function(e){e.innerHTMLselect>option selected>/option>/select>,e.querySelectorAll(selected).length||i.push(\\+O+*(?:checked|disabled|ismap|multiple|readonly|selected|value)),e.querySelectorAll(:checked).length||i.push(:checked)}),K(function(e){e.innerHTMLp test>/p>,e.querySelectorAll(test^).length&&i.push(*^$+O+*(?:\\|)),e.innerHTMLinput typehidden/>,e.querySelectorAll(:enabled).length||i.push(:enabled,:disabled)}),inew RegExp(i.join(|)),vtfunction(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l!0,cd,hr,pr.nodeType9&&e;if(r.nodeType1&&r.nodeName.toLowerCase()!object){aut(e),(lr.getAttribute(id))?cl.replace(n,\\$&):r.setAttribute(id,c),cid+c+ ,fa.length;while(f--)afc+af.join();hz.test(e)&&r.parentNode||r,pa.join(,)}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute(id)}}return t(e,r,s,o,u)},u&&(K(function(t){eu.call(t,div);try{u.call(t,test!:sizzle),s.push(!,H)}catch(n){}}),snew RegExp(s.join(|)),nt.matchesSelectorfunction(t,n){nn.replace(r,$1);if(!o(t)&&!s.test(n)&&!i.test(n))try{var au.call(t,n);if(a||e||t.document&&t.document.nodeType!11)return a}catch(f){}return nt(n,null,null,t).length>0})}(),i.pseudos.nthi.pseudos.eq,i.filtersmt.prototypei.pseudos,i.setFiltersnew mt,nt.attrv.attr,v.findnt,v.exprnt.selectors,v.expr:v.expr.pseudos,v.uniquent.uniqueSort,v.textnt.getText,v.isXMLDocnt.isXML,v.containsnt.contains}(e);var nt/Until$/,rt/^(?:parents|prev(?:Until|All))/,it/^.^:#\\.,*$/,stv.expr.match.needsContext,ot{children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,uthis;if(typeof e!string)return v(e).filter(function(){for(t0,nu.length;tn;t++)if(v.contains(ut,this))return!0});othis.pushStack(,find,e);for(t0,nthis.length;tn;t++){ro.length,v.find(e,thist,o);if(t>0)for(ir;io.length;i++)for(s0;sr;s++)if(osoi){o.splice(i--,1);break}}return o},has:function(e){var t,nv(e,this),rn.length;return this.filter(function(){for(t0;tr;t++)if(v.contains(this,nt))return!0})},not:function(e){return this.pushStack(ft(this,e,!1),not,e)},filter:function(e){return this.pushStack(ft(this,e,!0),filter,e)},is:function(e){return!!e&&(typeof estring?st.test(e)?v(e,this.context).index(this0)>0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r0,ithis.length,s,ost.test(e)||typeof e!string?v(e,t||this.context):0;for(;ri;r++){nthisr;while(n&&n.ownerDocument&&n!t&&n.nodeType!11){if(o?o.index(n)>-1:v.find.matchesSelector(n,e)){s.push(n);break}nn.parentNode}}return ss.length>1?v.unique(s):s,this.pushStack(s,closest,e)},index:function(e){return e?typeof estring?v.inArray(this0,v(e)):v.inArray(e.jquery?e0:e,this):this0&&this0.parentNode?this.prevAll().length:-1},add:function(e,t){var ntypeof estring?v(e,t):v.makeArray(e&&e.nodeType?e:e),rv.merge(this.get(),n);return this.pushStack(ut(n0)||ut(r0)?r:v.unique(r))},addBack:function(e){return this.add(enull?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelfv.fn.addBack,v.each({parent:function(e){var te.parentNode;return t&&t.nodeType!11?t:null},parents:function(e){return v.dir(e,parentNode)},parentsUntil:function(e,t,n){return v.dir(e,parentNode,n)},next:function(e){return at(e,nextSibling)},prev:function(e){return at(e,previousSibling)},nextAll:function(e){return v.dir(e,nextSibling)},prevAll:function(e){return v.dir(e,previousSibling)},nextUntil:function(e,t,n){return v.dir(e,nextSibling,n)},prevUntil:function(e,t,n){return v.dir(e,previousSibling,n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,iframe)?e.contentDocument||e.contentWindow.document:v.merge(,e.childNodes)}},function(e,t){v.fnefunction(n,r){var iv.map(this,t,n);return nt.test(e)||(rn),r&&typeof rstring&&(iv.filter(r,i)),ithis.length>1&&!ote?v.unique(i):i,this.length>1&&rt.test(e)&&(ii.reverse()),this.pushStack(i,e,l.call(arguments).join(,))}}),v.extend({filter:function(e,t,n){return n&&(e:not(+e+)),t.length1?v.find.matchesSelector(t0,e)?t0::v.find.matches(e,t)},dir:function(e,n,r){var i,sen;while(s&&s.nodeType!9&&(rt||s.nodeType!1||!v(s).is(r)))s.nodeType1&&i.push(s),ssn;return i},sibling:function(e,t){var n;for(;e;ee.nextSibling)e.nodeType1&&e!t&&n.push(e);return n}});var ctabbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video,ht/ jQuery\d+(?:null|\d+)/g,pt/^\s+/,dt/(?!area|br|col|embed|hr|img|input|link|meta|param)((\w:+)^>*)\/>/gi,vt/(\w:+)/,mt/tbody/i,gt/|?\w+;/,yt/(?:script|style|link)/i,bt/(?:script|object|embed|option|style)/i,wtnew RegExp((?:+ct+)\\s/>,i),Et/^(?:checkbox|radio)$/,St/checked\s*(?:^|\s*.checked.)/i,xt/\/(java|ecma)script/i,Tt/^\s*!(?:\CDATA\|\-\-)|\\-{2}>\s*$/g,Nt{option:1,select multiplemultiple>,/select>,legend:1,fieldset>,/fieldset>,thead:1,table>,/table>,tr:2,table>tbody>,/tbody>/table>,td:3,table>tbody>tr>,/tr>/tbody>/table>,col:2,table>tbody>/tbody>colgroup>,/colgroup>/table>,area:1,map>,/map>,_default:0,,},Ctlt(i),ktCt.appendChild(i.createElement(div));Nt.optgroupNt.option,Nt.tbodyNt.tfootNt.colgroupNt.captionNt.thead,Nt.thNt.td,v.support.htmlSerialize||(Nt._default1,Xdiv>,/div>),v.fn.extend({text:function(e){return v.access(this,function(e){return et?v.text(this):this.empty().append((this0&&this0.ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this0){var tv(e,this0.ownerDocument).eq(0).clone(!0);this0.parentNode&&t.insertBefore(this0),t.map(function(){var ethis;while(e.firstChild&&e.firstChild.nodeType1)ee.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var tv(this),nt.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var tv.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,body)||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType1||this.nodeType11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType1||this.nodeType11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this0))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var ev.clean(arguments);return this.pushStack(v.merge(e,this),before,this.selector)}},after:function(){if(!ut(this0))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var ev.clean(arguments);return this.pushStack(v.merge(this,e),after,this.selector)}},remove:function(e,t){var n,r0;for(;(nthisr)!null;r++)if(!e||v.filter(e,n).length)!t&&n.nodeType1&&(v.cleanData(n.getElementsByTagName(*)),v.cleanData(n)),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t0;for(;(ethist)!null;t++){e.nodeType1&&v.cleanData(e.getElementsByTagName(*));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return eenull?!1:e,ttnull?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var nthis0||{},r0,ithis.length;if(et)return n.nodeType1?n.innerHTML.replace(ht,):t;if(typeof estring&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt(vt.exec(e)||,)1.toLowerCase()){ee.replace(dt,$1>/$2>);try{for(;ri;r++)nthisr||{},n.nodeType1&&(v.cleanData(n.getElementsByTagName(*)),n.innerHTMLe);n0}catch(s){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return ut(this0)?this.length?this.pushStack(v(v.isFunction(e)?e():e),replaceWith,e):this:v.isFunction(e)?this.each(function(t){var nv(this),rn.html();n.replaceWith(e.call(this,t,r))}):(typeof e!string&&(ev(e).detach()),this.each(function(){var tthis.nextSibling,nthis.parentNode;v(this).remove(),t?v(t).before(e):v(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e.concat.apply(,e);var i,s,o,u,a0,fe0,l,cthis.length;if(!v.support.checkClone&&c>1&&typeof fstring&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var sv(this);e0f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this0){iv.buildFragment(e,this,l),oi.fragment,so.firstChild,o.childNodes.length1&&(os);if(s){nn&&v.nodeName(s,tr);for(ui.cacheable||c-1;ac;a++)r.call(n&&v.nodeName(thisa,table)?Lt(thisa,tbody):thisa,au?o:v.clone(o,!0,!0))}osnull,l.length&&v.each(l,function(e,t){t.src?v.ajax?v.ajax({url:t.src,type:GET,dataType:script,async:!1,global:!1,throws:!0}):v.error(no ajax):v.globalEval((t.text||t.textContent||t.innerHTML||).replace(Tt,)),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),v.buildFragmentfunction(e,n,r){var s,o,u,ae0;return nn||i,n!n.nodeType&&n0||n,nn.ownerDocument||n,e.length1&&typeof astring&&a.length512&&ni&&a.charAt(0)&&!bt.test(a)&&(v.support.checkClone||!St.test(a))&&(v.support.html5Clone||!wt.test(a))&&(o!0,sv.fragmentsa,us!t),s||(sn.createDocumentFragment(),v.clean(e,n,s,r),o&&(v.fragmentsau&&s)),{fragment:s,cacheable:o}},v.fragments{},v.each({appendTo:append,prependTo:prepend,insertBefore:before,insertAfter:after,replaceAll:replaceWith},function(e,t){v.fnefunction(n){var r,i0,s,ov(n),uo.length,athis.length1&&this0.parentNode;if((anull||a&&a.nodeType11&&a.childNodes.length1)&&u1)return ot(this0),this;for(;iu;i++)r(i>0?this.clone(!0):this).get(),v(oi)t(r),ss.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test(+e.nodeName+>)?oe.cloneNode(!0):(kt.innerHTMLe.outerHTML,kt.removeChild(okt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType1||e.nodeType11)&&!v.isXMLDoc(e)){Ot(e,o),rMt(e),iMt(o);for(s0;rs;++s)is&&Ot(rs,is)}if(t){At(e,o);if(n){rMt(e),iMt(o);for(s0;rs;++s)At(rs,is)}}return rinull,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,yti&&Ct,b;if(!t||typeof t.createDocumentFragmentundefined)ti;for(s0;(ues)!null;s++){typeof unumber&&(u+);if(!u)continue;if(typeof ustring)if(!gt.test(u))ut.createTextNode(u);else{yy||lt(t),ct.createElement(div),y.appendChild(c),uu.replace(dt,$1>/$2>),a(vt.exec(u)||,)1.toLowerCase(),fNta||Nt._default,lf0,c.innerHTMLf1+u+f2;while(l--)cc.lastChild;if(!v.support.tbody){hmt.test(u),patable&&!h?c.firstChild&&c.firstChild.childNodes:f1table>&&!h?c.childNodes:;for(op.length-1;o>0;--o)v.nodeName(po,tbody)&&!po.childNodes.length&&po.parentNode.removeChild(po)}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)0),c.firstChild),uc.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(ucynull);if(!v.support.appendChecked)for(s0;(ubs)!null;s++)v.nodeName(u,input)?_t(u):typeof u.getElementsByTagName!undefined&&v.grep(u.getElementsByTagName(input),_t);if(n){mfunction(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s0;(ubs)!null;s++)if(!v.nodeName(u,script)||!m(u))n.appendChild(u),typeof u.getElementsByTagName!undefined&&(gv.grep(v.merge(,u.getElementsByTagName(script)),m),b.splice.apply(b,s+1,0.concat(g)),s+g.length)}return b},cleanData:function(e,t){var n,r,i,s,o0,uv.expando,av.cache,fv.support.deleteExpando,lv.event.special;for(;(ieo)!null;o++)if(t||v.acceptData(i)){riu,nr&&ar;if(n){if(n.events)for(s in n.events)ls?v.event.remove(i,s):v.removeEvent(i,s,n.handle);ar&&(delete ar,f?delete iu:i.removeAttribute?i.removeAttribute(u):iunull,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatchfunction(e){ee.toLowerCase();var t/(chrome) \/(\w.+)/.exec(e)||/(webkit) \/(\w.+)/.exec(e)||/(opera)(?:.*version|) \/(\w.+)/.exec(e)||/(msie) (\w.+)/.exec(e)||e.indexOf(compatible)0&&/(mozilla)(?:.*? rv:(\w.+)|)/.exec(e)||;return{browser:t1||,version:t2||0}},ev.uaMatch(o.userAgent),t{},e.browser&&(te.browser!0,t.versione.version),t.chrome?t.webkit!0:t.webkit&&(t.safari!0),v.browsert,v.subfunction(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclassthis,e.fne.prototypethis(),e.fn.constructore,e.subthis.sub,e.fn.initfunction(r,i){return i&&i instanceof v&&!(i instanceof e)&&(ie(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototypee.fn;var te(i);return e}}();var Dt,Pt,Ht,Bt/alpha\(^)*\)/i,jt/opacity(^)*)/,Ft/^(top|right|bottom|left)$/,It/^(none|table(?!-cea).+)/,qt/^margin/,Rtnew RegExp(^(+m+)(.*)$,i),Utnew RegExp(^(+m+)(?!px)a-z%+$,i),ztnew RegExp(^(-+)(+m+),i),Wt{BODY:block},Xt{position:absolute,visibility:hidden,display:block},Vt{letterSpacing:0,fontWeight:400},$tTop,Right,Bottom,Left,JtWebkit,O,Moz,ms,Ktv.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var ntypeof eboolean;return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var nDt(e,opacity);return n?1:n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:v.support.cssFloat?cssFloat:styleFloat},style:function(e,n,r,i){if(!e||e.nodeType3||e.nodeType8||!e.style)return;var s,o,u,av.camelCase(n),fe.style;nv.cssPropsa||(v.cssPropsaQt(f,a)),uv.cssHooksn||v.cssHooksa;if(rt)return u&&getin u&&(su.get(e,!1,i))!t?s:fn;otypeof r,ostring&&(szt.exec(r))&&(r(s1+1)*s2+parseFloat(v.css(e,n)),onumber);if(rnull||onumber&&isNaN(r))return;onumber&&!v.cssNumbera&&(r+px);if(!u||!(setin u)||(ru.set(e,r,i))!t)try{fnr}catch(l){}},css:function(e,n,r,i){var s,o,u,av.camelCase(n);return nv.cssPropsa||(v.cssPropsaQt(e.style,a)),uv.cssHooksn||v.cssHooksa,u&&getin u&&(su.get(e,!0,i)),st&&(sDt(e,n)),snormal&&n in Vt&&(sVtn),r||i!t?(oparseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s{};for(i in t)sie.stylei,e.styleiti;rn.call(e);for(i in t)e.styleisi;return r}}),e.getComputedStyle?Dtfunction(t,n){var r,i,s,o,ue.getComputedStyle(t,null),at.style;return u&&(ru.getPropertyValue(n)||un,r&&!v.contains(t.ownerDocument,t)&&(rv.style(t,n)),Ut.test(r)&&qt.test(n)&&(ia.width,sa.minWidth,oa.maxWidth,a.minWidtha.maxWidtha.widthr,ru.width,a.widthi,a.minWidths,a.maxWidtho)),r}:i.documentElement.currentStyle&&(Dtfunction(e,t){var n,r,ie.currentStyle&&e.currentStylet,se.style;return inull&&s&&st&&(ist),Ut.test(i)&&!Ft.test(t)&&(ns.left,re.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.lefte.currentStyle.left),s.lefttfontSize?1em:i,is.pixelLeft+px,s.leftn,r&&(e.runtimeStyle.leftr)),i?auto:i}),v.each(height,width,function(e,t){v.cssHookst{get:function(e,n,r){if(n)return e.offsetWidth0&&It.test(Dt(e,display))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,boxSizing)border-box):0)}}}),v.support.opacity||(v.cssHooks.opacity{get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||)?.01*parseFloat(RegExp.$1)+:t?1:},set:function(e,t){var ne.style,re.currentStyle,iv.isNumeric(t)?alpha(opacity+t*100+):,sr&&r.filter||n.filter||;n.zoom1;if(t>1&&v.trim(s.replace(Bt,))&&n.removeAttribute){n.removeAttribute(filter);if(r&&!r.filter)return}n.filterBt.test(s)?s.replace(Bt,i):s+ +i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight{get:function(e,t){return v.swap(e,{display:inline-block},function(){if(t)return Dt(e,marginRight)})}}),!v.support.pixelPosition&&v.fn.position&&v.each(top,left,function(e,t){v.cssHookst{get:function(e,n){if(n){var rDt(e,t);return Ut.test(r)?v(e).position()t+px:r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hiddenfunction(e){return e.offsetWidth0&&e.offsetHeight0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,display))none},v.expr.filters.visiblefunction(e){return!v.expr.filters.hidden(e)}),v.each({margin:,padding:,border:Width},function(e,t){v.cssHookse+t{expand:function(n){var r,itypeof nstring?n.split( ):n,s{};for(r0;r4;r++)se+$tr+tir||ir-2||i0;return s}},qt.test(e)||(v.cssHookse+t.setZt)});var rn/%20/g,sn/\\$/,on/\r?\n/g,un/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var nv(this).val();return nnull?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,\r\n)}}):{name:t.name,value:n.replace(on,\r\n)}}).get()}}),v.paramfunction(e,n){var r,i,sfunction(e,t){tv.isFunction(t)?t():tnull?:t,ii.lengthencodeURIComponent(e)++encodeURIComponent(t)};nt&&(nv.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,er,n,s);return i.join(&).replace(rn,+)};var ln,cn,hn/#.*$/,pn/^(.*?): \t*(^\r\n*)\r?$/mg,dn/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn/^(?:GET|HEAD)$/,mn/^\/\//,gn/\?/,yn/script\b^*(?:(?!\/script>)^*)*\/script>/gi,bn/(?&)_^&*/,wn/^(\w\+\.\-+:)(?:\/\/(^\/?#:*)(?::(\d+)|)|)/,Env.fn.load,Sn{},xn{},Tn*/+*;try{cns.href}catch(Nn){cni.createElement(a),cn.href,cncn.href}lnwn.exec(cn.toLowerCase())||,v.fn.loadfunction(e,n,r){if(typeof e!string&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,uthis,ae.indexOf( );return a>0&&(ie.slice(a,e.length),ee.slice(0,a)),v.isFunction(n)?(rn,nt):n&&typeof nobject&&(sPOST),v.ajax({url:e,type:s,dataType:html,data:n,complete:function(e,t){r&&u.each(r,o||e.responseText,t,e)}}).done(function(e){oarguments,u.html(i?v(div>).append(e.replace(yn,)).find(i):e)}),this},v.each(ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend.split( ),function(e,t){v.fntfunction(e){return this.on(t,e)}}),v.each(get,post,function(e,n){vnfunction(e,r,i,s){return v.isFunction(r)&&(ss||i,ir,rt),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,script)},getJSON:function(e,t,n){return v.get(e,t,n,json)},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(te,ev.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln1),global:!0,type:GET,contentType:application/x-www-form-urlencoded; charsetUTF-8,processData:!0,async:!0,accepts:{xml:application/xml, text/xml,html:text/html,text:text/plain,json:application/json, text/javascript,*:Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:responseXML,text:responseText},converters:{* text:e.String,text html:!0,text json:v.parseJSON,text xml:v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,Tn;if(E2)return;E2,u&&clearTimeout(u),ot,ia||,x.readyStatee>0?4:0,s&&(wAn(c,x,s));if(e>200&&e300||e304)c.ifModified&&(Sx.getResponseHeader(Last-Modified),S&&(v.lastModifiedrS),Sx.getResponseHeader(Etag),S&&(v.etagrS)),e304?(Tnotmodified,l!0):(lOn(c,w),Tl.state,yl.data,bl.error,l!b);else{bT;if(!T||e)Terror,e0&&(e0)}x.statuse,x.statusText(n||T)+,l?d.resolveWith(h,y,T,x):d.rejectWith(h,x,T,b),x.statusCode(g),gt,f&&p.trigger(ajax+(l?Success:Error),x,c,l?y:b),m.fireWith(h,x,T),f&&(p.trigger(ajaxComplete,x,c),--v.active||v.event.trigger(ajaxStop))}typeof eobject&&(ne,et),nn||{};var r,i,s,o,u,a,f,l,cv.ajaxSetup({},n),hc.context||c,ph!c&&(h.nodeType||h instanceof v)?v(h):v.event,dv.Deferred(),mv.Callbacks(once memory),gc.statusCode||{},b{},w{},E0,Scanceled,x{readyState:0,setRequestHeader:function(e,t){if(!E){var ne.toLowerCase();ewnwn||e,bet}return this},getAllResponseHeaders:function(){return E2?i:null},getResponseHeader:function(e){var n;if(E2){if(!s){s{};while(npn.exec(i))sn1.toLowerCase()n2}nse.toLowerCase()}return nt?null:n},overrideMimeType:function(e){return E||(c.mimeTypee),this},abort:function(e){return ee||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.successx.done,x.errorx.fail,x.completem.add,x.statusCodefunction(e){if(e){var t;if(E2)for(t in e)gtgt,et;else tex.status,x.always(t)}return this},c.url((e||c.url)+).replace(hn,).replace(mn,ln1+//),c.dataTypesv.trim(c.dataType||*).toLowerCase().split(y),c.crossDomainnull&&(awn.exec(c.url.toLowerCase()),c.crossDomain!(!a||a1ln1&&a2ln2&&(a3||(a1http:?80:443))(ln3||(ln1http:?80:443)))),c.data&&c.processData&&typeof c.data!string&&(c.datav.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E2)return x;fc.global,c.typec.type.toUpperCase(),c.hasContent!vn.test(c.type),f&&v.active++0&&v.event.trigger(ajaxStart);if(!c.hasContent){c.data&&(c.url+(gn.test(c.url)?&:?)+c.data,delete c.data),rc.url;if(c.cache!1){var Nv.now(),Cc.url.replace(bn,$1_+N);c.urlC+(Cc.url?(gn.test(c.url)?&:?)+_+N:)}}(c.data&&c.hasContent&&c.contentType!!1||n.contentType)&&x.setRequestHeader(Content-Type,c.contentType),c.ifModified&&(rr||c.url,v.lastModifiedr&&x.setRequestHeader(If-Modified-Since,v.lastModifiedr),v.etagr&&x.setRequestHeader(If-None-Match,v.etagr)),x.setRequestHeader(Accept,c.dataTypes0&&c.acceptsc.dataTypes0?c.acceptsc.dataTypes0+(c.dataTypes0!*?, +Tn+; q0.01:):c.accepts*);for(l in c.headers)x.setRequestHeader(l,c.headersl);if(!c.beforeSend||c.beforeSend.call(h,x,c)!!1&&E!2){Sabort;for(l in{success:1,error:1,complete:1})xl(cl);okn(xn,c,n,x);if(!o)T(-1,No Transport);else{x.readyState1,f&&p.trigger(ajaxSend,x,c),c.async&&c.timeout>0&&(usetTimeout(function(){x.abort(timeout)},c.timeout));try{E1,o.send(b,T)}catch(k){if(!(E2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn,_n/\?/,Dn/()\?(?&|$)|\?\?/,Pnv.now();v.ajaxSetup({jsonp:callback,jsonpCallback:function(){var eMn.pop()||v.expando+_+Pn++;return thise!0,e}}),v.ajaxPrefilter(json jsonp,function(n,r,i){var s,o,u,an.data,fn.url,ln.jsonp!!1,cl&&Dn.test(f),hl&&!c&&typeof astring&&!(n.contentType||).indexOf(application/x-www-form-urlencoded)&&Dn.test(a);if(n.dataTypes0jsonp||c||h)return sn.jsonpCallbackv.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,oes,c?n.urlf.replace(Dn,$1+s):h?n.dataa.replace(Dn,$1+s):l&&(n.url+(_n.test(f)?&:?)+n.jsonp++s),n.convertersscript jsonfunction(){return u||v.error(s+ was not called),u0},n.dataTypes0json,esfunction(){uarguments},i.always(function(){eso,ns&&(n.jsonpCallbackr.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u0),uot}),script}),v.ajaxSetup({accepts:{script:text/javascript, application/javascript, application/ecmascript, application/x-ecmascript},contents:{script:/javascript|ecmascript/},converters:{text script:function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter(script,function(e){e.cachet&&(e.cache!1),e.crossDomain&&(e.typeGET,e.global!1)}),v.ajaxTransport(script,function(e){if(e.crossDomain){var n,ri.head||i.getElementsByTagName(head)0||i.documentElement;return{send:function(s,o){ni.createElement(script),n.asyncasync,e.scriptCharset&&(n.charsete.scriptCharset),n.srce.url,n.onloadn.onreadystatechangefunction(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onloadn.onreadystatechangenull,r&&n.parentNode&&r.removeChild(n),nt,i||o(200,success)},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bne.ActiveXObject?function(){for(var e in Hn)Hne(0,1)}:!1,jn0;v.ajaxSettings.xhre.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&withCredentialsin e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,an.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)aun.xhrFieldsu;n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!iX-Requested-With&&(iX-Requested-WithXMLHttpRequest);try{for(u in i)a.setRequestHeader(u,iu)}catch(f){}a.send(n.hasContent&&n.data||null),rfunction(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState4)){rt,o&&(a.onreadystatechangev.noop,Bn&&delete Hno);if(i)a.readyState!4&&a.abort();else{ua.status,la.getAllResponseHeaders(),c{},ha.responseXML,h&&h.documentElement&&(c.xmlh);try{c.texta.responseText}catch(p){}try{fa.statusText}catch(p){f}!u&&n.isLocal&&!n.crossDomain?uc.text?200:404:u1223&&(u204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState4?setTimeout(r,0):(o++jn,Bn&&(Hn||(Hn{},v(e).unload(Bn)),Hnor),a.onreadystatechanger):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un/^(?:toggle|show|hide)$/,znnew RegExp(^(?:(-+)|)(+m+)(a-z%*)$,i),Wn/queueHooks$/,XnGn,Vn{*:function(e,t){var n,r,ithis.createTween(e,t),szn.exec(t),oi.cur(),u+o||0,a1,f20;if(s){n+s2,rs3||(v.cssNumbere?:px);if(r!px&&u){uv.css(i.elem,e,!0)||n||1;do aa||.5,u/a,v.style(i.elem,e,u+r);while(a!(ai.cur()/o)&&a!1&&--f)}i.unitr,i.startu,i.ends1?u+(s1+1)*n:n}return i}};v.Animationv.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(te,e*):ee.split( );var n,r0,ie.length;for(;ri;r++)ner,VnnVnn||,Vnn.unshift(t)},prefilter:function(e,t){t?Xn.unshift(e):Xn.push(e)}}),v.TweenYn,Yn.prototype{constructor:Yn,init:function(e,t,n,r,i,s){this.eleme,this.propn,this.easingi||swing,this.optionst,this.startthis.nowthis.cur(),this.endr,this.units||(v.cssNumbern?:px)},cur:function(){var eYn.propHooksthis.prop;return e&&e.get?e.get(this):Yn.propHooks._default.get(this)},run:function(e){var t,nYn.propHooksthis.prop;return this.options.duration?this.postv.easingthis.easing(e,this.options.duration*e,0,1,this.options.duration):this.poste,this.now(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Yn.propHooks._default.set(this),this}},Yn.prototype.init.prototypeYn.prototype,Yn.propHooks{_default:{get:function(e){var t;return e.eleme.propnull||!!e.elem.style&&e.elem.stylee.prop!null?(tv.css(e.elem,e.prop,!1,),!t||tauto?0:t):e.eleme.prop},set:function(e){v.fx.stepe.prop?v.fx.stepe.prop(e):e.elem.style&&(e.elem.stylev.cssPropse.prop!null||v.cssHookse.prop)?v.style(e.elem,e.prop,e.now+e.unit):e.eleme.prope.now}}},Yn.propHooks.scrollTopYn.propHooks.scrollLeft{set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.eleme.prope.now)}},v.each(toggle,show,hide,function(e,t){var nv.fnt;v.fntfunction(r,i,s){return rnull||typeof rboolean||!e&&v.isFunction(r)&&v.isFunction(i)?n.apply(this,arguments):this.animate(Zn(t,!0),r,i,s)}}),v.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Gt).css(opacity,0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var iv.isEmptyObject(e),sv.speed(t,n,r),ofunction(){var tKn(this,v.extend({},e),s);i&&t.stop(!0)};return i||s.queue!1?this.each(o):this.queue(s.queue,o)},stop:function(e,n,r){var ifunction(e){var te.stop;delete e.stop,t(r)};return typeof e!string&&(rn,ne,et),n&&e!!1&&this.queue(e||fx,),this.each(function(){var t!0,ne!null&&e+queueHooks,sv.timers,ov._data(this);if(n)on&&on.stop&&i(on);else for(n in o)on&&on.stop&&Wn.test(n)&&i(on);for(ns.length;n--;)sn.elemthis&&(enull||sn.queuee)&&(sn.anim.stop(r),t!1,s.splice(n,1));(t||!r)&&v.dequeue(this,e)})}}),v.each({slideDown:Zn(show),slideUp:Zn(hide),slideToggle:Zn(toggle),fadeIn:{opacity:show},fadeOut:{opacity:hide},fadeToggle:{opacity:toggle}},function(e,t){v.fnefunction(e,n,r){return this.animate(t,e,n,r)}}),v.speedfunction(e,t,n){var re&&typeof eobject?v.extend({},e):{complete:n||!n&&t||v.isFunction(e)&&e,duration:e,easing:n&&t||t&&!v.isFunction(t)&&t};r.durationv.fx.off?0:typeof r.durationnumber?r.duration:r.duration in v.fx.speeds?v.fx.speedsr.duration:v.fx.speeds._default;if(r.queuenull||r.queue!0)r.queuefx;return r.oldr.complete,r.completefunction(){v.isFunction(r.old)&&r.old.call(this),r.queue&&v.dequeue(this,r.queue)},r},v.easing{linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},v.timers,v.fxYn.prototype.init,v.fx.tickfunction(){var e,nv.timers,r0;qnv.now();for(;rn.length;r++)enr,!e()&&nre&&n.splice(r--,1);n.length||v.fx.stop(),qnt},v.fx.timerfunction(e){e()&&v.timers.push(e)&&!Rn&&(RnsetInterval(v.fx.tick,v.fx.interval))},v.fx.interval13,v.fx.stopfunction(){clearInterval(Rn),Rnnull},v.fx.speeds{slow:600,fast:200,_default:400},v.fx.step{},v.expr&&v.expr.filters&&(v.expr.filters.animatedfunction(e){return v.grep(v.timers,function(t){return et.elem}).length});var er/^(?:body|html)$/i;v.fn.offsetfunction(e){if(arguments.length)return et?this:this.each(function(t){v.offset.setOffset(this,e,t)});var n,r,i,s,o,u,a,f{top:0,left:0},lthis0,cl&&l.ownerDocument;if(!c)return;return(rc.body)l?v.offset.bodyOffset(l):(nc.documentElement,v.contains(n,l)?(typeof l.getBoundingClientRect!undefined&&(fl.getBoundingClientRect()),itr(c),sn.clientTop||r.clientTop||0,on.clientLeft||r.clientLeft||0,ui.pageYOffset||n.scrollTop,ai.pageXOffset||n.scrollLeft,{top:f.top+u-s,left:f.left+a-o}):f)},v.offset{bodyOffset:function(e){var te.offsetTop,ne.offsetLeft;return v.support.doesNotIncludeMarginInBodyOffset&&(t+parseFloat(v.css(e,marginTop))||0,n+parseFloat(v.css(e,marginLeft))||0),{top:t,left:n}},setOffset:function(e,t,n){var rv.css(e,position);rstatic&&(e.style.positionrelative);var iv(e),si.offset(),ov.css(e,top),uv.css(e,left),a(rabsolute||rfixed)&&v.inArray(auto,o,u)>-1,f{},l{},c,h;a?(li.position(),cl.top,hl.left):(cparseFloat(o)||0,hparseFloat(u)||0),v.isFunction(t)&&(tt.call(e,n,s)),t.top!null&&(f.topt.top-s.top+c),t.left!null&&(f.leftt.left-s.left+h),usingin t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this0)return;var ethis0,tthis.offsetParent(),nthis.offset(),rer.test(t0.nodeName)?{top:0,left:0}:t.offset();return n.top-parseFloat(v.css(e,marginTop))||0,n.left-parseFloat(v.css(e,marginLeft))||0,r.top+parseFloat(v.css(t0,borderTopWidth))||0,r.left+parseFloat(v.css(t0,borderLeftWidth))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var ethis.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,position)static)ee.offsetParent;return e||i.body})}}),v.each({scrollLeft:pageXOffset,scrollTop:pageYOffset},function(e,n){var r/Y/.test(n);v.fnefunction(i){return v.access(this,function(e,i,s){var otr(e);if(st)return o?n in o?on:o.document.documentElementi:ei;o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):eis},e,i,arguments.length,null)}}),v.each({Height:height,Width:width},function(e,n){v.each({padding:inner+e,content:n,:outer+e},function(r,i){v.fnifunction(i,s){var oarguments.length&&(r||typeof i!boolean),ur||(i!0||s!0?margin:border);return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElementclient+e:n.nodeType9?(sn.documentElement,Math.max(n.bodyscroll+e,sscroll+e,n.bodyoffset+e,soffset+e,sclient+e)):it?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuerye.$v,typeof definefunction&&define.amd&&define.amd.jQuery&&define(jquery,,function(){return v})})(window);/script>meta namegoogle-site-verification contentQWLDDi63q--TWDgYV2faFG8GVWJMkAV5tNtH-nfTwaM />link relalternate hreflangx-default hrefhttps://www.marinaturquesa.com/ />link relalternate hreflanges hrefhttps://www.marinaturquesa.com/ />link relalternate hreflangen hrefhttps://www.marinaturquesa.com/en/ />link relcanonical hrefhttps://www.marinaturquesa.com/ />meta namerobots contentindex, follow />script> window.dataLayer window.dataLayer || ;/script>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/scripts/custom_cookies.min.js?v202411270906>/script>link relstylesheet hrefhttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/web_apps/assets/css/main_cookies_popup.css?v202411270906>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/specific/202411270910/web_apps/cookies_popup.js?v202411270906>/script>script> function user_allowed_to_track() { //Avoid track on localhost pages if (window.navigator.userAgent.indexOf(Headless) > -1) { console.log(Avoid tracking of robots); return false; } if (window.location.hostname.indexOf(localhost) > -1 || window.location.hostname.indexOf(0.0.0.0) > -1) { if (/booking1, /booking2, /booking3, /booking4.indexOf(window.location.pathname) -1) { return false; } } return true; }/script>script> window.dataLayer window.dataLayer || ; if (cookiesController.search_cookie(cookies_preference) && !cookiesController.is_analytics_cookies_allowed()) { dataLayer.push({ cookies_denied: true }); }/script>script> (function(i,s,o,g,r,a,m){iGoogleAnalyticsObjectr;irir||function(){ (ir.qir.q||).push(arguments)},ir.l1*new Date();as.createElement(o), ms.getElementsByTagName(o)0;a.async1;a.srcg;m.parentNode.insertBefore(a,m) })(window,document,script,https://www.google-analytics.com/analytics.js,ga); function create_ga_objects() { var analytics_cookies_allowed cookiesController.is_analytics_cookies_allowed(); // Remove all trackers ga(function() { var trackers ga.getAll(); trackers.forEach(function(tracker) { ga.remove(tracker.get(name)); }); }); // Create new trackers let analytics_options {allowLinker: true}; if (!analytics_cookies_allowed) { analytics_optionsstorage none; } if (cookiesController.get_url_params()_ga) { let url_param cookiesController.get_url_params()_ga; if (!url_param.match(/\./g).length > 1) { analytics_optionsclientId cookiesController.get_url_params()_ga; } } ga(create, UA-73829337-1, analytics_options); ga(set, cd11, user); if (analytics_cookies_allowed) { ga(require,displayfeatures); ga(set, allowAdFeatures, true); } else { ga(set, allowAdFeatures, false); } ga(set, anonymizeIp, true); //Add _ga to booking form try { ga(function (e) { client_id e.get(clientId); let tracker ga.getAll()0, linker new window.gaplugins.Linker(tracker), destinationLink linker.decorate(test); client_id destinationLink.split(?)1.replace(_ga, ); $(.paraty-booking-form).each(function () { $(this).find(#_ga).remove(); var e $(input>).attr({type: hidden, id: _ga, name: _ga, value: client_id}); $(this).append(e) }) }) } catch (e) { console.log(Google Analytics defined incorrectly (May use a old version)) } if (cookiesController.search_cookie(cookies_preference) && !cookiesController.is_analytics_cookies_allowed()) { ga(set, campaignSource, cookies_consent); ga(set, campaignMedium, denied); } if (cookiesController.get_url_params()referrer) { ga(set, referrer, cookiesController.get_url_params()referrer); } } function set_custom_dimensions() { } function execute_universal_ga_pageview() { if (user_allowed_to_track()) { ga(send, pageview); } } create_ga_objects(); cookiesController.push_tracking_code(create_ga_objects, analytics); set_custom_dimensions(); execute_universal_ga_pageview(); /script>!-- GTM Datalayer -->script typetext/javascript>let allowed_datalayer_register true; if (allowed_datalayer_register) { json_datalayer {hotel_name: Apartamentos Marina Turquesa, transactionTotalWithoutTax: 0}; if (typeof dataLayer ! undefined && json_datalayer) { dataLayer.push(JSON.parse(json_datalayer)); } else { dataLayer JSON.parse(json_datalayer); } }/script>script> window.dataLayer window.dataLayer || ; function gtag() { dataLayer.push(arguments); } selection_exist cookiesController.load_cookie_info(); gtag(consent, default, { ad_storage: denied, analytics_storage: denied, ad_user_data: denied, ad_personalization: denied, wait_for_update: 500, ad_user_data: denied, ad_personalization: denied, }); dataLayer.push({ event: default_consent }); if (cookiesController.is_analytics_cookies_allowed()) { gtag(consent, update, {analytics_storage: granted}); } try { if (cookiesController.is_advertising_cookies_allowed()) { gtag(consent, update, { ad_storage: granted }); if (cookiesController.is_advanced_consent_allowed()) { gtag(consent, default, { ad_user_data: granted, ad_personalization: granted }); } } } catch (e) { console.warn(e); } gtag(set, ads_data_redaction, true); dataLayer.push({event: init}); /script>!-- Google Tag Manager Multi GTM -->script > if (navigator.userAgent.indexOf(Chrome-Lighthouse) -1){ (function(w,d,s,l,i){wlwl||;wl.push({gtm.start: new Date().getTime(),event:gtm.js});var fd.getElementsByTagName(s)0, jd.createElement(s),dll!dataLayer?&l+l:;j.asynctrue;j.src https://www.googletagmanager.com/gtm.js?id+i+dl;f.parentNode.insertBefore(j,f); })(window,document,script,dataLayer,GTM-N4QBT8ZS); } /script>!-- End Google Tag Manager -->/head>body >!-- Google Tag Manager (noscript) Multi GTM-->noscript>iframe srchttps://www.googletagmanager.com/ns.html?idGTM-N4QBT8ZS height0 width0 styledisplay:none;visibility:hidden>/iframe>/noscript>!-- End Google Tag Manager (noscript) -->script typeapplication/ld+json>{ @context: http://schema.org, @type: Hotel, name: APARTAMENTOS MARINA TURQUESA, address: { @type: PostalAddress, addressCountry: Esspaña, addressLocality: Nerja, addressRegion: Málaga, postalCode: 29780, streetAddress: Calle Cártama 2 }, telephone: +34 952 52 13 22, image: https://lh3.googleusercontent.com/JeMGV5_Wv5tZCQOaNfS1Kh8zLT0lJ88ix61J-shAf7RA_KdTjTSgYlcB1G676clr2pp9nrqlBJU35ZOK-V-TbQ, starRating: { @type: Rating, ratingValue: 4 }, priceRange: €50 - €110}/script>input typehidden idlang_default valuees> !--Header--> header >div classtop_header_up>div classcontainer12>div classleft_header>span stylefont-size:14px;font-weight:400>APARTAMENTOS MARINA TURQUESA/span>/div>div classright_header>div idlang>div classlang_selected>Español/div>div classlang_options_wrapper>a classlang_option hrefhttps://www.marinaturquesa.com/es/> ESPAÑOL /a>a classlang_option hrefhttps://www.marinaturquesa.com/en/> ENGLISH /a>/div>/div>div idtop-sections>a classphone>i classfa icon-phone2>/i>span>+34 952 52 13 22/span>/a>a hrefhttps://www.marinaturquesa.com/mis-reservas.html>i classfa icon-booking>/i>span>Mis reservas/span>/a>a hrefhttps://www.marinaturquesa.com/localizacion-y-contacto.html>i classfa fa-map-marker>/i>span>Localización y Contacto/span>/a>/div>div idsocial>a hrefhttp://www.facebook.com/46549837276 target_blank>i classfa fa-facebook aria-hiddentrue>/i>/a>a hrefhttps://twitter.com/#!/bearecepcion target_blank>i classfa fa-twitter aria-hiddentrue>/i>/a>a hrefhttp://www.instagram.com/marina_turquesa_nerja target_blank>i classfa fa-instagram aria-hiddentrue>/i>/a>/div>/div>/div>/div>div classtop_header_down>div classcontainer12>div idlogoDiv>a hrefhttps://www.marinaturquesa.com/>img itemproplogo srchttps://lh3.googleusercontent.com/M7e_0FwAiXEx0tk2nl4rTGaI5n1FGCZRTGhnmbXXt_nF_Ip2mlz00Cau4meKjDQfgZtBplD645eQKcy6fVE altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga titleApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga/>/a>/div>nav idmain_menu>div idmainMenuDiv>ul itemscope itemtype//schema.org/SiteNavigationElement idmain-sections-inner classcontainer>div classmain-section-div-wrapper idsection-active >a itempropurl hrefhttps://www.marinaturquesa.com/inicio.html>span itempropname>Inicio/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/apartamentos.html>span itempropname>Apartamentos/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/ofertas.html>span itempropname>Ofertas/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/nerja.html>span itempropname>NERJA/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/fotos.html>span itempropname>Fotos/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/turismo-familiar.html>span itempropname>Turismo Familiar/span>/a>/div>/ul>/div>/nav>/div>/div>/header>div classfull_screen_menu>div idmainMenuDiv>div idlogoDiv>a hrefhttps://www.marinaturquesa.com/>img itemproplogo srchttps://lh3.googleusercontent.com/M7e_0FwAiXEx0tk2nl4rTGaI5n1FGCZRTGhnmbXXt_nF_Ip2mlz00Cau4meKjDQfgZtBplD645eQKcy6fVE altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga titleApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga/>/a>/div>ul itemscope itemtype//schema.org/SiteNavigationElement idmain-sections-inner classcontainer>div classmain-section-div-wrapper idsection-active >a itempropurl hrefhttps://www.marinaturquesa.com/inicio.html>span itempropname>Inicio/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/apartamentos.html>span itempropname>Apartamentos/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/ofertas.html>span itempropname>Ofertas/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/nerja.html>span itempropname>NERJA/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/fotos.html>span itempropname>Fotos/span>/a>/div>div classmain-section-div-wrapper >a itempropurl hrefhttps://www.marinaturquesa.com/turismo-familiar.html>span itempropname>Turismo Familiar/span>/a>/div>/ul>/div>/div>section idslider_container>style typetext/css> .tp-banner-container { width: 100%; position: relative; padding: 0; min-width: 1140px; height: 735px; } .tp-banner { width: 100%; position: relative; display: none; } .tp-arr-titleholder { display: none !important; }/style>div classtp-banner-container>div classtp-banner>ul>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/VK1B1Dlj75l8n_qHb9qIYeKJC9MsrbclG4sL-C3Jo7Ea1V2KvXrVBMhZaLKtAN3crF4Dni6p72lhiOA0nwsRvAs1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>div classcaption sfb start data-easingeaseOutBack data-speed400 data-start500 data-x240 data-y310 stylefont-family:Arapey; font-weight:100; font-size: 50px;padding: 10px 15px;color: white;text-align:center;margin:auto;z-index:23 >br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 65px; color: white;>Piscina Climatizada/span>br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 28px; color: white;>Abierta desde 1 nov a 30 abril/span>/div>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/JeMGV5_Wv5tZCQOaNfS1Kh8zLT0lJ88ix61J-shAf7RA_KdTjTSgYlcB1G676clr2pp9nrqlBJU35ZOK-V-TbQs1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>div classcaption sfb start data-easingeaseOutBack data-speed400 data-start500 data-x240 data-y310 stylefont-family:Arapey; font-weight:100; font-size: 50px;padding: 10px 15px;color: white;text-align:center;margin:auto;z-index:23>br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 65px; color: white;>¡Atención!/span>br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 28px; color: white;>Tenemos el mejor precio online!/span>/div>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/b0gUaTVHeS1LQAQ70Im7pn6WVVmlNOC8b_zEtKWUS_8OBIuBnckVsKm3DdvJ15_z60ex03LGbeSluxiBcgc3iAs1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>div classcaption sfb start data-easingeaseOutBack data-speed400 data-start500 data-x240 data-y310 stylefont-family:Arapey; font-weight:100; font-size: 50px;padding: 10px 15px;color: white;text-align:center;margin:auto;z-index:23 >br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 65px; color: white;>Muchas Gracias/span>br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 28px; color: white;>Agradecemos vuestra confianza/span>/div>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/3Eafr3ZYlxJHFhO9mpzkrWbvK4GIO7WZesgxmL3UOliE__iYCAb9H5xXDN1sKSCI-M1_-ZrZI8c3Qrxxw7hG8zYs1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>div classcaption sfb start data-easingeaseOutBack data-speed400 data-start500 data-x240 data-y310 stylefont-family:Arapey; font-weight:100; font-size: 50px;padding: 10px 15px;color: white;text-align:center;margin:auto;z-index:23 >br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 65px; color: white;>Rent a Car/span>br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 28px; color: white;>Puede reservar su alojamiento y coche, sólo aqui!/span>/div>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/BQZcRP6j1blIbSg_-EsyzCm2FkwudVyUQcpOCqT1K7Fy_yt2Fhvdi45E5Y9_wmnuRRORPiHu8BZtMHTucG2Os1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>div classcaption sfb start data-easingeaseOutBack data-speed400 data-start500 data-x240 data-y310 stylefont-family:Arapey; font-weight:100; font-size: 50px;padding: 10px 15px;color: white;text-align:center;margin:auto;z-index:23 >br />span stylefont-family:Libre Baskerville;font-style:italic; font-weight:100; font-size: 65px; color: white;>Wifi Free/span>br />/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://cdn2.paraty.es/marina-turquesa/images/2e6c9c3f25acfb2s1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/r1ET1KwEi2lG1T-QRrppt7p2EiKf3oRgRz9m_sq0Ntxhc6O4S9tP6AtzFof0F-awo2mZmVb7J_PMwZIRStiOVAs1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/QS6MOeWZ9zTiRT7jPvnw-YvJ7ObfLgKXwJ5s4ksR10vo-Q_JtoOF8FXl0nuXayIFGljPvJ_e0OLkV01PS5LfYws1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>/li>li data-title data-delay6000 data-transitionslideleft data-slotamount7 data-masterspeed800 >img srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/images/dummy.png data-bgpositioncenter center data-lazyloadhttps://lh3.googleusercontent.com/6P83SGTczMl1ZEreWSfRJLS-n_rM7c7wf9FrSf6jNer8UwDCJMDFwkvYLKACf-RhtLPUWXnpATFEi2nJfmj7Zgs1900 altApartamentos Marina Turquesa | Web Oficial | Nerja, Málaga>/li>/ul>/div>/div>script typetext/javascript async> var revapi; jQuery(window).on(load, function () { revapi jQuery(.tp-banner).revolution( { //Add a comment to this line startwidth: 1140, startheight: 735, hideThumbs: 10, fullWidth: on, forceFullWidth: on, fullScreen: on, onHoverStop: on, lazyLoad: on, navigationArrows: solo, navigationType: bullet, hideTimerBar: on, }); $(.tp-banner).show(); }); //ready/script>div idfull_wrapper_booking >div idwrapper_booking classcontainer12>div classmenu_full_screen idmenu_controller>div idlines classhas_transition_600>hr classhas_transition_600 _1>hr classhas_transition_600 _2>hr classhas_transition_600 _3>/div>/div>div idbooking classboking_widget_inline>link href//fonts.googleapis.com/css?familySource+Sans+Pro:300,400,200italic,300italic&displayswap relstylesheet typetext/css>span idfull-booking-engine-html-7 stylemargin:0px;padding:0px; class>!-- MY BOOKINGS INTEGRATED -->!-- TITULO -->div classbooking_form_title>p classbooking_title_1>Reservas/p>p classbooking_title_2>Reserva ahora/p>p classbest_price>RESERVA AL MEJOR PRECIO/p>/div>!-- END TITULO -->!-- booking engine 7 -->form classbooking_form paraty-booking-form actionhttps://www.marinaturquesa.com/booking1 methodpost >input typehidden idlanguage namelanguage valueSPANISH/>input typehidden idagesKid1 nameagesKid1/>input typehidden idagesKid2 nameagesKid2/>input typehidden idagesKid3 nameagesKid3/>input idroomType typehidden nameroomType value>input classroomTypeValue typehidden nameroomTypeValue value>input idroomFilter typehidden nameroomFilter value.*>input idroomFilterName typehidden nameroomFilterName value>input idroomOrder typehidden nameroomOrder value>input typehidden idroomtype_list_json nameroomtype_list_json value>input typehidden idnamespace namenamespace valuemarina-turquesa/>input typehidden idgclid namegclid value/>input typehidden value namepriceSeekerHotel idpriceSeekerHotel/>!-- BOOKING 0 -->!-- END BOOKING 0-->!-- EXTRA PARAMS -->!-- END EXTRA PARAMS -->!-- SELECTOR DE HOTEL-->!-- END SELECTOR DE HOTEL-->!-- HIDE FILTERS -->!-- HIDE FILTERS -->!-- SELECCION FECHAS DE ENTRADA Y NUMERO HABITACIONES -->div classstay_selection>div classentry_date_wrapper half_size>label classentry_date_label>Entrada/label>div classdate_box entry_date>span classdate_day>/span>span classdate_year>/span>input namestartDate typehidden classhas_datepicker entry_input value/>div>/div>/div>/div>div classdeparture_date_wrapper>label classdeparture_date_label>Salida/label>div classdate_box departure_date>span classdate_day>/span>span classdate_year>/span>input nameendDate typehidden classhas_datepicker departure_input value/>div>/div>/div>/div>script> departure_date_selectable true; /script>/div>div classdates_selector_personalized>label for classdates_selector_label>Fechas/label>div classstart_end_date_wrapper>span typetext classstart_date_personalized>/span> - span typetext classend_date_personalized>/span>div classnights_number_wrapper_personalized>span classdays_number_datepicker>/span>span classnight_label> Noche /span>/div>/div>div classstart_date_datepicker typetext data-roledate data-inlinetrue styledisplay: none>div classclose_calendar>/div>span classentry_label_calendar>Fecha de Entrada/span>/div>div classdeparture_datepicker typetext data-roledate data-inlinetrue styledisplay: none>div classclose_calendar>/div>span classdeparture_label_calendar>Fecha de Salida/span>/div>/div>div classrooms_number_wrapper >label classrooms_label fornumRooms> Habitaciones/label>select namenumRooms idnumRooms classrooms_number>option value1 selectedselected>1/option>option value2 >2/option>option value3 >3/option>/select>/div>!-- END SELECCION FECHAS DE ENTRADA Y HABITACIONES -->div classguest_selector >label>Ocupación/label>span classplaceholder_text>Seleccionar/span>b classbutton>/b>/div>!-- LISTA DE HABITACIONES -->div classroom_list_wrapper>i classfa fa-times close_room_selector aria-hiddentrue styledisplay: none;>/i>ul classroom_list >!---------------------- ROOM 1---------------------->li classroom room1 >div classroom_title > Habitación 1/div>div classadults_selector>label classadults_label foradultsRoom1>Adultos/label>select nameadultsRoom1 classadults_room_1 room_selector idadultsRoom1>option value1 > 1 /option>option value2 selectedselected> 2 /option>option value3 > 3 /option>option value4 > 4 /option>option value5 > 5 /option>option value6 > 6 /option>option value7 > 7 /option>option value8 > 8 /option>/select>/div>div classchildren_selector >label classchildren_label forchildrenRoom1>Niños /label>select namechildrenRoom1 classchildren_room_1 room_selector idchildrenRoom1>option value0 selectedselected > 0 /option>option value1 > 1 /option>option value2 > 2 /option>option value3 > 3 /option>option value4 > 4 /option>/select>/div>/li>!---------------------- ROOM 2---------------------->li classroom room2 styledisplay: none>div classroom_title > Habitación 2/div>div classadults_selector>label classadults_label foradultsRoom2>Adultos/label>select nameadultsRoom2 classadults_room_2 room_selector idadultsRoom2>option value1 > 1 /option>option value2 selectedselected> 2 /option>option value3 > 3 /option>option value4 > 4 /option>option value5 > 5 /option>option value6 > 6 /option>option value7 > 7 /option>option value8 > 8 /option>/select>/div>div classchildren_selector >label classchildren_label forchildrenRoom2>Niños /label>select namechildrenRoom2 classchildren_room_2 room_selector idchildrenRoom2>option value0 selectedselected > 0 /option>option value1 > 1 /option>option value2 > 2 /option>option value3 > 3 /option>option value4 > 4 /option>/select>/div>/li>!---------------------- ROOM 3---------------------->li classroom room3 styledisplay: none>div classroom_title > Habitación 3/div>div classadults_selector>label classadults_label foradultsRoom3>Adultos/label>select nameadultsRoom3 classadults_room_3 room_selector idadultsRoom3>option value1 > 1 /option>option value2 selectedselected> 2 /option>option value3 > 3 /option>option value4 > 4 /option>option value5 > 5 /option>option value6 > 6 /option>option value7 > 7 /option>option value8 > 8 /option>/select>/div>div classchildren_selector >label classchildren_label forchildrenRoom3>Niños /label>select namechildrenRoom3 classchildren_room_3 room_selector idchildrenRoom3>option value0 selectedselected > 0 /option>option value1 > 1 /option>option value2 > 2 /option>option value3 > 3 /option>option value4 > 4 /option>/select>/div>/li>/ul>/div>!-- END LISTA DE HABITACIONES -->div classwrapper_booking_button >div classpromocode_wrapper >label forwidget_promocode classpromocode_label > Código promocional /label>input autocompleteoff typetext idwidget_promocode classpromocode_input namepromocode placeholderInserta tu código promocional value tabindex16 >/div>button typesubmit classsubmit_button buttonsearch-ratecheck > Reservar /button>div classspinner_wrapper>/div>/div>div styleclear:both>/div>img srchttps://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jh styledisplay: none;>input typehidden idbooking-search-popup namebooking-search-popup valuetrue>script> ($ > { window.show_booking_search_popup function (myForm) { if (($.browser && $.browser.msie && parseFloat($.browser.version) 9)){ //if we are here, is because our browser dont accept setTimeOut //so we submit it directly myForm.submit(); } else { if (typeof(sending_form_custom_from_paraty) undefined || !sending_form_custom_from_paraty) { sending_form_custom_from_paraty true; setTimeout(function (myForm) { openBookingSearchPopup(myForm); }, 1000, myForm); } } } window.openBookingSearchPopup function (myForm) { var elements { href: https://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jhs800 }, var popup_description ; if (typeof(custom_popup_loading_description) ! undefined) { popup_description custom_popup_loading_description; } var text_popup div classcontainer_popup_booking styletext-align:center;>img srchttps://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jh>div classdescription_popup_booking> + popup_description + /div>/div>; var fancybox_params { width: auto, maxWidth: 800, height: auto, fitToView: false, autoSize: false, padding: 0, closeClick: false, closeBtn: false, helpers: { overlay: {closeClick: false} // prevents closing when clicking OUTSIDE fancybox }, wrapCSS: fancy-booking-search, beforeShow: function () { if(navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || (navigator.userAgent.match(/AppleWebKit/i) && !navigator.userAgent.match(/Chrome/i))){ setTimeout(function () { $.fancybox.close( true ); $(#full_wrapper_booking .wrapper_booking_button .submit_button).show(); sending_form_custom_from_paraty undefined; }, 5000); } } }; if ($.fancybox.version.slice(0,2) 3.) { fancybox_paramsbaseClass fancy-booking-search; fancybox_paramsmodal true; $.fancybox.open(text_popup, fancybox_params); } else { $.fancybox(text_popup, fancybox_params); } myForm.submit(); } window.openBookingSearchPopup_v2 function (myForm, show_popuptrue) { var container_booking_popup $(div>/div>).addClass(container_popup_booking).css(text-align, center), loading_popup_top_text `Actualizando para continuar con su reserva`; try { }catch(e){ console.log(Error trying to retreive logo) } var loading_popup_bottom_text `Solo será un momento, por favor`; var descipription_top_booking_popup $(div>/div>).addClass(description_top_popup_booking).html(loading_popup_top_text), descipription_bottom_booking_popup $(div>/div>).addClass(description_bottom_popup_booking).html(loading_popup_bottom_text), gif_wrapper $(div>/div>).addClass(gif_wrapper), number_of_lines 20; for (var x 0; x number_of_lines; x++) { var target_delay_css { -webkit-animation-delay: -(1.5 - (0.1 * x)) + s, -moz-animation-delay: -(1.5 - (0.1 * x)) + s, -o-animation-delay: -(1.5 - (0.1 * x)) + s, animation-delay: -(1.5 - (0.1 * x)) + s }; var element_line_to_append $(div>/div>).addClass(default_line_loading).css(target_delay_css); element_line_to_append.appendTo(gif_wrapper); } container_booking_popup.append(descipription_top_booking_popup).append(gif_wrapper).append(descipription_bottom_booking_popup); var selected_start_date $(inputnamestartDate).val(), selected_end_date $(inputnameendDate).val(); var custom_format_date ; if (custom_format_date) { var splitted_start_date selected_start_date.split(/), start_day splitted_start_date0, start_month splitted_start_date1, start_year splitted_start_date2, start_datetime new Date(start_year, start_month - 1, start_day), week_start_day start_datetime.getDay(); var splitted_end_date selected_end_date.split(/), end_day splitted_end_date0, end_month splitted_end_date1, end_year splitted_end_date2, end_datetime new Date(end_year, end_month - 1, end_day), week_end_day end_datetime.getDay(); var days_list $.datepicker._defaults.dayNames; //Start date selected_start_date custom_format_date.replace(%m, start_month).replace(%d, start_day).replace(%Y, start_year); selected_start_date selected_start_date.replace(%a, days_listweek_start_day).replace(%bb, _monthNamesstart_month - 1).replace(%b, _monthNamesstart_month - 1); //End date selected_end_date custom_format_date.replace(%m, end_month).replace(%d, end_day).replace(%Y, end_year); selected_end_date selected_end_date.replace(%a, days_listweek_end_day).replace(%bb, _monthNamesend_month - 1).replace(%b, _monthNamesend_month - 1); } //Protection for failures if(selected_start_date.indexOf(NaN) > -1 || selected_end_date.indexOf(NaN)){ container_booking_popup.html(container_booking_popup.html().replace(@@start_date@@, selected_start_date).replace(@@end_date@@, selected_end_date)); } else { container_booking_popup.find(.description_bottom_popup_booking).remove(); } if (show_popup) { var booking_loading_popup_params { width: auto, height: auto, fitToView: false, autoSize: false, padding: 0, closeClick: false, closeBtn: false, helpers: { overlay: { closeClick: false }, // prevents closing when clicking OUTSIDE fancybox }, wrapCSS: fancy-booking-search_v2 , beforeShow: function () { if (navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || (navigator.userAgent.match(/AppleWebKit/i) && !navigator.userAgent.match(/Chrome/i))) { setTimeout(function () { $.fancybox.close(true); $(#full_wrapper_booking .wrapper_booking_button .submit_button).show(); sending_form_custom_from_paraty undefined; }, 8000); } $(.fancybox-bg).css(background, ); } }; if ($.fancybox.version.slice(0, 2) 3.) { //debugger; booking_loading_popup_paramsbaseClass fancybox-wrap fancy-booking-search_v2 ; booking_loading_popup_paramsmodal true; $.fancybox.open(container_booking_popup, booking_loading_popup_params); } else { //debugger; $.fancybox(container_booking_popup, booking_loading_popup_params); } if (myForm) { if (!navigator.userAgent.match(/chrome/i) && (navigator.userAgent.match(/safari/i) || navigator.userAgent.match(/firefox/i))) { setTimeout(function () { myForm.submit(); }, 700); } else { myForm.submit(); } } } } window.openCalendarPriceLoaderPopup function () { if (window.location.href.includes(localhost)) { return; } const container_booking_popup $(div classcontainer_popup_booking container_popup_calendar>/div>); const description_top_booking_popup $(div classdescription_top_popup_calendar>/div>).html(`La búsqueda que está realizando aplica restriccionesbr> Le estamos redirigiendo al calendario de precios`); const description_bottom_booking_popup $(div classdescription_bottom_popup_calendar>/div>).html(`Para que pueda continuar con su reserva, le hemos redirigido a nuestro calendario de disponibilidad para que pueda reservar sus próximas vacaciones con nosotros al mejor precio disponible.`); const animation_container $(div idlottie_animation>/div>); const center_container $(div classcenter_container>/div>).append(description_top_booking_popup).append(animation_container); container_booking_popup.append(center_container).append(description_bottom_booking_popup); var booking_loading_popup_params { width: auto, height: auto, fitToView: false, autoSize: false, padding: 0, closeClick: false, closeBtn: false, helpers: { overlay: { closeClick: false}, // prevents closing when clicking OUTSIDE fancybox }, wrapCSS: fancy-booking-search_v2 full_screen_engine, beforeShow: function () { if(navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || (navigator.userAgent.match(/AppleWebKit/i) && !navigator.userAgent.match(/Chrome/i))){ setTimeout(function () { if ($.fancybox.current?.wrapCSS.includes(fancy-booking-search_v2)) { $.fancybox.close(); } }, 5000); } $(.fancybox-bg).css(background,transparent).css(backdrop-filter,blur(50px)); $(.fancybox-margin).css(margin, 0); }, afterShow: function () { if (typeof loader_animation ! undefined) { let params { container: $(#lottie_animation)0, renderer: svg, loop: true, autoplay: true, animationData: loader_animation }; let anim lottie.loadAnimation(params); setTimeout(function () { paramscontainer $(#lottie_animation_calendar)0; paramsloop false; let anim_calendar lottie.loadAnimation(params); anim_calendar.addEventListener(complete, function() { anim_calendar.stop(); setTimeout(() > { anim_calendar.play(); }, 5000); }); }, 5000); } } }; $.fancybox(container_booking_popup, booking_loading_popup_params); setTimeout(function () { if ($.fancybox.current?.wrapCSS.includes(fancy-booking-search_v2)) { $.fancybox.close(); } setTimeout(function() { typeof resizeCallCenter ! undefined && resizeCallCenter(); }, 5500); }, 5000); } window.showGallery function (elements) { var fancybox_params { modal: true, closeBtn: false, autoPlay: true, playSpeed: 3000, prevEffect: none, nextEffect: none, type: image, arrows: false, nextClick: false, mouseWheel: false, helpers: { title: { type: outside }, overlay: { opacity: 0.8, css: { background-color: #000 } } }, padding: 0 }; if ($.fancybox.version.slice(0,2) 3.) { $.fancybox.open(elements, fancybox_params); } else { $.fancybox(elements, fancybox_params); } } //Preloading video is required to load correctly in some browsers $(function() { }); $(img/>).attr(src, https://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jh); })(jQuery); /script>/form>/span>script> adult_tag Adulto; adults_tag Adultos; kid_tag Niño; kids_tag Niños; baby_tag Bebé; babies_tag Bebés; no_dispo_text No disponible;/script>script> night_tag Noche; nights_tag Noches;/script>script>/script>!-- RESCUESEEKER -->script async> ($ > { if (typeof only_once_rescueseeker undefined) { only_once_rescueseeker 1; $.getScript(https://global-dot-rescue-seeker.appspot.com/static/rescue-seeker/common/js/rescue-seeker-widget.js?v2) .done(function (script, textStatus) { console.log(RESCUE SEEKER: Main rescue seeker script loaded!); RescueSeeker.load(marina-turquesa, es, paraty); }) .fail(function (jqxhr, settings, exception) { console.error(RESCUE SEEKER: Main rescue seeker script NOT loaded!); console.error(exception); }); } })(jQuery);/script>!-- RATECHECK -->/div>/div>div classticks_wrapper>div classtick_element>i classfa icon-shield>/i>span>Reserva 100% segura/span>/div>div classtick_element>i classfa icon-pig>/i>span>Sin gastos de gestión/span>/div>div classtick_element>i classfa icon-euro>/i>span>Pago directo en el hotel/span>/div>/div>/div>/section>section idcontent>div idwrapper_content>div classcontent_subtitle_wrapper content_subtitle_home>div classcontainer12>h1 classcontent_subtitle_title>span>BIENVENIDO A APARTAMENTOS MARINA TURQUESAspan>/span>/span>/h1>div>div classcontent_subtitle_description>div> Apartamentos Marina Turquesa es un complejo de lujo con apartamentos y villas, ofrecemos a nuestros clientes todo lo necesario para disfrutar de sus vacaciones. Marina Turquesa Apartments se encuentran a 700 metros de la playa de Burriana./div>div> /div>div> El complejo consta de 20 apartamentos, todos con terrazas con vistas a la piscina y jardines, sala de estar, cocina totalmente equipada, aire acondicionado, calefacción central, wi fi y TV de pantalla plana. Las villas de tres dormitorios disponen de piscina privada./div>div> /div>div> El complejo cuenta con un solárium y jardines exóticos con palmeras, piscina al aire libre, gimnasio, sauna, piscina cubierta climatizada en invierno, y también ofrece una sección de información turística en la recepción y su propio alquiler de coches./div>div> Aprovecha nuestras ofertas exclusivas para la página web oficial de Apartamentos Marina Turquesa y reserva ahora al mejor precio para vivir unas vacaciones inolvidables/div>div> /div>div> /div>div> img br srchttps://lh3.googleusercontent.com/rnmjCdnhDTHJtJZ0Bs3C9lXsw9bPIaX91X7V04IwLH5c_XJiaU0uyz0Ym6C34Bsfi0Rs3J3bVgfOYTY9fdwtJ6TPyfIRRvfBDFTLs500 styletext-align: center;> img br srchttps://lh3.googleusercontent.com/0V4ORu1zMWyRsmG46Ra-CBFCHre4yHEijFkoVGQzmIJk04U4x8MZo8euu2b9MSb75zi9fbxT9rjLCUf8Ugmo4fsNsseGqZlGWC6Ds500 styletext-align: center;> img br srchttps://lh3.googleusercontent.com/9t9_JMPq5r1i3ktY-U_FUAkFB9Z6lmecMaFBcrnm57b63972W9f-7eO1KqPnKj3ENbmsROiinM_xUe-XvXkWhjqlHsq8TyE-1-Ys500> img br srchttps://cdn2.paraty.es/marina-turquesa/images/892cf9bb1e10df3s150 styletext-align: center;> /div>/div>/div>/div>/div>div classbannersx4_wrapper >div classbanner_element effects_sass sass_effectslide_up_effect hreffotos.html >div classbanner_image>img srchttps://lh3.googleusercontent.com/Rw1OsMMIPdG-dj_TKScOYTMwX180JIw2DN93sJKhw2Fs-ebQyL8sVlFxCE8cauCOKcI8Uj8VoWSBCbsRD1rF classcenter_image/>/div>div classbanner_content>div classbanner_block>div classbanner_title>Piscinas/div>div classbanner_description>Disponemos de piscina cubierta que se encuentra climatizada en desde el 1 de noviembre hasta el 30 de abril y piscina exterior perfectamente adaptada./div>div classbanner_link>a hreffotos.html>span>i classfa icon-spa>/i>span>FOTOS/span>/span>/a>a href#data classbutton_promotion>span>i classfa fa-th>/i>span>Reservar/span>/span>/a>/div>/div>/div>/div>div classbanner_element effects_sass sass_effectslide_up_effect hrefapartamentos.html >div classbanner_image>img srchttps://cdn2.paraty.es/marina-turquesa/images/39a7b9c46833ae8 classcenter_image/>/div>div classbanner_content>div classbanner_block>div classbanner_title>Apartamentos/div>div classbanner_description>Disponemos de diferentes tipos de apartamentos, con 1 ó 2 dormitorios y Villas con tres dormitorios y piscina privada. Todo un lujo en Nerja./div>div classbanner_link>a hrefapartamentos.html>span>i classfa icon-bed>/i>span>Apartamentos/span>/span>/a>a href#data classbutton_promotion>span>i classfa fa-th>/i>span>Reservar/span>/span>/a>/div>/div>/div>/div>/div>/div>/section>div classnewsletter_and_icons_footer_wrapper>div classnewsletter_wrapper >div classnewsletter_container container12>div classnewsletter_title>Suscríbete & Síguenos/div>div classnewsletter_description>div> Nos encantaría estar en contacto para que seas el primero en enterarte de todas nuestras novedades. Suscríbete a nuestro newsletter y síguenos en las redes sociales. ¡Allí nos vemos!/div>/div>form classnewsletter_form has_social action/utils?actionnewsletter methodpost>input idsuscEmail classinput_email typetext namesuscEmail placeholderIntroduce tu email/>button typesubmit classbutton_newsletter styleborder:none>span>Enviar/span>/button>div classcheck_newsletter>div classnewsletter_checkbox>input classcheck_privacy idprivacy nameprivacy typecheckbox valueprivacy/>label forprivacy>a data-fancybox data-options{caption : He leído y acepto la política de privacidad, src : /es/?sectionContentpolitica-de-privacidad.html, type : iframe, width : 100%, max-width : 100%} data-width1200 classmyFancyPopup fancybox.iframe newsletter_popup hrefes/?sectionContentpolitica-de-privacidad.html relnofollow>He leído y acepto la política de privacidad/a>/label>/div>/div>div classcheck_newsletter>div classnewsletter_checkbox>input classcheck_privacy idpromotions namepromotions typecheckbox valueprivacy/>label forpromotions>Autorizo el tratamiento de mis datos para que me envíen promociones, ofertas y otras comunicaciones propias./label>/div>/div>/form>div classsocial_newsletter>a hrefhttps://www.facebook.com/46549837276 target_blank relnofollow>i classfa fa-facebook aria-hiddentrue>/i>/a>a hrefhttps://twitter.com/bearecepcion target_blank relnofollow>i classfa-brands fa-x-twitter aria-hiddentrue>/i>/a>a hrefhttp://www.instagram.com/marina_turquesa_nerja target_blank relnofollow>i classfa fa-instagram aria-hiddentrue>/i>/a>/div>/div>/div>script async typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/lib/jquery.validate.js>/script>script typetext/javascript> $(window).on(load, function () { if (typeof newsletter_launched ! undefined && newsletter_launched true) { return; } $(.newsletter_form).each(function() { $(this).validate({ rules: { privacy: required, promotions: required, suscEmail: { required: true, email: true }, suscName: { required: true }, suscSurname: { required: true }, suscDate: { required: true, date: true }, suscTelephone: { required: true, date: true } }, messages: { suscEmail: { required: Este campo es obligatorio, email: El valor de este campo no es correcto }, suscName: { required: Este campo es obligatorio }, suscSurname: { required: Este campo es obligatorio }, suscDate: { required: Este campo es obligatorio, date: El valor de este campo no es correcto }, suscTelephone: { required: Este campo es obligatorio, date: El valor de este campo no es correcto }, privacy: Este campo es obligatorio, promotions: Este campo es obligatorio, }, highlight: function (input) { $(input).parent().find(a).addClass(error_class); $(input).parent().find(label).addClass(error_class); $(input).parent().find(#suscEmail).addClass(error_class); $(input).parent().find(#suscName).addClass(error_class); $(input).parent().find(#suscSurname).addClass(error_class); $(input).parent().find(#suscDate).addClass(error_class); $(input).parent().find(#suscTelephone).addClass(error_class); }, errorPlacement: function (error, element) { //this keeps enable the validation but hides the error message } }); }); $(.button_newsletter).each(function() { $(this).unbind(click).click(function () { var clicked_button $(this), form_newsletter clicked_button.parent(.newsletter_form); form_newsletter.on(submit, function(event) { event.preventDefault(); }); if (form_newsletter.valid()) { if (!$(#g-recaptcha-response).length || $(#g-recaptcha-response).val()) { $.post(/utils?actionnewsletter&languageSPANISH, { email: form_newsletter.find(#suscEmail).val(), name: form_newsletter.find(#suscName).val(), surname: form_newsletter.find(#suscSurname).val(), date: form_newsletter.find(#suscDate).val(), telephone: form_newsletter.find(#suscTelephone).val(), g-recaptcha-response: $(#g-recaptcha-response).val() }, function (data) { alert(Gracias por suscribirte a nuestra newsletter); $(#suscEmail).val(); $(#suscName).val(); $(#suscDate).val(); $(#suscTelephone).val(); } ); } else { $(.g-recaptcha > div).css(border, 1px solid red); } } else { alert(* Campos obligatorios ); console.log(invalid); } }); }); newsletter_launched true; var script_fa_tag document.createElement(script); script_fa_tag.src https://kit.fontawesome.com/d8b9925505.js; script_fa_tag.setAttribute(defer, ); document.head.appendChild(script_fa_tag); });/script>script> $(function(){ $(.newsletter_form).append($(.social_newsletter)); var text_send span> + $(.button_newsletter).text() + /span>; $(.button_newsletter).html(text_send); }) /script>/div>div classminigallery_content_wrapper effects_sass sass_effectslide_up_effect>div classminigallery_wrapper >div classminigallery_content owl-carousel>a classslider_element hrefhttps://lh3.googleusercontent.com/1DsPy6L2GehC39LrwAxbF_DKMYmsfqZ_MfnPY4y35xw-gIEq2kTXS1zi1_SAGlG0010GB-xm_kFnxGfgFAU3s1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/1DsPy6L2GehC39LrwAxbF_DKMYmsfqZ_MfnPY4y35xw-gIEq2kTXS1zi1_SAGlG0010GB-xm_kFnxGfgFAU3 alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/2R1Xz1y-gyaqA2vBa53n9KKdjmwlNx4c8OEtcclgdzDml1eZN-xZ1bDQfjmcRVm4jZe-dTd5Ua4SynYmU_NATgs1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/2R1Xz1y-gyaqA2vBa53n9KKdjmwlNx4c8OEtcclgdzDml1eZN-xZ1bDQfjmcRVm4jZe-dTd5Ua4SynYmU_NATg alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/u_FaIEfNCy0HwoBQbIk6e1mjFjZRRT8OTDUnGwlubeOUi0tc2QvNaEY7JGac_NvBKiCFX38hFPhkI9CXevNyews1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/u_FaIEfNCy0HwoBQbIk6e1mjFjZRRT8OTDUnGwlubeOUi0tc2QvNaEY7JGac_NvBKiCFX38hFPhkI9CXevNyew alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/mTEjgwcNLJFbNM8OrcinowsWpIahMJ1LCDMYZbMWwp-ffZyIU_hxC3EBzHa8DOz4wJJmxia-cNaaG78wc5acTAs1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/mTEjgwcNLJFbNM8OrcinowsWpIahMJ1LCDMYZbMWwp-ffZyIU_hxC3EBzHa8DOz4wJJmxia-cNaaG78wc5acTA alt lazytrue/>/a>a classslider_element hrefhttps://cdn2.paraty.es/marina-turquesa/images/fbcbfad03a080b2s1900 rellightboxminigallery>img classcenter_image data-srchttps://cdn2.paraty.es/marina-turquesa/images/fbcbfad03a080b2 alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/GQvz3J0QAdeTebzKz7UH8RJqsXRoti7UO3jNS3ui34D2KBiPjxgYM1XuyLJNSN54PMhJ3qNC-xSNKs1HNhjs-As1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/GQvz3J0QAdeTebzKz7UH8RJqsXRoti7UO3jNS3ui34D2KBiPjxgYM1XuyLJNSN54PMhJ3qNC-xSNKs1HNhjs-A alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/a0BhpJD30NYPxIPd-8RyR5CKbvRo_gwjKkyrBb3qQBSmP-BHvGl3INlb1WoG-rBNoLyuYvwzmzvHQE37CZygYQs1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/a0BhpJD30NYPxIPd-8RyR5CKbvRo_gwjKkyrBb3qQBSmP-BHvGl3INlb1WoG-rBNoLyuYvwzmzvHQE37CZygYQ alt lazytrue/>/a>a classslider_element hrefhttps://cdn2.paraty.es/marina-turquesa/images/230dbe0bdc41e27s1900 rellightboxminigallery>img classcenter_image data-srchttps://cdn2.paraty.es/marina-turquesa/images/230dbe0bdc41e27 alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/-aOaldK9DZoCzYwfz8eXsV-JKXnWquq9A8qb3RVEc5qp-7bcpZB1whsmuRxihmJW-OFC9a23tv4GY5J43IGw3scs1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/-aOaldK9DZoCzYwfz8eXsV-JKXnWquq9A8qb3RVEc5qp-7bcpZB1whsmuRxihmJW-OFC9a23tv4GY5J43IGw3sc alt lazytrue/>/a>a classslider_element hrefhttps://lh3.googleusercontent.com/1AZa4-9DVnHv597csFPITM_CAzJorKQTHKc9EC9HfYJ-z_V5GkjWNXh-0bMz2YzvgOoz08AE5FwaS6dDnnOs5Qs1900 rellightboxminigallery>img classcenter_image data-srchttps://lh3.googleusercontent.com/1AZa4-9DVnHv597csFPITM_CAzJorKQTHKc9EC9HfYJ-z_V5GkjWNXh-0bMz2YzvgOoz08AE5FwaS6dDnnOs5Q alt lazytrue/>/a>a classslider_element hrefhttps://cdn2.paraty.es/marina-turquesa/images/836397a16f0fd61s1900 rellightboxminigallery>img classcenter_image data-srchttps://cdn2.paraty.es/marina-turquesa/images/836397a16f0fd61 alt lazytrue/>/a>/div>/div>script> $(window).load(function () { owl_params { loop: true, nav: true, dots: false, items: 5, navText: i classfa fa-chevron-left aria-hiddentrue>/i>, i classfa fa-chevron-right aria-hiddentrue>/i>, margin: 0, autoplay: true }; $(.minigallery_content).owlCarousel(owl_params); })/script>/div>div classmaps_wrapper effects_sass sass_effectslide_up_effect>div classmaps_content center_xy>div classcenter_block center_y>h3>span>APARTAMENTOS MARINA TURQUESA/span>Nerja, Málaga/h3>div>br>strong>Dirección/strong>br>Calle Cártama, 2 - Nerja br> 29780, Málaga (España)br>br>strong>Teléfono/strong>br>+34 952 52 13 22br>/div>/div>/div>div classmaps_iframe>div styletext-align: center; >iframe srchttps://www.google.com/maps/embed?pb!1m14!1m8!1m3!1d204498.53308275063!2d-4.236337631596851!3d36.78760681059935!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x5f9032745731395e!2sMarina%20Turquesa!5e0!3m2!1ses!2ses!4v1580641465994!5m2!1ses!2ses width1140 height480 frameborder0 styleborder:0 allowfullscreen>/iframe>/div>/div>/div>footer>div classmenu_footer>div classcontainer12>a classmenu_element hrefinicio.html>Inicio/a>a classmenu_element hrefapartamentos.html>Apartamentos/a>a classmenu_element hrefofertas.html>Ofertas/a>a classmenu_element hrefnerja.html>NERJA/a>a classmenu_element hreffotos.html>Fotos/a>a classmenu_element hrefturismo-familiar.html>Turismo Familiar/a>/div>/div>hr classseparator/>div classfooter_legal_text_wrapper>div classcontainer12>div classfooter_links_wrapper>a href/es/?sectionContentcondiciones-de-reserva.html classmyFancyPopup fancybox.iframe>Condiciones de reserva/a> | a href/es/?sectionContentpolitica-de-privacidad.html classmyFancyPopup fancybox.iframe>Política de Privacidad/a> | a href/es/?sectionContentpolitica-de-cookies.html classmyFancyPopup fancybox.iframe>Política de Cookies/a> | a hrefjavascript:cookiesController.open_cookies_banner()>Administrar cookies/a> | a target_blank hrefhttps://www.paratytech.com/motor-de-reservas.html titleMotor de Reservas>Motor de Reservas/a> | a target_blank href/sitemap.xml title>Site Map/a> | a target_blank href/rss.xml>RSS/a>/div>div classlegal_text>div> Apartamentos Marina Turquesalspan stylefont-size: 12px;>: Categoria Establecimiento: 3 Llaves, R.E.T.A.: A/MA00866 | INSCRIP. REG. MERCANTIL DE MALAGA - Tomo 2479 Libro 1392, Folio 63, Hoja MA-9593./span>/div>div>i stylecolor: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14.6667px; caret-color: rgb(0, 0, 0);>br>/i>/div>div>font color#ffffff>span stylefont-family: Calibri, sans-serif; font-size: 14.6667px; caret-color: rgb(0, 0, 0);>ALVAREZ DE RIVERA LUQUE SL/span>i stylefont-family: Calibri, sans-serif; font-size: 14.6667px; caret-color: rgb(0, 0, 0);> ha recibido una ayuda de la Unión Europea con cargo al Programa Operativo FEDER de Andalucía 2014-2020, financiada como parte de la respuesta de la Unión a la pandemia de COVID-19 (REACT-UE), para compensar el sobrecoste energético de gas natural y/o electricidad a pymes y autónomos especialmente afectados por el incremento de los precios del gas natural y la electricidad provocados por el impacto de la guerra de agresión de Rusia contra Ucrania./i>/font>/div>div>i stylecolor: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 12.0000px; caret-color: rgb(0, 0, 0);>br>/i>/div>img br srchttps://cdn2.paraty.es/marina-turquesa/images/fe934c04efe02cbs500 styletext-align: center;> /div>/div>/div>/footer>script>(function (r, G, f, v) { var J f(html), n f(r), p f(G), b f.fancybox function () { b.open.apply(this, arguments) }, I navigator.userAgent.match(/msie/i), B null, s G.createTouch ! v, t function (a) { return a && a.hasOwnProperty && a instanceof f }, q function (a) { return a && string f.type(a) }, E function (a) { return q(a) && 0 a.indexOf(%) }, l function (a, d) { var e parseInt(a, 10) || 0; d && E(a) && (e * b.getViewport()d / 100); return Math.ceil(e) }, w function (a, b) { return l(a, b) + px }; f.extend(b, { version: 2.1.5, defaults: { padding: 15, margin: 20, width: 800, height: 600, minWidth: 100, minHeight: 100, maxWidth: 9999, maxHeight: 9999, pixelRatio: 1, autoSize: !0, autoHeight: !1, autoWidth: !1, autoResize: !0, autoCenter: !s, fitToView: !0, aspectRatio: !1, topRatio: 0.5, leftRatio: 0.5, scrolling: auto, wrapCSS: , arrows: !0, closeBtn: !0, closeClick: !1, nextClick: !1, mouseWheel: !0, autoPlay: !1, playSpeed: 3E3, preload: 3, modal: !1, loop: !0, ajax: {dataType: html, headers: {X-fancyBox: !0}}, iframe: {scrolling: auto, preload: !0}, swf: {wmode: transparent, allowfullscreen: true, allowscriptaccess: always}, keys: { next: {13: left, 34: up, 39: left, 40: up}, prev: {8: right, 33: down, 37: right, 38: down}, close: 27, play: 32, toggle: 70 }, direction: {next: left, prev: right}, scrollOutside: !0, index: 0, type: null, href: null, content: null, title: null, tpl: { wrap: div classfancybox-wrap tabIndex-1>div classfancybox-skin>div classfancybox-outer>div classfancybox-inner>/div>/div>/div>/div>, image: img classfancybox-image src{href} alt />, iframe: iframe idfancybox-frame{rnd} namefancybox-frame{rnd} classfancybox-iframe frameborder0 vspace0 hspace0 webkitAllowFullScreen mozallowfullscreen allowFullScreen + (I ? allowtransparencytrue : ) + >/iframe>, error: p classfancybox-error>The requested content cannot be loaded.br/>Please try again later./p>, closeBtn: a titleClose classfancybox-item fancybox-close hrefjavascript:;>/a>, next: a titleNext classfancybox-nav fancybox-next hrefjavascript:;>span>/span>/a>, prev: a titlePrevious classfancybox-nav fancybox-prev hrefjavascript:;>span>/span>/a> }, openEffect: fade, openSpeed: 250, openEasing: swing, openOpacity: !0, openMethod: zoomIn, closeEffect: fade, closeSpeed: 250, closeEasing: swing, closeOpacity: !0, closeMethod: zoomOut, nextEffect: elastic, nextSpeed: 250, nextEasing: swing, nextMethod: changeIn, prevEffect: elastic, prevSpeed: 250, prevEasing: swing, prevMethod: changeOut, helpers: {overlay: !0, title: !0}, onCancel: f.noop, beforeLoad: f.noop, afterLoad: f.noop, beforeShow: f.noop, afterShow: f.noop, beforeChange: f.noop, beforeClose: f.noop, afterClose: f.noop }, group: {}, opts: {}, previous: null, coming: null, current: null, isActive: !1, isOpen: !1, isOpened: !1, wrap: null, skin: null, outer: null, inner: null, player: {timer: null, isActive: !1}, ajaxLoad: null, imgPreload: null, transitions: {}, helpers: {}, open: function (a, d) { if (a && (f.isPlainObject(d) || (d {}), !1 ! b.close(!0))) return f.isArray(a) || (a t(a) ? f(a).get() : a), f.each(a, function (e, c) { var k {}, g, h, j, m, l; object f.type(c) && (c.nodeType && (c f(c)), t(c) ? (k { href: c.data(fancybox-href) || c.attr(href), title: c.data(fancybox-title) || c.attr(title), isDom: !0, element: c }, f.metadata && f.extend(!0, k, c.metadata())) : k c); g d.href || k.href || (q(c) ? c : null); h d.title ! v ? d.title : k.title || ; m (j d.content || k.content) ? html : d.type || k.type; !m && k.isDom && (m c.data(fancybox-type), m || (m (m c.prop(class).match(/fancybox\.(\w+)/)) ? m1 : null)); q(g) && (m || (b.isImage(g) ? m image : b.isSWF(g) ? m swf : # g.charAt(0) ? m inline : q(c) && (m html, j c)), ajax m && (l g.split(/\s+/, 2), g l.shift(), l l.shift())); j || (inline m ? g ? j f(q(g) ? g.replace(/.*(?#^\s+$)/, ) : g) : k.isDom && (j c) : html m ? j g : !m && (!g && k.isDom) && (m inline, j c)); f.extend(k, {href: g, type: m, content: j, title: h, selector: l}); ae k }), b.opts f.extend(!0, {}, b.defaults, d), d.keys ! v && (b.opts.keys d.keys ? f.extend({}, b.defaults.keys, d.keys) : !1), b.group a, b._start(b.opts.index) }, cancel: function () { var a b.coming; a && !1 ! b.trigger(onCancel) && (b.hideLoading(), b.ajaxLoad && b.ajaxLoad.abort(), b.ajaxLoad null, b.imgPreload && (b.imgPreload.onload b.imgPreload.onerror null), a.wrap && a.wrap.stop(!0, !0).trigger(onReset).remove(), b.coming null, b.current || b._afterZoomOut(a)) }, close: function (a) { b.cancel(); !1 ! b.trigger(beforeClose) && (b.unbindEvents(), b.isActive && (!b.isOpen || !0 a ? (f(.fancybox-wrap).stop(!0).trigger(onReset).remove(), b._afterZoomOut()) : (b.isOpen b.isOpened !1, b.isClosing !0, f(.fancybox-item, .fancybox-nav).remove(), b.wrap.stop(!0, !0).removeClass(fancybox-opened), b.transitionsb.current.closeMethod()))) }, play: function (a) { var d function () { clearTimeout(b.player.timer) }, e function () { d(); b.current && b.player.isActive && (b.player.timer setTimeout(b.next, b.current.playSpeed)) }, c function () { d(); p.unbind(.player); b.player.isActive !1; b.trigger(onPlayEnd) }; if (!0 a || !b.player.isActive && !1 ! a) { if (b.current && (b.current.loop || b.current.index b.group.length - 1)) b.player.isActive !0, p.bind({ onCancel.player beforeClose.player: c, onUpdate.player: e, beforeLoad.player: d }), e(), b.trigger(onPlayStart) } else c() }, next: function (a) { var d b.current; d && (q(a) || (a d.direction.next), b.jumpto(d.index + 1, a, next)) }, prev: function (a) { var d b.current; d && (q(a) || (a d.direction.prev), b.jumpto(d.index - 1, a, prev)) }, jumpto: function (a, d, e) { var c b.current; c && (a l(a), b.direction d || c.directiona > c.index ? next : prev, b.router e || jumpto, c.loop && (0 > a && (a c.group.length + a % c.group.length), a % c.group.length), c.groupa ! v && (b.cancel(), b._start(a))) }, reposition: function (a, d) { var e b.current, c e ? e.wrap : null, k; c && (k b._getPosition(d), a && scroll a.type ? (delete k.position, c.stop(!0, !0).animate(k, 200)) : (c.css(k), e.pos f.extend({}, e.dim, k))) }, update: function (a) { var d a && a.type, e !d || orientationchange d; e && (clearTimeout(B), B null); b.isOpen && !B && (B setTimeout(function () { var c b.current; c && !b.isClosing && (b.wrap.removeClass(fancybox-tmp), (e || load d || resize d && c.autoResize) && b._setDimension(), scroll d && c.canShrink || b.reposition(a), b.trigger(onUpdate), B null) }, e && !s ? 0 : 300)) }, toggle: function (a) { b.isOpen && (b.current.fitToView boolean f.type(a) ? a : !b.current.fitToView, s && (b.wrap.removeAttr(style).addClass(fancybox-tmp), b.trigger(onUpdate)), b.update()) }, hideLoading: function () { p.unbind(.loading); f(#fancybox-loading).remove() }, showLoading: function () { var a, d; b.hideLoading(); a f(div idfancybox-loading>div>/div>/div>).click(b.cancel).appendTo(body); p.bind(keydown.loading, function (a) { if (27 (a.which || a.keyCode)) a.preventDefault(), b.cancel() }); b.defaults.fixed || (d b.getViewport(), a.css({ position: absolute, top: 0.5 * d.h + d.y, left: 0.5 * d.w + d.x })) }, getViewport: function () { var a b.current && b.current.locked || !1, d {x: n.scrollLeft(), y: n.scrollTop()}; a ? (d.w a0.clientWidth, d.h a0.clientHeight) : (d.w s && r.innerWidth ? r.innerWidth : n.width(), d.h s && r.innerHeight ? r.innerHeight : n.height()); return d }, unbindEvents: function () { b.wrap && t(b.wrap) && b.wrap.unbind(.fb); p.unbind(.fb); n.unbind(.fb) }, bindEvents: function () { var a b.current, d; a && (n.bind(orientationchange.fb + (s ? : resize.fb) + (a.autoCenter && !a.locked ? scroll.fb : ), b.update), (d a.keys) && p.bind(keydown.fb, function (e) { var c e.which || e.keyCode, k e.target || e.srcElement; if (27 c && b.coming) return !1; !e.ctrlKey && (!e.altKey && !e.shiftKey && !e.metaKey && (!k || !k.type && !f(k).is(contenteditable))) && f.each(d, function (d, k) { if (1 a.group.length && kc ! v) return bd(kc), e.preventDefault(), !1; if (-1 f.inArray(c, k)) return bd(), e.preventDefault(), !1 }) }), f.fn.mousewheel && a.mouseWheel && b.wrap.bind(mousewheel.fb, function (d, c, k, g) { for (var h f(d.target || null), j !1; h.length && !j && !h.is(.fancybox-skin) && !h.is(.fancybox-wrap);) j h0 && !(h0.style.overflow && hidden h0.style.overflow) && (h0.clientWidth && h0.scrollWidth > h0.clientWidth || h0.clientHeight && h0.scrollHeight > h0.clientHeight), h f(h).parent(); if (0 ! c && !j && 1 b.group.length && !a.canShrink) { if (0 g || 0 k) b.prev(0 g ? down : left); else if (0 > g || 0 > k) b.next(0 > g ? up : right); d.preventDefault() } })) }, trigger: function (a, d) { var e, c d || b.coming || b.current; if (c) { f.isFunction(ca) && (e ca.apply(c, Array.prototype.slice.call(arguments, 1))); if (!1 e) return !1; c.helpers && f.each(c.helpers, function (d, e) { if (e && b.helpersd && f.isFunction(b.helpersda)) b.helpersda(f.extend(!0, {}, b.helpersd.defaults, e), c) }); p.trigger(a) } }, isImage: function (a) { return q(a) && a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i) }, isSWF: function (a) { return q(a) && a.match(/\.(swf)((\?|#).*)?$/i) }, _start: function (a) { var d {}, e, c; a l(a); e b.groupa || null; if (!e) return !1; d f.extend(!0, {}, b.opts, e); e d.margin; c d.padding; number f.type(e) && (d.margin e, e, e, e); number f.type(c) && (d.padding c, c, c, c); d.modal && f.extend(!0, d, { closeBtn: !1, closeClick: !1, nextClick: !1, arrows: !1, mouseWheel: !1, keys: null, helpers: {overlay: {closeClick: !1}} }); d.autoSize && (d.autoWidth d.autoHeight !0); auto d.width && (d.autoWidth !0); auto d.height && (d.autoHeight !0); d.group b.group; d.index a; b.coming d; if (!1 b.trigger(beforeLoad)) b.coming null; else { c d.type; e d.href; if (!c) return b.coming null, b.current && b.router && jumpto ! b.router ? (b.current.index a, bb.router(b.direction)) : !1; b.isActive !0; if (image c || swf c) d.autoHeight d.autoWidth !1, d.scrolling visible; image c && (d.aspectRatio !0); iframe c && s && (d.scrolling scroll); d.wrap f(d.tpl.wrap).addClass(fancybox- + (s ? mobile : desktop) + fancybox-type- + c + fancybox-tmp + d.wrapCSS).appendTo(d.parent || body); f.extend(d, { skin: f(.fancybox-skin, d.wrap), outer: f(.fancybox-outer, d.wrap), inner: f(.fancybox-inner, d.wrap) }); f.each(Top, Right, Bottom, Left, function (a, b) { d.skin.css(padding + b, w(d.paddinga)) }); b.trigger(onReady); if (inline c || html c) { if (!d.content || !d.content.length) return b._error(content) } else if (!e) return b._error(href); image c ? b._loadImage() : ajax c ? b._loadAjax() : iframe c ? b._loadIframe() : b._afterLoad() } }, _error: function (a) { f.extend(b.coming, { type: html, autoWidth: !0, autoHeight: !0, minWidth: 0, minHeight: 0, scrolling: no, hasError: a, content: b.coming.tpl.error }); b._afterLoad() }, _loadImage: function () { var a b.imgPreload new Image; a.onload function () { this.onload this.onerror null; b.coming.width this.width / b.opts.pixelRatio; b.coming.height this.height / b.opts.pixelRatio; b._afterLoad() }; a.onerror function () { this.onload this.onerror null; b._error(image) }; a.src b.coming.href; !0 ! a.complete && b.showLoading() }, _loadAjax: function () { var a b.coming; b.showLoading(); b.ajaxLoad f.ajax(f.extend({}, a.ajax, { url: a.href, error: function (a, e) { b.coming && abort ! e ? b._error(ajax, a) : b.hideLoading() }, success: function (d, e) { success e && (a.content d, b._afterLoad()) } })) }, _loadIframe: function () { var a b.coming, d f(a.tpl.iframe.replace(/\{rnd\}/g, (new Date).getTime())).attr(scrolling, s ? auto : a.iframe.scrolling).attr(src, a.href); f(a.wrap).bind(onReset, function () { try { f(this).find(iframe).hide().attr(src, //about:blank).end().empty() } catch (a) { } }); a.iframe.preload && (b.showLoading(), d.one(load, function () { f(this).data(ready, 1); s || f(this).bind(load.fb, b.update); f(this).parents(.fancybox-wrap).width(100%).removeClass(fancybox-tmp).show(); b._afterLoad() })); a.content d.appendTo(a.inner); a.iframe.preload || b._afterLoad() }, _preloadImages: function () { var a b.group, d b.current, e a.length, c d.preload ? Math.min(d.preload, e - 1) : 0, f, g; for (g 1; g c; g + 1) f a(d.index + g) % e, image f.type && f.href && ((new Image).src f.href) }, _afterLoad: function () { var a b.coming, d b.current, e, c, k, g, h; b.hideLoading(); if (a && !1 ! b.isActive) if (!1 b.trigger(afterLoad, a, d)) a.wrap.stop(!0).trigger(onReset).remove(), b.coming null; else { d && (b.trigger(beforeChange, d), d.wrap.stop(!0).removeClass(fancybox-opened).find(.fancybox-item, .fancybox-nav).remove()); b.unbindEvents(); e a.content; c a.type; k a.scrolling; f.extend(b, {wrap: a.wrap, skin: a.skin, outer: a.outer, inner: a.inner, current: a, previous: d}); g a.href; switch (c) { case inline: case ajax: case html: a.selector ? e f(div>).html(e).find(a.selector) : t(e) && (e.data(fancybox-placeholder) || e.data(fancybox-placeholder, f(div classfancybox-placeholder>/div>).insertAfter(e).hide()), e e.show().detach(), a.wrap.bind(onReset, function () { f(this).find(e).length && e.hide().replaceAll(e.data(fancybox-placeholder)).data(fancybox-placeholder, !1) })); break; case image: e a.tpl.image.replace({href}, g); break; case swf: e object idfancybox-swf classidclsid:D27CDB6E-AE6D-11cf-96B8-444553540000 width100% height100%>param namemovie value + g + >/param>, h , f.each(a.swf, function (a, b) { e + param name + a + value + b + >/param>; h + + a + + b + }), e + embed src + g + typeapplication/x-shockwave-flash width100% height100% + h + >/embed>/object> } (!t(e) || !e.parent().is(a.inner)) && a.inner.append(e); b.trigger(beforeShow); a.inner.css(overflow, yes k ? scroll : no k ? hidden : k); b._setDimension(); b.reposition(); b.isOpen !1; b.coming null; b.bindEvents(); if (b.isOpened) { if (d.prevMethod) b.transitionsd.prevMethod() } else f(.fancybox-wrap).not(a.wrap).stop(!0).trigger(onReset).remove(); b.transitionsb.isOpened ? a.nextMethod : a.openMethod(); b._preloadImages() } }, _setDimension: function () { var a b.getViewport(), d 0, e !1, c !1, e b.wrap, k b.skin, g b.inner, h b.current, c h.width, j h.height, m h.minWidth, u h.minHeight, n h.maxWidth, p h.maxHeight, s h.scrolling, q h.scrollOutside ? h.scrollbarWidth : 0, x h.margin, y l(x1 + x3), r l(x0 + x2), v, z, t, C, A, F, B, D, H; e.add(k).add(g).width(auto).height(auto).removeClass(fancybox-tmp); x l(k.outerWidth(!0) - k.width()); v l(k.outerHeight(!0) - k.height()); z y + x; t r + v; C E(c) ? (a.w - z) * l(c) / 100 : c; A E(j) ? (a.h - t) * l(j) / 100 : j; if (iframe h.type) { if (H h.content, h.autoHeight && 1 H.data(ready)) try { H0.contentWindow.document.location && (g.width(C).height(9999), F H.contents().find(body), q && F.css(overflow-x, hidden), A F.outerHeight(!0)) } catch (G) { } } else if (h.autoWidth || h.autoHeight) g.addClass(fancybox-tmp), h.autoWidth || g.width(C), h.autoHeight || g.height(A), h.autoWidth && (C g.width()), h.autoHeight && (A g.height()), g.removeClass(fancybox-tmp); c l(C); j l(A); D C / A; m l(E(m) ? l(m, w) - z : m); n l(E(n) ? l(n, w) - z : n); u l(E(u) ? l(u, h) - t : u); p l(E(p) ? l(p, h) - t : p); F n; B p; h.fitToView && (n Math.min(a.w - z, n), p Math.min(a.h - t, p)); z a.w - y; r a.h - r; h.aspectRatio ? (c > n && (c n, j l(c / D)), j > p && (j p, c l(j * D)), c m && (c m, j l(c / D)), j u && (j u, c l(j * D))) : (c Math.max(m, Math.min(c, n)), h.autoHeight && iframe ! h.type && (g.width(c), j g.height()), j Math.max(u, Math.min(j, p))); if (h.fitToView) if (g.width(c).height(j), e.width(c + x), a e.width(), y e.height(), h.aspectRatio) for (; (a > z || y > r) && (c > m && j > u) && !(19 d++);) j Math.max(u, Math.min(p, j - 10)), c l(j * D), c m && (c m, j l(c / D)), c > n && (c n, j l(c / D)), g.width(c).height(j), e.width(c + x), a e.width(), y e.height(); else c Math.max(m, Math.min(c, c - (a - z))), j Math.max(u, Math.min(j, j - (y - r))); q && (auto s && j A && c + x + q z) && (c + q); g.width(c).height(j); e.width(c + x); a e.width(); y e.height(); e (a > z || y > r) && c > m && j > u; c h.aspectRatio ? c F && j B && c C && j A : (c F || j B) && (c C || j A); f.extend(h, { dim: {width: w(a), height: w(y)}, origWidth: C, origHeight: A, canShrink: e, canExpand: c, wPadding: x, hPadding: v, wrapSpace: y - k.outerHeight(!0), skinSpace: k.height() - j }); !H && (h.autoHeight && j > u && j p && !c) && g.height(auto) }, _getPosition: function (a) { var d b.current, e b.getViewport(), c d.margin, f b.wrap.width() + c1 + c3, g b.wrap.height() + c0 + c2, c {position: absolute, top: c0, left: c3}; d.autoCenter && d.fixed && !a && g e.h && f e.w ? c.position fixed : d.locked || (c.top + e.y, c.left + e.x); c.top w(Math.max(c.top, c.top + (e.h - g) * d.topRatio)); c.left w(Math.max(c.left, c.left + (e.w - f) * d.leftRatio)); return c }, _afterZoomIn: function () { var a b.current; a && (b.isOpen b.isOpened !0, b.wrap.css(overflow, visible).addClass(fancybox-opened), b.update(), (a.closeClick || a.nextClick && 1 b.group.length) && b.inner.css(cursor, pointer).bind(click.fb, function (d) { !f(d.target).is(a) && !f(d.target).parent().is(a) && (d.preventDefault(), ba.closeClick ? close : next()) }), a.closeBtn && f(a.tpl.closeBtn).appendTo(b.skin).bind(click.fb, function (a) { a.preventDefault(); b.close() }), a.arrows && 1 b.group.length && ((a.loop || 0 a.index) && f(a.tpl.prev).appendTo(b.outer).bind(click.fb, b.prev), (a.loop || a.index b.group.length - 1) && f(a.tpl.next).appendTo(b.outer).bind(click.fb, b.next)), b.trigger(afterShow), !a.loop && a.index a.group.length - 1 ? b.play(!1) : b.opts.autoPlay && !b.player.isActive && (b.opts.autoPlay !1, b.play())) }, _afterZoomOut: function (a) { a a || b.current; f(.fancybox-wrap).trigger(onReset).remove(); f.extend(b, { group: {}, opts: {}, router: !1, current: null, isActive: !1, isOpened: !1, isOpen: !1, isClosing: !1, wrap: null, skin: null, outer: null, inner: null }); b.trigger(afterClose, a) } }); b.transitions { getOrigPosition: function () { var a b.current, d a.element, e a.orig, c {}, f 50, g 50, h a.hPadding, j a.wPadding, m b.getViewport(); !e && (a.isDom && d.is(:visible)) && (e d.find(img:first), e.length || (e d)); t(e) ? (c e.offset(), e.is(img) && (f e.outerWidth(), g e.outerHeight())) : (c.top m.y + (m.h - g) * a.topRatio, c.left m.x + (m.w - f) * a.leftRatio); if (fixed b.wrap.css(position) || a.locked) c.top - m.y, c.left - m.x; return c { top: w(c.top - h * a.topRatio), left: w(c.left - j * a.leftRatio), width: w(f + j), height: w(g + h) } }, step: function (a, d) { var e, c, f d.prop; c b.current; var g c.wrapSpace, h c.skinSpace; if (width f || height f) e d.end d.start ? 1 : (a - d.start) / (d.end - d.start), b.isClosing && (e 1 - e), c width f ? c.wPadding : c.hPadding, c a - c, b.skinf(l(width f ? c : c - g * e)), b.innerf(l(width f ? c : c - g * e - h * e)) }, zoomIn: function () { var a b.current, d a.pos, e a.openEffect, c elastic e, k f.extend({opacity: 1}, d); delete k.position; c ? (d this.getOrigPosition(), a.openOpacity && (d.opacity 0.1)) : fade e && (d.opacity 0.1); b.wrap.css(d).animate(k, { duration: none e ? 0 : a.openSpeed, easing: a.openEasing, step: c ? this.step : null, complete: b._afterZoomIn }) }, zoomOut: function () { var a b.current, d a.closeEffect, e elastic d, c {opacity: 0.1}; e && (c this.getOrigPosition(), a.closeOpacity && (c.opacity 0.1)); b.wrap.animate(c, { duration: none d ? 0 : a.closeSpeed, easing: a.closeEasing, step: e ? this.step : null, complete: b._afterZoomOut }) }, changeIn: function () { var a b.current, d a.nextEffect, e a.pos, c {opacity: 1}, f b.direction, g; e.opacity 0.1; elastic d && (g down f || up f ? top : left, down f || right f ? (eg w(l(eg) - 200), cg +200px) : (eg w(l(eg) + 200), cg -200px)); none d ? b._afterZoomIn() : b.wrap.css(e).animate(c, { duration: a.nextSpeed, easing: a.nextEasing, complete: b._afterZoomIn }) }, changeOut: function () { var a b.previous, d a.prevEffect, e {opacity: 0.1}, c b.direction; elastic d && (edown c || up c ? top : left (up c || left c ? - : +) + 200px); a.wrap.animate(e, { duration: none d ? 0 : a.prevSpeed, easing: a.prevEasing, complete: function () { f(this).trigger(onReset).remove() } }) } }; b.helpers.overlay { defaults: {closeClick: !0, speedOut: 200, showEarly: !0, css: {}, locked: !s, fixed: !0}, overlay: null, fixed: !1, el: f(html), create: function (a) { a f.extend({}, this.defaults, a); this.overlay && this.close(); this.overlay f(div classfancybox-overlay>/div>).appendTo(b.coming ? b.coming.parent : a.parent); this.fixed !1; a.fixed && b.defaults.fixed && (this.overlay.addClass(fancybox-overlay-fixed), this.fixed !0) }, open: function (a) { var d this; a f.extend({}, this.defaults, a); this.overlay ? this.overlay.unbind(.overlay).width(auto).height(auto) : this.create(a); this.fixed || (n.bind(resize.overlay, f.proxy(this.update, this)), this.update()); a.closeClick && this.overlay.bind(click.overlay, function (a) { if (f(a.target).hasClass(fancybox-overlay)) return b.isActive ? b.close() : d.close(), !1 }); this.overlay.css(a.css).show() }, close: function () { var a, b; n.unbind(resize.overlay); this.el.hasClass(fancybox-lock) && (f(.fancybox-margin).removeClass(fancybox-margin), a n.scrollTop(), b n.scrollLeft(), this.el.removeClass(fancybox-lock), n.scrollTop(a).scrollLeft(b)); f(.fancybox-overlay).remove().hide(); f.extend(this, {overlay: null, fixed: !1}) }, update: function () { var a 100%, b; this.overlay.width(a).height(100%); I ? (b Math.max(G.documentElement.offsetWidth, G.body.offsetWidth), p.width() > b && (a p.width())) : p.width() > n.width() && (a p.width()); this.overlay.width(a).height(p.height()) }, onReady: function (a, b) { var e this.overlay; f(.fancybox-overlay).stop(!0, !0); e || this.create(a); a.locked && (this.fixed && b.fixed) && (e || (this.margin p.height() > n.height() ? f(html).css(margin-right).replace(px, ) : !1), b.locked this.overlay.append(b.wrap), b.fixed !1); !0 a.showEarly && this.beforeShow.apply(this, arguments) }, beforeShow: function (a, b) { var e, c; b.locked && (!1 ! this.margin && (f(*:not(object)).filter(function () { return fixed f(this).css(position) && !f(this).hasClass(fancybox-overlay) && !f(this).hasClass(fancybox-wrap) }).addClass(fancybox-margin), this.el.addClass(fancybox-margin)), e n.scrollTop(), c n.scrollLeft(), this.el.addClass(fancybox-lock), n.scrollTop(e).scrollLeft(c)); this.open(a) }, onUpdate: function () { this.fixed || this.update() }, afterClose: function (a) { this.overlay && !b.coming && this.overlay.fadeOut(a.speedOut, f.proxy(this.close, this)) } }; b.helpers.title { defaults: {type: float, position: bottom}, beforeShow: function (a) { var d b.current, e d.title, c a.type; f.isFunction(e) && (e e.call(d.element, d)); if (q(e) && ! f.trim(e)) { d f(div classfancybox-title fancybox-title- + c + -wrap> + e + /div>); switch (c) { case inside: c b.skin; break; case outside: c b.wrap; break; case over: c b.inner; break; default: c b.skin, d.appendTo(body), I && d.width(d.width()), d.wrapInner(span classchild>/span>), b.current.margin2 + Math.abs(l(d.css(margin-bottom))) } dtop a.position ? prependTo : appendTo(c) } } }; f.fn.fancybox function (a) { var d, e f(this), c this.selector || , k function (g) { var h f(this).blur(), j d, k, l; !g.ctrlKey && (!g.altKey && !g.shiftKey && !g.metaKey) && !h.is(.fancybox-wrap) && (k a.groupAttr || data-fancybox-group, l h.attr(k), l || (k rel, l h.get(0)k), l && ( ! l && nofollow ! l) && (h c.length ? f(c) : e, h h.filter( + k + + l + ), j h.index(this)), a.index j, !1 ! b.open(h, a) && g.preventDefault()) }; a a || {}; d a.index || 0; !c || !1 a.live ? e.unbind(click.fb-start).bind(click.fb-start, k) : p.undelegate(c, click.fb-start).delegate(c + :not(.fancybox-item, .fancybox-nav), click.fb-start, k); this.filter(data-fancybox-start1).trigger(click); return this }; p.ready(function () { var a, d; f.scrollbarWidth v && (f.scrollbarWidth function () { var a f(div stylewidth:50px;height:50px;overflow:auto>div/>/div>).appendTo(body), b a.children(), b b.innerWidth() - b.height(99).innerWidth(); a.remove(); return b }); if (f.support.fixedPosition v) { a f.support; d f(div styleposition:fixed;top:20px;>/div>).appendTo(body); var e 20 d0.offsetTop || 15 d0.offsetTop; d.remove(); a.fixedPosition e } f.extend(b.defaults, {scrollbarWidth: f.scrollbarWidth(), fixed: f.support.fixedPosition, parent: f(body)}); a f(r).width(); J.addClass(fancybox-lock-test); d f(r).width(); J.removeClass(fancybox-lock-test); f(style typetext/css>.fancybox-margin{margin-right: + (d - a) + px;}/style>).appendTo(head) })})(window, document, jQuery);/script>script>(function($) {var __sliceArray.prototype.slice;var i18n{dict:null,load:function(i18n_dict){if(this.dict!null){$.extend(this.dict,i18n_dict);}else{this.dicti18n_dict;}},_:function(str) {dictthis.dict;if(dict&&dict.hasOwnProperty(str)){strdictstr;}args__slice.call(arguments);args0str;return this.printf.apply(this, args);},printf:function(str,args){if(arguments.length2)return str;args$.isArray(args)?args:__slice.call(arguments,1);return str.replace(/(^%|^)%(?:(\d+)\$)?s/g,function(p0,p,position){if(position){return p+argsparseInt(position)-1;}return p+args.shift();}).replace(/%%s/g,%s);}};$.fn._tfunction(str,params){return $(this).html(i18n._.apply(i18n,arguments));};$.i18ni18n;})(jQuery);/script>script>(function( $, undefined ) {var uuid 0, runiqueId /^ui-id-\d+$/;$.ui $.ui || {};$.extend( $.ui, { version: 1.10.4, keyCode: { BACKSPACE: 8, COMMA: 188, DELETE: 46, DOWN: 40, END: 35, ENTER: 13, ESCAPE: 27, HOME: 36, LEFT: 37, NUMPAD_ADD: 107, NUMPAD_DECIMAL: 110, NUMPAD_DIVIDE: 111, NUMPAD_ENTER: 108, NUMPAD_MULTIPLY: 106, NUMPAD_SUBTRACT: 109, PAGE_DOWN: 34, PAGE_UP: 33, PERIOD: 190, RIGHT: 39, SPACE: 32, TAB: 9, UP: 38 }});$.fn.extend({ focus: (function( orig ) { return function( delay, fn ) { return typeof delay number ? this.each(function() { var elem this; setTimeout(function() { $( elem ).focus(); if ( fn ) { fn.call( elem ); } }, delay ); }) : orig.apply( this, arguments ); }; })( $.fn.focus ), scrollParent: function() { var scrollParent; if (($.ui.ie && (/(static|relative)/).test(this.css(position))) || (/absolute/).test(this.css(position))) { scrollParent this.parents().filter(function() { return (/(relative|absolute|fixed)/).test($.css(this,position)) && (/(auto|scroll)/).test($.css(this,overflow)+$.css(this,overflow-y)+$.css(this,overflow-x)); }).eq(0); } else { scrollParent this.parents().filter(function() { return (/(auto|scroll)/).test($.css(this,overflow)+$.css(this,overflow-y)+$.css(this,overflow-x)); }).eq(0); } return (/fixed/).test(this.css(position)) || !scrollParent.length ? $(document) : scrollParent; }, zIndex: function( zIndex ) { if ( zIndex ! undefined ) { return this.css( zIndex, zIndex ); } if ( this.length ) { var elem $( this 0 ), position, value; while ( elem.length && elem 0 ! document ) { position elem.css( position ); if ( position absolute || position relative || position fixed ) { value parseInt( elem.css( zIndex ), 10 ); if ( !isNaN( value ) && value ! 0 ) { return value; } } elem elem.parent(); } } return 0; }, uniqueId: function() { return this.each(function() { if ( !this.id ) { this.id ui-id- + (++uuid); } }); }, removeUniqueId: function() { return this.each(function() { if ( runiqueId.test( this.id ) ) { $( this ).removeAttr( id ); } }); }});function focusable( element, isTabIndexNotNaN ) { var map, mapName, img, nodeName element.nodeName.toLowerCase(); if ( area nodeName ) { map element.parentNode; mapName map.name; if ( !element.href || !mapName || map.nodeName.toLowerCase() ! map ) { return false; } img $( imgusemap# + mapName + )0; return !!img && visible( img ); } return ( /input|select|textarea|button|object/.test( nodeName ) ? !element.disabled : a nodeName ? element.href || isTabIndexNotNaN : isTabIndexNotNaN) && // the element and all of its ancestors must be visible visible( element );}function visible( element ) { return $.expr.filters.visible( element ) && !$( element ).parents().addBack().filter(function() { return $.css( this, visibility ) hidden; }).length;}$.extend( $.expr : , { data: $.expr.createPseudo ? $.expr.createPseudo(function( dataName ) { return function( elem ) { return !!$.data( elem, dataName ); }; }) : function( elem, i, match ) { return !!$.data( elem, match 3 ); }, focusable: function( element ) { return focusable( element, !isNaN( $.attr( element, tabindex ) ) ); }, tabbable: function( element ) { var tabIndex $.attr( element, tabindex ), isTabIndexNaN isNaN( tabIndex ); return ( isTabIndexNaN || tabIndex > 0 ) && focusable( element, !isTabIndexNaN ); }});if ( !$( a> ).outerWidth( 1 ).jquery ) { $.each( Width, Height , function( i, name ) { var side name Width ? Left, Right : Top, Bottom , type name.toLowerCase(), orig { innerWidth: $.fn.innerWidth, innerHeight: $.fn.innerHeight, outerWidth: $.fn.outerWidth, outerHeight: $.fn.outerHeight }; function reduce( elem, size, border, margin ) { $.each( side, function() { size - parseFloat( $.css( elem, padding + this ) ) || 0; if ( border ) { size - parseFloat( $.css( elem, border + this + Width ) ) || 0; } if ( margin ) { size - parseFloat( $.css( elem, margin + this ) ) || 0; } }); return size; } $.fn inner + name function( size ) { if ( size undefined ) { return orig inner + name .call( this ); } return this.each(function() { $( this ).css( type, reduce( this, size ) + px ); }); }; $.fn outer + name function( size, margin ) { if ( typeof size ! number ) { return orig outer + name .call( this, size ); } return this.each(function() { $( this).css( type, reduce( this, size, true, margin ) + px ); }); }; });}if ( !$.fn.addBack ) { $.fn.addBack function( selector ) { return this.add( selector null ? this.prevObject : this.prevObject.filter( selector ) ); };}if ( $( a> ).data( a-b, a ).removeData( a-b ).data( a-b ) ) { $.fn.removeData (function( removeData ) { return function( key ) { if ( arguments.length ) { return removeData.call( this, $.camelCase( key ) ); } else { return removeData.call( this ); } }; })( $.fn.removeData );}$.ui.ie !!/msie \w.+/.exec( navigator.userAgent.toLowerCase() );$.support.selectstart onselectstart in document.createElement( div );$.fn.extend({ disableSelection: function() { return this.bind( ( $.support.selectstart ? selectstart : mousedown ) + .ui-disableSelection, function( event ) { event.preventDefault(); }); }, enableSelection: function() { return this.unbind( .ui-disableSelection ); }});$.extend( $.ui, { plugin: { add: function( module, option, set ) { var i, proto $.ui module .prototype; for ( i in set ) { proto.plugins i proto.plugins i || ; proto.plugins i .push( option, set i ); } }, call: function( instance, name, args ) { var i, set instance.plugins name ; if ( !set || !instance.element 0 .parentNode || instance.element 0 .parentNode.nodeType 11 ) { return; } for ( i 0; i set.length; i++ ) { if ( instance.options set i 0 ) { set i 1 .apply( instance.element, args ); } } } }, hasScroll: function( el, a ) { //If overflow is hidden, the element might have extra content, but the user wants to hide it if ( $( el ).css( overflow ) hidden) { return false; } var scroll ( a && a left ) ? scrollLeft : scrollTop, has false; if ( el scroll > 0 ) { return true; } el scroll 1; has ( el scroll > 0 ); el scroll 0; return has; }});})( jQuery );(function( $, undefined ) {var uuid 0, slice Array.prototype.slice, _cleanData $.cleanData;$.cleanData function( elems ) { for ( var i 0, elem; (elem elemsi) ! null; i++ ) { try { $( elem ).triggerHandler( remove ); } catch( e ) {} } _cleanData( elems );};$.widget function( name, base, prototype ) { var fullName, existingConstructor, constructor, basePrototype, proxiedPrototype {}, namespace name.split( . ) 0 ; name name.split( . ) 1 ; fullName namespace + - + name; if ( !prototype ) { prototype base; base $.Widget; } $.expr : fullName.toLowerCase() function( elem ) { return !!$.data( elem, fullName ); }; $ namespace $ namespace || {}; existingConstructor $ namespace name ; constructor $ namespace name function( options, element ) { if ( !this._createWidget ) { return new constructor( options, element ); } if ( arguments.length ) { this._createWidget( options, element ); } }; $.extend( constructor, existingConstructor, { version: prototype.version, _proto: $.extend( {}, prototype ), _childConstructors: }); basePrototype new base(); basePrototype.options $.widget.extend( {}, basePrototype.options ); $.each( prototype, function( prop, value ) { if ( !$.isFunction( value ) ) { proxiedPrototype prop value; return; } proxiedPrototype prop (function() { var _super function() { return base.prototype prop .apply( this, arguments ); }, _superApply function( args ) { return base.prototype prop .apply( this, args ); }; return function() { var __super this._super, __superApply this._superApply, returnValue; this._super _super; this._superApply _superApply; returnValue value.apply( this, arguments ); this._super __super; this._superApply __superApply; return returnValue; }; })(); }); constructor.prototype $.widget.extend( basePrototype, { widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name }, proxiedPrototype, { constructor: constructor, namespace: namespace, widgetName: name, widgetFullName: fullName }); if ( existingConstructor ) { $.each( existingConstructor._childConstructors, function( i, child ) { var childPrototype child.prototype; $.widget( childPrototype.namespace + . + childPrototype.widgetName, constructor, child._proto ); }); delete existingConstructor._childConstructors; } else { base._childConstructors.push( constructor ); } $.widget.bridge( name, constructor );};$.widget.extend function( target ) { var input slice.call( arguments, 1 ), inputIndex 0, inputLength input.length, key, value; for ( ; inputIndex inputLength; inputIndex++ ) { for ( key in input inputIndex ) { value input inputIndex key ; if ( input inputIndex .hasOwnProperty( key ) && value ! undefined ) { if ( $.isPlainObject( value ) ) { target key $.isPlainObject( target key ) ? $.widget.extend( {}, target key , value ) : $.widget.extend( {}, value ); } else { target key value; } } } } return target;};$.widget.bridge function( name, object ) { var fullName object.prototype.widgetFullName || name; $.fn name function( options ) { var isMethodCall typeof options string, args slice.call( arguments, 1 ), returnValue this; options !isMethodCall && args.length ? $.widget.extend.apply( null, options .concat(args) ) : options; if ( isMethodCall ) { this.each(function() { var methodValue, instance $.data( this, fullName ); if ( !instance ) { return $.error( cannot call methods on + name + prior to initialization; + attempted to call method + options + ); } if ( !$.isFunction( instanceoptions ) || options.charAt( 0 ) _ ) { return $.error( no such method + options + for + name + widget instance ); } methodValue instance options .apply( instance, args ); if ( methodValue ! instance && methodValue ! undefined ) { returnValue methodValue && methodValue.jquery ? returnValue.pushStack( methodValue.get() ) : methodValue; return false; } }); } else { this.each(function() { var instance $.data( this, fullName ); if ( instance ) { instance.option( options || {} )._init(); } else { $.data( this, fullName, new object( options, this ) ); } }); } return returnValue; };};$.Widget function() {};$.Widget._childConstructors ;$.Widget.prototype { widgetName: widget, widgetEventPrefix: , defaultElement: div>, options: { disabled: false, create: null }, _createWidget: function( options, element ) { element $( element || this.defaultElement || this ) 0 ; this.element $( element ); this.uuid uuid++; this.eventNamespace . + this.widgetName + this.uuid; this.options $.widget.extend( {}, this.options, this._getCreateOptions(), options ); this.bindings $(); this.hoverable $(); this.focusable $(); if ( element ! this ) { $.data( element, this.widgetFullName, this ); this._on( true, this.element, { remove: function( event ) { if ( event.target element ) { this.destroy(); } } }); this.document $( element.style ? element.ownerDocument : element.document || element ); this.window $( this.document0.defaultView || this.document0.parentWindow ); } this._create(); this._trigger( create, null, this._getCreateEventData() ); this._init(); }, _getCreateOptions: $.noop, _getCreateEventData: $.noop, _create: $.noop, _init: $.noop, destroy: function() { this._destroy(); this.element .unbind( this.eventNamespace ) .removeData( this.widgetName ) .removeData( this.widgetFullName ) .removeData( $.camelCase( this.widgetFullName ) ); this.widget() .unbind( this.eventNamespace ) .removeAttr( aria-disabled ) .removeClass( this.widgetFullName + -disabled + ui-state-disabled ); this.bindings.unbind( this.eventNamespace ); this.hoverable.removeClass( ui-state-hover ); this.focusable.removeClass( ui-state-focus ); }, _destroy: $.noop, widget: function() { return this.element; }, option: function( key, value ) { var options key, parts, curOption, i; if ( arguments.length 0 ) { return $.widget.extend( {}, this.options ); } if ( typeof key string ) { options {}; parts key.split( . ); key parts.shift(); if ( parts.length ) { curOption options key $.widget.extend( {}, this.options key ); for ( i 0; i parts.length - 1; i++ ) { curOption parts i curOption parts i || {}; curOption curOption parts i ; } key parts.pop(); if ( arguments.length 1 ) { return curOption key undefined ? null : curOption key ; } curOption key value; } else { if ( arguments.length 1 ) { return this.options key undefined ? null : this.options key ; } options key value; } } this._setOptions( options ); return this; }, _setOptions: function( options ) { var key; for ( key in options ) { this._setOption( key, options key ); } return this; }, _setOption: function( key, value ) { this.options key value; if ( key disabled ) { this.widget() .toggleClass( this.widgetFullName + -disabled ui-state-disabled, !!value ) .attr( aria-disabled, value ); this.hoverable.removeClass( ui-state-hover ); this.focusable.removeClass( ui-state-focus ); } return this; }, enable: function() { return this._setOption( disabled, false ); }, disable: function() { return this._setOption( disabled, true ); }, _on: function( suppressDisabledCheck, element, handlers ) { var delegateElement, instance this; if ( typeof suppressDisabledCheck ! boolean ) { handlers element; element suppressDisabledCheck; suppressDisabledCheck false; } if ( !handlers ) { handlers element; element this.element; delegateElement this.widget(); } else { element delegateElement $( element ); this.bindings this.bindings.add( element ); } $.each( handlers, function( event, handler ) { function handlerProxy() { if ( !suppressDisabledCheck && ( instance.options.disabled true || $( this ).hasClass( ui-state-disabled ) ) ) { return; } return ( typeof handler string ? instance handler : handler ) .apply( instance, arguments ); } if ( typeof handler ! string ) { handlerProxy.guid handler.guid handler.guid || handlerProxy.guid || $.guid++; } var match event.match( /^(\w+)\s*(.*)$/ ), eventName match1 + instance.eventNamespace, selector match2; if ( selector ) { delegateElement.delegate( selector, eventName, handlerProxy ); } else { element.bind( eventName, handlerProxy ); } }); }, _off: function( element, eventName ) { eventName (eventName || ).split( ).join( this.eventNamespace + ) + this.eventNamespace; element.unbind( eventName ).undelegate( eventName ); }, _delay: function( handler, delay ) { function handlerProxy() { return ( typeof handler string ? instance handler : handler ) .apply( instance, arguments ); } var instance this; return setTimeout( handlerProxy, delay || 0 ); }, _hoverable: function( element ) { this.hoverable this.hoverable.add( element ); this._on( element, { mouseenter: function( event ) { $( event.currentTarget ).addClass( ui-state-hover ); }, mouseleave: function( event ) { $( event.currentTarget ).removeClass( ui-state-hover ); } }); }, _focusable: function( element ) { this.focusable this.focusable.add( element ); this._on( element, { focusin: function( event ) { $( event.currentTarget ).addClass( ui-state-focus ); }, focusout: function( event ) { $( event.currentTarget ).removeClass( ui-state-focus ); } }); }, _trigger: function( type, event, data ) { var prop, orig, callback this.options type ; data data || {}; event $.Event( event ); event.type ( type this.widgetEventPrefix ? type : this.widgetEventPrefix + type ).toLowerCase(); event.target this.element 0 ; orig event.originalEvent; if ( orig ) { for ( prop in orig ) { if ( !( prop in event ) ) { event prop orig prop ; } } } this.element.trigger( event, data ); return !( $.isFunction( callback ) && callback.apply( this.element0, event .concat( data ) ) false || event.isDefaultPrevented() ); }};$.each( { show: fadeIn, hide: fadeOut }, function( method, defaultEffect ) { $.Widget.prototype _ + method function( element, options, callback ) { if ( typeof options string ) { options { effect: options }; } var hasOptions, effectName !options ? method : options true || typeof options number ? defaultEffect : options.effect || defaultEffect; options options || {}; if ( typeof options number ) { options { duration: options }; } hasOptions !$.isEmptyObject( options ); options.complete callback; if ( options.delay ) { element.delay( options.delay ); } if ( hasOptions && $.effects && $.effects.effect effectName ) { element method ( options ); } else if ( effectName ! method && element effectName ) { element effectName ( options.duration, options.easing, callback ); } else { element.queue(function( next ) { $( this ) method (); if ( callback ) { callback.call( element 0 ); } next(); }); } };});})( jQuery );(function( $, undefined ) {var mouseHandled false;$( document ).mouseup( function() { mouseHandled false;});$.widget(ui.mouse, { version: 1.10.4, options: { cancel: input,textarea,button,select,option, distance: 1, delay: 0 }, _mouseInit: function() { var that this; this.element .bind(mousedown.+this.widgetName, function(event) { return that._mouseDown(event); }) .bind(click.+this.widgetName, function(event) { if (true $.data(event.target, that.widgetName + .preventClickEvent)) { $.removeData(event.target, that.widgetName + .preventClickEvent); event.stopImmediatePropagation(); return false; } }); this.started false; }, _mouseDestroy: function() { this.element.unbind(.+this.widgetName); if ( this._mouseMoveDelegate ) { $(document) .unbind(mousemove.+this.widgetName, this._mouseMoveDelegate) .unbind(mouseup.+this.widgetName, this._mouseUpDelegate); } }, _mouseDown: function(event) { if( mouseHandled ) { return; } (this._mouseStarted && this._mouseUp(event)); this._mouseDownEvent event; var that this, btnIsLeft (event.which 1), elIsCancel (typeof this.options.cancel string && event.target.nodeName ? $(event.target).closest(this.options.cancel).length : false); if (!btnIsLeft || elIsCancel || !this._mouseCapture(event)) { return true; } this.mouseDelayMet !this.options.delay; if (!this.mouseDelayMet) { this._mouseDelayTimer setTimeout(function() { that.mouseDelayMet true; }, this.options.delay); } if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) { this._mouseStarted (this._mouseStart(event) ! false); if (!this._mouseStarted) { event.preventDefault(); return true; } } if (true $.data(event.target, this.widgetName + .preventClickEvent)) { $.removeData(event.target, this.widgetName + .preventClickEvent); } this._mouseMoveDelegate function(event) { return that._mouseMove(event); }; this._mouseUpDelegate function(event) { return that._mouseUp(event); }; $(document) .bind(mousemove.+this.widgetName, this._mouseMoveDelegate) .bind(mouseup.+this.widgetName, this._mouseUpDelegate); event.preventDefault(); mouseHandled true; return true; }, _mouseMove: function(event) { if ($.ui.ie && ( !document.documentMode || document.documentMode 9 ) && !event.button) { return this._mouseUp(event); } if (this._mouseStarted) { this._mouseDrag(event); return event.preventDefault(); } if (this._mouseDistanceMet(event) && this._mouseDelayMet(event)) { this._mouseStarted (this._mouseStart(this._mouseDownEvent, event) ! false); (this._mouseStarted ? this._mouseDrag(event) : this._mouseUp(event)); } return !this._mouseStarted; }, _mouseUp: function(event) { $(document) .unbind(mousemove.+this.widgetName, this._mouseMoveDelegate) .unbind(mouseup.+this.widgetName, this._mouseUpDelegate); if (this._mouseStarted) { this._mouseStarted false; if (event.target this._mouseDownEvent.target) { $.data(event.target, this.widgetName + .preventClickEvent, true); } this._mouseStop(event); } return false; }, _mouseDistanceMet: function(event) { return (Math.max( Math.abs(this._mouseDownEvent.pageX - event.pageX), Math.abs(this._mouseDownEvent.pageY - event.pageY) ) > this.options.distance ); }, _mouseDelayMet: function(/* event */) { return this.mouseDelayMet; }, _mouseStart: function(/* event */) {}, _mouseDrag: function(/* event */) {}, _mouseStop: function(/* event */) {}, _mouseCapture: function(/* event */) { return true; }});})(jQuery);(function( $, undefined ) {$.ui $.ui || {};var cachedScrollbarWidth, max Math.max, abs Math.abs, round Math.round, rhorizontal /left|center|right/, rvertical /top|center|bottom/, roffset /\+\-\d+(\.\d+)?%?/, rposition /^\w+/, rpercent /%$/, _position $.fn.position;function getOffsets( offsets, width, height ) { return parseFloat( offsets 0 ) * ( rpercent.test( offsets 0 ) ? width / 100 : 1 ), parseFloat( offsets 1 ) * ( rpercent.test( offsets 1 ) ? height / 100 : 1 ) ;}function parseCss( element, property ) { return parseInt( $.css( element, property ), 10 ) || 0;}function getDimensions( elem ) { var raw elem0; if ( raw.nodeType 9 ) { return { width: elem.width(), height: elem.height(), offset: { top: 0, left: 0 } }; } if ( $.isWindow( raw ) ) { return { width: elem.width(), height: elem.height(), offset: { top: elem.scrollTop(), left: elem.scrollLeft() } }; } if ( raw.preventDefault ) { return { width: 0, height: 0, offset: { top: raw.pageY, left: raw.pageX } }; } return { width: elem.outerWidth(), height: elem.outerHeight(), offset: elem.offset() };}$.position { scrollbarWidth: function() { if ( cachedScrollbarWidth ! undefined ) { return cachedScrollbarWidth; } var w1, w2, div $( div styledisplay:block;position:absolute;width:50px;height:50px;overflow:hidden;>div styleheight:100px;width:auto;>/div>/div> ), innerDiv div.children()0; $( body ).append( div ); w1 innerDiv.offsetWidth; div.css( overflow, scroll ); w2 innerDiv.offsetWidth; if ( w1 w2 ) { w2 div0.clientWidth; } div.remove(); return (cachedScrollbarWidth w1 - w2); }, getScrollInfo: function( within ) { var overflowX within.isWindow || within.isDocument ? : within.element.css( overflow-x ), overflowY within.isWindow || within.isDocument ? : within.element.css( overflow-y ), hasOverflowX overflowX scroll || ( overflowX auto && within.width within.element0.scrollWidth ), hasOverflowY overflowY scroll || ( overflowY auto && within.height within.element0.scrollHeight ); return { width: hasOverflowY ? $.position.scrollbarWidth() : 0, height: hasOverflowX ? $.position.scrollbarWidth() : 0 }; }, getWithinInfo: function( element ) { var withinElement $( element || window ), isWindow $.isWindow( withinElement0 ), isDocument !!withinElement 0 && withinElement 0 .nodeType 9; return { element: withinElement, isWindow: isWindow, isDocument: isDocument, offset: withinElement.offset() || { left: 0, top: 0 }, scrollLeft: withinElement.scrollLeft(), scrollTop: withinElement.scrollTop(), width: isWindow ? withinElement.width() : withinElement.outerWidth(), height: isWindow ? withinElement.height() : withinElement.outerHeight() }; }};$.fn.position function( options ) { if ( !options || !options.of ) { return _position.apply( this, arguments ); } options $.extend( {}, options ); var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions, target $( options.of ), within $.position.getWithinInfo( options.within ), scrollInfo $.position.getScrollInfo( within ), collision ( options.collision || flip ).split( ), offsets {}; dimensions getDimensions( target ); if ( target0.preventDefault ) { options.at left top; } targetWidth dimensions.width; targetHeight dimensions.height; targetOffset dimensions.offset; // clone to reuse original targetOffset later basePosition $.extend( {}, targetOffset ); $.each( my, at , function() { var pos ( options this || ).split( ), horizontalOffset, verticalOffset; if ( pos.length 1) { pos rhorizontal.test( pos 0 ) ? pos.concat( center ) : rvertical.test( pos 0 ) ? center .concat( pos ) : center, center ; } pos 0 rhorizontal.test( pos 0 ) ? pos 0 : center; pos 1 rvertical.test( pos 1 ) ? pos 1 : center; horizontalOffset roffset.exec( pos 0 ); verticalOffset roffset.exec( pos 1 ); offsets this horizontalOffset ? horizontalOffset 0 : 0, verticalOffset ? verticalOffset 0 : 0 ; options this rposition.exec( pos 0 ) 0 , rposition.exec( pos 1 ) 0 ; }); if ( collision.length 1 ) { collision 1 collision 0 ; } if ( options.at 0 right ) { basePosition.left + targetWidth; } else if ( options.at 0 center ) { basePosition.left + targetWidth / 2; } if ( options.at 1 bottom ) { basePosition.top + targetHeight; } else if ( options.at 1 center ) { basePosition.top + targetHeight / 2; } atOffset getOffsets( offsets.at, targetWidth, targetHeight ); basePosition.left + atOffset 0 ; basePosition.top + atOffset 1 ; return this.each(function() { var collisionPosition, using, elem $( this ), elemWidth elem.outerWidth(), elemHeight elem.outerHeight(), marginLeft parseCss( this, marginLeft ), marginTop parseCss( this, marginTop ), collisionWidth elemWidth + marginLeft + parseCss( this, marginRight ) + scrollInfo.width, collisionHeight elemHeight + marginTop + parseCss( this, marginBottom ) + scrollInfo.height, position $.extend( {}, basePosition ), myOffset getOffsets( offsets.my, elem.outerWidth(), elem.outerHeight() ); if ( options.my 0 right ) { position.left - elemWidth; } else if ( options.my 0 center ) { position.left - elemWidth / 2; } if ( options.my 1 bottom ) { position.top - elemHeight; } else if ( options.my 1 center ) { position.top - elemHeight / 2; } position.left + myOffset 0 ; position.top + myOffset 1 ; if ( !$.support.offsetFractions ) { position.left round( position.left ); position.top round( position.top ); } collisionPosition { marginLeft: marginLeft, marginTop: marginTop }; $.each( left, top , function( i, dir ) { if ( $.ui.position collision i ) { $.ui.position collision i dir ( position, { targetWidth: targetWidth, targetHeight: targetHeight, elemWidth: elemWidth, elemHeight: elemHeight, collisionPosition: collisionPosition, collisionWidth: collisionWidth, collisionHeight: collisionHeight, offset: atOffset 0 + myOffset 0 , atOffset 1 + myOffset 1 , my: options.my, at: options.at, within: within, elem : elem }); } }); if ( options.using ) { using function( props ) { var left targetOffset.left - position.left, right left + targetWidth - elemWidth, top targetOffset.top - position.top, bottom top + targetHeight - elemHeight, feedback { target: { element: target, left: targetOffset.left, top: targetOffset.top, width: targetWidth, height: targetHeight }, element: { element: elem, left: position.left, top: position.top, width: elemWidth, height: elemHeight }, horizontal: right 0 ? left : left > 0 ? right : center, vertical: bottom 0 ? top : top > 0 ? bottom : middle }; if ( targetWidth elemWidth && abs( left + right ) targetWidth ) { feedback.horizontal center; } if ( targetHeight elemHeight && abs( top + bottom ) targetHeight ) { feedback.vertical middle; } if ( max( abs( left ), abs( right ) ) > max( abs( top ), abs( bottom ) ) ) { feedback.important horizontal; } else { feedback.important vertical; } options.using.call( this, props, feedback ); }; } elem.offset( $.extend( position, { using: using } ) ); });};$.ui.position { fit: { left: function( position, data ) { var within data.within, withinOffset within.isWindow ? within.scrollLeft : within.offset.left, outerWidth within.width, collisionPosLeft position.left - data.collisionPosition.marginLeft, overLeft withinOffset - collisionPosLeft, overRight collisionPosLeft + data.collisionWidth - outerWidth - withinOffset, newOverRight; if ( data.collisionWidth > outerWidth ) { if ( overLeft > 0 && overRight 0 ) { newOverRight position.left + overLeft + data.collisionWidth - outerWidth - withinOffset; position.left + overLeft - newOverRight; } else if ( overRight > 0 && overLeft 0 ) { position.left withinOffset; } else { if ( overLeft > overRight ) { position.left withinOffset + outerWidth - data.collisionWidth; } else { position.left withinOffset; } } } else if ( overLeft > 0 ) { position.left + overLeft; } else if ( overRight > 0 ) { position.left - overRight; } else { position.left max( position.left - collisionPosLeft, position.left ); } }, top: function( position, data ) { var within data.within, withinOffset within.isWindow ? within.scrollTop : within.offset.top, outerHeight data.within.height, collisionPosTop position.top - data.collisionPosition.marginTop, overTop withinOffset - collisionPosTop, overBottom collisionPosTop + data.collisionHeight - outerHeight - withinOffset, newOverBottom; if ( data.collisionHeight > outerHeight ) { if ( overTop > 0 && overBottom 0 ) { newOverBottom position.top + overTop + data.collisionHeight - outerHeight - withinOffset; position.top + overTop - newOverBottom; } else if ( overBottom > 0 && overTop 0 ) { position.top withinOffset; } else { if ( overTop > overBottom ) { position.top withinOffset + outerHeight - data.collisionHeight; } else { position.top withinOffset; } } } else if ( overTop > 0 ) { position.top + overTop; } else if ( overBottom > 0 ) { position.top - overBottom; } else { position.top max( position.top - collisionPosTop, position.top ); } } }, flip: { left: function( position, data ) { var within data.within, withinOffset within.offset.left + within.scrollLeft, outerWidth within.width, offsetLeft within.isWindow ? within.scrollLeft : within.offset.left, collisionPosLeft position.left - data.collisionPosition.marginLeft, overLeft collisionPosLeft - offsetLeft, overRight collisionPosLeft + data.collisionWidth - outerWidth - offsetLeft, myOffset data.my 0 left ? -data.elemWidth : data.my 0 right ? data.elemWidth : 0, atOffset data.at 0 left ? data.targetWidth : data.at 0 right ? -data.targetWidth : 0, offset -2 * data.offset 0 , newOverRight, newOverLeft; if ( overLeft 0 ) { newOverRight position.left + myOffset + atOffset + offset + data.collisionWidth - outerWidth - withinOffset; if ( newOverRight 0 || newOverRight abs( overLeft ) ) { position.left + myOffset + atOffset + offset; } } else if ( overRight > 0 ) { newOverLeft position.left - data.collisionPosition.marginLeft + myOffset + atOffset + offset - offsetLeft; if ( newOverLeft > 0 || abs( newOverLeft ) overRight ) { position.left + myOffset + atOffset + offset; } } }, top: function( position, data ) { var within data.within, withinOffset within.offset.top + within.scrollTop, outerHeight within.height, offsetTop within.isWindow ? within.scrollTop : within.offset.top, collisionPosTop position.top - data.collisionPosition.marginTop, overTop collisionPosTop - offsetTop, overBottom collisionPosTop + data.collisionHeight - outerHeight - offsetTop, top data.my 1 top, myOffset top ? -data.elemHeight : data.my 1 bottom ? data.elemHeight : 0, atOffset data.at 1 top ? data.targetHeight : data.at 1 bottom ? -data.targetHeight : 0, offset -2 * data.offset 1 , newOverTop, newOverBottom; if ( overTop 0 ) { newOverBottom position.top + myOffset + atOffset + offset + data.collisionHeight - outerHeight - withinOffset; if ( ( position.top + myOffset + atOffset + offset) > overTop && ( newOverBottom 0 || newOverBottom abs( overTop ) ) ) { position.top + myOffset + atOffset + offset; } } else if ( overBottom > 0 ) { newOverTop position.top - data.collisionPosition.marginTop + myOffset + atOffset + offset - offsetTop; if ( ( position.top + myOffset + atOffset + offset) > overBottom && ( newOverTop > 0 || abs( newOverTop ) overBottom ) ) { position.top + myOffset + atOffset + offset; } } } }, flipfit: { left: function() { $.ui.position.flip.left.apply( this, arguments ); $.ui.position.fit.left.apply( this, arguments ); }, top: function() { $.ui.position.flip.top.apply( this, arguments ); $.ui.position.fit.top.apply( this, arguments ); } }};(function () { var testElement, testElementParent, testElementStyle, offsetLeft, i, body document.getElementsByTagName( body ) 0 , div document.createElement( div ); testElement document.createElement( body ? div : body ); testElementStyle { visibility: hidden, width: 0, height: 0, border: 0, margin: 0, background: none }; if ( body ) { $.extend( testElementStyle, { position: absolute, left: -1000px, top: -1000px }); } for ( i in testElementStyle ) { testElement.style i testElementStyle i ; } testElement.appendChild( div ); testElementParent body || document.documentElement; testElementParent.insertBefore( testElement, testElementParent.firstChild ); div.style.cssText position: absolute; left: 10.7432222px;; offsetLeft $( div ).offset().left; $.support.offsetFractions offsetLeft > 10 && offsetLeft 11; testElement.innerHTML ; testElementParent.removeChild( testElement );})();}( jQuery ) );(function( $, undefined ) {$.widget(ui.draggable, $.ui.mouse, { version: 1.10.4, widgetEventPrefix: drag, options: { addClasses: true, appendTo: parent, axis: false, connectToSortable: false, containment: false, cursor: auto, cursorAt: false, grid: false, handle: false, helper: original, iframeFix: false, opacity: false, refreshPositions: false, revert: false, revertDuration: 500, scope: default, scroll: true, scrollSensitivity: 20, scrollSpeed: 20, snap: false, snapMode: both, snapTolerance: 20, stack: false, zIndex: false, drag: null, start: null, stop: null }, _create: function() { if (this.options.helper original && !(/^(?:r|a|f)/).test(this.element.css(position))) { this.element0.style.position relative; } if (this.options.addClasses){ this.element.addClass(ui-draggable); } if (this.options.disabled){ this.element.addClass(ui-draggable-disabled); } this._mouseInit(); }, _destroy: function() { this.element.removeClass( ui-draggable ui-draggable-dragging ui-draggable-disabled ); this._mouseDestroy(); }, _mouseCapture: function(event) { var o this.options; if (this.helper || o.disabled || $(event.target).closest(.ui-resizable-handle).length > 0) { return false; } this.handle this._getHandle(event); if (!this.handle) { return false; } $(o.iframeFix true ? iframe : o.iframeFix).each(function() { $(div classui-draggable-iframeFix stylebackground: #fff;>/div>) .css({ width: this.offsetWidth+px, height: this.offsetHeight+px, position: absolute, opacity: 0.001, zIndex: 1000 }) .css($(this).offset()) .appendTo(body); }); return true; }, _mouseStart: function(event) { var o this.options; this.helper this._createHelper(event); this.helper.addClass(ui-draggable-dragging); this._cacheHelperProportions(); if($.ui.ddmanager) { $.ui.ddmanager.current this; } this._cacheMargins(); this.cssPosition this.helper.css( position ); this.scrollParent this.helper.scrollParent(); this.offsetParent this.helper.offsetParent(); this.offsetParentCssPosition this.offsetParent.css( position ); this.offset this.positionAbs this.element.offset(); this.offset { top: this.offset.top - this.margins.top, left: this.offset.left - this.margins.left }; this.offset.scroll false; $.extend(this.offset, { click: { left: event.pageX - this.offset.left, top: event.pageY - this.offset.top }, parent: this._getParentOffset(), relative: this._getRelativeOffset() }); this.originalPosition this.position this._generatePosition(event); this.originalPageX event.pageX; this.originalPageY event.pageY; (o.cursorAt && this._adjustOffsetFromHelper(o.cursorAt)); this._setContainment(); if(this._trigger(start, event) false) { this._clear(); return false; } this._cacheHelperProportions(); if ($.ui.ddmanager && !o.dropBehaviour) { $.ui.ddmanager.prepareOffsets(this, event); } this._mouseDrag(event, true); if ( $.ui.ddmanager ) { $.ui.ddmanager.dragStart(this, event); } return true; }, _mouseDrag: function(event, noPropagation) { if ( this.offsetParentCssPosition fixed ) { this.offset.parent this._getParentOffset(); } this.position this._generatePosition(event); this.positionAbs this._convertPositionTo(absolute); if (!noPropagation) { var ui this._uiHash(); if(this._trigger(drag, event, ui) false) { this._mouseUp({}); return false; } this.position ui.position; } if(!this.options.axis || this.options.axis ! y) { this.helper0.style.left this.position.left+px; } if(!this.options.axis || this.options.axis ! x) { this.helper0.style.top this.position.top+px; } if($.ui.ddmanager) { $.ui.ddmanager.drag(this, event); } return false; }, _mouseStop: function(event) { var that this, dropped false; if ($.ui.ddmanager && !this.options.dropBehaviour) { dropped $.ui.ddmanager.drop(this, event); } if(this.dropped) { dropped this.dropped; this.dropped false; } if ( this.options.helper original && !$.contains( this.element 0 .ownerDocument, this.element 0 ) ) { return false; } if((this.options.revert invalid && !dropped) || (this.options.revert valid && dropped) || this.options.revert true || ($.isFunction(this.options.revert) && this.options.revert.call(this.element, dropped))) { $(this.helper).animate(this.originalPosition, parseInt(this.options.revertDuration, 10), function() { if(that._trigger(stop, event) ! false) { that._clear(); } }); } else { if(this._trigger(stop, event) ! false) { this._clear(); } } return false; }, _mouseUp: function(event) { $(div.ui-draggable-iframeFix).each(function() { this.parentNode.removeChild(this); }); if( $.ui.ddmanager ) { $.ui.ddmanager.dragStop(this, event); } return $.ui.mouse.prototype._mouseUp.call(this, event); }, cancel: function() { if(this.helper.is(.ui-draggable-dragging)) { this._mouseUp({}); } else { this._clear(); } return this; }, _getHandle: function(event) { return this.options.handle ? !!$( event.target ).closest( this.element.find( this.options.handle ) ).length : true; }, _createHelper: function(event) { var o this.options, helper $.isFunction(o.helper) ? $(o.helper.apply(this.element0, event)) : (o.helper clone ? this.element.clone().removeAttr(id) : this.element); if(!helper.parents(body).length) { helper.appendTo((o.appendTo parent ? this.element0.parentNode : o.appendTo)); } if(helper0 ! this.element0 && !(/(fixed|absolute)/).test(helper.css(position))) { helper.css(position, absolute); } return helper; }, _adjustOffsetFromHelper: function(obj) { if (typeof obj string) { obj obj.split( ); } if ($.isArray(obj)) { obj {left: +obj0, top: +obj1 || 0}; } if (left in obj) { this.offset.click.left obj.left + this.margins.left; } if (right in obj) { this.offset.click.left this.helperProportions.width - obj.right + this.margins.left; } if (top in obj) { this.offset.click.top obj.top + this.margins.top; } if (bottom in obj) { this.offset.click.top this.helperProportions.height - obj.bottom + this.margins.top; } }, _getParentOffset: function() { var po this.offsetParent.offset(); if(this.cssPosition absolute && this.scrollParent0 ! document && $.contains(this.scrollParent0, this.offsetParent0)) { po.left + this.scrollParent.scrollLeft(); po.top + this.scrollParent.scrollTop(); } if((this.offsetParent0 document.body) || (this.offsetParent0.tagName && this.offsetParent0.tagName.toLowerCase() html && $.ui.ie)) { po { top: 0, left: 0 }; } return { top: po.top + (parseInt(this.offsetParent.css(borderTopWidth),10) || 0), left: po.left + (parseInt(this.offsetParent.css(borderLeftWidth),10) || 0) }; }, _getRelativeOffset: function() { if(this.cssPosition relative) { var p this.element.position(); return { top: p.top - (parseInt(this.helper.css(top),10) || 0) + this.scrollParent.scrollTop(), left: p.left - (parseInt(this.helper.css(left),10) || 0) + this.scrollParent.scrollLeft() }; } else { return { top: 0, left: 0 }; } }, _cacheMargins: function() { this.margins { left: (parseInt(this.element.css(marginLeft),10) || 0), top: (parseInt(this.element.css(marginTop),10) || 0), right: (parseInt(this.element.css(marginRight),10) || 0), bottom: (parseInt(this.element.css(marginBottom),10) || 0) }; }, _cacheHelperProportions: function() { this.helperProportions { width: this.helper.outerWidth(), height: this.helper.outerHeight() }; }, _setContainment: function() { var over, c, ce, o this.options; if ( !o.containment ) { this.containment null; return; } if ( o.containment window ) { this.containment $( window ).scrollLeft() - this.offset.relative.left - this.offset.parent.left, $( window ).scrollTop() - this.offset.relative.top - this.offset.parent.top, $( window ).scrollLeft() + $( window ).width() - this.helperProportions.width - this.margins.left, $( window ).scrollTop() + ( $( window ).height() || document.body.parentNode.scrollHeight ) - this.helperProportions.height - this.margins.top ; return; } if ( o.containment document) { this.containment 0, 0, $( document ).width() - this.helperProportions.width - this.margins.left, ( $( document ).height() || document.body.parentNode.scrollHeight ) - this.helperProportions.height - this.margins.top ; return; } if ( o.containment.constructor Array ) { this.containment o.containment; return; } if ( o.containment parent ) { o.containment this.helper 0 .parentNode; } c $( o.containment ); ce c 0 ; if( !ce ) { return; } over c.css( overflow ) ! hidden; this.containment ( parseInt( c.css( borderLeftWidth ), 10 ) || 0 ) + ( parseInt( c.css( paddingLeft ), 10 ) || 0 ), ( parseInt( c.css( borderTopWidth ), 10 ) || 0 ) + ( parseInt( c.css( paddingTop ), 10 ) || 0 ) , ( over ? Math.max( ce.scrollWidth, ce.offsetWidth ) : ce.offsetWidth ) - ( parseInt( c.css( borderRightWidth ), 10 ) || 0 ) - ( parseInt( c.css( paddingRight ), 10 ) || 0 ) - this.helperProportions.width - this.margins.left - this.margins.right, ( over ? Math.max( ce.scrollHeight, ce.offsetHeight ) : ce.offsetHeight ) - ( parseInt( c.css( borderBottomWidth ), 10 ) || 0 ) - ( parseInt( c.css( paddingBottom ), 10 ) || 0 ) - this.helperProportions.height - this.margins.top - this.margins.bottom ; this.relative_container c; }, _convertPositionTo: function(d, pos) { if(!pos) { pos this.position; } var mod d absolute ? 1 : -1, scroll this.cssPosition absolute && !( this.scrollParent 0 ! document && $.contains( this.scrollParent 0 , this.offsetParent 0 ) ) ? this.offsetParent : this.scrollParent; if (!this.offset.scroll) { this.offset.scroll {top : scroll.scrollTop(), left : scroll.scrollLeft()}; } return { top: ( pos.top + this.offset.relative.top * mod + this.offset.parent.top * mod - ( ( this.cssPosition fixed ? -this.scrollParent.scrollTop() : this.offset.scroll.top ) * mod ) ), left: ( pos.left + this.offset.relative.left * mod + this.offset.parent.left * mod - ( ( this.cssPosition fixed ? -this.scrollParent.scrollLeft() : this.offset.scroll.left ) * mod ) ) }; }, _generatePosition: function(event) { var containment, co, top, left, o this.options, scroll this.cssPosition absolute && !( this.scrollParent 0 ! document && $.contains( this.scrollParent 0 , this.offsetParent 0 ) ) ? this.offsetParent : this.scrollParent, pageX event.pageX, pageY event.pageY; if (!this.offset.scroll) { this.offset.scroll {top : scroll.scrollTop(), left : scroll.scrollLeft()}; } if ( this.originalPosition ) { if ( this.containment ) { if ( this.relative_container ){ co this.relative_container.offset(); containment this.containment 0 + co.left, this.containment 1 + co.top, this.containment 2 + co.left, this.containment 3 + co.top ; } else { containment this.containment; } if(event.pageX - this.offset.click.left containment0) { pageX containment0 + this.offset.click.left; } if(event.pageY - this.offset.click.top containment1) { pageY containment1 + this.offset.click.top; } if(event.pageX - this.offset.click.left > containment2) { pageX containment2 + this.offset.click.left; } if(event.pageY - this.offset.click.top > containment3) { pageY containment3 + this.offset.click.top; } } if(o.grid) { top o.grid1 ? this.originalPageY + Math.round((pageY - this.originalPageY) / o.grid1) * o.grid1 : this.originalPageY; pageY containment ? ((top - this.offset.click.top > containment1 || top - this.offset.click.top > containment3) ? top : ((top - this.offset.click.top > containment1) ? top - o.grid1 : top + o.grid1)) : top; left o.grid0 ? this.originalPageX + Math.round((pageX - this.originalPageX) / o.grid0) * o.grid0 : this.originalPageX; pageX containment ? ((left - this.offset.click.left > containment0 || left - this.offset.click.left > containment2) ? left : ((left - this.offset.click.left > containment0) ? left - o.grid0 : left + o.grid0)) : left; } } return { top: ( pageY - this.offset.click.top - this.offset.relative.top - this.offset.parent.top + ( this.cssPosition fixed ? -this.scrollParent.scrollTop() : this.offset.scroll.top ) ), left: ( pageX - this.offset.click.left - this.offset.relative.left - this.offset.parent.left + ( this.cssPosition fixed ? -this.scrollParent.scrollLeft() : this.offset.scroll.left ) ) }; }, _clear: function() { this.helper.removeClass(ui-draggable-dragging); if(this.helper0 ! this.element0 && !this.cancelHelperRemoval) { this.helper.remove(); } this.helper null; this.cancelHelperRemoval false; }, _trigger: function(type, event, ui) { ui ui || this._uiHash(); $.ui.plugin.call(this, type, event, ui); if(type drag) { this.positionAbs this._convertPositionTo(absolute); } return $.Widget.prototype._trigger.call(this, type, event, ui); }, plugins: {}, _uiHash: function() { return { helper: this.helper, position: this.position, originalPosition: this.originalPosition, offset: this.positionAbs }; }});$.ui.plugin.add(draggable, connectToSortable, { start: function(event, ui) { var inst $(this).data(ui-draggable), o inst.options, uiSortable $.extend({}, ui, { item: inst.element }); inst.sortables ; $(o.connectToSortable).each(function() { var sortable $.data(this, ui-sortable); if (sortable && !sortable.options.disabled) { inst.sortables.push({ instance: sortable, shouldRevert: sortable.options.revert }); sortable.refreshPositions(); sortable._trigger(activate, event, uiSortable); } }); }, stop: function(event, ui) { var inst $(this).data(ui-draggable), uiSortable $.extend({}, ui, { item: inst.element }); $.each(inst.sortables, function() { if(this.instance.isOver) { this.instance.isOver 0; inst.cancelHelperRemoval true; this.instance.cancelHelperRemoval false; if(this.shouldRevert) { this.instance.options.revert this.shouldRevert; } this.instance._mouseStop(event); this.instance.options.helper this.instance.options._helper; if(inst.options.helper original) { this.instance.currentItem.css({ top: auto, left: auto }); } } else { this.instance.cancelHelperRemoval false; //Remove the helper in the sortable instance this.instance._trigger(deactivate, event, uiSortable); } }); }, drag: function(event, ui) { var inst $(this).data(ui-draggable), that this; $.each(inst.sortables, function() { var innermostIntersecting false, thisSortable this; this.instance.positionAbs inst.positionAbs; this.instance.helperProportions inst.helperProportions; this.instance.offset.click inst.offset.click; if(this.instance._intersectsWith(this.instance.containerCache)) { innermostIntersecting true; $.each(inst.sortables, function () { this.instance.positionAbs inst.positionAbs; this.instance.helperProportions inst.helperProportions; this.instance.offset.click inst.offset.click; if (this ! thisSortable && this.instance._intersectsWith(this.instance.containerCache) && $.contains(thisSortable.instance.element0, this.instance.element0) ) { innermostIntersecting false; } return innermostIntersecting; }); } if(innermostIntersecting) { if(!this.instance.isOver) { this.instance.isOver 1; this.instance.currentItem $(that).clone().removeAttr(id).appendTo(this.instance.element).data(ui-sortable-item, true); this.instance.options._helper this.instance.options.helper; this.instance.options.helper function() { return ui.helper0; }; event.target this.instance.currentItem0; this.instance._mouseCapture(event, true); this.instance._mouseStart(event, true, true); this.instance.offset.click.top inst.offset.click.top; this.instance.offset.click.left inst.offset.click.left; this.instance.offset.parent.left - inst.offset.parent.left - this.instance.offset.parent.left; this.instance.offset.parent.top - inst.offset.parent.top - this.instance.offset.parent.top; inst._trigger(toSortable, event); inst.dropped this.instance.element inst.currentItem inst.element; this.instance.fromOutside inst; } if(this.instance.currentItem) { this.instance._mouseDrag(event); } } else { if(this.instance.isOver) { this.instance.isOver 0; this.instance.cancelHelperRemoval true; this.instance.options.revert false; this.instance._trigger(out, event, this.instance._uiHash(this.instance)); this.instance._mouseStop(event, true); this.instance.options.helper this.instance.options._helper; this.instance.currentItem.remove(); if(this.instance.placeholder) { this.instance.placeholder.remove(); } inst._trigger(fromSortable, event); inst.dropped false; } } }); }});$.ui.plugin.add(draggable, cursor, { start: function() { var t $(body), o $(this).data(ui-draggable).options; if (t.css(cursor)) { o._cursor t.css(cursor); } t.css(cursor, o.cursor); }, stop: function() { var o $(this).data(ui-draggable).options; if (o._cursor) { $(body).css(cursor, o._cursor); } }});$.ui.plugin.add(draggable, opacity, { start: function(event, ui) { var t $(ui.helper), o $(this).data(ui-draggable).options; if(t.css(opacity)) { o._opacity t.css(opacity); } t.css(opacity, o.opacity); }, stop: function(event, ui) { var o $(this).data(ui-draggable).options; if(o._opacity) { $(ui.helper).css(opacity, o._opacity); } }});$.ui.plugin.add(draggable, scroll, { start: function() { var i $(this).data(ui-draggable); if(i.scrollParent0 ! document && i.scrollParent0.tagName ! HTML) { i.overflowOffset i.scrollParent.offset(); } }, drag: function( event ) { var i $(this).data(ui-draggable), o i.options, scrolled false; if(i.scrollParent0 ! document && i.scrollParent0.tagName ! HTML) { if(!o.axis || o.axis ! x) { if((i.overflowOffset.top + i.scrollParent0.offsetHeight) - event.pageY o.scrollSensitivity) { i.scrollParent0.scrollTop scrolled i.scrollParent0.scrollTop + o.scrollSpeed; } else if(event.pageY - i.overflowOffset.top o.scrollSensitivity) { i.scrollParent0.scrollTop scrolled i.scrollParent0.scrollTop - o.scrollSpeed; } } if(!o.axis || o.axis ! y) { if((i.overflowOffset.left + i.scrollParent0.offsetWidth) - event.pageX o.scrollSensitivity) { i.scrollParent0.scrollLeft scrolled i.scrollParent0.scrollLeft + o.scrollSpeed; } else if(event.pageX - i.overflowOffset.left o.scrollSensitivity) { i.scrollParent0.scrollLeft scrolled i.scrollParent0.scrollLeft - o.scrollSpeed; } } } else { if(!o.axis || o.axis ! x) { if(event.pageY - $(document).scrollTop() o.scrollSensitivity) { scrolled $(document).scrollTop($(document).scrollTop() - o.scrollSpeed); } else if($(window).height() - (event.pageY - $(document).scrollTop()) o.scrollSensitivity) { scrolled $(document).scrollTop($(document).scrollTop() + o.scrollSpeed); } } if(!o.axis || o.axis ! y) { if(event.pageX - $(document).scrollLeft() o.scrollSensitivity) { scrolled $(document).scrollLeft($(document).scrollLeft() - o.scrollSpeed); } else if($(window).width() - (event.pageX - $(document).scrollLeft()) o.scrollSensitivity) { scrolled $(document).scrollLeft($(document).scrollLeft() + o.scrollSpeed); } } } if(scrolled ! false && $.ui.ddmanager && !o.dropBehaviour) { $.ui.ddmanager.prepareOffsets(i, event); } }});$.ui.plugin.add(draggable, snap, { start: function() { var i $(this).data(ui-draggable), o i.options; i.snapElements ; $(o.snap.constructor ! String ? ( o.snap.items || :data(ui-draggable) ) : o.snap).each(function() { var $t $(this), $o $t.offset(); if(this ! i.element0) { i.snapElements.push({ item: this, width: $t.outerWidth(), height: $t.outerHeight(), top: $o.top, left: $o.left }); } }); }, drag: function(event, ui) { var ts, bs, ls, rs, l, r, t, b, i, first, inst $(this).data(ui-draggable), o inst.options, d o.snapTolerance, x1 ui.offset.left, x2 x1 + inst.helperProportions.width, y1 ui.offset.top, y2 y1 + inst.helperProportions.height; for (i inst.snapElements.length - 1; i > 0; i--){ l inst.snapElementsi.left; r l + inst.snapElementsi.width; t inst.snapElementsi.top; b t + inst.snapElementsi.height; if ( x2 l - d || x1 > r + d || y2 t - d || y1 > b + d || !$.contains( inst.snapElements i .item.ownerDocument, inst.snapElements i .item ) ) { if(inst.snapElementsi.snapping) { (inst.options.snap.release && inst.options.snap.release.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElementsi.item }))); } inst.snapElementsi.snapping false; continue; } if(o.snapMode ! inner) { ts Math.abs(t - y2) d; bs Math.abs(b - y1) d; ls Math.abs(l - x2) d; rs Math.abs(r - x1) d; if(ts) { ui.position.top inst._convertPositionTo(relative, { top: t - inst.helperProportions.height, left: 0 }).top - inst.margins.top; } if(bs) { ui.position.top inst._convertPositionTo(relative, { top: b, left: 0 }).top - inst.margins.top; } if(ls) { ui.position.left inst._convertPositionTo(relative, { top: 0, left: l - inst.helperProportions.width }).left - inst.margins.left; } if(rs) { ui.position.left inst._convertPositionTo(relative, { top: 0, left: r }).left - inst.margins.left; } } first (ts || bs || ls || rs); if(o.snapMode ! outer) { ts Math.abs(t - y1) d; bs Math.abs(b - y2) d; ls Math.abs(l - x1) d; rs Math.abs(r - x2) d; if(ts) { ui.position.top inst._convertPositionTo(relative, { top: t, left: 0 }).top - inst.margins.top; } if(bs) { ui.position.top inst._convertPositionTo(relative, { top: b - inst.helperProportions.height, left: 0 }).top - inst.margins.top; } if(ls) { ui.position.left inst._convertPositionTo(relative, { top: 0, left: l }).left - inst.margins.left; } if(rs) { ui.position.left inst._convertPositionTo(relative, { top: 0, left: r - inst.helperProportions.width }).left - inst.margins.left; } } if(!inst.snapElementsi.snapping && (ts || bs || ls || rs || first)) { (inst.options.snap.snap && inst.options.snap.snap.call(inst.element, event, $.extend(inst._uiHash(), { snapItem: inst.snapElementsi.item }))); } inst.snapElementsi.snapping (ts || bs || ls || rs || first); } }});$.ui.plugin.add(draggable, stack, { start: function() { var min, o this.data(ui-draggable).options, group $.makeArray($(o.stack)).sort(function(a,b) { return (parseInt($(a).css(zIndex),10) || 0) - (parseInt($(b).css(zIndex),10) || 0); }); if (!group.length) { return; } min parseInt($(group0).css(zIndex), 10) || 0; $(group).each(function(i) { $(this).css(zIndex, min + i); }); this.css(zIndex, (min + group.length)); }});$.ui.plugin.add(draggable, zIndex, { start: function(event, ui) { var t $(ui.helper), o $(this).data(ui-draggable).options; if(t.css(zIndex)) { o._zIndex t.css(zIndex); } t.css(zIndex, o.zIndex); }, stop: function(event, ui) { var o $(this).data(ui-draggable).options; if(o._zIndex) { $(ui.helper).css(zIndex, o._zIndex); } }});})(jQuery);(function( $, undefined ) {function num(v) { return parseInt(v, 10) || 0;}function isNumber(value) { return !isNaN(parseInt(value, 10));}$.widget(ui.resizable, $.ui.mouse, { version: 1.10.4, widgetEventPrefix: resize, options: { alsoResize: false, animate: false, animateDuration: slow, animateEasing: swing, aspectRatio: false, autoHide: false, containment: false, ghost: false, grid: false, handles: e,s,se, helper: false, maxHeight: null, maxWidth: null, minHeight: 10, minWidth: 10, zIndex: 90, resize: null, start: null, stop: null }, _create: function() { var n, i, handle, axis, hname, that this, o this.options; this.element.addClass(ui-resizable); $.extend(this, { _aspectRatio: !!(o.aspectRatio), aspectRatio: o.aspectRatio, originalElement: this.element, _proportionallyResizeElements: , _helper: o.helper || o.ghost || o.animate ? o.helper || ui-resizable-helper : null }); if(this.element0.nodeName.match(/canvas|textarea|input|select|button|img/i)) { this.element.wrap( $(div classui-wrapper styleoverflow: hidden;>/div>).css({ position: this.element.css(position), width: this.element.outerWidth(), height: this.element.outerHeight(), top: this.element.css(top), left: this.element.css(left) }) ); this.element this.element.parent().data( ui-resizable, this.element.data(ui-resizable) ); this.elementIsWrapper true; this.element.css({ marginLeft: this.originalElement.css(marginLeft), marginTop: this.originalElement.css(marginTop), marginRight: this.originalElement.css(marginRight), marginBottom: this.originalElement.css(marginBottom) }); this.originalElement.css({ marginLeft: 0, marginTop: 0, marginRight: 0, marginBottom: 0}); this.originalResizeStyle this.originalElement.css(resize); this.originalElement.css(resize, none); this._proportionallyResizeElements.push(this.originalElement.css({ position: static, zoom: 1, display: block })); this.originalElement.css({ margin: this.originalElement.css(margin) }); this._proportionallyResize(); } this.handles o.handles || (!$(.ui-resizable-handle, this.element).length ? e,s,se : { n: .ui-resizable-n, e: .ui-resizable-e, s: .ui-resizable-s, w: .ui-resizable-w, se: .ui-resizable-se, sw: .ui-resizable-sw, ne: .ui-resizable-ne, nw: .ui-resizable-nw }); if(this.handles.constructor String) { if ( this.handles all) { this.handles n,e,s,w,se,sw,ne,nw; } n this.handles.split(,); this.handles {}; for(i 0; i n.length; i++) { handle $.trim(ni); hname ui-resizable-+handle; axis $(div classui-resizable-handle + hname + >/div>); axis.css({ zIndex: o.zIndex }); if (se handle) { axis.addClass(ui-icon ui-icon-gripsmall-diagonal-se); } this.handleshandle .ui-resizable-+handle; this.element.append(axis); } } this._renderAxis function(target) { var i, axis, padPos, padWrapper; target target || this.element; for(i in this.handles) { if(this.handlesi.constructor String) { this.handlesi $(this.handlesi, this.element).show(); } if (this.elementIsWrapper && this.originalElement0.nodeName.match(/textarea|input|select|button/i)) { axis $(this.handlesi, this.element); padWrapper /sw|ne|nw|se|n|s/.test(i) ? axis.outerHeight() : axis.outerWidth(); padPos padding, /ne|nw|n/.test(i) ? Top : /se|sw|s/.test(i) ? Bottom : /^e$/.test(i) ? Right : Left .join(); target.css(padPos, padWrapper); this._proportionallyResize(); } if(!$(this.handlesi).length) { continue; } } }; this._renderAxis(this.element); this._handles $(.ui-resizable-handle, this.element) .disableSelection(); this._handles.mouseover(function() { if (!that.resizing) { if (this.className) { axis this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i); } that.axis axis && axis1 ? axis1 : se; } }); if (o.autoHide) { this._handles.hide(); $(this.element) .addClass(ui-resizable-autohide) .mouseenter(function() { if (o.disabled) { return; } $(this).removeClass(ui-resizable-autohide); that._handles.show(); }) .mouseleave(function(){ if (o.disabled) { return; } if (!that.resizing) { $(this).addClass(ui-resizable-autohide); that._handles.hide(); } }); } this._mouseInit(); }, _destroy: function() { this._mouseDestroy(); var wrapper, _destroy function(exp) { $(exp).removeClass(ui-resizable ui-resizable-disabled ui-resizable-resizing) .removeData(resizable).removeData(ui-resizable).unbind(.resizable).find(.ui-resizable-handle).remove(); }; if (this.elementIsWrapper) { _destroy(this.element); wrapper this.element; this.originalElement.css({ position: wrapper.css(position), width: wrapper.outerWidth(), height: wrapper.outerHeight(), top: wrapper.css(top), left: wrapper.css(left) }).insertAfter( wrapper ); wrapper.remove(); } this.originalElement.css(resize, this.originalResizeStyle); _destroy(this.originalElement); return this; }, _mouseCapture: function(event) { var i, handle, capture false; for (i in this.handles) { handle $(this.handlesi)0; if (handle event.target || $.contains(handle, event.target)) { capture true; } } return !this.options.disabled && capture; }, _mouseStart: function(event) { var curleft, curtop, cursor, o this.options, iniPos this.element.position(), el this.element; this.resizing true; if ( (/absolute/).test( el.css(position) ) ) { el.css({ position: absolute, top: el.css(top), left: el.css(left) }); } else if (el.is(.ui-draggable)) { el.css({ position: absolute, top: iniPos.top, left: iniPos.left }); } this._renderProxy(); curleft num(this.helper.css(left)); curtop num(this.helper.css(top)); if (o.containment) { curleft + $(o.containment).scrollLeft() || 0; curtop + $(o.containment).scrollTop() || 0; } this.offset this.helper.offset(); this.position { left: curleft, top: curtop }; this.size this._helper ? { width: this.helper.width(), height: this.helper.height() } : { width: el.width(), height: el.height() }; this.originalSize this._helper ? { width: el.outerWidth(), height: el.outerHeight() } : { width: el.width(), height: el.height() }; this.originalPosition { left: curleft, top: curtop }; this.sizeDiff { width: el.outerWidth() - el.width(), height: el.outerHeight() - el.height() }; this.originalMousePosition { left: event.pageX, top: event.pageY }; this.aspectRatio (typeof o.aspectRatio number) ? o.aspectRatio : ((this.originalSize.width / this.originalSize.height) || 1); cursor $(.ui-resizable- + this.axis).css(cursor); $(body).css(cursor, cursor auto ? this.axis + -resize : cursor); el.addClass(ui-resizable-resizing); this._propagate(start, event); return true; }, _mouseDrag: function(event) { var data, el this.helper, props {}, smp this.originalMousePosition, a this.axis, prevTop this.position.top, prevLeft this.position.left, prevWidth this.size.width, prevHeight this.size.height, dx (event.pageX-smp.left)||0, dy (event.pageY-smp.top)||0, trigger this._changea; if (!trigger) { return false; } data trigger.apply(this, event, dx, dy); this._updateVirtualBoundaries(event.shiftKey); if (this._aspectRatio || event.shiftKey) { data this._updateRatio(data, event); } data this._respectSize(data, event); this._updateCache(data); this._propagate(resize, event); if (this.position.top ! prevTop) { props.top this.position.top + px; } if (this.position.left ! prevLeft) { props.left this.position.left + px; } if (this.size.width ! prevWidth) { props.width this.size.width + px; } if (this.size.height ! prevHeight) { props.height this.size.height + px; } el.css(props); if (!this._helper && this._proportionallyResizeElements.length) { this._proportionallyResize(); } if ( ! $.isEmptyObject(props) ) { this._trigger(resize, event, this.ui()); } return false; }, _mouseStop: function(event) { this.resizing false; var pr, ista, soffseth, soffsetw, s, left, top, o this.options, that this; if(this._helper) { pr this._proportionallyResizeElements; ista pr.length && (/textarea/i).test(pr0.nodeName); soffseth ista && $.ui.hasScroll(pr0, left) /* TODO - jump height */ ? 0 : that.sizeDiff.height; soffsetw ista ? 0 : that.sizeDiff.width; s { width: (that.helper.width() - soffsetw), height: (that.helper.height() - soffseth) }; left (parseInt(that.element.css(left), 10) + (that.position.left - that.originalPosition.left)) || null; top (parseInt(that.element.css(top), 10) + (that.position.top - that.originalPosition.top)) || null; if (!o.animate) { this.element.css($.extend(s, { top: top, left: left })); } that.helper.height(that.size.height); that.helper.width(that.size.width); if (this._helper && !o.animate) { this._proportionallyResize(); } } $(body).css(cursor, auto); this.element.removeClass(ui-resizable-resizing); this._propagate(stop, event); if (this._helper) { this.helper.remove(); } return false; }, _updateVirtualBoundaries: function(forceAspectRatio) { var pMinWidth, pMaxWidth, pMinHeight, pMaxHeight, b, o this.options; b { minWidth: isNumber(o.minWidth) ? o.minWidth : 0, maxWidth: isNumber(o.maxWidth) ? o.maxWidth : Infinity, minHeight: isNumber(o.minHeight) ? o.minHeight : 0, maxHeight: isNumber(o.maxHeight) ? o.maxHeight : Infinity }; if(this._aspectRatio || forceAspectRatio) { pMinWidth b.minHeight * this.aspectRatio; pMinHeight b.minWidth / this.aspectRatio; pMaxWidth b.maxHeight * this.aspectRatio; pMaxHeight b.maxWidth / this.aspectRatio; if(pMinWidth > b.minWidth) { b.minWidth pMinWidth; } if(pMinHeight > b.minHeight) { b.minHeight pMinHeight; } if(pMaxWidth b.maxWidth) { b.maxWidth pMaxWidth; } if(pMaxHeight b.maxHeight) { b.maxHeight pMaxHeight; } } this._vBoundaries b; }, _updateCache: function(data) { this.offset this.helper.offset(); if (isNumber(data.left)) { this.position.left data.left; } if (isNumber(data.top)) { this.position.top data.top; } if (isNumber(data.height)) { this.size.height data.height; } if (isNumber(data.width)) { this.size.width data.width; } }, _updateRatio: function( data ) { var cpos this.position, csize this.size, a this.axis; if (isNumber(data.height)) { data.width (data.height * this.aspectRatio); } else if (isNumber(data.width)) { data.height (data.width / this.aspectRatio); } if (a sw) { data.left cpos.left + (csize.width - data.width); data.top null; } if (a nw) { data.top cpos.top + (csize.height - data.height); data.left cpos.left + (csize.width - data.width); } return data; }, _respectSize: function( data ) { var o this._vBoundaries, a this.axis, ismaxw isNumber(data.width) && o.maxWidth && (o.maxWidth data.width), ismaxh isNumber(data.height) && o.maxHeight && (o.maxHeight data.height), isminw isNumber(data.width) && o.minWidth && (o.minWidth > data.width), isminh isNumber(data.height) && o.minHeight && (o.minHeight > data.height), dw this.originalPosition.left + this.originalSize.width, dh this.position.top + this.size.height, cw /sw|nw|w/.test(a), ch /nw|ne|n/.test(a); if (isminw) { data.width o.minWidth; } if (isminh) { data.height o.minHeight; } if (ismaxw) { data.width o.maxWidth; } if (ismaxh) { data.height o.maxHeight; } if (isminw && cw) { data.left dw - o.minWidth; } if (ismaxw && cw) { data.left dw - o.maxWidth; } if (isminh && ch) { data.top dh - o.minHeight; } if (ismaxh && ch) { data.top dh - o.maxHeight; } if (!data.width && !data.height && !data.left && data.top) { data.top null; } else if (!data.width && !data.height && !data.top && data.left) { data.left null; } return data; }, _proportionallyResize: function() { if (!this._proportionallyResizeElements.length) { return; } var i, j, borders, paddings, prel, element this.helper || this.element; for ( i0; i this._proportionallyResizeElements.length; i++) { prel this._proportionallyResizeElementsi; if (!this.borderDif) { this.borderDif ; borders prel.css(borderTopWidth), prel.css(borderRightWidth), prel.css(borderBottomWidth), prel.css(borderLeftWidth); paddings prel.css(paddingTop), prel.css(paddingRight), prel.css(paddingBottom), prel.css(paddingLeft); for ( j 0; j borders.length; j++ ) { this.borderDif j ( parseInt( borders j , 10 ) || 0 ) + ( parseInt( paddings j , 10 ) || 0 ); } } prel.css({ height: (element.height() - this.borderDif0 - this.borderDif2) || 0, width: (element.width() - this.borderDif1 - this.borderDif3) || 0 }); } }, _renderProxy: function() { var el this.element, o this.options; this.elementOffset el.offset(); if(this._helper) { this.helper this.helper || $(div styleoverflow:hidden;>/div>); this.helper.addClass(this._helper).css({ width: this.element.outerWidth() - 1, height: this.element.outerHeight() - 1, position: absolute, left: this.elementOffset.left +px, top: this.elementOffset.top +px, zIndex: ++o.zIndex }); this.helper .appendTo(body) .disableSelection(); } else { this.helper this.element; } }, _change: { e: function(event, dx) { return { width: this.originalSize.width + dx }; }, w: function(event, dx) { var cs this.originalSize, sp this.originalPosition; return { left: sp.left + dx, width: cs.width - dx }; }, n: function(event, dx, dy) { var cs this.originalSize, sp this.originalPosition; return { top: sp.top + dy, height: cs.height - dy }; }, s: function(event, dx, dy) { return { height: this.originalSize.height + dy }; }, se: function(event, dx, dy) { return $.extend(this._change.s.apply(this, arguments), this._change.e.apply(this, event, dx, dy)); }, sw: function(event, dx, dy) { return $.extend(this._change.s.apply(this, arguments), this._change.w.apply(this, event, dx, dy)); }, ne: function(event, dx, dy) { return $.extend(this._change.n.apply(this, arguments), this._change.e.apply(this, event, dx, dy)); }, nw: function(event, dx, dy) { return $.extend(this._change.n.apply(this, arguments), this._change.w.apply(this, event, dx, dy)); } }, _propagate: function(n, event) { $.ui.plugin.call(this, n, event, this.ui()); (n ! resize && this._trigger(n, event, this.ui())); }, plugins: {}, ui: function() { return { originalElement: this.originalElement, element: this.element, helper: this.helper, position: this.position, size: this.size, originalSize: this.originalSize, originalPosition: this.originalPosition }; }});$.ui.plugin.add(resizable, animate, { stop: function( event ) { var that $(this).data(ui-resizable), o that.options, pr that._proportionallyResizeElements, ista pr.length && (/textarea/i).test(pr0.nodeName), soffseth ista && $.ui.hasScroll(pr0, left) ? 0 : that.sizeDiff.height, soffsetw ista ? 0 : that.sizeDiff.width, style { width: (that.size.width - soffsetw), height: (that.size.height - soffseth) }, left (parseInt(that.element.css(left), 10) + (that.position.left - that.originalPosition.left)) || null, top (parseInt(that.element.css(top), 10) + (that.position.top - that.originalPosition.top)) || null; that.element.animate( $.extend(style, top && left ? { top: top, left: left } : {}), { duration: o.animateDuration, easing: o.animateEasing, step: function() { var data { width: parseInt(that.element.css(width), 10), height: parseInt(that.element.css(height), 10), top: parseInt(that.element.css(top), 10), left: parseInt(that.element.css(left), 10) }; if (pr && pr.length) { $(pr0).css({ width: data.width, height: data.height }); } that._updateCache(data); that._propagate(resize, event); } } ); }});$.ui.plugin.add(resizable, containment, { start: function() { var element, p, co, ch, cw, width, height, that $(this).data(ui-resizable), o that.options, el that.element, oc o.containment, ce (oc instanceof $) ? oc.get(0) : (/parent/.test(oc)) ? el.parent().get(0) : oc; if (!ce) { return; } that.containerElement $(ce); if (/document/.test(oc) || oc document) { that.containerOffset { left: 0, top: 0 }; that.containerPosition { left: 0, top: 0 }; that.parentData { element: $(document), left: 0, top: 0, width: $(document).width(), height: $(document).height() || document.body.parentNode.scrollHeight }; } else { element $(ce); p ; $( Top, Right, Left, Bottom ).each(function(i, name) { pi num(element.css(padding + name)); }); that.containerOffset element.offset(); that.containerPosition element.position(); that.containerSize { height: (element.innerHeight() - p3), width: (element.innerWidth() - p1) }; co that.containerOffset; ch that.containerSize.height; cw that.containerSize.width; width ($.ui.hasScroll(ce, left) ? ce.scrollWidth : cw ); height ($.ui.hasScroll(ce) ? ce.scrollHeight : ch); that.parentData { element: ce, left: co.left, top: co.top, width: width, height: height }; } }, resize: function( event ) { var woset, hoset, isParent, isOffsetRelative, that $(this).data(ui-resizable), o that.options, co that.containerOffset, cp that.position, pRatio that._aspectRatio || event.shiftKey, cop { top:0, left:0 }, ce that.containerElement; if (ce0 ! document && (/static/).test(ce.css(position))) { cop co; } if (cp.left (that._helper ? co.left : 0)) { that.size.width that.size.width + (that._helper ? (that.position.left - co.left) : (that.position.left - cop.left)); if (pRatio) { that.size.height that.size.width / that.aspectRatio; } that.position.left o.helper ? co.left : 0; } if (cp.top (that._helper ? co.top : 0)) { that.size.height that.size.height + (that._helper ? (that.position.top - co.top) : that.position.top); if (pRatio) { that.size.width that.size.height * that.aspectRatio; } that.position.top that._helper ? co.top : 0; } that.offset.left that.parentData.left+that.position.left; that.offset.top that.parentData.top+that.position.top; woset Math.abs( (that._helper ? that.offset.left - cop.left : (that.offset.left - cop.left)) + that.sizeDiff.width ); hoset Math.abs( (that._helper ? that.offset.top - cop.top : (that.offset.top - co.top)) + that.sizeDiff.height ); isParent that.containerElement.get(0) that.element.parent().get(0); isOffsetRelative /relative|absolute/.test(that.containerElement.css(position)); if ( isParent && isOffsetRelative ) { woset - Math.abs( that.parentData.left ); } if (woset + that.size.width > that.parentData.width) { that.size.width that.parentData.width - woset; if (pRatio) { that.size.height that.size.width / that.aspectRatio; } } if (hoset + that.size.height > that.parentData.height) { that.size.height that.parentData.height - hoset; if (pRatio) { that.size.width that.size.height * that.aspectRatio; } } }, stop: function(){ var that $(this).data(ui-resizable), o that.options, co that.containerOffset, cop that.containerPosition, ce that.containerElement, helper $(that.helper), ho helper.offset(), w helper.outerWidth() - that.sizeDiff.width, h helper.outerHeight() - that.sizeDiff.height; if (that._helper && !o.animate && (/relative/).test(ce.css(position))) { $(this).css({ left: ho.left - cop.left - co.left, width: w, height: h }); } if (that._helper && !o.animate && (/static/).test(ce.css(position))) { $(this).css({ left: ho.left - cop.left - co.left, width: w, height: h }); } }});$.ui.plugin.add(resizable, alsoResize, { start: function () { var that $(this).data(ui-resizable), o that.options, _store function (exp) { $(exp).each(function() { var el $(this); el.data(ui-resizable-alsoresize, { width: parseInt(el.width(), 10), height: parseInt(el.height(), 10), left: parseInt(el.css(left), 10), top: parseInt(el.css(top), 10) }); }); }; if (typeof(o.alsoResize) object && !o.alsoResize.parentNode) { if (o.alsoResize.length) { o.alsoResize o.alsoResize0; _store(o.alsoResize); } else { $.each(o.alsoResize, function (exp) { _store(exp); }); } }else{ _store(o.alsoResize); } }, resize: function (event, ui) { var that $(this).data(ui-resizable), o that.options, os that.originalSize, op that.originalPosition, delta { height: (that.size.height - os.height) || 0, width: (that.size.width - os.width) || 0, top: (that.position.top - op.top) || 0, left: (that.position.left - op.left) || 0 }, _alsoResize function (exp, c) { $(exp).each(function() { var el $(this), start $(this).data(ui-resizable-alsoresize), style {}, css c && c.length ? c : el.parents(ui.originalElement0).length ? width, height : width, height, top, left; $.each(css, function (i, prop) { var sum (startprop||0) + (deltaprop||0); if (sum && sum > 0) { styleprop sum || null; } }); el.css(style); }); }; if (typeof(o.alsoResize) object && !o.alsoResize.nodeType) { $.each(o.alsoResize, function (exp, c) { _alsoResize(exp, c); }); }else{ _alsoResize(o.alsoResize); } }, stop: function () { $(this).removeData(resizable-alsoresize); }});$.ui.plugin.add(resizable, ghost, { start: function() { var that $(this).data(ui-resizable), o that.options, cs that.size; that.ghost that.originalElement.clone(); that.ghost .css({ opacity: 0.25, display: block, position: relative, height: cs.height, width: cs.width, margin: 0, left: 0, top: 0 }) .addClass(ui-resizable-ghost) .addClass(typeof o.ghost string ? o.ghost : ); that.ghost.appendTo(that.helper); }, resize: function(){ var that $(this).data(ui-resizable); if (that.ghost) { that.ghost.css({ position: relative, height: that.size.height, width: that.size.width }); } }, stop: function() { var that $(this).data(ui-resizable); if (that.ghost && that.helper) { that.helper.get(0).removeChild(that.ghost.get(0)); } }});$.ui.plugin.add(resizable, grid, { resize: function() { var that $(this).data(ui-resizable), o that.options, cs that.size, os that.originalSize, op that.originalPosition, a that.axis, grid typeof o.grid number ? o.grid, o.grid : o.grid, gridX (grid0||1), gridY (grid1||1), ox Math.round((cs.width - os.width) / gridX) * gridX, oy Math.round((cs.height - os.height) / gridY) * gridY, newWidth os.width + ox, newHeight os.height + oy, isMaxWidth o.maxWidth && (o.maxWidth newWidth), isMaxHeight o.maxHeight && (o.maxHeight newHeight), isMinWidth o.minWidth && (o.minWidth > newWidth), isMinHeight o.minHeight && (o.minHeight > newHeight); o.grid grid; if (isMinWidth) { newWidth newWidth + gridX; } if (isMinHeight) { newHeight newHeight + gridY; } if (isMaxWidth) { newWidth newWidth - gridX; } if (isMaxHeight) { newHeight newHeight - gridY; } if (/^(se|s|e)$/.test(a)) { that.size.width newWidth; that.size.height newHeight; } else if (/^(ne)$/.test(a)) { that.size.width newWidth; that.size.height newHeight; that.position.top op.top - oy; } else if (/^(sw)$/.test(a)) { that.size.width newWidth; that.size.height newHeight; that.position.left op.left - ox; } else { if ( newHeight - gridY > 0 ) { that.size.height newHeight; that.position.top op.top - oy; } else { that.size.height gridY; that.position.top op.top + os.height - gridY; } if ( newWidth - gridX > 0 ) { that.size.width newWidth; that.position.left op.left - ox; } else { that.size.width gridX; that.position.left op.left + os.width - gridX; } } }});})(jQuery);(function( $, undefined ) {var lastActive, baseClasses ui-button ui-widget ui-state-default ui-corner-all, typeClasses ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only, formResetHandler function() { var form $( this ); setTimeout(function() { form.find( :ui-button ).button( refresh ); }, 1 ); }, radioGroup function( radio ) { var name radio.name, form radio.form, radios $( ); if ( name ) { name name.replace( //g, \\ ); if ( form ) { radios $( form ).find( name + name + ); } else { radios $( name + name + , radio.ownerDocument ) .filter(function() { return !this.form; }); } } return radios; };$.widget( ui.button, { version: 1.10.4, defaultElement: button>, options: { disabled: null, text: true, label: null, icons: { primary: null, secondary: null } }, _create: function() { this.element.closest( form ) .unbind( reset + this.eventNamespace ) .bind( reset + this.eventNamespace, formResetHandler ); if ( typeof this.options.disabled ! boolean ) { this.options.disabled !!this.element.prop( disabled ); } else { this.element.prop( disabled, this.options.disabled ); } this._determineButtonType(); this.hasTitle !!this.buttonElement.attr( title ); var that this, options this.options, toggleButton this.type checkbox || this.type radio, activeClass !toggleButton ? ui-state-active : ; if ( options.label null ) { options.label (this.type input ? this.buttonElement.val() : this.buttonElement.html()); } this._hoverable( this.buttonElement ); this.buttonElement .addClass( baseClasses ) .attr( role, button ) .bind( mouseenter + this.eventNamespace, function() { if ( options.disabled ) { return; } if ( this lastActive ) { $( this ).addClass( ui-state-active ); } }) .bind( mouseleave + this.eventNamespace, function() { if ( options.disabled ) { return; } $( this ).removeClass( activeClass ); }) .bind( click + this.eventNamespace, function( event ) { if ( options.disabled ) { event.preventDefault(); event.stopImmediatePropagation(); } }); this._on({ focus: function() { this.buttonElement.addClass( ui-state-focus ); }, blur: function() { this.buttonElement.removeClass( ui-state-focus ); } }); if ( toggleButton ) { this.element.bind( change + this.eventNamespace, function() { that.refresh(); }); } if ( this.type checkbox ) { this.buttonElement.bind( click + this.eventNamespace, function() { if ( options.disabled ) { return false; } }); } else if ( this.type radio ) { this.buttonElement.bind( click + this.eventNamespace, function() { if ( options.disabled ) { return false; } $( this ).addClass( ui-state-active ); that.buttonElement.attr( aria-pressed, true ); var radio that.element 0 ; radioGroup( radio ) .not( radio ) .map(function() { return $( this ).button( widget ) 0 ; }) .removeClass( ui-state-active ) .attr( aria-pressed, false ); }); } else { this.buttonElement .bind( mousedown + this.eventNamespace, function() { if ( options.disabled ) { return false; } $( this ).addClass( ui-state-active ); lastActive this; that.document.one( mouseup, function() { lastActive null; }); }) .bind( mouseup + this.eventNamespace, function() { if ( options.disabled ) { return false; } $( this ).removeClass( ui-state-active ); }) .bind( keydown + this.eventNamespace, function(event) { if ( options.disabled ) { return false; } if ( event.keyCode $.ui.keyCode.SPACE || event.keyCode $.ui.keyCode.ENTER ) { $( this ).addClass( ui-state-active ); } }) .bind( keyup + this.eventNamespace + blur + this.eventNamespace, function() { $( this ).removeClass( ui-state-active ); }); if ( this.buttonElement.is(a) ) { this.buttonElement.keyup(function(event) { if ( event.keyCode $.ui.keyCode.SPACE ) { $( this ).click(); } }); } } this._setOption( disabled, options.disabled ); this._resetButton(); }, _determineButtonType: function() { var ancestor, labelSelector, checked; if ( this.element.is(typecheckbox) ) { this.type checkbox; } else if ( this.element.is(typeradio) ) { this.type radio; } else if ( this.element.is(input) ) { this.type input; } else { this.type button; } if ( this.type checkbox || this.type radio ) { ancestor this.element.parents().last(); labelSelector labelfor + this.element.attr(id) + ; this.buttonElement ancestor.find( labelSelector ); if ( !this.buttonElement.length ) { ancestor ancestor.length ? ancestor.siblings() : this.element.siblings(); this.buttonElement ancestor.filter( labelSelector ); if ( !this.buttonElement.length ) { this.buttonElement ancestor.find( labelSelector ); } } this.element.addClass( ui-helper-hidden-accessible ); checked this.element.is( :checked ); if ( checked ) { this.buttonElement.addClass( ui-state-active ); } this.buttonElement.prop( aria-pressed, checked ); } else { this.buttonElement this.element; } }, widget: function() { return this.buttonElement; }, _destroy: function() { this.element .removeClass( ui-helper-hidden-accessible ); this.buttonElement .removeClass( baseClasses + ui-state-active + typeClasses ) .removeAttr( role ) .removeAttr( aria-pressed ) .html( this.buttonElement.find(.ui-button-text).html() ); if ( !this.hasTitle ) { this.buttonElement.removeAttr( title ); } }, _setOption: function( key, value ) { this._super( key, value ); if ( key disabled ) { this.element.prop( disabled, !!value ); if ( value ) { this.buttonElement.removeClass( ui-state-focus ); } return; } this._resetButton(); }, refresh: function() { var isDisabled this.element.is( input, button ) ? this.element.is( :disabled ) : this.element.hasClass( ui-button-disabled ); if ( isDisabled ! this.options.disabled ) { this._setOption( disabled, isDisabled ); } if ( this.type radio ) { radioGroup( this.element0 ).each(function() { if ( $( this ).is( :checked ) ) { $( this ).button( widget ) .addClass( ui-state-active ) .attr( aria-pressed, true ); } else { $( this ).button( widget ) .removeClass( ui-state-active ) .attr( aria-pressed, false ); } }); } else if ( this.type checkbox ) { if ( this.element.is( :checked ) ) { this.buttonElement .addClass( ui-state-active ) .attr( aria-pressed, true ); } else { this.buttonElement .removeClass( ui-state-active ) .attr( aria-pressed, false ); } } }, _resetButton: function() { if ( this.type input ) { if ( this.options.label ) { this.element.val( this.options.label ); } return; } var buttonElement this.buttonElement.removeClass( typeClasses ), buttonText $( span>/span>, this.document0 ) .addClass( ui-button-text ) .html( this.options.label ) .appendTo( buttonElement.empty() ) .text(), icons this.options.icons, multipleIcons icons.primary && icons.secondary, buttonClasses ; if ( icons.primary || icons.secondary ) { if ( this.options.text ) { buttonClasses.push( ui-button-text-icon + ( multipleIcons ? s : ( icons.primary ? -primary : -secondary ) ) ); } if ( icons.primary ) { buttonElement.prepend( span classui-button-icon-primary ui-icon + icons.primary + >/span> ); } if ( icons.secondary ) { buttonElement.append( span classui-button-icon-secondary ui-icon + icons.secondary + >/span> ); } if ( !this.options.text ) { buttonClasses.push( multipleIcons ? ui-button-icons-only : ui-button-icon-only ); if ( !this.hasTitle ) { buttonElement.attr( title, $.trim( buttonText ) ); } } } else { buttonClasses.push( ui-button-text-only ); } buttonElement.addClass( buttonClasses.join( ) ); }});$.widget( ui.buttonset, { version: 1.10.4, options: { items: button, inputtypebutton, inputtypesubmit, inputtypereset, inputtypecheckbox, inputtyperadio, a, :data(ui-button) }, _create: function() { this.element.addClass( ui-buttonset ); }, _init: function() { this.refresh(); }, _setOption: function( key, value ) { if ( key disabled ) { this.buttons.button( option, key, value ); } this._super( key, value ); }, refresh: function() { var rtl this.element.css( direction ) rtl; this.buttons this.element.find( this.options.items ) .filter( :ui-button ) .button( refresh ) .end() .not( :ui-button ) .button() .end() .map(function() { return $( this ).button( widget ) 0 ; }) .removeClass( ui-corner-all ui-corner-left ui-corner-right ) .filter( :first ) .addClass( rtl ? ui-corner-right : ui-corner-left ) .end() .filter( :last ) .addClass( rtl ? ui-corner-left : ui-corner-right ) .end() .end(); }, _destroy: function() { this.element.removeClass( ui-buttonset ); this.buttons .map(function() { return $( this ).button( widget ) 0 ; }) .removeClass( ui-corner-left ui-corner-right ) .end() .button( destroy ); }});}( jQuery ) );(function( $, undefined ) {$.extend($.ui, { datepicker: { version: 1.10.4 } });var PROP_NAME datepicker, instActive;function Datepicker() { this._curInst null; this._keyEvent false; this._disabledInputs ; this._datepickerShowing false; this._inDialog false; this._mainDivId ui-datepicker-div; this._inlineClass ui-datepicker-inline; this._appendClass ui-datepicker-append; this._triggerClass ui-datepicker-trigger; this._dialogClass ui-datepicker-dialog; this._disableClass ui-datepicker-disabled; this._unselectableClass ui-datepicker-unselectable; this._currentClass ui-datepicker-current-day; this._dayOverClass ui-datepicker-days-cell-over; this.regional ; this.regional { closeText: Done, prevText: Prev, nextText: Next, currentText: Today, monthNames: January,February,March,April,May,June, July,August,September,October,November,December, monthNamesShort: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec, dayNames: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, dayNamesShort: Sun, Mon, Tue, Wed, Thu, Fri, Sat, dayNamesMin: Su,Mo,Tu,We,Th,Fr,Sa, weekHeader: Wk, dateFormat: mm/dd/yy, firstDay: 0, isRTL: false, showMonthAfterYear: false, yearSuffix: }; this._defaults { showOn: focus, showAnim: show, showOptions: {}, defaultDate: null, appendText: , buttonText: ..., buttonImage: , buttonImageOnly: false, hideIfNoPrevNext: false, navigationAsDateFormat: false, gotoCurrent: false, changeMonth: false, changeYear: false, yearRange: c-10:c+10, showOtherMonths: false, selectOtherMonths: false, showWeek: false, calculateWeek: this.iso8601Week, shortYearCutoff: +10, minDate: null, maxDate: null, duration: fast, beforeShowDay: null, beforeShow: null, onSelect: null, onChangeMonthYear: null, onClose: null, numberOfMonths: 1, showCurrentAtPos: 0, stepMonths: 1, stepBigMonths: 12, altField: , altFormat: , constrainInput: true, showButtonPanel: false, autoSize: false, disabled: false }; $.extend(this._defaults, this.regional); this.dpDiv bindHover($(div id + this._mainDivId + classui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all>/div>));}$.extend(Datepicker.prototype, { markerClassName: hasDatepicker, maxRows: 4, _widgetDatepicker: function() { return this.dpDiv; }, setDefaults: function(settings) { extendRemove(this._defaults, settings || {}); return this; }, _attachDatepicker: function(target, settings) { var nodeName, inline, inst; nodeName target.nodeName.toLowerCase(); inline (nodeName div || nodeName span); if (!target.id) { this.uuid + 1; target.id dp + this.uuid; } inst this._newInst($(target), inline); inst.settings $.extend({}, settings || {}); if (nodeName input) { this._connectDatepicker(target, inst); } else if (inline) { this._inlineDatepicker(target, inst); } }, _newInst: function(target, inline) { var id target0.id.replace(/(^A-Za-z0-9_\-)/g, \\\\$1); return {id: id, input: target, selectedDay: 0, selectedMonth: 0, selectedYear: 0, drawMonth: 0, drawYear: 0, inline: inline, dpDiv: (!inline ? this.dpDiv : bindHover($(div class + this._inlineClass + ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all>/div>)))}; }, _connectDatepicker: function(target, inst) { var input $(target); inst.append $(); inst.trigger $(); if (input.hasClass(this.markerClassName)) { return; } this._attachments(input, inst); input.addClass(this.markerClassName).keydown(this._doKeyDown). keypress(this._doKeyPress).keyup(this._doKeyUp); this._autoSize(inst); $.data(target, PROP_NAME, inst); if( inst.settings.disabled ) { this._disableDatepicker( target ); } }, _attachments: function(input, inst) { var showOn, buttonText, buttonImage, appendText this._get(inst, appendText), isRTL this._get(inst, isRTL); if (inst.append) { inst.append.remove(); } if (appendText) { inst.append $(span class + this._appendClass + > + appendText + /span>); inputisRTL ? before : after(inst.append); } input.unbind(focus, this._showDatepicker); if (inst.trigger) { inst.trigger.remove(); } showOn this._get(inst, showOn); if (showOn focus || showOn both) { input.focus(this._showDatepicker); } if (showOn button || showOn both) { buttonText this._get(inst, buttonText); buttonImage this._get(inst, buttonImage); inst.trigger $(this._get(inst, buttonImageOnly) ? $(img/>).addClass(this._triggerClass). attr({ src: buttonImage, alt: buttonText, title: buttonText }) : $(button typebutton>/button>).addClass(this._triggerClass). html(!buttonImage ? buttonText : $(img/>).attr( { src:buttonImage, alt:buttonText, title:buttonText }))); inputisRTL ? before : after(inst.trigger); inst.trigger.click(function() { if ($.datepicker._datepickerShowing && $.datepicker._lastInput input0) { $.datepicker._hideDatepicker(); } else if ($.datepicker._datepickerShowing && $.datepicker._lastInput ! input0) { $.datepicker._hideDatepicker(); $.datepicker._showDatepicker(input0); } else { $.datepicker._showDatepicker(input0); } return false; }); } }, _autoSize: function(inst) { if (this._get(inst, autoSize) && !inst.inline) { var findMax, max, maxI, i, date new Date(2009, 12 - 1, 20), dateFormat this._get(inst, dateFormat); if (dateFormat.match(/DM/)) { findMax function(names) { max 0; maxI 0; for (i 0; i names.length; i++) { if (namesi.length > max) { max namesi.length; maxI i; } } return maxI; }; date.setMonth(findMax(this._get(inst, (dateFormat.match(/MM/) ? monthNames : monthNamesShort)))); date.setDate(findMax(this._get(inst, (dateFormat.match(/DD/) ? dayNames : dayNamesShort))) + 20 - date.getDay()); } inst.input.attr(size, this._formatDate(inst, date).length); } }, _inlineDatepicker: function(target, inst) { var divSpan $(target); if (divSpan.hasClass(this.markerClassName)) { return; } divSpan.addClass(this.markerClassName).append(inst.dpDiv); $.data(target, PROP_NAME, inst); this._setDate(inst, this._getDefaultDate(inst), true); this._updateDatepicker(inst); this._updateAlternate(inst); if( inst.settings.disabled ) { this._disableDatepicker( target ); } inst.dpDiv.css( display, block ); }, _dialogDatepicker: function(input, date, onSelect, settings, pos) { var id, browserWidth, browserHeight, scrollX, scrollY, inst this._dialogInst; if (!inst) { this.uuid + 1; id dp + this.uuid; this._dialogInput $(input typetext id + id + styleposition: absolute; top: -100px; width: 0px;/>); this._dialogInput.keydown(this._doKeyDown); $(body).append(this._dialogInput); inst this._dialogInst this._newInst(this._dialogInput, false); inst.settings {}; $.data(this._dialogInput0, PROP_NAME, inst); } extendRemove(inst.settings, settings || {}); date (date && date.constructor Date ? this._formatDate(inst, date) : date); this._dialogInput.val(date); this._pos (pos ? (pos.length ? pos : pos.pageX, pos.pageY) : null); if (!this._pos) { browserWidth document.documentElement.clientWidth; browserHeight document.documentElement.clientHeight; scrollX document.documentElement.scrollLeft || document.body.scrollLeft; scrollY document.documentElement.scrollTop || document.body.scrollTop; this._pos (browserWidth / 2) - 100 + scrollX, (browserHeight / 2) - 150 + scrollY; } this._dialogInput.css(left, (this._pos0 + 20) + px).css(top, this._pos1 + px); inst.settings.onSelect onSelect; this._inDialog true; this.dpDiv.addClass(this._dialogClass); this._showDatepicker(this._dialogInput0); if ($.blockUI) { $.blockUI(this.dpDiv); } $.data(this._dialogInput0, PROP_NAME, inst); return this; }, _destroyDatepicker: function(target) { var nodeName, $target $(target), inst $.data(target, PROP_NAME); if (!$target.hasClass(this.markerClassName)) { return; } nodeName target.nodeName.toLowerCase(); $.removeData(target, PROP_NAME); if (nodeName input) { inst.append.remove(); inst.trigger.remove(); $target.removeClass(this.markerClassName). unbind(focus, this._showDatepicker). unbind(keydown, this._doKeyDown). unbind(keypress, this._doKeyPress). unbind(keyup, this._doKeyUp); } else if (nodeName div || nodeName span) { $target.removeClass(this.markerClassName).empty(); } }, _enableDatepicker: function(target) { var nodeName, inline, $target $(target), inst $.data(target, PROP_NAME); if (!$target.hasClass(this.markerClassName)) { return; } nodeName target.nodeName.toLowerCase(); if (nodeName input) { target.disabled false; inst.trigger.filter(button). each(function() { this.disabled false; }).end(). filter(img).css({opacity: 1.0, cursor: }); } else if (nodeName div || nodeName span) { inline $target.children(. + this._inlineClass); inline.children().removeClass(ui-state-disabled); inline.find(select.ui-datepicker-month, select.ui-datepicker-year). prop(disabled, false); } this._disabledInputs $.map(this._disabledInputs, function(value) { return (value target ? null : value); }); // delete entry }, _disableDatepicker: function(target) { var nodeName, inline, $target $(target), inst $.data(target, PROP_NAME); if (!$target.hasClass(this.markerClassName)) { return; } nodeName target.nodeName.toLowerCase(); if (nodeName input) { target.disabled true; inst.trigger.filter(button). each(function() { this.disabled true; }).end(). filter(img).css({opacity: 0.5, cursor: default}); } else if (nodeName div || nodeName span) { inline $target.children(. + this._inlineClass); inline.children().addClass(ui-state-disabled); inline.find(select.ui-datepicker-month, select.ui-datepicker-year). prop(disabled, true); } this._disabledInputs $.map(this._disabledInputs, function(value) { return (value target ? null : value); }); this._disabledInputsthis._disabledInputs.length target; }, _isDisabledDatepicker: function(target) { if (!target) { return false; } for (var i 0; i this._disabledInputs.length; i++) { if (this._disabledInputsi target) { return true; } } return false; }, _getInst: function(target) { try { return $.data(target, PROP_NAME); } catch (err) { throw Missing instance data for this datepicker; } }, _optionDatepicker: function(target, name, value) { var settings, date, minDate, maxDate, inst this._getInst(target); if (arguments.length 2 && typeof name string) { return (name defaults ? $.extend({}, $.datepicker._defaults) : (inst ? (name all ? $.extend({}, inst.settings) : this._get(inst, name)) : null)); } settings name || {}; if (typeof name string) { settings {}; settingsname value; } if (inst) { if (this._curInst inst) { this._hideDatepicker(); } date this._getDateDatepicker(target, true); minDate this._getMinMaxDate(inst, min); maxDate this._getMinMaxDate(inst, max); extendRemove(inst.settings, settings); if (minDate ! null && settings.dateFormat ! undefined && settings.minDate undefined) { inst.settings.minDate this._formatDate(inst, minDate); } if (maxDate ! null && settings.dateFormat ! undefined && settings.maxDate undefined) { inst.settings.maxDate this._formatDate(inst, maxDate); } if ( disabled in settings ) { if ( settings.disabled ) { this._disableDatepicker(target); } else { this._enableDatepicker(target); } } this._attachments($(target), inst); this._autoSize(inst); this._setDate(inst, date); this._updateAlternate(inst); this._updateDatepicker(inst); } }, _changeDatepicker: function(target, name, value) { this._optionDatepicker(target, name, value); }, _refreshDatepicker: function(target) { var inst this._getInst(target); if (inst) { this._updateDatepicker(inst); } }, _setDateDatepicker: function(target, date) { var inst this._getInst(target); if (inst) { this._setDate(inst, date); this._updateDatepicker(inst); this._updateAlternate(inst); } }, _getDateDatepicker: function(target, noDefault) { var inst this._getInst(target); if (inst && !inst.inline) { this._setDateFromField(inst, noDefault); } return (inst ? this._getDate(inst) : null); }, _doKeyDown: function(event) { var onSelect, dateStr, sel, inst $.datepicker._getInst(event.target), handled true, isRTL inst.dpDiv.is(.ui-datepicker-rtl); inst._keyEvent true; if ($.datepicker._datepickerShowing) { switch (event.keyCode) { case 9: $.datepicker._hideDatepicker(); handled false; break; // hide on tab out case 13: sel $(td. + $.datepicker._dayOverClass + :not(. + $.datepicker._currentClass + ), inst.dpDiv); if (sel0) { $.datepicker._selectDay(event.target, inst.selectedMonth, inst.selectedYear, sel0); } onSelect $.datepicker._get(inst, onSelect); if (onSelect) { dateStr $.datepicker._formatDate(inst); onSelect.apply((inst.input ? inst.input0 : null), dateStr, inst); } else { $.datepicker._hideDatepicker(); } return false; case 27: $.datepicker._hideDatepicker(); break; case 33: $.datepicker._adjustDate(event.target, (event.ctrlKey ? -$.datepicker._get(inst, stepBigMonths) : -$.datepicker._get(inst, stepMonths)), M); break; case 34: $.datepicker._adjustDate(event.target, (event.ctrlKey ? +$.datepicker._get(inst, stepBigMonths) : +$.datepicker._get(inst, stepMonths)), M); break; case 35: if (event.ctrlKey || event.metaKey) { $.datepicker._clearDate(event.target); } handled event.ctrlKey || event.metaKey; break; case 36: if (event.ctrlKey || event.metaKey) { $.datepicker._gotoToday(event.target); } handled event.ctrlKey || event.metaKey; break; case 37: if (event.ctrlKey || event.metaKey) { $.datepicker._adjustDate(event.target, (isRTL ? +1 : -1), D); } handled event.ctrlKey || event.metaKey; if (event.originalEvent.altKey) { $.datepicker._adjustDate(event.target, (event.ctrlKey ? -$.datepicker._get(inst, stepBigMonths) : -$.datepicker._get(inst, stepMonths)), M); } break; case 38: if (event.ctrlKey || event.metaKey) { $.datepicker._adjustDate(event.target, -7, D); } handled event.ctrlKey || event.metaKey; break; // -1 week on ctrl or command +up case 39: if (event.ctrlKey || event.metaKey) { $.datepicker._adjustDate(event.target, (isRTL ? -1 : +1), D); } handled event.ctrlKey || event.metaKey; if (event.originalEvent.altKey) { $.datepicker._adjustDate(event.target, (event.ctrlKey ? +$.datepicker._get(inst, stepBigMonths) : +$.datepicker._get(inst, stepMonths)), M); } break; case 40: if (event.ctrlKey || event.metaKey) { $.datepicker._adjustDate(event.target, +7, D); } handled event.ctrlKey || event.metaKey; break; default: handled false; } } else if (event.keyCode 36 && event.ctrlKey) { $.datepicker._showDatepicker(this); } else { handled false; } if (handled) { event.preventDefault(); event.stopPropagation(); } }, _doKeyPress: function(event) { var chars, chr, inst $.datepicker._getInst(event.target); if ($.datepicker._get(inst, constrainInput)) { chars $.datepicker._possibleChars($.datepicker._get(inst, dateFormat)); chr String.fromCharCode(event.charCode null ? event.keyCode : event.charCode); return event.ctrlKey || event.metaKey || (chr || !chars || chars.indexOf(chr) > -1); } }, _doKeyUp: function(event) { var date, inst $.datepicker._getInst(event.target); if (inst.input.val() ! inst.lastVal) { try { date $.datepicker.parseDate($.datepicker._get(inst, dateFormat), (inst.input ? inst.input.val() : null), $.datepicker._getFormatConfig(inst)); if (date) { $.datepicker._setDateFromField(inst); $.datepicker._updateAlternate(inst); $.datepicker._updateDatepicker(inst); } } catch (err) { } } return true; }, _showDatepicker: function(input) { input input.target || input; if (input.nodeName.toLowerCase() ! input) { input $(input, input.parentNode)0; } if ($.datepicker._isDisabledDatepicker(input) || $.datepicker._lastInput input) { return; } var inst, beforeShow, beforeShowSettings, isFixed, offset, showAnim, duration; inst $.datepicker._getInst(input); if ($.datepicker._curInst && $.datepicker._curInst ! inst) { $.datepicker._curInst.dpDiv.stop(true, true); if ( inst && $.datepicker._datepickerShowing ) { $.datepicker._hideDatepicker( $.datepicker._curInst.input0 ); } } beforeShow $.datepicker._get(inst, beforeShow); beforeShowSettings beforeShow ? beforeShow.apply(input, input, inst) : {}; if(beforeShowSettings false){ return; } extendRemove(inst.settings, beforeShowSettings); inst.lastVal null; $.datepicker._lastInput input; $.datepicker._setDateFromField(inst); if ($.datepicker._inDialog) { // hide cursor input.value ; } if (!$.datepicker._pos) { $.datepicker._pos $.datepicker._findPos(input); $.datepicker._pos1 + input.offsetHeight; } isFixed false; $(input).parents().each(function() { isFixed | $(this).css(position) fixed; return !isFixed; }); offset {left: $.datepicker._pos0, top: $.datepicker._pos1}; $.datepicker._pos null; inst.dpDiv.empty(); inst.dpDiv.css({position: absolute, display: block, top: -1000px}); $.datepicker._updateDatepicker(inst); offset $.datepicker._checkOffset(inst, offset, isFixed); inst.dpDiv.css({position: ($.datepicker._inDialog && $.blockUI ? static : (isFixed ? fixed : absolute)), display: none, left: offset.left + px, top: offset.top + px}); if (!inst.inline) { showAnim $.datepicker._get(inst, showAnim); duration $.datepicker._get(inst, duration); inst.dpDiv.zIndex($(input).zIndex()+1); $.datepicker._datepickerShowing true; if ( $.effects && $.effects.effect showAnim ) { inst.dpDiv.show(showAnim, $.datepicker._get(inst, showOptions), duration); } else { inst.dpDivshowAnim || show(null); frozen_timeout setTimeout(function(){ datepicker_frozen inst.dpDiv.css(display) none ? true : false; }, 2000); } if ( $.datepicker._shouldFocusInput( inst ) ) { inst.input.focus(); } $.datepicker._curInst inst; } }, _updateDatepicker: function(inst) { this.maxRows 4; instActive inst; inst.dpDiv.empty().append(this._generateHTML(inst)); this._attachHandlers(inst); inst.dpDiv.find(. + this._dayOverClass + a).mouseover(); var origyearshtml, numMonths this._getNumberOfMonths(inst), cols numMonths1, width 17; inst.dpDiv.removeClass(ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4).width(); if (cols > 1) { inst.dpDiv.addClass(ui-datepicker-multi- + cols).css(width, (width * cols) + em); } inst.dpDiv(numMonths0 ! 1 || numMonths1 ! 1 ? add : remove) + Class(ui-datepicker-multi); inst.dpDiv(this._get(inst, isRTL) ? add : remove) + Class(ui-datepicker-rtl); if (inst $.datepicker._curInst && $.datepicker._datepickerShowing && $.datepicker._shouldFocusInput( inst ) ) { inst.input.focus(); } if( inst.yearshtml ){ origyearshtml inst.yearshtml; setTimeout(function(){ if( origyearshtml inst.yearshtml && inst.yearshtml ){ inst.dpDiv.find(select.ui-datepicker-year:first).replaceWith(inst.yearshtml); } origyearshtml inst.yearshtml null; }, 0); } }, _shouldFocusInput: function( inst ) { return inst.input && inst.input.is( :visible ) && !inst.input.is( :disabled ) && !inst.input.is( :focus ); }, _checkOffset: function(inst, offset, isFixed) { var dpWidth inst.dpDiv.outerWidth(), dpHeight inst.dpDiv.outerHeight(), inputWidth inst.input ? inst.input.outerWidth() : 0, inputHeight inst.input ? inst.input.outerHeight() : 0, viewWidth document.documentElement.clientWidth + (isFixed ? 0 : $(document).scrollLeft()), viewHeight document.documentElement.clientHeight + (isFixed ? 0 : $(document).scrollTop()); offset.left - (this._get(inst, isRTL) ? (dpWidth - inputWidth) : 0); offset.left - (isFixed && offset.left inst.input.offset().left) ? $(document).scrollLeft() : 0; offset.top - (isFixed && offset.top (inst.input.offset().top + inputHeight)) ? $(document).scrollTop() : 0; offset.left - Math.min(offset.left, (offset.left + dpWidth > viewWidth && viewWidth > dpWidth) ? Math.abs(offset.left + dpWidth - viewWidth) : 0); offset.top - Math.min(offset.top, (offset.top + dpHeight > viewHeight && viewHeight > dpHeight) ? Math.abs(dpHeight + inputHeight) : 0); return offset; }, _findPos: function(obj) { var position, inst this._getInst(obj), isRTL this._get(inst, isRTL); while (obj && (obj.type hidden || obj.nodeType ! 1 || $.expr.filters.hidden(obj))) { obj objisRTL ? previousSibling : nextSibling; } position $(obj).offset(); return position.left, position.top; }, _hideDatepicker: function(input) { var showAnim, duration, postProcess, onClose, inst this._curInst; if (!inst || (input && inst ! $.data(input, PROP_NAME))) { return; } if (this._datepickerShowing) { showAnim this._get(inst, showAnim); duration this._get(inst, duration); postProcess function() { $.datepicker._tidyDialog(inst); }; if ( $.effects && ( $.effects.effect showAnim || $.effects showAnim ) ) { inst.dpDiv.hide(showAnim, $.datepicker._get(inst, showOptions), duration, postProcess); } else { inst.dpDiv(showAnim slideDown ? slideUp : (showAnim fadeIn ? fadeOut : hide))((null), postProcess); } clearTimeout(frozen_timeout); if (!showAnim) { postProcess(); } this._datepickerShowing false; onClose this._get(inst, onClose); if (onClose) { onClose.apply((inst.input ? inst.input0 : null), (inst.input ? inst.input.val() : ), inst); } this._lastInput null; if (this._inDialog) { this._dialogInput.css({ position: absolute, left: 0, top: -100px }); if ($.blockUI) { $.unblockUI(); $(body).append(this.dpDiv); } } this._inDialog false; } }, _tidyDialog: function(inst) { inst.dpDiv.removeClass(this._dialogClass).unbind(.ui-datepicker-calendar); }, _checkExternalClick: function(event) { if (!$.datepicker._curInst) { return; } var $target $(event.target), inst $.datepicker._getInst($target0); if ( ( ( $target0.id ! $.datepicker._mainDivId && $target.parents(# + $.datepicker._mainDivId).length 0 && !$target.hasClass($.datepicker.markerClassName) && !$target.closest(. + $.datepicker._triggerClass).length && $.datepicker._datepickerShowing && !($.datepicker._inDialog && $.blockUI) ) ) || ( $target.hasClass($.datepicker.markerClassName) && $.datepicker._curInst ! inst ) ) { $.datepicker._hideDatepicker(); } }, _adjustDate: function(id, offset, period) { var target $(id), inst this._getInst(target0); if (this._isDisabledDatepicker(target0)) { return; } this._adjustInstDate(inst, offset + (period M ? this._get(inst, showCurrentAtPos) : 0), // undo positioning period); this._updateDatepicker(inst); }, _gotoToday: function(id) { var date, target $(id), inst this._getInst(target0); if (this._get(inst, gotoCurrent) && inst.currentDay) { inst.selectedDay inst.currentDay; inst.drawMonth inst.selectedMonth inst.currentMonth; inst.drawYear inst.selectedYear inst.currentYear; } else { date new Date(); inst.selectedDay date.getDate(); inst.drawMonth inst.selectedMonth date.getMonth(); inst.drawYear inst.selectedYear date.getFullYear(); } this._notifyChange(inst); this._adjustDate(target); }, _selectMonthYear: function(id, select, period) { var target $(id), inst this._getInst(target0); instselected + (period M ? Month : Year) instdraw + (period M ? Month : Year) parseInt(select.optionsselect.selectedIndex.value,10); this._notifyChange(inst); this._adjustDate(target); }, _selectDay: function(id, month, year, td) { var inst, target $(id); if ($(td).hasClass(this._unselectableClass) || this._isDisabledDatepicker(target0)) { return; } inst this._getInst(target0); inst.selectedDay inst.currentDay $(a, td).html(); inst.selectedMonth inst.currentMonth month; inst.selectedYear inst.currentYear year; this._selectDate(id, this._formatDate(inst, inst.currentDay, inst.currentMonth, inst.currentYear)); }, _clearDate: function(id) { var target $(id); this._selectDate(target, ); }, _selectDate: function(id, dateStr) { var onSelect, target $(id), inst this._getInst(target0); dateStr (dateStr ! null ? dateStr : this._formatDate(inst)); if (inst.input) { inst.input.val(dateStr); } this._updateAlternate(inst); onSelect this._get(inst, onSelect); if (onSelect) { onSelect.apply((inst.input ? inst.input0 : null), dateStr, inst); } else if (inst.input) { inst.input.trigger(change); } if (inst.inline){ this._updateDatepicker(inst); } else { this._hideDatepicker(); this._lastInput inst.input0; if (typeof(inst.input0) ! object) { inst.input.focus(); } this._lastInput null; } }, _updateAlternate: function(inst) { var altFormat, date, dateStr, altField this._get(inst, altField); if (altField) { altFormat this._get(inst, altFormat) || this._get(inst, dateFormat); date this._getDate(inst); dateStr this.formatDate(altFormat, date, this._getFormatConfig(inst)); $(altField).each(function() { $(this).val(dateStr); }); } }, noWeekends: function(date) { var day date.getDay(); return (day > 0 && day 6), ; }, iso8601Week: function(date) { var time, checkDate new Date(date.getTime()); checkDate.setDate(checkDate.getDate() + 4 - (checkDate.getDay() || 7)); time checkDate.getTime(); checkDate.setMonth(0); // Compare with Jan 1 checkDate.setDate(1); return Math.floor(Math.round((time - checkDate) / 86400000) / 7) + 1; }, parseDate: function (format, value, settings) { if (format null || value null) { throw Invalid arguments; } value (typeof value object ? value.toString() : value + ); if (value ) { return null; } var iFormat, dim, extra, iValue 0, shortYearCutoffTemp (settings ? settings.shortYearCutoff : null) || this._defaults.shortYearCutoff, shortYearCutoff (typeof shortYearCutoffTemp ! string ? shortYearCutoffTemp : new Date().getFullYear() % 100 + parseInt(shortYearCutoffTemp, 10)), dayNamesShort (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort, dayNames (settings ? settings.dayNames : null) || this._defaults.dayNames, monthNamesShort (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort, monthNames (settings ? settings.monthNames : null) || this._defaults.monthNames, year -1, month -1, day -1, doy -1, literal false, date, lookAhead function(match) { var matches (iFormat + 1 format.length && format.charAt(iFormat + 1) match); if (matches) { iFormat++; } return matches; }, getNumber function(match) { var isDoubled lookAhead(match), size (match @ ? 14 : (match ! ? 20 : (match y && isDoubled ? 4 : (match o ? 3 : 2)))), digits new RegExp(^\\d{1, + size + }), num value.substring(iValue).match(digits); if (!num) { throw Missing number at position + iValue; } iValue + num0.length; return parseInt(num0, 10); }, getName function(match, shortNames, longNames) { var index -1, names $.map(lookAhead(match) ? longNames : shortNames, function (v, k) { return k, v ; }).sort(function (a, b) { return -(a1.length - b1.length); }); $.each(names, function (i, pair) { var name pair1; if (value.substr(iValue, name.length).toLowerCase() name.toLowerCase()) { index pair0; iValue + name.length; return false; } }); if (index ! -1) { return index + 1; } else { throw Unknown name at position + iValue; } }, checkLiteral function() { if (value.charAt(iValue) ! format.charAt(iFormat)) { throw Unexpected literal at position + iValue; } iValue++; }; for (iFormat 0; iFormat format.length; iFormat++) { if (literal) { if (format.charAt(iFormat) && !lookAhead()) { literal false; } else { checkLiteral(); } } else { switch (format.charAt(iFormat)) { case d: day getNumber(d); break; case D: getName(D, dayNamesShort, dayNames); break; case o: doy getNumber(o); break; case m: month getNumber(m); break; case M: month getName(M, monthNamesShort, monthNames); break; case y: year getNumber(y); break; case @: date new Date(getNumber(@)); year date.getFullYear(); month date.getMonth() + 1; day date.getDate(); break; case !: date new Date((getNumber(!) - this._ticksTo1970) / 10000); year date.getFullYear(); month date.getMonth() + 1; day date.getDate(); break; case : if (lookAhead()){ checkLiteral(); } else { literal true; } break; default: checkLiteral(); } } } if (iValue value.length){ extra value.substr(iValue); if (!/^\s+/.test(extra)) { throw Extra/unparsed characters found in date: + extra; } } if (year -1) { year new Date().getFullYear(); } else if (year 100) { year + new Date().getFullYear() - new Date().getFullYear() % 100 + (year shortYearCutoff ? 0 : -100); } if (doy > -1) { month 1; day doy; do { dim this._getDaysInMonth(year, month - 1); if (day dim) { break; } month++; day - dim; } while (true); } date this._daylightSavingAdjust(new Date(year, month - 1, day)); if (date.getFullYear() ! year || date.getMonth() + 1 ! month || date.getDate() ! day) { throw Invalid date; // E.g. 31/02/00 } return date; }, ATOM: yy-mm-dd, COOKIE: D, dd M yy, ISO_8601: yy-mm-dd, RFC_822: D, d M y, RFC_850: DD, dd-M-y, RFC_1036: D, d M y, RFC_1123: D, d M yy, RFC_2822: D, d M yy, RSS: D, d M y, TICKS: !, TIMESTAMP: @, W3C: yy-mm-dd, _ticksTo1970: (((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) + Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000), formatDate: function (format, date, settings) { if (!date) { return ; } var iFormat, dayNamesShort (settings ? settings.dayNamesShort : null) || this._defaults.dayNamesShort, dayNames (settings ? settings.dayNames : null) || this._defaults.dayNames, monthNamesShort (settings ? settings.monthNamesShort : null) || this._defaults.monthNamesShort, monthNames (settings ? settings.monthNames : null) || this._defaults.monthNames, lookAhead function(match) { var matches (iFormat + 1 format.length && format.charAt(iFormat + 1) match); if (matches) { iFormat++; } return matches; }, formatNumber function(match, value, len) { var num + value; if (lookAhead(match)) { while (num.length len) { num 0 + num; } } return num; }, formatName function(match, value, shortNames, longNames) { return (lookAhead(match) ? longNamesvalue : shortNamesvalue); }, output , literal false; if (date) { for (iFormat 0; iFormat format.length; iFormat++) { if (literal) { if (format.charAt(iFormat) && !lookAhead()) { literal false; } else { output + format.charAt(iFormat); } } else { switch (format.charAt(iFormat)) { case d: output + formatNumber(d, date.getDate(), 2); break; case D: output + formatName(D, date.getDay(), dayNamesShort, dayNames); break; case o: output + formatNumber(o, Math.round((new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() - new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3); break; case m: output + formatNumber(m, date.getMonth() + 1, 2); break; case M: output + formatName(M, date.getMonth(), monthNamesShort, monthNames); break; case y: output + (lookAhead(y) ? date.getFullYear() : (date.getYear() % 100 10 ? 0 : ) + date.getYear() % 100); break; case @: output + date.getTime(); break; case !: output + date.getTime() * 10000 + this._ticksTo1970; break; case : if (lookAhead()) { output + ; } else { literal true; } break; default: output + format.charAt(iFormat); } } } } return output; }, _possibleChars: function (format) { var iFormat, chars , literal false, lookAhead function(match) { var matches (iFormat + 1 format.length && format.charAt(iFormat + 1) match); if (matches) { iFormat++; } return matches; }; for (iFormat 0; iFormat format.length; iFormat++) { if (literal) { if (format.charAt(iFormat) && !lookAhead()) { literal false; } else { chars + format.charAt(iFormat); } } else { switch (format.charAt(iFormat)) { case d: case m: case y: case @: chars + 0123456789; break; case D: case M: return null; // Accept anything case : if (lookAhead()) { chars + ; } else { literal true; } break; default: chars + format.charAt(iFormat); } } } return chars; }, _get: function(inst, name) { return inst.settingsname ! undefined ? inst.settingsname : this._defaultsname; }, _setDateFromField: function(inst, noDefault) { if (inst.input.val() inst.lastVal) { return; } var dateFormat this._get(inst, dateFormat), dates inst.lastVal inst.input ? inst.input.val() : null, defaultDate this._getDefaultDate(inst), date defaultDate, settings this._getFormatConfig(inst); try { date this.parseDate(dateFormat, dates, settings) || defaultDate; } catch (event) { dates (noDefault ? : dates); } inst.selectedDay date.getDate(); inst.drawMonth inst.selectedMonth date.getMonth(); inst.drawYear inst.selectedYear date.getFullYear(); inst.currentDay (dates ? date.getDate() : 0); inst.currentMonth (dates ? date.getMonth() : 0); inst.currentYear (dates ? date.getFullYear() : 0); this._adjustInstDate(inst); }, _getDefaultDate: function(inst) { return this._restrictMinMax(inst, this._determineDate(inst, this._get(inst, defaultDate), new Date())); }, _determineDate: function(inst, date, defaultDate) { var offsetNumeric function(offset) { var date new Date(); date.setDate(date.getDate() + offset); return date; }, offsetString function(offset) { try { return $.datepicker.parseDate($.datepicker._get(inst, dateFormat), offset, $.datepicker._getFormatConfig(inst)); } catch (e) { } var date (offset.toLowerCase().match(/^c/) ? $.datepicker._getDate(inst) : null) || new Date(), year date.getFullYear(), month date.getMonth(), day date.getDate(), pattern /(+\-?0-9+)\s*(d|D|w|W|m|M|y|Y)?/g, matches pattern.exec(offset); while (matches) { switch (matches2 || d) { case d : case D : day + parseInt(matches1,10); break; case w : case W : day + parseInt(matches1,10) * 7; break; case m : case M : month + parseInt(matches1,10); day Math.min(day, $.datepicker._getDaysInMonth(year, month)); break; case y: case Y : year + parseInt(matches1,10); day Math.min(day, $.datepicker._getDaysInMonth(year, month)); break; } matches pattern.exec(offset); } return new Date(year, month, day); }, newDate (date null || date ? defaultDate : (typeof date string ? offsetString(date) : (typeof date number ? (isNaN(date) ? defaultDate : offsetNumeric(date)) : new Date(date.getTime())))); newDate (newDate && newDate.toString() Invalid Date ? defaultDate : newDate); if (newDate) { newDate.setHours(0); newDate.setMinutes(0); newDate.setSeconds(0); newDate.setMilliseconds(0); } return this._daylightSavingAdjust(newDate); }, _daylightSavingAdjust: function(date) { if (!date) { return null; } date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0); return date; }, _setDate: function(inst, date, noChange) { var clear !date, origMonth inst.selectedMonth, origYear inst.selectedYear, newDate this._restrictMinMax(inst, this._determineDate(inst, date, new Date())); inst.selectedDay inst.currentDay newDate.getDate(); inst.drawMonth inst.selectedMonth inst.currentMonth newDate.getMonth(); inst.drawYear inst.selectedYear inst.currentYear newDate.getFullYear(); if ((origMonth ! inst.selectedMonth || origYear ! inst.selectedYear) && !noChange) { this._notifyChange(inst); } this._adjustInstDate(inst); if (inst.input) { inst.input.val(clear ? : this._formatDate(inst)); } }, _getDate: function(inst) { var startDate (!inst.currentYear || (inst.input && inst.input.val() ) ? null : this._daylightSavingAdjust(new Date( inst.currentYear, inst.currentMonth, inst.currentDay))); return startDate; }, _attachHandlers: function(inst) { var stepMonths this._get(inst, stepMonths), id # + inst.id.replace( /\\\\/g, \\ ); inst.dpDiv.find(data-handler).map(function () { var handler { prev: function () { $.datepicker._adjustDate(id, -stepMonths, M); }, next: function () { $.datepicker._adjustDate(id, +stepMonths, M); }, hide: function () { $.datepicker._hideDatepicker(); }, today: function () { $.datepicker._gotoToday(id); }, selectDay: function () { $.datepicker._selectDay(id, +this.getAttribute(data-month), +this.getAttribute(data-year), this); return false; }, selectMonth: function () { $.datepicker._selectMonthYear(id, this, M); return false; }, selectYear: function () { $.datepicker._selectMonthYear(id, this, Y); return false; } }; $(this).bind(this.getAttribute(data-event), handlerthis.getAttribute(data-handler)); }); }, _generateHTML: function(inst) { var maxDraw, prevText, prev, nextText, next, currentText, gotoDate, controls, buttonPanel, firstDay, showWeek, dayNames, dayNamesMin, monthNames, monthNamesShort, beforeShowDay, showOtherMonths, selectOtherMonths, defaultDate, html, dow, row, group, col, selectedDate, cornerClass, calender, thead, day, daysInMonth, leadDays, curRows, numRows, printDate, dRow, tbody, daySettings, otherMonth, unselectable, tempDate new Date(), today this._daylightSavingAdjust( new Date(tempDate.getFullYear(), tempDate.getMonth(), tempDate.getDate())), // clear time isRTL this._get(inst, isRTL), showButtonPanel this._get(inst, showButtonPanel), hideIfNoPrevNext this._get(inst, hideIfNoPrevNext), navigationAsDateFormat this._get(inst, navigationAsDateFormat), numMonths this._getNumberOfMonths(inst), showCurrentAtPos this._get(inst, showCurrentAtPos), stepMonths this._get(inst, stepMonths), isMultiMonth (numMonths0 ! 1 || numMonths1 ! 1), currentDate this._daylightSavingAdjust((!inst.currentDay ? new Date(9999, 9, 9) : new Date(inst.currentYear, inst.currentMonth, inst.currentDay))), minDate this._getMinMaxDate(inst, min), maxDate this._getMinMaxDate(inst, max), drawMonth inst.drawMonth - showCurrentAtPos, drawYear inst.drawYear; if (drawMonth 0) { drawMonth + 12; drawYear--; } if (maxDate) { maxDraw this._daylightSavingAdjust(new Date(maxDate.getFullYear(), maxDate.getMonth() - (numMonths0 * numMonths1) + 1, maxDate.getDate())); maxDraw (minDate && maxDraw minDate ? minDate : maxDraw); while (this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1)) > maxDraw) { drawMonth--; if (drawMonth 0) { drawMonth 11; drawYear--; } } } inst.drawMonth drawMonth; inst.drawYear drawYear; prevText this._get(inst, prevText); prevText (!navigationAsDateFormat ? prevText : this.formatDate(prevText, this._daylightSavingAdjust(new Date(drawYear, drawMonth - stepMonths, 1)), this._getFormatConfig(inst))); prev (this._canAdjustMonth(inst, -1, drawYear, drawMonth) ? a classui-datepicker-prev ui-corner-all data-handlerprev data-eventclick + title + prevText + >span classui-icon ui-icon-circle-triangle- + ( isRTL ? e : w) + > + prevText + /span>/a> : (hideIfNoPrevNext ? : a classui-datepicker-prev ui-corner-all ui-state-disabled title+ prevText +>span classui-icon ui-icon-circle-triangle- + ( isRTL ? e : w) + > + prevText + /span>/a>)); nextText this._get(inst, nextText); nextText (!navigationAsDateFormat ? nextText : this.formatDate(nextText, this._daylightSavingAdjust(new Date(drawYear, drawMonth + stepMonths, 1)), this._getFormatConfig(inst))); next (this._canAdjustMonth(inst, +1, drawYear, drawMonth) ? a classui-datepicker-next ui-corner-all data-handlernext data-eventclick + title + nextText + >span classui-icon ui-icon-circle-triangle- + ( isRTL ? w : e) + > + nextText + /span>/a> : (hideIfNoPrevNext ? : a classui-datepicker-next ui-corner-all ui-state-disabled title+ nextText + >span classui-icon ui-icon-circle-triangle- + ( isRTL ? w : e) + > + nextText + /span>/a>)); currentText this._get(inst, currentText); gotoDate (this._get(inst, gotoCurrent) && inst.currentDay ? currentDate : today); currentText (!navigationAsDateFormat ? currentText : this.formatDate(currentText, gotoDate, this._getFormatConfig(inst))); controls (!inst.inline ? button typebutton classui-datepicker-close ui-state-default ui-priority-primary ui-corner-all data-handlerhide data-eventclick> + this._get(inst, closeText) + /button> : ); buttonPanel (showButtonPanel) ? div classui-datepicker-buttonpane ui-widget-content> + (isRTL ? controls : ) + (this._isInRange(inst, gotoDate) ? button typebutton classui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all data-handlertoday data-eventclick + > + currentText + /button> : ) + (isRTL ? : controls) + /div> : ; firstDay parseInt(this._get(inst, firstDay),10); firstDay (isNaN(firstDay) ? 0 : firstDay); showWeek this._get(inst, showWeek); dayNames this._get(inst, dayNames); dayNamesMin this._get(inst, dayNamesMin); monthNames this._get(inst, monthNames); monthNamesShort this._get(inst, monthNamesShort); beforeShowDay this._get(inst, beforeShowDay); showOtherMonths this._get(inst, showOtherMonths); selectOtherMonths this._get(inst, selectOtherMonths); defaultDate this._getDefaultDate(inst); html ; dow; for (row 0; row numMonths0; row++) { group ; this.maxRows 4; for (col 0; col numMonths1; col++) { selectedDate this._daylightSavingAdjust(new Date(drawYear, drawMonth, inst.selectedDay)); cornerClass ui-corner-all; calender ; if (isMultiMonth) { calender + div classui-datepicker-group; if (numMonths1 > 1) { switch (col) { case 0: calender + ui-datepicker-group-first; cornerClass ui-corner- + (isRTL ? right : left); break; case numMonths1-1: calender + ui-datepicker-group-last; cornerClass ui-corner- + (isRTL ? left : right); break; default: calender + ui-datepicker-group-middle; cornerClass ; break; } } calender + >; } calender + div classui-datepicker-header ui-widget-header ui-helper-clearfix + cornerClass + > + (/all|left/.test(cornerClass) && row 0 ? (isRTL ? next : prev) : ) + (/all|right/.test(cornerClass) && row 0 ? (isRTL ? prev : next) : ) + this._generateMonthYearHeader(inst, drawMonth, drawYear, minDate, maxDate, row > 0 || col > 0, monthNames, monthNamesShort) + // draw month headers /div>table classui-datepicker-calendar>caption styledisplay:none;>Calendar/caption>thead> + tr>; thead (showWeek ? th classui-datepicker-week-col> + this._get(inst, weekHeader) + /th> : ); for (dow 0; dow 7; dow++) { // days of the week day (dow + firstDay) % 7; thead + th + ((dow + firstDay + 6) % 7 > 5 ? classui-datepicker-week-end : ) + > + span title + dayNamesday + > + dayNamesMinday + /span>/th>; } calender + thead + /tr>/thead>tbody>; daysInMonth this._getDaysInMonth(drawYear, drawMonth); if (drawYear inst.selectedYear && drawMonth inst.selectedMonth) { inst.selectedDay Math.min(inst.selectedDay, daysInMonth); } leadDays (this._getFirstDayOfMonth(drawYear, drawMonth) - firstDay + 7) % 7; curRows Math.ceil((leadDays + daysInMonth) / 7); // calculate the number of rows to generate numRows (isMultiMonth ? this.maxRows > curRows ? this.maxRows : curRows : curRows); //If multiple months, use the higher number of rows (see #7043) this.maxRows numRows; printDate this._daylightSavingAdjust(new Date(drawYear, drawMonth, 1 - leadDays)); for (dRow 0; dRow numRows; dRow++) { // create date picker rows calender + tr>; tbody (!showWeek ? : td classui-datepicker-week-col> + this._get(inst, calculateWeek)(printDate) + /td>); for (dow 0; dow 7; dow++) { // create date picker days daySettings (beforeShowDay ? beforeShowDay.apply((inst.input ? inst.input0 : null), printDate) : true, ); otherMonth (printDate.getMonth() ! drawMonth); unselectable (otherMonth && !selectOtherMonths) || !daySettings0 || (minDate && printDate minDate) || (maxDate && printDate > maxDate); tbody + td class + ((dow + firstDay + 6) % 7 > 5 ? ui-datepicker-week-end : ) + // highlight weekends (otherMonth ? ui-datepicker-other-month : ) + // highlight days from other months ((printDate.getTime() selectedDate.getTime() && drawMonth inst.selectedMonth && inst._keyEvent) || // user pressed key (defaultDate.getTime() printDate.getTime() && defaultDate.getTime() selectedDate.getTime()) ? // or defaultDate is current printedDate and defaultDate is selectedDate + this._dayOverClass : ) + // highlight selected day (unselectable ? + this._unselectableClass + ui-state-disabled: ) + // highlight unselectable days (otherMonth && !showOtherMonths ? : + daySettings1 + // highlight custom dates (printDate.getTime() currentDate.getTime() ? + this._currentClass : ) + // highlight selected day (printDate.getTime() today.getTime() ? ui-datepicker-today : )) + + // highlight today (if different) ((!otherMonth || showOtherMonths) && daySettings2 ? title + daySettings2.replace(//g, ') + : ) + // cell title (unselectable ? : data-handlerselectDay data-eventclick data-month + printDate.getMonth() + data-year + printDate.getFullYear() + ) + > + // actions (otherMonth && !showOtherMonths ? : // display for other months (unselectable ? span classui-state-default> + printDate.getDate() + /span> : a classui-state-default + (printDate.getTime() today.getTime() ? ui-state-highlight : ) + (printDate.getTime() currentDate.getTime() ? ui-state-active : ) + // highlight selected day (otherMonth ? ui-priority-secondary : ) + // distinguish dates from other months href#> + printDate.getDate() + /a>)) + /td>; // display selectable date printDate.setDate(printDate.getDate() + 1); printDate this._daylightSavingAdjust(printDate); } calender + tbody + /tr>; } drawMonth++; if (drawMonth > 11) { drawMonth 0; drawYear++; } calender + /tbody>/table> + (isMultiMonth ? /div> + ((numMonths0 > 0 && col numMonths1-1) ? div classui-datepicker-row-break>/div> : ) : ); group + calender; } html + group; } html + buttonPanel; inst._keyEvent false; return html; }, _generateMonthYearHeader: function(inst, drawMonth, drawYear, minDate, maxDate, secondary, monthNames, monthNamesShort) { var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear, changeMonth this._get(inst, changeMonth), changeYear this._get(inst, changeYear), showMonthAfterYear this._get(inst, showMonthAfterYear), html div classui-datepicker-title>, monthHtml ; if (secondary || !changeMonth) { monthHtml + span classui-datepicker-month> + monthNamesdrawMonth + /span>; } else { inMinYear (minDate && minDate.getFullYear() drawYear); inMaxYear (maxDate && maxDate.getFullYear() drawYear); monthHtml + select classui-datepicker-month data-handlerselectMonth data-eventchange>; for ( month 0; month 12; month++) { if ((!inMinYear || month > minDate.getMonth()) && (!inMaxYear || month maxDate.getMonth())) { monthHtml + option value + month + + (month drawMonth ? selectedselected : ) + > + monthNamesShortmonth + /option>; } } monthHtml + /select>; } if (!showMonthAfterYear) { html + monthHtml + (secondary || !(changeMonth && changeYear) ? : ); } if ( !inst.yearshtml ) { inst.yearshtml ; if (secondary || !changeYear) { html + span classui-datepicker-year> + drawYear + /span>; } else { years this._get(inst, yearRange).split(:); thisYear new Date().getFullYear(); determineYear function(value) { var year (value.match(/c+\-.*/) ? drawYear + parseInt(value.substring(1), 10) : (value.match(/+\-.*/) ? thisYear + parseInt(value, 10) : parseInt(value, 10))); return (isNaN(year) ? thisYear : year); }; year determineYear(years0); endYear Math.max(year, determineYear(years1 || )); year (minDate ? Math.max(year, minDate.getFullYear()) : year); endYear (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear); inst.yearshtml + select classui-datepicker-year data-handlerselectYear data-eventchange>; for (; year endYear; year++) { inst.yearshtml + option value + year + + (year drawYear ? selectedselected : ) + > + year + /option>; } inst.yearshtml + /select>; html + inst.yearshtml; inst.yearshtml null; } } html + this._get(inst, yearSuffix); if (showMonthAfterYear) { html + (secondary || !(changeMonth && changeYear) ? : ) + monthHtml; } html + /div>; // Close datepicker_header return html; }, _adjustInstDate: function(inst, offset, period) { var year inst.drawYear + (period Y ? offset : 0), month inst.drawMonth + (period M ? offset : 0), day Math.min(inst.selectedDay, this._getDaysInMonth(year, month)) + (period D ? offset : 0), date this._restrictMinMax(inst, this._daylightSavingAdjust(new Date(year, month, day))); inst.selectedDay date.getDate(); inst.drawMonth inst.selectedMonth date.getMonth(); inst.drawYear inst.selectedYear date.getFullYear(); if (period M || period Y) { this._notifyChange(inst); } }, _restrictMinMax: function(inst, date) { var minDate this._getMinMaxDate(inst, min), maxDate this._getMinMaxDate(inst, max), newDate (minDate && date minDate ? minDate : date); return (maxDate && newDate > maxDate ? maxDate : newDate); }, _notifyChange: function(inst) { var onChange this._get(inst, onChangeMonthYear); if (onChange) { onChange.apply((inst.input ? inst.input0 : null), inst.selectedYear, inst.selectedMonth + 1, inst); } }, _getNumberOfMonths: function(inst) { var numMonths this._get(inst, numberOfMonths); return (numMonths null ? 1, 1 : (typeof numMonths number ? 1, numMonths : numMonths)); }, _getMinMaxDate: function(inst, minMax) { return this._determineDate(inst, this._get(inst, minMax + Date), null); }, _getDaysInMonth: function(year, month) { return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate(); }, _getFirstDayOfMonth: function(year, month) { return new Date(year, month, 1).getDay(); }, _canAdjustMonth: function(inst, offset, curYear, curMonth) { var numMonths this._getNumberOfMonths(inst), date this._daylightSavingAdjust(new Date(curYear, curMonth + (offset 0 ? offset : numMonths0 * numMonths1), 1)); if (offset 0) { date.setDate(this._getDaysInMonth(date.getFullYear(), date.getMonth())); } return this._isInRange(inst, date); }, _isInRange: function(inst, date) { var yearSplit, currentYear, minDate this._getMinMaxDate(inst, min), maxDate this._getMinMaxDate(inst, max), minYear null, maxYear null, years this._get(inst, yearRange); if (years){ yearSplit years.split(:); currentYear new Date().getFullYear(); minYear parseInt(yearSplit0, 10); maxYear parseInt(yearSplit1, 10); if ( yearSplit0.match(/+\-.*/) ) { minYear + currentYear; } if ( yearSplit1.match(/+\-.*/) ) { maxYear + currentYear; } } return ((!minDate || date.getTime() > minDate.getTime()) && (!maxDate || date.getTime() maxDate.getTime()) && (!minYear || date.getFullYear() > minYear) && (!maxYear || date.getFullYear() maxYear)); }, _getFormatConfig: function(inst) { var shortYearCutoff this._get(inst, shortYearCutoff); shortYearCutoff (typeof shortYearCutoff ! string ? shortYearCutoff : new Date().getFullYear() % 100 + parseInt(shortYearCutoff, 10)); return {shortYearCutoff: shortYearCutoff, dayNamesShort: this._get(inst, dayNamesShort), dayNames: this._get(inst, dayNames), monthNamesShort: this._get(inst, monthNamesShort), monthNames: this._get(inst, monthNames)}; }, _formatDate: function(inst, day, month, year) { if (!day) { inst.currentDay inst.selectedDay; inst.currentMonth inst.selectedMonth; inst.currentYear inst.selectedYear; } var date (day ? (typeof day object ? day : this._daylightSavingAdjust(new Date(year, month, day))) : this._daylightSavingAdjust(new Date(inst.currentYear, inst.currentMonth, inst.currentDay))); return this.formatDate(this._get(inst, dateFormat), date, this._getFormatConfig(inst)); }});function bindHover(dpDiv) { var selector button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a; return dpDiv.delegate(selector, mouseout, function() { $(this).removeClass(ui-state-hover); if (this.className.indexOf(ui-datepicker-prev) ! -1) { $(this).removeClass(ui-datepicker-prev-hover); } if (this.className.indexOf(ui-datepicker-next) ! -1) { $(this).removeClass(ui-datepicker-next-hover); } }) .delegate(selector, mouseover, function(){ if (!$.datepicker._isDisabledDatepicker( instActive.inline ? dpDiv.parent()0 : instActive.input0)) { $(this).parents(.ui-datepicker-calendar).find(a).removeClass(ui-state-hover); $(this).addClass(ui-state-hover); if (this.className.indexOf(ui-datepicker-prev) ! -1) { $(this).addClass(ui-datepicker-prev-hover); } if (this.className.indexOf(ui-datepicker-next) ! -1) { $(this).addClass(ui-datepicker-next-hover); } } });}function extendRemove(target, props) { $.extend(target, props); for (var name in props) { if (propsname null) { targetname propsname; } } return target;}$.fn.datepicker function(options){ if ( !this.length ) { return this; } if (!$.datepicker.initialized) { $(document).mousedown($.datepicker._checkExternalClick); $.datepicker.initialized true; } if ($(#+$.datepicker._mainDivId).length 0) { $(body).append($.datepicker.dpDiv); } var otherArgs Array.prototype.slice.call(arguments, 1); if (typeof options string && (options isDisabled || options getDate || options widget)) { return $.datepicker_ + options + Datepicker. apply($.datepicker, this0.concat(otherArgs)); } if (options option && arguments.length 2 && typeof arguments1 string) { return $.datepicker_ + options + Datepicker. apply($.datepicker, this0.concat(otherArgs)); } return this.each(function() { typeof options string ? $.datepicker_ + options + Datepicker. apply($.datepicker, this.concat(otherArgs)) : $.datepicker._attachDatepicker(this, options); });};$.datepicker new Datepicker();$.datepicker.initialized false;$.datepicker.uuid new Date().getTime();$.datepicker.version 1.10.4;})(jQuery);(function( $, undefined ) {var sizeRelatedOptions { buttons: true, height: true, maxHeight: true, maxWidth: true, minHeight: true, minWidth: true, width: true }, resizableRelatedOptions { maxHeight: true, maxWidth: true, minHeight: true, minWidth: true };$.widget( ui.dialog, { version: 1.10.4, options: { appendTo: body, autoOpen: true, buttons: , closeOnEscape: true, closeText: close, dialogClass: , draggable: true, hide: null, height: auto, maxHeight: null, maxWidth: null, minHeight: 150, minWidth: 150, modal: false, position: { my: center, at: center, of: window, collision: fit, using: function( pos ) { var topOffset $( this ).css( pos ).offset().top; if ( topOffset 0 ) { $( this ).css( top, pos.top - topOffset ); } } }, resizable: true, show: null, title: null, width: 300, beforeClose: null, close: null, drag: null, dragStart: null, dragStop: null, focus: null, open: null, resize: null, resizeStart: null, resizeStop: null }, _create: function() { this.originalCss { display: this.element0.style.display, width: this.element0.style.width, minHeight: this.element0.style.minHeight, maxHeight: this.element0.style.maxHeight, height: this.element0.style.height }; this.originalPosition { parent: this.element.parent(), index: this.element.parent().children().index( this.element ) }; this.originalTitle this.element.attr(title); this.options.title this.options.title || this.originalTitle; this._createWrapper(); this.element .show() .removeAttr(title) .addClass(ui-dialog-content ui-widget-content) .appendTo( this.uiDialog ); this._createTitlebar(); this._createButtonPane(); if ( this.options.draggable && $.fn.draggable ) { this._makeDraggable(); } if ( this.options.resizable && $.fn.resizable ) { this._makeResizable(); } this._isOpen false; }, _init: function() { if ( this.options.autoOpen ) { this.open(); } }, _appendTo: function() { var element this.options.appendTo; if ( element && (element.jquery || element.nodeType) ) { return $( element ); } return this.document.find( element || body ).eq( 0 ); }, _destroy: function() { var next, originalPosition this.originalPosition; this._destroyOverlay(); this.element .removeUniqueId() .removeClass(ui-dialog-content ui-widget-content) .css( this.originalCss ) .detach(); this.uiDialog.stop( true, true ).remove(); if ( this.originalTitle ) { this.element.attr( title, this.originalTitle ); } next originalPosition.parent.children().eq( originalPosition.index ); if ( next.length && next0 ! this.element0 ) { next.before( this.element ); } else { originalPosition.parent.append( this.element ); } }, widget: function() { return this.uiDialog; }, disable: $.noop, enable: $.noop, close: function( event ) { var activeElement, that this; if ( !this._isOpen || this._trigger( beforeClose, event ) false ) { return; } this._isOpen false; this._destroyOverlay(); if ( !this.opener.filter(:focusable).focus().length ) { try { activeElement this.document 0 .activeElement; if ( activeElement && activeElement.nodeName.toLowerCase() ! body ) { $( activeElement ).blur(); } } catch ( error ) {} } this._hide( this.uiDialog, this.options.hide, function() { that._trigger( close, event ); }); }, isOpen: function() { return this._isOpen; }, moveToTop: function() { this._moveToTop(); }, _moveToTop: function( event, silent ) { var moved !!this.uiDialog.nextAll(:visible).insertBefore( this.uiDialog ).length; if ( moved && !silent ) { this._trigger( focus, event ); } return moved; }, open: function() { var that this; if ( this._isOpen ) { if ( this._moveToTop() ) { this._focusTabbable(); } return; } this._isOpen true; this.opener $( this.document0.activeElement ); this._size(); this._position(); this._createOverlay(); this._moveToTop( null, true ); this._show( this.uiDialog, this.options.show, function() { that._focusTabbable(); that._trigger(focus); }); this._trigger(open); }, _focusTabbable: function() { var hasFocus this.element.find(autofocus); if ( !hasFocus.length ) { hasFocus this.element.find(:tabbable); } if ( !hasFocus.length ) { hasFocus this.uiDialogButtonPane.find(:tabbable); } if ( !hasFocus.length ) { hasFocus this.uiDialogTitlebarClose.filter(:tabbable); } if ( !hasFocus.length ) { hasFocus this.uiDialog; } hasFocus.eq( 0 ).focus(); }, _keepFocus: function( event ) { function checkFocus() { var activeElement this.document0.activeElement, isActive this.uiDialog0 activeElement || $.contains( this.uiDialog0, activeElement ); if ( !isActive ) { this._focusTabbable(); } } event.preventDefault(); checkFocus.call( this ); this._delay( checkFocus ); }, _createWrapper: function() { this.uiDialog $(div>) .addClass( ui-dialog ui-widget ui-widget-content ui-corner-all ui-front + this.options.dialogClass ) .hide() .attr({ tabIndex: -1, role: dialog }) .appendTo( this._appendTo() ); this._on( this.uiDialog, { keydown: function( event ) { if ( this.options.closeOnEscape && !event.isDefaultPrevented() && event.keyCode && event.keyCode $.ui.keyCode.ESCAPE ) { event.preventDefault(); this.close( event ); return; } if ( event.keyCode ! $.ui.keyCode.TAB ) { return; } var tabbables this.uiDialog.find(:tabbable), first tabbables.filter(:first), last tabbables.filter(:last); if ( ( event.target last0 || event.target this.uiDialog0 ) && !event.shiftKey ) { first.focus( 1 ); event.preventDefault(); } else if ( ( event.target first0 || event.target this.uiDialog0 ) && event.shiftKey ) { last.focus( 1 ); event.preventDefault(); } }, mousedown: function( event ) { if ( this._moveToTop( event ) ) { this._focusTabbable(); } } }); if ( !this.element.find(aria-describedby).length ) { this.uiDialog.attr({ aria-describedby: this.element.uniqueId().attr(id) }); } }, _createTitlebar: function() { var uiDialogTitle; this.uiDialogTitlebar $(div>) .addClass(ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix) .prependTo( this.uiDialog ); this._on( this.uiDialogTitlebar, { mousedown: function( event ) { if ( !$( event.target ).closest(.ui-dialog-titlebar-close) ) { this.uiDialog.focus(); } } }); this.uiDialogTitlebarClose $( button typebutton>/button> ) .button({ label: this.options.closeText, icons: { primary: ui-icon-closethick }, text: false }) .addClass(ui-dialog-titlebar-close) .appendTo( this.uiDialogTitlebar ); this._on( this.uiDialogTitlebarClose, { click: function( event ) { event.preventDefault(); this.close( event ); } }); uiDialogTitle $(span>) .uniqueId() .addClass(ui-dialog-title) .prependTo( this.uiDialogTitlebar ); this._title( uiDialogTitle ); this.uiDialog.attr({ aria-labelledby: uiDialogTitle.attr(id) }); }, _title: function( title ) { if ( !this.options.title ) { title.html( ); } title.text( this.options.title ); }, _createButtonPane: function() { this.uiDialogButtonPane $(div>) .addClass(ui-dialog-buttonpane ui-widget-content ui-helper-clearfix); this.uiButtonSet $(div>) .addClass(ui-dialog-buttonset) .appendTo( this.uiDialogButtonPane ); this._createButtons(); }, _createButtons: function() { var that this, buttons this.options.buttons; this.uiDialogButtonPane.remove(); this.uiButtonSet.empty(); if ( $.isEmptyObject( buttons ) || ($.isArray( buttons ) && !buttons.length) ) { this.uiDialog.removeClass(ui-dialog-buttons); return; } $.each( buttons, function( name, props ) { var click, buttonOptions; props $.isFunction( props ) ? { click: props, text: name } : props; props $.extend( { type: button }, props ); click props.click; props.click function() { click.apply( that.element0, arguments ); }; buttonOptions { icons: props.icons, text: props.showText }; delete props.icons; delete props.showText; $( button>/button>, props ) .button( buttonOptions ) .appendTo( that.uiButtonSet ); }); this.uiDialog.addClass(ui-dialog-buttons); this.uiDialogButtonPane.appendTo( this.uiDialog ); }, _makeDraggable: function() { var that this, options this.options; function filteredUi( ui ) { return { position: ui.position, offset: ui.offset }; } this.uiDialog.draggable({ cancel: .ui-dialog-content, .ui-dialog-titlebar-close, handle: .ui-dialog-titlebar, containment: document, start: function( event, ui ) { $( this ).addClass(ui-dialog-dragging); that._blockFrames(); that._trigger( dragStart, event, filteredUi( ui ) ); }, drag: function( event, ui ) { that._trigger( drag, event, filteredUi( ui ) ); }, stop: function( event, ui ) { options.position ui.position.left - that.document.scrollLeft(), ui.position.top - that.document.scrollTop() ; $( this ).removeClass(ui-dialog-dragging); that._unblockFrames(); that._trigger( dragStop, event, filteredUi( ui ) ); } }); }, _makeResizable: function() { var that this, options this.options, handles options.resizable, position this.uiDialog.css(position), resizeHandles typeof handles string ? handles : n,e,s,w,se,sw,ne,nw; function filteredUi( ui ) { return { originalPosition: ui.originalPosition, originalSize: ui.originalSize, position: ui.position, size: ui.size }; } this.uiDialog.resizable({ cancel: .ui-dialog-content, containment: document, alsoResize: this.element, maxWidth: options.maxWidth, maxHeight: options.maxHeight, minWidth: options.minWidth, minHeight: this._minHeight(), handles: resizeHandles, start: function( event, ui ) { $( this ).addClass(ui-dialog-resizing); that._blockFrames(); that._trigger( resizeStart, event, filteredUi( ui ) ); }, resize: function( event, ui ) { that._trigger( resize, event, filteredUi( ui ) ); }, stop: function( event, ui ) { options.height $( this ).height(); options.width $( this ).width(); $( this ).removeClass(ui-dialog-resizing); that._unblockFrames(); that._trigger( resizeStop, event, filteredUi( ui ) ); } }) .css( position, position ); }, _minHeight: function() { var options this.options; return options.height auto ? options.minHeight : Math.min( options.minHeight, options.height ); }, _position: function() { var isVisible this.uiDialog.is(:visible); if ( !isVisible ) { this.uiDialog.show(); } this.uiDialog.position( this.options.position ); if ( !isVisible ) { this.uiDialog.hide(); } }, _setOptions: function( options ) { var that this, resize false, resizableOptions {}; $.each( options, function( key, value ) { that._setOption( key, value ); if ( key in sizeRelatedOptions ) { resize true; } if ( key in resizableRelatedOptions ) { resizableOptions key value; } }); if ( resize ) { this._size(); this._position(); } if ( this.uiDialog.is(:data(ui-resizable)) ) { this.uiDialog.resizable( option, resizableOptions ); } }, _setOption: function( key, value ) { var isDraggable, isResizable, uiDialog this.uiDialog; if ( key dialogClass ) { uiDialog .removeClass( this.options.dialogClass ) .addClass( value ); } if ( key disabled ) { return; } this._super( key, value ); if ( key appendTo ) { this.uiDialog.appendTo( this._appendTo() ); } if ( key buttons ) { this._createButtons(); } if ( key closeText ) { this.uiDialogTitlebarClose.button({ label: + value }); } if ( key draggable ) { isDraggable uiDialog.is(:data(ui-draggable)); if ( isDraggable && !value ) { uiDialog.draggable(destroy); } if ( !isDraggable && value ) { this._makeDraggable(); } } if ( key position ) { this._position(); } if ( key resizable ) { isResizable uiDialog.is(:data(ui-resizable)); if ( isResizable && !value ) { uiDialog.resizable(destroy); } if ( isResizable && typeof value string ) { uiDialog.resizable( option, handles, value ); } if ( !isResizable && value ! false ) { this._makeResizable(); } } if ( key title ) { this._title( this.uiDialogTitlebar.find(.ui-dialog-title) ); } }, _size: function() { var nonContentHeight, minContentHeight, maxContentHeight, options this.options; this.element.show().css({ width: auto, minHeight: 0, maxHeight: none, height: 0 }); if ( options.minWidth > options.width ) { options.width options.minWidth; } nonContentHeight this.uiDialog.css({ height: auto, width: options.width }) .outerHeight(); minContentHeight Math.max( 0, options.minHeight - nonContentHeight ); maxContentHeight typeof options.maxHeight number ? Math.max( 0, options.maxHeight - nonContentHeight ) : none; if ( options.height auto ) { this.element.css({ minHeight: minContentHeight, maxHeight: maxContentHeight, height: auto }); } else { this.element.height( Math.max( 0, options.height - nonContentHeight ) ); } if (this.uiDialog.is(:data(ui-resizable)) ) { this.uiDialog.resizable( option, minHeight, this._minHeight() ); } }, _blockFrames: function() { this.iframeBlocks this.document.find( iframe ).map(function() { var iframe $( this ); return $( div> ) .css({ position: absolute, width: iframe.outerWidth(), height: iframe.outerHeight() }) .appendTo( iframe.parent() ) .offset( iframe.offset() )0; }); }, _unblockFrames: function() { if ( this.iframeBlocks ) { this.iframeBlocks.remove(); delete this.iframeBlocks; } }, _allowInteraction: function( event ) { if ( $( event.target ).closest(.ui-dialog).length ) { return true; } return !!$( event.target ).closest(.ui-datepicker).length; }, _createOverlay: function() { if ( !this.options.modal ) { return; } var that this, widgetFullName this.widgetFullName; if ( !$.ui.dialog.overlayInstances ) { this._delay(function() { if ( $.ui.dialog.overlayInstances ) { this.document.bind( focusin.dialog, function( event ) { if ( !that._allowInteraction( event ) ) { event.preventDefault(); $(.ui-dialog:visible:last .ui-dialog-content) .data( widgetFullName )._focusTabbable(); } }); } }); } this.overlay $(div>) .addClass(ui-widget-overlay ui-front) .appendTo( this._appendTo() ); this._on( this.overlay, { mousedown: _keepFocus }); $.ui.dialog.overlayInstances++; }, _destroyOverlay: function() { if ( !this.options.modal ) { return; } if ( this.overlay ) { $.ui.dialog.overlayInstances--; if ( !$.ui.dialog.overlayInstances ) { this.document.unbind( focusin.dialog ); } this.overlay.remove(); this.overlay null; } }});$.ui.dialog.overlayInstances 0;if ( $.uiBackCompat ! false ) { $.widget( ui.dialog, $.ui.dialog, { _position: function() { var position this.options.position, myAt , offset 0, 0 , isVisible; if ( position ) { if ( typeof position string || (typeof position object && 0 in position ) ) { myAt position.split ? position.split( ) : position0, position1 ; if ( myAt.length 1 ) { myAt1 myAt0; } $.each( left, top , function( i, offsetPosition ) { if ( +myAt i myAt i ) { offset i myAt i ; myAt i offsetPosition; } }); position { my: myAt0 + (offset0 0 ? offset0 : + + offset0) + + myAt1 + (offset1 0 ? offset1 : + + offset1), at: myAt.join( ) }; } position $.extend( {}, $.ui.dialog.prototype.options.position, position ); } else { position $.ui.dialog.prototype.options.position; } isVisible this.uiDialog.is(:visible); if ( !isVisible ) { this.uiDialog.show(); } this.uiDialog.position( position ); if ( !isVisible ) { this.uiDialog.hide(); } } });}}( jQuery ) );(function( $ ) {function modifier( fn ) { return function() { var previous this.element.val(); fn.apply( this, arguments ); this._refresh(); if ( previous ! this.element.val() ) { this._trigger( change ); } };}$.widget( ui.spinner, { version: 1.10.4, defaultElement: input>, widgetEventPrefix: spin, options: { culture: null, icons: { down: ui-icon-triangle-1-s, up: ui-icon-triangle-1-n }, incremental: true, max: null, min: null, numberFormat: null, page: 10, step: 1, change: null, spin: null, start: null, stop: null }, _create: function() { // handle string values that need to be parsed this._setOption( max, this.options.max ); this._setOption( min, this.options.min ); this._setOption( step, this.options.step ); if ( this.value() ! ) { // Format the value, but dont constrain. this._value( this.element.val(), true ); } this._draw(); this._on( this._events ); this._refresh(); this._on( this.window, { beforeunload: function() { this.element.removeAttr( autocomplete ); } }); }, _getCreateOptions: function() { var options {}, element this.element; $.each( min, max, step , function( i, option ) { var value element.attr( option ); if ( value ! undefined && value.length ) { options option value; } }); return options; }, _events: { keydown: function( event ) { if ( this._start( event ) && this._keydown( event ) ) { event.preventDefault(); } }, keyup: _stop, focus: function() { this.previous this.element.val(); }, blur: function( event ) { if ( this.cancelBlur ) { delete this.cancelBlur; return; } this._stop(); this._refresh(); if ( this.previous ! this.element.val() ) { this._trigger( change, event ); } }, mousewheel: function( event, delta ) { if ( !delta ) { return; } if ( !this.spinning && !this._start( event ) ) { return false; } this._spin( (delta > 0 ? 1 : -1) * this.options.step, event ); clearTimeout( this.mousewheelTimer ); this.mousewheelTimer this._delay(function() { if ( this.spinning ) { this._stop( event ); } }, 100 ); event.preventDefault(); }, mousedown .ui-spinner-button: function( event ) { var previous; previous this.element0 this.document0.activeElement ? this.previous : this.element.val(); function checkFocus() { var isActive this.element0 this.document0.activeElement; if ( !isActive ) { this.element.focus(); this.previous previous; this._delay(function() { this.previous previous; }); } } event.preventDefault(); checkFocus.call( this ); this.cancelBlur true; this._delay(function() { delete this.cancelBlur; checkFocus.call( this ); }); if ( this._start( event ) false ) { return; } this._repeat( null, $( event.currentTarget ).hasClass( ui-spinner-up ) ? 1 : -1, event ); }, mouseup .ui-spinner-button: _stop, mouseenter .ui-spinner-button: function( event ) { if ( !$( event.currentTarget ).hasClass( ui-state-active ) ) { return; } if ( this._start( event ) false ) { return false; } this._repeat( null, $( event.currentTarget ).hasClass( ui-spinner-up ) ? 1 : -1, event ); }, mouseleave .ui-spinner-button: _stop }, _draw: function() { var uiSpinner this.uiSpinner this.element .addClass( ui-spinner-input ) .attr( autocomplete, off ) .wrap( this._uiSpinnerHtml() ) .parent() // add buttons .append( this._buttonHtml() ); this.element.attr( role, spinbutton ); this.buttons uiSpinner.find( .ui-spinner-button ) .attr( tabIndex, -1 ) .button() .removeClass( ui-corner-all ); if ( this.buttons.height() > Math.ceil( uiSpinner.height() * 0.5 ) && uiSpinner.height() > 0 ) { uiSpinner.height( uiSpinner.height() ); } if ( this.options.disabled ) { this.disable(); } }, _keydown: function( event ) { var options this.options, keyCode $.ui.keyCode; switch ( event.keyCode ) { case keyCode.UP: this._repeat( null, 1, event ); return true; case keyCode.DOWN: this._repeat( null, -1, event ); return true; case keyCode.PAGE_UP: this._repeat( null, options.page, event ); return true; case keyCode.PAGE_DOWN: this._repeat( null, -options.page, event ); return true; } return false; }, _uiSpinnerHtml: function() { return span classui-spinner ui-widget ui-widget-content ui-corner-all>/span>; }, _buttonHtml: function() { return + a classui-spinner-button ui-spinner-up ui-corner-tr> + span classui-icon + this.options.icons.up + >▲/span> + /a> + a classui-spinner-button ui-spinner-down ui-corner-br> + span classui-icon + this.options.icons.down + >▼/span> + /a>; }, _start: function( event ) { if ( !this.spinning && this._trigger( start, event ) false ) { return false; } if ( !this.counter ) { this.counter 1; } this.spinning true; return true; }, _repeat: function( i, steps, event ) { i i || 500; clearTimeout( this.timer ); this.timer this._delay(function() { this._repeat( 40, steps, event ); }, i ); this._spin( steps * this.options.step, event ); }, _spin: function( step, event ) { var value this.value() || 0; if ( !this.counter ) { this.counter 1; } value this._adjustValue( value + step * this._increment( this.counter ) ); if ( !this.spinning || this._trigger( spin, event, { value: value } ) ! false) { this._value( value ); this.counter++; } }, _increment: function( i ) { var incremental this.options.incremental; if ( incremental ) { return $.isFunction( incremental ) ? incremental( i ) : Math.floor( i*i*i/50000 - i*i/500 + 17*i/200 + 1 ); } return 1; }, _precision: function() { var precision this._precisionOf( this.options.step ); if ( this.options.min ! null ) { precision Math.max( precision, this._precisionOf( this.options.min ) ); } return precision; }, _precisionOf: function( num ) { var str num.toString(), decimal str.indexOf( . ); return decimal -1 ? 0 : str.length - decimal - 1; }, _adjustValue: function( value ) { var base, aboveMin, options this.options; base options.min ! null ? options.min : 0; aboveMin value - base; aboveMin Math.round(aboveMin / options.step) * options.step; value base + aboveMin; value parseFloat( value.toFixed( this._precision() ) ); if ( options.max ! null && value > options.max) { return options.max; } if ( options.min ! null && value options.min ) { return options.min; } return value; }, _stop: function( event ) { if ( !this.spinning ) { return; } clearTimeout( this.timer ); clearTimeout( this.mousewheelTimer ); this.counter 0; this.spinning false; this._trigger( stop, event ); }, _setOption: function( key, value ) { if ( key culture || key numberFormat ) { var prevValue this._parse( this.element.val() ); this.options key value; this.element.val( this._format( prevValue ) ); return; } if ( key max || key min || key step ) { if ( typeof value string ) { value this._parse( value ); } } if ( key icons ) { this.buttons.first().find( .ui-icon ) .removeClass( this.options.icons.up ) .addClass( value.up ); this.buttons.last().find( .ui-icon ) .removeClass( this.options.icons.down ) .addClass( value.down ); } this._super( key, value ); if ( key disabled ) { if ( value ) { this.element.prop( disabled, true ); this.buttons.button( disable ); } else { this.element.prop( disabled, false ); this.buttons.button( enable ); } } }, _setOptions: modifier(function( options ) { this._super( options ); this._value( this.element.val() ); }), _parse: function( val ) { if ( typeof val string && val ! ) { val window.Globalize && this.options.numberFormat ? Globalize.parseFloat( val, 10, this.options.culture ) : +val; } return val || isNaN( val ) ? null : val; }, _format: function( value ) { if ( value ) { return ; } return window.Globalize && this.options.numberFormat ? Globalize.format( value, this.options.numberFormat, this.options.culture ) : value; }, _refresh: function() { this.element.attr({ aria-valuemin: this.options.min, aria-valuemax: this.options.max, // TODO: what should we do with values that cant be parsed? aria-valuenow: this._parse( this.element.val() ) }); }, _value: function( value, allowAny ) { var parsed; if ( value ! ) { parsed this._parse( value ); if ( parsed ! null ) { if ( !allowAny ) { parsed this._adjustValue( parsed ); } value this._format( parsed ); } } this.element.val( value ); this._refresh(); }, _destroy: function() { this.element .removeClass( ui-spinner-input ) .prop( disabled, false ) .removeAttr( autocomplete ) .removeAttr( role ) .removeAttr( aria-valuemin ) .removeAttr( aria-valuemax ) .removeAttr( aria-valuenow ); this.uiSpinner.replaceWith( this.element ); }, stepUp: modifier(function( steps ) { this._stepUp( steps ); }), _stepUp: function( steps ) { if ( this._start() ) { this._spin( (steps || 1) * this.options.step ); this._stop(); } }, stepDown: modifier(function( steps ) { this._stepDown( steps ); }), _stepDown: function( steps ) { if ( this._start() ) { this._spin( (steps || 1) * -this.options.step ); this._stop(); } }, pageUp: modifier(function( pages ) { this._stepUp( (pages || 1) * this.options.page ); }), pageDown: modifier(function( pages ) { this._stepDown( (pages || 1) * this.options.page ); }), value: function( newVal ) { if ( !arguments.length ) { return this._parse( this.element.val() ); } modifier( this._value ).call( this, newVal ); }, widget: function() { return this.uiSpinner; }});}( jQuery ) );(function( $ ) {var increments 0;function addDescribedBy( elem, id ) { var describedby (elem.attr( aria-describedby ) || ).split( /\s+/ ); describedby.push( id ); elem .data( ui-tooltip-id, id ) .attr( aria-describedby, $.trim( describedby.join( ) ) );}function removeDescribedBy( elem ) { var id elem.data( ui-tooltip-id ), describedby (elem.attr( aria-describedby ) || ).split( /\s+/ ), index $.inArray( id, describedby ); if ( index ! -1 ) { describedby.splice( index, 1 ); } elem.removeData( ui-tooltip-id ); describedby $.trim( describedby.join( ) ); if ( describedby ) { elem.attr( aria-describedby, describedby ); } else { elem.removeAttr( aria-describedby ); }}$.widget( ui.tooltip, { version: 1.10.4, options: { content: function() { var title $( this ).attr( title ) || ; return $( a> ).text( title ).html(); }, hide: true, items: title:not(disabled), position: { my: left top+15, at: left bottom, collision: flipfit flip }, show: true, tooltipClass: null, track: false, close: null, open: null }, _create: function() { this._on({ mouseover: open, focusin: open }); this.tooltips {}; this.parents {}; if ( this.options.disabled ) { this._disable(); } }, _setOption: function( key, value ) { var that this; if ( key disabled ) { this value ? _disable : _enable (); this.options key value; return; } this._super( key, value ); if ( key content ) { $.each( this.tooltips, function( id, element ) { that._updateContent( element ); }); } }, _disable: function() { var that this; $.each( this.tooltips, function( id, element ) { var event $.Event( blur ); event.target event.currentTarget element0; that.close( event, true ); }); this.element.find( this.options.items ).addBack().each(function() { var element $( this ); if ( element.is( title ) ) { element .data( ui-tooltip-title, element.attr( title ) ) .attr( title, ); } }); }, _enable: function() { this.element.find( this.options.items ).addBack().each(function() { var element $( this ); if ( element.data( ui-tooltip-title ) ) { element.attr( title, element.data( ui-tooltip-title ) ); } }); }, open: function( event ) { var that this, target $( event ? event.target : this.element ) .closest( this.options.items ); if ( !target.length || target.data( ui-tooltip-id ) ) { return; } if ( target.attr( title ) ) { target.data( ui-tooltip-title, target.attr( title ) ); } target.data( ui-tooltip-open, true ); if ( event && event.type mouseover ) { target.parents().each(function() { var parent $( this ), blurEvent; if ( parent.data( ui-tooltip-open ) ) { blurEvent $.Event( blur ); blurEvent.target blurEvent.currentTarget this; that.close( blurEvent, true ); } if ( parent.attr( title ) ) { parent.uniqueId(); that.parents this.id { element: this, title: parent.attr( title ) }; parent.attr( title, ); } }); } this._updateContent( target, event ); }, _updateContent: function( target, event ) { var content, contentOption this.options.content, that this, eventType event ? event.type : null; if ( typeof contentOption string ) { return this._open( event, target, contentOption ); } content contentOption.call( target0, function( response ) { if ( !target.data( ui-tooltip-open ) ) { return; } that._delay(function() { if ( event ) { event.type eventType; } this._open( event, target, response ); }); }); if ( content ) { this._open( event, target, content ); } }, _open: function( event, target, content ) { var tooltip, events, delayedShow, positionOption $.extend( {}, this.options.position ); if ( !content ) { return; } tooltip this._find( target ); if ( tooltip.length ) { tooltip.find( .ui-tooltip-content ).html( content ); return; } if ( target.is( title ) ) { if ( event && event.type mouseover ) { target.attr( title, ); } else { target.removeAttr( title ); } } tooltip this._tooltip( target ); addDescribedBy( target, tooltip.attr( id ) ); tooltip.find( .ui-tooltip-content ).html( content ); function position( event ) { positionOption.of event; if ( tooltip.is( :hidden ) ) { return; } tooltip.position( positionOption ); } if ( this.options.track && event && /^mouse/.test( event.type ) ) { this._on( this.document, { mousemove: position }); position( event ); } else { tooltip.position( $.extend({ of: target }, this.options.position ) ); } tooltip.hide(); this._show( tooltip, this.options.show ); if ( this.options.show && this.options.show.delay ) { delayedShow this.delayedShow setInterval(function() { if ( tooltip.is( :visible ) ) { position( positionOption.of ); clearInterval( delayedShow ); } }, $.fx.interval ); } this._trigger( open, event, { tooltip: tooltip } ); events { keyup: function( event ) { if ( event.keyCode $.ui.keyCode.ESCAPE ) { var fakeEvent $.Event(event); fakeEvent.currentTarget target0; this.close( fakeEvent, true ); } }, remove: function() { this._removeTooltip( tooltip ); } }; if ( !event || event.type mouseover ) { events.mouseleave close; } if ( !event || event.type focusin ) { events.focusout close; } this._on( true, target, events ); }, close: function( event ) { var that this, target $( event ? event.currentTarget : this.element ), tooltip this._find( target ); if ( this.closing ) { return; } clearInterval( this.delayedShow ); if ( target.data( ui-tooltip-title ) ) { target.attr( title, target.data( ui-tooltip-title ) ); } removeDescribedBy( target ); tooltip.stop( true ); this._hide( tooltip, this.options.hide, function() { that._removeTooltip( $( this ) ); }); target.removeData( ui-tooltip-open ); this._off( target, mouseleave focusout keyup ); if ( target0 ! this.element0 ) { this._off( target, remove ); } this._off( this.document, mousemove ); if ( event && event.type mouseleave ) { $.each( this.parents, function( id, parent ) { $( parent.element ).attr( title, parent.title ); delete that.parents id ; }); } this.closing true; this._trigger( close, event, { tooltip: tooltip } ); this.closing false; }, _tooltip: function( element ) { var id ui-tooltip- + increments++, tooltip $( div> ) .attr({ id: id, role: tooltip }) .addClass( ui-tooltip ui-widget ui-corner-all ui-widget-content + ( this.options.tooltipClass || ) ); $( div> ) .addClass( ui-tooltip-content ) .appendTo( tooltip ); tooltip.appendTo( this.document0.body ); this.tooltips id element; return tooltip; }, _find: function( target ) { var id target.data( ui-tooltip-id ); return id ? $( # + id ) : $(); }, _removeTooltip: function( tooltip ) { tooltip.remove(); delete this.tooltips tooltip.attr( id ) ; }, _destroy: function() { var that this; $.each( this.tooltips, function( id, element ) { var event $.Event( blur ); event.target event.currentTarget element0; that.close( event, true ); $( # + id ).remove(); if ( element.data( ui-tooltip-title ) ) { element.attr( title, element.data( ui-tooltip-title ) ); element.removeData( ui-tooltip-title ); } }); }});}(jQuery));/script>script>jQuery(function(a){a.datepicker.regional.es{closeText:Cerrar,preposition:de ,prevText:<Ant,nextText:Sig>,currentText:Hoy,monthNames:Enero Febrero Marzo Abril Mayo Junio Julio Agosto Septiembre Octubre Noviembre Diciembre.split( ),monthNamesShort:Ene Feb Mar Abr May Jun Jul Ago Sep Oct Nov Dic.split( ),dayNames:Domingo Lunes Martes Miércoles Jueves Viernes Sábado.split( ),dayNamesShort:Dom Lun Mar Mié Juv Vie Sáb.split( ),dayNamesMin:Do Lu Ma Mi Ju Vi Sá.split( ),weekHeader:Sm,dateFormat:dd/mm/yy,firstDay:1,isRTL:!1,showMonthAfterYear:!1,yearSuffix:};a.datepicker.setDefaults(a.datepicker.regional.es)});/script>script>(function() { var $ jQuery; var LightboxOptions (function() { function LightboxOptions() { this.fadeDuration 500; this.fitImagesInViewport true; this.resizeDuration 700; this.positionFromTop 50; this.showImageNumberLabel true; this.alwaysShowNavOnTouchDevices false; this.wrapAround false; } LightboxOptions.prototype.albumLabel function(curImageNum, albumSize) { return Image + curImageNum + of + albumSize; }; return LightboxOptions; })(); var Lightbox (function() { function Lightbox(options) { this.options options; this.album ; this.currentImageIndex void 0; this.init(); } Lightbox.prototype.init function() { this.enable(); this.build(); }; Lightbox.prototype.enable function() { var self this; $(body).on(click, arel^lightbox, arearel^lightbox, adata-lightbox, areadata-lightbox, function(event) { self.start($(event.currentTarget)); return false; }); }; Lightbox.prototype.build function() { var self this; $(div idlightboxOverlay classlightboxOverlay>/div>div idlightbox classlightbox>div classlb-outerContainer>div classlb-container>img classlb-image src />div classlb-nav>a classlb-prev href >/a>a classlb-next href >/a>/div>div classlb-loader>a classlb-cancel>/a>/div>/div>/div>div classlb-dataContainer>div classlb-data>div classlb-details>span classlb-caption>/span>span classlb-number>/span>/div>div classlb-closeContainer>a classlb-close>/a>/div>/div>/div>/div>).appendTo($(body)); this.$lightbox $(#lightbox); this.$overlay $(#lightboxOverlay); this.$outerContainer this.$lightbox.find(.lb-outerContainer); this.$container this.$lightbox.find(.lb-container); this.containerTopPadding parseInt(this.$container.css(padding-top), 10); this.containerRightPadding parseInt(this.$container.css(padding-right), 10); this.containerBottomPadding parseInt(this.$container.css(padding-bottom), 10); this.containerLeftPadding parseInt(this.$container.css(padding-left), 10); this.$overlay.hide().on(click, function() { self.end(); return false; }); this.$lightbox.hide().on(click, function(event) { if ($(event.target).attr(id) lightbox) { self.end(); } return false; }); this.$outerContainer.on(click, function(event) { if ($(event.target).attr(id) lightbox) { self.end(); } return false; }); this.$lightbox.find(.lb-prev).on(click, function() { if (self.currentImageIndex 0) { self.changeImage(self.album.length - 1); } else { self.changeImage(self.currentImageIndex - 1); } return false; }); this.$lightbox.find(.lb-next).on(click, function() { if (self.currentImageIndex self.album.length - 1) { self.changeImage(0); } else { self.changeImage(self.currentImageIndex + 1); } return false; }); this.$lightbox.find(.lb-loader, .lb-close).on(click, function() { self.end(); return false; }); }; Lightbox.prototype.start function($link) { var self this; var $window $(window); $window.on(resize, $.proxy(this.sizeOverlay, this)); $(select, object, embed).css({ visibility: hidden }); this.sizeOverlay(); this.album ; var imageNumber 0; function addToAlbum($link) { self.album.push({ link: $link.attr(href), title: $link.attr(data-title) || $link.attr(title) }); } var dataLightboxValue $link.attr(data-lightbox); var $links; if (dataLightboxValue) { $links $($link.prop(tagName) + data-lightbox + dataLightboxValue + ); for (var i 0; i $links.length; i ++i) { addToAlbum($($linksi)); if ($linksi $link0) { imageNumber i; } } } else { if ($link.attr(rel) lightbox) { // If image is not part of a set addToAlbum($link); } else { // If image is part of a set $links $($link.prop(tagName) + rel + $link.attr(rel) + ); for (var j 0; j $links.length; j ++j) { addToAlbum($($linksj)); if ($linksj $link0) { imageNumber j; } } } } var top $window.scrollTop() + this.options.positionFromTop; var left $window.scrollLeft(); this.$lightbox.css({ top: top + px, left: left + px }).fadeIn(this.options.fadeDuration); this.changeImage(imageNumber); }; Lightbox.prototype.changeImage function(imageNumber) { var self this; this.disableKeyboardNav(); var $image this.$lightbox.find(.lb-image); this.$overlay.fadeIn(this.options.fadeDuration); $(.lb-loader).fadeIn(slow); this.$lightbox.find(.lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption).hide(); this.$outerContainer.addClass(animating); var preloader new Image(); preloader.onload function() { var $preloader, imageHeight, imageWidth, maxImageHeight, maxImageWidth, windowHeight, windowWidth; $image.attr(src, self.albumimageNumber.link); $preloader $(preloader); $image.width(preloader.width); $image.height(preloader.height); if (self.options.fitImagesInViewport) { windowWidth $(window).width(); windowHeight $(window).height(); maxImageWidth windowWidth - self.containerLeftPadding - self.containerRightPadding - 20; maxImageHeight windowHeight - self.containerTopPadding - self.containerBottomPadding - 120; if ((preloader.width > maxImageWidth) || (preloader.height > maxImageHeight)) { if ((preloader.width / maxImageWidth) > (preloader.height / maxImageHeight)) { imageWidth maxImageWidth; imageHeight parseInt(preloader.height / (preloader.width / imageWidth), 10); $image.width(imageWidth); $image.height(imageHeight); } else { imageHeight maxImageHeight; imageWidth parseInt(preloader.width / (preloader.height / imageHeight), 10); $image.width(imageWidth); $image.height(imageHeight); } } } self.sizeContainer($image.width(), $image.height()); }; preloader.src this.albumimageNumber.link; this.currentImageIndex imageNumber; }; Lightbox.prototype.sizeOverlay function() { this.$overlay .width($(window).width()) .height($(document).height()); }; Lightbox.prototype.sizeContainer function(imageWidth, imageHeight) { var self this; var oldWidth this.$outerContainer.outerWidth(); var oldHeight this.$outerContainer.outerHeight(); var newWidth imageWidth + this.containerLeftPadding + this.containerRightPadding; var newHeight imageHeight + this.containerTopPadding + this.containerBottomPadding; function postResize() { self.$lightbox.find(.lb-dataContainer).width(newWidth); self.$lightbox.find(.lb-prevLink).height(newHeight); self.$lightbox.find(.lb-nextLink).height(newHeight); self.showImage(); } if (oldWidth ! newWidth || oldHeight ! newHeight) { this.$outerContainer.animate({ width: newWidth, height: newHeight }, this.options.resizeDuration, swing, function() { postResize(); }); } else { postResize(); } }; Lightbox.prototype.showImage function() { this.$lightbox.find(.lb-loader).hide(); this.$lightbox.find(.lb-image).fadeIn(slow); this.updateNav(); this.updateDetails(); this.preloadNeighboringImages(); this.enableKeyboardNav(); }; Lightbox.prototype.updateNav function() { var alwaysShowNav false; try { document.createEvent(TouchEvent); alwaysShowNav (this.options.alwaysShowNavOnTouchDevices)? true: false; } catch (e) {} this.$lightbox.find(.lb-nav).show(); if (this.album.length > 1) { if (this.options.wrapAround) { if (alwaysShowNav) { this.$lightbox.find(.lb-prev, .lb-next).css(opacity, 1); } this.$lightbox.find(.lb-prev, .lb-next).show(); } else { if (this.currentImageIndex > 0) { this.$lightbox.find(.lb-prev).show(); if (alwaysShowNav) { this.$lightbox.find(.lb-prev).css(opacity, 1); } } if (this.currentImageIndex this.album.length - 1) { this.$lightbox.find(.lb-next).show(); if (alwaysShowNav) { this.$lightbox.find(.lb-next).css(opacity, 1); } } } } }; Lightbox.prototype.updateDetails function() { var self this; if (typeof this.albumthis.currentImageIndex.title ! undefined && this.albumthis.currentImageIndex.title ! ) { this.$lightbox.find(.lb-caption) .html(this.albumthis.currentImageIndex.title) .fadeIn(fast) .find(a).on(click, function(event){ location.href $(this).attr(href); }); } if (this.album.length > 1 && this.options.showImageNumberLabel) { this.$lightbox.find(.lb-number).text(this.options.albumLabel(this.currentImageIndex + 1, this.album.length)).fadeIn(fast); } else { this.$lightbox.find(.lb-number).hide(); } this.$outerContainer.removeClass(animating); this.$lightbox.find(.lb-dataContainer).fadeIn(this.options.resizeDuration, function() { return self.sizeOverlay(); }); }; Lightbox.prototype.preloadNeighboringImages function() { if (this.album.length > this.currentImageIndex + 1) { var preloadNext new Image(); preloadNext.src this.albumthis.currentImageIndex + 1.link; } if (this.currentImageIndex > 0) { var preloadPrev new Image(); preloadPrev.src this.albumthis.currentImageIndex - 1.link; } }; Lightbox.prototype.enableKeyboardNav function() { $(document).on(keyup.keyboard, $.proxy(this.keyboardAction, this)); }; Lightbox.prototype.disableKeyboardNav function() { $(document).off(.keyboard); }; Lightbox.prototype.keyboardAction function(event) { var KEYCODE_ESC 27; var KEYCODE_LEFTARROW 37; var KEYCODE_RIGHTARROW 39; var keycode event.keyCode; var key String.fromCharCode(keycode).toLowerCase(); if (keycode KEYCODE_ESC || key.match(/x|o|c/)) { this.end(); } else if (key p || keycode KEYCODE_LEFTARROW) { if (this.currentImageIndex ! 0) { this.changeImage(this.currentImageIndex - 1); } else if (this.options.wrapAround && this.album.length > 1) { this.changeImage(this.album.length - 1); } } else if (key n || keycode KEYCODE_RIGHTARROW) { if (this.currentImageIndex ! this.album.length - 1) { this.changeImage(this.currentImageIndex + 1); } else if (this.options.wrapAround && this.album.length > 1) { this.changeImage(0); } } }; Lightbox.prototype.end function() { this.disableKeyboardNav(); $(window).off(resize, this.sizeOverlay); this.$lightbox.fadeOut(this.options.fadeDuration); this.$overlay.fadeOut(this.options.fadeDuration); $(select, object, embed).css({ visibility: visible }); }; return Lightbox; })(); $(function() { var options new LightboxOptions(); var lightbox new Lightbox(options); });}).call(this);/script>script>!function(a){var bselectric,cfunction(a){var b,c40-46 50-53 54-57 62-70 71-74 61 47 77.replace(/\d+/g,\\3$&).split( );for(b in c){if(!c.hasOwnProperty(b))return;aa.toLowerCase().replace(RegExp(+cb+,g),aeiouncy.charAt(b))}return a},dfunction(a){var barguments;return(+a).replace(/{(\d+|(\w+))}/g,function(a,c,d){return d&&b1?b1d:bc})},efunction(e,f){function g(){function e(a){/^(9|13|27)$/.test(a.keyCode||a.which)&&(a.stopPropagation(),l(x,!0))}var gD.children(),hul>,jg.filter(:+R).index();yx~j?j:0,(Cg.length)&&(g.each(function(b){var ea(this),ge.html(),ie.prop(disabled),jf.optionsItemBuilder;Ib{value:e.val(),text:g,slug:c(g),disabled:i},h+d(li class{1}>{2}/li>,a.trim(by?R:,bC-1?last:,i?disabled:.join( )),a.isFunction(j)?j(Ib,e,b):d(j,Ib))}),G.html(h+/ul>),J.html(Iy.text)),F.add(D).off(K),H.data(b,!0).prop(class,s6,D.prop(class),P,f.responsive?s8:.join( )),D.prop(disabled)?E.prop(disabled,!0):(H.removeClass(P).hover(function(){a(this).toggleClass(s7)}),f.openOnHover&&F.on(mouseenter+K,i),F.on(N,function(a){u?k():i(a)}),E.prop(disabled,!1).off().on({keypress:e,keydown:function(a){e(a),clearTimeout(w),wsetTimeout(function(){E.val()},f.keySearchTimeout);var ba.keyCode||a.which;b>36&&41>b&&l(39>b?o():n())},focusin:function(a){E.one(blur,function(){E.blur()}),u||i(a)}}).on(S,function(){E.val().length&&a.each(I,function(a,b){return RegExp(^+E.val(),i).test(b.slug)&&!b.disabled?(l(a),!1):void 0})}),va(li,G.removeAttr(style)).click(function(){return l(a(this).index(),!0),!1}))}function h(){var aG.closest(:visible).children(:hidden),bf.maxHeight;a.addClass(Q);var cG.outerWidth(),dF.outerWidth()-(c-G.width());!f.expandToItemText||d>c?Bd:(G.css(overflow,scroll),H.width(9e4),BG.width(),G.css(overflow,),H.width()),G.width(B).height()>b&&G.height(b),a.removeClass(Q)}function i(b){b.preventDefault(),b.stopPropagation(),h(),a(.+O).removeClass(O),u!0,zG.outerHeight(),E.val().is(:focus)||E.focus(),L.on(N,k).on(scroll+K,j),j(),f.openOnHover&&(clearTimeout(A),H.one(mouseleave+K,function(){AsetTimeout(k,500)})),H.addClass(O),m(x),f.onOpen(e)}function j(){h(),G.css(top,H.offset().top+H.outerHeight()+z>M.scrollTop()+M.height()?-z:)}function k(a){if(!a&&y!x){var bIx.text;D.prop(selectedIndex,yx).data(value,b).trigger(change,b,y),f.onChange(e),J.html(b)}L.off(K),H.removeClass(O),u!1,f.onClose(e)}function l(a,b){Ixa.disabled||(v.removeClass(R).eq(a).addClass(R),m(a),b&&k())}function m(a){var bv.eq(a).outerHeight(),cva.offsetTop,dG.scrollTop(),ec+2*b;G.scrollTop(e>d+z?e-z:d>c-b?c-b:d)}function n(a){if(Ia(x+1)%C.disabled)for(;Ia(a+1)%C.disabled;);return a}function o(a){if(Ia(x>0?x:C)-1.disabled)for(;Ia(a>0?a:C)-1.disabled;);return a}fa.extend(!0,{onOpen:a.noop,onClose:a.noop,onChange:a.noop,maxHeight:300,keySearchTimeout:500,arrowButtonMarkup:b classbutton>▾/b>,disableOnMobile:!0,openOnHover:!1,expandToItemText:!1,responsive:!1,customClass:{prefix:selectric,postfixes:Input Items Open Disabled TempShow HideSelect Wrapper Hover Responsive,camelCase:!0},optionsItemBuilder:{text}},f);var p,qf.customClass,rq.postfixes.split( ),s;if(!f.disableOnMobile||!/andrroid|ipp(hone|od|ad)/i.test(navigator.userAgent)){for(;pr.shift();){var tq.prefix+p;s.push(q.camelCase?t:t.replace(/(A-Z)/g,-$&).toLowerCase())}var u,v,w,x,y,z,A,B,C,Da(e),Ea(input typetext class+s0+/>),Fa(div class+q.prefix+>p classlabel/>+f.arrowButtonMarkup+/div>),Ga(div class+s1+ tabindex-1>/div>),HD.data(b,!0).wrap(div>).parent().append(F.add(G).add(E)),I,Ja(.label,F),K.sl,La(document),Ma(window),Nclick+K,Os2,Ps3,Qs4,Rselected,Soninputin E0?input:keyup;D.wrap(div class+s5+>),g(),D.on({refresh:g,destroy:function(){G.add(F).add(E).remove(),D.removeData(b).removeData(value).off(K+ refresh destroy open close).unwrap().unwrap()},open:i,close:k})}};a.fnbfunction(c,d){return this.each(function(){a(this).data(b)?+cc&&a(this).trigger(c):e(this,c||d)})}}(jQuery);/script>script>!function(t){t.fn.unveilfunction(i,e){function n(){var il.filter(function(){var it(this);if(!i.is(:hidden)){var eo.scrollTop(),ne+o.height(),ri.offset().top;return r+i.height()>e-u&&rn+u}});ri.trigger(unveil),ll.not(r)}var r,ot(window),ui||0,swindow.devicePixelRatio>1?data-src-retina:data-src,lthis;return this.one(unveil,function(){var tthis.getAttribute(s);(tt||this.getAttribute(data-src))&&(this.setAttribute(src,t),functiontypeof e&&e.call(this))}),o.on(scroll.unveil resize.unveil lookup.unveil,n),n(),this}}(window.jQuery||window.Zepto);/script>script>(function(a,b,c){function g(a,c){var db.createElement(a||div),e;for(e in c)dece;return d}function h(a){for(var b1,carguments.length;bc;b++)a.appendChild(argumentsb);return a}function j(a,b,c,d){var gopacity,b,~~(a*100),c,d.join(-),h.01+c/d*100,jMath.max(1-(1-a)/b*(100-h),a),kf.substring(0,f.indexOf(Animation)).toLowerCase(),lk&&-+k+-||;return eg||(i.insertRule(@+l+keyframes +g+{+0%{opacity:+j+}+h+%{opacity:+a+}+(h+.01)+%{opacity:1}+(h+b)%100+%{opacity:+a+}+100%{opacity:+j+}+},0),eg1),g}function k(a,b){var ea.style,f,g;if(eb!c)return b;bb.charAt(0).toUpperCase()+b.slice(1);for(g0;gd.length;g++){fdg+b;if(ef!c)return f}}function l(a,b){for(var c in b)a.stylek(a,c)||cbc;return a}function m(a){for(var b1;barguments.length;b++){var dargumentsb;for(var e in d)aec&&(aede)}return a}function n(a){var b{x:a.offsetLeft,y:a.offsetTop};while(aa.offsetParent)b.x+a.offsetLeft,b.y+a.offsetTop;return b}var dwebkit,Moz,ms,O,e{},f,ifunction(){var ag(style);return h(b.getElementsByTagName(head)0,a),a.sheet||a.styleSheet}(),o{lines:12,length:7,width:5,radius:10,rotate:0,color:#000,speed:1,trail:100,opacity:.25,fps:20,zIndex:2e9,className:spinner,top:auto,left:auto},pfunction q(a){if(!this.spin)return new q(a);this.optsm(a||{},q.defaults,o)};p.defaults{},m(p.prototype,{spin:function(a){this.stop();var bthis,cb.opts,db.ell(g(0,{className:c.className}),{position:relative,zIndex:c.zIndex}),ec.radius+c.length+c.width,h,i;a&&(a.insertBefore(d,a.firstChild||null),in(a),hn(d),l(d,{left:(c.leftauto?i.x-h.x+(a.offsetWidth>>1):c.left+e)+px,top:(c.topauto?i.y-h.y+(a.offsetHeight>>1):c.top+e)+px})),d.setAttribute(aria-role,progressbar),b.lines(d,b.opts);if(!f){var j0,kc.fps,mk/c.speed,o(1-c.opacity)/(m*c.trail/100),pm/c.lines;!function q(){j++;for(var ac.lines;a;a--){var eMath.max(1-(j+a*p)%m*o,c.opacity);b.opacity(d,c.lines-a,e,c)}b.timeoutb.el&&setTimeout(q,~~(1e3/k))}()}return b},stop:function(){var athis.el;return a&&(clearTimeout(this.timeout),a.parentNode&&a.parentNode.removeChild(a),this.elc),this},lines:function(a,b){function e(a,d){return l(g(),{position:absolute,width:b.length+b.width+px,height:b.width+px,background:a,boxShadow:d,transformOrigin:left,transform:rotate(+~~(360/b.lines*c+b.rotate)+deg) translate(+b.radius+px+,0),borderRadius:(b.width>>1)+px})}var c0,d;for(;cb.lines;c++)dl(g(),{position:absolute,top:1+~(b.width/2)+px,transform:b.hwaccel?translate3d(0,0,0):,opacity:b.opacity,animation:f&&j(b.opacity,b.trail,c,b.lines)+ +1/b.speed+s linear infinite}),b.shadow&&h(d,l(e(#000,0 0 4px #000),{top:2px})),h(a,h(d,e(b.color,0 0 1px rgba(0,0,0,.1))));return a},opacity:function(a,b,c){ba.childNodes.length&&(a.childNodesb.style.opacityc)}}),!function(){function a(a,b){return g(+a+ xmlnsurn:schemas-microsoft.com:vml classspin-vml>,b)}var bl(g(group),{behavior:url(#default#VML)});!k(b,transform)&&b.adj?(i.addRule(.spin-vml,behavior:url(#default#VML)),p.prototype.linesfunction(b,c){function f(){return l(a(group,{coordsize:e+ +e,coordorigin:-d+ + -d}),{width:e,height:e})}function k(b,e,g){h(i,h(l(f(),{rotation:360/c.lines*b+deg,left:~~e}),h(l(a(roundrect,{arcsize:1}),{width:d,height:c.width,left:c.radius,top:-c.width>>1,filter:g}),a(fill,{color:c.color,opacity:c.opacity}),a(stroke,{opacity:0}))))}var dc.length+c.width,e2*d,g-(c.width+c.length)*2+px,il(f(),{position:absolute,top:g,left:g}),j;if(c.shadow)for(j1;jc.lines;j++)k(j,-2,progid:DXImageTransform.Microsoft.Blur(pixelradius2,makeshadow1,shadowopacity.3));for(j1;jc.lines;j++)k(j);return h(b,i)},p.prototype.opacityfunction(a,b,c,d){var ea.firstChild;dd.shadow&&d.lines||0,e&&b+de.childNodes.length&&(ee.childNodesb+d,ee&&e.firstChild,ee&&e.firstChild,e&&(e.opacityc))}):fk(b,animation)}(),a.Spinnerp})(window,document);/script>script>(function(a){if(typeof definefunction&&define.amd&&define.amd.jQuery){define(jquery,a)}else{a(jQuery)}}(function(f){var pleft,oright,eup,xdown,cin,zout,mnone,sauto,lswipe,tpinch,Atap,jdoubletap,blongtap,yhold,Dhorizontal,uvertical,iall,r10,gstart,kmove,hend,qcancel,aontouchstart in window,vwindow.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,dwindow.navigator.pointerEnabled||window.navigator.msPointerEnabled,BTouchSwipe;var n{fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:true,triggerOnTouchLeave:false,allowPageScroll:auto,fallbackToMouseEvents:true,excludedElements:label, button, input, select, textarea, a, .noSwipe};f.fn.swipefunction(G){var Ff(this),EF.data(B);if(E&&typeof Gstring){if(EG){return EG.apply(this,Array.prototype.slice.call(arguments,1))}else{f.error(Method +G+ does not exist on jQuery.swipe)}}else{if(!E&&(typeof Gobject||!G)){return w.apply(this,arguments)}}return F};f.fn.swipe.defaultsn;f.fn.swipe.phases{PHASE_START:g,PHASE_MOVE:k,PHASE_END:h,PHASE_CANCEL:q};f.fn.swipe.directions{LEFT:p,RIGHT:o,UP:e,DOWN:x,IN:c,OUT:z};f.fn.swipe.pageScroll{NONE:m,HORIZONTAL:D,VERTICAL:u,AUTO:s};f.fn.swipe.fingers{ONE:1,TWO:2,THREE:3,ALL:i};function w(E){if(E&&(E.allowPageScrollundefined&&(E.swipe!undefined||E.swipeStatus!undefined))){E.allowPageScrollm}if(E.click!undefined&&E.tapundefined){E.tapE.click}if(!E){E{}}Ef.extend({},f.fn.swipe.defaults,E);return this.each(function(){var Gf(this);var FG.data(B);if(!F){Fnew C(this,E);G.data(B,F)}})}function C(a4,av){var az(a||d||!av.fallbackToMouseEvents),Jaz?(d?(v?MSPointerDown:pointerdown):touchstart):mousedown,ayaz?(d?(v?MSPointerMove:pointermove):touchmove):mousemove,Uaz?(d?(v?MSPointerUp:pointerup):touchend):mouseup,Saz?null:mouseleave,aD(d?(v?MSPointerCancel:pointercancel):touchcancel);var ag0,aPnull,ab0,a10,aZ0,G1,aq0,aJ0,Mnull;var aRf(a4);var Zstart;var W0;var aQnull;var T0,a20,a50,ad0,N0;var aWnull,afnull;try{aR.bind(J,aN);aR.bind(aD,a9)}catch(ak){f.error(events not supported +J+,+aD+ on jQuery.swipe)}this.enablefunction(){aR.bind(J,aN);aR.bind(aD,a9);return aR};this.disablefunction(){aK();return aR};this.destroyfunction(){aK();aR.data(B,null);return aR};this.optionfunction(bc,bb){if(avbc!undefined){if(bbundefined){return avbc}else{avbcbb}}else{f.error(Option +bc+ does not exist on jQuery.swipe.options)}return null};function aN(bd){if(aB()){return}if(f(bd.target).closest(av.excludedElements,aR).length>0){return}var bebd.originalEvent?bd.originalEvent:bd;var bc,bba?be.touches0:be;Zg;if(a){Wbe.touches.length}else{bd.preventDefault()}ag0;aPnull;aJnull;ab0;a10;aZ0;G1;aq0;aQaj();Maa();R();if(!a||(Wav.fingers||av.fingersi)||aX()){ai(0,bb);Tat();if(W2){ai(1,be.touches1);a1aZau(aQ0.start,aQ1.start)}if(av.swipeStatus||av.pinchStatus){bcO(be,Z)}}else{bcfalse}if(bcfalse){Zq;O(be,Z);return bc}else{if(av.hold){afsetTimeout(f.proxy(function(){aR.trigger(hold,be.target);if(av.hold){bcav.hold.call(aR,be,be.target)}},this),av.longTapThreshold)}ao(true)}return null}function a3(be){var bhbe.originalEvent?be.originalEvent:be;if(Zh||Zq||am()){return}var bd,bca?bh.touches0:bh;var bfaH(bc);a2at();if(a){Wbh.touches.length}if(av.hold){clearTimeout(af)}Zk;if(W2){if(a10){ai(1,bh.touches1);a1aZau(aQ0.start,aQ1.start)}else{aH(bh.touches1);aZau(aQ0.end,aQ1.end);aJar(aQ0.end,aQ1.end)}Ga7(a1,aZ);aqMath.abs(a1-aZ)}if((Wav.fingers||av.fingersi)||!a||aX()){aPaL(bf.start,bf.end);al(be,aP);agaS(bf.start,bf.end);abaM();aI(aP,ag);if(av.swipeStatus||av.pinchStatus){bdO(bh,Z)}if(!av.triggerOnTouchEnd||av.triggerOnTouchLeave){var bbtrue;if(av.triggerOnTouchLeave){var bgaY(this);bbE(bf.end,bg)}if(!av.triggerOnTouchEnd&&bb){ZaC(k)}else{if(av.triggerOnTouchLeave&&!bb){ZaC(h)}}if(Zq||Zh){O(bh,Z)}}}else{Zq;O(bh,Z)}if(bdfalse){Zq;O(bh,Z)}}function L(bb){var bcbb.originalEvent;if(a){if(bc.touches.length>0){F();return true}}if(am()){Wad}a2at();abaM();if(ba()||!an()){Zq;O(bc,Z)}else{if(av.triggerOnTouchEnd||(av.triggerOnTouchEndfalse&&Zk)){bb.preventDefault();Zh;O(bc,Z)}else{if(!av.triggerOnTouchEnd&&a6()){Zh;aF(bc,Z,A)}else{if(Zk){Zq;O(bc,Z)}}}}ao(false);return null}function a9(){W0;a20;T0;a10;aZ0;G1;R();ao(false)}function K(bb){var bcbb.originalEvent;if(av.triggerOnTouchLeave){ZaC(h);O(bc,Z)}}function aK(){aR.unbind(J,aN);aR.unbind(aD,a9);aR.unbind(ay,a3);aR.unbind(U,L);if(S){aR.unbind(S,K)}ao(false)}function aC(bf){var bebf;var bdaA();var bcan();var bbba();if(!bd||bb){beq}else{if(bc&&bfk&&(!av.triggerOnTouchEnd||av.triggerOnTouchLeave)){beh}else{if(!bc&&bfh&&av.triggerOnTouchLeave){beq}}}return be}function O(bd,bb){var bcundefined;if(I()||V()){bcaF(bd,bb,l)}else{if((P()||aX())&&bc!false){bcaF(bd,bb,t)}}if(aG()&&bc!false){bcaF(bd,bb,j)}else{if(ap()&&bc!false){bcaF(bd,bb,b)}else{if(ah()&&bc!false){bcaF(bd,bb,A)}}}if(bbq){a9(bd)}if(bbh){if(a){if(bd.touches.length0){a9(bd)}}else{a9(bd)}}return bc}function aF(be,bb,bd){var bcundefined;if(bdl){aR.trigger(swipeStatus,bb,aP||null,ag||0,ab||0,W,aQ);if(av.swipeStatus){bcav.swipeStatus.call(aR,be,bb,aP||null,ag||0,ab||0,W,aQ);if(bcfalse){return false}}if(bbh&&aV()){aR.trigger(swipe,aP,ag,ab,W,aQ);if(av.swipe){bcav.swipe.call(aR,be,aP,ag,ab,W,aQ);if(bcfalse){return false}}switch(aP){case p:aR.trigger(swipeLeft,aP,ag,ab,W,aQ);if(av.swipeLeft){bcav.swipeLeft.call(aR,be,aP,ag,ab,W,aQ)}break;case o:aR.trigger(swipeRight,aP,ag,ab,W,aQ);if(av.swipeRight){bcav.swipeRight.call(aR,be,aP,ag,ab,W,aQ)}break;case e:aR.trigger(swipeUp,aP,ag,ab,W,aQ);if(av.swipeUp){bcav.swipeUp.call(aR,be,aP,ag,ab,W,aQ)}break;case x:aR.trigger(swipeDown,aP,ag,ab,W,aQ);if(av.swipeDown){bcav.swipeDown.call(aR,be,aP,ag,ab,W,aQ)}break}}}if(bdt){aR.trigger(pinchStatus,bb,aJ||null,aq||0,ab||0,W,G,aQ);if(av.pinchStatus){bcav.pinchStatus.call(aR,be,bb,aJ||null,aq||0,ab||0,W,G,aQ);if(bcfalse){return false}}if(bbh&&a8()){switch(aJ){case c:aR.trigger(pinchIn,aJ||null,aq||0,ab||0,W,G,aQ);if(av.pinchIn){bcav.pinchIn.call(aR,be,aJ||null,aq||0,ab||0,W,G,aQ)}break;case z:aR.trigger(pinchOut,aJ||null,aq||0,ab||0,W,G,aQ);if(av.pinchOut){bcav.pinchOut.call(aR,be,aJ||null,aq||0,ab||0,W,G,aQ)}break}}}if(bdA){if(bbq||bbh){clearTimeout(aW);clearTimeout(af);if(Y()&&!H()){Nat();aWsetTimeout(f.proxy(function(){Nnull;aR.trigger(tap,be.target);if(av.tap){bcav.tap.call(aR,be,be.target)}},this),av.doubleTapThreshold)}else{Nnull;aR.trigger(tap,be.target);if(av.tap){bcav.tap.call(aR,be,be.target)}}}}else{if(bdj){if(bbq||bbh){clearTimeout(aW);Nnull;aR.trigger(doubletap,be.target);if(av.doubleTap){bcav.doubleTap.call(aR,be,be.target)}}}else{if(bdb){if(bbq||bbh){clearTimeout(aW);Nnull;aR.trigger(longtap,be.target);if(av.longTap){bcav.longTap.call(aR,be,be.target)}}}}}return bc}function an(){var bbtrue;if(av.threshold!null){bbag>av.threshold}return bb}function ba(){var bbfalse;if(av.cancelThreshold!null&&aP!null){bb(aT(aP)-ag)>av.cancelThreshold}return bb}function ae(){if(av.pinchThreshold!null){return aq>av.pinchThreshold}return true}function aA(){var bb;if(av.maxTimeThreshold){if(ab>av.maxTimeThreshold){bbfalse}else{bbtrue}}else{bbtrue}return bb}function al(bb,bc){if(av.allowPageScrollm||aX()){bb.preventDefault()}else{var bdav.allowPageScrolls;switch(bc){case p:if((av.swipeLeft&&bd)||(!bd&&av.allowPageScroll!D)){bb.preventDefault()}break;case o:if((av.swipeRight&&bd)||(!bd&&av.allowPageScroll!D)){bb.preventDefault()}break;case e:if((av.swipeUp&&bd)||(!bd&&av.allowPageScroll!u)){bb.preventDefault()}break;case x:if((av.swipeDown&&bd)||(!bd&&av.allowPageScroll!u)){bb.preventDefault()}break}}}function a8(){var bcaO();var bbX();var bdae();return bc&&bb&&bd}function aX(){return !!(av.pinchStatus||av.pinchIn||av.pinchOut)}function P(){return !!(a8()&&aX())}function aV(){var beaA();var bgan();var bdaO();var bbX();var bcba();var bf!bc&&bb&&bd&&bg&&be;return bf}function V(){return !!(av.swipe||av.swipeStatus||av.swipeLeft||av.swipeRight||av.swipeUp||av.swipeDown)}function I(){return !!(aV()&&V())}function aO(){return((Wav.fingers||av.fingersi)||!a)}function X(){return aQ0.end.x!0}function a6(){return !!(av.tap)}function Y(){return !!(av.doubleTap)}function aU(){return !!(av.longTap)}function Q(){if(Nnull){return false}var bbat();return(Y()&&((bb-N)av.doubleTapThreshold))}function H(){return Q()}function ax(){return((W1||!a)&&(isNaN(ag)||agav.threshold))}function a0(){return((ab>av.longTapThreshold)&&(agr))}function ah(){return !!(ax()&&a6())}function aG(){return !!(Q()&&Y())}function ap(){return !!(a0()&&aU())}function F(){a5at();adevent.touches.length+1}function R(){a50;ad0}function am(){var bbfalse;if(a5){var bcat()-a5;if(bcav.fingerReleaseThreshold){bbtrue}}return bb}function aB(){return !!(aR.data(B+_intouch)true)}function ao(bb){if(bbtrue){aR.bind(ay,a3);aR.bind(U,L);if(S){aR.bind(S,K)}}else{aR.unbind(ay,a3,false);aR.unbind(U,L,false);if(S){aR.unbind(S,K,false)}}aR.data(B+_intouch,bbtrue)}function ai(bc,bb){var bdbb.identifier!undefined?bb.identifier:0;aQbc.identifierbd;aQbc.start.xaQbc.end.xbb.pageX||bb.clientX;aQbc.start.yaQbc.end.ybb.pageY||bb.clientY;return aQbc}function aH(bb){var bdbb.identifier!undefined?bb.identifier:0;var bcac(bd);bc.end.xbb.pageX||bb.clientX;bc.end.ybb.pageY||bb.clientY;return bc}function ac(bc){for(var bb0;bbaQ.length;bb++){if(aQbb.identifierbc){return aQbb}}}function aj(){var bb;for(var bc0;bc5;bc++){bb.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0})}return bb}function aI(bb,bc){bcMath.max(bc,aT(bb));Mbb.distancebc}function aT(bb){if(Mbb){return Mbb.distance}return undefined}function aa(){var bb{};bbpaw(p);bboaw(o);bbeaw(e);bbxaw(x);return bb}function aw(bb){return{direction:bb,distance:0}}function aM(){return a2-T}function au(be,bd){var bcMath.abs(be.x-bd.x);var bbMath.abs(be.y-bd.y);return Math.round(Math.sqrt(bc*bc+bb*bb))}function a7(bb,bc){var bd(bc/bb)*1;return bd.toFixed(2)}function ar(){if(G1){return z}else{return c}}function aS(bc,bb){return Math.round(Math.sqrt(Math.pow(bb.x-bc.x,2)+Math.pow(bb.y-bc.y,2)))}function aE(be,bc){var bbbe.x-bc.x;var bgbc.y-be.y;var bdMath.atan2(bg,bb);var bfMath.round(bd*180/Math.PI);if(bf0){bf360-Math.abs(bf)}return bf}function aL(bc,bb){var bdaE(bc,bb);if((bd45)&&(bd>0)){return p}else{if((bd360)&&(bd>315)){return p}else{if((bd>135)&&(bd225)){return o}else{if((bd>45)&&(bd135)){return x}else{return e}}}}}function at(){var bbnew Date();return bb.getTime()}function aY(bb){bbf(bb);var bdbb.offset();var bc{left:bd.left,right:bd.left+bb.outerWidth(),top:bd.top,bottom:bd.top+bb.outerHeight()};return bc}function E(bb,bc){return(bb.x>bc.left&&bb.xbc.right&&bb.y>bc.top&&bb.ybc.bottom)}}}));if(typeof(console) undefined) { var console {} console.log console.error console.info console.debug console.warn console.trace console.dir console.dirxml console.group console.groupEnd console.time console.timeEnd console.assert console.profile console.groupCollapsed function() {};}if (window.tplogstrue) try { console.groupCollapsed(ThemePunch GreenSocks Logs); } catch(e) { }var oldgs window.GreenSockGlobals; oldgs_queue window._gsQueue;var punchgs window.GreenSockGlobals {};if (window.tplogstrue) try { console.info(Build GreenSock SandBox for ThemePunch Plugins); console.info(GreenSock TweenLite Engine Initalised by ThemePunch Plugin); } catch(e) {}(function(t,e){use strict;var it.GreenSockGlobalst.GreenSockGlobals||t;if(!i.TweenLite){var s,r,n,a,o,lfunction(t){var e,st.split(.),ri;for(e0;s.length>e;e++)rserrse||{};return r},hl(com.greensock),_1e-10,ufunction(t){var e,i,st.length;for(e0;e!s;i.push(te++));return i},mfunction(){},ffunction(){var tObject.prototype.toString,et.call();return function(i){return null!i&&(i instanceof Array||objecttypeof i&&!!i.push&&t.call(i)e)}}(),c{},pfunction(s,r,n,a){this.sccs?cs.sc:,csthis,this.gsClassnull,this.funcn;var o;this.checkfunction(h){for(var _,u,m,f,dr.length,vd;--d>-1;)(_crd||new p(rd,)).gsClass?(od_.gsClass,v--):h&&_.sc.push(this);if(0v&&n)for(u(com.greensock.+s).split(.),mu.pop(),fl(u.join(.))mthis.gsClassn.apply(n,o),a&&(imf,functiontypeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+/:)+s.split(.).pop(),,function(){return f}):se&&undefined!typeof module&&module.exports&&(module.exportsf)),d0;this.sc.length>d;d++)this.scd.check()},this.check(!0)},dt._gsDefinefunction(t,e,i,s){return new p(t,e,i,s)},vh._classfunction(t,e,i){return ee||function(){},d(t,,function(){return e},i),e};d.globalsi;var g0,0,1,1,T,yv(easing.Ease,function(t,e,i,s){this._funct,this._typei||0,this._powers||0,this._paramse?g.concat(e):g},!0),wy.map{},Py.registerfunction(t,e,i,s){for(var r,n,a,o,le.split(,),_l.length,u(i||easeIn,easeOut,easeInOut).split(,);--_>-1;)for(nl_,rs?v(easing.+n,null,!0):h.easingn||{},au.length;--a>-1;)oua,wn+.+owo+nrot.getRatio?t:to||new t};for(ny.prototype,n._calcEnd!1,n.getRatiofunction(t){if(this._func)return this._params0t,this._func.apply(null,this._params);var ethis._type,ithis._power,s1e?1-t:2e?t:.5>t?2*t:2*(1-t);return 1i?s*s:2i?s*s*s:3i?s*s*s*s:4i&&(s*s*s*s*s),1e?1-s:2e?s:.5>t?s/2:1-s/2},sLinear,Quad,Cubic,Quart,Quint,Strong,rs.length;--r>-1;)nsr+,Power+r,P(new y(null,null,1,r),n,easeOut,!0),P(new y(null,null,2,r),n,easeIn+(0r?,easeNone:)),P(new y(null,null,3,r),n,easeInOut);w.linearh.easing.Linear.easeIn,w.swingh.easing.Quad.easeInOut;var bv(events.EventDispatcher,function(t){this._listeners{},this._eventTargett||this});nb.prototype,n.addEventListenerfunction(t,e,i,s,r){rr||0;var n,l,hthis._listenerst,_0;for(nullh&&(this._listenersth),lh.length;--l>-1;)nhl,n.ce&&n.si?h.splice(l,1):0_&&r>n.pr&&(_l+1);h.splice(_,0,{c:e,s:i,up:s,pr:r}),this!a||o||a.wake()},n.removeEventListenerfunction(t,e){var i,sthis._listenerst;if(s)for(is.length;--i>-1;)if(si.ce)return s.splice(i,1),void 0},n.dispatchEventfunction(t){var e,i,s,rthis._listenerst;if(r)for(er.length,ithis._eventTarget;--e>-1;)sre,s&&(s.up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i))};var kt.requestAnimationFrame,At.cancelAnimationFrame,SDate.now||function(){return(new Date).getTime()},xS();for(sms,moz,webkit,o,rs.length;--r>-1&&!k;)ktsr+RequestAnimationFrame,Atsr+CancelAnimationFrame||tsr+CancelRequestAnimationFrame;v(Ticker,function(t,e){var i,s,r,n,l,hthis,uS(),fe!!1&&k,c500,p33,dfunction(t){var e,a,oS()-x;o>c&&(u+o-p),x+o,h.time(x-u)/1e3,eh.time-l,(!i||e>0||t!0)&&(h.frame++,l+e+(e>n?.004:n-e),a!0),t!!0&&(rs(d)),a&&h.dispatchEvent(tick)};b.call(h),h.timeh.frame0,h.tickfunction(){d(!0)},h.lagSmoothingfunction(t,e){ct||1/_,pMath.min(e,c,0)},h.sleepfunction(){null!r&&(f&&A?A(r):clearTimeout(r),sm,rnull,ha&&(o!1))},h.wakefunction(){null!r?h.sleep():h.frame>10&&(xS()-c+5),s0i?m:f&&k?k:function(t){return setTimeout(t,0|1e3*(l-h.time)+1)},ha&&(o!0),d(2)},h.fpsfunction(t){return arguments.length?(it,n1/(i||60),lthis.time+n,h.wake(),void 0):i},h.useRAFfunction(t){return arguments.length?(h.sleep(),ft,h.fps(i),void 0):f},h.fps(t),setTimeout(function(){f&&(!r||5>h.frame)&&h.useRAF(!1)},1500)}),nh.Ticker.prototypenew h.events.EventDispatcher,n.constructorh.Ticker;var Rv(core.Animation,function(t,e){if(this.varsee||{},this._durationthis._totalDurationt||0,this._delayNumber(e.delay)||0,this._timeScale1,this._activee.immediateRender!0,this.datae.data,this._reversede.reversed!0,B){o||a.wake();var ithis.vars.useFrames?q:B;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});aR.tickernew h.Ticker,nR.prototype,n._dirtyn._gcn._inittedn._paused!1,n._totalTimen._time0,n._rawPrevTime-1,n._nextn._lastn._onUpdaten._timelinen.timelinenull,n._paused!1;var Cfunction(){o&&S()-x>2e3&&a.wake(),setTimeout(C,2e3)};C(),n.playfunction(t,e){return null!t&&this.seek(t,e),this.reversed(!1).paused(!1)},n.pausefunction(t,e){return null!t&&this.seek(t,e),this.paused(!0)},n.resumefunction(t,e){return null!t&&this.seek(t,e),this.paused(!1)},n.seekfunction(t,e){return this.totalTime(Number(t),e!!1)},n.restartfunction(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,e!!1,!0)},n.reversefunction(t,e){return null!t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},n.renderfunction(){},n.invalidatefunction(){return this._timethis._totalTime0,this._inittedthis._gc!1,this._rawPrevTime-1,(this._gc||!this.timeline)&&this._enabled(!0),this},n.isActivefunction(){var t,ethis._timeline,ithis._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(te.rawTime())>i&&i+this.totalDuration()/this._timeScale>t},n._enabledfunction(t,e){return o||a.wake(),this._gc!t,this._activethis.isActive(),e!!0&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},n._killfunction(){return this._enabled(!1,!1)},n.killfunction(t,e){return this._kill(t,e),this},n._uncachefunction(t){for(var et?this:this.timeline;e;)e._dirty!0,ee.timeline;return this},n._swapSelfInParamsfunction(t){for(var et.length,it.concat();--e>-1;){self}te&&(iethis);return i},n.eventCallbackfunction(t,e,i,s){if(on(t||).substr(0,2)){var rthis.vars;if(1arguments.length)return rt;nulle?delete rt:(rte,rt+Paramsf(i)&&-1!i.join().indexOf({self})?this._swapSelfInParams(i):i,rt+Scopes),onUpdatet&&(this._onUpdatee)}return this},n.delayfunction(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delayt,this):this._delay},n.durationfunction(t){return arguments.length?(this._durationthis._totalDurationt,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration&&0!t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty!1,this._duration)},n.totalDurationfunction(t){return this._dirty!1,arguments.length?this.duration(t):this._totalDuration},n.timefunction(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},n.totalTimefunction(t,e,i){if(o||a.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var sthis._totalDuration,rthis._timeline;if(t>s&&!i&&(ts),this._startTime(this._paused?this._pauseTime:r._time)-(this._reversed?s-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),rr._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!t||0this._duration)&&(this.render(t,e,!1),z.length&&M())}return this},n.progressn.totalProgressfunction(t,e){return arguments.length?this.totalTime(this.duration()*t,e):this._time/this.duration()},n.startTimefunction(t){return arguments.length?(t!this._startTime&&(this._startTimet,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},n.endTimefunction(t){return this._startTime+(0!t?this.totalDuration():this.duration())/this._timeScale},n.timeScalefunction(t){if(!arguments.length)return this._timeScale;if(tt||_,this._timeline&&this._timeline.smoothChildTiming){var ethis._pauseTime,ie||0e?e:this._timeline.totalTime();this._startTimei-(i-this._startTime)*this._timeScale/t}return this._timeScalet,this._uncache(!1)},n.reversedfunction(t){return arguments.length?(t!this._reversed&&(this._reversedt,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},n.pausedfunction(t){if(!arguments.length)return this._paused;if(t!this._paused&&this._timeline){o||t||a.wake();var ethis._timeline,ie.rawTime(),si-this._pauseTime;!t&&e.smoothChildTiming&&(this._startTime+s,this._uncache(!1)),this._pauseTimet?i:null,this._pausedt,this._activethis.isActive(),!t&&0!s&&this._initted&&this.duration()&&this.render(e.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!t&&this._enabled(!0,!1),this};var Dv(core.SimpleTimeline,function(t){R.call(this,0,t),this.autoRemoveChildrenthis.smoothChildTiming!0});nD.prototypenew R,n.constructorD,n.kill()._gc!1,n._firstn._lastn._recentnull,n._sortChildren!1,n.addn.insertfunction(t,e){var i,s;if(t._startTimeNumber(e||0)+t._delay,t._paused&&this!t._timeline&&(t._pauseTimet._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timelinet._timelinethis,t._gc&&t._enabled(!0,!0),ithis._last,this._sortChildren)for(st._startTime;i&&i._startTime>s;)ii._prev;return i?(t._nexti._next,i._nextt):(t._nextthis._first,this._firstt),t._next?t._next._prevt:this._lastt,t._previ,this._recentt,this._timeline&&this._uncache(!0),this},n._removefunction(t,e){return t.timelinethis&&(e||t._enabled(!1,!0),t._prev?t._prev._nextt._next:this._firstt&&(this._firstt._next),t._next?t._next._prevt._prev:this._lastt&&(this._lastt._prev),t._nextt._prevt.timelinenull,tthis._recent&&(this._recentthis._last),this._timeline&&this._uncache(!0)),this},n.renderfunction(t,e,i){var s,rthis._first;for(this._totalTimethis._timethis._rawPrevTimet;r;)sr._next,(r._active||t>r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),rs},n.rawTimefunction(){return o||a.wake(),this._totalTime};var Iv(TweenLite,function(e,i,s){if(R.call(this,i,s),this.renderI.prototype.render,nulle)throwCannot tween a null target.;this.targetestring!typeof e?e:I.selector(e)||e;var r,n,a,oe.jquery||e.length&&e!t&&e0&&(e0t||e0.nodeType&&e0.style&&!e.nodeType),lthis.vars.overwrite;if(this._overwritelnulll?QI.defaultOverwrite:numbertypeof l?l>>0:Ql,(o||e instanceof Array||e.push&&f(e))&&number!typeof e0)for(this._targetsau(e),this._propLookup,this._siblings,r0;a.length>r;r++)nar,n?string!typeof n?n.length&&n!t&&n0&&(n0t||n0.nodeType&&n0.style&&!n.nodeType)?(a.splice(r--,1),this._targetsaa.concat(u(n))):(this._siblingsr$(n,this,!1),1l&&this._siblingsr.length>1&&H(n,this,null,1,this._siblingsr)):(nar--I.selector(n),stringtypeof n&&a.splice(r+1,1)):a.splice(r--,1);else this._propLookup{},this._siblings$(e,this,!1),1l&&this._siblings.length>1&&H(e,this,null,1,this._siblings);(this.vars.immediateRender||0i&&0this._delay&&this.vars.immediateRender!!1)&&(this._time-_,this.render(-this._delay))},!0),Efunction(e){return e&&e.length&&e!t&&e0&&(e0t||e0.nodeType&&e0.style&&!e.nodeType)},Ofunction(t,e){var i,s{};for(i in t)Gi||i in e&&transform!i&&x!i&&y!i&&width!i&&height!i&&className!i&&border!i||!(!Ui||Ui&&Ui._autoCSS)||(siti,delete ti);t.csss};nI.prototypenew R,n.constructorI,n.kill()._gc!1,n.ratio0,n._firstPTn._targetsn._overwrittenPropsn._startAtnull,n._notifyPluginsOfEnabledn._lazy!1,I.version1.14.2,I.defaultEasen._easenew y(null,null,1,1),I.defaultOverwriteauto,I.tickera,I.autoSleep!0,I.lagSmoothingfunction(t,e){a.lagSmoothing(t,e)},I.selectort.$||t.jQuery||function(e){var it.$||t.jQuery;return i?(I.selectori,i(e)):undefinedtypeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById(#e.charAt(0)?e.substr(1):e)};var z,L{},NI._internals{isArray:f,isSelector:E,lazyTweens:z},UI._plugins{},FN.tweenLookup{},j0,GN.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},Q{none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},qR._rootFramesTimelinenew D,BR._rootTimelinenew D,MN.lazyRenderfunction(){var t,ez.length;for(L{};--e>-1;)tze,t&&t._lazy!!1&&(t.render(t._lazy0,t._lazy1,!0),t._lazy!1);z.length0};B._startTimea.time,q._startTimea.frame,B._activeq._active!0,setTimeout(M,1),R._updateRootI.renderfunction(){var t,e,i;if(z.length&&M(),B.render((a.time-B._startTime)*B._timeScale,!1,!1),q.render((a.frame-q._startTime)*q._timeScale,!1,!1),z.length&&M(),!(a.frame%120)){for(i in F){for(eFi.tweens,te.length;--t>-1;)et._gc&&e.splice(t,1);0e.length&&delete Fi}if(iB._first,(!i||i._paused)&&I.autoSleep&&!q._first&&1a._listeners.tick.length){for(;i&&i._paused;)ii._next;i||a.sleep()}}},a.addEventListener(tick,R._updateRoot);var $function(t,e,i){var s,r,nt._gsTweenID;if(Fn||(t._gsTweenIDnt+j++)||(Fn{target:t,tweens:}),e&&(sFn.tweens,srs.lengthe,i))for(;--r>-1;)sre&&s.splice(r,1);return Fn.tweens},Kfunction(t,e,i,s){var r,n,at.vars.onOverwrite;return a&&(ra(t,e,i,s)),aI.onOverwrite,a&&(na(t,e,i,s)),r!!1&&n!!1},Hfunction(t,e,i,s,r){var n,a,o,l;if(1s||s>4){for(lr.length,n0;l>n;n++)if((orn)!e)o._gc||K(o,e)&&o._enabled(!1,!1)&&(a!0);else if(5s)break;return a}var h,ue._startTime+_,m,f0,c0e._duration;for(nr.length;--n>-1;)(orn)e||o._gc||o._paused||(o._timeline!e._timeline?(hh||J(e,0,c),0J(o,h,c)&&(mf++o)):u>o._startTime&&o._startTime+o.totalDuration()/o._timeScale>u&&((c||!o._initted)&&2e-10>u-o._startTime||(mf++o)));for(nf;--n>-1;)if(omn,2s&&o._kill(i,t,e)&&(a!0),2!s||!o._firstPT&&o._initted){if(2!s&&!K(o,e))continue;o._enabled(!1,!1)&&(a!0)}return a},Jfunction(t,e,i){for(var st._timeline,rs._timeScale,nt._startTime;s._timeline;){if(n+s._startTime,r*s._timeScale,s._paused)return-100;ss._timeline}return n/r,n>e?n-e:i&&ne||!t._initted&&2*_>n-e?_:(n+t.totalDuration()/t._timeScale/r)>e+_?0:n-e-_};n._initfunction(){var t,e,i,s,r,nthis.vars,athis._overwrittenProps,othis._duration,l!!n.immediateRender,hn.ease;if(n.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r{};for(s in n.startAt)rsn.startAts;if(r.overwrite!1,r.immediateRender!0,r.lazyl&&n.lazy!!1,r.startAtr.delaynull,this._startAtI.to(this.target,0,r),l)if(this._time>0)this._startAtnull;else if(0!o)return}else if(n.runBackwards&&0!o)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAtnull;else{0!this._time&&(l!1),i{};for(s in n)Gs&&autoCSS!s||(isns);if(i.overwrite0,i.dataisFromStart,i.lazyl&&n.lazy!!1,i.immediateRenderl,this._startAtI.to(this.target,0,i),l){if(0this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAtnull)}if(this._easehh?h instanceof y?h:functiontypeof h?new y(h,n.easeParams):wh||I.defaultEase:I.defaultEase,n.easeParams instanceof Array&&h.config&&(this._easeh.config.apply(h,n.easeParams)),this._easeTypethis._ease._type,this._easePowerthis._ease._power,this._firstPTnull,this._targets)for(tthis._targets.length;--t>-1;)this._initProps(this._targetst,this._propLookupt{},this._siblingst,a?at:null)&&(e!0);else ethis._initProps(this.target,this._propLookup,this._siblings,a);if(e&&I._onPluginEvent(_onInitAllProps,this),a&&(this._firstPT||function!typeof this.target&&this._enabled(!1,!1)),n.runBackwards)for(ithis._firstPT;i;)i.s+i.c,i.c-i.c,ii._next;this._onUpdaten.onUpdate,this._initted!0},n._initPropsfunction(e,i,s,r){var n,a,o,l,h,_;if(nulle)return!1;Le._gsTweenID&&M(),this.vars.css||e.style&&e!t&&e.nodeType&&U.css&&this.vars.autoCSS!!1&&O(this.vars,e);for(n in this.vars){if(_this.varsn,Gn)_&&(_ instanceof Array||_.push&&f(_))&&-1!_.join().indexOf({self})&&(this.varsn_this._swapSelfInParams(_,this));else if(Un&&(lnew Un)._onInitTween(e,this.varsn,this)){for(this._firstPTh{_next:this._firstPT,t:l,p:setRatio,s:0,c:1,f:!0,n:n,pg:!0,pr:l._priority},al._overwriteProps.length;--a>-1;)il._overwritePropsathis._firstPT;(l._priority||l._onInitAllProps)&&(o!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled!0)}else this._firstPTinh{_next:this._firstPT,t:e,p:n,f:functiontypeof en,n:n,pg:!1,pr:0},h.sh.f?en.indexOf(set)||function!typeof eget+n.substr(3)?n:get+n.substr(3)():parseFloat(en),h.cstringtypeof _&&_.charAt(1)?parseInt(_.charAt(0)+1,10)*Number(_.substr(2)):Number(_)-h.s||0;h&&h._next&&(h._next._prevh)}return r&&this._kill(r,e)?this._initProps(e,i,s,r):this._overwrite>1&&this._firstPT&&s.length>1&&H(e,this,i,this._overwrite,s)?(this._kill(i,e),this._initProps(e,i,s,r)):(this._firstPT&&(this.vars.lazy!!1&&this._duration||this.vars.lazy&&!this._duration)&&(Le._gsTweenID!0),o)},n.renderfunction(t,e,i){var s,r,n,a,othis._time,lthis._duration,hthis._rawPrevTime;if(t>l)this._totalTimethis._timel,this.ratiothis._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(s!0,ronComplete),0l&&(this._initted||!this.vars.lazy||i)&&(this._startTimethis._timeline._duration&&(t0),(0t||0>h||h_)&&h!t&&(i!0,h>_&&(ronReverseComplete)),this._rawPrevTimea!e||t||ht?t:_);else if(1e-7>t)this._totalTimethis._time0,this.ratiothis._ease._calcEnd?this._ease.getRatio(0):0,(0!o||0l&&h>0&&h!_)&&(ronReverseComplete,sthis._reversed),0>t&&(this._active!1,0l&&(this._initted||!this.vars.lazy||i)&&(h>0&&(i!0),this._rawPrevTimea!e||t||ht?t:_)),this._initted||(i!0);else if(this._totalTimethis._timet,this._easeType){var ut/l,mthis._easeType,fthis._easePower;(1m||3m&&u>.5)&&(u1-u),3m&&(u*2),1f?u*u:2f?u*u*u:3f?u*u*u*u:4f&&(u*u*u*u*u),this.ratio1m?1-u:2m?u:.5>t/l?u/2:1-u/2}else this.ratiothis._ease.getRatio(t/l);if(this._time!o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(this.vars.lazy!!1&&this._duration||this.vars.lazy&&!this._duration))return this._timethis._totalTimeo,this._rawPrevTimeh,z.push(this),this._lazyt,e,void 0;this._time&&!s?this.ratiothis._ease.getRatio(this._time/l):s&&this._ease._calcEnd&&(this.ratiothis._ease.getRatio(0this._time?0:1))}for(this._lazy!!1&&(this._lazy!1),this._active||!this._paused&&this._time!o&&t>0&&(this._active!0),0o&&(this._startAt&&(t>0?this._startAt.render(t,e,i):r||(r_dummyGS)),this.vars.onStart&&(0!this._time||0l)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||T))),nthis._firstPT;n;)n.f?n.tn.p(n.c*this.ratio+n.s):n.tn.pn.c*this.ratio+n.s,nn._next;this._onUpdate&&(0>t&&this._startAt&&t!-1e-4&&this._startAt.render(t,e,i),e||(this._time!o||s)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||T)),r&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&t!-1e-4&&this._startAt.render(t,e,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active!1),!e&&this.varsr&&this.varsr.apply(this.varsr+Scope||this,this.varsr+Params||T),0l&&this._rawPrevTime_&&a!_&&(this._rawPrevTime0))}},n._killfunction(t,e,i){if(allt&&(tnull),nullt&&(nulle||ethis.target))return this._lazy!1,this._enabled(!1,!1);estring!typeof e?e||this._targets||this.target:I.selector(e)||e;var s,r,n,a,o,l,h,_,u;if((f(e)||E(e))&&number!typeof e0)for(se.length;--s>-1;)this._kill(t,es)&&(l!0);else{if(this._targets){for(sthis._targets.length;--s>-1;)if(ethis._targetss){othis._propLookups||{},this._overwrittenPropsthis._overwrittenProps||,rthis._overwrittenPropsst?this._overwrittenPropss||{}:all;break}}else{if(e!this.target)return!1;othis._propLookup,rthis._overwrittenPropst?this._overwrittenProps||{}:all}if(o){if(ht||o,_t!r&&all!r&&t!o&&(object!typeof t||!t._tempKill),i&&(I.onOverwrite||this.vars.onOverwrite)){for(n in h)on&&(u||(u),u.push(n));if(!K(this,i,e,u))return!1}for(n in h)(aon)&&(a.pg&&a.t._kill(h)&&(l!0),a.pg&&0!a.t._overwriteProps.length||(a._prev?a._prev._nexta._next:athis._firstPT&&(this._firstPTa._next),a._next&&(a._next._preva._prev),a._nexta._prevnull),delete on),_&&(rn1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},n.invalidatefunction(){return this._notifyPluginsOfEnabled&&I._onPluginEvent(_onDisable,this),this._firstPTthis._overwrittenPropsthis._startAtthis._onUpdatenull,this._notifyPluginsOfEnabledthis._activethis._lazy!1,this._propLookupthis._targets?{}:,R.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time-_,this.render(-this._delay)),this},n._enabledfunction(t,e){if(o||a.wake(),t&&this._gc){var i,sthis._targets;if(s)for(is.length;--i>-1;)this._siblingsi$(si,this,!0);else this._siblings$(this.target,this,!0)}return R.prototype._enabled.call(this,t,e),this._notifyPluginsOfEnabled&&this._firstPT?I._onPluginEvent(t?_onEnable:_onDisable,this):!1},I.tofunction(t,e,i){return new I(t,e,i)},I.fromfunction(t,e,i){return i.runBackwards!0,i.immediateRender0!i.immediateRender,new I(t,e,i)},I.fromTofunction(t,e,i,s){return s.startAti,s.immediateRender0!s.immediateRender&&0!i.immediateRender,new I(t,e,s)},I.delayedCallfunction(t,e,i,s,r){return new I(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:s,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:s,immediateRender:!1,useFrames:r,overwrite:0})},I.setfunction(t,e){return new I(t,0,e)},I.getTweensOffunction(t,e){if(nullt)return;tstring!typeof t?t:I.selector(t)||t;var i,s,r,n;if((f(t)||E(t))&&number!typeof t0){for(it.length,s;--i>-1;)ss.concat(I.getTweensOf(ti,e));for(is.length;--i>-1;)for(nsi,ri;--r>-1;)nsr&&s.splice(i,1)}else for(s$(t).concat(),is.length;--i>-1;)(si._gc||e&&!si.isActive())&&s.splice(i,1);return s},I.killTweensOfI.killDelayedCallsTofunction(t,e,i){objecttypeof e&&(ie,e!1);for(var sI.getTweensOf(t,e),rs.length;--r>-1;)sr._kill(i,t)};var Vv(plugins.TweenPlugin,function(t,e){this._overwriteProps(t||).split(,),this._propNamethis._overwriteProps0,this._prioritye||0,this._superV.prototype},!0);if(nV.prototype,V.version1.10.1,V.API2,n._firstPTnull,n._addTweenfunction(t,e,i,s,r,n){var a,o;return null!s&&(anumbertypeof s||!s.charAt(1)?Number(s)-i:parseInt(s.charAt(0)+1,10)*Number(s.substr(2)))?(this._firstPTo{_next:this._firstPT,t:t,p:e,s:i,c:a,f:functiontypeof te,n:r||e,r:n},o._next&&(o._next._prevo),o):void 0},n.setRatiofunction(t){for(var e,ithis._firstPT,s1e-6;i;)ei.c*t+i.s,i.r?eMath.round(e):s>e&&e>-s&&(e0),i.f?i.ti.p(e):i.ti.pe,ii._next},n._killfunction(t){var e,ithis._overwriteProps,sthis._firstPT;if(null!tthis._propName)this._overwriteProps;else for(ei.length;--e>-1;)null!tie&&i.splice(e,1);for(;s;)null!ts.n&&(s._next&&(s._next._prevs._prev),s._prev?(s._prev._nexts._next,s._prevnull):this._firstPTs&&(this._firstPTs._next)),ss._next;return!1},n._roundPropsfunction(t,e){for(var ithis._firstPT;i;)(tthis._propName||null!i.n&&ti.n.split(this._propName+_).join())&&(i.re),ii._next},I._onPluginEventfunction(t,e){var i,s,r,n,a,oe._firstPT;if(_onInitAllPropst){for(;o;){for(ao._next,sr;s&&s.pr>o.pr;)ss._next;(o._prevs?s._prev:n)?o._prev._nexto:ro,(o._nexts)?s._prevo:no,oa}oe._firstPTr}for(;o;)o.pg&&functiontypeof o.tt&&o.tt()&&(i!0),oo._next;return i},V.activatefunction(t){for(var et.length;--e>-1;)te.APIV.API&&(U(new te)._propNamete);return!0},d.pluginfunction(t){if(!(t&&t.propName&&t.init&&t.API))throwillegal plugin definition.;var e,it.propName,st.priority||0,rt.overwriteProps,n{init:_onInitTween,set:setRatio,kill:_kill,round:_roundProps,initAll:_onInitAllProps},av(plugins.+i.charAt(0).toUpperCase()+i.substr(1)+Plugin,function(){V.call(this,i,s),this._overwritePropsr||},t.global!0),oa.prototypenew V(i);o.constructora,a.APIt.API;for(e in n)functiontypeof te&&(onete);return a.versiont.version,V.activate(a),a},st._gsQueue){for(r0;s.length>r;r++)sr();for(n in c)cn.func||t.console.log(GSAP encountered missing dependency: com.greensock.+n)}o!1}})(undefined!typeof module&&module.exports&&undefined!typeof global?global:this||window,TweenLite);var _gsScopeundefined!typeof module&&module.exports&&undefined!typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue)).push(function(){use strict;_gsScope._gsDefine(TimelineLite,core.Animation,core.SimpleTimeline,TweenLite,function(t,e,i){var sfunction(t){e.call(this,t),this._labels{},this.autoRemoveChildrenthis.vars.autoRemoveChildren!0,this.smoothChildTimingthis.vars.smoothChildTiming!0,this._sortChildren!0,this._onUpdatethis.vars.onUpdate;var i,s,rthis.vars;for(s in r)irs,o(i)&&-1!i.join().indexOf({self})&&(rsthis._swapSelfInParams(i));o(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},r1e-10,ni._internals,an.isSelector,on.isArray,hn.lazyTweens,ln.lazyRender,_,u_gsScope._gsDefine.globals,cfunction(t){var e,i{};for(e in t)iete;return i},pfunction(t,e,i,s){var rt._timeline._totalTime;(e||!this._forcingPlayhead)&&(t._timeline.pause(t._startTime),e&&e.apply(s||t._timeline,i||_),this._forcingPlayhead&&t._timeline.seek(r))},ffunction(t){var e,i,st.length;for(e0;e!s;i.push(te++));return i},ms.prototypenew e;return s.version1.14.2,m.constructors,m.kill()._gcm._forcingPlayhead!1,m.tofunction(t,e,s,r){var ns.repeat&&u.TweenMax||i;return e?this.add(new n(t,e,s),r):this.set(t,s,r)},m.fromfunction(t,e,s,r){return this.add((s.repeat&&u.TweenMax||i).from(t,e,s),r)},m.fromTofunction(t,e,s,r,n){var ar.repeat&&u.TweenMax||i;return e?this.add(a.fromTo(t,e,s,r),n):this.set(t,r,n)},m.staggerTofunction(t,e,r,n,o,h,l,_){var u,pnew s({onComplete:h,onCompleteParams:l,onCompleteScope:_,smoothChildTiming:this.smoothChildTiming});for(stringtypeof t&&(ti.selector(t)||t),tt||,a(t)&&(tf(t)),nn||0,0>n&&(tf(t),t.reverse(),n*-1),u0;t.length>u;u++)r.startAt&&(r.startAtc(r.startAt)),p.to(tu,e,c(r),u*n);return this.add(p,o)},m.staggerFromfunction(t,e,i,s,r,n,a,o){return i.immediateRender0!i.immediateRender,i.runBackwards!0,this.staggerTo(t,e,i,s,r,n,a,o)},m.staggerFromTofunction(t,e,i,s,r,n,a,o,h){return s.startAti,s.immediateRender0!s.immediateRender&&0!i.immediateRender,this.staggerTo(t,e,s,r,n,a,o,h)},m.callfunction(t,e,s,r){return this.add(i.delayedCall(0,t,e,s),r)},m.setfunction(t,e,s){return sthis._parseTimeOrLabel(s,0,!0),nulle.immediateRender&&(e.immediateRendersthis._time&&!this._paused),this.add(new i(t,0,e),s)},s.exportRootfunction(t,e){tt||{},nullt.smoothChildTiming&&(t.smoothChildTiming!0);var r,n,anew s(t),oa._timeline;for(nulle&&(e!0),o._remove(a,!0),a._startTime0,a._rawPrevTimea._timea._totalTimeo._time,ro._first;r;)nr._next,e&&r instanceof i&&r.targetr.vars.onComplete||a.add(r,r._startTime-r._delay),rn;return o.add(a,0),a},m.addfunction(r,n,a,h){var l,_,u,c,p,f;if(number!typeof n&&(nthis._parseTimeOrLabel(n,0,!0,r)),!(r instanceof t)){if(r instanceof Array||r&&r.push&&o(r)){for(aa||normal,hh||0,ln,_r.length,u0;_>u;u++)o(cru)&&(cnew s({tweens:c})),this.add(c,l),string!typeof c&&function!typeof c&&(sequencea?lc._startTime+c.totalDuration()/c._timeScale:starta&&(c._startTime-c.delay())),l+h;return this._uncache(!0)}if(stringtypeof r)return this.addLabel(r,n);if(function!typeof r)throwCannot add +r+ into the timeline; it is not a tween, timeline, function, or string.;ri.delayedCall(0,r)}if(e.prototype.add.call(this,r,n),(this._gc||this._timethis._duration)&&!this._paused&&this._durationthis.duration())for(pthis,fp.rawTime()>r._startTime;p._timeline;)f&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),pp._timeline;return this},m.removefunction(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&o(e)){for(var ie.length;--i>-1;)this.remove(ei);return this}returnstringtypeof e?this.removeLabel(e):this.kill(null,e)},m._removefunction(t,i){e.prototype._remove.call(this,t,i);var sthis._last;return s?this._time>s._startTime+s._totalDuration/s._timeScale&&(this._timethis.duration(),this._totalTimethis._totalDuration):this._timethis._totalTimethis._durationthis._totalDuration0,this},m.appendfunction(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},m.insertm.insertMultiplefunction(t,e,i,s){return this.add(t,e||0,i,s)},m.appendMultiplefunction(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},m.addLabelfunction(t,e){return this._labelstthis._parseTimeOrLabel(e),this},m.addPausefunction(t,e,i,s){return this.call(p,{self},e,i,s,this,t)},m.removeLabelfunction(t){return delete this._labelst,this},m.getLabelTimefunction(t){return null!this._labelst?this._labelst:-1},m._parseTimeOrLabelfunction(e,i,s,r){var n;if(r instanceof t&&r.timelinethis)this.remove(r);else if(r&&(r instanceof Array||r.push&&o(r)))for(nr.length;--n>-1;)rninstanceof t&&rn.timelinethis&&this.remove(rn);if(stringtypeof i)return this._parseTimeOrLabel(i,s&&numbertypeof e&&nullthis._labelsi?e-this.duration():0,s);if(ii||0,string!typeof e||!isNaN(e)&&nullthis._labelse)nulle&&(ethis.duration());else{if(ne.indexOf(),-1n)return nullthis._labelse?s?this._labelsethis.duration()+i:i:this._labelse+i;iparseInt(e.charAt(n-1)+1,10)*Number(e.substr(n+1)),en>1?this._parseTimeOrLabel(e.substr(0,n-1),0,s):this.duration()}return Number(e)+i},m.seekfunction(t,e){return this.totalTime(numbertypeof t?t:this._parseTimeOrLabel(t),e!!1)},m.stopfunction(){return this.paused(!0)},m.gotoAndPlayfunction(t,e){return this.play(t,e)},m.gotoAndStopfunction(t,e){return this.pause(t,e)},m.renderfunction(t,e,i){this._gc&&this._enabled(!0,!1);var s,n,a,o,u,cthis._dirty?this.totalDuration():this._totalDuration,pthis._time,fthis._startTime,mthis._timeScale,dthis._paused;if(t>c?(this._totalTimethis._timec,this._reversed||this._hasPausedChild()||(n!0,oonComplete,0this._duration&&(0t||0>this._rawPrevTime||this._rawPrevTimer)&&this._rawPrevTime!t&&this._first&&(u!0,this._rawPrevTime>r&&(oonReverseComplete))),this._rawPrevTimethis._duration||!e||t||this._rawPrevTimet?t:r,tc+1e-4):1e-7>t?(this._totalTimethis._time0,(0!p||0this._duration&&this._rawPrevTime!r&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>0))&&(oonReverseComplete,nthis._reversed),0>t?(this._active!1,this._rawPrevTime>0&&this._first&&(u!0),this._rawPrevTimet):(this._rawPrevTimethis._duration||!e||t||this._rawPrevTimet?t:r,t0,this._initted||(u!0))):this._totalTimethis._timethis._rawPrevTimet,this._time!p&&this._first||i||u){if(this._initted||(this._initted!0),this._active||!this._paused&&this._time!p&&t>0&&(this._active!0),0p&&this.vars.onStart&&0!this._time&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||_)),this._time>p)for(sthis._first;s&&(as._next,!this._paused||d);)(s._active||s._startTimethis._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),sa;else for(sthis._last;s&&(as._prev,!this._paused||d);)(s._active||p>s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),sa;this._onUpdate&&(e||(h.length&&l(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||_))),o&&(this._gc||(fthis._startTime||m!this._timeScale)&&(0this._time||c>this.totalDuration())&&(n&&(h.length&&l(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active!1),!e&&this.varso&&this.varso.apply(this.varso+Scope||this,this.varso+Params||_)))}},m._hasPausedChildfunction(){for(var tthis._first;t;){if(t._paused||t instanceof s&&t._hasPausedChild())return!0;tt._next}return!1},m.getChildrenfunction(t,e,s,r){rr||-9999999999;for(var n,athis._first,o0;a;)r>a._startTime||(a instanceof i?e!!1&&(no++a):(s!!1&&(no++a),t!!1&&(nn.concat(a.getChildren(!0,e,s)),on.length))),aa._next;return n},m.getTweensOffunction(t,e){var s,r,nthis._gc,a,o0;for(n&&this._enabled(!0,!0),si.getTweensOf(t),rs.length;--r>-1;)(sr.timelinethis||e&&this._contains(sr))&&(ao++sr);return n&&this._enabled(!1,!0),a},m.recentfunction(){return this._recent},m._containsfunction(t){for(var et.timeline;e;){if(ethis)return!0;ee.timeline}return!1},m.shiftChildrenfunction(t,e,i){ii||0;for(var s,rthis._first,nthis._labels;r;)r._startTime>i&&(r._startTime+t),rr._next;if(e)for(s in n)ns>i&&(ns+t);return this._uncache(!0)},m._killfunction(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var ie?this.getTweensOf(e):this.getChildren(!0,!0,!1),si.length,r!1;--s>-1;)is._kill(t,e)&&(r!0);return r},m.clearfunction(t){var ethis.getChildren(!1,!0,!0),ie.length;for(this._timethis._totalTime0;--i>-1;)ei._enabled(!1,!1);return t!!1&&(this._labels{}),this._uncache(!0)},m.invalidatefunction(){for(var ethis._first;e;)e.invalidate(),ee._next;return t.prototype.invalidate.call(this)},m._enabledfunction(t,i){if(tthis._gc)for(var sthis._first;s;)s._enabled(t,!0),ss._next;return e.prototype._enabled.call(this,t,i)},m.totalTimefunction(){this._forcingPlayhead!0;var et.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead!1,e},m.durationfunction(t){return arguments.length?(0!this.duration()&&0!t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},m.totalDurationfunction(t){if(!arguments.length){if(this._dirty){for(var e,i,s0,rthis._last,n999999999999;r;)er._prev,r._dirty&&r.totalDuration(),r._startTime>n&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):nr._startTime,0>r._startTime&&!r._paused&&(s-r._startTime,this._timeline.smoothChildTiming&&(this._startTime+r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),n0),ir._startTime+r._totalDuration/r._timeScale,i>s&&(si),re;this._durationthis._totalDurations,this._dirty!1}return this._totalDuration}return 0!this.totalDuration()&&0!t&&this.timeScale(this._totalDuration/t),this},m.usesFramesfunction(){for(var ethis._timeline;e._timeline;)ee._timeline;return et._rootFramesTimeline},m.rawTimefunction(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},s},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){use strict;var efunction(){return(_gsScope.GreenSockGlobals||_gsScope)t};functiontypeof define&&define.amd?define(TweenLite,e):undefined!typeof module&&module.exports&&(require(./TweenLite.js),module.exportse())}(TimelineLite);var _gsScopeundefined!typeof module&&module.exports&&undefined!typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue)).push(function(){use strict;_gsScope._gsDefine(easing.Back,easing.Ease,function(t){var e,i,s,r_gsScope.GreenSockGlobals||_gsScope,nr.com.greensock,a2*Math.PI,oMath.PI/2,hn._class,lfunction(e,i){var sh(easing.+e,function(){},!0),rs.prototypenew t;return r.constructors,r.getRatioi,s},_t.register||function(){},ufunction(t,e,i,s){var rh(easing.+t,{easeOut:new e,easeIn:new i,easeInOut:new s},!0);return _(r,t),r},cfunction(t,e,i){this.tt,this.ve,i&&(this.nexti,i.prevthis,this.ci.v-e,this.gapi.t-t)},pfunction(e,i){var sh(easing.+e,function(t){this._p1t||0t?t:1.70158,this._p21.525*this._p1},!0),rs.prototypenew t;return r.constructors,r.getRatioi,r.configfunction(t){return new s(t)},s},fu(Back,p(BackOut,function(t){return(t-1)*t*((this._p1+1)*t+this._p1)+1}),p(BackIn,function(t){return t*t*((this._p1+1)*t-this._p1)}),p(BackInOut,function(t){return 1>(t*2)?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-2)*t*((this._p2+1)*t+this._p2)+2)})),mh(easing.SlowMo,function(t,e,i){ee||0e?e:.7,nullt?t.7:t>1&&(t1),this._p1!t?e:0,this._p1(1-t)/2,this._p2t,this._p3this._p1+this._p2,this._calcEndi!0},!0),dm.prototypenew t;return d.constructorm,d.getRatiofunction(t){var et+(.5-t)*this._p;return this._p1>t?this._calcEnd?1-(t1-t/this._p1)*t:e-(t1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t(t-this._p3)/this._p1)*t:e+(t-e)*(t(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.easenew m(.7,.7),d.configm.configfunction(t,e,i){return new m(t,e,i)},eh(easing.SteppedEase,function(t){tt||1,this._p11/t,this._p2t+1},!0),de.prototypenew t,d.constructore,d.getRatiofunction(t){return 0>t?t0:t>1&&(t.999999999),(this._p2*t>>0)*this._p1},d.confige.configfunction(t){return new e(t)},ih(easing.RoughEase,function(e){ee||{};for(var i,s,r,n,a,o,he.taper||none,l,_0,u0|(e.points||20),pu,fe.randomize!!1,me.clamp!0,de.template instanceof t?e.template:null,gnumbertypeof e.strength?.4*e.strength:.4;--p>-1;)if?Math.random():1/u*p,sd?d.getRatio(i):i,noneh?rg:outh?(n1-i,rn*n*g):inh?ri*i*g:.5>i?(n2*i,r.5*n*n*g):(n2*(1-i),r.5*n*n*g),f?s+Math.random()*r-.5*r:p%2?s+.5*r:s-.5*r,m&&(s>1?s1:0>s&&(s0)),l_++{x:i,y:s};for(l.sort(function(t,e){return t.x-e.x}),onew c(1,1,null),pu;--p>-1;)alp,onew c(a.x,a.y,o);this._prevnew c(0,0,0!o.t?o:o.next)},!0),di.prototypenew t,d.constructori,d.getRatiofunction(t){var ethis._prev;if(t>e.t){for(;e.next&&t>e.t;)ee.next;ee.prev}else for(;e.prev&&e.t>t;)ee.prev;return this._preve,e.v+(t-e.t)/e.gap*e.c},d.configfunction(t){return new i(t)},i.easenew i,u(Bounce,l(BounceOut,function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-2.25/2.75)*t+.9375:7.5625*(t-2.625/2.75)*t+.984375}),l(BounceIn,function(t){return 1/2.75>(t1-t)?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-2.25/2.75)*t+.9375):1-(7.5625*(t-2.625/2.75)*t+.984375)}),l(BounceInOut,function(t){var e.5>t;return te?1-2*t:2*t-1,t1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-2.25/2.75)*t+.9375:7.5625*(t-2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),u(Circ,l(CircOut,function(t){return Math.sqrt(1-(t-1)*t)}),l(CircIn,function(t){return-(Math.sqrt(1-t*t)-1)}),l(CircInOut,function(t){return 1>(t*2)?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-2)*t)+1)})),sfunction(e,i,s){var rh(easing.+e,function(t,e){this._p1t||1,this._p2e||s,this._p3this._p2/a*(Math.asin(1/this._p1)||0)},!0),nr.prototypenew t;return n.constructorr,n.getRatioi,n.configfunction(t,e){return new r(t,e)},r},u(Elastic,s(ElasticOut,function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*a/this._p2)+1},.3),s(ElasticIn,function(t){return-(this._p1*Math.pow(2,10*(t-1))*Math.sin((t-this._p3)*a/this._p2))},.3),s(ElasticInOut,function(t){return 1>(t*2)?-.5*this._p1*Math.pow(2,10*(t-1))*Math.sin((t-this._p3)*a/this._p2):.5*this._p1*Math.pow(2,-10*(t-1))*Math.sin((t-this._p3)*a/this._p2)+1},.45)),u(Expo,l(ExpoOut,function(t){return 1-Math.pow(2,-10*t)}),l(ExpoIn,function(t){return Math.pow(2,10*(t-1))-.001}),l(ExpoInOut,function(t){return 1>(t*2)?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),u(Sine,l(SineOut,function(t){return Math.sin(t*o)}),l(SineIn,function(t){return-Math.cos(t*o)+1}),l(SineInOut,function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h(easing.EaseLookup,{find:function(e){return t.mape}},!0),_(r.SlowMo,SlowMo,ease,),_(i,RoughEase,ease,),_(e,SteppedEase,ease,),f},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()();var _gsScopeundefined!typeof module&&module.exports&&undefined!typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue)).push(function(){use strict;_gsScope._gsDefine(plugins.CSSPlugin,plugins.TweenPlugin,TweenLite,function(t,e){var i,r,s,n,afunction(){t.call(this,css),this._overwriteProps.length0,this.setRatioa.prototype.setRatio},o{},la.prototypenew t(css);l.constructora,a.version1.14.2,a.API2,a.defaultTransformPerspective0,a.defaultSkewTypecompensated,lpx,a.suffixMap{top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:};var h,u,f,p,_,c,d/(?:\d|\-\d|\.\d|\-\.\d)+/g,m/(?:\d|\-\d|\.\d|\-\.\d|\+\d|\-\d|\+.\d|\-\.\d)+/g,g/(?:\+|\-|\-|\b)\d\-\.+a-zA-Z0-9*(?:%|\b)/gi,v/(?!+-?\d*\.?\d+|e+-\d+)^0-9/g,y/(?:\d|\-|\+||#|\.)*/g,x/opacity * *(^)*)/i,T/opacity:(^;*)/i,w/alpha\(opacity *.+?\)/i,b/^(rgb|hsl)/,P/(A-Z)/g,S/-(a-z)/gi,R/(^(?:url\(\|url\())|(?:(\\))$|\)$)/gi,Cfunction(t,e){return e.toUpperCase()},k/(?:Left|Right|Width)/i,O/(M11|M12|M21|M22)\d\-\.e+/gi,A/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D/,(?^\)*(?:\(|$))/gi,MMath.PI/180,L180/Math.PI,N{},zdocument,Xz.createElement(div),Iz.createElement(img),Ea._internals{_specialProps:o},Fnavigator.userAgent,Yfunction(){var t,eF.indexOf(Android),iz.createElement(div);return f-1!F.indexOf(Safari)&&-1F.indexOf(Chrome)&&(-1e||Number(F.substr(e+8,1))>3),_f&&6>Number(F.substr(F.indexOf(Version/)+8,1)),p-1!F.indexOf(Firefox),(/MSIE (0-9{1,}\.0-9{0,})/.exec(F)||/Trident\/.*rv:(0-9{1,}\.0-9{0,})/.exec(F))&&(cparseFloat(RegExp.$1)),i.innerHTMLa styletop:1px;opacity:.55;>a/a>,ti.getElementsByTagName(a)0,t?/^0.55/.test(t.style.opacity):!1}(),Bfunction(t){return x.test(stringtypeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||)?parseFloat(RegExp.$1)/100:1},Ufunction(t){window.console&&console.log(t)},j,W,Vfunction(t,e){ee||X;var i,r,se.style;if(void 0!st)return t;for(tt.charAt(0).toUpperCase()+t.substr(1),iO,Moz,ms,Ms,Webkit,r5;--r>-1&&void 0sir+t;);return r>0?(W3r?ms:ir,j-+W.toLowerCase()+-,W+t):null},qz.defaultView?z.defaultView.getComputedStyle:function(){},Ha.getStylefunction(t,e,i,r,s){var n;return Y||opacity!e?(!r&&t.stylee?nt.stylee:(ii||q(t))?nie||i.getPropertyValue(e)||i.getPropertyValue(e.replace(P,-$1).toLowerCase()):t.currentStyle&&(nt.currentStylee),nulls||n&&none!n&&auto!n&&auto auto!n?n:s):B(t)},GE.convertToPixelsfunction(t,i,r,s,n){if(pxs||!s)return r;if(autos||!r)return 0;var o,l,h,uk.test(i),ft,pX.style,_0>r;if(_&&(r-r),%s&&-1!i.indexOf(border))or/100*(u?t.clientWidth:t.clientHeight);else{if(p.cssTextborder:0 solid red;position:+H(t,position)+;line-height:0;,%!s&&f.appendChild)pu?borderLeftWidth:borderTopWidthr+s;else{if(ft.parentNode||z.body,lf._gsCache,he.ticker.frame,l&&u&&l.timeh)return l.width*r/100;pu?width:heightr+s}f.appendChild(X),oparseFloat(Xu?offsetWidth:offsetHeight),f.removeChild(X),u&&%s&&a.cacheWidths!!1&&(lf._gsCachef._gsCache||{},l.timeh,l.width100*(o/r)),0!o||n||(oG(t,i,r,s,!0))}return _?-o:o},QE.calculateOffsetfunction(t,e,i){if(absolute!H(t,position,i))return 0;var rlefte?Left:Top,sH(t,margin+r,i);return toffset+r-(G(t,e,parseFloat(s),s.replace(y,))||0)},Zfunction(t,e){var i,r,s{};if(ee||q(t,null))if(ie.length)for(;--i>-1;)sei.replace(S,C)e.getPropertyValue(ei);else for(i in e)siei;else if(et.currentStyle||t.style)for(i in e)stringtypeof i&&void 0si&&(si.replace(S,C)ei);return Y||(s.opacityB(t)),rAe(t,e,!1),s.rotationr.rotation,s.skewXr.skewX,s.scaleXr.scaleX,s.scaleYr.scaleY,s.xr.x,s.yr.y,be&&(s.zr.z,s.rotationXr.rotationX,s.rotationYr.rotationY,s.scaleZr.scaleZ),s.filters&&delete s.filters,s},$function(t,e,i,r,s){var n,a,o,l{},ht.style;for(a in i)cssText!a&&length!a&&isNaN(a)&&(ea!(nia)||s&&sa)&&-1a.indexOf(Origin)&&(numbertypeof n||stringtypeof n)&&(laauto!n||left!a&&top!a?!n&&auto!n&&none!n||string!typeof ea||ea.replace(v,)?n:0:Q(t,a),void 0!ha&&(onew fe(h,a,ha,o)));if(r)for(a in r)className!a&&(lara);return{difs:l,firstMPT:o}},K{width:Left,Right,height:Top,Bottom},JmarginLeft,marginRight,marginTop,marginBottom,tefunction(t,e,i){var rparseFloat(widthe?t.offsetWidth:t.offsetHeight),sKe,ns.length;for(ii||q(t,null);--n>-1;)r-parseFloat(H(t,padding+sn,i,!0))||0,r-parseFloat(H(t,border+sn+Width,i,!0))||0;return r},eefunction(t,e){(nullt||t||autot||auto autot)&&(t0 0);var it.split( ),r-1!t.indexOf(left)?0%:-1!t.indexOf(right)?100%:i0,s-1!t.indexOf(top)?0%:-1!t.indexOf(bottom)?100%:i1;return nulls?s0:centers&&(s50%),(centerr||isNaN(parseFloat(r))&&-1(r+).indexOf())&&(r50%),e&&(e.oxp-1!r.indexOf(%),e.oyp-1!s.indexOf(%),e.oxrr.charAt(1),e.oyrs.charAt(1),e.oxparseFloat(r.replace(v,)),e.oyparseFloat(s.replace(v,))),r+ +s+(i.length>2? +i2:)},iefunction(t,e){returnstringtypeof t&&t.charAt(1)?parseInt(t.charAt(0)+1,10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)},refunction(t,e){return nullt?e:stringtypeof t&&t.charAt(1)?parseInt(t.charAt(0)+1,10)*parseFloat(t.substr(2))+e:parseFloat(t)},sefunction(t,e,i,r){var s,n,a,o,l1e-6;return nullt?oe:numbertypeof t?ot:(s360,nt.split(_),aNumber(n0.replace(v,))*(-1t.indexOf(rad)?1:L)-(t.charAt(1)?0:e),n.length&&(r&&(rie+a),-1!t.indexOf(short)&&(a%s,a!a%(s/2)&&(a0>a?a+s:a-s)),-1!t.indexOf(_cw)&&0>a?a(a+9999999999*s)%s-(0|a/s)*s:-1!t.indexOf(ccw)&&a>0&&(a(a-9999999999*s)%s-(0|a/s)*s)),oe+a),l>o&&o>-l&&(o0),o},ne{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},aefunction(t,e,i){return t0>t?t+1:t>1?t-1:t,0|255*(1>6*t?e+6*(i-e)*t:.5>t?i:2>3*t?e+6*(i-e)*(2/3-t):e)+.5},oea.parseColorfunction(t){var e,i,r,s,n,a;return t&&!t?numbertypeof t?t>>16,255&t>>8,255&t:(,t.charAt(t.length-1)&&(tt.substr(0,t.length-1)),net?net:#t.charAt(0)?(4t.length&&(et.charAt(1),it.charAt(2),rt.charAt(3),t#+e+e+i+i+r+r),tparseInt(t.substr(1),16),t>>16,255&t>>8,255&t):hslt.substr(0,3)?(tt.match(d),sNumber(t0)%360/360,nNumber(t1)/100,aNumber(t2)/100,i.5>a?a*(n+1):a+n-a*n,e2*a-i,t.length>3&&(t3Number(t3)),t0ae(s+1/3,e,i),t1ae(s,e,i),t2ae(s-1/3,e,i),t):(tt.match(d)||ne.transparent,t0Number(t0),t1Number(t1),t2Number(t2),t.length>3&&(t3Number(t3)),t)):ne.black},le(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b;for(l in ne)le+|+l+\\b;leRegExp(le+),gi);var hefunction(t,e,i,r){if(nullt)return function(t){return t};var s,ne?(t.match(le)||)0:,at.split(n).join().match(g)||,ot.substr(0,t.indexOf(a0)),l)t.charAt(t.length-1)?):,h-1!t.indexOf( )? :,,ua.length,fu>0?a0.replace(d,):;return u?se?function(t){var e,p,_,c;if(numbertypeof t)t+f;else if(r&&D.test(t)){for(ct.replace(D,|).split(|),_0;c.length>_;_++)c_s(c_);return c.join(,)}if(e(t.match(le)||n)0,pt.split(e).join().match(g)||,_p.length,u>_--)for(;u>++_;)p_i?p0|(_-1)/2:a_;return o+p.join(h)+h+e+l+(-1!t.indexOf(inset)? inset:)}:function(t){var e,n,p;if(numbertypeof t)t+f;else if(r&&D.test(t)){for(nt.replace(D,|).split(|),p0;n.length>p;p++)nps(np);return n.join(,)}if(et.match(g)||,pe.length,u>p--)for(;u>++p;)epi?e0|(p-1)/2:ap;return o+e.join(h)+l}:function(t){return t}},uefunction(t){return tt.split(,),function(e,i,r,s,n,a,o){var l,h(i+).split( );for(o{},l0;4>l;l++)otlhlhl||h(l-1)/2>>0;return s.parse(e,o,n,a)}},fe(E._setPluginRatiofunction(t){this.plugin.setRatio(t);for(var e,i,r,s,nthis.data,an.proxy,on.firstMPT,l1e-6;o;)eao.v,o.r?eMath.round(e):l>e&&e>-l&&(e0),o.to.pe,oo._next;if(n.autoRotate&&(n.autoRotate.rotationa.rotation),1t)for(on.firstMPT;o;){if(io.t,i.type){if(1i.type){for(si.xs0+i.s+i.xs1,r1;i.l>r;r++)s+ixn+r+ixs+(r+1);i.es}}else i.ei.s+i.xs0;oo._next}},function(t,e,i,r,s){this.tt,this.pe,this.vi,this.rs,r&&(r._prevthis,this._nextr)}),pe(E._parseToProxyfunction(t,e,i,r,s,n){var a,o,l,h,u,fr,p{},_{},ci._transform,dN;for(i._transformnull,Ne,rui.parse(t,e,r,s),Nd,n&&(i._transformc,f&&(f._prevnull,f._prev&&(f._prev._nextnull)));r&&r!f;){if(1>r.type&&(or.p,_or.s+r.c,por.s,n||(hnew fe(r,s,o,h,r.r),r.c0),1r.type))for(ar.l;--a>0;)lxn+a,or.p+_+l,_or.datal,porl,n||(hnew fe(r,l,o,h,r.rxpl));rr._next}return{proxy:p,end:_,firstMPT:h,pt:u}},E.CSSPropTweenfunction(t,e,r,s,a,o,l,h,u,f,p){this.tt,this.pe,this.sr,this.cs,this.nl||e,t instanceof pe||n.push(this.n),this.rh,this.typeo||0,u&&(this.pru,i!0),this.bvoid 0f?r:f,this.evoid 0p?r+s:p,a&&(this._nexta,a._prevthis)}),_ea.parseComplexfunction(t,e,i,r,s,n,a,o,l,u){ii||n||,anew pe(t,e,0,0,a,u?2:1,null,!1,o,i,r),r+;var f,p,_,c,g,v,y,x,T,w,P,S,Ri.split(, ).join(,).split( ),Cr.split(, ).join(,).split( ),kR.length,Oh!!1;for((-1!r.indexOf(,)||-1!i.indexOf(,))&&(RR.join( ).replace(D,, ).split( ),CC.join( ).replace(D,, ).split( ),kR.length),k!C.length&&(R(n||).split( ),kR.length),a.pluginl,a.setRatiou,f0;k>f;f++)if(cRf,gCf,xparseFloat(c),x||0x)a.appendXtra(,x,ie(g,x),g.replace(m,),O&&-1!g.indexOf(px),!0);else if(s&&(#c.charAt(0)||nec||b.test(c)))S,g.charAt(g.length-1)?),:),coe(c),goe(g),Tc.length+g.length>6,T&&!Y&&0g3?(axs+a.l+a.l? transparent:transparent,a.ea.e.split(Cf).join(transparent)):(Y||(T!1),a.appendXtra(T?rgba(:rgb(,c0,g0-c0,,,!0,!0).appendXtra(,c1,g1-c1,,,!0).appendXtra(,c2,g2-c2,T?,:S,!0),T&&(c4>c.length?1:c3,a.appendXtra(,c,(4>g.length?1:g3)-c,S,!1)));else if(vc.match(d)){if(yg.match(m),!y||y.length!v.length)return a;for(_0,p0;v.length>p;p++)Pvp,wc.indexOf(P,_),a.appendXtra(c.substr(_,w-_),Number(P),ie(yp,P),,O&&pxc.substr(w+P.length,2),0p),_w+P.length;axs+a.l+c.substr(_)}else axs+a.l+a.l? +c:c;if(-1!r.indexOf()&&a.data){for(Sa.xs0+a.data.s,f1;a.l>f;f++)S+axs+f+a.dataxn+f;a.eS+axs+f}return a.l||(a.type-1,a.xs0a.e),a.xfirst||a},ce9;for(lpe.prototype,l.ll.pr0;--ce>0;)lxn+ce0,lxs+ce;l.xs0,l._nextl._prevl.xfirstl.datal.pluginl.setRatiol.rxpnull,l.appendXtrafunction(t,e,i,r,s,n){var athis,oa.l;return axs+o+n&&o? +t:t||,i||0o||a.plugin?(a.l++,a.typea.setRatio?2:1,axs+a.lr||,o>0?(a.dataxn+oe+i,a.rxpxn+os,axn+oe,a.plugin||(a.xfirstnew pe(a,xn+o,e,i,a.xfirst||a,0,a.n,s,a.pr),a.xfirst.xs00),a):(a.data{s:e+i},a.rxp{},a.se,a.ci,a.rs,a)):(axs+o+e+(r||),a)};var defunction(t,e){ee||{},this.pe.prefix?V(t)||t:t,otothis.pthis,this.formate.formatter||he(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parsee.parser),this.clrse.color,this.multie.multi,this.keyworde.keyword,this.dflte.defaultValue,this.pre.priority||0},meE._registerComplexSpecialPropfunction(t,e,i){object!typeof e&&(e{parser:i});var r,s,nt.split(,),ae.defaultValue;for(ii||a,r0;n.length>r;r++)e.prefix0r&&e.prefix,e.defaultValueir||a,snew de(nr,e)},gefunction(t){if(!ot){var et.charAt(0).toUpperCase()+t.substr(1)+Plugin;me(t,{parser:function(t,i,r,s,n,a,l){var h(_gsScope.GreenSockGlobals||_gsScope).com.greensock.pluginse;return h?(h._cssRegister(),or.parse(t,i,r,s,n,a,l)):(U(Error: +e+ js file not loaded.),n)}})}};lde.prototype,l.parseComplexfunction(t,e,i,r,s,n){var a,o,l,h,u,f,pthis.keyword;if(this.multi&&(D.test(i)||D.test(e)?(oe.replace(D,|).split(|),li.replace(D,|).split(|)):p&&(oe,li)),l){for(hl.length>o.length?l.length:o.length,a0;h>a;a++)eoaoa||this.dflt,ilala||this.dflt,p&&(ue.indexOf(p),fi.indexOf(p),u!f&&(i-1f?l:o,ia+ +p));eo.join(, ),il.join(, )}return _e(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,s,n)},l.parsefunction(t,e,i,r,n,a){return this.parseComplex(t.style,this.format(H(t,this.p,s,!1,this.dflt)),this.format(e),n,a)},a.registerSpecialPropfunction(t,e,i){me(t,{parser:function(t,r,s,n,a,o){var lnew pe(t,s,0,0,a,2,s,!1,i);return l.plugino,l.setRatioe(t,r,n._tween,s),l},priority:i})};var ve,yescaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent.split(,),xeV(transform),Tej+transform,weV(transformOrigin),benull!V(perspective),PeE.Transformfunction(){this.skewY0},Sewindow.SVGElement,Refunction(t,e,i){var r,sz.createElementNS(http://www.w3.org/2000/svg,t),n/(a-z)(A-Z)/g;for(r in i)s.setAttributeNS(null,r.replace(n,$1-$2).toLowerCase(),ir);return e.appendChild(s),s},Cedocument.documentElement,kefunction(){var t,e,i,rc||/Android/i.test(F)&&!window.chrome;return z.createElementNS&&!r&&(tRe(svg,Ce),eRe(rect,t,{width:100,height:50,x:100}),ie.getBoundingClientRect().left,e.stylewe50% 50%,e.stylexescale(0.5,0.5),rie.getBoundingClientRect().left,Ce.removeChild(t)),r}(),Oefunction(t,e,i){var rt.getBBox();eee(e).split( ),i.xOrigin(-1!e0.indexOf(%)?parseFloat(e0)/100*r.width:parseFloat(e0))+r.x,i.yOrigin(-1!e1.indexOf(%)?parseFloat(e1)/100*r.height:parseFloat(e1))+r.y},AeE.getTransformfunction(t,e,i,r){if(t._gsTransform&&i&&!r)return t._gsTransform;var n,o,l,h,u,f,p,_,c,d,m,g,v,yi?t._gsTransform||new Pe:new Pe,x0>y.scaleX,T2e-5,w1e5,b179.99,Pb*M,Sbe?parseFloat(H(t,we,e,!1,0 0 0).split( )2)||y.zOrigin||0:0,RparseFloat(a.defaultTransformPerspective)||0;if(xe?nH(t,Te,e,!0):t.currentStyle&&(nt.currentStyle.filter.match(O),nn&&4n.length?n0.substr(4),Number(n2.substr(4)),Number(n1.substr(4)),n3.substr(4),y.x||0,y.y||0.join(,):),n&&none!n&&matrix(1, 0, 0, 1, 0, 0)!n){for(o(n||).match(/(?:\-|\b)\d\-\.e+\b/gi)||,lo.length;--l>-1;)hNumber(ol),ol(uh-(h|0))?(0|u*w+(0>u?-.5:.5))/w+h:h;if(16o.length){var Co8,ko9,Ao10,Do12,No13,zo14;if(y.zOrigin&&(z-y.zOrigin,DC*z-o12,Nk*z-o13,zA*z+y.zOrigin-o14),!i||r||nully.rotationX){var X,I,E,F,Y,B,U,jo0,Wo1,Vo2,qo3,Go4,Qo5,Zo6,$o7,Ko11,JMath.atan2(Z,A),te-P>J||J>P;y.rotationXJ*L,J&&(FMath.cos(-J),YMath.sin(-J),XG*F+C*Y,IQ*F+k*Y,EZ*F+A*Y,CG*-Y+C*F,kQ*-Y+k*F,AZ*-Y+A*F,K$*-Y+K*F,GX,QI,ZE),JMath.atan2(C,j),y.rotationYJ*L,J&&(B-P>J||J>P,FMath.cos(-J),YMath.sin(-J),Xj*F-C*Y,IW*F-k*Y,EV*F-A*Y,kW*Y+k*F,AV*Y+A*F,Kq*Y+K*F,jX,WI,VE),JMath.atan2(W,Q),y.rotationJ*L,J&&(U-P>J||J>P,FMath.cos(-J),YMath.sin(-J),jj*F+G*Y,IW*F+Q*Y,QW*-Y+Q*F,ZV*-Y+Z*F,WI),U&&te?y.rotationy.rotationX0:U&&B?y.rotationy.rotationY0:B&&te&&(y.rotationYy.rotationX0),y.scaleX(0|Math.sqrt(j*j+W*W)*w+.5)/w,y.scaleY(0|Math.sqrt(Q*Q+k*k)*w+.5)/w,y.scaleZ(0|Math.sqrt(Z*Z+A*A)*w+.5)/w,y.skewX0,y.perspectiveK?1/(0>K?-K:K):0,y.xD,y.yN,y.zz}}else if(!(be&&!r&&o.length&&y.xo4&&y.yo5&&(y.rotationX||y.rotationY)||void 0!y.x&&noneH(t,display,e))){var eeo.length>6,ieee?o0:1,reo1||0,seo2||0,neee?o3:1;y.xo4||0,y.yo5||0,fMath.sqrt(ie*ie+re*re),pMath.sqrt(ne*ne+se*se),_ie||re?Math.atan2(re,ie)*L:y.rotation||0,cse||ne?Math.atan2(se,ne)*L+_:y.skewX||0,df-Math.abs(y.scaleX||0),mp-Math.abs(y.scaleY||0),Math.abs(c)>90&&270>Math.abs(c)&&(x?(f*-1,c+0>_?180:-180,_+0>_?180:-180):(p*-1,c+0>c?180:-180)),g(_-y.rotation)%180,v(c-y.skewX)%180,(void 0y.skewX||d>T||-T>d||m>T||-T>m||g>-b&&b>g&&false|g*w||v>-b&&b>v&&false|v*w)&&(y.scaleXf,y.scaleYp,y.rotation_,y.skewXc),be&&(y.rotationXy.rotationYy.z0,y.perspectiveR,y.scaleZ1)}y.zOriginS;for(l in y)T>yl&&yl>-T&&(yl0)}else y{x:0,y:0,z:0,scaleX:1,scaleY:1,scaleZ:1,skewX:0,skewY:0,perspective:R,rotation:0,rotationX:0,rotationY:0,zOrigin:0};return i&&(t._gsTransformy),y.svgSe&&t instanceof Se&&t.parentNode instanceof Se,y.svg&&(Oe(t,H(t,we,s,!1,50% 50%)+,y),vea.useSVGTransformAttr||ke),y.xPercenty.yPercent0,y},Defunction(t){var e,i,rthis.data,s-r.rotation*M,ns+r.skewX*M,a1e5,o(0|Math.cos(s)*r.scaleX*a)/a,l(0|Math.sin(s)*r.scaleX*a)/a,h(0|Math.sin(n)*-r.scaleY*a)/a,u(0|Math.cos(n)*r.scaleY*a)/a,fthis.t.style,pthis.t.currentStyle;if(p){il,l-h,h-i,ep.filter,f.filter;var _,d,mthis.t.offsetWidth,gthis.t.offsetHeight,vabsolute!p.position,Tprogid:DXImageTransform.Microsoft.Matrix(M11+o+, M12+l+, M21+h+, M22+u,wr.x+m*r.xPercent/100,br.y+g*r.yPercent/100;if(null!r.ox&&(_(r.oxp?.01*m*r.ox:r.ox)-m/2,d(r.oyp?.01*g*r.oy:r.oy)-g/2,w+_-(_*o+d*l),b+d-(_*h+d*u)),v?(_m/2,dg/2,T+, Dx+(_-(_*o+d*l)+w)+, Dy+(d-(_*h+d*u)+b)+)):T+, sizingMethodauto expand),f.filter-1!e.indexOf(DXImageTransform.Microsoft.Matrix()?e.replace(A,T):T+ +e,(0t||1t)&&1o&&0l&&0h&&1u&&(v&&-1T.indexOf(Dx0, Dy0)||x.test(e)&&100!parseFloat(RegExp.$1)||-1e.indexOf(gradient(&&e.indexOf(Alpha))&&f.removeAttribute(filter)),!v){var P,S,R,C8>c?1:-1;for(_r.ieOffsetX||0,dr.ieOffsetY||0,r.ieOffsetXMath.round((m-((0>o?-o:o)*m+(0>l?-l:l)*g))/2+w),r.ieOffsetYMath.round((g-((0>u?-u:u)*g+(0>h?-h:h)*m))/2+b),ce0;4>ce;ce++)SJce,PpS,i-1!P.indexOf(px)?parseFloat(P):G(this.t,S,parseFloat(P),P.replace(y,))||0,Ri!rS?2>ce?-r.ieOffsetX:-r.ieOffsetY:2>ce?_-r.ieOffsetX:d-r.ieOffsetY,fS(rSMath.round(i-R*(0ce||2ce?1:C)))+px}}},MeE.set3DTransformRatiofunction(t){var e,i,r,s,n,a,o,l,h,u,f,_,c,d,m,g,v,y,x,T,w,b,P,Sthis.data,Rthis.t.style,CS.rotation*M,kS.scaleX,OS.scaleY,AS.scaleZ,DS.x,LS.y,NS.z,zS.perspective;if(!(1!t&&0!t||auto!S.force3D||S.rotationY||S.rotationX||1!A||z||N))return Le.call(this,t),void 0;if(p){var X1e-4;X>k&&k>-X&&(kA2e-5),X>O&&O>-X&&(OA2e-5),!z||S.z||S.rotationX||S.rotationY||(z0)}if(C||S.skewX)yMath.cos(C),xMath.sin(C),ey,nx,S.skewX&&(C-S.skewX*M,yMath.cos(C),xMath.sin(C),simpleS.skewType&&(TMath.tan(S.skewX*M),TMath.sqrt(1+T*T),y*T,x*T)),i-x,ay;else{if(!(S.rotationY||S.rotationX||1!A||z||S.svg))return Rxe(S.xPercent||S.yPercent?translate(+S.xPercent+%,+S.yPercent+%) translate3d(:translate3d()+D+px,+L+px,+N+px)+(1!k||1!O? scale(+k+,+O+):),void 0;ea1,in0}f1,rsolhu_cd0,mz?-1/z:0,gS.zOrigin,v1e5,CS.rotationY*M,C&&(yMath.cos(C),xMath.sin(C),hf*-x,cm*-x,re*x,on*x,f*y,m*y,e*y,n*y),CS.rotationX*M,C&&(yMath.cos(C),xMath.sin(C),Ti*y+r*x,wa*y+o*x,bu*y+f*x,Pd*y+m*x,ri*-x+r*y,oa*-x+o*y,fu*-x+f*y,md*-x+m*y,iT,aw,ub,dP),1!A&&(r*A,o*A,f*A,m*A),1!O&&(i*O,a*O,u*O,d*O),1!k&&(e*k,n*k,h*k,c*k),g&&(_-g,sr*_,lo*_,_f*_+g),S.svg&&(s+S.xOrigin-(S.xOrigin*e+S.yOrigin*i),l+S.yOrigin-(S.xOrigin*n+S.yOrigin*a)),s(T(s+D)-(s|0))?(0|T*v+(0>T?-.5:.5))/v+s:s,l(T(l+L)-(l|0))?(0|T*v+(0>T?-.5:.5))/v+l:l,_(T(_+N)-(_|0))?(0|T*v+(0>T?-.5:.5))/v+_:_,Rxe(S.xPercent||S.yPercent?translate(+S.xPercent+%,+S.yPercent+%) matrix3d(:matrix3d()+(0|e*v)/v,(0|n*v)/v,(0|h*v)/v,(0|c*v)/v,(0|i*v)/v,(0|a*v)/v,(0|u*v)/v,(0|d*v)/v,(0|r*v)/v,(0|o*v)/v,(0|f*v)/v,(0|m*v)/v,s,l,_,z?1+-_/z:1.join(,)+)},LeE.set2DTransformRatiofunction(t){var e,i,r,s,n,a,o,l,h,u,f,pthis.data,_this.t,c_.style,dp.x,mp.y;return!(p.rotationX||p.rotationY||p.z||p.force3D!0||autop.force3D&&1!t&&0!t)||p.svg&&ve||!be?(sp.scaleX,np.scaleY,p.rotation||p.skewX||p.svg?(ep.rotation*M,ie-p.skewX*M,r1e5,aMath.cos(e)*s,oMath.sin(e)*s,lMath.sin(i)*-n,hMath.cos(i)*n,p.svg&&(d+p.xOrigin-(p.xOrigin*a+p.yOrigin*l),m+p.yOrigin-(p.xOrigin*o+p.yOrigin*h),f1e-6,f>d&&d>-f&&(d0),f>m&&m>-f&&(m0)),u(0|a*r)/r+,+(0|o*r)/r+,+(0|l*r)/r+,+(0|h*r)/r+,+d+,+m+),p.svg&&ve?_.setAttribute(transform,matrix(+u):cxe(p.xPercent||p.yPercent?translate(+p.xPercent+%,+p.yPercent+%) matrix(:matrix()+u):cxe(p.xPercent||p.yPercent?translate(+p.xPercent+%,+p.yPercent+%) matrix(:matrix()+s+,0,0,+n+,+d+,+m+),void 0):(this.setRatioMe,Me.call(this,t),void 0)};me(transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,{parser:function(t,e,i,r,n,o,l){if(r._transform)return n;var h,u,f,p,_,c,d,mr._transformAe(t,s,!0,l.parseTransform),gt.style,v1e-6,yye.length,xl,T{};if(stringtypeof x.transform&&xe)fX.style,fxex.transform,f.displayblock,f.positionabsolute,z.body.appendChild(X),hAe(X,null,!1),z.body.removeChild(X);else if(objecttypeof x){if(h{scaleX:re(null!x.scaleX?x.scaleX:x.scale,m.scaleX),scaleY:re(null!x.scaleY?x.scaleY:x.scale,m.scaleY),scaleZ:re(x.scaleZ,m.scaleZ),x:re(x.x,m.x),y:re(x.y,m.y),z:re(x.z,m.z),xPercent:re(x.xPercent,m.xPercent),yPercent:re(x.yPercent,m.yPercent),perspective:re(x.transformPerspective,m.perspective)},dx.directionalRotation,null!d)if(objecttypeof d)for(f in d)xfdf;else x.rotationd;stringtypeof x.x&&-1!x.x.indexOf(%)&&(h.x0,h.xPercentre(x.x,m.xPercent)),stringtypeof x.y&&-1!x.y.indexOf(%)&&(h.y0,h.yPercentre(x.y,m.yPercent)),h.rotationse(rotationin x?x.rotation:shortRotationin x?x.shortRotation+_short:rotationZin x?x.rotationZ:m.rotation,m.rotation,rotation,T),be&&(h.rotationXse(rotationXin x?x.rotationX:shortRotationXin x?x.shortRotationX+_short:m.rotationX||0,m.rotationX,rotationX,T),h.rotationYse(rotationYin x?x.rotationY:shortRotationYin x?x.shortRotationY+_short:m.rotationY||0,m.rotationY,rotationY,T)),h.skewXnullx.skewX?m.skewX:se(x.skewX,m.skewX),h.skewYnullx.skewY?m.skewY:se(x.skewY,m.skewY),(uh.skewY-m.skewY)&&(h.skewX+u,h.rotation+u)}for(be&&null!x.force3D&&(m.force3Dx.force3D,c!0),m.skewTypex.skewType||m.skewType||a.defaultSkewType,_m.force3D||m.z||m.rotationX||m.rotationY||h.z||h.rotationX||h.rotationY||h.perspective,_||nullx.scale||(h.scaleZ1);--y>-1;)iyey,phi-mi,(p>v||-v>p||null!xi||null!Ni)&&(c!0,nnew pe(m,i,mi,p,n),i in T&&(n.eTi),n.xs00,n.plugino,r._overwriteProps.push(n.n));return px.transformOrigin,p&&m.svg&&(Oe(t,p,h),nnew pe(m,xOrigin,m.xOrigin,h.xOrigin-m.xOrigin,n,-1,transformOrigin),n.bm.xOrigin,n.en.xs0h.xOrigin,nnew pe(m,yOrigin,m.yOrigin,h.yOrigin-m.yOrigin,n,-1,transformOrigin),n.bm.yOrigin,n.en.xs0h.yOrigin,p0px 0px),(p||be&&_&&m.zOrigin)&&(xe?(c!0,iwe,p(p||H(t,i,s,!1,50% 50%))+,nnew pe(g,i,0,0,n,-1,transformOrigin),n.bgi,n.plugino,be?(fm.zOrigin,pp.split( ),m.zOrigin(p.length>2&&(0f||0px!p2)?parseFloat(p2):f)||0,n.xs0n.ep0+ +(p1||50%)+ 0px,nnew pe(m,zOrigin,0,0,n,-1,n.n),n.bf,n.xs0n.em.zOrigin):n.xs0n.ep):ee(p+,m)),c&&(r._transformTypem.svg&&ve||!_&&3!this._transformType?2:3),n},prefix:!0}),me(boxShadow,{defaultValue:0px 0px 0px 0px #999,prefix:!0,color:!0,multi:!0,keyword:inset}),me(borderRadius,{defaultValue:0px,parser:function(t,e,i,n,a){ethis.format(e);var o,l,h,u,f,p,_,c,d,m,g,v,y,x,T,w,bborderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,Pt.style;for(dparseFloat(t.offsetWidth),mparseFloat(t.offsetHeight),oe.split( ),l0;b.length>l;l++)this.p.indexOf(border)&&(blV(bl)),fuH(t,bl,s,!1,0px),-1!f.indexOf( )&&(uf.split( ),fu0,uu1),phol,_parseFloat(f),vf.substr((_+).length),yp.charAt(1),y?(cparseInt(p.charAt(0)+1,10),pp.substr(2),c*parseFloat(p),gp.substr((c+).length-(0>c?1:0))||):(cparseFloat(p),gp.substr((c+).length)),g&&(gri||v),g!v&&(xG(t,borderLeft,_,v),TG(t,borderTop,_,v),%g?(f100*(x/d)+%,u100*(T/m)+%):emg?(wG(t,borderLeft,1,em),fx/w+em,uT/w+em):(fx+px,uT+px),y&&(pparseFloat(f)+c+g,hparseFloat(u)+c+g)),a_e(P,bl,f+ +u,p+ +h,!1,0px,a);return a},prefix:!0,formatter:he(0px 0px 0px 0px,!1,!0)}),me(backgroundPosition,{defaultValue:0 0,parser:function(t,e,i,r,n,a){var o,l,h,u,f,p,_background-position,ds||q(t,null),mthis.format((d?c?d.getPropertyValue(_+-x)+ +d.getPropertyValue(_+-y):d.getPropertyValue(_):t.currentStyle.backgroundPositionX+ +t.currentStyle.backgroundPositionY)||0 0),gthis.format(e);if(-1!m.indexOf(%)!(-1!g.indexOf(%))&&(pH(t,backgroundImage).replace(R,),p&&none!p)){for(om.split( ),lg.split( ),I.setAttribute(src,p),h2;--h>-1;)moh,u-1!m.indexOf(%),u!(-1!lh.indexOf(%))&&(f0h?t.offsetWidth-I.width:t.offsetHeight-I.height,ohu?parseFloat(m)/100*f+px:100*(parseFloat(m)/f)+%);mo.join( )}return this.parseComplex(t.style,m,g,n,a)},formatter:ee}),me(backgroundSize,{defaultValue:0 0,formatter:ee}),me(perspective,{defaultValue:0px,prefix:!0}),me(perspectiveOrigin,{defaultValue:50% 50%,prefix:!0}),me(transformStyle,{prefix:!0}),me(backfaceVisibility,{prefix:!0}),me(userSelect,{prefix:!0}),me(margin,{parser:ue(marginTop,marginRight,marginBottom,marginLeft)}),me(padding,{parser:ue(paddingTop,paddingRight,paddingBottom,paddingLeft)}),me(clip,{defaultValue:rect(0px,0px,0px,0px),parser:function(t,e,i,r,n,a){var o,l,h;return 9>c?(lt.currentStyle,h8>c? :,,orect(+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+),ethis.format(e).split(,).join(h)):(othis.format(H(t,this.p,s,!1,this.dflt)),ethis.format(e)),this.parseComplex(t.style,o,e,n,a)}}),me(textShadow,{defaultValue:0px 0px 0px #999,color:!0,multi:!0}),me(autoRound,strictUnits,{parser:function(t,e,i,r,s){return s}}),me(border,{defaultValue:0px solid #000,parser:function(t,e,i,r,n,a){return this.parseComplex(t.style,this.format(H(t,borderTopWidth,s,!1,0px)+ +H(t,borderTopStyle,s,!1,solid)+ +H(t,borderTopColor,s,!1,#000)),this.format(e),n,a)},color:!0,formatter:function(t){var et.split( );return e0+ +(e1||solid)+ +(t.match(le)||#000)0}}),me(borderWidth,{parser:ue(borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth)}),me(float,cssFloat,styleFloat,{parser:function(t,e,i,r,s){var nt.style,acssFloatin n?cssFloat:styleFloat;return new pe(n,a,0,0,s,-1,i,!1,0,na,e)}});var Nefunction(t){var e,ithis.t,ri.filter||H(this.data,filter)||,s0|this.s+this.c*t;100s&&(-1r.indexOf(atrix()&&-1r.indexOf(radient()&&-1r.indexOf(oader()?(i.removeAttribute(filter),e!H(this.data,filter)):(i.filterr.replace(w,),e!0)),e||(this.xn1&&(i.filterrr||alpha(opacity+s+)),-1r.indexOf(pacity)?0s&&this.xn1||(i.filterr+ alpha(opacity+s+)):i.filterr.replace(x,opacity+s))};me(opacity,alpha,autoAlpha,{defaultValue:1,parser:function(t,e,i,r,n,a){var oparseFloat(H(t,opacity,s,!1,1)),lt.style,hautoAlphai;returnstringtypeof e&&e.charAt(1)&&(e(-e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1o&&hiddenH(t,visibility,s)&&0!e&&(o0),Y?nnew pe(l,opacity,o,e-o,n):(nnew pe(l,opacity,100*o,100*(e-o),n),n.xn1h?1:0,l.zoom1,n.type2,n.balpha(opacity+n.s+),n.ealpha(opacity+(n.s+n.c)+),n.datat,n.plugina,n.setRatioNe),h&&(nnew pe(l,visibility,0,0,n,-1,null,!1,0,0!o?inherit:hidden,0e?hidden:inherit),n.xs0inherit,r._overwriteProps.push(n.n),r._overwriteProps.push(i)),n}});var zefunction(t,e){e&&(t.removeProperty?(mse.substr(0,2)&&(eM+e.substr(1)),t.removeProperty(e.replace(P,-$1).toLowerCase())):t.removeAttribute(e))},Xefunction(t){if(this.t._gsClassPTthis,1t||0t){this.t.setAttribute(class,0t?this.b:this.e);for(var ethis.data,ithis.t.style;e;)e.v?ie.pe.v:ze(i,e.p),ee._next;1t&&this.t._gsClassPTthis&&(this.t._gsClassPTnull)}else this.t.getAttribute(class)!this.e&&this.t.setAttribute(class,this.e)};me(className,{parser:function(t,e,r,n,a,o,l){var h,u,f,p,_,ct.getAttribute(class)||,dt.style.cssText;if(an._classNamePTnew pe(t,r,0,0,a,2),a.setRatioXe,a.pr-11,i!0,a.bc,uZ(t,s),ft._gsClassPT){for(p{},_f.data;_;)p_.p1,__._next;f.setRatio(1)}return t._gsClassPTa,a.e!e.charAt(1)?e:c.replace(RegExp(\\s*\\b+e.substr(2)+\\b),)+(+e.charAt(0)? +e.substr(2):),n._tween._duration&&(t.setAttribute(class,a.e),h$(t,u,Z(t),l,p),t.setAttribute(class,c),a.datah.firstMPT,t.style.cssTextd,aa.xfirstn.parse(t,h.difs,a,o)),a}});var Iefunction(t){if((1t||0t)&&this.data._totalTimethis.data._totalDuration&&isFromStart!this.data.data){var e,i,r,s,nthis.t.style,ao.transform.parse;if(allthis.e)n.cssText,s!0;else for(ethis.e.split( ).join().split(,),re.length;--r>-1;)ier,oi&&(oi.parsea?s!0:itransformOrigini?we:oi.p),ze(n,i);s&&(ze(n,xe),this.t._gsTransform&&delete this.t._gsTransform)}};for(me(clearProps,{parser:function(t,e,r,s,n){return nnew pe(t,r,0,0,n,2),n.setRatioIe,n.ee,n.pr-10,n.datas._tween,i!0,n}}),lbezier,throwProps,physicsProps,physics2D.split(,),cel.length;ce--;)ge(lce);la.prototype,l._firstPTnull,l._onInitTweenfunction(t,e,o){if(!t.nodeType)return!1;this._targett,this._tweeno,this._varse,he.autoRound,i!1,re.suffixMap||a.suffixMap,sq(t,),nthis._overwriteProps;var l,p,c,d,m,g,v,y,x,wt.style;if(u&&w.zIndex&&(lH(t,zIndex,s),(autol||l)&&this._addLazySet(w,zIndex,0)),stringtypeof e&&(dw.cssText,lZ(t,s),w.cssTextd+;+e,l$(t,l,Z(t)).difs,!Y&&T.test(e)&&(l.opacityparseFloat(RegExp.$1)),el,w.cssTextd),this._firstPTpthis.parse(t,e,null),this._transformType){for(x3this._transformType,xe?f&&(u!0,w.zIndex&&(vH(t,zIndex,s),(autov||v)&&this._addLazySet(w,zIndex,0)),_&&this._addLazySet(w,WebkitBackfaceVisibility,this._vars.WebkitBackfaceVisibility||(x?visible:hidden))):w.zoom1,cp;c&&c._next;)cc._next;ynew pe(t,transform,0,0,null,2),this._linkCSSP(y,null,c),y.setRatiox&&be?Me:xe?Le:De,y.datathis._transform||Ae(t,s,!0),n.pop()}if(i){for(;p;){for(gp._next,cd;c&&c.pr>p.pr;)cc._next;(p._prevc?c._prev:m)?p._prev._nextp:dp,(p._nextc)?c._prevp:mp,pg}this._firstPTd}return!0},l.parsefunction(t,e,i,n){var a,l,u,f,p,_,c,d,m,g,vt.style;for(a in e)_ea,loa,l?il.parse(t,_,a,this,i,n,e):(pH(t,a,s)+,mstringtypeof _,colora||filla||strokea||-1!a.indexOf(Color)||m&&b.test(_)?(m||(_oe(_),_(_.length>3?rgba(:rgb()+_.join(,)+)),i_e(v,a,p,_,!0,transparent,i,0,n)):!m||-1_.indexOf( )&&-1_.indexOf(,)?(uparseFloat(p),cu||0u?p.substr((u+).length):,(p||autop)&&(widtha||heighta?(ute(t,a,s),cpx):lefta||topa?(uQ(t,a,s),cpx):(uopacity!a?0:1,c)),gm&&_.charAt(1),g?(fparseInt(_.charAt(0)+1,10),__.substr(2),f*parseFloat(_),d_.replace(y,)):(fparseFloat(_),dm?_.substr((f+).length)||:),d&&(da in r?ra:c),_f||0f?(g?f+u:f)+d:ea,c!d&&!d&&(f||0f)&&u&&(uG(t,a,u,c),%d?(u/G(t,a,100,%)/100,e.strictUnits!!0&&(pu+%)):emd?u/G(t,a,1,em):px!d&&(fG(t,a,f,d),dpx),g&&(f||0f)&&(_f+u+d)),g&&(f+u),!u&&0!u||!f&&0!f?void 0!va&&(_||NaN!_+&&null!_)?(inew pe(v,a,f||u||0,0,i,-1,a,!1,0,p,_),i.xs0none!_||display!a&&-1a.indexOf(Style)?_:p):U(invalid +a+ tween value: +ea):(inew pe(v,a,u,f-u,i,0,a,h!!1&&(pxd||zIndexa),0,p,_),i.xs0d)):i_e(v,a,p,_,!0,null,i,0,n)),n&&i&&!i.plugin&&(i.pluginn);return i},l.setRatiofunction(t){var e,i,r,sthis._firstPT,n1e-6;if(1!t||this._tween._time!this._tween._duration&&0!this._tween._time)if(t||this._tween._time!this._tween._duration&&0!this._tween._time||this._tween._rawPrevTime-1e-6)for(;s;){if(es.c*t+s.s,s.r?eMath.round(e):n>e&&e>-n&&(e0),s.type)if(1s.type)if(rs.l,2r)s.ts.ps.xs0+e+s.xs1+s.xn1+s.xs2;else if(3r)s.ts.ps.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4r)s.ts.ps.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5r)s.ts.ps.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(is.xs0+e+s.xs1,r1;s.l>r;r++)i+sxn+r+sxs+(r+1);s.ts.pi}else-1s.type?s.ts.ps.xs0:s.setRatio&&s.setRatio(t);else s.ts.pe+s.xs0;ss._next}else for(;s;)2!s.type?s.ts.ps.b:s.setRatio(t),ss._next;else for(;s;)2!s.type?s.ts.ps.e:s.setRatio(t),ss._next},l._enableTransformsfunction(t){this._transformthis._transform||Ae(this._target,s,!0),this._transformTypethis._transform.svg&&ve||!t&&3!this._transformType?2:3};var Eefunction(){this.tthis.pthis.e,this.data._linkCSSP(this,this._next,null,!0)};l._addLazySetfunction(t,e,i){var rthis._firstPTnew pe(t,e,0,0,this._firstPT,2);r.ei,r.setRatioEe,r.datathis},l._linkCSSPfunction(t,e,i,r){return t&&(e&&(e._prevt),t._next&&(t._next._prevt._prev),t._prev?t._prev._nextt._next:this._firstPTt&&(this._firstPTt._next,r!0),i?i._nextt:r||null!this._firstPT||(this._firstPTt),t._nexte,t._previ),t},l._killfunction(e){var i,r,s,ne;if(e.autoAlpha||e.alpha){n{};for(r in e)nrer;n.opacity1,n.autoAlpha&&(n.visibility1)}return e.className&&(ithis._classNamePT)&&(si.xfirst,s&&s._prev?this._linkCSSP(s._prev,i._next,s._prev._prev):sthis._firstPT&&(this._firstPTi._next),i._next&&this._linkCSSP(i._next,i._next._next,s._prev),this._classNamePTnull),t.prototype._kill.call(this,n)};var Fefunction(t,e,i){var r,s,n,a;if(t.slice)for(st.length;--s>-1;)Fe(ts,e,i);else for(rt.childNodes,sr.length;--s>-1;)nrs,an.type,n.style&&(e.push(Z(n)),i&&i.push(n)),1!a&&9!a&&11!a||!n.childNodes.length||Fe(n,e,i)};return a.cascadeTofunction(t,i,r){var s,n,a,oe.to(t,i,r),lo,h,u,f,pe._internals.reservedProps;for(to._targets||o.target,Fe(t,h,f),o.render(i,!0),Fe(t,u),o.render(0,!0),o._enabled(!0),sf.length;--s>-1;)if(n$(fs,hs,us),n.firstMPT){nn.difs;for(a in r)pa&&(nara);l.push(e.to(fs,i,n))}return l},t.activate(a),a},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){use strict;var efunction(){return(_gsScope.GreenSockGlobals||_gsScope)t};functiontypeof define&&define.amd?define(TweenLite,e):undefined!typeof module&&module.exports&&(require(../TweenLite.js),module.exportse())}(CSSPlugin);var _gsScopeundefined!typeof module&&module.exports&&undefined!typeof global?global:this||window;(function(t){use strict;var et.GreenSockGlobals||t,ifunction(t){var i,st.split(.),re;for(i0;s.length>i;i++)rsirrsi||{};return r},si(com.greensock.utils),rfunction(t){var et.nodeType,i;if(1e||9e||11e){if(stringtypeof t.textContent)return t.textContent;for(tt.firstChild;t;tt.nextSibling)i+r(t)}else if(3e||4e)return t.nodeValue;return i},ndocument,an.defaultView?n.defaultView.getComputedStyle:function(){},o/(A-Z)/g,hfunction(t,e,i,s){var r;return(ii||a(t,null))?(ti.getPropertyValue(e.replace(o,-$1).toLowerCase()),rt||i.length?t:ie):t.currentStyle&&(it.currentStyle,rie),s?r:parseInt(r,10)||0},lfunction(t){return t.length&&t0&&(t0.nodeType&&t0.style&&!t.nodeType||t0.length&&t00)?!0:!1},_function(t){var e,i,s,r,nt.length;for(e0;n>e;e++)if(ite,l(i))for(si.length,s0;i.length>s;s++)r.push(is);else r.push(i);return r},u)eefec303079ad17405c,c/(?:br>|br\/>|br \/>)/gi,pn.all&&!n.addEventListener,fdiv styleposition:relative;display:inline-block;+(p?*display:inline;*zoom:1;:),mfunction(t){tt||;var e-1!t.indexOf(++),i1;return e&&(tt.split(++).join()),function(){return f+(t? class+t+(e?i++:)+>:>)}},ds.SplitTexte.SplitTextfunction(t,e){if(stringtypeof t&&(td.selector(t)),!t)throwcannot split a null element.;this.elementsl(t)?_(t):t,this.chars,this.words,this.lines,this._originals,this.varse||{},this.split(e)},gfunction(t,e,i){var st.nodeType;if(1s||9s||11s)for(tt.firstChild;t;tt.nextSibling)g(t,e,i);else(3s||4s)&&(t.nodeValuet.nodeValue.split(e).join(i))},vfunction(t,e){for(var ie.length;--i>-1;)t.push(ei)},yfunction(t,e,i,s,o){c.test(t.innerHTML)&&(t.innerHTMLt.innerHTML.replace(c,u));var l,_,p,f,d,y,T,w,b,x,P,S,C,k,Rr(t),Ae.type||e.split||chars,words,lines,O-1!A.indexOf(lines)?:null,D-1!A.indexOf(words),M-1!A.indexOf(chars),Labsolutee.position||e.absolute!0,zL? : ,I-999,Ea(t),Nh(t,paddingLeft,E),Fh(t,borderBottomWidth,E)+h(t,borderTopWidth,E),Xh(t,borderLeftWidth,E)+h(t,borderRightWidth,E),Uh(t,paddingTop,E)+h(t,paddingBottom,E),Bh(t,paddingLeft,E)+h(t,paddingRight,E),jh(t,textAlign,E,!0),Yt.clientHeight,qt.clientWidth,G/div>,Vm(e.wordsClass),Qm(e.charsClass),W-1!(e.linesClass||).indexOf(++),He.linesClass,Z-1!R.indexOf(),$!0,K,J,te;for(W&&(HH.split(++).join()),Z&&(RR.split().join()),lR.length,fV(),d0;l>d;d++)if(TR.charAt(d),)T&&R.substr(d,20)u)f+($?G:)+BR/>,$!1,d!l-20&&R.substr(d+20,20)!u&&(f+ +V(),$!0),d+19;else if( T&& !R.charAt(d-1)&&d!l-1&&R.substr(d-20,20)!u){for(f+$?G:,$!1; R.charAt(d+1);)f+z,d++;()!R.charAt(d+1)||R.substr(d+1,20)!u)&&(f+z+V(),$!0)}else f+M&& !T?Q()+T+/div>:T;for(t.innerHTMLf+($?G:),Z&&g(t,,),yt.getElementsByTagName(*),ly.length,w,d0;l>d;d++)wdyd;if(O||L)for(d0;l>d;d++)bwd,pb.parentNodet,(p||L||M&&!D)&&(xb.offsetTop,O&&p&&x!I&&BR!b.nodeName&&(_,O.push(_),Ix),L&&(b._xb.offsetLeft,b._yx,b._wb.offsetWidth,b._hb.offsetHeight),O&&(D!p&&M||(_.push(b),b._x-N),p&&d&&(wd-1._wordEnd!0),BRb.nodeName&&b.nextSibling&&BRb.nextSibling.nodeName&&O.push()));for(d0;l>d;d++)bwd,pb.parentNodet,BR!b.nodeName?(L&&(Sb.style,D||p||(b._x+b.parentNode._x,b._y+b.parentNode._y),S.leftb._x+px,S.topb._y+px,S.positionabsolute,S.displayblock,S.widthb._w+1+px,S.heightb._h+px),D?p&&!b.innerHTML?J.push(b):M&&K.push(b):p?(t.removeChild(b),w.splice(d--,1),l--):!p&&M&&(x!O&&!L&&b.nextSibling,t.appendChild(b),x||t.appendChild(n.createTextNode( )),K.push(b))):O||L?(t.removeChild(b),w.splice(d--,1),l--):D||t.appendChild(b);if(O){for(L&&(Pn.createElement(div),t.appendChild(P),CP.offsetWidth+px,xP.offsetParentt?0:t.offsetLeft,t.removeChild(P)),St.style.cssText,t.style.cssTextdisplay:none;;t.firstChild;)t.removeChild(t.firstChild);for(k!L||!D&&!M,d0;O.length>d;d++){for(_Od,Pn.createElement(div),P.style.cssTextdisplay:block;text-align:+j+;position:+(L?absolute;:relative;),H&&(P.classNameH+(W?d+1:)),te.push(P),l_.length,y0;l>y;y++)BR!_y.nodeName&&(b_y,P.appendChild(b),k&&(b._wordEnd||D)&&P.appendChild(n.createTextNode( )),L&&(0y&&(P.style.topb._y+px,P.style.leftN+x+px),b.style.top0px,x&&(b.style.leftb._x-x+px)));0l&&(P.innerHTML ),D||M||(P.innerHTMLr(P).split(String.fromCharCode(160)).join( )),L&&(P.style.widthC,P.style.heightb._h+px),t.appendChild(P)}t.style.cssTextS}L&&(Y>t.clientHeight&&(t.style.heightY-U+px,Y>t.clientHeight&&(t.style.heightY+F+px)),q>t.clientWidth&&(t.style.widthq-B+px,q>t.clientWidth&&(t.style.widthq+X+px))),v(i,K),v(s,J),v(o,te)},Td.prototype;T.splitfunction(t){this.isSplit&&this.revert(),this.varst||this.vars,this._originals.lengththis.chars.lengththis.words.lengththis.lines.length0;for(var ethis.elements.length;--e>-1;)this._originalsethis.elementse.innerHTML,y(this.elementse,this.vars,this.chars,this.words,this.lines);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit!0,this},T.revertfunction(){if(!this._originals)throwrevert() call wasnt scoped properly.;for(var tthis._originals.length;--t>-1;)this.elementst.innerHTMLthis._originalst;return this.chars,this.words,this.lines,this.isSplit!1,this},d.selectort.$||t.jQuery||function(e){var it.$||t.jQuery;return i?(d.selectori,i(e)):undefinedtypeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById(#e.charAt(0)?e.substr(1):e)},d.version0.3.3})(_gsScope),function(t){use strict;var efunction(){return(_gsScope.GreenSockGlobals||_gsScope)t};functiontypeof define&&define.amd?define(TweenLite,e):undefined!typeof module&&module.exports&&(module.exportse())}(SplitText);try{ window.GreenSockGlobals null; window._gsQueue null; window._gsDefine null; delete(window.GreenSockGlobals); delete(window._gsQueue); delete(window._gsDefine); } catch(e) {}try{ window.GreenSockGlobals oldgs; window._gsQueue oldgs_queue; } catch(e) {}if (window.tplogstrue) try { console.groupEnd(); } catch(e) {}(function(e,t){ e.waitForImages{hasImageProperties:backgroundImage,listStyleImage,borderImage,borderCornerImage};e.expr:.uncachedfunction(t){var ndocument.createElement(img);n.srct.src;return e(t).is(imgsrc!)&&!n.complete};e.fn.waitForImagesfunction(t,n,r){if(e.isPlainObject(arguments0)){nt.each;rt.waitForAll;tt.finished}tt||e.noop;nn||e.noop;r!!r;if(!e.isFunction(t)||!e.isFunction(n)){throw new TypeError(An invalid callback was supplied.)}return this.each(function(){var ie(this),s;if(r){var oe.waitForImages.hasImageProperties||,u/url\((?)(.*?)\1\)/g;i.find(*).each(function(){var te(this);if(t.is(img:uncached)){s.push({src:t.attr(src),element:t0})}e.each(o,function(e,n){var rt.css(n);if(!r){return true}var i;while(iu.exec(r)){s.push({src:i2,element:t0})}})})}else{i.find(img:uncached).each(function(){s.push({src:this.src,element:this})})}var fs.length,l0;if(f0){t.call(i0)}e.each(s,function(r,s){var onew Image;e(o).bind(load error,function(e){l++;n.call(s.element,l,f,e.typeload);if(lf){t.call(i0);return false}});o.srcs.src})})};})(jQuery)function revslider_showDoubleJqueryError(a){var bRevolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.;b+br> This includes make eliminates the revolution slider libraries, and make it not work.,b+br>br> To fix it you can:br> 1. In the Slider Settings -> Troubleshooting set option: strong>b>Put JS Includes To Body/b>/strong> option to true.,b+br> 2. Find the double jquery.js include and remove it.,bspan stylefont-size:16px;color:#BC0C06;>+b+/span>,jQuery(a).show().html(b)}!function(a,b){function c(){var a!1;return navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)?navigator.userAgent.match(/OS 4_\d like Mac OS X/i)&&(a!0):a!1,a}function d(d,e){if(db)return!1;if(d.data(aimg)!b&&(enabledd.data(aie8)&&i(8)||enabledd.data(amobile)&&W())&&d.html(img classtp-slider-alternative-image src+d.data(aimg)+>),preview1!e.navigationStyle&&preview3!e.navigationStyle&&preview4!e.navigationStyle||(e.soloArrowLeftHalignleft,e.soloArrowLeftValigncenter,e.soloArrowLeftHOffset0,e.soloArrowLeftVOffset0,e.soloArrowRightHalignright,e.soloArrowRightValigncenter,e.soloArrowRightHOffset0,e.soloArrowRightVOffset0,e.navigationArrowssolo),one.simplifyAll&&(i(8)||c())&&(d.find(.tp-caption).each(function(){var ba(this);b.removeClass(customin).removeClass(customout).addClass(fadein).addClass(fadeout),b.data(splitin,),b.data(speed,400)}),d.find(>ul>li).each(function(){var ba(this);b.data(transition,fade),b.data(masterspeed,500),b.data(slotamount,1);var cb.find(>img).first();c.data(kenburns,off)})),e.desktop!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i),on!e.fullWidth&&on!e.fullScreen&&(e.autoHeightoff),one.fullScreen&&(e.autoHeighton),on!e.fullWidth&&on!e.fullScreen&&(forceFulWidthoff),one.fullWidth&&offe.autoHeight&&d.css({maxHeight:e.startheight+px}),W()&&one.hideThumbsOnMobile&&thumbe.navigationType&&(e.navigationTypenone),W()&&one.hideBulletsOnMobile&&bullete.navigationType&&(e.navigationTypenone),W()&&one.hideBulletsOnMobile&&bothe.navigationType&&(e.navigationTypenone),W()&&one.hideArrowsOnMobile&&(e.navigationArrowsnone),one.forceFullWidth&&0d.closest(.forcefullwidth_wrapper_tp_banner).length){var jd.parent().offset().left,pd.parent().css(marginBottom),qd.parent().css(marginTop);pb&&(p0),qb&&(q0),d.parent().wrap(div styleposition:relative;width:100%;height:auto;margin-top:+q+;margin-bottom:+p+ classforcefullwidth_wrapper_tp_banner>/div>),d.closest(.forcefullwidth_wrapper_tp_banner).append(div classtp-fullwidth-forcer stylewidth:100%;height:+d.height()+px>/div>),d.css({backgroundColor:d.parent().css(backgroundColor),backgroundImage:d.parent().css(backgroundImage)}),d.parent().css({left:0-j+px,position:absolute,width:a(window).width()}),e.widtha(window).width()}try{e.hideThumbsUnderResolution>a(window).width()&&0!e.hideThumbsUnderResolution?d.parent().find(.tp-bullets.tp-thumbs).css({display:none}):d.parent().find(.tp-bullets.tp-thumbs).css({display:block})}catch(a){}if(!d.hasClass(revslider-initialised)){d.addClass(revslider-initialised),d.attr(id)b&&d.attr(id,revslider-+Math.round(1e3*Math.random()+5)),e.firefox13!1,e.ie!a.support.opacity,e.ie99document.documentMode,e.origcde.delay;var ra.fn.jquery.split(.),tparseFloat(r0),uparseFloat(r1);parseFloat(r2||0);1t&&u7&&d.html(div styletext-align:center; padding:40px 0px; font-size:20px; color:#992222;> The Current Version of jQuery:+r+ br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin/div>),t>1&&(e.ie!1),a.support.transition||(a.fn.transitiona.fn.animate),d.find(.caption).each(function(){a(this).addClass(tp-caption)}),W()&&(!navigator.userAgent.split(ipad).length>1||!navigator.userAgent.split(iPad).length>1)&&d.find(.tp-caption).each(function(){var ba(this);1!b.data(autoplayonlyfirsttime)&&true!b.data(autoplayonlyfirsttime)||b.data(autoplayonlyfirsttime,false),1!b.data(autoplay)&&true!b.data(autoplay)||b.data(autoplay,!1)});var w0,x0,Ahttp;if(https:location.protocol&&(Ahttps),d.find(.tp-caption).each(function(c){try{if((a(this).data(ytid)!b||a(this).find(iframe).attr(src).toLowerCase().indexOf(youtube)>0)&&0w){w1;var ddocument.createElement(script),ehttps;d.srce+://www.youtube.com/iframe_api;var fdocument.getElementsByTagName(script)0,g!0;a(head).find(*).each(function(){a(this).attr(src)e+://www.youtube.com/iframe_api&&(g!1)}),g&&f.parentNode.insertBefore(d,f)}}catch(a){}try{if((a(this).data(vimeoid)!b||a(this).find(iframe).attr(src).toLowerCase().indexOf(vimeo)>0)&&0x){x1;var hdocument.createElement(script);h.srcA+://a.vimeocdn.com/js/froogaloop2.min.js;var fdocument.getElementsByTagName(script)0,g!0;a(head).find(*).each(function(){a(this).attr(src)A+://a.vimeocdn.com/js/froogaloop2.min.js&&(g!1)}),g&&f.parentNode.insertBefore(h,f)}}catch(a){}try{a(this).data(videomp4)!b||a(this).data(videowebm)!b}catch(a){}}),d.find(.tp-caption video).each(function(b){a(this).removeClass(video-js).removeClass(vjs-default-skin),a(this).attr(preload,),a(this).css({display:none})}),d.find(>ul:first-child >li).each(function(){var ba(this);b.data(origindex,b.index())}),one.shuffle){var Bnew Object,Cd.find(>ul:first-child >li:first-child);B.fstransitionC.data(fstransition),B.fsmasterspeedC.data(fsmasterspeed),B.fsslotamountC.data(fsslotamount);for(var D0;Dd.find(>ul:first-child >li).length;D++){var EMath.round(Math.random()*d.find(>ul:first-child >li).length);d.find(>ul:first-child >li:eq(+E+)).prependTo(d.find(>ul:first-child))}var Fd.find(>ul:first-child >li:first-child);F.data(fstransition,B.fstransition),F.data(fsmasterspeed,B.fsmasterspeed),F.data(fsslotamount,B.fsslotamount)}e.slots4,e.act-1,e.next0,e.startWithSlide!b&&(e.nexte.startWithSlide);var Gg(#)0;if(G.length9&&G.split(slide).length>1){var HparseInt(G.split(slide)1,0);H1&&(H1),H>d.find(>ul:first >li).length&&(Hd.find(>ul:first >li).length),e.nextH-1}e.firststart1,e.navigationHOffsetb&&(e.navOffsetHorizontal0),e.navigationVOffsetb&&(e.navOffsetVertical0),d.append(div classtp-loader +e.spinner+>div classdot1>/div>div classdot2>/div>div classbounce1>/div>div classbounce2>/div>div classbounce3>/div>/div>),0d.find(.tp-bannertimer).length&&d.append(div classtp-bannertimer stylevisibility:hidden>/div>);var Id.find(.tp-bannertimer);if(I.length>0&&I.css({width:0%}),d.addClass(tp-simpleresponsive),e.containerd,e.slideamountd.find(>ul:first >li).length,0d.height()&&d.height(e.startheight),e.startwidth!b&&0!e.startwidth||(e.startwidthd.width()),e.startheight!b&&0!e.startheight||(e.startheightd.height()),e.widthd.width(),e.heightd.height(),e.bwe.startwidth/d.width(),e.bhe.startheight/d.height(),e.width!e.startwidth&&(e.heightMath.round(e.startheight*(e.width/e.startwidth)),d.height(e.height)),0!e.shadow){d.parent().append(div classtp-bannershadow tp-shadow+e.shadow+>/div>);var j0;one.forceFullWidth&&(j0-e.container.parent().offset().left),d.parent().find(.tp-bannershadow).css({width:e.width,left:j})}d.find(ul).css({display:none});d.find(ul).css({display:block}),s(d,e),off!e.parallax&&aa(d,e),e.slideamount>1&&k(d,e),e.slideamount>1&&thumbe.navigationType&&ca(d,e),e.slideamount>1&&l(d,e),one.keyboardNavigation&&m(d,e),n(d,e),e.hideThumbs>0&&o(d,e),setTimeout(function(){z(d,e)},e.startDelay),e.startDelay0,e.slideamount>1&&V(d,e),setTimeout(function(){d.trigger(revolution.slide.onloaded)},500),a(body).data(rs-fullScreenMode,!1),a(window).on(mozfullscreenchange webkitfullscreenchange fullscreenchange,function(){a(body).data(rs-fullScreenMode,!a(body).data(rs-fullScreenMode)),a(body).data(rs-fullScreenMode)&&setTimeout(function(){a(window).trigger(resize)},200)});var Kresize.revslider-+d.attr(id);a(window).on(K,function(){if(db)return!1;if(0!a(body).find(d)&&one.forceFullWidth){var ce.container.closest(.forcefullwidth_wrapper_tp_banner).offset().left;e.container.parent().css({left:0-c+px,width:a(window).width()})}(d.outerWidth(!0)!e.width||d.is(:hidden))&&h(d,e)});try{0!e.hideThumbsUnderResoluition&&thumbe.navigationType&&(e.hideThumbsUnderResoluition>a(window).width()?a(.tp-bullets).css({display:none}):a(.tp-bullets).css({display:block}))}catch(a){}d.find(.tp-scrollbelowslider).on(click,function(){var b0;try{ba(body).find(e.fullScreenOffsetContainer).height()}catch(a){}try{b-parseInt(a(this).data(scrolloffset),0)}catch(a){}a(body,html).animate({scrollTop:d.offset().top+d.find(>ul >li).height()-b+px},{duration:400})});var Ld.parent();a(window).width()e.hideSliderAtLimit&&(d.trigger(stoptimer),none!L.css(display)&&L.data(olddisplay,L.css(display)),L.css({display:none})),f(d,e)}}a.fn.extend({revolution:function(c){var e{delay:9e3,startheight:500,startwidth:960,fullScreenAlignForce:off,autoHeight:off,hideTimerBar:off,hideThumbs:200,hideNavDelayOnMobile:1500,thumbWidth:100,thumbHeight:50,thumbAmount:3,navigationType:bullet,navigationArrows:solo,navigationInGrid:off,hideThumbsOnMobile:off,hideBulletsOnMobile:off,hideArrowsOnMobile:off,hideThumbsUnderResoluition:0,navigationStyle:round,navigationHAlign:center,navigationVAlign:bottom,navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:left,soloArrowLeftValign:center,soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:right,soloArrowRightValign:center,soloArrowRightHOffset:20,soloArrowRightVOffset:0,keyboardNavigation:on,touchenabled:on,onHoverStop:on,stopAtSlide:-1,stopAfterLoops:-1,hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,shadow:0,fullWidth:off,fullScreen:off,minFullScreenHeight:0,fullScreenOffsetContainer:,fullScreenOffset:0,dottedOverlay:none,forceFullWidth:off,spinner:spinner0,swipe_treshold:75,swipe_min_touches:1,drag_block_vertical:!1,isJoomla:!1,parallax:off,parallaxLevels:10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,parallaxBgFreeze:off,parallaxOpacity:on,parallaxDisableOnMobile:off,panZoomDisableOnMobile:off,simplifyAll:on,minHeight:0,nextSlideOnWindowFocus:off,startDelay:0};return ca.extend({},e,c),this.each(function(){if(1window.tplogs)try{console.groupCollapsed(Slider Revolution 4.6.3 Initialisation on +a(this).attr(id)),console.groupCollapsed(Used Options:),console.info(c),console.groupEnd(),console.groupCollapsed(Tween Engine:)}catch(a){}if(punchgs.TweenLiteb){if(1window.tplogs)try{console.error(GreenSock Engine Does not Exist!)}catch(a){}return!1}if(punchgs.force3D!0,1window.tplogs)try{console.info(GreenSock Engine Version in Slider Revolution:+punchgs.TweenLite.version)}catch(a){}if(onc.simplifyAll||(punchgs.TweenLite.lagSmoothing(1e3,16),punchgs.force3Dtrue),1window.tplogs)try{console.groupEnd(),console.groupEnd()}catch(a){}d(a(this),c)})},revscroll:function(c){return this.each(function(){var da(this);d!b&&d.length>0&&a(body).find(#+d.attr(id)).length>0&&a(body,html).animate({scrollTop:d.offset().top+d.find(>ul >li).height()-c+px},{duration:400})})},revredraw:function(c){return this.each(function(){var ca(this);if(c!b&&c.length>0&&a(body).find(#+c.attr(id)).length>0){var dc.parent().find(.tp-bannertimer),ed.data(opt);h(c,e)}})},revkill:function(c){var dthis,ea(this);if(e!b&&e.length>0&&a(body).find(#+e.attr(id)).length>0){e.data(conthover,1),e.data(conthover-changed,1),e.trigger(revolution.slide.onpause);var fe.parent().find(.tp-bannertimer),gf.data(opt);g.bannertimeronpause!0,e.trigger(stoptimer),punchgs.TweenLite.killTweensOf(e.find(*),!1),punchgs.TweenLite.killTweensOf(e,!1),e.unbind(hover, mouseover, mouseenter,mouseleave, resize);var hresize.revslider-+e.attr(id);a(window).off(h),e.find(*).each(function(){var ca(this);c.unbind(on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer),c.off(on, hover, mouseenter,mouseleave,mouseover, resize),c.data(mySplitText,null),c.data(ctl,null),c.data(tween)!b&&c.data(tween).kill(),c.data(kenburn)!b&&c.data(kenburn).kill(),c.remove(),c.empty(),cnull}),punchgs.TweenLite.killTweensOf(e.find(*),!1),punchgs.TweenLite.killTweensOf(e,!1),f.remove();try{e.closest(.forcefullwidth_wrapper_tp_banner).remove()}catch(a){}try{e.closest(.rev_slider_wrapper).remove()}catch(a){}try{e.remove()}catch(a){}return e.empty(),e.html(),enull,gnull,delete d.container,delete d.opt,!0}return!1},revpause:function(c){return this.each(function(){var ca(this);if(c!b&&c.length>0&&a(body).find(#+c.attr(id)).length>0){c.data(conthover,1),c.data(conthover-changed,1),c.trigger(revolution.slide.onpause);var dc.parent().find(.tp-bannertimer),ed.data(opt);e.bannertimeronpause!0,c.trigger(stoptimer)}})},revresume:function(c){return this.each(function(){var ca(this);if(c!b&&c.length>0&&a(body).find(#+c.attr(id)).length>0){c.data(conthover,0),c.data(conthover-changed,1),c.trigger(revolution.slide.onresume);var dc.parent().find(.tp-bannertimer),ed.data(opt);e.bannertimeronpause!1,c.trigger(starttimer)}})},revnext:function(c){return this.each(function(){var ca(this);c!b&&c.length>0&&a(body).find(#+c.attr(id)).length>0&&c.parent().find(.tp-rightarrow).click()})},revprev:function(c){return this.each(function(){var ca(this);c!b&&c.length>0&&a(body).find(#+c.attr(id)).length>0&&c.parent().find(.tp-leftarrow).click()})},revmaxslide:function(b){return a(this).find(>ul:first-child >li).length},revcurrentslide:function(c){var da(this);if(d!b&&d.length>0&&a(body).find(#+d.attr(id)).length>0){var ed.parent().find(.tp-bannertimer),fe.data(opt);return f.act}},revlastslide:function(c){var da(this);if(d!b&&d.length>0&&a(body).find(#+d.attr(id)).length>0){var ed.parent().find(.tp-bannertimer),fe.data(opt);return f.lastslide}},revshowslide:function(c){return this.each(function(){var da(this);d!b&&d.length>0&&a(body).find(#+d.attr(id)).length>0&&(d.data(showus,c),d.parent().find(.tp-rightarrow).click())})}});var f(function(){var a,b,c{hidden:visibilitychange,webkitHidden:webkitvisibilitychange,mozHidden:mozvisibilitychange,msHidden:msvisibilitychange};for(a in c)if(a in document){bca;break}return function(c){return c&&document.addEventListener(b,c),!documenta}}(),function(c,d){var edocument.documentModeb,fwindow.chrome;e&&!f?a(window).on(focusin,function(){return c!b&&void setTimeout(function(){ond.nextSlideOnWindowFocus&&c.revnext(),c.revredraw()},300)}).on(focusout,function(){}):window.addEventListener?(window.addEventListener(focus,function(a){return c!b&&void setTimeout(function(){ond.nextSlideOnWindowFocus&&c.revnext(),c.revredraw()},300)},!1),window.addEventListener(blur,function(a){},!1)):(window.attachEvent(focus,function(a){setTimeout(function(){return c!b&&(ond.nextSlideOnWindowFocus&&c.revnext(),void c.revredraw())},300)}),window.attachEvent(blur,function(a){}))}),gfunction(a){for(var c,b,dwindow.location.href.slice(window.location.href.indexOf(a)+1).split(_),e0;ed.length;e++)dede.replace(%3D,),cde.split(),b.push(c0),bc0c1;return b},hfunction(c,d){if(cb)return!1;try{0!d.hideThumbsUnderResoluition&&thumbd.navigationType&&(d.hideThumbsUnderResoluition>a(window).width()?a(.tp-bullets).css({display:none}):a(.tp-bullets).css({display:block}))}catch(a){}c.find(.defaultimg).each(function(b){r(a(this),d)});var ec.parent();a(window).width()d.hideSliderAtLimit?(c.trigger(stoptimer),none!e.css(display)&&e.data(olddisplay,e.css(display)),e.css({display:none})):c.is(:hidden)&&(e.data(olddisplay)!b&&undefined!e.data(olddisplay)&&none!e.data(olddisplay)?e.css({display:e.data(olddisplay)}):e.css({display:block}),c.trigger(restarttimer),setTimeout(function(){h(c,d)},150));var f0;ond.forceFullWidth&&(f0-d.container.parent().offset().left);try{c.parent().find(.tp-bannershadow).css({width:d.width,left:f})}catch(a){}var gc.find(>ul >li:eq(+d.act+) .slotholder),ic.find(>ul >li:eq(+d.next+) .slotholder);v(c,d,c),punchgs.TweenLite.set(i.find(.defaultimg),{opacity:0}),g.find(.defaultimg).css({opacity:1}),i.find(.defaultimg).each(function(){var ea(this);ond.panZoomDisableOnMobile||e.data(kenburn)!b&&(e.data(kenburn).restart(),Y(c,d,!0))});var jc.find(>ul >li:eq(+d.next+)),kc.parent().find(.tparrows);k.hasClass(preview2)&&k.css({width:parseInt(k.css(minWidth),0)}),L(j,d,!0),p(c,d)},ifunction(b,c){var da(div styledisplay:none;/>).appendTo(a(body));d.html(!--if +(c||)+ IE +(b||)+>a> /a>!endif-->);var ed.find(a).length;return d.remove(),e},jfunction(a,b){a.nextb.find(>ul >li).length-1&&(a.looptogoa.looptogo-1,a.looptogo0&&(a.stopLoopon)),z(b,a)},kfunction(b,c){var dhidebullets;0c.hideThumbs&&(d),bullet!c.navigationType&&both!c.navigationType||b.parent().append(div classtp-bullets +d+ simplebullets +c.navigationStyle+>/div>);var eb.parent().find(.tp-bullets);b.find(>ul:first >li).each(function(a){b.find(>ul:first >li:eq(+a+) img:first).attr(src);e.append(div classbullet>/div>);e.find(.bullet:first)}),e.find(.bullet).each(function(d){var ea(this);dc.slideamount-1&&e.addClass(last),0d&&e.addClass(first),e.click(function(){var a!1,de.index();withbullet!c.navigationArrows&&nexttobullets!c.navigationArrows||(de.index()-1),dc.act&&(a!0),0!c.transition||a||(c.nextd,j(c,b))})}),e.append(div classtpclear>/div>),p(b,c)},lfunction(a,c){function h(b){a.parent().append(div style+e+ classtp-+b+arrow +f+ tparrows +g+>div classtp-arr-allwrapper>div classtp-arr-iwrapper>div classtp-arr-imgholder>/div>div classtp-arr-imgholder2>/div>div classtp-arr-titleholder>/div>div classtp-arr-subtitleholder>/div>/div>/div>/div>)}var e(a.find(.tp-bullets),),fhidearrows,gc.navigationStyle;0c.hideThumbs&&(f),nonec.navigationArrows&&(evisibility:hidden;display:none),c.soloArrowStyledefault +c.navigationStyle,none!c.navigationArrows&&nexttobullets!c.navigationArrows&&(gc.soloArrowStyle),h(left),h(right),a.parent().find(.tp-rightarrow).click(function(){0c.transition&&(a.data(showus)!b&&a.data(showus)!-1?c.nexta.data(showus)-1:c.nextc.next+1,a.data(showus,-1),c.next>c.slideamount&&(c.next0),c.next0&&(c.next0),c.act!c.next&&j(c,a))}),a.parent().find(.tp-leftarrow).click(function(){0c.transition&&(c.nextc.next-1,c.leftarrowpressed1,c.next0&&(c.nextc.slideamount-1),j(c,a))}),p(a,c)},mfunction(c,d){a(document).keydown(function(a){0d.transition&&39a.keyCode&&(c.data(showus)!b&&c.data(showus)!-1?d.nextc.data(showus)-1:d.nextd.next+1,c.data(showus,-1),d.next>d.slideamount&&(d.next0),d.next0&&(d.next0),d.act!d.next&&j(d,c)),0d.transition&&37a.keyCode&&(d.nextd.next-1,d.leftarrowpressed1,d.next0&&(d.nextd.slideamount-1),j(d,c))}),p(c,d)},nfunction(b,c){var dvertical;onc.touchenabled&&(1c.drag_block_vertical&&(dnone),b.swipe({allowPageScroll:d,fingers:c.swipe_min_touches,treshold:c.swipe_treshold,swipe:function(e,f,g,h,i,k){switch(f){caseleft:0c.transition&&(c.nextc.next+1,c.nextc.slideamount&&(c.next0),j(c,b));break;caseright:0c.transition&&(c.nextc.next-1,c.leftarrowpressed1,c.next0&&(c.nextc.slideamount-1),j(c,b));break;caseup:noned&&a(html, body).animate({scrollTop:b.offset().top+b.height()+px});break;casedown:noned&&a(html, body).animate({scrollTop:b.offset().top-a(window).height()+px})}}}))},ofunction(a,b){var ca.parent().find(.tp-bullets),da.parent().find(.tparrows);if(nullc){a.append(div class.tp-bullets>/div>);var ca.parent().find(.tp-bullets)}if(nulld){a.append(div class.tparrows>/div>);var da.parent().find(.tparrows)}if(a.data(hideThumbs,b.hideThumbs),c.addClass(hidebullets),d.addClass(hidearrows),W())try{a.hammer().on(touch,function(){a.addClass(hovered),onb.onHoverStop&&a.trigger(stoptimer),clearTimeout(a.data(hideThumbs)),c.removeClass(hidebullets),d.removeClass(hidearrows)}),a.hammer().on(release,function(){a.removeClass(hovered),a.trigger(starttimer),a.hasClass(hovered)||c.hasClass(hovered)||a.data(hideThumbs,setTimeout(function(){c.addClass(hidebullets),d.addClass(hidearrows),a.trigger(starttimer)},b.hideNavDelayOnMobile))})}catch(a){}else c.hover(function(){b.overnav!0,onb.onHoverStop&&a.trigger(stoptimer),c.addClass(hovered),clearTimeout(a.data(hideThumbs)),c.removeClass(hidebullets),d.removeClass(hidearrows)},function(){b.overnav!1,a.trigger(starttimer),c.removeClass(hovered),a.hasClass(hovered)||c.hasClass(hovered)||a.data(hideThumbs,setTimeout(function(){c.addClass(hidebullets),d.addClass(hidearrows)},b.hideThumbs))}),d.hover(function(){b.overnav!0,onb.onHoverStop&&a.trigger(stoptimer),c.addClass(hovered),clearTimeout(a.data(hideThumbs)),c.removeClass(hidebullets),d.removeClass(hidearrows)},function(){b.overnav!1,a.trigger(starttimer),c.removeClass(hovered)}),a.on(mouseenter,function(){a.addClass(hovered),onb.onHoverStop&&a.trigger(stoptimer),clearTimeout(a.data(hideThumbs)),c.removeClass(hidebullets),d.removeClass(hidearrows)}),a.on(mouseleave,function(){a.removeClass(hovered),a.trigger(starttimer),a.hasClass(hovered)||c.hasClass(hovered)||a.data(hideThumbs,setTimeout(function(){c.addClass(hidebullets),d.addClass(hidearrows)},b.hideThumbs))})},pfunction(b,c){var db.parent(),ed.find(.tp-bullets);if(thumbc.navigationType){e.find(.thumb).each(function(b){var da(this);d.css({width:c.thumbWidth*c.bw+px,height:c.thumbHeight*c.bh+px})});var fe.find(.tp-mask);f.width(c.thumbWidth*c.thumbAmount*c.bw),f.height(c.thumbHeight*c.bh),f.parent().width(c.thumbWidth*c.thumbAmount*c.bw),f.parent().height(c.thumbHeight*c.bh)}var gd.find(.tp-leftarrow),hd.find(.tp-rightarrow);thumbc.navigationType&&nexttobulletsc.navigationArrows&&(c.navigationArrowssolo),nexttobulletsc.navigationArrows&&(g.prependTo(e).css({float:left}),h.insertBefore(e.find(.tpclear)).css({float:left}));var i0;onc.forceFullWidth&&(i0-c.container.parent().offset().left);var j0,k0;if(onc.navigationInGrid&&(jb.width()>c.startwidth?(b.width()-c.startwidth)/2:0,kb.height()>c.startheight?(b.height()-c.startheight)/2:0),none!c.navigationArrows&&nexttobullets!c.navigationArrows){var lc.soloArrowLeftValign,mc.soloArrowLeftHalign,nc.soloArrowRightValign,oc.soloArrowRightHalign,pc.soloArrowLeftVOffset,qc.soloArrowLeftHOffset,rc.soloArrowRightVOffset,sc.soloArrowRightHOffset;g.css({position:absolute}),h.css({position:absolute}),centerl?g.css({top:50%,marginTop:p-Math.round(g.innerHeight()/2)+px}):bottoml?g.css({top:auto,bottom:0+p+px}):topl&&g.css({bottom:auto,top:0+p+px}),centerm?g.css({left:50%,marginLeft:i+q-Math.round(g.innerWidth()/2)+px}):leftm?g.css({left:j+q+i+px}):rightm&&g.css({right:j+q-i+px}),centern?h.css({top:50%,marginTop:r-Math.round(h.innerHeight()/2)+px}):bottomn?h.css({top:auto,bottom:0+r+px}):topn&&h.css({bottom:auto,top:0+r+px}),centero?h.css({left:50%,marginLeft:i+s-Math.round(h.innerWidth()/2)+px}):lefto?h.css({left:j+s+i+px}):righto&&h.css({right:j+s-i+px}),null!g.position()&&g.css({top:Math.round(parseInt(g.position().top,0))+px}),null!h.position()&&h.css({top:Math.round(parseInt(h.position().top,0))+px})}nonec.navigationArrows&&(g.css({visibility:hidden}),h.css({visibility:hidden}));var tc.navigationVAlign,uc.navigationHAlign,vc.navigationVOffset*c.bh,wc.navigationHOffset*c.bw;centert&&e.css({top:50%,marginTop:v-Math.round(e.innerHeight()/2)+px}),bottomt&&e.css({bottom:0+v+px}),topt&&e.css({top:0+v+px}),centeru&&e.css({left:50%,marginLeft:i+w-Math.round(e.innerWidth()/2)+px}),leftu&&e.css({left:0+w+i+px}),rightu&&e.css({right:0+w-i+px})},qfunction(c){var dc.container;c.beforlic.next-1,c.cominglic.next+1,c.beforli0&&(c.beforlic.slideamount-1),c.comingli>c.slideamount&&(c.comingli0);var ed.find(>ul:first-child >li:eq(+c.comingli+)),fd.find(>ul:first-child >li:eq(+c.beforli+)),gf.find(.defaultimg).attr(src),he.find(.defaultimg).attr(src);c.arrb&&(c.arrd.parent().find(.tparrows),c.rard.parent().find(.tp-rightarrow),c.lard.parent().find(.tp-leftarrow),c.raimgc.rar.find(.tp-arr-imgholder),c.laimgc.lar.find(.tp-arr-imgholder),c.raimg_bc.rar.find(.tp-arr-imgholder2),c.laimg_bc.lar.find(.tp-arr-imgholder2),c.ratitc.rar.find(.tp-arr-titleholder),c.latitc.lar.find(.tp-arr-titleholder));var ic.arr,jc.rar,kc.lar,lc.raimg,mc.laimg,nc.raimg_b,oc.laimg_b,pc.ratit,qc.latit;if(e.data(title)!b&&p.html(e.data(title)),f.data(title)!b&&q.html(f.data(title)),j.hasClass(itishovered)&&j.width(p.outerWidth(!0)+parseInt(j.css(minWidth),0)),k.hasClass(itishovered)&&k.width(q.outerWidth(!0)+parseInt(k.css(minWidth),0)),i.hasClass(preview2)&&!i.hasClass(hashoveralready))if(i.addClass(hashoveralready),W()){var ia(this),ri.find(.tp-arr-titleholder);r.addClass(alwayshidden),punchgs.TweenLite.set(r,{autoAlpha:0})}else i.hover(function(){var ba(this),cb.find(.tp-arr-titleholder);a(window).width()>767&&b.width(c.outerWidth(!0)+parseInt(b.css(minWidth),0)),b.addClass(itishovered)},function(){var ba(this);b.find(.tp-arr-titleholder);b.css({width:parseInt(b.css(minWidth),0)}),b.removeClass(itishovered)});f.data(thumb)!b&&(gf.data(thumb)),e.data(thumb)!b&&(he.data(thumb)),i.hasClass(preview4)?(n.css({backgroundImage:url(+h+)}),o.css({backgroundImage:url(+g+)}),punchgs.TweenLite.fromTo(n,.8,{force3D:punchgs.force3d,x:0},{x:-l.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){l.css({backgroundImage:url(+h+)}),punchgs.TweenLite.set(n,{x:0})}}),punchgs.TweenLite.fromTo(o,.8,{force3D:punchgs.force3d,x:0},{x:l.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){m.css({backgroundImage:url(+g+)}),punchgs.TweenLite.set(o,{x:0})}}),punchgs.TweenLite.fromTo(l,.8,{x:0},{force3D:punchgs.force3d,x:-l.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){punchgs.TweenLite.set(l,{x:0})}}),punchgs.TweenLite.fromTo(m,.8,{x:0},{force3D:punchgs.force3d,x:l.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){punchgs.TweenLite.set(m,{x:0})}})):(punchgs.TweenLite.to(l,.5,{autoAlpha:0,onComplete:function(){l.css({backgroundImage:url(+h+)}),m.css({backgroundImage:url(+g+)})}}),punchgs.TweenLite.to(m,.5,{autoAlpha:0,onComplete:function(){punchgs.TweenLite.to(l,.5,{autoAlpha:1,delay:.2}),punchgs.TweenLite.to(m,.5,{autoAlpha:1,delay:.2})}})),j.hasClass(preview4)&&!j.hasClass(hashoveralready)&&(j.addClass(hashoveralready),j.hover(function(){var ba(this).find(.tp-arr-iwrapper),ca(this).find(.tp-arr-allwrapper);punchgs.TweenLite.fromTo(b,.4,{x:b.width()},{x:0,delay:.3,ease:punchgs.Power3.easeOut,overwrite:all}),punchgs.TweenLite.to(c,.2,{autoAlpha:1,overwrite:all})},function(){var ba(this).find(.tp-arr-iwrapper),ca(this).find(.tp-arr-allwrapper);punchgs.TweenLite.to(b,.4,{x:b.width(),ease:punchgs.Power3.easeOut,delay:.2,overwrite:all}),punchgs.TweenLite.to(c,.2,{delay:.6,autoAlpha:0,overwrite:all})}),k.hover(function(){var ba(this).find(.tp-arr-iwrapper),ca(this).find(.tp-arr-allwrapper);punchgs.TweenLite.fromTo(b,.4,{x:0-b.width()},{x:0,delay:.3,ease:punchgs.Power3.easeOut,overwrite:all}),punchgs.TweenLite.to(c,.2,{autoAlpha:1,overwrite:all})},function(){var ba(this).find(.tp-arr-iwrapper),ca(this).find(.tp-arr-allwrapper);punchgs.TweenLite.to(b,.4,{x:0-b.width(),ease:punchgs.Power3.easeOut,delay:.2,overwrite:all}),punchgs.TweenLite.to(c,.2,{delay:.6,autoAlpha:0,overwrite:all})}))},rfunction(c,d){if(d.container.closest(.forcefullwidth_wrapper_tp_banner).find(.tp-fullwidth-forcer).css({height:d.container.height()}),d.container.closest(.rev_slider_wrapper).css({height:d.container.height()}),d.widthparseInt(d.container.width(),0),d.heightparseInt(d.container.height(),0),d.bwd.width/d.startwidth,d.bhd.height/d.startheight,d.bh>d.bw&&(d.bhd.bw),d.bhd.bw&&(d.bwd.bh),d.bwd.bh&&(d.bhd.bw),d.bh>1&&(d.bw1,d.bh1),d.bw>1&&(d.bw1,d.bh1),d.heightMath.round(d.startheight*(d.width/d.startwidth)),d.height>d.startheight&&on!d.autoHeight&&(d.heightd.startheight),ond.fullScreen){d.heightd.bw*d.startheight;var f(d.container.parent().width(),a(window).height());if(d.fullScreenOffsetContainer!b){try{var gd.fullScreenOffsetContainer.split(,);a.each(g,function(b,c){f-a(c).outerHeight(!0),fd.minFullScreenHeight&&(fd.minFullScreenHeight)})}catch(a){}try{d.fullScreenOffset.split(%).length>1&&d.fullScreenOffset!b&&d.fullScreenOffset.length>0?f-a(window).height()*parseInt(d.fullScreenOffset,0)/100:d.fullScreenOffset!b&&d.fullScreenOffset.length>0&&(f-parseInt(d.fullScreenOffset,0)),fd.minFullScreenHeight&&(fd.minFullScreenHeight)}catch(a){}}d.container.parent().height(f),d.container.closest(.rev_slider_wrapper).height(f),d.container.css({height:100%}),d.heightf,d.minHeight!b&&d.heightd.minHeight&&(d.heightd.minHeight)}else d.minHeight!b&&d.heightd.minHeight&&(d.heightd.minHeight),d.container.height(d.height);d.slotwMath.ceil(d.width/d.slots),ond.fullScreen?d.slothMath.ceil(a(window).height()/d.slots):d.slothMath.ceil(d.height/d.slots),ond.autoHeight&&(d.slothMath.ceil(c.height()/d.slots))},sfunction(c,d){c.find(.tp-caption).each(function(){a(this).addClass(a(this).data(transition)),a(this).addClass(start)}),c.find(>ul:first).css({overflow:hidden,width:100%,height:100%,maxHeight:c.parent().css(maxHeight)}).addClass(tp-revslider-mainul),ond.autoHeight&&(c.find(>ul:first).css({overflow:hidden,width:100%,height:100%,maxHeight:none}),c.css({maxHeight:none}),c.parent().css({maxHeight:none})),c.find(>ul:first >li).each(function(d){var ea(this);if(e.addClass(tp-revslider-slidesli),e.css({width:100%,height:100%,overflow:hidden}),e.data(link)!b){var fe.data(link),g_self,h60;backe.data(slideindex)&&(h0);var ichecksle.data(linktoslide);i!b&&next!i&&prev!i&&c.find(>ul:first-child >li).each(function(){var ba(this);b.data(origindex)+1checksl&&(ib.index()+1)}),e.data(target)!b&&(ge.data(target)),slide!f&&(ino);var jdiv classtp-caption sft slidelink stylewidth:100%;height:100%;z-index:+h+; data-xcenter data-ycenter data-linktoslide+i+ data-start0>a stylewidth:100%;height:100%;display:block;slide!f&&(jj+ target+g+ href+f+),j+>span stylewidth:100%;height:100%;display:block>/span>/a>/div>,e.append(j)}}),c.parent().css({overflow:visible}),c.find(>ul:first >li >img).each(function(c){var ea(this);e.addClass(defaultimg),e.data(lazyload)!b&&1!e.data(lazydone)||r(e,d),i(8)&&e.data(kenburns,off),ond.panZoomDisableOnMobile&&W()&&(e.data(kenburns,off),e.data(bgfit,cover)),e.wrap(div classslotholder stylewidth:100%;height:100%;data-duration+e.data(duration)+data-zoomstart+e.data(zoomstart)+data-zoomend+e.data(zoomend)+data-rotationstart+e.data(rotationstart)+data-rotationend+e.data(rotationend)+data-ease+e.data(ease)+data-duration+e.data(duration)+data-bgpositionend+e.data(bgpositionend)+data-bgposition+e.data(bgposition)+data-duration+e.data(duration)+data-kenburns+e.data(kenburns)+data-easeme+e.data(ease)+data-bgfit+e.data(bgfit)+data-bgfitend+e.data(bgfitend)+data-owidth+e.data(owidth)+data-oheight+e.data(oheight)+>/div>),none!d.dottedOverlay&&d.dottedOverlay!b&&e.closest(.slotholder).append(div classtp-dottedoverlay +d.dottedOverlay+>/div>);var fe.attr(src),h(e.data(lazyload),e.data(bgfit)),je.data(bgrepeat),ke.data(bgposition);hb&&(hcover),jb&&(jno-repeat),kb&&(kcenter center);var le.closest(.slotholder);e.replaceWith(div classtp-bgimg defaultimg data-lazyload+e.data(lazyload)+ data-bgfit+h+data-bgposition+k+ data-bgrepeat+j+ data-lazydone+e.data(lazydone)+ src+f+ data-src+f+ stylebackground-color:+e.css(backgroundColor)+;background-repeat:+j+;background-image:url(+f+);background-size:+h+;background-position:+k+;width:100%;height:100%;>/div>),i(8)&&(l.find(.tp-bgimg).css({backgroundImage:none,background-image:none}),l.find(.tp-bgimg).append(img classieeightfallbackimage defaultimg src+f+ stylewidth:100%>)),e.css({opacity:0}),e.data(li-id,c)})},tfunction(a,c,d,e){var fa,gf.find(.defaultimg),hf.data(zoomstart),jf.data(rotationstart);g.data(currotate)!b&&(jg.data(currotate)),g.data(curscale)!b&&boxe?h100*g.data(curscale):g.data(curscale)!b&&(hg.data(curscale)),r(g,c);var kg.data(src),lg.css(backgroundColor),mc.width,nc.height,og.data(fxof),p0;onc.autoHeight&&(nc.container.height()),ob&&(o0);var q0,sg.data(bgfit),tg.data(bgrepeat),vg.data(bgposition);if(sb&&(scover),tb&&(tno-repeat),vb&&(vcenter center),i(8)){f.data(kenburns,off);var wk;k}switch(e){casebox:var x0,y0,z0;if(xc.sloth>c.slotw?c.sloth:c.slotw,!d)var q0-x;c.slotwx,c.slothx;var y0,z0;onf.data(kenburns)&&(sh,s.toString().length4&&(sX(s,f,c)));for(var A0;Ac.slots;A++){z0;for(var B0;Bc.slots;B++)f.append(div classslot styleposition:absolute;top:+(p+z)+px;left:+(o+y)+px;width:+x+px;height:+x+px;overflow:hidden;>div classslotslide data-x+y+ data-y+z+ styleposition:absolute;top:0px;left:0px;width:+x+px;height:+x+px;overflow:hidden;>div styleposition:absolute;top:+(0-z)+px;left:+(0-y)+px;width:+m+px;height:+n+px;background-color:+l+;background-image:url(+k+);background-repeat:+t+;background-size:+s+;background-position:+v+;>/div>/div>/div>),z+x,i(8)&&(f.find(.slot ).last().find(.slotslide).append(img src+w+>),u(f,c)),h!b&&j!b&&punchgs.TweenLite.set(f.find(.slot).last(),{rotationZ:j});y+x}break;casevertical:casehorizontal:if(onf.data(kenburns)&&(sh,s.toString().length4&&(sX(s,f,c))),horizontale){if(!d)var q0-c.slotw;for(var B0;Bc.slots;B++)f.append(div classslot styleposition:absolute;top:+(0+p)+px;left:+(o+B*c.slotw)+px;overflow:hidden;width:+(c.slotw+.6)+px;height:+n+px>div classslotslide styleposition:absolute;top:0px;left:+q+px;width:+(c.slotw+.6)+px;height:+n+px;overflow:hidden;>div stylebackground-color:+l+;position:absolute;top:0px;left:+(0-B*c.slotw)+px;width:+m+px;height:+n+px;background-image:url(+k+);background-repeat:+t+;background-size:+s+;background-position:+v+;>/div>/div>/div>),h!b&&j!b&&punchgs.TweenLite.set(f.find(.slot).last(),{rotationZ:j}),i(8)&&(f.find(.slot ).last().find(.slotslide).append(img classieeightfallbackimage src+w+ stylewidth:100%;height:auto>),u(f,c))}else{if(!d)var q0-c.sloth;for(var B0;Bc.slots+2;B++)f.append(div classslot styleposition:absolute;top:+(p+B*c.sloth)+px;left:+o+px;overflow:hidden;width:+m+px;height:+c.sloth+px>div classslotslide styleposition:absolute;top:+q+px;left:0px;width:+m+px;height:+c.sloth+px;overflow:hidden;>div stylebackground-color:+l+;position:absolute;top:+(0-B*c.sloth)+px;left:0px;width:+m+px;height:+n+px;background-image:url(+k+);background-repeat:+t+;background-size:+s+;background-position:+v+;>/div>/div>/div>),h!b&&j!b&&punchgs.TweenLite.set(f.find(.slot).last(),{rotationZ:j}),i(8)&&(f.find(.slot ).last().find(.slotslide).append(img classieeightfallbackimage src+w+ stylewidth:100%;height:auto;>),u(f,c))}}},ufunction(a,b){if(i(8)){var ca.find(.ieeightfallbackimage);c.width(),c.height();b.startwidth/b.startheighta.data(owidth)/a.data(oheight)?c.css({width:auto,height:100%}):c.css({width:100%,height:auto}),setTimeout(function(){var dc.width(),ec.height(),fa.data(bgposition);center centerf&&c.css({position:absolute,top:b.height/2-e/2+px,left:b.width/2-d/2+px}),center top!f&&top center!f||c.css({position:absolute,top:0px,left:b.width/2-d/2+px}),center bottom!f&&bottom center!f||c.css({position:absolute,bottom:0px,left:b.width/2-d/2+px}),right top!f&&top right!f||c.css({position:absolute,top:0px,right:0px}),right bottom!f&&bottom right!f||c.css({position:absolute,bottom:0px,right:0px}),right center!f&¢er right!f||c.css({position:absolute,top:b.height/2-e/2+px,right:0px}),left bottom!f&&bottom left!f||c.css({position:absolute,bottom:0px,left:0px}),left center!f&¢er left!f||c.css({position:absolute,top:b.height/2-e/2+px,left:0px})},20)}},vfunction(b,c,d){d.find(.slot).each(function(){a(this).remove()}),c.transition0},wfunction(c,d){c.find(img, .defaultimg).each(function(c){var ea(this),fe.data(lazyload);if(f!e.attr(src)&&d3&&f!b&&undefined!f){if(f!b&&undefined!f){e.attr(src,f);var gnew Image;g.onloadfunction(a){e.data(lazydone,1),e.hasClass(defaultimg)&&x(e,g)},g.errorfunction(){e.data(lazydone,1)},g.srce.attr(src),g.complete&&(e.hasClass(defaultimg)&&x(e,g),e.data(lazydone,1))}}else if((fb||undefinedf)&&1!e.data(lazydone)){var gnew Image;g.onloadfunction(){e.hasClass(defaultimg)&&x(e,g),e.data(lazydone,1)},g.errorfunction(){e.data(lazydone,1)},e.attr(src)!b&&undefined!e.attr(src)?g.srce.attr(src):g.srce.data(src),g.complete&&(e.hasClass(defaultimg)&&x(e,g),e.data(lazydone,1))}})},xfunction(a,b){var ca.closest(li),db.width,eb.height;c.data(owidth,d),c.data(oheight,e),c.find(.slotholder).data(owidth,d),c.find(.slotholder).data(oheight,e),c.data(loadeddone,1)},yfunction(c,d,e){w(c,0);var fsetInterval(function(){e.bannertimeronpause!0,e.container.trigger(stoptimer),e.cd0;var g0;c.find(img, .defaultimg).each(function(b){1!a(this).data(lazydone)&&g++}),g>0?w(c,g):(clearInterval(f),d!b&&d())},100)},zfunction(a,c){try{a.find(>ul:first-child >li:eq(+c.act+))}catch(b){a.find(>ul:first-child >li:eq(1))}c.lastslidec.act;var ea.find(>ul:first-child >li:eq(+c.next+)),fe.find(.defaultimg);c.bannertimeronpause!0,a.trigger(stoptimer),c.cd0,f.data(lazyload)!b&&undefined!f.data(lazyload)&&1!f.data(lazydone)?(i(8)?f.attr(src,e.find(.defaultimg).data(lazyload)):f.css({backgroundImage:url(+e.find(.defaultimg).data(lazyload)+)}),f.data(src,e.find(.defaultimg).data(lazyload)),f.data(lazydone,1),f.data(orgw,0),e.data(loadeddone,1),a.find(.tp-loader).css({display:block}),y(a.find(.tp-static-layers),function(){y(e,function(){var be.find(.slotholder);if(onb.data(kenburns))var dsetInterval(function(){var eb.data(owidth);e>0&&(clearInterval(d),A(c,f,a))},10);else A(c,f,a)},c)},c)):e.data(loadeddone)b?(e.data(loadeddone,1),y(e,function(){A(c,f,a)},c)):A(c,f,a)},Afunction(a,b,c){a.bannertimeronpause!1,a.cd0,c.trigger(nulltimer),c.find(.tp-loader).css({display:none}),r(b,a),p(c,a),r(b,a),B(c,a)},Bfunction(a,c){a.trigger(revolution.slide.onbeforeswap),c.transition1,c.videoplaying!1;try{var da.find(>ul:first-child >li:eq(+c.act+))}catch(b){var da.find(>ul:first-child >li:eq(1))}c.lastslidec.act;var ea.find(>ul:first-child >li:eq(+c.next+));setTimeout(function(){q(c)},200);var fd.find(.slotholder),ge.find(.slotholder);on!g.data(kenburns)&&on!f.data(kenburns)||(_(a,c),a.find(.kenburnimg).remove()),e.data(delay)!b?(c.cd0,c.delaye.data(delay)):c.delayc.origcd,1c.firststart&&punchgs.TweenLite.set(d,{autoAlpha:0}),punchgs.TweenLite.set(d,{zIndex:18}),punchgs.TweenLite.set(e,{autoAlpha:0,zIndex:20});var h0;d.index()!e.index()&&1!c.firststart&&(hR(d,c)),on!d.data(saveperformance)&&(h0),setTimeout(function(){a.trigger(restarttimer),C(a,c,e,d,f,g)},h)},Cfunction(c,d,e,f,g,h){function x(){a.each(o,function(a,b){b0!m&&b8!m||(jb1,nb2,rs),s+1})}preparede.data(differentissplayed)&&(e.data(differentissplayed,done),e.data(transition,e.data(savedtransition)),e.data(slotamount,e.data(savedslotamount)),e.data(masterspeed,e.data(savedmasterspeed))),e.data(fstransition)!b&&done!e.data(differentissplayed)&&(e.data(savedtransition,e.data(transition)),e.data(savedslotamount,e.data(slotamount)),e.data(savedmasterspeed,e.data(masterspeed)),e.data(transition,e.data(fstransition)),e.data(slotamount,e.data(fsslotamount)),e.data(masterspeed,e.data(fsmasterspeed)),e.data(differentissplayed,prepared)),c.find(.active-revslide).removeClass(.active-revslide),e.addClass(active-revslide),e.data(transition)b&&e.data(transition,random);var j0,ke.data(transition).split(,),le.data(nexttransid)b?-1:e.data(nexttransid);one.data(randomtransition)?lMath.round(Math.random()*k.length):l+1,lk.length&&(l0),e.data(nexttransid,l);var mkl;d.ie&&(boxfadem&&(mboxslide),slotfade-verticalm&&(mslotzoom-vertical),slotfade-horizontalm&&(mslotzoom-horizontal)),i(8)&&(m11);var n0;scrolld.parallax&&d.parallaxFirstGob&&(d.parallaxFirstGo!0,ba(c,d),setTimeout(function(){ba(c,d)},210),setTimeout(function(){ba(c,d)},420)),slidehorizontalm&&(mslideleft,1d.leftarrowpressed&&(mslideright)),slideverticalm&&(mslideup,1d.leftarrowpressed&&(mslidedown)),parallaxhorizontalm&&(mparallaxtoleft,1d.leftarrowpressed&&(mparallaxtoright)),parallaxverticalm&&(mparallaxtotop,1d.leftarrowpressed&&(mparallaxtobottom));var oboxslide,0,1,10,0,box,!1,null,0,boxfade,1,0,10,0,box,!1,null,1,slotslide-horizontal,2,0,0,200,horizontal,!0,!1,2,slotslide-vertical,3,0,0,200,vertical,!0,!1,3,curtain-1,4,3,0,0,horizontal,!0,!0,4,curtain-2,5,3,0,0,horizontal,!0,!0,5,curtain-3,6,3,25,0,horizontal,!0,!0,6,slotzoom-horizontal,7,0,0,400,horizontal,!0,!0,7,slotzoom-vertical,8,0,0,0,vertical,!0,!0,8,slotfade-horizontal,9,0,0,500,horizontal,!0,null,9,slotfade-vertical,10,0,0,500,vertical,!0,null,10,fade,11,0,1,300,horizontal,!0,null,11,slideleft,12,0,1,0,horizontal,!0,!0,12,slideup,13,0,1,0,horizontal,!0,!0,13,slidedown,14,0,1,0,horizontal,!0,!0,14,slideright,15,0,1,0,horizontal,!0,!0,15,papercut,16,0,0,600,,null,null,16,3dcurtain-horizontal,17,0,20,100,vertical,!1,!0,17,3dcurtain-vertical,18,0,10,100,horizontal,!1,!0,18,cubic,19,0,20,600,horizontal,!1,!0,19,cube,19,0,20,600,horizontal,!1,!0,20,flyin,20,0,4,600,vertical,!1,!0,21,turnoff,21,0,1,1600,horizontal,!1,!0,22,incube,22,0,20,200,horizontal,!1,!0,23,cubic-horizontal,23,0,20,500,vertical,!1,!0,24,cube-horizontal,23,0,20,500,vertical,!1,!0,25,incube-horizontal,24,0,20,500,vertical,!1,!0,26,turnoff-vertical,25,0,1,200,horizontal,!1,!0,27,fadefromright,12,1,1,0,horizontal,!0,!0,28,fadefromleft,15,1,1,0,horizontal,!0,!0,29,fadefromtop,14,1,1,0,horizontal,!0,!0,30,fadefrombottom,13,1,1,0,horizontal,!0,!0,31,fadetoleftfadefromright,12,2,1,0,horizontal,!0,!0,32,fadetorightfadetoleft,15,2,1,0,horizontal,!0,!0,33,fadetobottomfadefromtop,14,2,1,0,horizontal,!0,!0,34,fadetotopfadefrombottom,13,2,1,0,horizontal,!0,!0,35,parallaxtoright,12,3,1,0,horizontal,!0,!0,36,parallaxtoleft,15,3,1,0,horizontal,!0,!0,37,parallaxtotop,14,3,1,0,horizontal,!0,!0,38,parallaxtobottom,13,3,1,0,horizontal,!0,!0,39,scaledownfromright,12,4,1,0,horizontal,!0,!0,40,scaledownfromleft,15,4,1,0,horizontal,!0,!0,41,scaledownfromtop,14,4,1,0,horizontal,!0,!0,42,scaledownfrombottom,13,4,1,0,horizontal,!0,!0,43,zoomout,13,5,1,0,horizontal,!0,!0,44,zoomin,13,6,1,0,horizontal,!0,!0,45,notransition,26,0,1,0,horizontal,!0,null,46,p0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,q16,17,18,19,20,21,22,23,24,25,26,27,j0,n1,r0,s0,unew Array;onh.data(kenburns)&&(boxslide!m&&0!m&&boxfade!m&&1!m&&papercut!m&&16!m||(m11),Y(c,d,!0,!0)),randomm&&(mMath.round(Math.random()*o.length-1),m>o.length-1&&(mo.length-1)),random-staticm&&(mMath.round(Math.random()*p.length-1),m>p.length-1&&(mp.length-1),mpm),random-premiumm&&(mMath.round(Math.random()*q.length-1),m>q.length-1&&(mq.length-1),mqm);var v12,13,14,15,16,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45;if(1d.isJoomla&&window.MooTools!b&&v.indexOf(m)!-1){var wMath.round(Math.random()*(q.length-2))+1;w>q.length-1&&(wq.length-1),0w&&(w1),mqw}x(),i(8)&&j>15&&j28&&(mMath.round(Math.random()*p.length-1),m>p.length-1&&(mp.length-1),mpm,s0,x());var y-1;(1d.leftarrowpressed||d.act>d.next)&&(y1),d.leftarrowpressed0,j>26&&(j26),j0&&(j0);var z300;e.data(masterspeed)!b&&e.data(masterspeed)>99&&e.data(masterspeed)d.delay&&(ze.data(masterspeed)),e.data(masterspeed)!b&&e.data(masterspeed)>d.delay&&(zd.delay),uor,c.parent().find(.bullet).each(function(){var ba(this),cb.index();b.removeClass(selected),withbullet!d.navigationArrows&&nexttobullets!d.navigationArrows||(cb.index()-1),cd.next&&b.addClass(selected)});var Anew punchgs.TimelineLite({onComplete:function(){D(c,d,h,g,e,f,A)}});if(A.add(punchgs.TweenLite.set(h.find(.defaultimg),{opacity:0})),A.pause(),e.data(slotamount)b||e.data(slotamount)1?(d.slotsMath.round(12*Math.random()+4),boxslidem?d.slotsMath.round(6*Math.random()+3):flyinm&&(d.slotsMath.round(4*Math.random()+1))):d.slotse.data(slotamount),e.data(rotate)b?d.rotate0:999e.data(rotate)?d.rotateMath.round(360*Math.random()):d.rotatee.data(rotate),(!a.support.transition||d.ie||d.ie9)&&(d.rotate0),1d.firststart&&(d.firststart0),z+u4,(4j||5j||6j)&&d.slots3&&(d.slots3),0!u3&&(d.slotsMath.min(d.slots,u3)),9j&&(d.slotsd.width/20),10j&&(d.slotsd.height/20),null!u7&&t(g,d,u7,u5),null!u6&&t(h,d,u6,u5),0j){var BMath.ceil(d.height/d.sloth),C0;h.find(.slotslide).each(function(b){var ca(this);C+1,CB&&(C0),A.add(punchgs.TweenLite.from(c,z/600,{opacity:0,top:0-d.sloth,left:0-d.slotw,rotation:d.rotate,force3D:auto,ease:punchgs.Power2.easeOut}),(15*b+30*C)/1500)})}if(1j){var E,F0;h.find(.slotslide).each(function(b){var ca(this),eMath.random()*z+300,f500*Math.random()+200;e+f>E&&(Ef+f,Fb),A.add(punchgs.TweenLite.from(c,e/1e3,{autoAlpha:0,force3D:auto,rotation:d.rotate,ease:punchgs.Power2.easeInOut}),f/1e3)})}if(2j){var Gnew punchgs.TimelineLite;g.find(.slotslide).each(function(){var ba(this);G.add(punchgs.TweenLite.to(b,z/1e3,{left:d.slotw,force3D:auto,rotation:0-d.rotate}),0),A.add(G,0)}),h.find(.slotslide).each(function(){var ba(this);G.add(punchgs.TweenLite.from(b,z/1e3,{left:0-d.slotw,force3D:auto,rotation:d.rotate}),0),A.add(G,0)})}if(3j){var Gnew punchgs.TimelineLite;g.find(.slotslide).each(function(){var ba(this);G.add(punchgs.TweenLite.to(b,z/1e3,{top:d.sloth,rotation:d.rotate,force3D:auto,transformPerspective:600}),0),A.add(G,0)}),h.find(.slotslide).each(function(){var ba(this);G.add(punchgs.TweenLite.from(b,z/1e3,{top:0-d.sloth,rotation:d.rotate,ease:punchgs.Power2.easeOut,force3D:auto,transformPerspective:600}),0),A.add(G,0)})}if(4j||5j){setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100);var Hz/1e3,Gnew punchgs.TimelineLite;g.find(.slotslide).each(function(b){var ca(this),eb*H/d.slots;5j&&(e(d.slots-b-1)*H/d.slots/1.5),G.add(punchgs.TweenLite.to(c,3*H,{transformPerspective:600,force3D:auto,top:0+d.height,opacity:.5,rotation:d.rotate,ease:punchgs.Power2.easeInOut,delay:e}),0),A.add(G,0)}),h.find(.slotslide).each(function(b){var ca(this),eb*H/d.slots;5j&&(e(d.slots-b-1)*H/d.slots/1.5),G.add(punchgs.TweenLite.from(c,3*H,{top:0-d.height,opacity:.5,rotation:d.rotate,force3D:auto,ease:punchgs.Power2.easeInOut,delay:e}),0),A.add(G,0)})}if(6j){d.slots2&&(d.slots2),d.slots%2&&(d.slotsd.slots+1);var Gnew punchgs.TimelineLite;setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100),g.find(.slotslide).each(function(b){var ca(this);if(b+1d.slots/2)var e90*(b+2);else var e90*(2+d.slots-b);G.add(punchgs.TweenLite.to(c,(z+e)/1e3,{top:0+d.height,opacity:1,force3D:auto,rotation:d.rotate,ease:punchgs.Power2.easeInOut}),0),A.add(G,0)}),h.find(.slotslide).each(function(b){var ca(this);if(b+1d.slots/2)var e90*(b+2);else var e90*(2+d.slots-b);G.add(punchgs.TweenLite.from(c,(z+e)/1e3,{top:0-d.height,opacity:1,force3D:auto,rotation:d.rotate,ease:punchgs.Power2.easeInOut}),0),A.add(G,0)})}if(7j){z*2,z>d.delay&&(zd.delay);var Gnew punchgs.TimelineLite;setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100),g.find(.slotslide).each(function(){var ba(this).find(div);G.add(punchgs.TweenLite.to(b,z/1e3,{left:0-d.slotw/2+px,top:0-d.height/2+px,width:2*d.slotw+px,height:2*d.height+px,opacity:0,rotation:d.rotate,force3D:auto,ease:punchgs.Power2.easeOut}),0),A.add(G,0)}),h.find(.slotslide).each(function(b){var ca(this).find(div);G.add(punchgs.TweenLite.fromTo(c,z/1e3,{left:0,top:0,opacity:0,transformPerspective:600},{left:0-b*d.slotw+px,ease:punchgs.Power2.easeOut,force3D:auto,top:0px,width:d.width,height:d.height,opacity:1,rotation:0,delay:.1}),0),A.add(G,0)})}if(8j){z*3,z>d.delay&&(zd.delay);var Gnew punchgs.TimelineLite;g.find(.slotslide).each(function(){var ba(this).find(div);G.add(punchgs.TweenLite.to(b,z/1e3,{left:0-d.width/2+px,top:0-d.sloth/2+px,width:2*d.width+px,height:2*d.sloth+px,force3D:auto,opacity:0,rotation:d.rotate}),0),A.add(G,0)}),h.find(.slotslide).each(function(b){var ca(this).find(div);G.add(punchgs.TweenLite.fromTo(c,z/1e3,{left:0,top:0,opacity:0,force3D:auto},{left:0px,top:0-b*d.sloth+px,width:h.find(.defaultimg).data(neww)+px,height:h.find(.defaultimg).data(newh)+px,opacity:1,rotation:0}),0),A.add(G,0)})}if(9j||10j){var J0;h.find(.slotslide).each(function(b){var ca(this);J++,A.add(punchgs.TweenLite.fromTo(c,z/1e3,{autoAlpha:0,force3D:auto,transformPerspective:600},{autoAlpha:1,ease:punchgs.Power2.easeInOut,delay:5*b/1e3}),0)})}if(11j||26j){var J0;26j&&(z0),h.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.from(c,z/1e3,{autoAlpha:0,force3D:auto,ease:punchgs.Power2.easeInOut}),0)})}if(12j||13j||14j||15j){zz,z>d.delay&&(zd.delay),setTimeout(function(){punchgs.TweenLite.set(g.find(.defaultimg),{autoAlpha:0})},100);var Kd.width,Md.height,Nh.find(.slotslide),O0,P0,Q1,R1,S1,Tpunchgs.Power2.easeInOut,Upunchgs.Power2.easeInOut,Vz/1e3,WV;on!d.fullWidth&&on!d.fullScreen||(KN.width(),MN.height()),12j?OK:15j?O0-K:13j?PM:14j&&(P0-M),1n&&(Q0),2n&&(Q0),3n&&(Tpunchgs.Power2.easeInOut,Upunchgs.Power1.easeInOut,Vz/1200),4!n&&5!n||(R.6),6n&&(R1.4),5!n&&6!n||(S1.4,Q0,K0,M0,O0,P0),6n&&(S.6);A.add(punchgs.TweenLite.from(N,V,{left:O,top:P,scale:S,opacity:Q,rotation:d.rotate,ease:U,force3D:auto}),0);var Zg.find(.slotslide);if(4!n&&5!n||(K0,M0),1!n)switch(j){case 12:A.add(punchgs.TweenLite.to(Z,W,{left:0-K+px,force3D:auto,scale:R,opacity:Q,rotation:d.rotate,ease:T}),0);break;case 15:A.add(punchgs.TweenLite.to(Z,W,{left:K+px,force3D:auto,scale:R,opacity:Q,rotation:d.rotate,ease:T}),0);break;case 13:A.add(punchgs.TweenLite.to(Z,W,{top:0-M+px,force3D:auto,scale:R,opacity:Q,rotation:d.rotate,ease:T}),0);break;case 14:A.add(punchgs.TweenLite.to(Z,W,{top:M+px,force3D:auto,scale:R,opacity:Q,rotation:d.rotate,ease:T}),0)}}if(16j){var Gnew punchgs.TimelineLite;A.add(punchgs.TweenLite.set(f,{position:absolute,z-index:20}),0),A.add(punchgs.TweenLite.set(e,{position:absolute,z-index:15}),0),f.wrapInner(div classtp-half-one styleposition:relative; width:100%;height:100%>/div>),f.find(.tp-half-one).clone(!0).appendTo(f).addClass(tp-half-two),f.find(.tp-half-two).removeClass(tp-half-one);var Kd.width,Md.height;ond.autoHeight&&(Mc.height()),f.find(.tp-half-one .defaultimg).wrap(div classtp-papercut stylewidth:+K+px;height:+M+px;>/div>),f.find(.tp-half-two .defaultimg).wrap(div classtp-papercut stylewidth:+K+px;height:+M+px;>/div>),f.find(.tp-half-two .defaultimg).css({position:absolute,top:-50%}),f.find(.tp-half-two .tp-caption).wrapAll(div styleposition:absolute;top:-50%;left:0px;>/div>),A.add(punchgs.TweenLite.set(f.find(.tp-half-two),{width:K,height:M,overflow:hidden,zIndex:15,position:absolute,top:M/2,left:0px,transformPerspective:600,transformOrigin:center bottom}),0),A.add(punchgs.TweenLite.set(f.find(.tp-half-one),{width:K,height:M/2,overflow:visible,zIndex:10,position:absolute,top:0px,left:0px,transformPerspective:600,transformOrigin:center top}),0);var _(f.find(.defaultimg),Math.round(20*Math.random()-10)),aaMath.round(20*Math.random()-10),caMath.round(20*Math.random()-10),da.4*Math.random()-.2,ea.4*Math.random()-.2,fa1*Math.random()+1,ga1*Math.random()+1,ha.3*Math.random()+.3;A.add(punchgs.TweenLite.set(f.find(.tp-half-one),{overflow:hidden}),0),A.add(punchgs.TweenLite.fromTo(f.find(.tp-half-one),z/800,{width:K,height:M/2,position:absolute,top:0px,left:0px,force3D:auto,transformOrigin:center top},{scale:fa,rotation:_,y:0-M-M/4,autoAlpha:0,ease:punchgs.Power2.easeInOut}),0),A.add(punchgs.TweenLite.fromTo(f.find(.tp-half-two),z/800,{width:K,height:M,overflow:hidden,position:absolute,top:M/2,left:0px,force3D:auto,transformOrigin:center bottom},{scale:ga,rotation:aa,y:M+M/4,ease:punchgs.Power2.easeInOut,autoAlpha:0,onComplete:function(){punchgs.TweenLite.set(f,{position:absolute,z-index:15}),punchgs.TweenLite.set(e,{position:absolute,z-index:20}),f.find(.tp-half-one).length>0&&(f.find(.tp-half-one .defaultimg).unwrap(),f.find(.tp-half-one .slotholder).unwrap()),f.find(.tp-half-two).remove()}}),0),G.add(punchgs.TweenLite.set(h.find(.defaultimg),{autoAlpha:1}),0),null!f.html()&&A.add(punchgs.TweenLite.fromTo(e,(z-200)/1e3,{scale:ha,x:d.width/4*da,y:M/4*ea,rotation:ca,force3D:auto,transformOrigin:center center,ease:punchgs.Power2.easeOut},{autoAlpha:1,scale:1,x:0,y:0,rotation:0}),0),A.add(G,0)}if(17j&&h.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/800,{opacity:0,rotationY:0,scale:.9,rotationX:-110,force3D:auto,transformPerspective:600,transformOrigin:center center},{opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:auto,rotationY:0,ease:punchgs.Power3.easeOut,delay:.06*b}),0)}),18j&&h.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/500,{autoAlpha:0,rotationY:310,scale:.9,rotationX:10,force3D:auto,transformPerspective:600,transformOrigin:center center},{autoAlpha:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:auto,rotationY:0,ease:punchgs.Power3.easeOut,delay:.06*b}),0)}),19j||22j){var Gnew punchgs.TimelineLite;A.add(punchgs.TweenLite.set(f,{zIndex:20}),0),A.add(punchgs.TweenLite.set(e,{zIndex:20}),0),setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100);var ka(e.css(z-index),f.css(z-index),90),Q1,lacenter center ;1y&&(ka-90),19j?(lala+-+d.height/2,Q0):la+d.height/2,punchgs.TweenLite.set(c,{transformStyle:flat,backfaceVisibility:hidden,transformPerspective:600}),h.find(.slotslide).each(function(b){var ca(this);G.add(punchgs.TweenLite.fromTo(c,z/1e3,{transformStyle:flat,backfaceVisibility:hidden,left:0,rotationY:d.rotate,z:10,top:0,scale:1,force3D:auto,transformPerspective:600,transformOrigin:la,rotationX:ka},{left:0,rotationY:0,top:0,z:0,scale:1,force3D:auto,rotationX:0,delay:50*b/1e3,ease:punchgs.Power2.easeInOut}),0),G.add(punchgs.TweenLite.to(c,.1,{autoAlpha:1,delay:50*b/1e3}),0),A.add(G)}),g.find(.slotslide).each(function(b){var ca(this),e-90;1y&&(e90),G.add(punchgs.TweenLite.fromTo(c,z/1e3,{transformStyle:flat,backfaceVisibility:hidden,autoAlpha:1,rotationY:0,top:0,z:0,scale:1,force3D:auto,transformPerspective:600,transformOrigin:la,rotationX:0},{autoAlpha:1,rotationY:d.rotate,top:0,z:10,scale:1,rotationX:e,delay:50*b/1e3,force3D:auto,ease:punchgs.Power2.easeInOut}),0),A.add(G)})}if(20j){setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100);e.css(z-index),f.css(z-index);if(1y)var ma-d.width,ka70,laleft center -+d.height/2;else var mad.width,ka-70,laright center -+d.height/2;h.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/1500,{left:ma,rotationX:40,z:-600,opacity:Q,top:0,force3D:auto,transformPerspective:600,transformOrigin:la,rotationY:ka},{left:0,delay:50*b/1e3,ease:punchgs.Power2.easeInOut}),0),A.add(punchgs.TweenLite.fromTo(c,z/1e3,{rotationX:40,z:-600,opacity:Q,top:0,scale:1,force3D:auto,transformPerspective:600,transformOrigin:la,rotationY:ka},{rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:50*b/1e3,ease:punchgs.Power2.easeInOut}),0),A.add(punchgs.TweenLite.to(c,.1,{opacity:1,force3D:auto,delay:50*b/1e3+z/2e3}),0)}),g.find(.slotslide).each(function(b){var ca(this);if(1!y)var e-d.width,f70,gleft center -+d.height/2;else var ed.width,f-70,gright center -+d.height/2;A.add(punchgs.TweenLite.fromTo(c,z/1e3,{opacity:1,rotationX:0,top:0,z:0,scale:1,left:0,force3D:auto,transformPerspective:600,transformOrigin:g,rotationY:0},{opacity:1,rotationX:40,top:0,z:-600,left:e,force3D:auto,scale:.8,rotationY:f,delay:50*b/1e3,ease:punchgs.Power2.easeInOut}),0),A.add(punchgs.TweenLite.to(c,.1,{force3D:auto,opacity:0,delay:50*b/1e3+(z/1e3-z/1e4)}),0)})}if(21j||25j){setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100);var ka(e.css(z-index),f.css(z-index),90),ma-d.width,na-ka;if(1y)if(25j){var lacenter top 0;kad.rotate}else{var laleft center 0;nad.rotate}else if(mad.width,ka-90,25j){var lacenter bottom 0;na-ka,kad.rotate}else{var laright center 0;nad.rotate}h.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/1e3,{left:0,transformStyle:flat,rotationX:na,z:0,autoAlpha:0,top:0,scale:1,force3D:auto,transformPerspective:600,transformOrigin:la,rotationY:ka},{left:0,rotationX:0,top:0,z:0,autoAlpha:1,scale:1,rotationY:0,force3D:auto,ease:punchgs.Power3.easeInOut}),0)}),1!y?(ma-d.width,ka90,25j?(lacenter top 0,na-ka,kad.rotate):(laleft center 0,nad.rotate)):(mad.width,ka-90,25j?(lacenter bottom 0,na-ka,kad.rotate):(laright center 0,nad.rotate)),g.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/1e3,{left:0,transformStyle:flat,rotationX:0,z:0,autoAlpha:1,top:0,scale:1,force3D:auto,transformPerspective:600,transformOrigin:la,rotationY:0},{left:0,rotationX:na,top:0,z:0,autoAlpha:1,force3D:auto,scale:1,rotationY:ka,ease:punchgs.Power1.easeInOut}),0)})}if(23j||24j){setTimeout(function(){g.find(.defaultimg).css({opacity:0})},100);var ka(e.css(z-index),f.css(z-index),-90),Q1,oa0;if(1y&&(ka90),23j){var lacenter center -+d.width/2;Q0}else var lacenter center +d.width/2;punchgs.TweenLite.set(c,{transformStyle:preserve-3d,backfaceVisibility:hidden,perspective:2500}),h.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/1e3,{left:oa,rotationX:d.rotate,force3D:auto,opacity:Q,top:0,scale:1,transformPerspective:600,transformOrigin:la,rotationY:ka},{left:0,rotationX:0,autoAlpha:1,top:0,z:0,scale:1,rotationY:0,delay:50*b/500,ease:punchgs.Power2.easeInOut}),0)}),ka90,1y&&(ka-90),g.find(.slotslide).each(function(b){var ca(this);A.add(punchgs.TweenLite.fromTo(c,z/1e3,{left:0,autoAlpha:1,rotationX:0,top:0,z:0,scale:1,force3D:auto,transformPerspective:600,transformOrigin:la,rotationY:0},{left:oa,autoAlpha:1,rotationX:d.rotate,top:0,scale:1,rotationY:ka,delay:50*b/500,ease:punchgs.Power2.easeInOut}),0)})}A.pause(),L(e,d,null,A),punchgs.TweenLite.to(e,.001,{autoAlpha:1});var pa{};pa.slideIndexd.next+1,pa.slidee,c.trigger(revolution.slide.onchange,pa),setTimeout(function(){c.trigger(revolution.slide.onafterswap)},z),c.trigger(revolution.slide.onvideostop)},Dfunction(a,b,c,d,e,f,g){punchgs.TweenLite.to(c.find(.defaultimg),.001,{autoAlpha:1,onComplete:function(){v(a,b,e)}}),e.index()!f.index()&&punchgs.TweenLite.to(f,.2,{autoAlpha:0,onComplete:function(){v(a,b,f)}}),b.actb.next,thumbb.navigationType&&da(a),onc.data(kenburns)&&Y(a,b),a.find(.current-sr-slide-visible).removeClass(current-sr-slide-visible),e.addClass(current-sr-slide-visible),scroll!b.parallax&&scroll+mouse!b.parallax&&mouse+scroll!b.parallax||ba(a,b),g.clear()},Efunction(b){var cb.target.getVideoEmbedCode(),da(#+c.split(id)1.split()0),ed.closest(.tp-simpleresponsive),fd.parent().data(player);if(b.dataYT.PlayerState.PLAYING){var ge.find(.tp-bannertimer),hg.data(opt);muted.closest(.tp-caption).data(volume)&&f.mute(),h.videoplaying!0,e.trigger(stoptimer),e.trigger(revolution.slide.onvideoplay)}else{var ge.find(.tp-bannertimer),hg.data(opt);b.data!-1&&3!b.data&&(h.videoplaying!1,e.trigger(starttimer),e.trigger(revolution.slide.onvideostop)),0b.data&&1h.nextslideatend?h.container.revnext():(h.videoplaying!1,e.trigger(starttimer),e.trigger(revolution.slide.onvideostop))}},Ffunction(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent(b,c,!1)},Gfunction(b,c){var d$f(b),ea(#+b),fe.closest(.tp-simpleresponsive),ge.closest(.tp-caption);setTimeout(function(){d.addEvent(ready,function(b){c&&d.api(play),d.addEvent(play,function(a){var bf.find(.tp-bannertimer),cb.data(opt);c.videoplaying!0,f.trigger(stoptimer),muteg.data(volume)&&d.api(setVolume,0)}),d.addEvent(finish,function(a){var bf.find(.tp-bannertimer),cb.data(opt);c.videoplaying!1,f.trigger(starttimer),f.trigger(revolution.slide.onvideoplay),1c.nextslideatend&&c.container.revnext()}),d.addEvent(pause,function(a){var bf.find(.tp-bannertimer),cb.data(opt);c.videoplaying!1,f.trigger(starttimer),f.trigger(revolution.slide.onvideostop)}),g.find(.tp-thumb-image).click(function(){punchgs.TweenLite.to(a(this),.3,{autoAlpha:0,force3D:auto,ease:punchgs.Power3.easeInOut}),d.api(play)})})},150)},Hfunction(a,c){var dc.width(),ec.height(),fa.data(mediaAspect);fb&&(f1);var gd/e;a.css({position:absolute});a.find(video);gf?punchgs.TweenLite.to(a,1e-4,{width:e*f,force3D:auto,top:0,left:0-(e*f-d)/2,height:e}):punchgs.TweenLite.to(a,1e-4,{width:d,force3D:auto,top:0-(d/f-e)/2,left:0,height:d/f})},Ifunction(){var anew Object;return a.x0,a.y0,a.rotationX0,a.rotationY0,a.rotationZ0,a.scale1,a.scaleX1,a.scaleY1,a.skewX0,a.skewY0,a.opacity0,a.transformOrigincenter, center,a.transformPerspective400,a.rotation0,a},Jfunction(b,c){var dc.split(;);return a.each(d,function(a,c){cc.split(:);var dc0,ec1;rotationXd&&(b.rotationXparseInt(e,0)),rotationYd&&(b.rotationYparseInt(e,0)),rotationZd&&(b.rotationZparseInt(e,0)),rotationZd&&(b.rotationparseInt(e,0)),scaleXd&&(b.scaleXparseFloat(e)),scaleYd&&(b.scaleYparseFloat(e)),opacityd&&(b.opacityparseFloat(e)),skewXd&&(b.skewXparseInt(e,0)),skewYd&&(b.skewYparseInt(e,0)),xd&&(b.xparseInt(e,0)),yd&&(b.yparseInt(e,0)),zd&&(b.zparseInt(e,0)),transformOrigind&&(b.transformOrigine.toString()),transformPerspectived&&(b.transformPerspectiveparseInt(e,0))}),b},Kfunction(b){var cb.split(animation:),dnew Object;d.animationJ(I(),c1);var ec0.split(;);return a.each(e,function(a,b){bb.split(:);var cb0,eb1;typc&&(d.type),speedc&&(d.speedparseInt(e,0)/1e3),startc&&(d.startparseInt(e,0)/1e3),elementdelayc&&(d.elementdelayparseFloat(e)),easec&&(d.easee)}),d},Lfunction(c,d,e,f){function g(){}function h(){}c.data(ctl)b&&c.data(ctl,new punchgs.TimelineLite);var jc.data(ctl),k0,l0,mc.find(.tp-caption),nd.container.find(.tp-static-layers).find(.tp-caption);j.pause(),a.each(n,function(a,b){m.push(b)}),m.each(function(c){var fe,j-1,ma(this);if(m.hasClass(tp-static-layer)){var nm.data(startslide),om.data(endslide);n!-1&&-1!n||m.data(startslide,0),o!-1&&-1!o||m.data(endslide,d.slideamount),0n&&od.slideamount-1&&m.data(endslide,d.slideamount+1),nm.data(startslide),om.data(endslide),m.hasClass(tp-is-shown)?jod.next||n>d.next||od.next?2:0:nd.next&&o>d.next||nd.next||od.next?(m.addClass(tp-is-shown),j1):j0}kd.width/2-d.startwidth*d.bw/2;var pd.bw;d.bh;ond.fullScreen&&(ld.height/2-d.startheight*d.bh/2),(ond.autoHeight||d.minHeight!b&&d.minHeight>0)&&(ld.container.height()/2-d.startheight*d.bh/2),l0&&(l0);var r0;if(d.widthd.hideCaptionAtLimit&&onm.data(captionhidden)?(m.addClass(tp-hidden-caption),r1):d.widthd.hideAllCaptionAtLimit||d.widthd.hideAllCaptionAtLilmit?(m.addClass(tp-hidden-caption),r1):m.removeClass(tp-hidden-caption),0r){if(m.data(linktoslide)b||m.hasClass(hasclicklistener)||(m.addClass(hasclicklistener),m.css({cursor:pointer}),no!m.data(linktoslide)&&m.click(function(){var ba(this),cb.data(linktoslide);next!c&&prev!c?(d.container.data(showus,c),d.container.parent().find(.tp-rightarrow).click()):nextc?d.container.parent().find(.tp-rightarrow).click():prevc&&d.container.parent().find(.tp-leftarrow).click()})),k0&&(k0),m.hasClass(tp-videolayer)||m.find(iframe).length>0||m.find(video).length>0){var siframe+Math.round(1e5*Math.random()+1),tm.data(videowidth),um.data(videoheight),vm.data(videoattributes),wm.data(ytid),xm.data(vimeoid),ym.data(videpreload),zm.data(videomp4),Am.data(videowebm),Bm.data(videoogv),Cm.data(videocontrols),Dhttp,Lloopm.data(videoloop)?loop:loopandnoslidestopm.data(videoloop)?loop:;if(m.data(thumbimage)!b&&m.data(videoposter)b&&m.data(videoposter,m.data(thumbimage)),w!b&&String(w).length>1&&0m.find(iframe).length&&(Dhttps,noneC&&(vv.replace(controls1,controls0),v.toLowerCase().indexOf(controls)-1&&(v+&controls0)),m.append(iframe stylevisible:hidden src+D+://www.youtube.com/embed/+w+?+v+ width+t+ height+u+ stylewidth:+t+px;height:+u+px>/iframe>)),x!b&&String(x).length>1&&0m.find(iframe).length&&(https:location.protocol&&(Dhttps),m.append(iframe stylevisible:hidden src+D+://player.vimeo.com/video/+x+?+v+ width+t+ height+u+ stylewidth:+t+px;height:+u+px>/iframe>)),(z!b||A!b)&&0m.find(video).length){controls!C&&(C);var Nvideo stylevisible:hidden class +L+ preload+y+ width+t+ height+u+;m.data(videoposter)!b&&m.data(videoposter)!b&&(NN+poster+m.data(videoposter)+>),A!b&&firefoxM().toLowerCase()&&(NN+source src+A+ typevideo/webm />),z!b&&(NN+source src+z+ typevideo/mp4 />),B!b&&(NN+source src+B+ typevideo/ogg />),N+/video>,m.append(N),controlsC&&m.append(div classtp-video-controls>div classtp-video-button-wrap>button typebutton classtp-video-button tp-vid-play-pause>Play/button>/div>div classtp-video-seek-bar-wrap>input typerange classtp-seek-bar value0>/div>div classtp-video-button-wrap>button typebutton classtp-video-button tp-vid-mute>Mute/button>/div>div classtp-video-vol-bar-wrap>input typerange classtp-volume-bar min0 max1 step0.1 value1>/div>div classtp-video-button-wrap>button typebutton classtp-video-button tp-vid-full-screen>Full-Screen/button>/div>/div>)}var R!1;1!m.data(autoplayonlyfirsttime)&&true!m.data(autoplayonlyfirsttime)&&1!m.data(autoplay)||(m.data(autoplay,!0),R!0),m.find(iframe).each(function(){var ca(this);if(punchgs.TweenLite.to(c,.1,{autoAlpha:1,zIndex:0,transformStyle:preserve-3d,z:0,rotationX:0,force3D:auto}),W()){var gc.attr(src);c.attr(src,),c.attr(src,g)}if(d.nextslideatendm.data(nextslideatend),m.data(videoposter)!b&&m.data(videoposter).length>2&&1!m.data(autoplay)&&!f&&(0m.find(.tp-thumb-image).length?m.append(div classtp-thumb-image stylecursor:pointer; position:absolute;top:0px;left:0px;width:100%;height:100%;background-image:url(+m.data(videoposter)+); background-size:cover>/div>):punchgs.TweenLite.set(m.find(.tp-thumb-image),{autoAlpha:1})),c.attr(src).toLowerCase().indexOf(youtube)>0)if(c.hasClass(HasListener)){if(!e){var hm.data(player);on!m.data(forcerewind)||W()||h.seekTo(0),(!W()&&1m.data(autoplay)||R)&&m.data(timerplay,setTimeout(function(){h.playVideo()},m.data(start)))}}else try{c.attr(id,s);var h,isetInterval(function(){YT!b&&typeof YT.Player!b&&undefined!typeof YT.Player&&(hnew YT.Player(s,{events:{onStateChange:E,onReady:function(c){var dc.target.getVideoEmbedCode(),ea(#+d.split(id)1.split()0),fe.closest(.tp-caption),gf.data(videorate);f.data(videostart);g!b&&c.target.setPlaybackRate(parseFloat(g)),(!W()&&1f.data(autoplay)||R)&&f.data(timerplay,setTimeout(function(){c.target.playVideo()},f.data(start))),f.find(.tp-thumb-image).click(function(){punchgs.TweenLite.to(a(this),.3,{autoAlpha:0,force3D:auto,ease:punchgs.Power3.easeInOut}),W()||h.playVideo()})}}})),c.addClass(HasListener),m.data(player,h),clearInterval(i)},100)}catch(a){}else if(c.attr(src).toLowerCase().indexOf(vimeo)>0)if(c.hasClass(HasListener)){if(!(e||W()||1!m.data(autoplay)&&on!m.data(forcerewind))){var cm.find(iframe),qc.attr(id),r$f(q);onm.data(forcerewind)&&r.api(seekTo,0),m.data(timerplay,setTimeout(function(){1m.data(autoplay)&&r.api(play)},m.data(start)))}}else{c.addClass(HasListener),c.attr(id,s);for(var o,jc.attr(src),k{},lj,n/(^&+)(^&*)/g;on.exec(l);)kdecodeURIComponent(o1)decodeURIComponent(o2);jk.player_id!b?j.replace(k.player_id,s):j+&player_id+s;try{jj.replace(api0,api1)}catch(a){}j+&api1,c.attr(src,j);var hm.find(iframe)0,psetInterval(function(){$f!b&&typeof $f(s).api!b&&undefined!typeof $f(s).api&&($f(h).addEvent(ready,function(){G(s,R)}),clearInterval(p))},100)}}),(W()&&1m.data(disablevideoonmobile)||i(8))&&m.find(video).remove(),m.find(video).length>0&&m.find(video).each(function(c){var ethis,fa(this);f.parent().hasClass(html5vid)||f.wrap(div classhtml5vid styleposition:relative;top:0px;left:0px;width:auto;height:auto>/div>);var gf.parent();F(e,loadedmetadata,function(a){a.data(metaloaded,1)}(g)),clearInterval(g.data(interval)),g.data(interval,setInterval(function(){if(1g.data(metaloaded)||NaN!e.duration){if(clearInterval(g.data(interval)),!g.hasClass(HasListener)){g.addClass(HasListener),none!m.data(dottedoverlay)&&m.data(dottedoverlay)!b&&1!m.find(.tp-dottedoverlay).length&&g.append(div classtp-dottedoverlay +m.data(dottedoverlay)+>/div>),f.attr(control)b&&(0g.find(.tp-video-play-button).length&&g.append(div classtp-video-play-button>i classrevicon-right-dir>/i>div classtp-revstop>/div>/div>),g.find(video, .tp-poster, .tp-video-play-button).click(function(){g.hasClass(videoisplaying)?e.pause():e.play()})),(1m.data(forcecover)||m.hasClass(fullscreenvideo))&&(1m.data(forcecover)&&(H(g,d.container),g.addClass(fullcoveredvideo),m.addClass(fullcoveredvideo)),g.css({width:100%,height:100%}));var am.find(.tp-vid-play-pause)0,cm.find(.tp-vid-mute)0,hm.find(.tp-vid-full-screen)0,im.find(.tp-seek-bar)0,jm.find(.tp-volume-bar)0;a!b&&(F(a,click,function(){1e.paused?e.play():e.pause()}),F(c,click,function(){0e.muted?(e.muted!0,c.innerHTMLUnmute):(e.muted!1,c.innerHTMLMute)}),F(h,click,function(){e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen&&e.webkitRequestFullscreen()}),F(i,change,function(){var ae.duration*(i.value/100);e.currentTimea}),F(e,timeupdate,function(){var a100/e.duration*e.currentTime;i.valuea}),F(i,mousedown,function(){e.pause()}),F(i,mouseup,function(){e.play()}),F(j,change,function(){e.volumej.value})),F(e,play,function(){mutem.data(volume)&&(e.muted!0),g.addClass(videoisplaying),loopandnoslidestopm.data(videoloop)?(d.videoplaying!1,d.container.trigger(starttimer),d.container.trigger(revolution.slide.onvideostop)):(d.videoplaying!0,d.container.trigger(stoptimer),d.container.trigger(revolution.slide.onvideoplay));var am.find(.tp-vid-play-pause)0,cm.find(.tp-vid-mute)0;a!b&&(a.innerHTMLPause),c!b&&e.muted&&(c.innerHTMLUnmute)}),F(e,pause,function(){g.removeClass(videoisplaying),d.videoplaying!1,d.container.trigger(starttimer),d.container.trigger(revolution.slide.onvideostop);var am.find(.tp-vid-play-pause)0;a!b&&(a.innerHTMLPlay)}),F(e,ended,function(){g.removeClass(videoisplaying),d.videoplaying!1,d.container.trigger(starttimer),d.container.trigger(revolution.slide.onvideostop),1d.nextslideatend&&d.container.revnext()})}var k!1;1!m.data(autoplayonlyfirsttime)&&true!m.data(autoplayonlyfirsttime)||(k!0);var l16/9;if(4:3m.data(aspectratio)&&(l4/3),g.data(mediaAspect,l),1g.closest(.tp-caption).data(forcecover)&&(H(g,d.container),g.addClass(fullcoveredvideo)),f.css({display:block}),d.nextslideatendm.data(nextslideatend),1!m.data(autoplay)&&1!k||(loopandnoslidestopm.data(videoloop)?(d.videoplaying!1,d.container.trigger(starttimer),d.container.trigger(revolution.slide.onvideostop)):(d.videoplaying!0,d.container.trigger(stoptimer),d.container.trigger(revolution.slide.onvideoplay)),on!m.data(forcerewind)||g.hasClass(videoisplaying)||e.currentTime>0&&(e.currentTime0),mutem.data(volume)&&(e.muted!0),g.data(timerplay,setTimeout(function(){on!m.data(forcerewind)||g.hasClass(videoisplaying)||e.currentTime>0&&(e.currentTime0),mutem.data(volume)&&(e.muted!0),e.play()},10+m.data(start)))),g.data(ww)b&&g.data(ww,f.attr(width)),g.data(hh)b&&g.data(hh,f.attr(height)),!m.hasClass(fullscreenvideo)&&1m.data(forcecover))try{g.width(g.data(ww)*d.bw),g.height(g.data(hh)*d.bh)}catch(a){}clearInterval(g.data(interval))}}),100)}),1m.data(autoplay)&&(setTimeout(function(){loopandnoslidestop!m.data(videoloop)&&(d.videoplaying!0,d.container.trigger(stoptimer))},200),loopandnoslidestop!m.data(videoloop)&&(d.videoplaying!0,d.container.trigger(stoptimer)),1!m.data(autoplayonlyfirsttime)&&true!m.data(autoplayonlyfirsttime)||(m.data(autoplay,!1),m.data(autoplayonlyfirsttime,!1)))}var U0,V0;if(m.find(img).length>0){var Xm.find(img);0X.width()&&X.css({width:auto}),0X.height()&&X.css({height:auto}),X.data(ww)b&&X.width()>0&&X.data(ww,X.width()),X.data(hh)b&&X.height()>0&&X.data(hh,X.height());var YX.data(ww),ZX.data(hh);Yb&&(Y0),Zb&&(Z0),X.width(Y*d.bw),X.height(Z*d.bh),UX.width(),VX.height()}else if(m.find(iframe).length>0||m.find(video).length>0){var $!1,Xm.find(iframe);0X.length&&(Xm.find(video),$!0),X.css({display:block}),m.data(ww)b&&m.data(ww,X.width()),m.data(hh)b&&m.data(hh,X.height());var Ym.data(ww),Zm.data(hh),_m;_.data(fsize)b&&_.data(fsize,parseInt(_.css(font-size),0)||0),_.data(pt)b&&_.data(pt,parseInt(_.css(paddingTop),0)||0),_.data(pb)b&&_.data(pb,parseInt(_.css(paddingBottom),0)||0),_.data(pl)b&&_.data(pl,parseInt(_.css(paddingLeft),0)||0),_.data(pr)b&&_.data(pr,parseInt(_.css(paddingRight),0)||0),_.data(mt)b&&_.data(mt,parseInt(_.css(marginTop),0)||0),_.data(mb)b&&_.data(mb,parseInt(_.css(marginBottom),0)||0),_.data(ml)b&&_.data(ml,parseInt(_.css(marginLeft),0)||0),_.data(mr)b&&_.data(mr,parseInt(_.css(marginRight),0)||0),_.data(bt)b&&_.data(bt,parseInt(_.css(borderTop),0)||0),_.data(bb)b&&_.data(bb,parseInt(_.css(borderBottom),0)||0),_.data(bl)b&&_.data(bl,parseInt(_.css(borderLeft),0)||0),_.data(br)b&&_.data(br,parseInt(_.css(borderRight),0)||0),_.data(lh)b&&_.data(lh,parseInt(_.css(lineHeight),0)||0),auto_.data(lh)&&_.data(lh,_.data(fsize)+4);var aad.width,bad.height;if(aa>d.startwidth&&(aad.startwidth),ba>d.startheight&&(bad.startheight),m.hasClass(fullscreenvideo)){k0,l0,m.data(x,0),m.data(y,0);var cad.height;ond.autoHeight&&(cad.container.height()),m.css({width:d.width,height:ca})}else m.css({font-size:_.data(fsize)*d.bw+px,padding-top:_.data(pt)*d.bh+px,padding-bottom:_.data(pb)*d.bh+px,padding-left:_.data(pl)*d.bw+px,padding-right:_.data(pr)*d.bw+px,margin-top:_.data(mt)*d.bh+px,margin-bottom:_.data(mb)*d.bh+px,margin-left:_.data(ml)*d.bw+px,margin-right:_.data(mr)*d.bw+px,border-top:_.data(bt)*d.bh+px,border-bottom:_.data(bb)*d.bh+px,border-left:_.data(bl)*d.bw+px,border-right:_.data(br)*d.bw+px,line-height:_.data(lh)*d.bh+px,height:Z*d.bh+px});0$?(X.width(Y*d.bw),X.height(Z*d.bh)):1m.data(forcecover)||m.hasClass(fullscreenvideo)||(X.width(Y*d.bw),X.height(Z*d.bh)),UX.width(),VX.height()}else{m.find(.tp-resizeme, .tp-resizeme *).each(function(){O(a(this),d)}),m.hasClass(tp-resizeme)&&m.find(*).each(function(){O(a(this),d)}),O(m,d),Vm.outerHeight(!0),Um.outerWidth(!0);var dam.outerHeight(),eam.css(backgroundColor);m.find(.frontcorner).css({borderWidth:da+px,left:0-da+px,borderRight:0px solid transparent,borderTopColor:ea}),m.find(.frontcornertop).css({borderWidth:da+px,left:0-da+px,borderRight:0px solid transparent,borderBottomColor:ea}),m.find(.backcorner).css({borderWidth:da+px,right:0-da+px,borderLeft:0px solid transparent,borderBottomColor:ea}),m.find(.backcornertop).css({borderWidth:da+px,right:0-da+px,borderLeft:0px solid transparent,borderTopColor:ea})}ond.fullScreenAlignForce&&(k0,l0),m.data(voffset)b&&m.data(voffset,0),m.data(hoffset)b&&m.data(hoffset,0);var fam.data(voffset)*p,gam.data(hoffset)*p,had.startwidth*p,iad.startheight*p;ond.fullScreenAlignForce&&(had.container.width(),iad.container.height()),center!m.data(x)&¢er!m.data(xcenter)||(m.data(xcenter,center),m.data(x,ha/2-m.outerWidth(!0)/2+ga)),left!m.data(x)&&left!m.data(xleft)||(m.data(xleft,left),m.data(x,0/p+ga)),right!m.data(x)&&right!m.data(xright)||(m.data(xright,right),m.data(x,(ha-m.outerWidth(!0)+ga)/p)),center!m.data(y)&¢er!m.data(ycenter)||(m.data(ycenter,center),m.data(y,ia/2-m.outerHeight(!0)/2+fa)),top!m.data(y)&&top!m.data(ytop)||(m.data(ytop,top),m.data(y,0/d.bh+fa)),bottom!m.data(y)&&bottom!m.data(ybottom)||(m.data(ybottom,bottom),m.data(y,(ia-m.outerHeight(!0)+fa)/p)),m.data(start)b&&m.data(start,1e3);var jam.data(easing);jab&&(japunchgs.Power1.easeOut);var kam.data(start)/1e3,lam.data(speed)/1e3;if(centerm.data(x)||centerm.data(xcenter))var mam.data(x)+k;else var map*m.data(x)+k;if(centerm.data(y)||centerm.data(ycenter))var nam.data(y)+l;else var nad.bh*m.data(y)+l;if(punchgs.TweenLite.set(m,{top:na,left:ma,overwrite:auto}),0j&&(f!0),m.data(timeline)b||f||(2!j&&m.data(timeline).gotoAndPlay(0),f!0),!f){m.data(timeline)!b;var oanew punchgs.TimelineLite({smoothChildTiming:!0,onStart:h});oa.pause(),ond.fullScreenAlignForce;var pam;m.data(mySplitText)!b&&m.data(mySplitText).revert(),chars!m.data(splitin)&&words!m.data(splitin)&&lines!m.data(splitin)&&chars!m.data(splitout)&&words!m.data(splitout)&&lines!m.data(splitout)||(m.find(a).length>0?m.data(mySplitText,new punchgs.SplitText(m.find(a),{type:lines,words,chars,charsClass:tp-splitted,wordsClass:tp-splitted,linesClass:tp-splitted})):m.find(.tp-layer-inner-rotation).length>0?m.data(mySplitText,new punchgs.SplitText(m.find(.tp-layer-inner-rotation),{type:lines,words,chars,charsClass:tp-splitted,wordsClass:tp-splitted,linesClass:tp-splitted})):m.data(mySplitText,new punchgs.SplitText(m,{type:lines,words,chars,charsClass:tp-splitted,wordsClass:tp-splitted,linesClass:tp-splitted})),m.addClass(splitted)),charsm.data(splitin)&&(pam.data(mySplitText).chars),wordsm.data(splitin)&&(pam.data(mySplitText).words),linesm.data(splitin)&&(pam.data(mySplitText).lines);var qaI(),raI();m.data(repeat)!b&&(repeatVm.data(repeat)),m.data(yoyo)!b&&(yoyoVm.data(yoyo)),m.data(repeatdelay)!b&&(repeatdelayVm.data(repeatdelay));var sam.attr(class);sa.match(customin)?qaJ(qa,m.data(customin)):sa.match(randomrotate)?(qa.scale3*Math.random()+1,qa.rotationMath.round(200*Math.random()-100),qa.xMath.round(200*Math.random()-100),qa.yMath.round(200*Math.random()-100)):sa.match(lfr)||sa.match(skewfromright)?qa.x15+d.width:sa.match(lfl)||sa.match(skewfromleft)?qa.x-15-U:sa.match(sfl)||sa.match(skewfromleftshort)?qa.x-50:sa.match(sfr)||sa.match(skewfromrightshort)?qa.x50:sa.match(lft)?qa.y-25-V:sa.match(lfb)?qa.y25+d.height:sa.match(sft)?qa.y-50:sa.match(sfb)&&(qa.y50),sa.match(skewfromright)||m.hasClass(skewfromrightshort)?qa.skewX-85:(sa.match(skewfromleft)||m.hasClass(skewfromleftshort))&&(qa.skewX85),(sa.match(fade)||sa.match(sft)||sa.match(sfl)||sa.match(sfb)||sa.match(skewfromleftshort)||sa.match(sfr)||sa.match(skewfromrightshort))&&(qa.opacity0),safariM().toLowerCase();var tam.data(elementdelay)b?0:m.data(elementdelay);ra.easeqa.easem.data(easing)b?punchgs.Power1.easeInOut:m.data(easing),qa.datanew Object,qa.data.oldxqa.x,qa.data.oldyqa.y,ra.datanew Object,ra.data.oldxra.x,ra.data.oldyra.y,qa.xqa.x*p,qa.yqa.y*p;var uanew punchgs.TimelineLite;if(2!j)if(sa.match(customin))pa!m&&oa.add(punchgs.TweenLite.set(m,{force3D:auto,opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:visible,delay:0,overwrite:all})),qa.visibilityhidden,ra.visibilityvisible,ra.overwriteall,ra.opacity1,ra.onCompleteg(),ra.delayka,ra.force3Dauto,oa.add(ua.staggerFromTo(pa,la,qa,ra,ta),frame0);else if(qa.visibilityvisible,qa.transformPerspective600,pa!m&&oa.add(punchgs.TweenLite.set(m,{force3D:auto,opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:visible,delay:0,overwrite:all})),ra.visibilityvisible,ra.delayka,ra.onCompleteg(),ra.opacity1,ra.force3Dauto,sa.match(randomrotate)&&pa!m)for(var c0;cpa.length;c++){var vanew Object,wanew Object;a.extend(va,qa),a.extend(wa,ra),qa.scale3*Math.random()+1,qa.rotationMath.round(200*Math.random()-100),qa.xMath.round(200*Math.random()-100),qa.yMath.round(200*Math.random()-100),0!c&&(wa.delayka+c*ta),oa.append(punchgs.TweenLite.fromTo(pac,la,va,wa),frame0)}else oa.add(ua.staggerFromTo(pa,la,qa,ra,ta),frame0);m.data(timeline,oa);new Array;if(m.data(frames)!b){var yam.data(frames);yaya.replace(/\s+/g,),yaya.replace({,);var zaya.split(});a.each(za,function(a,b){if(b.length>0){var cK(b);S(m,d,c,frame+(a+10),p)}})}oam.data(timeline),m.data(end)b||j!-1&&2!j?j-1||2j?T(m,d,999999,qa,frame99,p):T(m,d,200,qa,frame99,p):T(m,d,m.data(end)/1e3,qa,frame99,p),oam.data(timeline),m.data(timeline,oa),P(m,p),oa.resume()}}if(f&&(Q(m),P(m,p),m.data(timeline)!b)){var Aam.data(timeline).getTweensOf();a.each(Aa,function(a,c){if(c.vars.data!b){var dc.vars.data.oldx*p,ec.vars.data.oldy*p;if(1!c.progress()&&0!c.progress())try{c.vars.xd,c.vary.ye}catch(a){}else 1c.progress()&&punchgs.TweenLite.set(c.target,{x:d,y:e})}})}});var oa(body).find(#+d.container.attr(id)).find(.tp-bannertimer);o.data(opt,d),f!b&&setTimeout(function(){f.resume()},30)},Mfunction(){var c,anavigator.appName,bnavigator.userAgent,db.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return d&&null!(cb.match(/version\/(\.\d+)/i))&&(d2c1),dd?d1,d2:a,navigator.appVersion,-?,d0},Ofunction(a,c){a.data(fsize)b&&a.data(fsize,parseInt(a.css(font-size),0)||0),a.data(pt)b&&a.data(pt,parseInt(a.css(paddingTop),0)||0),a.data(pb)b&&a.data(pb,parseInt(a.css(paddingBottom),0)||0),a.data(pl)b&&a.data(pl,parseInt(a.css(paddingLeft),0)||0),a.data(pr)b&&a.data(pr,parseInt(a.css(paddingRight),0)||0),a.data(mt)b&&a.data(mt,parseInt(a.css(marginTop),0)||0),a.data(mb)b&&a.data(mb,parseInt(a.css(marginBottom),0)||0),a.data(ml)b&&a.data(ml,parseInt(a.css(marginLeft),0)||0),a.data(mr)b&&a.data(mr,parseInt(a.css(marginRight),0)||0),a.data(bt)b&&a.data(bt,parseInt(a.css(borderTopWidth),0)||0),a.data(bb)b&&a.data(bb,parseInt(a.css(borderBottomWidth),0)||0),a.data(bl)b&&a.data(bl,parseInt(a.css(borderLeftWidth),0)||0),a.data(br)b&&a.data(br,parseInt(a.css(borderRightWidth),0)||0),a.data(ls)b&&a.data(ls,parseInt(a.css(letterSpacing),0)||0),a.data(lh)b&&a.data(lh,parseInt(a.css(lineHeight),0)||auto),a.data(minwidth)b&&a.data(minwidth,parseInt(a.css(minWidth),0)||0),a.data(minheight)b&&a.data(minheight,parseInt(a.css(minHeight),0)||0),a.data(maxwidth)b&&a.data(maxwidth,parseInt(a.css(maxWidth),0)||none),a.data(maxheight)b&&a.data(maxheight,parseInt(a.css(maxHeight),0)||none),a.data(wii)b&&a.data(wii,parseInt(a.css(width),0)||0),a.data(hii)b&&a.data(hii,parseInt(a.css(height),0)||0),a.data(wan)b&&a.data(wan,a.css(-webkit-transition)),a.data(moan)b&&a.data(moan,a.css(-moz-animation-transition)),a.data(man)b&&a.data(man,a.css(-ms-animation-transition)),a.data(ani)b&&a.data(ani,a.css(transition)),autoa.data(lh)&&a.data(lh,a.data(fsize)+4),a.hasClass(tp-splitted)||(a.css(-webkit-transition,none),a.css(-moz-transition,none),a.css(-ms-transition,none),a.css(transition,none),punchgs.TweenLite.set(a,{fontSize:Math.round(a.data(fsize)*c.bw)+px,letterSpacing:Math.floor(a.data(ls)*c.bw)+px,paddingTop:Math.round(a.data(pt)*c.bh)+px,paddingBottom:Math.round(a.data(pb)*c.bh)+px,paddingLeft:Math.round(a.data(pl)*c.bw)+px,paddingRight:Math.round(a.data(pr)*c.bw)+px,marginTop:a.data(mt)*c.bh+px,marginBottom:a.data(mb)*c.bh+px,marginLeft:a.data(ml)*c.bw+px,marginRight:a.data(mr)*c.bw+px,borderTopWidth:Math.round(a.data(bt)*c.bh)+px,borderBottomWidth:Math.round(a.data(bb)*c.bh)+px,borderLeftWidth:Math.round(a.data(bl)*c.bw)+px,borderRightWidth:Math.round(a.data(br)*c.bw)+px,lineHeight:Math.round(a.data(lh)*c.bh)+px,minWidth:a.data(minwidth)*c.bw+px,minHeight:a.data(minheight)*c.bh+px,overwrite:auto}),setTimeout(function(){a.css(-webkit-transition,a.data(wan)),a.css(-moz-transition,a.data(moan)),a.css(-ms-transition,a.data(man)),a.css(transition,a.data(ani))},30),none!a.data(maxheight)&&a.css({maxHeight:a.data(maxheight)*c.bh+px}),none!a.data(maxwidth)&&a.css({maxWidth:a.data(maxwidth)*c.bw+px}))},Pfunction(c,d){c.find(.rs-pendulum).each(function(){var ca(this);if(c.data(timeline)b){c.data(timeline,new punchgs.TimelineLite);var ec.data(startdeg)b?-20:c.data(startdeg),fc.data(enddeg)b?20:c.data(enddeg),gc.data(speed)b?2:c.data(speed),hc.data(origin)b?50% 50%:c.data(origin),ic.data(easing)b?punchgs.Power2.easeInOut:c.data(ease);e*d,f*d,c.data(timeline).append(new punchgs.TweenLite.fromTo(c,g,{force3D:auto,rotation:e,transformOrigin:h},{rotation:f,ease:i})),c.data(timeline).append(new punchgs.TweenLite.fromTo(c,g,{force3D:auto,rotation:f,transformOrigin:h},{rotation:e,ease:i,onComplete:function(){c.data(timeline).restart()}}))}}),c.find(.rs-rotate).each(function(){var ca(this);if(c.data(timeline)b){c.data(timeline,new punchgs.TimelineLite);var ec.data(startdeg)b?0:c.data(startdeg),fc.data(enddeg)b?360:c.data(enddeg);speedc.data(speed)b?2:c.data(speed),originc.data(origin)b?50% 50%:c.data(origin),easingc.data(easing)b?punchgs.Power2.easeInOut:c.data(easing),e*d,f*d,c.data(timeline).append(new punchgs.TweenLite.fromTo(c,speed,{force3D:auto,rotation:e,transformOrigin:origin},{rotation:f,ease:easing,onComplete:function(){c.data(timeline).restart()}}))}}),c.find(.rs-slideloop).each(function(){var ca(this);if(c.data(timeline)b){c.data(timeline,new punchgs.TimelineLite);var ec.data(xs)b?0:c.data(xs),fc.data(ys)b?0:c.data(ys),gc.data(xe)b?0:c.data(xe),hc.data(ye)b?0:c.data(ye),ic.data(speed)b?2:c.data(speed),jc.data(easing)b?punchgs.Power2.easeInOut:c.data(easing);e*d,f*d,g*d,h*d,c.data(timeline).append(new punchgs.TweenLite.fromTo(c,i,{force3D:auto,x:e,y:f},{x:g,y:h,ease:j})),c.data(timeline).append(new punchgs.TweenLite.fromTo(c,i,{force3D:auto,x:g,y:h},{x:e,y:f,onComplete:function(){c.data(timeline).restart()}}))}}),c.find(.rs-pulse).each(function(){var ca(this);if(c.data(timeline)b){c.data(timeline,new punchgs.TimelineLite);var dc.data(zoomstart)b?0:c.data(zoomstart),ec.data(zoomend)b?0:c.data(zoomend),fc.data(speed)b?2:c.data(speed),gc.data(easing)b?punchgs.Power2.easeInOut:c.data(easing);c.data(timeline).append(new punchgs.TweenLite.fromTo(c,f,{force3D:auto,scale:d},{scale:e,ease:g})),c.data(timeline).append(new punchgs.TweenLite.fromTo(c,f,{force3D:auto,scale:e},{scale:d,onComplete:function(){c.data(timeline).restart()}}))}}),c.find(.rs-wave).each(function(){var ca(this);if(c.data(timeline)b){c.data(timeline,new punchgs.TimelineLite);var ec.data(angle)b?10:c.data(angle),fc.data(radius)b?10:c.data(radius),gc.data(speed)b?-20:c.data(speed);c.data(origin)b?-20:c.data(origin);e*d,f*d;var i{a:0,ang:e,element:c,unit:f};c.data(timeline).append(new punchgs.TweenLite.fromTo(i,g,{a:360},{a:0,force3D:auto,ease:punchgs.Linear.easeNone,onUpdate:function(){var ai.a*(Math.PI/180);punchgs.TweenLite.to(i.element,.1,{force3D:auto,x:Math.cos(a)*i.unit,y:i.unit*(1-Math.sin(a))})},onComplete:function(){c.data(timeline).restart()}}))}})},Qfunction(c){c.find(.rs-pendulum, .rs-slideloop, .rs-pulse, .rs-wave).each(function(){var ca(this);c.data(timeline)!b&&(c.data(timeline).pause(),c.data(timeline,null))})},Rfunction(c,d){var e0,fc.find(.tp-caption),gd.container.find(.tp-static-layers).find(.tp-caption);return a.each(g,function(a,b){f.push(b)}),f.each(function(c){var f-1,ga(this);if(g.hasClass(tp-static-layer)&&(g.data(startslide)!-1&&-1!g.data(startslide)||g.data(startslide,0),g.data(endslide)!-1&&-1!g.data(endslide)||g.data(endslide,d.slideamount),g.hasClass(tp-is-shown)?g.data(startslide)>d.next||g.data(endslide)d.next?(f2,g.removeClass(tp-is-shown)):f0:f2),0!f){if(Q(g),g.find(iframe).length>0){punchgs.TweenLite.to(g.find(iframe),.2,{autoAlpha:0}),W()&&g.find(iframe).remove();try{var hg.find(iframe),ih.attr(id),j$f(i);j.api(pause),clearTimeout(g.data(timerplay))}catch(a){}try{var kg.data(player);k.stopVideo(),clearTimeout(g.data(timerplay))}catch(a){}}if(g.find(video).length>0)try{g.find(video).each(function(b){var ca(this).parent();c.attr(id);clearTimeout(c.data(timerplay));var ethis;e.pause()})}catch(a){}try{var lg.data(timeline),ml.getLabelTime(frame99),nl.time();if(m>n){var ol.getTweensOf(g);if(a.each(o,function(a,b){0!a&&b.pause()}),0!g.css(opacity)){var pg.data(endspeed)b?g.data(speed):g.data(endspeed);p>e&&(ep),l.play(frame99)}else l.progress(1,!1)}}catch(a){}}}),e},Sfunction(a,c,d,e,f){var ga.data(timeline),hnew punchgs.TimelineLite,ia;charsd.typ?ia.data(mySplitText).chars:wordsd.typ?ia.data(mySplitText).words:linesd.typ&&(ia.data(mySplitText).lines),d.animation.eased.ease,d.animation.rotationZ!b&&(d.animation.rotationd.animation.rotationZ),d.animation.datanew Object,d.animation.data.oldxd.animation.x,d.animation.data.oldyd.animation.y,d.animation.xd.animation.x*f,d.animation.yd.animation.y*f,g.add(h.staggerTo(i,d.speed,d.animation,d.elementdelay),d.start),g.addLabel(e,d.start),a.data(timeline,g)},Tfunction(a,c,d,e,f,g){var ha.data(timeline),inew punchgs.TimelineLite,jI(),ka.data(endspeed)b?a.data(speed):a.data(endspeed),la.attr(class);if(j.easea.data(endeasing)b?punchgs.Power1.easeInOut:a.data(endeasing),k/1e3,l.match(ltr)||l.match(ltl)||l.match(str)||l.match(stl)||l.match(ltt)||l.match(ltb)||l.match(stt)||l.match(stb)||l.match(skewtoright)||l.match(skewtorightshort)||l.match(skewtoleft)||l.match(skewtoleftshort)||l.match(fadeout)||l.match(randomrotateout)){l.match(skewtoright)||l.match(skewtorightshort)?j.skewX35:(l.match(skewtoleft)||l.match(skewtoleftshort))&&(j.skewX-35),l.match(ltr)||l.match(skewtoright)?j.xc.width+60:l.match(ltl)||l.match(skewtoleft)?j.x0-(c.width+60):l.match(ltt)?j.y0-(c.height+60):l.match(ltb)?j.yc.height+60:l.match(str)||l.match(skewtorightshort)?(j.x50,j.opacity0):l.match(stl)||l.match(skewtoleftshort)?(j.x-50,j.opacity0):l.match(stt)?(j.y-50,j.opacity0):l.match(stb)?(j.y50,j.opacity0):l.match(randomrotateout)?(j.xMath.random()*c.width,j.yMath.random()*c.height,j.scale2*Math.random()+.3,j.rotation360*Math.random()-180,j.opacity0):l.match(fadeout)&&(j.opacity0),l.match(skewtorightshort)?j.x270:l.match(skewtoleftshort)&&(j.x-270),j.datanew Object,j.data.oldxj.x,j.data.oldyj.y,j.xj.x*g,j.yj.y*g,j.overwriteauto;var ma,ma;charsa.data(splitout)?ma.data(mySplitText).chars:wordsa.data(splitout)?ma.data(mySplitText).words:linesa.data(splitout)&&(ma.data(mySplitText).lines);var na.data(endelementdelay)b?0:a.data(endelementdelay);h.add(i.staggerTo(m,k,j,n),d)}else if(a.hasClass(customout)){jJ(j,a.data(customout));var ma;charsa.data(splitout)?ma.data(mySplitText).chars:wordsa.data(splitout)?ma.data(mySplitText).words:linesa.data(splitout)&&(ma.data(mySplitText).lines);var na.data(endelementdelay)b?0:a.data(endelementdelay);j.onStartfunction(){punchgs.TweenLite.set(a,{transformPerspective:j.transformPerspective,transformOrigin:j.transformOrigin,overwrite:auto})},j.datanew Object,j.data.oldxj.x,j.data.oldyj.y,j.xj.x*g,j.yj.y*g,h.add(i.staggerTo(m,k,j,n),d)}else e.delay0,h.add(punchgs.TweenLite.to(a,k,e),d);h.addLabel(f,d),a.data(timeline,h)},Ufunction(b,c){b.children().each(function(){try{a(this).die(click)}catch(a){}try{a(this).die(mouseenter)}catch(a){}try{a(this).die(mouseleave)}catch(a){}try{a(this).unbind(hover)}catch(a){}});try{b.die(click,mouseenter,mouseleave)}catch(a){}clearInterval(c.cdint),bnull},Vfunction(c,d){if(d.cd0,d.loop0,d.stopAfterLoops!b&&d.stopAfterLoops>-1?d.looptogod.stopAfterLoops:d.looptogo9999999,d.stopAtSlide!b&&d.stopAtSlide>-1?d.lastslidetoshowd.stopAtSlide:d.lastslidetoshow999,d.stopLoopoff,0d.looptogo&&(d.stopLoopon),d.slideamount>1&&(0!d.stopAfterLoops||1!d.stopAtSlide)){var ec.find(.tp-bannertimer);c.on(stoptimer,function(){var ba(this).find(.tp-bannertimer);b.data(tween).pause(),ond.hideTimerBar&&b.css({visibility:hidden})}),c.on(starttimer,function(){1!d.conthover&&1!d.videoplaying&&d.width>d.hideSliderAtLimit&&1!d.bannertimeronpause&&1!d.overnav&&(ond.stopLoop&&d.nextd.lastslidetoshow-1||1d.noloopanymore?d.noloopanymore1:(e.css({visibility:visible}),e.data(tween).resume())),ond.hideTimerBar&&e.css({visibility:hidden})}),c.on(restarttimer,function(){var ba(this).find(.tp-bannertimer);ond.stopLoop&&d.nextd.lastslidetoshow-1||1d.noloopanymore?d.noloopanymore1:(b.css({visibility:visible}),b.data(tween).kill(),b.data(tween,punchgs.TweenLite.fromTo(b,d.delay/1e3,{width:0%},{force3D:auto,width:100%,ease:punchgs.Linear.easeNone,onComplete:f,delay:1}))),ond.hideTimerBar&&b.css({visibility:hidden})}),c.on(nulltimer,function(){e.data(tween).pause(0),ond.hideTimerBar&&e.css({visibility:hidden})});var ffunction(){0a(body).find(c).length&&(U(c,d),clearInterval(d.cdint)),c.trigger(revolution.slide.slideatend),1c.data(conthover-changed)&&(d.conthoverc.data(conthover),c.data(conthover-changed,0)),d.actd.next,d.nextd.next+1,d.next>c.find(>ul >li).length-1&&(d.next0,d.looptogod.looptogo-1,d.looptogo0&&(d.stopLoopon)),ond.stopLoop&&d.nextd.lastslidetoshow-1?(c.find(.tp-bannertimer).css({visibility:hidden}),c.trigger(revolution.slide.onstop),d.noloopanymore1):e.data(tween).restart(),z(c,d)};e.data(tween,punchgs.TweenLite.fromTo(e,d.delay/1e3,{width:0%},{force3D:auto,width:100%,ease:punchgs.Linear.easeNone,onComplete:f,delay:1})),e.data(opt,d),c.hover(function(){if(ond.onHoverStop&&!W()){c.trigger(stoptimer),c.trigger(revolution.slide.onpause);var ec.find(>ul >li:eq(+d.next+) .slotholder);e.find(.defaultimg).each(function(){var ca(this);c.data(kenburn)!b&&c.data(kenburn).pause()})}},function(){if(1!c.data(conthover)){c.trigger(revolution.slide.onresume),c.trigger(starttimer);var ec.find(>ul >li:eq(+d.next+) .slotholder);e.find(.defaultimg).each(function(){var ca(this);c.data(kenburn)!b&&c.data(kenburn).play()})}})}},Wfunction(){var aandroid,webos,iphone,ipad,blackberry,Android,webos,,iPod,iPhone,iPad,Blackberry,BlackBerry,b!1;for(var c in a)navigator.userAgent.split(ac).length>1&&(b!0);return b},Xfunction(a,b,c){var db.data(owidth),eb.data(oheight);if(d/e>c.width/c.height){var fc.container.width()/d,ge*f,hg/c.container.height()*a;return a*100/h,h100,aa,a+% +h+% 1}var fc.container.width()/d,ge*f,hg/c.container.height()*a;return a+% +h+%},Yfunction(c,d,e,f){try{c.find(>ul:first-child >li:eq(+d.act+))}catch(a){c.find(>ul:first-child >li:eq(1))}d.lastslided.act;var hc.find(>ul:first-child >li:eq(+d.next+)),jh.find(.slotholder),kj.data(bgposition),lj.data(bgpositionend),mj.data(zoomstart)/100,nj.data(zoomend)/100,oj.data(rotationstart),pj.data(rotationend),qj.data(bgfit),rj.data(bgfitend),sj.data(easeme),tj.data(duration)/1e3,u100;qb&&(q100),rb&&(r100);var vq,wr;qX(q,j,d),rX(r,j,d),uX(100,j,d),mb&&(m1),nb&&(n1),ob&&(o0),pb&&(p0),m1&&(m1),n1&&(n1);var xnew Object;x.wparseInt(u.split( )0,0),x.hparseInt(u.split( )1,0);var y!1;1u.split( )2&&(y!0),j.find(.defaultimg).each(function(){var ba(this);0j.find(.kenburnimg).length?j.append(div classkenburnimg styleposition:absolute;z-index:1;width:100%;height:100%;top:0px;left:0px;>img src+b.attr(src)+ style-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;position:absolute;width:+x.w+%;height:+x.h+%;>/div>):j.find(.kenburnimg img).css({width:x.w+%,height:x.h+%});var cj.find(.kenburnimg img),eZ(d,k,q,c,y),gZ(d,l,r,c,y);if(y&&(e.wv/100,g.ww/100),f){punchgs.TweenLite.set(c,{autoAlpha:0,transformPerspective:1200,transformOrigin:0% 0%,top:0,left:0,scale:e.w,x:e.x,y:e.y});var he.w,mh*c.width()-d.width,nh*c.height()-d.height,oMath.abs(e.x/m*100),uMath.abs(e.y/n*100);0n&&(u0),0m&&(o0),b.data(bgposition,o+% +u+%),i(8)||b.data(currotate,$(c)),i(8)||b.data(curscale,x.w*h+% +(x.h*h+%)),j.find(.kenburnimg).remove()}else b.data(kenburn,punchgs.TweenLite.fromTo(c,t,{autoAlpha:1,force3D:punchgs.force3d,transformOrigin:0% 0%,top:0,left:0,scale:e.w,x:e.x,y:e.y},{autoAlpha:1,rotationZ:p,ease:s,x:g.x,y:g.y,scale:g.w,onUpdate:function(){var ac0._gsTransform.scaleX,ea*c.width()-d.width,fa*c.height()-d.height,gMath.abs(c0._gsTransform.x/e*100),hMath.abs(c0._gsTransform.y/f*100);0f&&(h0),0e&&(g0),b.data(bgposition,g+% +h+%),i(8)||b.data(currotate,$(c)),i(8)||b.data(curscale,x.w*a+% +(x.h*a+%))}}))})},Zfunction(a,b,c,d,e){var fnew Object;switch(e?f.wparseInt(c.split( )1,0)/100:f.wparseInt(c.split( )0,0)/100,b){caseleft top:casetop left:f.x0,f.y0;break;casecenter top:casetop center:f.x((0-d.width())*f.w+parseInt(a.width,0))/2,f.y0;break;casetop right:caseright top:f.x(0-d.width())*f.w+parseInt(a.width,0),f.y0;break;casecenter left:caseleft center:f.x0,f.y((0-d.height())*f.w+parseInt(a.height,0))/2;break;casecenter center:f.x((0-d.width())*f.w+parseInt(a.width,0))/2,f.y((0-d.height())*f.w+parseInt(a.height,0))/2;break;casecenter right:caseright center:f.x(0-d.width())*f.w+parseInt(a.width,0),f.y((0-d.height())*f.w+parseInt(a.height,0))/2;break;casebottom left:caseleft bottom:f.x0,f.y(0-d.height())*f.w+parseInt(a.height,0);break;casebottom center:casecenter bottom:f.x((0-d.width())*f.w+parseInt(a.width,0))/2,f.y(0-d.height())*f.w+parseInt(a.height,0);break;casebottom right:caseright bottom:f.x(0-d.width())*f.w+parseInt(a.width,0),f.y(0-d.height())*f.w+parseInt(a.height,0)}return f},$function(a){var ba.css(-webkit-transform)||a.css(-moz-transform)||a.css(-ms-transform)||a.css(-o-transform)||a.css(transform);if(none!b)var cb.split(()1.split())0.split(,),dc0,ec1,fMath.round(Math.atan2(e,d)*(180/Math.PI));else var f0;return f0?f+360:f},_function(c,d){try{var ec.find(>ul:first-child >li:eq(+d.act+))}catch(a){var ec.find(>ul:first-child >li:eq(1))}d.lastslided.act;var fc.find(>ul:first-child >li:eq(+d.next+));e.find(.slotholder),f.find(.slotholder);c.find(.defaultimg).each(function(){var ca(this);punchgs.TweenLite.killTweensOf(c,!1),punchgs.TweenLite.set(c,{scale:1,rotationZ:0}),punchgs.TweenLite.killTweensOf(c.data(kenburn img),!1),c.data(kenburn)!b&&c.data(kenburn).pause(),c.data(currotate)!b&&c.data(bgposition)!b&&c.data(curscale)!b&&punchgs.TweenLite.set(c,{rotation:c.data(currotate),backgroundPosition:c.data(bgposition),backgroundSize:c.data(curscale)}),c!b&&c.data(kenburn img)!b&&c.data(kenburn img).length>0&&punchgs.TweenLite.set(c.data(kenburn img),{autoAlpha:0})})},aafunction(b,c){return(!W()||on!c.parallaxDisableOnMobile)&&(b.find(>ul:first-child >li).each(function(){for(var ba(this),d1;d10;d++)b.find(.rs-parallaxlevel-+d).each(function(){var ba(this);b.wrap(div styleposition:absolute;top:0px;left:0px;width:100%;height:100%;z-index:+b.css(zIndex)+ classtp-parallax-container data-parallaxlevel+c.parallaxLevelsd-1+>/div>)})}),mouse!c.parallax&&scroll+mouse!c.parallax&&mouse+scroll!c.parallax||(b.mouseenter(function(a){var cb.find(.current-sr-slide-visible),db.offset().top,eb.offset().left,fa.pageX-e,ga.pageY-d;c.data(enterx,f),c.data(entery,g)}),b.on(mousemove.hoverdir, mouseleave.hoverdir,function(d){var eb.find(.current-sr-slide-visible);switch(d.type){casemousemove:var fb.offset().top,gb.offset().left,he.data(enterx),ie.data(entery),jh-(d.pageX-g),ki-(d.pageY-f);e.find(.tp-parallax-container).each(function(){var ba(this),dparseInt(b.data(parallaxlevel),0)/100,ej*d,fk*d;scroll+mousec.parallax||mouse+scrollc.parallax?punchgs.TweenLite.to(b,.4,{force3D:auto,x:e,ease:punchgs.Power3.easeOut,overwrite:all}):punchgs.TweenLite.to(b,.4,{force3D:auto,x:e,y:f,ease:punchgs.Power3.easeOut,overwrite:all})});break;casemouseleave:e.find(.tp-parallax-container).each(function(){var ba(this);scroll+mousec.parallax||mouse+scrollc.parallax?punchgs.TweenLite.to(b,1.5,{force3D:auto,x:0,ease:punchgs.Power3.easeOut}):punchgs.TweenLite.to(b,1.5,{force3D:auto,x:0,y:0,ease:punchgs.Power3.easeOut})})}}),W()&&(window.ondeviceorientationfunction(c){var dMath.round(c.beta||0),eMath.round(c.gamma||0),fb.find(.current-sr-slide-visible);if(a(window).width()>a(window).height()){var ge;ed,dg}var h360/b.width()*e,i180/b.height()*d;f.find(.tp-parallax-container).each(function(){var ba(this),cparseInt(b.data(parallaxlevel),0)/100,dh*c,ei*c;punchgs.TweenLite.to(b,.2,{force3D:auto,x:d,y:e,ease:punchgs.Power3.easeOut})})})),void(scroll!c.parallax&&scroll+mouse!c.parallax&&mouse+scroll!c.parallax||a(window).on(scroll,function(a){ba(b,c)})))},bafunction(b,c){if(W()&&onc.parallaxDisableOnMobile)return!1;var db.offset().top,ea(window).scrollTop(),fd+b.height()/2,gd+b.height()/2-e,ha(window).height()/2,ih-g;fh&&(i-h-f);b.find(.current-sr-slide-visible);if(b.find(.tp-parallax-container).each(function(b){var ca(this),dparseInt(c.data(parallaxlevel),0)/100,ei*d;c.data(parallaxoffset,e),punchgs.TweenLite.to(c,.2,{force3D:auto,y:e,ease:punchgs.Power3.easeOut})}),on!c.parallaxBgFreeze){var kc.parallaxLevels0/100,li*k;punchgs.TweenLite.to(b,.2,{force3D:auto,y:l,ease:punchgs.Power3.easeOut})}},cafunction(c,d){var ec.parent();thumb!d.navigationType&&both!d.navsecond||e.append(div classtp-bullets tp-thumbs +d.navigationStyle+>div classtp-mask>div classtp-thumbcontainer>/div>/div>/div>);var fe.find(.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer),gf.parent();g.width(d.thumbWidth*d.thumbAmount),g.height(d.thumbHeight),g.parent().width(d.thumbWidth*d.thumbAmount),g.parent().height(d.thumbHeight),c.find(>ul:first >li).each(function(a){var ec.find(>ul:first >li:eq(+a+)),ge.find(.defaultimg).css(backgroundColor);if(e.data(thumb)!b)var he.data(thumb);else var he.find(img:first).attr(src);f.append(div classbullet thumb stylebackground-color:+g+;position:relative;width:+d.thumbWidth+px;height:+d.thumbHeight+px;background-image:url(+h+) !important;background-size:cover;background-position:center center;>/div>);f.find(.bullet:first)});var h10;f.find(.bullet).each(function(b){var ea(this);bd.slideamount-1&&e.addClass(last),0b&&e.addClass(first),e.width(d.thumbWidth),e.height(d.thumbHeight),he.outerWidth(!0)&&(he.outerWidth(!0)),e.click(function(){0d.transition&&e.index()!d.act&&(d.nexte.index(),j(d,c))})});var ih*c.find(>ul:first >li).length,kf.parent().width();d.thumbWidthh,ki&&(a(document).mousemove(function(b){a(body).data(mousex,b.pageX)}),f.parent().mouseenter(function(){var ba(this),db.offset(),ea(body).data(mousex)-d.left,fb.width(),gb.find(.bullet:first).outerWidth(!0),hg*c.find(>ul:first >li).length,ih-f+15,ji/f;b.addClass(over),e-30;var k0-e*j;k>0&&(k0),k0-h+f&&(k0-h+f),ea(b,k,200)}),f.parent().mousemove(function(){var ba(this),db.offset(),ea(body).data(mousex)-d.left,fb.width(),gb.find(.bullet:first).outerWidth(!0),hg*c.find(>ul:first >li).length-1,ih-f+15,ji/f;e-3,e6&&(e0),e+3>f-6&&(ef);var k0-e*j;k>0&&(k0),k0-h+f&&(k0-h+f),ea(b,k,0)}),f.parent().mouseleave(function(){var ba(this);b.removeClass(over),da(c)}))},dafunction(a){var ba.parent().find(.tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer),cb.parent(),e(c.offset(),c.find(.bullet:first).outerWidth(!0)),fc.find(.bullet.selected).index()*e,gc.width(),ec.find(.bullet:first).outerWidth(!0),he*a.find(>ul:first >li).length,k0-f;k>0&&(k0),k0-h+g&&(k0-h+g),c.hasClass(over)||ea(c,k,200)},eafunction(a,b,c){punchgs.TweenLite.to(a.find(.tp-thumbcontainer),.2,{force3D:auto,left:b,ease:punchgs.Power3.easeOut,overwrite:auto})}}(jQuery);/script>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/i18n/messages_es.js>/script>script async defer srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/lib/owlcarousel/owl.carousel.min.js>/script>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/scripts/common.js?v1>/script>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/plugins/pricescalendar/calendar.plugin.js>/script>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/plugins/dates-selector/datepicker_v1.js>/script>script>$(function () { DP_extend_info.config.booking_version 7; DP_extend_info.config.custom_format_day_month function (dateComponents) { dateComponents dateComponents.split(/); return div classday> + dateComponents0 + /div>/div classmonth> + dateComponents1 + /div>/div classyear> + dateComponents2 + /div> ; }; DP_extend_info.init(); })/script>script async typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/scripts/booking_7.js?v1.1>/script>script async typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/scripts/booking_full_popup.js?v1>/script>script async typetext/javascript typetext/javascript src/js/simoa/functions.js?v1.5>/script>script async typetext/javascript typetext/javascript src/js/simoa/booking_engine_personalize.js?v1.1>/script>script async typetext/javascript src//www.tripadvisor.com/js3/conversion/pixel.js>/script>div styledisplay: none;>div iddata>div idwrapper_booking_fancybox>div idbooking_widget_popup classbooking_widget_fancybox>div idmotor_reserva>!-- booking engine 2 -->form actionhttps://www.marinaturquesa.com/booking1 namesearchForm idsearchForm methodpost classparaty-booking-form motor2>input typehidden idlanguage namelanguage valueSPANISH />input typehidden idagesKid1 nameagesKid1 value />input typehidden idagesKid2 nameagesKid2 value />input typehidden idagesKid3 nameagesKid3 value />input idroomType typehidden nameroomType value>input classroomTypeValue typehidden nameroomTypeValue value>input idroomFilter typehidden nameroomFilter value>input idroomFilterName typehidden nameroomFilterName value>input typehidden idroomtype_list_json nameroomtype_list_json value>input idboardFilter typehidden nameboardFilter value>input idkeyBooking0Source typehidden namekeyBooking0Source value>input typehidden value namepriceSeekerHotel idpriceSeekerHotel/>input typehidden idgclid namegclid value />input typehidden idusing_booking_0 nameusing_booking_0 value />input typehidden idnamespace namenamespace valuemarina-turquesa />div idbooking_engine_title>h4 idbooking_title1>Reservas/h4>h4 idbooking_title2>Reserva ahora/h4>h3 idbest_price>MEJOR PRECIO ONLINE/h3>/div>div idcontenedor_hotel>/div>fieldset idcontenedor_fechas>div idfecha_entrada classcolocar_fechas fecha_entrada>label idtitulo_fecha_entrada classfloat_fecha>Fecha de Entrada/label>input typetext classfloat_fecha classdatepicker1 namestartDate iddatepicker1 tabindex4 readonlyreadonly autocompleteoff/>/div>div idfecha_salida classcolocar_fechas fecha_salida>label idtitulo_fecha_salida classfloat_fecha>Fecha de Salida/label>input typetext classfloat_fecha classdatepicker2 nameendDate iddatepicker2 tabindex5 readonlyreadonly autocompleteoff/>/div>div idcontador_noches classcolocar_fechas>p classfloat_fecha>Número de noches: X/p>/div>/fieldset>fieldset idcontenedor_habitaciones >label> Habitaciones /label>select idselector_habitaciones namenumRooms onchangemostrarHabitaciones(this.value); tabindex6>option value1 selectedselected>1/option>option value2 >2/option>option value3 >3/option>/select>/fieldset>fieldset idcontenedor_opciones >div idhab1>label classnumero_habitacion> Habitación 1/label>div classadultos numero_personas>label classselector_adultos idtitulo_adultos>Adultos/label>select classselector_adultos idhab1_adultos nameadultsRoom1 tabindex7>option value1 >1/option>option value2 selectedselected>2/option>option value3 >3/option>option value4 >4/option>option value5 >5/option>option value6 >6/option>option value7 >7/option>option value8 >8/option>/select>/div>div classninos numero_personas titleBebés gratis>label forchildrenRoom1 idtitulo_ninos classselector_ninos>Niños/label>select idhab1_ninos classselector_ninos namechildrenRoom1 onchange tabindex8>option value0 selectedselected > 0 /option>option value1 > 1 /option>option value2 > 2 /option>option value3 > 3 /option>option value4 > 4 /option>/select>label idinfo_ninos classselector_ninos> (De 2 a 12 años) /label>/div>/div>div idhab2>label classnumero_habitacion>Habitación 2/label>div classadultos numero_personas>select classselector_adultos idhab2_adultos nameadultsRoom2 tabindex10>option value1 >1/option>option value2 selectedselected>2/option>option value3 >3/option>option value4 >4/option>option value5 >5/option>option value6 >6/option>option value7 >7/option>option value8 >8/option>/select>/div>div classninos numero_personas titleBebés gratis>select idhab2_ninos classselector_ninos namechildrenRoom2 onchange tabindex11>option value0 selectedselected > 0 /option>option value1 > 1 /option>option value2 > 2 /option>option value3 > 3 /option>option value4 > 4 /option>/select>/div>/div>div idhab3>label classnumero_habitacion>Habitación 3/label>div classadultos numero_personas>select classselector_adultos idhab3_adultos nameadultsRoom3 tabindex13>option value1 >1/option>option value2 selectedselected>2/option>option value3 >3/option>option value4 >4/option>option value5 >5/option>option value6 >6/option>option value7 >7/option>option value8 >8/option>/select>/div>div classninos numero_personas titleBebés gratis>select idhab3_ninos classselector_ninos namechildrenRoom3 onchange tabindex14>option value0 selectedselected > 0 /option>option value1 > 1 /option>option value2 > 2 /option>option value3 > 3 /option>option value4 > 4 /option>/select>/div>/div>/fieldset>fieldset idenvio>input typetext idpromocode classcolocar_envio promocode_input_class namepromocode placeholderCódigo promocional value tabindex16>button typesubmit onclick$(this).addClass(clicked_button);return bookingSearch() idsearch-button classcolocar_envio buttonsearch-ratecheck tabindex17>Reservar/button>div idenvio_spinner>/div>/fieldset>input typehidden idbooking-search-popup namebooking-search-popup valuetrue>script> function show_booking_search_popup(myForm) { if (typeof(sending_form_custom_from_paraty) undefined){ sending_form_custom_from_paraty true; setTimeout( function(myForm) { openBookingSearchPopup(myForm); }, 1000, myForm ); } }; function openBookingSearchPopup(myForm) { var elements { href : https://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jhs800 }, var popup_description ; if (typeof(custom_popup_loading_description) ! undefined) { popup_description custom_popup_loading_description; } $(img/>).attr(src, https://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jh); text_popup div classcontainer_popup_booking styletext-align:center;>img srchttps://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jh>div classdescription_popup_booking> + popup_description + /div>/div>; var fancybox_params { width : auto, maxWidth: 800, height: auto, fitToView: false, autoSize: false, padding: 0, closeClick: false, closeBtn: false, wrapCSS: booking_popup_waiting, helpers: { overlay: {closeClick: false} // prevents closing when clicking OUTSIDE fancybox } }; if ($.fancybox.version.slice(0,2) 3.) { fancybox_paramsbaseClass fancy-booking-search; fancybox_paramsmodal true; $.fancybox.open(text_popup, fancybox_params); } else { $.fancybox(text_popup, fancybox_params); } myForm.submit(); } function openBookingSearchPopup_v2(myForm, show_popuptrue) { if ((window.location ! window.parent.location) && show_popup) { const parentMessage { message: resize_iframe, height: 700, }; window.parent.postMessage(parentMessage, *); } var container_booking_popup $(div>/div>).addClass(container_popup_booking).css(text-align, center), loading_popup_top_text `Actualizando para continuar con su reserva`; if ($(.logo_namespace).length) { var logo_namespace $(inputnamenamespace).val(); var url_logo $(#logo_ + logo_namespace).val(); loading_popup_top_text $(img src+ url_logo +>); } var loading_popup_bottom_text `Solo será un momento, por favor`, descipription_top_booking_popup $(div>/div>).addClass(description_top_popup_booking).html(loading_popup_top_text), descipription_bottom_booking_popup $(div>/div>).addClass(description_bottom_popup_booking).html(loading_popup_bottom_text), gif_wrapper $(div>/div>).addClass(gif_wrapper), number_of_lines 20; for (var x 0; x number_of_lines; x++) { var target_delay_css { -webkit-animation-delay: -(1.5 - (0.1 * x)) + s, -moz-animation-delay: -(1.5 - (0.1 * x)) + s, -o-animation-delay: -(1.5 - (0.1 * x)) + s, animation-delay: -(1.5 - (0.1 * x)) + s }; var element_line_to_append $(div>/div>).addClass(default_line_loading).css(target_delay_css); element_line_to_append.appendTo(gif_wrapper); } container_booking_popup.append(descipription_top_booking_popup).append(gif_wrapper).append(descipription_bottom_booking_popup); var selected_start_date $(inputnamestartDate).val(), selected_end_date $(inputnameendDate).val(); if(selected_start_date ){ var today new Date(); var dd today.getDate(); var mm today.getMonth()+1; //January is 0! var yyyy today.getFullYear(); if(dd10) {dd 0+dd} if(mm10) {mm 0+mm} today dd + / + mm + / + yyyy; selected_start_date today; } var custom_format_date ; if (custom_format_date) { var splitted_start_date selected_start_date.split(/), start_day splitted_start_date0, start_month splitted_start_date1, start_year splitted_start_date2, start_datetime new Date(start_year, start_month - 1, start_day), week_start_day start_datetime.getDay(); var splitted_end_date selected_end_date.split(/), end_day splitted_end_date0, end_month splitted_end_date1, end_year splitted_end_date2, end_datetime new Date(end_year, end_month - 1, end_day), week_end_day end_datetime.getDay(); var days_list $.datepicker._defaults.dayNames; //Start date selected_start_date custom_format_date.replace(%m, start_month).replace(%d, start_day).replace(%Y, start_year); selected_start_date selected_start_date.replace(%a, days_listweek_start_day).replace(%bb, _monthNamesstart_month - 1).replace(%b, _monthNamesstart_month - 1); //End date selected_end_date custom_format_date.replace(%m, end_month).replace(%d, end_day).replace(%Y, end_year); selected_end_date selected_end_date.replace(%a, days_listweek_end_day).replace(%bb, _monthNamesend_month - 1).replace(%b, _monthNamesend_month - 1); } //Protection for failures if(selected_start_date.indexOf(NaN) > -1 || selected_end_date.indexOf(NaN)){ container_booking_popup.html(container_booking_popup.html().replace(@@start_date@@, selected_start_date).replace(@@end_date@@, selected_end_date)); } else { container_booking_popup.find(.description_bottom_popup_booking).remove(); } if (show_popup) { var fancybox_params { width: auto, maxWidth: 800, height: auto, fitToView: false, autoSize: false, padding: 0, closeClick: false, closeBtn: false, helpers: { overlay: { closeClick: false } // prevents closing when clicking OUTSIDE fancybox }, wrapCSS: fancy-booking-search_v2 , beforeShow: function () { $(.fancybox-bg).css(background, ); if (typeof (cookiesController) ! undefined && cookiesController.search_cookie(step_history_back)) { cookiesController.delete_cookie(step_history_back); } } }; if ($.fancybox.version.slice(0, 2) 3.) { fancybox_paramsbaseClass fancybox-wrap fancy-booking-search_v2 ; fancybox_paramsmodal true; $.fancybox.open(container_booking_popup, fancybox_params); } else { $.fancybox(container_booking_popup, fancybox_params); } if (myForm) { if (!navigator.userAgent.match(/chrome/i) && (navigator.userAgent.match(/safari/i) || !navigator.userAgent.match(/firefox/i))) { setTimeout(function () { myForm.submit(); }, 700); } else { myForm.submit(); } } } } $(img/>).attr(src, https://lh4.ggpht.com/GthZ72oLkt6wS68sTNoYeTKXbdZ6cXIEsF-vFQBdEwXSD722bJrmAFhEPXplSXcgK30VdMyzr73oAv7yR9Jh); function showGallery(elements) { $.fancybox(elements, { modal: true, closeBtn: false, autoPlay: true, playSpeed: 3000, prevEffect: none, nextEffect: none, type: image, arrows: false, nextClick: false, mouseWheel: false, helpers: { title: { type: outside }, overlay: { opacity: 0.8, css: { background-color: #000 } } }, padding: 0 }); } /script>/form>/div>!-- Javascript at the bottom to increase speed -->script srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/js/datepicker/jquery.ui.datepicker-es.js?v1.3 typetext/javascript>/script>script typetext/javascript srchttps://cdn.paraty.es/static_files/secure-booking-online/generic/202411261923/lib/spin.min.js>/script>!-- Javascript at the bottom to increase speed -->script typetext/javascript> var datePicker1Selector .classdatepicker1; var datePicker2Selector .classdatepicker2;$(#hotel_destino).change(function() { var action $(this).val(); $(#searchForm).attr(action, action); var newNamespace namespacesaction; $(#namespace).val(newNamespace); }); $(function(){ $.datepicker.setDefaults($.datepicker.regionales);});var checkDates function() { var date1_str $(datePicker1Selector).val(); var date2_str $(datePicker2Selector).val(); if (date1_str || date2_str ){ return false; } else { return true; }}$(document).ready(function () { if ($(#internalStartDate).length ! 0) { var startDate $(#internalStartDate).val(); var startYear startDate.substring(0,4); var startMonth startDate.substring(5,7); var startDay startDate.substring(8,10); var startParse startDay + / + startMonth + / + startYear; var endDate $(#internalEndDate).val(); var endYear endDate.substring(0,4); var endMonth endDate.substring(5,7); var endDay endDate.substring(8,10); var endParse endDay + / + endMonth + / + endYear; } else { var startParse ; var endParse ; } $(datePicker1Selector).val(startParse); $(datePicker2Selector).val(endParse); if ($(.internalUrlParamsTransfer).length){ let target_value $(.internalUrlParamsTransfer).val(); if (!$(.transfer_to_booking).length) { $(.paraty-booking-form).each(function(){ $(this).append($(input typehidden classtransfer_to_booking nametransfer_url_params value + target_value + >)); }) } else { $(.transfer_to_booking).val(target_value) } } if ($(#internalNumRooms).length ! 0){ $(#selector_habitaciones).val($(#internalNumRooms).val()); $(#selector_habitaciones).change(); var internalNum1AdultsRooms 2; var internalNum2AdultsRooms 2; var internalNum3AdultsRooms 2; var internalNum1BabiesRooms 0; var internalNum2BabiesRooms 0; var internalNum3BabiesRooms 0; if ($(#internalNum1AdultsRooms).length ! 0) internalNum1AdultsRooms $(#internalNum1AdultsRooms).val() if ($(#internalNum2AdultsRooms).length ! 0) internalNum2AdultsRooms $(#internalNum2AdultsRooms).val() if ($(#internalNum3AdultsRooms).length ! 0) internalNum3AdultsRooms $(#internalNum3AdultsRooms).val() if ($(#internalNum1BabiesRooms).length ! 0) internalNum1BabiesRooms $(#internalNum1BabiesRooms).val() if ($(#internalNum2BabiesRooms).length ! 0) internalNum2BabiesRooms $(#internalNum2BabiesRooms).val() if ($(#internalNum3BabiesRooms).length ! 0) internalNum3BabiesRooms $(#internalNum3BabiesRooms).val() $(#hab1_adultos).val(internalNum1AdultsRooms); $(#hab2_adultos).val(internalNum2AdultsRooms); $(#hab3_adultos).val(internalNum3AdultsRooms); $(#hab1_ninos).val($(#internalNum1KidsRooms).val()); $(#hab2_ninos).val($(#internalNum2KidsRooms).val()); $(#hab3_ninos).val($(#internalNum3KidsRooms).val()); $(#hab1_bebes).val(internalNum1BabiesRooms); $(#hab2_bebes).val(internalNum2BabiesRooms); $(#hab3_bebes).val(internalNum3BabiesRooms); }if ($(#internalPromocode) && $(#internalPromocode).val()){ $(#promocode).val($(#internalPromocode).val());} if (typeof(DP_extend_info) undefined || DP_extend_info.config.booking_version.indexOf(2) -1) { $(datePicker1Selector).datepicker({ minDate: new Date(), altFormat: dd/mm/yy, dateFormat: dd/mm/yy, onClose: function (selectedDate, inst) { if (selectedDate) { var theDate $.datepicker.parseDate(dd/mm/yy, selectedDate); var theSelectedDate $.datepicker.parseDate(dd/mm/yy, selectedDate); theSelectedDate.setDate(theSelectedDate.getDate()); $(datePicker1Selector).datepicker(setDate, theSelectedDate); if (typeof(min_stay_number) ! undefined){ theDate.setDate(theDate.getDate() + min_stay_number); } else { theDate.setDate(theDate.getDate() + 1); } $(datePicker2Selector).datepicker(option, minDate, theDate); $(datePicker2Selector).datepicker(setDate, theDate); $(this).closest(#contenedor_fechas).find(datePicker2Selector).datepicker(show); } } }); $(datePicker2Selector).datepicker({ minDate: minDateDeparture(), altFormat: dd/mm/yy, dateFormat: dd/mm/yy }); $(datePicker1Selector).change(function () { var date2 $(this).datepicker(getDate, +3d); $(datePicker1Selector).datepicker(setDate, date2); date2.setDate(date2.getDate() + 1); $(datePicker2Selector).datepicker(setDate, date2); checkDates(); }); $(datePicker2Selector).change(function () { var date2 $(this).datepicker(getDate, +3d); $(datePicker2Selector).datepicker(setDate, date2); checkDates(); }); $(datePicker1Selector).removeAttr(disabled); $(datePicker2Selector).removeAttr(disabled); } });function minDateDeparture(){ if ($(datePicker1Selector).val()){ var theDate $.datepicker.parseDate(dd/mm/yy, $(datePicker1Selector).val()); theDate.setDate(theDate.getDate() + 1 ); } else{ var theDate new Date(); } return theDate;}function mostrarHabitaciones(selector_habitaciones) { for ( var i 3; i > selector_habitaciones; i--) { //$(#hab + i).hide(); $(idhab+ i + ).each(function() { $(this).hide(); }); //$(#childrenRoom + (i + 1)).val(0); $(idchildrenRoom+ (i + 1) + ).each(function() { $(this).val(0); }); } for ( var i selector_habitaciones; i > 0; i--) { //$(#hab + i).show(); $(idhab+ i + ).each(function() { $(this).show(); }); }}function bookingSearch(){ if (!checkDates()){ return false; } var destination_input $(form.paraty-booking-form.motor2).find(.destination); if(destination_input.length && destination_input.val() ){ $(form.paraty-booking-form .destination_field, form.paraty-booking-form.motor2 .destination_wrapper).show(); return false; } try { ga(function (tracker) { client_id tracker.get(clientId); }); $(input>).attr({ type: hidden, id: _ga, name: _ga, value: client_id }).appendTo($(#search-button).closest(form)); } catch (err) { console.log(Google Analytics defined incorrectly (May use a old version)); } var opts { lines: 13, // The number of lines to draw length: 4, // The length of each line width: 3, // The line thickness radius: 10, // The radius of the inner circle rotate: 0, // The rotation offset color: #e1e1e1, // #rgb or #rrggbb speed: 1.5, // Rounds per second trail: 60, // Afterglow percentage shadow: false, // Whether to render a shadow hwaccel: false, // Whether to use hardware acceleration className: spinner, // The CSS class to assign to the spinner zIndex: 2e9, // The z-index (defaults to 2000000000) top: auto, // Top position relative to parent in px left: auto // Left position relative to parent in px }; var target document.getElementById(envio_spinner); if( $(#booking-search-popup).length ) { show_booking_search_popup($(#searchForm)); return false; } else { $(#search-button).hide(); var spinner new Spinner(opts).spin(target); $(#searchForm).submit(); }};/script>script> adult_tag Adulto; adults_tag Adultos; kid_tag Niño; kids_tag Niños; baby_tag Bebé; babies_tag Bebés; no_dispo_text No disponible;/script>script async> ($ > { if (typeof only_once_rescueseeker undefined) { only_once_rescueseeker 1; $.getScript(https://global-dot-rescue-seeker.appspot.com/static/rescue-seeker/common/js/rescue-seeker-widget.js?v2) .done(function (script, textStatus) { console.log(RESCUE SEEKER: Main rescue seeker script loaded!); RescueSeeker.load(marina-turquesa, es, paraty); }) .fail(function (jqxhr, settings, exception) { console.error(RESCUE SEEKER: Main rescue seeker script NOT loaded!); console.error(exception); }); } })(jQuery);/script>/div>/div>/div>/div>script> $(function(){ $(#booking label.dates_selector_label).html(Entrada / Salida); $(.promocode_input).attr(placeholder, promocode); $(.submit_button).html(span> + $(.submit_button).text() + /span>) }) /script>style> .automatic_floating_picture { position: fixed; bottom: 32px; left: 32px; z-index: 1000; transition: .3s all; } .automatic_floating_picture.hide_picture{ opacity: 0; left: -100%; } .automatic_floating_picture .right { position: fixed; bottom: 32px; right: 32px; z-index: 1000; } .automatic_floating_picture img { width: 100%; height: 100%; } /style>div classautomatic_floating_picture >/div>/body>/html>
Subdomains
Date
Domain
IP
mail.marinaturquesa.com
2024-12-08
82.98.132.25
www.marinaturquesa.com
2025-01-08
142.250.217.115
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]