1/* included: 9 files */ 2 3/* framework/libs/js/globalfunction.js */ 4 5var globalBlack = false; 6var globalPopup = false; 7var updater = null; 8var popupClosed = true; 9 10function ShowHide(psId) 11{ 12 if(document.getElementById(psId).style.display == 'none') 13 { 14 document.getElementById(psId).style.display='block'; 15 } 16 else 17 { 18 document.getElementById(psId).style.display='none'; 19 } 20} 21 22function ShowHideRegister(psId) 23{ 24 if(document.getElementById(psId).style.display == 'none') 25 { 26 document.getElementById(psId).style.display='block'; 27 } 28 else 29 { 30 document.getElementById(psId).style.display='none'; 31 } 32 RegisterByCookie(psId); 33} 34 35 36 37function Show(psId) 38{ 39 document.getElementById(psId).style.display=''; 40} 41 42function Hide(psId) 43{ 44 document.getElementById(psId).style.display='none'; 45} 46 47function showConsole(sHideId1, sHideId2, sHideId3, sShowHide, sRegister1, sRegister2, sRegister3, sRegister4) 48{ 49 Hide(sHideId1); 50 Hide(sHideId2); 51 Hide(sHideId3); 52 ShowHide(sShowHide); 53 RegisterByCookie(sRegister1); 54 RegisterByCookie(sRegister2); 55 RegisterByCookie(sRegister3); 56 RegisterByCookie(sRegister4); 57} 58 59function popUpWinFullScreen (url, win) 60{ 61 var nLeft = 0; 62 var nTop = 0; 63 var nWidth = screen.availWidth - 10; 64 var nHeight = screen.availHeight - 10; 65 66 options = 'width=' + nWidth + ',height=' + nHeight + ',left=' + nLeft + ',top=' + nTop + ',resizable=yes,scrollbars=yes'; 67 return window.open(url, win, options); 68} 69 70function popUpWinMedium (url, win) 71{ 72 var nWidth = 700; 73 var nHeight = 500; 74 var nLeft = (screen.width-nWidth)/2; 75 var nTop = (screen.height-nHeight)/2; 76 77 78 options = 'width=' + nWidth + ',height=' + nHeight + ',left=' + nLeft + ',top=' + nTop + ',resizable=yes,scrollbars=yes'; 79 window.open(url, win, options); 80} 81 82function popUpWinCustom (url, win, pnWidth, pnHeight) 83{ 84 var nLeft = (screen.width-pnWidth)/2; 85 var nTop = (screen.height-pnHeight)/2; 86 87 88 options = 'width=' + pnWidth + ',height=' + pnHeight + ',left=' + nLeft + ',top=' + nTop + ',resizable=yes,scrollbars=yes'; 89 window.open(url, win, options); 90} 91 92var gMenuTimer; 93var gMenuTimerSearch; 94var gsLastOpened = ""; 95var gnTime = 500; 96function ShowMenu (psId, pbShow) 97{ 98 clearTimeout(gMenuTimer); 99 clearTimeout(gMenuTimerSearch); 100 if (pbShow == true) 101 { 102// alert("show "+gsLastOpened); 103 if (gsLastOpened != psId) 104 { 105// alert("LastOpened : "+gsLastOpened); 106 if (gsLastOpened != "") 107 document.getElementById(gsLastOpened).style.display = 'none'; 108 } 109 document.getElementById(psId).style.display = ''; 110 gsLastOpened = psId; 111 112 if (document.getElementById('layer_search') != undefined) 113 document.getElementById('layer_search').style.display = 'none'; 114 } 115 else 116 { 117// alert("hide"); 118 gMenuTimer = setTimeout("document.getElementById('"+psId+"').style.display = 'none'", gnTime); 119 if (document.getElementById('layer_search') != undefined) 120 gMenuTimerSearch = setTimeout("document.getElementById('layer_search').style.display = ''", gnTime); 121 } 122} 123 124 125 126function FillPicker (psDataField, psDataValue, psViewField, psViewValue) 127{ 128 window.opener.document.getElementById(psDataField).value = psDataValue; 129 window.opener.document.getElementById(psViewField).innerHTML = psViewValue; 130 self.close(); 131} 132/* 133function FillPicker (psDataField, psDataValue, psViewField, psViewValue) 134{ 135 top.document.getElementById(psDataField).value = psDataValue; 136 top.document.getElementById(psViewField).innerHTML = psViewValue; 137 //document.getElementById('gal').style.display = 'none'; 138} 139*/ 140function FillMultiPicker (psDataField, psDataValue, psViewField, psViewValue) 141{ 142 window.opener.document.getElementById(psDataField).value += psDataValue; 143 window.opener.document.getElementById(psViewField).innerHTML += psViewValue; 144 self.close(); 145} 146 147function FillRte (psRteId, psPicturePath) 148{ 149 window.opener.rteCommand(psRteId, 'InsertImage', psPicturePath) 150 self.close(); 151} 152 153function FillRteLink (psRteId, psLink) 154{ 155 156 window.opener.addHTML(psRteId, psLink) 157 self.close(); 158} 159 160function FillColorPicker(psId, psIdSquare, psValue) 161{ 162 document.getElementById(psId).value = psValue; 163 document.getElementById(psIdSquare).style.background = psValue; 164} 165 166function FillColorPickerRealTime(psId, psIdSquare, psValue) 167{ 168 document.getElementById(psId).value = psValue; 169 document.getElementById(psIdSquare).style.background = psValue; 170} 171 172function EditToColor(psId, psIdSquare) 173{ 174 var sValue = document.getElementById(psId).value; 175 if (sValue != "") 176 { 177 document.getElementById(psIdSquare).style.background = sValue; 178 } 179} 180 181function FillSelector (psDivId, psDataField, psDataValue, psViewField, psViewValue) 182{ 183 document.getElementById(psDataField).value = psDataValue; 184 document.getElementById(psViewField).value = psViewValue; 185 //document.getElementById(psViewField).innerHTML = psViewValue; 186 document.getElementById(psDivId).style.display='none'; 187} 188 189 190/********************************************/ 191/* Fonctions de gestion des messages return */ 192/********************************************/ 193 194function CloseMessageReturn(psId) 195{ 196 document.getElementById(psId).style.display = 'none'; 197} 198 199function ShowMinus(psId, pnOpacity) 200{ 201 try 202 { 203 document.getElementById(psId).style.opacity = pnOpacity; 204 document.getElementById(psId).style.filter = "alpha(opacity:"+pnOpacity*100+")"; 205 } 206 catch (ex) 207 { 208 } 209} 210 211function HideMessageReturn(psId, pnTime) 212{ 213// setTimeout("CloseMessageReturn('"+psId+"')", pnTime); 214 try 215 { 216 var i = 1; 217 var nTimer = pnTime; 218 for (i = 1 ; i>=0 ; i=i-0.1) 219 { 220 nTimer = nTimer + 100; 221 setTimeout("ShowMinus('"+psId+"', "+i+")", nTimer); 222 } 223 nTimer = nTimer + 100; 224 setTimeout("CloseMessageReturn('"+psId+"')", nTimer); 225 } 226 catch (ex) 227 { 228 } 229} 230 231function UpdateDate(psField, psFieldYYYY, psFieldMM, psFieldDD) 232{ 233 var Year = document.getElementById(psFieldYYYY).value; 234 var Month = document.getElementById(psFieldMM).value; 235 var Day = document.getElementById(psFieldDD).value; 236 237 document.getElementById(psField).value = Year + "-" + Month + "-" + Day; 238} 239 240function product_zoom_show(psDivId) 241{ 242 document.getElementById("product_div_desc").style.display = 'none'; 243 document.getElementById("product_div_benefits").style.display = 'none'; 244 document.getElementById("product_div_composition").style.display = 'none'; 245 document.getElementById("product_div_application").style.display = 'none'; 246 247 document.getElementById(psDivId).style.display = ''; 248 249} 250 251function newsletterChangeAction(pbValue, psElementId, psActionTrue, psActionFalse) 252{ 253 if (pbValue) 254 document.getElementById(psElementId).value = psActionTrue; 255 else 256 document.getElementById(psElementId).value = psActionFalse; 257} 258 259function waitForm() 260{ 261 document.getElementById('form_back').style.visibility = 'visible'; 262 document.getElementById('form_wait').style.visibility = 'visible'; 263} 264 265function WriteCookie(psName, psValue) 266{ 267 var argv = WriteCookie.arguments; 268 var argc = WriteCookie.arguments.length; 269 var expires = (argc > 2) ? argv[2] : null; 270 var path = (argc > 3) ? argv[3] : null; 271 var domain = (argc > 4) ? argv[4] : null; 272 var secure = (argc > 5) ? argv[5] : false;
273 document.cookie=psName+"="+escape(psValue)+ 274 ((expires==null) ? "" : ("; expires="+expires.toGMTString()))+ 275// ((path==null) ? "" : ("; path="+path))+ 276 ((domain==null) ? "" : ("; domain="+domain))+ 277 ((secure==true) ? "; secure" : ""); 278} 279 280function getCookieValue(offset) 281{ 282 var endstr=document.cookie.indexOf (";", offset); 283 if (endstr==-1) endstr=document.cookie.length; 284 return unescape(document.cookie.substring(offset, endstr)); 285} 286 287function ReadCookie(psName) 288{ 289 var arg=psName+"="; 290 var alen=arg.length; 291 var clen=document.cookie.length; 292 var i=0; 293 while (i<clen) 294 { 295 var j=i+alen; 296 if (document.cookie.substring(i, j)==arg) return getCookieValue(j); 297 i=document.cookie.indexOf(" ",i)+1; 298 if (i==0) break; 299 } 300 return null; 301} 302 303function RegisterByCookie(psDiv) 304{ 305 if (document.getElementById(psDiv).style.display == 'none') 306 WriteCookie(psDiv, 0); 307 else 308 WriteCookie(psDiv, 1); 309} 310/* 311var gasCheckbox = new Array(); 312var gnIndiceCheckbox = 0; 313function addSelectionCheckbox(psCheckBoxId) 314{ 315// alert("Ajout " + psCheckBoxId); 316 gasCheckbox[gnIndiceCheckbox] = psCheckBoxId; 317 gnIndiceCheckbox++; 318} 319 320function checkAll() 321{ 322 if () 323 for (nIndice = 0; nIndice < gnIndiceCheckbox; nIndice++) 324 { 325 var sId = gasCheckbox[nIndice]; 326// alert("->" + sId); 327 document.getElementById(sId).checked = true; 328 } 329}*/ 330 331function changeClass(psDivId, psClass) 332{ 333 document.getElementById(psDivId).className = psClass; 334} 335 336 337function counter(psHourId, psMinuteId, psSecondId) 338{ 339 setTimeout('counter("'+psHourId+'", "'+psMinuteId+'", "'+psSecondId+'")', 1000); 340 341 var nIncrement = -1; 342 var nHour = parseInt(document.getElementById(psHourId).innerHTML); 343 var nMinute = parseInt(document.getElementById(psMinuteId).innerHTML); 344 var nSecond = parseInt(document.getElementById(psSecondId).innerHTML); 345 346 var nNewHour = nHour; 347 var nNewMinute = nMinute; 348 var nNewSecond = nSecond; 349 350 if (nSecond > 0) 351 { 352 nNewSecond = nSecond - 1; 353 } 354 else 355 { 356 nNewSecond = 59; 357 if (nMinute > 0) 358 { 359 nNewMinute = nMinute - 1; 360 } 361 else 362 { 363 nNewMinute = 59; 364 if (nHour > 0) 365 { 366 nNewHour = nHour -1; 367 } 368 else 369 { 370 nNewHour = 0; 371 nNewMinute = 0; 372 nNewSecond = 0; 373 } 374 } 375 } 376 377 if (nNewHour <= 9) nNewHour = "0"+nNewHour; 378 if (nNewMinute <= 9) nNewMinute = "0"+nNewMinute; 379 if (nNewSecond <= 9) nNewSecond = "0"+nNewSecond; 380 381 document.getElementById(psHourId).innerHTML = nNewHour; 382 document.getElementById(psMinuteId).innerHTML = nNewMinute; 383 document.getElementById(psSecondId).innerHTML = nNewSecond; 384 385 386} 387 388 389function blink(psId, pnInterval) 390{ 391 setTimeout('blink("'+psId+'", '+pnInterval+')', pnInterval); 392 393 if (document.getElementById(psId).style.display == 'none') 394 document.getElementById(psId).style.display = ''; 395 else 396 document.getElementById(psId).style.display = 'none'; 397} 398 399 400function screenSwitch(psIdHide, psIdShow, psUrl, pbReturn) 401{ 402 if (!pbReturn) 403 { 404 displayScreen(psUrl, psIdHide, psIdShow); 405 } 406 else 407 { 408 destroyScreen(psIdHide); 409 } 410 411 // show 412 Effect.Appear(psIdShow, { duration: 1.0, from: 0.0, to: 1.0}); 413 //hide 414 Effect.Appear(psIdHide, { duration: 0.5, from: 1.0, to: 0.0}); 415} 416 417 418function blackScreen() 419{ 420 /*$('blackScreen_container').style.top = 'Opx'; 421 $('blackScreen_container').style.left = 'Opx';*/ 422// $('blackScreen_container').style.width = '10O%'; 423 //$('blackScreen_container').style.height = '10O%'; 424 $('blackScreen_container').style.backgroundColor = '#000'; 425 426 Effect.Appear('blackScreen_container', { duration: 1.0, from: 0.0, to: 0.75}); 427 428 $('body').style.overflow = 'hidden'; 429 setTimeout('changeBlackScreenStatus(true)', 1000); 430 431 popupClosed = false; 432 433} 434 435 436function whiteScreen(bForce) 437{ 438 if ((globalBlack || globalPopup) && updater != null) 439 { 440 updater.stop(); 441 updater = null; 442 } 443 444 if (globalBlack || bForce) 445 { 446 Effect.Fade('blackScreen_container'); 447 changeBlackScreenStatus(false); 448 } 449 450 451 if (globalPopup || bForce) 452 { 453 Effect.Fade('ajax_container'); 454 changePopupStatus(false); 455 popupClosed = true; 456 } 457} 458 459 460function displayAjaxPopup(psId, psTitle) 461{ 462 $('ajax_container').style.top = '250px'; 463 $('ajax_container').style.left = '50%'; 464 $('ajax_container').style.width = '540px'; 465 $('ajax_container').style.height = '250px'; 466 $('ajax_container').style.backgroundColor = '#fff'; 467 $('ajax_container').style.marginLeft = '-270px'; 468 $('ajax_container').style.zIndex = '10'; 469 470 setTimeout('changePopupStatus(true)', 1000); 471 472 $('ajax_container_title').innerHTML = psTitle; 473 474 Effect.Appear('ajax_container', { duration: 1.0, from: 0.0, to: 1.0}); 475 476 popupClosed = false;
477} 478 479 480function changeBlackScreenStatus(pbStatus) 481{ 482 globalBlack = pbStatus; 483} 484 485 486function changePopupStatus(pbStatus) 487{ 488 globalPopup = pbStatus; 489} 490 491 492function stopAjaxPopupLoader() 493{ 494 $('ajax_container_loader').innerHTML = ''; 495} 496 497function hideColumn(psTableId, pnIndice) 498{ 499 var sCookie; 500 sCookie = ReadCookie(psTableId); 501 var sCookieFinal = sCookie+pnIndice+";"; 502 WriteCookie(psTableId, sCookieFinal); 503 504 505 var allRows = document.getElementById(psTableId).rows; 506 507 if (!allRows) return false; 508 509 for (var i=0; i<allRows.length; i++) 510 { 511 if (allRows[i].cells[pnIndice]) 512 { 513 if (allRows[i].cells[pnIndice].className!='footer') 514 allRows[i].cells[pnIndice].style.display = 'none'; 515 } 516 } 517} 518 519 520function showColumn(psTableId, pnIndice) 521{ 522 var sCookie; 523 sCookie = ReadCookie(psTableId); 524 525 if (sCookie) 526 sCookie = sCookie.replace(pnIndice+";", ""); 527 528 WriteCookie(psTableId, sCookie); 529 530 531 var allRows = document.getElementById(psTableId).rows; 532 if (!allRows) return false; 533 534// if (!allRows) alert('Tableau introuvable : '+psTableId); 535 536 for (var i=0; i<allRows.length; i++) 537 { 538 if (allRows[i].cells[pnIndice]) 539 { 540 allRows[i].cells[pnIndice].style.display = ''; 541 } 542 } 543} 544 545function addToBookmark(psLabel, psURL) 546{ 547 if ( navigator.appName != 'Microsoft Internet Explorer' ) 548 { 549 window.sidebar.addPanel(psLabel, psURL,""); 550 } 551 else 552 { 553 window.external.AddFavorite(psURL, psLabel); 554 } 555} 556 557 558var bStatus = true; 559 560function checkBoxAll(psFormId) 561{ 562 563 var checkboxes = []; 564 checkboxes = $$('input').each 565 ( 566 function(e) 567 { 568 if(e.type == 'checkbox') 569 checkboxes.push(e); 570 } 571 ); 572 573 checkboxes.each(function(e){ e.checked = bStatus }); 574 575 bStatus = !bStatus; 576} 577 578 579function getUrlParameter(paramName) 580{ 581 var url = window.location.href; 582 if (url.indexOf(paramName + "=") >= 0) 583 { 584 var prefix = url.substring(0, url.indexOf(paramName)); 585 var suffix = url.substring(url.indexOf(paramName)); 586 suffix = suffix.substring(suffix.indexOf("=") + 1); 587 suffix = (suffix.indexOf("&") >= 0) ? suffix.substring(suffix.indexOf("&")) : ""; 588 589 paramValue = url.replace(prefix, ""); 590 paramValue = paramValue.replace(paramName, ""); 591 paramValue = paramValue.replace(suffix, ""); 592 paramValue = paramValue.replace("=", ""); 593 594 return paramValue; 595 } 596 else 597 { 598 return ""; 599 } 600} 601 602function setUrlParameter(paramName, paramValue) 603{ 604 var url = window.location.href; 605 if (url.indexOf(paramName + "=") >= 0) 606 { 607 var prefix = url.substring(0, url.indexOf(paramName)); 608 var suffix = url.substring(url.indexOf(paramName)); 609 suffix = suffix.substring(suffix.indexOf("=") + 1); 610 suffix = (suffix.indexOf("&") >= 0) ? suffix.substring(suffix.indexOf("&")) : ""; 611 url = prefix + paramName + "=" + paramValue + suffix; 612 } 613 else 614 { 615 if (url.indexOf("?") < 0) 616 url += "?" + paramName + "=" + paramValue; 617 else 618 url += "&" + paramName + "=" + paramValue; 619 } 620 history.pushState({}, '', url); 621} 622; 623 624/* project/design/resources/js/slick.min.js */ 625/* 626 _ _ _ _ 627 ___| (_) ___| | __ (_)___ 628/ __| | |/ __| |/ / | / __| 629\__ \ | | (__| < _ | \__ \ 630|___/_|_|\___|_|\_(_)/ |___/ 631 |__/ 632 633 Version: 1.6.0 634 Author: Ken Wheeler 635 Website: http://kenwheeler.github.io 636 Docs: http://kenwheeler.github.io/slick 637 Repo: http://github.com/kenwheeler/slick 638 Issues: http://github.com/kenwheeler/slick/issues 639 640 */ 641!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):"undefined"!=typeof exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){"use strict";var b=window.Slick||{};b=function(){function c(c,d){var f,e=this;e.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:a(c),appendDots:a(c),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(b,c){return a('<button type="button" data-role="none" role="button" tabindex="0" />').text(c+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},e.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 9,458 bytes, line 641
641sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},a.extend(e,e.initials),e.activeBreakpoint=null,e.animType=null,e.animProp=null,e.breakpoints=[],e.breakpointSettings=[],e.cssTransitions=!1,e.focussed=!1,e.interrupted=!1,e.hidden="hidden",e.paused=!0,e.positionProp=null,e.respondTo=null,e.rowCount=1,e.shouldClick=!0,e.$slider=a(c),e.$slidesCache=null,e.transformType=null,e.transitionType=null,e.visibilityChange="visibilitychange",e.windowWidth=0,e.windowTimer=null,f=a(c).data("slick")||{},e.options=a.extend({},e.defaults,d,f),e.currentSlide=e.options.initialSlide,e.originalSettings=e.options,"undefined"!=typeof document.mozHidden?(e.hidden="mozHidden",e.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(e.hidden="webkitHidden",e.visibilityChange="webkitvisibilitychange"),e.autoPlay=a.proxy(e.autoPlay,e),e.autoPlayClear=a.proxy(e.autoPlayClear,e),e.autoPlayIterator=a.proxy(e.autoPlayIterator,e),e.changeSlide=a.proxy(e.changeSlide,e),e.clickHandler=a.proxy(e.clickHandler,e),e.selectHandler=a.proxy(e.selectHandler,e),e.setPosition=a.proxy(e.setPosition,e),e.swipeHandler=a.proxy(e.swipeHandler,e),e.dragHandler=a.proxy(e.dragHandler,e),e.keyHandler=a.proxy(e.keyHandler,e),e.instanceUid=b++,e.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,e.registerBreakpoints(),e.init(!0)}var b=0;return c}(),b.prototype.activateADA=function(){var a=this;a.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},b.prototype.addSlide=b.prototype.slickAdd=function(b,c,d){var e=this;if("boolean"==typeof c)d=c,c=null;else if(0>c||c>=e.slideCount)return!1;e.unload(),"number"==typeof c?0===c&&0===e.$slides.length?a(b).appendTo(e.$slideTrack):d?a(b).insertBefore(e.$slides.eq(c)):a(b).insertAfter(e.$slides.eq(c)):d===!0?a(b).prependTo(e.$slideTrack):a(b).appendTo(e.$slideTrack),e.$slides=e.$slideTrack.children(this.options.slide),e.$slideTrack.children(this.options.slide).detach(),e.$slideTrack.append(e.$slides),e.$slides.each(function(b,c){a(c).attr("data-slick-index",b)}),e.$slidesCache=e.$slides,e.reinit()},b.prototype.animateHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.animate({height:b},a.options.speed)}},b.prototype.animateSlide=function(b,c){var d={},e=this;e.animateHeight(),e.options.rtl===!0&&e.options.vertical===!1&&(b=-b),e.transformsEnabled===!1?e.options.vertical===!1?e.$slideTrack.animate({left:b},e.options.speed,e.options.easing,c):e.$slideTrack.animate({top:b},e.options.speed,e.options.easing,c):e.cssTransitions===!1?(e.options.rtl===!0&&(e.currentLeft=-e.currentLeft),a({animStart:e.currentLeft}).animate({animStart:b},{duration:e.options.speed,easing:e.options.easing,step:function(a){a=Math.ceil(a),e.options.vertical===!1?(d[e.animType]="translate("+a+"px, 0px)",e.$slideTrack.css(d)):(d[e.animType]="translate(0px,"+a+"px)",e.$slideTrack.css(d))},complete:function(){c&&c.call()}})):(e.applyTransition(),b=Math.ceil(b),e.options.vertical===!1?d[e.animType]="translate3d("+b+"px, 0px, 0px)":d[e.animType]="translate3d(0px,"+b+"px, 0px)",e.$slideTrack.css(d),c&&setTimeout(function(){e.disableTransition(),c.call()},e.options.speed))},b.prototype.getNavTarget=function(){var b=this,c=b.options.asNavFor;return c&&null!==c&&(c=a(c).not(b.$slider)),c},b.prototype.asNavFor=function(b){var c=this,d=c.getNavTarget();null!==d&&"object"==typeof d&&d.each(function(){var c=a(this).slick("getSlick");c.unslicked||c.slideHandler(b,!0)})},b.prototype.applyTransition=function(a){var b=this,c={};b.options.fade===!1?c[b.transitionType]=b.transformType+" "+b.options.speed+"ms "+b.options.cssEase:c[b.transitionType]="opacity "+b.options.speed+"ms "+b.options.cssEase,b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.autoPlay=function(){var a=this;a.autoPlayClear(),a.slideCount>a.options.slidesToShow&&(a.autoPlayTimer=setInterval(a.autoPlayIterator,a.options.autoplaySpeed))},b.prototype.autoPlayClear=function(){var a=this;a.autoPlayTimer&&clearInterval(a.autoPlayTimer)},b.prototype.autoPlayIterator=function(){var a=this,b=a.currentSlide+a.options.slidesToScroll;a.paused||a.interrupted||a.focussed||(a.options.infinite===!1&&(1===a.direction&&a.currentSlide+1===a.slideCount-1?a.direction=0:0===a.direction&&(b=a.currentSlide-a.options.slidesToScroll,a.currentSlide-1===0&&(a.direction=1))),a.slideHandler(b))},b.prototype.buildArrows=function(){var b=this;b.options.arrows===!0&&(b.$prevArrow=a(b.options.prevArrow).addClass("slick-arrow"),b.$nextArrow=a(b.options.nextArrow).addClass("slick-arrow"),b.slideCount>b.options.slidesToShow?(b.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),b.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.prependTo(b.options.appendArrows),b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.appendTo(b.options.appendArrows),b.options.infinite!==!0&&b.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):b.$prevArrow.add(b.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},b.prototype.buildDots=function(){var c,d,b=this;if(b.options.dots===!0&&b.slideCount>b.options.slidesToShow){for(b.$slider.addClass("slick-dotted"),d=a("<ul />").addClass(b.options.dotsClass),c=0;c<=b.getDotCount();c+=1)d.append(a("<li />").append(b.options.customPaging.call(this,b,c)));b.$dots=d.appendTo(b.options.appendDots),b.$dots.find("li").first().addClass("slick-active").attr("aria-hidden","false")}},b.prototype.buildOut=function(){var b=this;b.$slides=b.$slider.children(b.options.slide+":not(.slick-cloned)").addClass("slick-slide"),b.slideCount=b.$slides.length,b.$slides.each(function(b,c){a(c).attr("data-slick-index",b).data("originalStyling",a(c).attr("style")||"")}),b.$slider.addClass("slick-slider"),b.$slideTrack=0===b.slideCount?a('<div class="slick-track"/>').appendTo(b.$slider):b.$slides.wrapAll('<div class="slick-track"/>').parent(),b.$list=b.$slideTrack.wrap('<div aria-live="polite" class="slick-list"/>').parent(),b.$slideTrack.css("opacity",0),(b.options.centerMode===!0||b.options.swipeToSlide===!0)&&(b.options.slidesToScroll=1),a("img[data-lazy]",b.$slider).not("[src]").addClass("slick-loading"),b.setupInfinite(),b.buildArrows(),b.buildDots(),b.updateDots(),b.setSlideClasses("number"==typeof b.currentSlide?b.currentSlide:0),b.options.draggable===!0&&b.$list.addClass("draggable")},b.prototype.buildRows=function(){var b,c,d,e,f,g,h,a=this;if(e=document.createDocumentFragment(),g=a.$slider.children(),a.options.rows>1){for(h=a.options.slidesPerRow*a.options.rows,f=Math.ceil(g.length/h),b=0;f>b;b++){var i=document.createElement("div");for(c=0;c<a.options.rows;c++){var j=document.createElement("div");for(d=0;d<a.options.slidesPerRow;d++){var k=b*h+(c*a.options.slidesPerRow+d);g.get(k)&&j.appendChild(g.get(k))}i.appendChild(j)}e.appendChild(i)}a.$slider.empty().append(e),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},b.prototype.checkResponsive=function(b,c){var e,f,g,d=this,h=!1,i=d.$slider.width(),j=window.innerWidth||a(window).width();if("window"===d.respondTo?g=j:"slider"===d.respondTo?g=i:"min"===d.respondTo&&(g=Math.min(j,i)),d.options.responsive&&d.options.responsive.length&&null!==d.options.responsive){f=null;for(e in d.breakpoints)d.breakpoints.hasOwnProperty(e)&&(d.originalSettings.mobileFirst===!1?g<d.breakpoints[e]&&(f=d.breakpoints[e]):g>d.breakpoints[e]&&(f=d.breakpoints[e]));null!==f?null!==d.activeBreakpoint?(f!==d.activeBreakpoint||c)&&(d.activeBreakpoint=f,"unslick"===d.breakpointSettings[f]?d.unslick(f):(d.options=a.extend({},d.originalSettings,d.breakpointSettings[f]),b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b)),h=f):(d.activeBreakpoint=f,"unslick"===d.breakpointSettings[f]?d.unslick(f):(d.options=a.extend({},d.originalSettings,d.breakpointSettings[f]),b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b)),h=f):null!==d.activeBreakpoint&&(d.activeBreakpoint=null,d.options=d.originalSettings,b===!0&&(d.currentSlide=d.options.initialSlide),d.refresh(b),h=f),b||h===!1||d.$slider.trigger("breakpoint",[d,h])}},b.prototype.changeSlide=function(b,c){var f,g,h,d=this,e=a(b.currentTarget);switch(e.is("a")&&b.preventDefault(),e.is("li")||(e=e.closest("li")),h=d.slideCount%d.options.slidesToScroll!==0,f=h?0:(d.slideCount-d.currentSlide)%d.options.slidesToScroll,b.data.message){case"previous":g=0===f?d.options.slidesToScroll:d.options.slidesToShow-f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide-g,!1,c);break;case"next":g=0===f?d.options.slidesToScroll:f,d.slideCount>d.options.slidesToShow&&d.slideHandler(d.currentSlide+g,!1,c);break;case"index":var i=0===b.data.index?0:b.data.index||e.index()*d.options.slidesToScroll;d.slideHandler(d.checkNavigable(i),!1,c),e.children().trigger("focus");break;default:return}},b.prototype.checkNavigable=function(a){var c,d,b=this;if(c=b.getNavigableIndexes(),d=0,a>c[c.length-1])a=c[c.length-1];else for(var e in c){if(a<c[e]){a=d;break}d=c[e]}return a},b.prototype.cleanUpEvents=function(){var b=this;b.options.dots&&null!==b.$dots&&a("li",b.$dots).off("click.slick",b.changeSlide).off("mouseenter.slick",a.proxy(b.interrupt,b,!0)).off("mouseleave.
641slick",a.proxy(b.interrupt,b,!1)),b.$slider.off("focus.slick blur.slick"),b.options.arrows===!0&&b.slideCount>b.options.slidesToShow&&(b.$prevArrow&&b.$prevArrow.off("click.slick",b.changeSlide),b.$nextArrow&&b.$nextArrow.off("click.slick",b.changeSlide)),b.$list.off("touchstart.slick mousedown.slick",b.swipeHandler),b.$list.off("touchmove.slick mousemove.slick",b.swipeHandler),b.$list.off("touchend.slick mouseup.slick",b.swipeHandler),b.$list.off("touchcancel.slick mouseleave.slick",b.swipeHandler),b.$list.off("click.slick",b.clickHandler),a(document).off(b.visibilityChange,b.visibility),b.cleanUpSlideEvents(),b.options.accessibility===!0&&b.$list.off("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().off("click.slick",b.selectHandler),a(window).off("orientationchange.slick.slick-"+b.instanceUid,b.orientationChange),a(window).off("resize.slick.slick-"+b.instanceUid,b.resize),a("[draggable!=true]",b.$slideTrack).off("dragstart",b.preventDefault),a(window).off("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).off("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.cleanUpSlideEvents=function(){var b=this;b.$list.off("mouseenter.slick",a.proxy(b.interrupt,b,!0)),b.$list.off("mouseleave.slick",a.proxy(b.interrupt,b,!1))},b.prototype.cleanUpRows=function(){var b,a=this;a.options.rows>1&&(b=a.$slides.children().children(),b.removeAttr("style"),a.$slider.empty().append(b))},b.prototype.clickHandler=function(a){var b=this;b.shouldClick===!1&&(a.stopImmediatePropagation(),a.stopPropagation(),a.preventDefault())},b.prototype.destroy=function(b){var c=this;c.autoPlayClear(),c.touchObject={},c.cleanUpEvents(),a(".slick-cloned",c.$slider).detach(),c.$dots&&c.$dots.remove(),c.$prevArrow&&c.$prevArrow.length&&(c.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlExpr.test(c.options.prevArrow)&&c.$prevArrow.remove()),c.$nextArrow&&c.$nextArrow.length&&(c.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),c.htmlExpr.test(c.options.nextArrow)&&c.$nextArrow.remove()),c.$slides&&(c.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){a(this).attr("style",a(this).data("originalStyling"))}),c.$slideTrack.children(this.options.slide).detach(),c.$slideTrack.detach(),c.$list.detach(),c.$slider.append(c.$slides)),c.cleanUpRows(),c.$slider.removeClass("slick-slider"),c.$slider.removeClass("slick-initialized"),c.$slider.removeClass("slick-dotted"),c.unslicked=!0,b||c.$slider.trigger("destroy",[c])},b.prototype.disableTransition=function(a){var b=this,c={};c[b.transitionType]="",b.options.fade===!1?b.$slideTrack.css(c):b.$slides.eq(a).css(c)},b.prototype.fadeSlide=function(a,b){var c=this;c.cssTransitions===!1?(c.$slides.eq(a).css({zIndex:c.options.zIndex}),c.$slides.eq(a).animate({opacity:1},c.options.speed,c.options.easing,b)):(c.applyTransition(a),c.$slides.eq(a).css({opacity:1,zIndex:c.options.zIndex}),b&&setTimeout(function(){c.disableTransition(a),b.call()},c.options.speed))},b.prototype.fadeSlideOut=function(a){var b=this;b.cssTransitions===!1?b.$slides.eq(a).animate({opacity:0,zIndex:b.options.zIndex-2},b.options.speed,b.options.easing):(b.applyTransition(a),b.$slides.eq(a).css({opacity:0,zIndex:b.options.zIndex-2}))},b.prototype.filterSlides=b.prototype.slickFilter=function(a){var b=this;null!==a&&(b.$slidesCache=b.$slides,b.unload(),b.$slideTrack.children(this.options.slide).detach(),b.$slidesCache.filter(a).appendTo(b.$slideTrack),b.reinit())},b.prototype.focusHandler=function(){var b=this;b.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*:not(.slick-arrow)",function(c){c.stopImmediatePropagation();var d=a(this);setTimeout(function(){b.options.pauseOnFocus&&(b.focussed=d.is(":focus"),b.autoPlay())},0)})},b.prototype.getCurrent=b.prototype.slickCurrentSlide=function(){var a=this;return a.currentSlide},b.prototype.getDotCount=function(){var a=this,b=0,c=0,d=0;if(a.options.infinite===!0)for(;b<a.slideCount;)++d,b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;else if(a.options.centerMode===!0)d=a.slideCount;else if(a.options.asNavFor)for(;b<a.slideCount;)++d,b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;else d=1+Math.ceil((a.slideCount-a.options.slidesToShow)/a.options.slidesToScroll);return d-1},b.prototype.getLeft=function(a){var c,d,f,b=this,e=0;return b.slideOffset=0,d=b.$slides.first().outerHeight(!0),b.options.infinite===!0?(b.slideCount>b.options.slidesToShow&&(b.slideOffset=b.slideWidth*b.options.slidesToShow*-1,e=d*b.options.slidesToShow*-1),b.slideCount%b.options.slidesToScroll!==0&&a+b.options.slidesToScroll>b.slideCount&&b.slideCount>b.options.slidesToShow&&(a>b.slideCount?(b.slideOffset=(b.options.slidesToShow-(a-b.slideCount))*b.slideWidth*-1,e=(b.options.slidesToShow-(a-b.slideCount))*d*-1):(b.slideOffset=b.slideCount%b.options.slidesToScroll*b.slideWidth*-1,e=b.slideCount%b.options.slidesToScroll*d*-1))):a+b.o
vendor: 4,100 bytes, line 641
641ptions.slidesToShow>b.slideCount&&(b.slideOffset=(a+b.options.slidesToShow-b.slideCount)*b.slideWidth,e=(a+b.options.slidesToShow-b.slideCount)*d),b.slideCount<=b.options.slidesToShow&&(b.slideOffset=0,e=0),b.options.centerMode===!0&&b.options.infinite===!0?b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)-b.slideWidth:b.options.centerMode===!0&&(b.slideOffset=0,b.slideOffset+=b.slideWidth*Math.floor(b.options.slidesToShow/2)),c=b.options.vertical===!1?a*b.slideWidth*-1+b.slideOffset:a*d*-1+e,b.options.variableWidth===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow),c=b.options.rtl===!0?f[0]?-1*(b.$slideTrack.width()-f[0].offsetLeft-f.width()):0:f[0]?-1*f[0].offsetLeft:0,b.options.centerMode===!0&&(f=b.slideCount<=b.options.slidesToShow||b.options.infinite===!1?b.$slideTrack.children(".slick-slide").eq(a):b.$slideTrack.children(".slick-slide").eq(a+b.options.slidesToShow+1),c=b.options.rtl===!0?f[0]?-1*(b.$slideTrack.width()-f[0].offsetLeft-f.width()):0:f[0]?-1*f[0].offsetLeft:0,c+=(b.$list.width()-f.outerWidth())/2)),c},b.prototype.getOption=b.prototype.slickGetOption=function(a){var b=this;return b.options[a]},b.prototype.getNavigableIndexes=function(){var e,a=this,b=0,c=0,d=[];for(a.options.infinite===!1?e=a.slideCount:(b=-1*a.options.slidesToScroll,c=-1*a.options.slidesToScroll,e=2*a.slideCount);e>b;)d.push(b),b=c+a.options.slidesToScroll,c+=a.options.slidesToScroll<=a.options.slidesToShow?a.options.slidesToScroll:a.options.slidesToShow;return d},b.prototype.getSlick=function(){return this},b.prototype.getSlideCount=function(){var c,d,e,b=this;return e=b.options.centerMode===!0?b.slideWidth*Math.floor(b.options.slidesToShow/2):0,b.options.swipeToSlide===!0?(b.$slideTrack.find(".slick-slide").each(function(c,f){return f.offsetLeft-e+a(f).outerWidth()/2>-1*b.swipeLeft?(d=f,!1):void 0}),c=Math.abs(a(d).attr("data-slick-index")-b.currentSlide)||1):b.options.slidesToScroll},b.prototype.goTo=b.prototype.slickGoTo=function(a,b){var c=this;c.changeSlide({data:{message:"index",index:parseInt(a)}},b)},b.prototype.init=function(b){var c=this;a(c.$slider).hasClass("slick-initialized")||(a(c.$slider).addClass("slick-initialized"),c.buildRows(),c.buildOut(),c.setProps(),c.startLoad(),c.loadSlider(),c.initializeEvents(),c.updateArrows(),c.updateDots(),c.checkResponsive(!0),c.focusHandler()),b&&c.$slider.trigger("init",[c]),c.options.accessibility===!0&&c.initADA(),c.options.autoplay&&(c.paused=!1,c.autoPlay())},b.prototype.initADA=function(){var b=this;b.$slides.add(b.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),b.$slideTrack.attr("role","listbox"),b.$slides.not(b.$slideTrack.find(".slick-cloned")).each(function(c){a(this).attr({role:"option","aria-describedby":"slick-slide"+b.instanceUid+c})}),null!==b.$dots&&b.$dots.attr("role","tablist").find("li").each(function(c){a(this).attr({role:"presentation","aria-selected":"false","aria-controls":"navigation"+b.instanceUid+c,id:"slick-slide"+b.instanceUid+c})}).first().attr("aria-selected","true").end().find("button").attr("role","button").end().closest("div").attr("role","toolbar"),b.activateADA()},b.prototype.initArrowEvents=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},a.changeSlide),a.$nextArrow.off("click.slick").on("click.slick",{message:"next"},a.changeSlide))},b.prototype.initDotEvents=function(){var b=this;b.options.dots===!0&&b.slideCount>b.options.slidesToShow&&a("li",b.$dots).on("click.slick",{message:"index"},b.changeSlide),b.options.dots===!0&&b.options.pauseOnDotsHover===!0&&a("li",b.$dots).on("mouseenter.slick",a.proxy(b.interrupt,b,!0)).on("mouseleave.slick",a.proxy(b.interrupt,b,!1))},b.prototype.initSlideEvents=function(){var b=this;b.options.pauseOnHover&&(b.$list.on("mouseenter.slick",a.proxy(b.interrupt,b,!0)),b.$list.on("mouseleave.
641slick",a.proxy(b.interrupt,b,!1)))},b.prototype.initializeEvents=function(){var b=this;b.initArrowEvents(),b.initDotEvents(),b.initSlideEvents(),b.$list.on("touchstart.slick mousedown.slick",{action:"start"},b.swipeHandler),b.$list.on("touchmove.slick mousemove.slick",{action:"move"},b.swipeHandler),b.$list.on("touchend.slick mouseup.slick",{action:"end"},b.swipeHandler),b.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},b.swipeHandler),b.$list.on("click.slick",b.clickHandler),a(document).on(b.visibilityChange,a.proxy(b.visibility,b)),b.options.accessibility===!0&&b.$list.on("keydown.slick",b.keyHandler),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),a(window).on("orientationchange.slick.slick-"+b.instanceUid,a.proxy(b.orientationChange,b)),a(window).on("resize.slick.slick-"+b.instanceUid,a.proxy(b.resize,b)),a("[draggable!=true]",b.$slideTrack).on("dragstart",b.preventDefault),a(window).on("load.slick.slick-"+b.instanceUid,b.setPosition),a(document).on("ready.slick.slick-"+b.instanceUid,b.setPosition)},b.prototype.initUI=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.show(),a.$nextArrow.show()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.show()},b.prototype.keyHandler=function(a){var b=this;a.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===a.keyCode&&b.options.accessibility===!0?b.changeSlide({data:{message:b.options.rtl===!0?"next":"previous"}}):39===a.keyCode&&b.options.accessibility===!0&&b.changeSlide({data:{message:b.options.rtl===!0?"previous":"next"}}))},b.prototype.lazyLoad=function(){function g(c){a("img[data-lazy]",c).each(function(){var c=a(this),d=a(this).attr("data-lazy"),e=document.createElement("img");e.onload=function(){c.animate({opacity:0}
641,100,function(){c.attr("src",d).animate({opacity:1},200,function(){c.removeAttr("data-lazy").removeClass("slick-loading")}),b.$slider.trigger("lazyLoaded",[b,c,d])})},e.onerror=function(){c.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),b.$slider.trigger("lazyLoadError",[b,c,d])},e.src=d})}var c,d,e,f,b=this;b.options.centerMode===!0?b.options.infinite===!0?(e=b.currentSlide+(b.options.slidesToShow/2+1),f=e+b.options.slidesToShow+2):(e=Math.max(0,b.currentSlide-(b.options.slidesToShow/2+1)),f=2+(b.options.slidesToShow/2+1)+b.currentSlide):(e=b.options.infinite?b.options.slidesToShow+b.currentSlide:b.currentSlide,f=Math.ceil(e+b.options.slidesToShow),b.options.fade===!0&&(e>0&&e--,f<=b.slideCount&&f++)),c=b.$slider.find(".slick-slide").slice(e,f),g(c),b.slideCount<=b.options.slidesToShow?(d=b.$slider.find(".slick-slide"),g(d)):b.currentSlide>=b.slideCount-b.options.slidesToShow?(d=b.$slider.find(".slick-cloned").slice(0,b.options.slidesToShow),g(d)):0===b.currentSlide&&(d=b.$slider.find(".slick-cloned").slice(-1*b.options.slidesToShow),g(d))},b.prototype.loadSlider=function(){var a=this;a.setPosition(),a.$slideTrack.css({opacity:1}),a.$slider.removeClass("slick-loading"),a.initUI(),"progressive"===a.options.lazyLoad&&a.progressiveLazyLoad()},b.prototype.next=b.prototype.slickNext=function(){var a=this;a.changeSlide({data:{message:"next"}})},b.prototype.orientationChange=function(){var a=this;a.checkResponsive(),a.setPosition()},b.prototype.pause=b.prototype.slickPause=function(){var a=this;a.autoPlayClear(),a.paused=!0},b.prototype.play=b.prototype.slickPlay=function(){var a=this;a.autoPlay(),a.options.autoplay=!0,a.paused=!1,a.focussed=!1,a.interrupted=!1},b.prototype.postSlide=function(a){var b=this;b.unslicked||(b.$slider.trigger("afterChange",[b,a]),b.animating=!1,b.setPosition(),b.swipeLeft=null,b.options.autoplay&&b.autoPlay(),b.options.accessibility===!0&&b.initADA())},b.prototype.prev=b.prototype.slickPrev=function(){var a=this;a.changeSlide({data:{message:"previous"}})},b.prototype.preventDefault=function(a){a.preventDefault()},b.prototype.progressiveLazyLoad=function(b){b=b||1;var e,f,g,c=this,d=a("img[data-lazy]",c.$slider);d.length?(e=d.first(),f=e.attr("data-lazy"),g=document.createElement("img"),g.onload=function(){e.attr("src",f).removeAttr("data-lazy").removeClass("slick-loading"),c.options.adaptiveHeight===!0&&c.setPosition(),c.$slider.trigger("lazyLoaded",[c,e,f]),c.progressiveLazyLoad()},g.onerror=function(){3>b?setTimeout(function(){c.progressiveLazyLoad(b+1)},500):(e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),c.$slider.trigger("lazyLoadError",[c,e,f]),c.progressiveLazyLoad())},g.src=f):c.$slider.trigger("allImagesLoaded",[c])},b.prototype.refresh=function(b){var d,e,c=this;e=c.slideCount-c.options.slidesToShow,!c.options.infinite&&c.currentSlide>e&&(c.currentSlide=e),c.slideCount<=c.options.slidesToShow&&(c.currentSlide=0),d=c.currentSlide,c.destroy(!0),a.extend(c,c.initials,{currentSlide:d}),c.init(),b||c.changeSlide({data:{message:"index",index:d}},!1)},b.prototype.registerBreakpoints=function(){var c,d,e,b=this,f=b.options.responsive||null;if("array"===a.type(f)&&f.length){b.respondTo=b.options.respondTo||"window";for(c in f)if(e=b.breakpoints.length-1,d=f[c].breakpoint,f.hasOwnProperty(c)){for(;e>=0;)b.breakpoints[e]&&b.breakpoints[e]===d&&b.breakpoints.splice(e,1),e--;b.breakpoints.push(d),b.breakpointSettings[d]=f[c].settings}b.breakpoints.sort(function(a,c){return b.options.mobileFirst?a-c:c-a})}},b.prototype.reinit=function(){var b=this;b.$slides=b.$slideTrack.children(b.options.slide).addClass("slick-slide"),b.slideCount=b.$slides.length,b.currentSlide>=b.slideCount&&0!==b.currentSlide&&(b.currentSlide=b.currentSlide-b.options.slidesToScroll),b.slideCount<=b.options.slidesToShow&&(b.currentSlide=0),b.registerBreakpoints(),b.setProps(),b.setupInfinite(),b.buildArrows(),b.updateArrows(),b.initArrowEvents(),b.buildDots(),b.updateDots(),b.initDotEvents(),b.cleanUpSlideEvents(),b.initSlideEvents(),b.checkResponsive(!1,!0),b.options.focusOnSelect===!0&&a(b.$slideTrack).children().on("click.slick",b.selectHandler),b.setSlideClasses("number"==typeof b.currentSlide?b.currentSlide:0),b.setPosition(),b.focu
vendor: 2,346 bytes, line 641
641sHandler(),b.paused=!b.options.autoplay,b.autoPlay(),b.$slider.trigger("reInit",[b])},b.prototype.resize=function(){var b=this;a(window).width()!==b.windowWidth&&(clearTimeout(b.windowDelay),b.windowDelay=window.setTimeout(function(){b.windowWidth=a(window).width(),b.checkResponsive(),b.unslicked||b.setPosition()},50))},b.prototype.removeSlide=b.prototype.slickRemove=function(a,b,c){var d=this;return"boolean"==typeof a?(b=a,a=b===!0?0:d.slideCount-1):a=b===!0?--a:a,d.slideCount<1||0>a||a>d.slideCount-1?!1:(d.unload(),c===!0?d.$slideTrack.children().remove():d.$slideTrack.children(this.options.slide).eq(a).remove(),d.$slides=d.$slideTrack.children(this.options.slide),d.$slideTrack.children(this.options.slide).detach(),d.$slideTrack.append(d.$slides),d.$slidesCache=d.$slides,void d.reinit())},b.prototype.setCSS=function(a){var d,e,b=this,c={};b.options.rtl===!0&&(a=-a),d="left"==b.positionProp?Math.ceil(a)+"px":"0px",e="top"==b.positionProp?Math.ceil(a)+"px":"0px",c[b.positionProp]=a,b.transformsEnabled===!1?b.$slideTrack.css(c):(c={},b.cssTransitions===!1?(c[b.animType]="translate("+d+", "+e+")",b.$slideTrack.css(c)):(c[b.animType]="translate3d("+d+", "+e+", 0px)",b.$slideTrack.css(c)))},b.prototype.setDimensions=function(){var a=this;a.options.vertical===!1?a.options.centerMode===!0&&a.$list.css({padding:"0px "+a.options.centerPadding}):(a.$list.height(a.$slides.first().outerHeight(!0)*a.options.slidesToShow),a.options.centerMode===!0&&a.$list.css({padding:a.options.centerPadding+" 0px"})),a.listWidth=a.$list.width(),a.listHeight=a.$list.height(),a.options.vertical===!1&&a.options.variableWidth===!1?(a.slideWidth=Math.ceil(a.listWidth/a.options.slidesToShow),a.$slideTrack.width(Math.ceil(a.slideWidth*a.$slideTrack.children(".slick-slide").length))):a.options.variableWidth===!0?a.$slideTrack.width(5e3*a.slideCount):(a.slideWidth=Math.ceil(a.listWidth),a.$slideTrack.height(Math.ceil(a.$slides.first().outerHeight(!0)*a.$slideTrack.children(".slick-slide").length)));var b=a.$slides.first().outerWidth(!0)-a.$slides.first().width();a.options.variableWidth===!1&&a.$slideTrack.children(".slick-slide").width(a.slideWidth-b)},b.prototype.setFade=function(){var c,b=this;b.$slides.each(function(d,e){c=b.slideWidth*d*-1,b.options.rtl===!0?a(e).css({position:"relative",right:c,top:0,zIndex:b.options.zIndex-2,opacity:0}
vendor: 3,177 bytes, line 641
641):a(e).css({position:"relative",left:c,top:0,zIndex:b.options.zIndex-2,opacity:0})}),b.$slides.eq(b.currentSlide).css({zIndex:b.options.zIndex-1,opacity:1})},b.prototype.setHeight=function(){var a=this;if(1===a.options.slidesToShow&&a.options.adaptiveHeight===!0&&a.options.vertical===!1){var b=a.$slides.eq(a.currentSlide).outerHeight(!0);a.$list.css("height",b)}},b.prototype.setOption=b.prototype.slickSetOption=function(){var c,d,e,f,h,b=this,g=!1;if("object"===a.type(arguments[0])?(e=arguments[0],g=arguments[1],h="multiple"):"string"===a.type(arguments[0])&&(e=arguments[0],f=arguments[1],g=arguments[2],"responsive"===arguments[0]&&"array"===a.type(arguments[1])?h="responsive":"undefined"!=typeof arguments[1]&&(h="single")),"single"===h)b.options[e]=f;else if("multiple"===h)a.each(e,function(a,c){b.options[a]=c});else if("responsive"===h)for(d in f)if("array"!==a.type(b.options.responsive))b.options.responsive=[f[d]];else{for(c=b.options.responsive.length-1;c>=0;)b.options.responsive[c].breakpoint===f[d].breakpoint&&b.options.responsive.splice(c,1),c--;b.options.responsive.push(f[d])}g&&(b.unload(),b.reinit())},b.prototype.setPosition=function(){var a=this;a.setDimensions(),a.setHeight(),a.options.fade===!1?a.setCSS(a.getLeft(a.currentSlide)):a.setFade(),a.$slider.trigger("setPosition",[a])},b.prototype.setProps=function(){var a=this,b=document.body.style;a.positionProp=a.options.vertical===!0?"top":"left","top"===a.positionProp?a.$slider.addClass("slick-vertical"):a.$slider.removeClass("slick-vertical"),(void 0!==b.WebkitTransition||void 0!==b.MozTransition||void 0!==b.msTransition)&&a.options.useCSS===!0&&(a.cssTransitions=!0),a.options.fade&&("number"==typeof a.options.zIndex?a.options.zIndex<3&&(a.options.zIndex=3):a.options.zIndex=a.defaults.zIndex),void 0!==b.OTransform&&(a.animType="OTransform",a.transformType="-o-transform",a.transitionType="OTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.MozTransform&&(a.animType="MozTransform",a.transformType="-moz-transform",a.transitionType="MozTransition",void 0===b.perspectiveProperty&&void 0===b.MozPerspective&&(a.animType=!1)),void 0!==b.webkitTransform&&(a.animType="webkitTransform",a.transformType="-webkit-transform",a.transitionType="webkitTransition",void 0===b.perspectiveProperty&&void 0===b.webkitPerspective&&(a.animType=!1)),void 0!==b.msTransform&&(a.animType="msTransform",a.transformType="-ms-transform",a.transitionType="msTransition",void 0===b.msTransform&&(a.animType=!1)),void 0!==b.transform&&a.animType!==!1&&(a.animType="transform",a.transformType="transform",a.transitionType="transition"),a.transformsEnabled=a.options.useTransform&&null!==a.animType&&a.animType!==!1},b.prototype.setSlideClasses=function(a){var c,d,e,f,b=this;d=b.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),b.$slides.eq(a).addClass("slick-current"),b.options.centerMode===!0?(c=Math.floor(b.options.slidesToShow/2),b.options.infinite===!0&&(a>=c&&a<=b.slideCount-1-c?b.$slides.slice(a-c,a+c+1).addClass("slick-active").attr("aria-hidden","false"):(e=b.options.slidesToShow+a,
vendor: 1,607 bytes, line 642
642d.slice(e-c+1,e+c+2).addClass("slick-active").attr("aria-hidden","false")),0===a?d.eq(d.length-1-b.options.slidesToShow).addClass("slick-center"):a===b.slideCount-1&&d.eq(b.options.slidesToShow).addClass("slick-center")),b.$slides.eq(a).addClass("slick-center")):a>=0&&a<=b.slideCount-b.options.slidesToShow?b.$slides.slice(a,a+b.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):d.length<=b.options.slidesToShow?d.addClass("slick-active").attr("aria-hidden","false"):(f=b.slideCount%b.options.slidesToShow,e=b.options.infinite===!0?b.options.slidesToShow+a:a,b.options.slidesToShow==b.options.slidesToScroll&&b.slideCount-a<b.options.slidesToShow?d.slice(e-(b.options.slidesToShow-f),e+f).addClass("slick-active").attr("aria-hidden","false"):d.slice(e,e+b.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===b.options.lazyLoad&&b.lazyLoad()},b.prototype.setupInfinite=function(){var c,d,e,b=this;if(b.options.fade===!0&&(b.options.centerMode=!1),b.options.infinite===!0&&b.options.fade===!1&&(d=null,b.slideCount>b.options.slidesToShow)){for(e=b.options.centerMode===!0?b.options.slidesToShow+1:b.options.slidesToShow,c=b.slideCount;c>b.slideCount-e;c-=1)d=c-1,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d-b.slideCount).prependTo(b.$slideTrack).addClass("slick-cloned");for(c=0;e>c;c+=1)d=c,a(b.$slides[d]).clone(!0).attr("id","").attr("data-slick-index",d+b.slideCount).appendTo(b.$slideTrack).addClass("slick-cloned");b.$slideTrack.find(".slick-cloned").find("[id]").each(function(){a(this).attr("id","")})}},b.prototype.
642interrupt=function(a){var b=this;a||b.autoPlay(),b.interrupted=a},b.prototype.selectHandler=function(b){var c=this,d=a(b.target).is(".slick-slide")?a(b.target):a(b.target).parents(".slick-slide"),e=parseInt(d.attr("data-slick-index"));return e||(e=0),c.slideCount<=c.options.slidesToShow?(c.setSlideClasses(e),void c.asNavFor(e)):void c.slideHandler(e)},b.prototype.slideHandler=function(a,b,c){var d,e,f,g,j,h=null,i=this;return b=b||!1,i.animating===!0&&i.options.waitForAnimate===!0||i.options.fade===!0&&i.currentSlide===a||i.slideCount<=i.options.slidesToShow?void 0:(b===!1&&i.asNavFor(a),d=a,h=i.getLeft(d),g=i.getLeft(i.currentSlide),i.currentLeft=null===i.swipeLeft?g:i.swipeLeft,i.options.infinite===!1&&i.options.centerMode===!1&&(0>a||a>i.getDotCount()*i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):i.options.infinite===!1&&i.options.centerMode===!0&&(0>a||a>i.slideCount-i.options.slidesToScroll)?void(i.options.fade===!1&&(d=i.currentSlide,c!==!0?i.animateSlide(g,function(){i.postSlide(d)}):i.postSlide(d))):(i.options.autoplay&&clearInterval(i.autoPlayTimer),e=0>d?i.slideCount%i.options.slidesToScroll!==0?i.slideCount-i.slideCount%i.options.slidesToScroll:i.slideCount+d:d>=i.slideCount?i.slideCount%i.options.slidesToScroll!==0?0:d-i.slideCount:d,i.animating=!0,i.$slider.trigger("beforeChange",[i,i.currentSlide,e]),f=i.currentSlide,i.currentSlide=e,i.setSlideClasses(i.currentSlide),i.options.asNavFor&&(j=i.getNavTarget(),j=j.slick("getSlick"),j.slideCount<=j.options.slidesToShow&&j.setSlideClasses(i.currentSlide)),i.updateDots(),i.updateArrows(),i.options.fade===!0?(c!==!0?(i.fadeSlideOut(f),i.fadeSlide(e,function(){i.postSlide(e)})):i.postSlide(e),void i.animateHeight()):void(c!==!0?i.animateSlide(h,function(){i.postSlide(e)}):i.postSlide(e))))},b.prototype.startLoad=function(){var a=this;a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&(a.$prevArrow.hide(),a.$nextArrow.hide()),a.options.dots===!0&&a.slideCount>a.options.slidesToShow&&a.$dots.hide(),a.$slider.addClass("slick-loading")},b.prototype.swipeDirection=function(){var a,b,c,d,e=this;return a=e.touchObject.startX-e.touchObject.curX,b=e.touchObject.startY-e.touchObject.curY,c=Math.atan2(b,a),d=Math.round(180*c/Math.PI),0>d&&(d=360-Math.abs(d)),45>=d&&d>=0?e.options.rtl===!1?"left":"right":360>=d&&d>=315?e.options.rtl===!1?"left":"right":d>=135&&225>=d?e.options.rtl===!1?"right":"left":e.options.verticalSwiping===!0?d>=35&&135>=d?"down":"up":"vertical"},b.prototype.swipeEnd=function(a){var c,d,b=this;if(b.dragging=!1,b.interrupted=!1,b.shouldClick=b.touchObject.swipeLength>10?!1:!0,void 0===b.touchObject.curX)return!1;if(b.touchObject.edgeHit===!0&&b.$slider.trigger("edge",[b,b.swipeDirection()]),b.touchObject.swipeLength>=b.touchObject.minSwipe){switch(d=b.swipeDirection()){case"left":case"down":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide+b.getSlideCount()):b.currentSlide+b.getSlideCount(),b.currentDirection=0;break;case"right":case"up":c=b.options.swipeToSlide?b.checkNavigable(b.currentSlide-b.getSlideCount()):b.currentSlide-b.getSlideCount(),b.currentDirection=1}"vertical"!=d&&(b.slideHandler(c),b.touchObject={},b.$slider.trigger("swipe",[b,d]))}else b.touchObject.startX!==b.touchObject.curX&&(b.slideHandler(b.currentSlide),b.touchObject={})},b.prototype.swipeHandler=function(a){var b=this;if(!(b.options.swipe===!1||"ontouchend"in document&&b.options.swipe===!1||b.options.draggable===!1&&-1!==a.type.indexOf("mouse")))switch(b.touchObject.fingerCount=a.originalEvent&&void 0!==a.originalEvent.touches?a.originalEvent.touches.length:1,b.touchObject.minSwipe=b.listWidth/b.options.touchThreshold,b.options.verticalSwiping===!0&&(b.touchObject.minSwipe=b.listHeight/b.options.touchThreshold),a.data.action){case"start":b.swipeStart(a);break;case"move":b.swipeMove(a);break;case"end":b.swipeEnd(a)}},b.prototype.swipeMove=function(a){var d,e,f,g,h,b=this;return h=void 0!==a.originalEvent?a.originalEvent.touches:null,!b.dragging||h&&1!==h.length?!1:(d=b.getLeft(b.currentSlide),b.touchObject.curX=void 0!==h?h[0].pageX:a.clientX,b.touchObject.curY=void 0!==h?h[0].pageY:a.clientY,b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curX-b.touchObject.startX,2))),b.options.verticalSwiping===!0&&(b.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(b.touchObject.curY-b.touchObject.startY,2)))),e=b.swipeDirection(),"vertical"!==e?(void 0!==a.originalEvent&&b.touchObject.swipeLength>
6424&&a.preventDefault(),g=(b.options.rtl===!1?1:-1)*(b.touchObject.curX>b.touchObject.startX?1:-1),b.options.verticalSwiping===!0&&(g=b.touchObject.curY>b.touchObject.startY?1:-1),f=b.touchObject.swipeLength,b.touchObject.edgeHit=!1,b.options.infinite===!1&&(0===b.currentSlide&&"right"===e||b.currentSlide>=b.getDotCount()&&"left"===e)&&(f=b.touchObject.swipeLength*b.options.edgeFriction,b.touchObject.edgeHit=!0),b.options.vertical===!1?b.swipeLeft=d+f*g:b.swipeLeft=d+f*(b.$list.height()/b.listWidth)*g,b.options.verticalSwiping===!0&&(b.swipeLeft=d+f*g),b.options.fade===!0||b.options.touchMove===!1?!1:b.animating===!0?(b.swipeLeft=null,!1):void b.setCSS(b.swipeLeft)):void 0)},b.prototype.swipeStart=function(a){var c,b=this;return b.interrupted=!0,1!==b.touchObject.fingerCount||b.slideCount<=b.options.slidesToShow?(b.touchObject={},!1):(void 0!==a.originalEvent&&void 0!==a.originalEvent.touches&&(c=a.originalEvent.touches[0]),b.touchObject.startX=b.touchObject.curX=void 0!==c?c.pageX:a.clientX,b.touchObject.startY=b.touchObject.curY=void 0!==c?c.pageY:a.clientY,void(b.dragging=!0))},b.prototype.unfilterSlides=b.prototype.slickUnfilter=function(){var a=this;null!==a.$slidesCache&&(a.unload(),a.$slideTrack.children(this.options.slide).detach(),a.$slidesCache.appendTo(a.$slideTrack),a.reinit())},b.prototype.unload=function(){var b=this;a(".slick-cloned",b.$slider).remove(),b.$dots&&b.$dots.remove(),b.$prevArrow&&b.htmlExpr.test(b.options.prevArrow)&&b.$prevArrow.remove(),b.$nextArrow&&b.htmlExpr.test(b.options.nextArrow)&&b.$nextArrow.remove(),b.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},b.prototype.unslick=function(a){var b=this;b.$slider.trigger("unslick",[b,a]),b.destroy()},b.prototype.updateArrows=function(){var b,a=this;b=Math.floor(a.options.slidesToShow/2),a.options.arrows===!0&&a.slideCount>a.options.slidesToShow&&!a.options.infinite&&(a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===a.currentSlide?(a.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):a.currentSlide>=a.slideCount-a.options.slidesToShow&&a.options.centerMode===!1?(a.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):a.currentSlide>=a.slideCount-1&&a.options.centerMode===!0&&(a.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),a.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},b.prototype.updateDots=function(){var a=this;null!==a.$dots&&(a.$dots.find("li").removeClass("slick-active").attr("aria-hidden","true"),a.$dots.find("li").eq(Math.floor(a.currentSlide/a.options.slidesToScroll)).addClass("slick-active").attr("aria-hidden","false"))},b.prototype.visibility=function(){var a=this;a.options.autoplay&&(document[a.hidden]?a.interrupted=!0:a.interrupted=!1)},a.fn.slick=function(){var f,g,a=this,c=arguments[0],d=Array.prototype.slice.call(arguments,1),e=a.length;for(f=0;e>f;f++)if("object"==typeof c||"undefined"==typeof c?a[f].slick=new b(a[f],c):g=a[f].slick[c].apply(a[f].slick,d),"undefined"!=typeof g)return g;return a}}); 643; 644 645/* project/design/resources/js/jquery.waypoints.js */ 646/*! 647Waypoints - 4.0.1 648Copyright © 2011-2016 Caleb Troughton 649Licensed under the MIT license. 650https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 651*/ 652(function() { 653 'use strict' 654 655 var keyCounter = 0 656 var allWaypoints = {} 657 658 /* http://imakewebthings.com/waypoints/api/waypoint */ 659 function Waypoint(options) { 660 if (!options) { 661 throw new Error('No options passed to Waypoint constructor') 662 } 663 if (!options.element) { 664 throw new Error('No element option passed to Waypoint constructor') 665 } 666 if (!options.handler) { 667 throw new Error('No handler option passed to Waypoint constructor') 668 } 669 670 this.key = 'waypoint-' + keyCounter 671 this.options = Waypoint.Adapter.extend({}, Waypoint.defaults, options) 672 this.element = this.options.element 673 this.adapter = new Waypoint.Adapter(this.element) 674 this.callback = options.handler 675 this.axis = this.options.horizontal ? 'horizontal' : 'vertical' 676 this.enabled = this.options.enabled 677 this.triggerPoint = null 678 this.group = Waypoint.Group.findOrCreate({ 679 name: this.options.group, 680 axis: this.axis 681 }) 682 this.context = Waypoint.Context.findOrCreateByElement(this.options.context) 683 684 if (Waypoint.offsetAliases[this.options.offset]) { 685 this.options.offset = Waypoint.offsetAliases[this.options.offset] 686 } 687 this.group.add(this) 688 this.context.add(this) 689 allWaypoints[this.key] = this 690 keyCounter += 1 691 } 692 693 /* Private */ 694 Waypoint.prototype.queueTrigger = function(direction) { 695 this.group.queueTrigger(this, direction) 696 } 697 698 /* Private */ 699 Waypoint.prototype.trigger = function(args) { 700 if (!this.enabled) { 701 return 702 } 703 if (this.callback) { 704 this.callback.apply(this, args) 705 } 706 } 707 708 /* Public */ 709 /* http://imakewebthings.com/waypoints/api/destroy */ 710 Waypoint.prototype.destroy = function() { 711 this.context.remove(this) 712 this.group.remove(this) 713 delete allWaypoints[this.key] 714 } 715 716 /* Public */ 717 /* http://imakewebthings.com/waypoints/api/disable */ 718 Waypoint.prototype.disable = function() { 719 this.enabled = false 720 return this 721 } 722 723 /* Public */ 724 /* http://imakewebthings.com/waypoints/api/enable */ 725 Waypoint.prototype.enable = function() { 726 this.context.refresh() 727 this.enabled = true 728 return this 729 } 730 731 /* Public */ 732 /* http://imakewebthings.com/waypoints/api/next */ 733 Waypoint.prototype.next = function() { 734 return this.group.next(this) 735 } 736 737 /* Public */ 738 /* http://imakewebthings.com/waypoints/api/previous */ 739 Waypoint.prototype.previous = function() { 740 return this.group.previous(this) 741 } 742 743 /* Private */ 744 Waypoint.invokeAll = function(method) { 745 var allWaypointsArray = []
746 for (var waypointKey in allWaypoints) { 747 allWaypointsArray.push(allWaypoints[waypointKey]) 748 } 749 for (var i = 0, end = allWaypointsArray.length; i < end; i++) { 750 allWaypointsArray[i][method]() 751 } 752 } 753 754 /* Public */ 755 /* http://imakewebthings.com/waypoints/api/destroy-all */ 756 Waypoint.destroyAll = function() { 757 Waypoint.invokeAll('destroy') 758 } 759 760 /* Public */ 761 /* http://imakewebthings.com/waypoints/api/disable-all */ 762 Waypoint.disableAll = function() { 763 Waypoint.invokeAll('disable') 764 } 765 766 /* Public */ 767 /* http://imakewebthings.com/waypoints/api/enable-all */ 768 Waypoint.enableAll = function() { 769 Waypoint.Context.refreshAll() 770 for (var waypointKey in allWaypoints) { 771 allWaypoints[waypointKey].enabled = true 772 } 773 return this 774 } 775 776 /* Public */ 777 /* http://imakewebthings.com/waypoints/api/refresh-all */ 778 Waypoint.refreshAll = function() { 779 Waypoint.Context.refreshAll() 780 } 781 782 /* Public */ 783 /* http://imakewebthings.com/waypoints/api/viewport-height */ 784 Waypoint.viewportHeight = function() { 785 return window.innerHeight || document.documentElement.clientHeight 786 } 787 788 /* Public */ 789 /* http://imakewebthings.com/waypoints/api/viewport-width */ 790 Waypoint.viewportWidth = function() { 791 return document.documentElement.clientWidth 792 } 793 794 Waypoint.adapters = [] 795 796 Waypoint.defaults = { 797 context: window, 798 continuous: true, 799 enabled: true, 800 group: 'default', 801 horizontal: false, 802 offset: 0 803 } 804 805 Waypoint.offsetAliases = { 806 'bottom-in-view': function() { 807 return this.context.innerHeight() - this.adapter.outerHeight() 808 }, 809 'right-in-view': function() { 810 return this.context.innerWidth() - this.adapter.outerWidth() 811 } 812 } 813 814 window.Waypoint = Waypoint 815}()) 816;(function() { 817 'use strict' 818 819 function requestAnimationFrameShim(callback) { 820 window.setTimeout(callback, 1000 / 60) 821 } 822 823 var keyCounter = 0 824 var contexts = {} 825 var Waypoint = window.Waypoint 826 var oldWindowLoad = window.onload 827 828 /* http://imakewebthings.com/waypoints/api/context */ 829 function Context(element) { 830 this.element = element 831 this.Adapter = Waypoint.Adapter 832 this.adapter = new this.Adapter(element) 833 this.key = 'waypoint-context-' + keyCounter 834 this.didScroll = false 835 this.didResize = false 836 this.oldScroll = { 837 x: this.adapter.scrollLeft(), 838 y: this.adapter.scrollTop() 839 } 840 this.waypoints = { 841 vertical: {}, 842 horizontal: {} 843 } 844 845 element.waypointContextKey = this.key 846 contexts[element.waypointContextKey] = this 847 keyCounter += 1 848 if (!Waypoint.windowContext) { 849 Waypoint.windowContext = true 850 Waypoint.windowContext = new Context(window) 851 } 852 853 this.createThrottledScrollHandler() 854 this.createThrottledResizeHandler() 855 } 856 857 /* Private */ 858 Context.prototype.add = function(waypoint) { 859 var axis = waypoint.options.horizontal ? 'horizontal' : 'vertical' 860 this.waypoints[axis][waypoint.key] = waypoint 861 this.refresh() 862 } 863 864 /* Private */ 865 Context.prototype.checkEmpty = function() { 866 var horizontalEmpty = this.Adapter.isEmptyObject(this.waypoints.horizontal) 867 var verticalEmpty = this.Adapter.isEmptyObject(this.waypoints.vertical) 868 var isWindow = this.element == this.element.window 869 if (horizontalEmpty && verticalEmpty && !isWindow) { 870 this.adapter.off('.waypoints') 871 delete contexts[this.key] 872 } 873 } 874 875 /* Private */ 876 Context.prototype.createThrottledResizeHandler = function() { 877 var self = this 878 879 function resizeHandler() { 880 self.handleResize() 881 self.didResize = false 882 } 883 884 this.adapter.on('resize.waypoints', function() { 885 if (!self.didResize) { 886 self.didResize = true 887 Waypoint.requestAnimationFrame(resizeHandler) 888 } 889 }) 890 } 891 892 /* Private */ 893 Context.prototype.createThrottledScrollHandler = function() { 894 var self = this 895 function scrollHandler() { 896 self.handleScroll() 897 self.didScroll = false 898 } 899 900 this.adapter.on('scroll.waypoints', function() { 901 if (!self.didScroll || Waypoint.isTouch) { 902 self.didScroll = true 903 Waypoint.requestAnimationFrame(scrollHandler) 904 } 905 }) 906 } 907 908 /* Private */ 909 Context.prototype.handleResize = function() { 910 Waypoint.Context.refreshAll() 911 } 912 913 /* Private */ 914 Context.prototype.handleScroll = function() { 915 var triggeredGroups = {} 916 var axes = { 917 horizontal: { 918 newScroll: this.adapter.scrollLeft(), 919 oldScroll: this.oldScroll.x, 920 forward: 'right', 921 backward: 'left' 922 }, 923 vertical: { 924 newScroll: this.adapter.scrollTop(), 925 oldScroll: this.oldScroll.y, 926 forward: 'down', 927 backward: 'up' 928 } 929 } 930 931 for (var axisKey in axes) { 932 var axis = axes[axisKey] 933 var isForward = axis.newScroll > axis.oldScroll 934 var direction = isForward ? axis.forward : axis.backward 935
936 for (var waypointKey in this.waypoints[axisKey]) { 937 var waypoint = this.waypoints[axisKey][waypointKey] 938 if (waypoint.triggerPoint === null) { 939 continue 940 } 941 var wasBeforeTriggerPoint = axis.oldScroll < waypoint.triggerPoint 942 var nowAfterTriggerPoint = axis.newScroll >= waypoint.triggerPoint 943 var crossedForward = wasBeforeTriggerPoint && nowAfterTriggerPoint 944 var crossedBackward = !wasBeforeTriggerPoint && !nowAfterTriggerPoint 945 if (crossedForward || crossedBackward) { 946 waypoint.queueTrigger(direction) 947 triggeredGroups[waypoint.group.id] = waypoint.group 948 } 949 } 950 } 951 952 for (var groupKey in triggeredGroups) { 953 triggeredGroups[groupKey].flushTriggers() 954 } 955 956 this.oldScroll = { 957 x: axes.horizontal.newScroll, 958 y: axes.vertical.newScroll 959 } 960 } 961 962 /* Private */ 963 Context.prototype.innerHeight = function() { 964 /*eslint-disable eqeqeq */ 965 if (this.element == this.element.window) { 966 return Waypoint.viewportHeight() 967 } 968 /*eslint-enable eqeqeq */ 969 return this.adapter.innerHeight() 970 } 971 972 /* Private */ 973 Context.prototype.remove = function(waypoint) { 974 delete this.waypoints[waypoint.axis][waypoint.key] 975 this.checkEmpty() 976 } 977 978 /* Private */ 979 Context.prototype.innerWidth = function() { 980 /*eslint-disable eqeqeq */ 981 if (this.element == this.element.window) { 982 return Waypoint.viewportWidth() 983 } 984 /*eslint-enable eqeqeq */ 985 return this.adapter.innerWidth() 986 } 987 988 /* Public */ 989 /* http://imakewebthings.com/waypoints/api/context-destroy */ 990 Context.prototype.destroy = function() { 991 var allWaypoints = [] 992 for (var axis in this.waypoints) {
993 for (var waypointKey in this.waypoints[axis]) { 994 allWaypoints.push(this.waypoints[axis][waypointKey]) 995 } 996 } 997 for (var i = 0, end = allWaypoints.length; i < end; i++) { 998 allWaypoints[i].destroy() 999 } 1000 } 1001 1002 /* Public */ 1003 /* http://imakewebthings.com/waypoints/api/context-refresh */ 1004 Context.prototype.refresh = function() { 1005 /*eslint-disable eqeqeq */ 1006 var isWindow = this.element == this.element.window 1007 /*eslint-enable eqeqeq */ 1008 var contextOffset = isWindow ? undefined : this.adapter.offset() 1009 var triggeredGroups = {} 1010 var axes 1011 1012 this.handleScroll() 1013 axes = { 1014 horizontal: { 1015 contextOffset: isWindow ? 0 : contextOffset.left, 1016 contextScroll: isWindow ? 0 : this.oldScroll.x, 1017 contextDimension: this.innerWidth(), 1018 oldScroll: this.oldScroll.x, 1019 forward: 'right', 1020 backward: 'left', 1021 offsetProp: 'left' 1022 }, 1023 vertical: { 1024 contextOffset: isWindow ? 0 : contextOffset.top, 1025 contextScroll: isWindow ? 0 : this.oldScroll.y, 1026 contextDimension: this.innerHeight(), 1027 oldScroll: this.oldScroll.y, 1028 forward: 'down', 1029 backward: 'up', 1030 offsetProp: 'top' 1031 } 1032 } 1033 1034 for (var axisKey in axes) { 1035 var axis = axes[axisKey]
1036 for (var waypointKey in this.waypoints[axisKey]) { 1037 var waypoint = this.waypoints[axisKey][waypointKey] 1038 var adjustment = waypoint.options.offset 1039 var oldTriggerPoint = waypoint.triggerPoint 1040 var elementOffset = 0 1041 var freshWaypoint = oldTriggerPoint == null 1042 var contextModifier, wasBeforeScroll, nowAfterScroll 1043 var triggeredBackward, triggeredForward 1044 1045 if (waypoint.element !== waypoint.element.window) { 1046 elementOffset = waypoint.adapter.offset()[axis.offsetProp] 1047 } 1048 1049 if (typeof adjustment === 'function') { 1050 adjustment = adjustment.apply(waypoint) 1051 } 1052 else if (typeof adjustment === 'string') { 1053 adjustment = parseFloat(adjustment) 1054 if (waypoint.options.offset.indexOf('%') > - 1) { 1055 adjustment = Math.ceil(axis.contextDimension * adjustment / 100) 1056 } 1057 } 1058 1059 contextModifier = axis.contextScroll - axis.contextOffset 1060 waypoint.triggerPoint = Math.floor(elementOffset + contextModifier - adjustment) 1061 wasBeforeScroll = oldTriggerPoint < axis.oldScroll 1062 nowAfterScroll = waypoint.triggerPoint >= axis.oldScroll 1063 triggeredBackward = wasBeforeScroll && nowAfterScroll 1064 triggeredForward = !wasBeforeScroll && !nowAfterScroll 1065 1066 if (!freshWaypoint && triggeredBackward) { 1067 waypoint.queueTrigger(axis.backward) 1068 triggeredGroups[waypoint.group.id] = waypoint.group 1069 } 1070 else if (!freshWaypoint && triggeredForward) { 1071 waypoint.queueTrigger(axis.forward) 1072 triggeredGroups[waypoint.group.id] = waypoint.group 1073 } 1074 else if (freshWaypoint && axis.oldScroll >= waypoint.triggerPoint) { 1075 waypoint.queueTrigger(axis.forward) 1076 triggeredGroups[waypoint.group.id] = waypoint.group 1077 } 1078 } 1079 } 1080 1081 Waypoint.requestAnimationFrame(function() { 1082 for (var groupKey in triggeredGroups) { 1083 triggeredGroups[groupKey].flushTriggers() 1084 } 1085 }) 1086 1087 return this 1088 } 1089 1090 /* Private */ 1091 Context.findOrCreateByElement = function(element) { 1092 return Context.findByElement(element) || new Context(element) 1093 } 1094 1095 /* Private */ 1096 Context.refreshAll = function() { 1097 for (var contextId in contexts) { 1098 contexts[contextId].refresh() 1099 } 1100 } 1101 1102 /* Public */ 1103 /* http://imakewebthings.com/waypoints/api/context-find-by-element */ 1104 Context.findByElement = function(element) { 1105 return contexts[element.waypointContextKey] 1106 } 1107 1108 window.onload = function() { 1109 if (oldWindowLoad) { 1110 oldWindowLoad() 1111 } 1112 Context.refreshAll() 1113 } 1114 1115 1116 Waypoint.requestAnimationFrame = function(callback) { 1117 var requestFn = window.requestAnimationFrame || 1118 window.mozRequestAnimationFrame || 1119 window.webkitRequestAnimationFrame || 1120 requestAnimationFrameShim 1121 requestFn.call(window, callback) 1122 } 1123 Waypoint.Context = Context 1124}()) 1125;(function() { 1126 'use strict' 1127 1128 function byTriggerPoint(a, b) { 1129 return a.triggerPoint - b.triggerPoint 1130 } 1131 1132 function byReverseTriggerPoint(a, b) { 1133 return b.triggerPoint - a.triggerPoint 1134 } 1135 1136 var groups = { 1137 vertical: {}, 1138 horizontal: {} 1139 } 1140 var Waypoint = window.Waypoint 1141 1142 /* http://imakewebthings.com/waypoints/api/group */ 1143 function Group(options) { 1144 this.name = options.name 1145 this.axis = options.axis 1146 this.id = this.name + '-' + this.axis 1147 this.waypoints = [] 1148 this.clearTriggerQueues() 1149 groups[this.axis][this.name] = this 1150 } 1151 1152 /* Private */ 1153 Group.prototype.add = function(waypoint) { 1154 this.waypoints.push(waypoint) 1155 } 1156 1157 /* Private */ 1158 Group.prototype.clearTriggerQueues = function() { 1159 this.triggerQueues = { 1160 up: [], 1161 down: [], 1162 left: [], 1163 right: [] 1164 } 1165 } 1166 1167 /* Private */ 1168 Group.prototype.flushTriggers = function() { 1169 for (var direction in this.triggerQueues) { 1170 var waypoints = this.triggerQueues[direction] 1171 var reverse = direction === 'up' || direction === 'left' 1172 waypoints.sort(reverse ? byReverseTriggerPoint : byTriggerPoint) 1173 for (var i = 0, end = waypoints.length; i < end; i += 1) { 1174 var waypoint = waypoints[i] 1175 if (waypoint.options.continuous || i === waypoints.length - 1) { 1176 waypoint.trigger([direction]) 1177 } 1178 } 1179 } 1180 this.clearTriggerQueues() 1181 } 1182 1183 /* Private */ 1184 Group.prototype.next = function(waypoint) { 1185 this.waypoints.sort(byTriggerPoint) 1186 var index = Waypoint.Adapter.inArray(waypoint, this.waypoints) 1187 var isLast = index === this.waypoints.length - 1 1188 return isLast ? null : this.waypoints[index + 1] 1189 } 1190 1191 /* Private */ 1192 Group.prototype.previous = function(waypoint) { 1193 this.waypoints.sort(byTriggerPoint) 1194 var index = Waypoint.Adapter.inArray(waypoint, this.waypoints) 1195 return index ? this.waypoints[index - 1] : null 1196 } 1197 1198 /* Private */ 1199 Group.prototype.queueTrigger = function(waypoint, direction) { 1200 this.triggerQueues[direction].push(waypoint) 1201 } 1202 1203 /* Private */ 1204 Group.prototype.remove = function(waypoint) { 1205 var index = Waypoint.Adapter.inArray(waypoint, this.waypoints) 1206 if (index > -1) { 1207 this.waypoints.splice(index, 1) 1208 } 1209 } 1210 1211 /* Public */ 1212 /* http://imakewebthings.com/waypoints/api/first */ 1213 Group.prototype.first = function() { 1214 return this.waypoints[0] 1215 } 1216 1217 /* Public */ 1218 /* http://imakewebthings.com/waypoints/api/last */ 1219 Group.prototype.last = function() { 1220 return this.waypoints[this.waypoints.length - 1] 1221 } 1222 1223 /* Private */ 1224 Group.findOrCreate = function(options) { 1225 return groups[options.axis][options.name] || new Group(options) 1226 } 1227 1228 Waypoint.Group = Group 1229}()) 1230;(function() { 1231 'use strict' 1232 1233 var $ = window.jQuery 1234 var Waypoint = window.Waypoint 1235 1236 function JQueryAdapter(element) { 1237 this.$element = $(element) 1238 } 1239 1240 $.each([
1241 'innerHeight', 1242 'innerWidth', 1243 'off', 1244 'offset', 1245 'on', 1246 'outerHeight', 1247 'outerWidth', 1248 'scrollLeft', 1249 'scrollTop' 1250 ], function(i, method) { 1251 JQueryAdapter.prototype[method] = function() { 1252 var args = Array.prototype.slice.call(arguments) 1253 return this.$element[method].apply(this.$element, args) 1254 } 1255 }) 1256 1257 $.each([ 1258 'extend', 1259 'inArray', 1260 'isEmptyObject' 1261 ], function(i, method) { 1262 JQueryAdapter[method] = $[method] 1263 }) 1264 1265 Waypoint.adapters.push({ 1266 name: 'jquery', 1267 Adapter: JQueryAdapter 1268 }) 1269 Waypoint.Adapter = JQueryAdapter 1270}()) 1271;(function() { 1272 'use strict' 1273 1274 var Waypoint = window.Waypoint 1275 1276 function createExtension(framework) { 1277 return function() { 1278 var waypoints = [] 1279 var overrides = arguments[0] 1280 1281 if (framework.isFunction(arguments[0])) { 1282 overrides = framework.extend({}, arguments[1]) 1283 overrides.handler = arguments[0] 1284 } 1285 1286 this.each(function() { 1287 var options = framework.extend({}, overrides, { 1288 element: this 1289 }) 1290 if (typeof options.context === 'string') { 1291 options.context = framework(this).closest(options.context)[0] 1292 } 1293 waypoints.push(new Waypoint(options)) 1294 }) 1295 1296 return waypoints 1297 } 1298 } 1299 1300 if (window.jQuery) { 1301 window.jQuery.fn.waypoint = createExtension(window.jQuery) 1302 } 1303 if (window.Zepto) { 1304 window.Zepto.fn.waypoint = createExtension(window.Zepto) 1305 } 1306}()) 1307; 1308; 1309 1310/* project/design/resources/js/news.list.js */ 1311jQuery(document).ready(function() 1312{ 1313 // ===================================================== 1314 // Diaporama Main 1315 // ===================================================== 1316 jQuery('.news_bloc_item').slick({ 1317 infinite: true, 1318 slidesToShow: 3, 1319 slidesToScroll: 1, 1320 autoplay: true, 1321 speed: 500, 1322 autoplaySpeed: 3000, 1323 arrows: true, 1324 fade: false, 1325 pauseOnHover: false, 1326 dots: false, 1327 responsive: [ 1328 { 1329 breakpoint: 1000, 1330 settings: { 1331 fade: false, 1332 arrows: false, 1333 slidesToShow: 2, 1334 centerMode: true 1335 } 1336 }, 1337 { 1338 breakpoint: 700, 1339 settings: { 1340 fade: false, 1341 arrows: false, 1342 slidesToShow: 1, 1343 centerMode: true 1344 } 1345 }] 1346 }); 1347 1348}); 1349; 1350 1351/* project/design/resources/js/segment.min.js */ 1352/** 1353 * segment - A little JavaScript class (without dependencies) to draw and animate SVG path strokes 1354 * @version v0.0.2 1355 * @link https://github.com/lmgonzalves/segment 1356 * @license MIT 1357 */ 1358function Segment(t,e,n){this.path=t,this.length=t.getTotalLength(),this.path.style.strokeDashoffset=2*this.length,this.begin=e?this.valueOf(e):0,this.end=n?this.valueOf(n):this.length,this.timer=null,this.draw(this.begin,this.end)}Segment.prototype={draw:function(t,e,n,i){if(n){var s=i.hasOwnProperty("delay")?1e3*parseFloat(i.delay):0,a=i.hasOwnProperty("easing")?i.easing:null,h=i.hasOwnProperty("callback")?i.callback:null,r=this;if(this.stop(),s)return delete i.delay,this.timer=setTimeout(function(){r.draw(t,e,n,i)},s),this.timer;var l=new Date,o=1e3/60,g=this.begin,f=this.end,u=this.valueOf(t),d=this.valueOf(e);!function p(){var t=new Date,e=(t-l)/1e3,i=e/parseFloat(n),s=i;return"function"==typeof a&&(s=a(s)),i>1?(r.stop(),s=1):r.timer=setTimeout(p,o),r.begin=g+(u-g)*s,r.end=f+(d-f)*s,r.begin<0&&(r.begin=0),r.end>r.length&&(r.end=r.length),r.begin<r.end?r.draw(r.begin,r.end):r.draw(r.begin+(r.end-r.begin),r.end-(r.end-r.begin)),i>1&&"function"==typeof h?h.call(r.context):void 0}()}else this.path.style.strokeDasharray=this.strokeDasharray(t,e)},strokeDasharray:function(t,e){return this.begin=this.valueOf(t),this.end=this.valueOf(e),[this.length,this.length+this.begin,this.end-this.begin].join(" ")},valueOf:function(t){var e=parseFloat(t);if(("string"==typeof t||t instanceof String)&&~t.indexOf("%")){var n;~t.indexOf("+")?(n=t.split("+"),e=this.percent(n[0])+parseFloat(n[1])):~t.indexOf("-")?(n=t.split("-"),e=this.percent(n[0])-parseFloat(n[1])):e=this.percent(t)}return e},stop:function(){clearTimeout(this.timer),this.timer=null},percent:function(t){return parseFloat(t)/100*this.length}}; 1359; 1360 1361/* project/design/resources/js/ease.min.js */ 1362!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(n.ease={})}(this,function(n){"use strict";function t(n,t){return null==n||isNaN(n)?t:+n}function u(n,u){n=Math.max(1,t(n,1)),u=t(u,.3)*A;var i=u*Math.asin(1/n);return function(t){return n*Math.pow(2,10*--t)*Math.sin((i-t)/u)}}function i(n,u){n=Math.max(1,t(n,1)),u=t(u,.3)*A;var i=u*Math.asin(1/n);return function(t){return n*Math.pow(2,-10*t)*Math.sin((t-i)/u)+1}}function r(n,u){n=Math.max(1,t(n,1)),u=1.5*t(u,.3)*A;var i=u*Math.asin(1/n);return function(t){return n*((t=2*t-1)<0?Math.pow(2,10*t)*Math.sin((i-t)/u):Math.pow(2,-10*t)*Math.sin((t-i)/u)+2)/2}}function o(n){return n=t(n,1.70158),function(t){return t*t*((n+1)*t-n)}}function e(n){return n=t(n,1.70158),function(t){return--t*t*((n+1)*t+n)+1}}function c(n){return n=1.525*t(n,1.70158),function(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}}function a(n){return 1-f(1-n)}function f(n){return B>n?L*n*n:D>n?L*(n-=C)*n+E:G>n?L*(n-=F)*n+H:L*(n-=J)*n+K}function h(n){return((n*=2)<=1?1-f(1-n):f(n-1)+1)/2}function s(n){return 1-Math.sqrt(1-n*n)}function M(n){return Math.sqrt(1- --n*n)}function p(n){return((n*=2)<=1?1-Math.sqrt(1-n*n):Math.sqrt(1-(n-=2)*n)+1)/2}function l(n){return Math.pow(2,10*n-10)}function w(n){return 1-Math.pow(2,-10*n)}function b(n){return((n*=2)<=1?Math.pow(2,10*n-10):2-Math.pow(2,10-10*n))/2}function d(n){return 1-Math.cos(n*R)}function y(n){return Math.sin(n*R)}function x(n){return(1-Math.cos(Q*n))/2}function q(n){return n*n*n}function k(n){return--n*n*n+1}function m(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}function v(n){return n*n}function P(n){return n*(2-n)}function O(n){return((n*=2)<=1?n*n:--n*(2-n)+1)/2}function g(n){return+n}function I(n){return n=t(n,3),function(t){return Math.pow(t,n)}}function N(n){return n=t(n,3),function(t){return 1-Math.pow(1-t,n)}}function j(n){return n=t(n,3),function(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}}function z(n,t,u){var i=(n+="").indexOf("-");return 0>i&&(n+="-in"),arguments.length>1&&T.hasOwnProperty(n)?T[n](t,u):S.hasOwnProperty(n)?S[n]:g}var A=1/(2*Math.PI),B=4/11,C=6/11,D=8/11,E=.75,F=9/11,G=10/11,H=.9375,J=21/22,K=63/64,L=1/B/B,Q=Math.PI,R=Q/2,S={"linear-in":g,"linear-out":g,"linear-in-out":g,"quad-in":v,"quad-out":P,"quad-in-out":O,"cubic-in":q,"cubic-out":k,"cubic-in-out":m,"poly-in":q,"poly-out":k,"poly-in-out":m,"sin-in":d,"sin-out":y,"sin-in-out":x,"exp-in":l,"exp-out":w,"exp-in-out":b,"circle-in":s,"circle-out":M,"circle-in-out":p,"bounce-in":a,"bounce-out":f,"bounce-in-out":h,"back-in":o(),"back-out":e(),"back-in-out":c(),"elastic-in":u(),"elastic-out":i(),"elastic-in-out":r(
1362)},T={"poly-in":I,"poly-out":N,"poly-in-out":j,"back-in":o,"back-out":e,"back-in-out":c,"elastic-in":u,"elastic-out":i,"elastic-in-out":r};n.ease=z}); 1363; 1364 1365/* project/design/resources/js/menu.js */ 1366(function () { 1367 1368 /* Dépendances minimales */ 1369 if (typeof Segment === 'undefined' || typeof ease === 'undefined') { 1370 return; 1371 } 1372 1373 /* In animations (to close icon) */ 1374 var beginAC = 80, 1375 endAC = 320, 1376 beginB = 80, 1377 endB = 320; 1378 1379 function inAC(s) { 1380 s.draw('80% - 240', '80%', 0.3, { delay: 0.1, callback: function(){ inAC2(s); } }); 1381 } 1382 function inAC2(s) { 1383 s.draw('100% - 545', '100% - 305', 0.6, { easing: ease.ease('elastic-out', 1, 0.3) }); 1384 } 1385 function inB(s) { 1386 s.draw(beginB - 60, endB + 60, 0.1, { callback: function(){ inB2(s); } }); 1387 } 1388 function inB2(s) { 1389 s.draw(beginB + 120, endB - 120, 0.3, { easing: ease.ease('bounce-out', 1, 0.3) }); 1390 } 1391 1392 function outAC(s) { 1393 s.draw('90% - 240', '90%', 0.1, { easing: ease.ease('elastic-in', 1, 0.3), callback: function(){ outAC2(s); } }); 1394 } 1395 function outAC2(s) { 1396 s.draw('20% - 240', '20%', 0.3, { callback: function(){ outAC3(s); } }); 1397 } 1398 function outAC3(s) { 1399 s.draw(beginAC, endAC, 0.7, { easing: ease.ease('elastic-out', 1, 0.3) }); 1400 } 1401 function outB(s) { 1402 s.draw(beginB, endB, 0.7, { delay: 0.1, easing: ease.ease('elastic-out', 2, 0.4) }); 1403 } 1404 1405 /* ============================ 1406 MENU PRINCIPAL 1407 ============================ */ 1408 (function () { 1409 1410 var pathA = document.getElementById('pathA'), 1411 pathB = document.getElementById('pathB'), 1412 pathC = document.getElementById('pathC'), 1413 trigger = document.getElementById('menu-icon-trigger'), 1414 wrapper = document.getElementById('menu-icon-wrapper'), 1415 dummy = document.getElementById('body'); 1416 1417 // â si le markup n'est pas présent â on sort sans rien casser 1418 if (!pathA || !pathB || !pathC || !trigger || !wrapper || !dummy) { 1419 return; 1420 } 1421 1422 var segmentA = new Segment(pathA, beginAC, endAC), 1423 segmentB = new Segment(pathB, beginB, endB), 1424 segmentC = new Segment(pathC, beginAC, endAC), 1425 toCloseIcon = true; 1426 1427 wrapper.style.visibility = 'visible'; 1428 1429 trigger.onclick = function () { 1430 if (toCloseIcon) { 1431 inAC(segmentA); 1432 inB(segmentB); 1433 inAC(segmentC); 1434 dummy.className = 'menu_opened'; 1435 setTimeout(function () { 1436 jQuery('#commons_banner_mobile_content_inner').addClass('opened'); 1437 }, 100); 1438 } else { 1439 outAC(segmentA); 1440 outB(segmentB); 1441 outAC(segmentC); 1442 dummy.className = ''; 1443 } 1444 toCloseIcon = !toCloseIcon; 1445 jQuery('#commons_banner_mobile_content_inner').removeClass('opened'); 1446 }; 1447 1448 })(); 1449 1450 /* ============================ 1451 MENU SCALED 1452 ============================ */ 1453 (function () { 1454 1455 var pathD = document.getElementById('pathD'), 1456 pathE = document.getElementById('pathE'), 1457 pathF = document.getElementById('pathF'), 1458 wrapper2 = document.getElementById('menu-icon-wrapper2'), 1459 trigger2 = document.getElementById('menu-icon-trigger2'), 1460 dummy2 = document.getElementById('dummy2'); 1461 1462 if (!pathD || !pathE || !pathF || !wrapper2 || !trigger2 || !dummy2) { 1463 return; 1464 } 1465 1466 var segmentD = new Segment(pathD, beginAC, endAC), 1467 segmentE = new Segment(pathE, beginB, endB), 1468 segmentF = new Segment(pathF, beginAC, endAC), 1469 toCloseIcon2 = true; 1470 1471 wrapper2.style.visibility = 'visible'; 1472
1473 trigger2.onclick = function () { 1474 wrapper2.className = 'menu-icon-wrapper scaled'; 1475 if (toCloseIcon2) { 1476 inAC(segmentD); 1477 inB(segmentE); 1478 inAC(segmentF); 1479 dummy2.className = 'dummy dummy--active'; 1480 } else { 1481 outAC(segmentD); 1482 outB(segmentE); 1483 outAC(segmentF); 1484 dummy2.className = 'dummy'; 1485 } 1486 toCloseIcon2 = !toCloseIcon2; 1487 setTimeout(function () { 1488 wrapper2.className = 'menu-icon-wrapper'; 1489 }, 450); 1490 }; 1491 1492 })(); 1493 1494})(); 1495; 1496 1497/* project/design/resources/js/cmenu.js */ 1498jQuery(document).ready(function() 1499{ 1500 1501 1502 jQuery(document).on("click", "#commons_banner_menu, #commons_prebanner, #commons_zoom", function(e) 1503 { 1504 if ( jQuery(".submenu").is(":visible")) 1505 { 1506 jQuery(".commons_menu_item_hover").removeClass("commons_menu_item_hover"); 1507 jQuery(".submenu").hide(); 1508 } 1509 }); 1510 jQuery(document).on("click", ".submenu_bg", function(e) 1511 { 1512 e.stopPropagation(); 1513 jQuery(".commons_menu_item").removeClass("commons_menu_item_hover"); 1514 jQuery(".has_submenu").find(".submenu").hide(); 1515 jQuery(".submenu_bg").hide(); 1516 }); 1517 jQuery(document).on("click", ".commons_menu_item", function(e) 1518 { 1519 e.stopPropagation(); 1520 if (!jQuery(this).hasClass("withsubmenu")) 1521 { 1522 jQuery(".commons_menu_item").removeClass("commons_menu_item_hover"); 1523 jQuery(".has_submenu").find(".submenu").hide(); 1524 jQuery(".submenu_bg").hide(); 1525 return true; 1526 } 1527 1528 1529 if (!jQuery(this).hasClass("commons_menu_item_hover")) 1530 { 1531 jQuery(".commons_menu_item").not(this).removeClass("commons_menu_item_hover"); 1532 jQuery(this).addClass("commons_menu_item_hover"); 1533 jQuery(".has_submenu").find(".submenu").hide(); 1534 jQuery(".has_submenu").find(".submenu_bg").hide(); 1535 jQuery(this).closest(".has_submenu").find(".submenu").fadeIn("fast"); 1536 1537 jQuery(".submenu_bg").fadeIn(); 1538 } 1539 else 1540 { 1541 jQuery(".commons_menu_item").removeClass("commons_menu_item_hover"); 1542 jQuery(".has_submenu").find(".submenu").hide(); 1543 jQuery(".submenu_bg").hide(); 1544 } 1545 1546 return false; 1547 }); 1548 1549 1550}); 1551; 1552 1553/* project/design/resources/js/project.js */ 1554jQuery(document).ready(function() 1555{ 1556 var lastScrollTop = 0; 1557 var bScrolling = false; 1558 1559 jQuery(".pagecontainer_video").each(function(index, object) 1560 { 1561 jQuery(this).attr("controls", false); 1562 }); 1563 1564 1565 1566 jQuery(window).on("scroll", function() { 1567 if (jQuery(this).scrollTop() > 50) { 1568 jQuery("#commons_scrolltop").addClass("show"); 1569 } else { 1570 jQuery("#commons_scrolltop").removeClass("show"); 1571 } 1572 }); 1573 1574 jQuery("#commons_scrolltop").on("click", function() { 1575 jQuery("html, body").animate({ scrollTop: 0 }, 500); 1576 }); 1577 1578 1579 // ===================================================== 1580 // Gestion du bouton scrolltop 1581 // ===================================================== 1582 // jQuery('.scrolltop').click(function() 1583 // { 1584 // jQuery('html, body').animate( 1585 // { 1586 // scrollTop:0 1587 // }, 'slow'); 1588 // return false; 1589 // }); 1590 1591 1592 // ===================================================== 1593 // Gestion du menu flottant 1594 // ===================================================== 1595 // jQuery(window).scroll(function() 1596 // { 1597 // var nScrollTop = jQuery(window).scrollTop(); 1598 // 1599 // if (nScrollTop > 1) 1600 // { 1601 // jQuery('#commons_banner_height').addClass("fixed"); 1602 // jQuery('#commons_banner').addClass("floating"); 1603 // jQuery('#commons_banner').slideDown(); 1604 // 1605 // // Affichage du scrolltop 1606 // if (nScrollTop > 100) 1607 // jQuery('.scrolltop').show(); 1608 // else 1609 // jQuery('.scrolltop').hide(); 1610 // } 1611 // else 1612 // { 1613 // jQuery('#commons_banner_height').removeClass("fixed"); 1614 // jQuery('#commons_banner').removeClass("floating"); 1615 // } 1616 // }); 1617 1618 1619 1620 1621 displayOutils(); 1622 function displayOutils() 1623 { 1624 var oWaypoint = jQuery('.service.outils .serviceitem').waypoint(function(direction, object) 1625 { 1626 var oItem = jQuery(this.element).addClass("fade"); 1627 }, 1628 { 1629 offset: '50%' 1630 }); 1631 } 1632 1633 // ===================================================== 1634 // Gestion du bouton scrolldown 1635 // ===================================================== 1636 jQuery('.pagebuilder_scroller').click(function() 1637 { 1638 jQuery('html, body').animate( 1639 { 1640 scrollTop: jQuery(this).offset().top+100 1641 }, 'slow'); 1642 return false;
1643 }); 1644 1645 1646 1647 jQuery(".widgetdiaporama").each(function(index, object) 1648 { 1649 var nSpeed = jQuery(this).data("speed"); 1650 var nDuration = jQuery(this).data("duration"); 1651 var nFade = parseInt(jQuery(this).data("fade")); 1652 var nNb = jQuery(this).data("nb"); 1653 1654 if (nNb <= 0) nNb = 1; 1655 1656 var sFade = true; 1657 if (nFade == 0) sFade = false; 1658 1659 1660 var nNb1100 = nNb-1; 1661 var nNb900 = nNb1100-1; 1662 if (nNb900 <= 0) nNb900 = 1; 1663 if (nNb1100 <= 0) nNb1100 = 1; 1664 1665 jQuery(this).slick({ 1666 infinite: true, 1667 slidesToShow: nNb, 1668 slidesToScroll: 1, 1669 autoplay: true, 1670 speed: nSpeed, 1671 autoplaySpeed: nDuration, 1672 arrows: false, 1673 fade: sFade, 1674 pauseOnHover: false, 1675 dots: false, 1676 responsive: [ 1677 { 1678 breakpoint: 1100, 1679 settings: { 1680 slidesToShow: nNb1100, 1681 fade: false, 1682 speed: 300, 1683 arrows: false, 1684 autoplaySpeed: 3000, 1685 } 1686 }, 1687 { 1688 breakpoint: 900, 1689 settings: { 1690 slidesToShow: nNb900, 1691 fade: false, 1692 speed: 300, 1693 arrows: false, 1694 autoplaySpeed: 3000, 1695 } 1696 }, 1697 { 1698 breakpoint: 700, 1699 settings: { 1700 slidesToShow: 1, 1701 fade: false, 1702 speed: 300, 1703 arrows: false, 1704 autoplaySpeed: 3000, 1705 } 1706 }] 1707 }); 1708 }); 1709 1710 jQuery('.diaporama').slick({ 1711 infinite: true, 1712 slidesToShow: 1, 1713 slidesToScroll: 1, 1714 autoplay: true, 1715 speed: 3000, 1716 autoplaySpeed: 5000, 1717 arrows: false, 1718 fade: false, 1719 pauseOnHover: false, 1720 dots: true, 1721 responsive: [ 1722 { 1723 breakpoint: 700, 1724 settings: { 1725 fade: false, 1726 speed: 300, 1727 arrows: false, 1728 autoplaySpeed: 3000, 1729 } 1730 }] 1731 }); 1732 1733 1734 1735 // ===================================================== 1736 // Captcha Subscriber 1737 // ===================================================== 1738 jQuery(document).on("keypress", ".subscriber_form input[type='email']", function() 1739 { 1740 jQuery(this).closest(".subscriber_form").find(".captcha_display").removeClass("captcha_display"); 1741 }); 1742 1743 1744 // ===================================================== 1745 // Gestion du bouton scrolltop 1746 // ===================================================== 1747 // jQuery('.scrolltop').click(function() 1748 // { 1749 // jQuery('html, body').animate( 1750 // { 1751 // scrollTop:0 1752 // }, 'slow'); 1753 // return false; 1754 // }); 1755 // 1756 // jQuery(window).scroll(function() 1757 // { 1758 // var nScrollTop = jQuery(window).scrollTop(); 1759 // 1760 // // Affichage du scrolltop 1761 // if (nScrollTop > 100) 1762 // jQuery('.scrolltop').addClass("visible"); 1763 // else 1764 // jQuery('.scrolltop').removeClass("visible"); 1765 // }); 1766 1767 1768 1769 jQuery('.acrpt').each(function(index, object) 1770 { 1771 if (jQuery(this).find("a").length > 0) 1772 { 1773 var sEmail = decode_base64(jQuery(this).find("a").html()); 1774 // console.log("test1("+index+"):"+sEmail); 1775 jQuery(this).find("a").attr("href", "mailto:"+sEmail); 1776 jQuery(this).find("a").html(sEmail); 1777 } 1778 else 1779 { 1780 var sEmail = decode_base64(jQuery(this).attr('href')); 1781 jQuery(this).attr('href', "mailto:"+sEmail); 1782 jQuery(this).html(sEmail); 1783 } 1784 }); 1785 1786 jQuery('.crpt').each(function(index, object) 1787 { 1788 var sEmail = decode_base64(jQuery(this).html()); 1789 1790 jQuery(this).html(sEmail); 1791 }); 1792 1793 function decode_base64 (s) 1794 { 1795 var e = {}, i, k, v = [], r = '', w = String.fromCharCode; 1796 var n = [[65, 91], [97, 123], [48, 58], [43, 44], [47, 48]]; 1797 1798 for (z in n) 1799 { 1800 for (i = n[z][0]; i < n[z][1]; i++) 1801 { 1802 v.push(w(i)); 1803 } 1804 } 1805 for (i = 0; i < 64; i++) 1806 { 1807 e[v[i]] = i; 1808 } 1809 1810 for (i = 0; i < s.length; i+=72) 1811 { 1812 var b = 0, c, x, l = 0, o = s.substring(i, i+72); 1813 for (x = 0; x < o.length; x++) 1814 { 1815 c = e[o.charAt(x)]; 1816 b = (b << 6) + c; 1817 l += 6; 1818 while (l >= 8) 1819 { 1820 r += w((b >>> (l -= 8)) % 256); 1821 } 1822 } 1823 } 1824 return r; 1825 } 1826 1827 jQuery('#seo_button').click(function() { jQuery('#seo_form_bloc').fadeIn(); jQuery('#seo_form').fadeIn(); }); jQuery('#seo_close').click(function() { jQuery('#seo_form_bloc').fadeOut(); jQuery('#seo_form').fadeOut(); }); jQuery('#seo_form_bloc').click(function() { jQuery('#seo_form_bloc').fadeOut(); jQuery('#seo_form').fadeOut(); }); jQuery('#seo_form_inner .helper_button').click(function() { jQuery(this).closest('.helper').toggleClass('opened'); jQuery('.helper').not(jQuery(this).closest('.helper')).removeClass('opened'); }); jQuery('#seo_form_inner .edit').on('keyup', function(e) 1828 { 1829 var sCountId = jQuery(this).data('countid'); 1830 nNb = jQuery(this).val().length; 1831 if (nNb <= 0) 1832 { 1833 jQuery('#'+sCountId).html(''); 1834 return false;
1835 } 1836 jQuery('#'+sCountId).html(nNb+' car.'); 1837 }); 1838 1839}); 1840;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.