PageSourceSearch

https://www.drvrzal.com/storage/opt/1ffad1bade7bcf055fc638fa7c6a72b5.opt-min.co.js

js drvrzal.com collected 2026-10-04 05:43:10 UTC 586,407 bytes, 15 lines download raw bytes

vendor: 4,494 bytes, line 1
1!function(t){var e=!0;t.flexslider=function(n,s){var o=t(n);void 0===s.rtl&&"rtl"==t("html").attr("dir")&&(s.rtl=!0),o.vars=t.extend({},t.flexslider.defaults,s);var a,r=o.vars.namespace,l=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,c=("ontouchstart"in window||l||window.DocumentTouch&&document instanceof DocumentTouch)&&o.vars.touch,h="click touchend MSPointerUp keyup",u="",d="vertical"===o.vars.direction,p=o.vars.reverse,f=o.vars.itemWidth>0,m="fade"===o.vars.animation,g=""!==o.vars.asNavFor,v={};t.data(n,"flexslider",o),v={init:function(){if(o.animating=!1,o.currentSlide=parseInt(o.vars.startAt?o.vars.startAt:0,10),isNaN(o.currentSlide)&&(o.currentSlide=0),o.animatingTo=o.currentSlide,o.atEnd=0===o.currentSlide||o.currentSlide===o.last,o.containerSelector=o.vars.selector.substr(0,o.vars.selector.search(" ")),o.slides=t(o.vars.selector+":not(.clone)",o),o.container=t(o.containerSelector,o),o.count=o.slides.length,o.syncExists=t(o.vars.sync).length>0,"slide"===o.vars.animation&&(o.vars.animation="swing"),o.prop=d?"top":o.vars.rtl?"marginRight":"marginLeft",o.args={},o.manualPause=!1,o.stopped=!1,o.started=!1,o.startTimeout=null,o.transitions=!o.vars.video&&!m&&o.vars.useCSS&&function(){var t=document.createElement("div"),e=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in e)if(void 0!==t.style[e[n]])return o.pfx=e[n].replace("Perspective","").toLowerCase(),o.prop="-"+o.pfx+"-transform",!0;return!1}(),o.ensureAnimationEnd="",""!==o.vars.controlsContainer&&(o.controlsContainer=t(o.vars.controlsContainer).length>0&&t(o.vars.controlsContainer)),""!==o.vars.manualControls&&(o.manualControls=t(o.vars.manualControls).length>0&&t(o.vars.manualControls)),""!==o.vars.customDirectionNav&&(o.customDirectionNav=2===t(o.vars.customDirectionNav).length&&t(o.vars.customDirectionNav)),o.vars.randomize&&o.count>2){var e=t.makeArray(o.slides),n=e.shift();e.sort(function(){return Math.round(Math.random())-.5}),e.unshift(n),o.slides=t(e),o.container.empty().append(o.slides)}o.doMath(),o.setup("init"),o.vars.controlNav&&v.controlNav.setup(),o.vars.directionNav&&v.directionNav.setup(),o.vars.keyboard&&(1===t(o.containerSelector).length||o.vars.multipleKeyboard)&&t(document).bind("keyup",function(t){var e=t.keyCode;if(!o.animating&&(39===e||37===e)){var n=o.vars.rtl?37===e?o.getTarget("next"):39===e&&o.getTarget("prev"):39===e?o.getTarget("next"):37===e&&o.getTarget("prev");o.flexAnimate(n,o.vars.pauseOnAction)}}),o.vars.mousewheel&&o.bind("mousewheel",function(t,e,n,s){t.preventDefault();var a=e<0?o.getTarget("next"):o.getTarget("prev");o.flexAnimate(a,o.vars.pauseOnAction)}),o.vars.pausePlay&&v.pausePlay.setup(),o.vars.slideshow&&o.vars.pauseInvisible&&v.pauseInvisible.init(),o.vars.slideshow&&(o.vars.pauseOnHover&&o.hover(function(){o.manualPlay||o.manualPause||o.pause()},function(){o.manualPause||o.manualPlay||o.stopped||o.play()}),o.vars.pauseInvisible&&v.pauseInvisible.isHidden()||(o.vars.initDelay>0?o.startTimeout=setTimeout(o.play,o.vars.initDelay):o.play())),g&&v.asNav.setup(),c&&o.vars.touch&&v.touch(),(!m||m&&o.vars.smoothHeight)&&t(window).bind("resize orientationchange focus",v.resize),o.find("img").attr("draggable","false"),setTimeout(function(){o.vars.start(o)},200)},asNav:{setup:function(){o.asNav=!0,o.animatingTo=Math.floor(o.currentSlide/o.move),o.currentItem=o.currentSlide,o.slides.removeClass(r+"active-slide").eq(o.currentItem).addClass(r+"active-slide"),l?(n._slider=o,o.slides.each(function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var n=t(this),s=n.index();t(o.vars.asNavFor).data("flexslider").animating||n.hasClass("active")||(o.direction=o.currentItem<s?"next":"prev",o.flexAnimate(s,o.vars.pauseOnAction,!1,!0,!0))})})):o.slides.on(h,function(e){e.preventDefault();var n=t(this),s=n.index();(o.vars.rtl?-1*(n.offset().right-t(o).scrollLeft()):n.offset().left-t(o).scrollLeft())<=0&&n.hasClass(r+"active-slide")?o.flexAnimate(o.getTarget("prev"),!0):t(o.vars.asNavFor).data("flexslider").animating||n.hasClass(r+"active-slide")||(o.direction=o.currentItem<s?"next":"prev",o.flexAnimate(s,o.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){o.manualControls?v.controlNav.setupManual():v.controlNav.setupPaging(
1)},setupPaging:function(){var e,n,s="thumbnails"===o.vars.controlNav?"control-thumbs":"control-paging",a=1;if(o.controlNavScaffold=t('<ol class="'+r+"control-nav "+r+s+'"></ol>'),o.pagingCount>1)for(var l=0;l<o.pagingCount;l++){void 0===(n=o.slides.eq(l)).attr("data-thumb-alt")&&n.attr("data-thumb-alt","");var c=""!==n.attr("data-thumb-alt")?c=' alt="'+n.attr("data-thumb-alt")+'"':"";if(e="thumbnails"===o.vars.controlNav?'<img src="'+n.attr("data-thumb")+'"'+c+"/>":'<a href="#">'+a+"</a>","thumbnails"===o.vars.controlNav&&!0===o.vars.thumbCaptions){var d=n.attr("data-thumbcaption");""!==d&&void 0!==d&&(e+='<span class="'+r+'caption">'+d+"</span>")}o.controlNavScaffold.append("<li>"+e+"</li>"),a++}o.controlsContainer?t(o.controlsContainer).append(o.controlNavScaffold):o.append(o.controlNavScaffold),v.controlNav.set(),v.controlNav.active(),o.controlNavScaffold.delegate("a, img",h,function(e){if(e.preventDefault(),""===u||u===e.type){var n=t(this),s=o.controlNav.index(n);n.hasClass(r+"active")||(o.direction=s>o.currentSlide?"next":"prev",o.flexAnimate(s,o.vars.pauseOnAction))}""===u&&(u=e.type),v.setToClearWatchedEvent()})},setupManual:function(){o.controlNav=o.manualControls,v.controlNav.active(),o.controlNav.bind(h,function(e){if(e.preventDefault(),""===u||u===e.type){var n=t(this),s=o.controlNav.index(n);n.hasClass(r+"active")||(s>o.currentSlide?o.direction="next":o.direction="prev",o.flexAnimate(s,o.vars.pauseOnAction))}""===u&&(u=e.type),v.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===o.vars.controlNav?"img":"a";o.controlNav=t("."+r+"control-nav li "+e,o.controlsContainer?o.controlsContainer:o)},active:function(){o.controlNav.removeClass(r+"active").eq(o.animatingTo).addClass(r+"active")},update:function(e,n){o.pagingCount>1&&"add"===e?o.controlNavScaffold.append(t('<li><a href="#">'+o.count+"</a></li>")):1===o.pagingCount?o.controlNavScaffold.find("li").remove():o.controlNav.eq(n).closest("li").remove(),v.controlNav.set(),o.pagingCount>1&&o.pagingCount!==o.controlNav.length?o.update(n,e):v.controlNav.active()}},directionNav:{setup:function(){var e=t('<ul class="'+r+'direction-nav"><li class="'+r+'nav-prev"><a class="'+r+'prev" href="#">'+o.vars.prevText+'</a></li><li class="'+r+'nav-next"><a class="'+r+'next" href="#">'+o.vars.nextText+"</a></li></ul>");o.customDirectionNav?o.directionNav=o.customDirectionNav:o.controlsContainer?(t(o.controlsContainer).append(e),o.directionNav=t("."+r+"direction-nav li a",o.controlsContainer)):(o.append(e),o.directionNav=t("."+r+"direction-nav li a",o)),v.directionNav.update(),o.directionNav.bind(h,function(e){var n;e.preventDefault(),""!==u&&u!==e.type||(n=t(this).hasClass(r+"next")?o.getTarget("next"):o.getTarget("prev"),o.flexAnimate(n,o.vars.pauseOnAction)),""===u&&(u=e.type),v.setToClearWatchedEvent()})},update:function(){var t=r+"disabled";1===o.pagingCount?o.directionNav.addClass(t).attr("tabindex","-1"):o.vars.animationLoop?o.directionNav.removeClass(t).removeAttr("tabindex"):0===o.animatingTo?o.directionNav.removeClass(t).filter("."+r+"prev").addClass(t).attr("tabindex","-1"):o.animatingTo===o.last?o.directionNav.removeClass(t).filter("."+r+"next").addClass(t).attr("tabindex","-1"):o.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=t('<div class="'+r+'pauseplay"><a href="#"></a></div>');o.controlsContainer?(o.controlsContainer.append(e),o.pausePlay=t("."+r+"pauseplay a",o.controlsContainer)):(o.append(e),o.pausePlay=t("."+r+"pauseplay a",o)),v.pausePlay.update(o.vars.slideshow?r+"pause":r+"play"),o.pausePlay.bind(h,function(e){e.preventDefault(),""!==u&&u!==e.type||(t(this).hasClass(r+"pause")?(o.manualPause=!0,o.manualPlay=!1,o.pause()):(o.manualPause=!1,o.manualPlay=!0,o.play())),""===u&&(u=e.type),v.setToClearWatchedEvent()})},update:function(t){"play"===t?o.pausePlay.removeClass(r+"pause").addClass(r+"play").html(o.vars.playText):o.pausePlay.removeClass(r+"play").addClass(r+"pause").html(o.vars.pauseText)}},touch:function(){var t,e,s,a,r,c,h,u,g=!1,v=0,b=0,_=0;l?(n.style.msTouchAction="none",n._gesture=new MSGesture,n._gesture.target=n,n.addEventListener("MSPointerDown",function(t){t.stopPropagation(),o.animating?t.preventDefault():(o.pause(),n._gesture.addPointer(t.pointerId),_=0,a=d?o.h:o.w,c=Number(new Date),s=f&&p&&o.animatingTo===o.last?0:f&&p?o.limit-(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo:f&&o.currentSlide===o.last?o.limit:f?(o.itemW+o.vars.itemMargin)*o.move*o.currentSlide:p?(o.last-o.currentSlide+o.cloneOffset)*a:(o.currentSlide+o.cloneOffset)*a)},!1),n._slider=o,n.addEventListener("MSGestureChange",function(t){t.stopPropagation();var e=t.target._slider;if(e){var o=-t.translationX,l=-t.translationY;if(_+=d?l:o,r=(e.vars.rtl?-1:1)*_,g=d?Math.abs(_)<Math.abs(-o):Math.abs(_)<Math.abs(-l),t.detail===t.MSGESTURE_FLAG_INERTIA)return void setImmediate(function(){n._gesture.stop()});(!g||Number(new Date)-c>500)&&(t.preventDefault(),!m&&e.transitions&&(e.vars.animationLoop||(r=_/(0===e.currentSlide&&_<0||e.currentSlide===e.last&&_>0?Math.abs(_)/a+2:1)),e.setProps(s+r,"setTouch")))}},!1),n.addEventListener("MSGestureEnd",function(n){n.stopPropagation();var o=n.target._slider;if(o){if(o.animatingTo===o.currentSlide&&!g&&null!==r){var l=p?-r:r,h=l>0?o.getTarget("next"):o.getTarget("prev");o.canAdvance(h)&&(Number(new Date)-c<550&&Math.abs(l)>50||Math.abs(l)>a/2)?o.flexAnimate(h,o.vars.pauseOnAction):m||o.flexAnimate(o.currentSlide,o.vars.pauseOnAction,!0)}t=null,e=null,r=null,s=null,_=0}},!1)):(h=function(n){v=n.touches[0].pageX,b=n.touches[0].pageY,r=d?t-b:(o.vars.rtl?-1:1)*(t-v),(!(g=d?Math.abs(r)<Math.abs(v-e):Math.abs(r)<Math.abs(b-e))||Number(new Date)-c>500)&&(n.preventDefault(),!m&&o.transitions&&(o.vars.animationLoop||(r/=0===o.currentSlide&&r<0||o.currentSlide===o.last&&r>0?Math.abs(r)/a+2:1),o.setProps(s+r,"setTouch")))},u=function(l){if(n.removeEventListener("touchmove",h,!1),o.animatingTo===o.currentSlide&&!g&&null!==r){var d=p?-r:r,f
vendor: 3,621 bytes, line 1
1=d>0?o.getTarget("next"):o.getTarget("prev");o.canAdvance(f)&&(Number(new Date)-c<550&&Math.abs(d)>50||Math.abs(d)>a/2)?o.flexAnimate(f,o.vars.pauseOnAction):m||o.flexAnimate(o.currentSlide,o.vars.pauseOnAction,!0)}n.removeEventListener("touchend",u,!1),t=null,e=null,r=null,s=null},n.addEventListener("touchstart",function(r){o.animating?r.preventDefault():(window.navigator.msPointerEnabled||1===r.touches.length)&&(o.pause(),a=d?o.h:o.w,c=Number(new Date),v=r.touches[0].pageX,b=r.touches[0].pageY,s=f&&p&&o.animatingTo===o.last?0:f&&p?o.limit-(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo:f&&o.currentSlide===o.last?o.limit:f?(o.itemW+o.vars.itemMargin)*o.move*o.currentSlide:p?(o.last-o.currentSlide+o.cloneOffset)*a:(o.currentSlide+o.cloneOffset)*a,t=d?b:v,e=d?v:b,n.addEventListener("touchmove",h,!1),n.addEventListener("touchend",u,!1))},!1))},resize:function(){!o.animating&&o.is(":visible")&&(f||o.doMath(),m?v.smoothHeight():f?(o.slides.width(o.computedW),o.update(o.pagingCount),o.setProps()):d?(o.viewport.height(o.h),o.setProps(o.h,"setTotal")):(o.vars.smoothHeight&&v.smoothHeight(),o.newSlides.width(o.computedW),o.setProps(o.computedW,"setTotal")))},smoothHeight:function(t){if(!d||m){var e=m?o:o.viewport;t?e.animate({height:o.slides.eq(o.animatingTo).innerHeight()},t):e.innerHeight(o.slides.eq(o.animatingTo).innerHeight())}},sync:function(e){var n=t(o.vars.sync).data("flexslider"),s=o.animatingTo;switch(e){case"animate":n.flexAnimate(s,o.vars.pauseOnAction,!1,!0);break;case"play":n.playing||n.asNav||n.play();break;case"pause":n.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=t(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var t=v.pauseInvisible.getHiddenProp();if(t){var e=t.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(e,function(){v.pauseInvisible.isHidden()?o.startTimeout?clearTimeout(o.startTimeout):o.pause():o.started?o.play():o.vars.initDelay>0?setTimeout(o.play,o.vars.initDelay):o.play()})}},isHidden:function(){var t=v.pauseInvisible.getHiddenProp();return!!t&&document[t]},getHiddenProp:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e=0;e<t.length;e++)if(t[e]+"Hidden" in document)return t[e]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(a),a=setTimeout(function(){u=""},3e3)}},o.flexAnimate=function(e,n,s,a,l){if(o.vars.animationLoop||e===o.currentSlide||(o.direction=e>o.currentSlide?"next":"prev"),g&&1===o.pagingCount&&(o.direction=o.currentItem<e?"next":"prev"),!o.animating&&(o.canAdvance(e,l)||s)&&o.is(":visible")){if(g&&a){var h=t(o.vars.asNavFor).data("flexslider");if(o.atEnd=0===e||e===o.count-1,h.flexAnimate(e,!0,!1,!0,l),o.direction=o.currentItem<e?"next":"prev",h.direction=o.direction,Math.ceil((e+1)/o.visible)-1===o.currentSlide||0===e)return o.currentItem=e,o.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),!1;o.currentItem=e,o.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),e=Math.floor(e/o.visible)}if(o.animating=!0,o.animatingTo=e,n&&o.pause(),o.vars.before(o),o.syncExists&&!l&&v.sync("animate"),o.vars.controlNav&&v.controlNav.active(),f||o.slides.removeClass(r+"active-slide").eq(e).addClass(r+"active-slide"),o.atEnd=0===e||e===o.last,o.vars.directionNav&&v.directionNav.update(),e===o.last&&(o.vars.end(o),o.vars.animationLoop||o.pause()),m)c?(o.slides.eq(o.currentSlide).css({opacity:0,zIndex:1}),o.slides.eq(e).css({opacity:1,zIndex:2}),o.wrapup(y)):(o.slides.eq(o.currentSlide).css({zIndex:1}).animate({opacity:0}
1,o.vars.animationSpeed,o.vars.easing),o.slides.eq(e).css({zIndex:2}).animate({opacity:1},o.vars.animationSpeed,o.vars.easing,o.wrapup));else{var u,b,_,y=d?o.slides.filter(":first").height():o.computedW;f?(u=o.vars.itemMargin,b=(_=(o.itemW+u)*o.move*o.animatingTo)>o.limit&&1!==o.visible?o.limit:_):b=0===o.currentSlide&&e===o.count-1&&o.vars.animationLoop&&"next"!==o.direction?p?(o.count+o.cloneOffset)*y:0:o.currentSlide===o.last&&0===e&&o.vars.animationLoop&&"prev"!==o.direction?p?0:(o.count+1)*y:p?(o.count-1-e+o.cloneOffset)*y:(e+o.cloneOffset)*y,o.setProps(b,"",o.vars.animationSpeed),o.transitions?(o.vars.animationLoop&&o.atEnd||(o.animating=!1,o.currentSlide=o.animatingTo),o.container.unbind("webkitTransitionEnd transitionend"),o.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(o.ensureAnimationEnd),o.wrapup(y)}),clearTimeout(o.ensureAnimationEnd),o.ensureAnimationEnd=setTimeout(function(){o.wrapup(y)},o.vars.animationSpeed+100)):o.container.animate(o.args,o.vars.animationSpeed,o.vars.easing,function(){o.wrapup(y)})}o.vars.smoothHeight&&v.smoothHeight(o.vars.animationSpeed)}},o.wrapup=function(t){m||f||(0===o.currentSlide&&o.animatingTo===o.last&&o.vars.animationLoop?o.setProps(t,"jumpEnd"):o.currentSlide===o.last&&0===o.animatingTo&&o.vars.animationLoop&&o.setProps(t,"jumpStart")),o.animating=!1,o.currentSlide=o.animatingTo,o.vars.after(o)},o.animateSlides=function(){!o.animating&&e&&o.flexAnimate(o.getTarget("next"))},o.pause=function(){clearInterval(o.animatedSlides),o.animatedSlides=null,o.playing=!1,o.vars.pausePlay&&v.pausePlay.update("play"),o.syncExists&&v.sync("pause")},o.play=function(){o.playing&&clearInterval(o.animatedSlides),o.animatedSlides=o.animatedSlides||setInterval(o.animateSlides,o.vars.slideshowSpeed),o.started=o.playing=!0,o.vars.pausePlay&&v.pausePlay.update("pause"),o.syncExists&&v.sync("play")},o.stop=function(){o.pause(),o.stopped=!0},o.canAdvance=function(t,e){var n=g?o.pagingCount-1:o.last;return!!e||!(!g||o.currentItem!==o.count-1||0!==t||"prev"!==o.direction)||(!g||0!==o.currentItem||t!==o.pagingCount-1||"next"===o.direction)&&!(t===o.currentSlide&&!g)&&(!!o.vars.animationLoop||(!o.atEnd||0!==o.currentSlide||t!==n||"next"===o.direction)&&(!o.atEnd||o.currentSlide!==n||0!==t||"next"!==o.direction))},o.getTarget=function(t){return o.direction=t,"next"===t?o.currentSlide===o.last?0:o.currentSlide+1:0===o.currentSlide?o.last:o.currentSlide-1},o.setProps=function(t,e,n){var s,a=(s=t||(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo,function(){if(f)return"setTouch"===e?t:p&&o.animatingTo===o.last?0:p?o.limit-(o.itemW+o.vars.itemMargin)*o.move*o.animatingTo:o.animatingTo===o.last?o.limit:s;switch(e){case"setTotal":return p?(o.count-1-o.currentSlide+o.cloneOffset)*t:(o.currentSlide+o.cloneOffset)*t;case"setTouch":default:return t;case"jumpEnd":return p?t:o.count*t;case"jumpStart":return p?o.count*t:t}}()*(o.vars.rtl?1:-1)+"px");o.transitions&&(a=d?"translate3d(0,"+a+",0)":"translate3d("+(o.vars.rtl?-1:1)*parseInt(a)+"px,0,0)",n=void 0!==n?n/1e3+"s":"0s",o.container.css("-"+o.pfx+"-transition-duration",n),o.container.css("transition-duration",n)),o.args[o.prop]=a,(o.transitions||void 0===n)&&o.container.css(o.args),o.container.css("transform",a)},o.setup=function(e){var n,s;m?(o.vars.rtl?o.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):o.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===e&&(c?o.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+o.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(o.currentSlide).css({opacity:1,zIndex:2}):0==o.vars.fadeFirstSlide?o.slides.css({opacity:0,display:"block",zIndex:1}).eq(o.currentSlide).css({zIndex:2}).css({opacity:1}):o.slides.css({opacity:0,display:"block",zIndex:1}).eq(o.currentSlide).css({zIndex:2}).animate({opacity:1},o.vars.animationSpeed,o.vars.easing)),o.vars.smoothHeight&&v.smoothHeight()):("init"===e&&(o.viewport=o.find("."+r+"viewport"),o.viewport.length||(o.viewport=t('<div class="'+r+'viewport"></div>').appendTo(o).append(o.container)),o.viewport.css({overflow:"hidden",position:"relative"}),o.cloneCount=0,o.cloneOffset=0,p&&(s=t.makeArray(o.slides).reverse(),o.slides=t(s),o.container.empty().append(o.slides))),o.vars.animationLoop&&!f&&(o.cloneCount=2,o.cloneOffset=1,"init"!==e&&o.container.find(".clone").remove(),2!==o.container.find(".clone").length&&o.container.append(v.uniqueID(o.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(v.uniqueID(o.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),o.newSlides=t(o.vars.selector,o),n=p?o.count-1-o.currentSlide+o.cloneOffset:o.currentSlide+o.cloneOffset,d&&!f?(o.container.height(200*(o.count+o.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){o.newSlides.css({display:"block"}),o.doMath(),o.viewport.height(o.h),o.setProps(n*o.h,"init")}
vendor: 5,879 bytes, lines 1-4
1,"init"===e?100:0)):(o.container.width(200*(o.count+o.cloneCount)+"%"),o.setProps(n*o.computedW,"init"),setTimeout(function(){o.doMath(),o.vars.rtl,o.newSlides.css({width:o.computedW,marginRight:o.computedM,float:"left",display:"block"}),o.vars.smoothHeight&&v.smoothHeight()},"init"===e?100:0))),f||o.slides.removeClass(r+"active-slide").eq(o.currentSlide).addClass(r+"active-slide"),o.vars.init(o)},o.doMath=function(){var t=o.slides.first(),e=o.vars.itemMargin,n=o.vars.minItems,s=o.vars.maxItems;o.w=void 0===o.viewport?o.width():o.viewport.width(),o.h=t.height(),o.boxPadding=t.outerWidth()-t.width(),f?(o.itemT=o.vars.itemWidth+e,o.itemM=e,o.minW=n?n*o.itemT:o.w,o.maxW=s?s*o.itemT-e:o.w,o.itemW=o.minW>o.w?(o.w-e*(n-1))/n:o.maxW<o.w?(o.w-e*(s-1))/s:o.vars.itemWidth>o.w?o.w:o.vars.itemWidth,o.visible=Math.floor(o.w/o.itemW),o.move=o.vars.move>0&&o.vars.move<o.visible?o.vars.move:o.visible,o.pagingCount=Math.ceil((o.count-o.visible)/o.move+1),o.last=o.pagingCount-1,o.limit=1===o.pagingCount?0:o.vars.itemWidth>o.w?o.itemW*(o.count-1)+e*(o.count-1):(o.itemW+e)*o.count-o.w-e):(o.itemW=o.w,o.itemM=e,o.pagingCount=o.count,o.last=o.count-1),o.computedW=o.itemW-o.boxPadding,o.computedM=o.itemM},o.update=function(t,e){o.doMath(),f||(t<o.currentSlide?o.currentSlide+=1:t<=o.currentSlide&&0!==t&&(o.currentSlide-=1),o.animatingTo=o.currentSlide),o.vars.controlNav&&!o.manualControls&&("add"===e&&!f||o.pagingCount>o.controlNav.length?v.controlNav.update("add"):("remove"===e&&!f||o.pagingCount<o.controlNav.length)&&(f&&o.currentSlide>o.last&&(o.currentSlide-=1,o.animatingTo-=1),v.controlNav.update("remove",o.last))),o.vars.directionNav&&v.directionNav.update()},o.addSlide=function(e,n){var s=t(e);o.count+=1,o.last=o.count-1,d&&p?void 0!==n?o.slides.eq(o.count-n).after(s):o.container.prepend(s):void 0!==n?o.slides.eq(n).before(s):o.container.append(s),o.update(n,"add"),o.slides=t(o.vars.selector+":not(.clone)",o),o.setup(),o.vars.added(o)},o.removeSlide=function(e){var n=isNaN(e)?o.slides.index(t(e)):e;o.count-=1,o.last=o.count-1,isNaN(e)?t(e,o.slides).remove():d&&p?o.slides.eq(o.last).remove():o.slides.eq(e).remove(),o.doMath(),o.update(n,"remove"),o.slides=t(o.vars.selector+":not(.clone)",o),o.setup(),o.vars.removed(o)},v.init()},t(window).blur(function(t){e=!1}).focus(function(t){e=!0}),t.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},t.fn.flexslider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each(function(){var n=t(this),s=(e.selector,".slides > li"),o=n.find(s);e.selector=".slides > li",1===o.length&&!1===e.allowOneSlide||0===o.length?(o.fadeIn(400),e.start&&e.start(n)):void 0===n.data("flexslider")&&new t.flexslider(this,e)});var n=t(this).data("flexslider");switch(e){case"play":n.play();break;case"pause":n.pause();break;case"stop":n.stop();break;case"next":n.flexAnimate(n.getTarget("next"),!0);break;case"prev":case"previous":n.flexAnimate(n.getTarget("prev"),!0);break;default:"number"==typeof e&&n.flexAnimate(e,!0)}}}(jQuery),/*! jQuery UI - v1.12.1 - 2018-01-22
2* http://jqueryui.com
3* Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, jquery-1-7.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/draggable.js, widgets/droppable.js, widgets/resizable.js, widgets/selectable.js, widgets/sortable.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/selectmenu.js, widgets/slider.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js
4* Copyright jQuery Foundation and other contributors; Licensed MIT */function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){function e(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
4ay","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},t.extend(this._defaults,this.regional[""]),this.regional.en=t.extend(!0,{},this.regional[""]),this.regional["en-US"]=t.extend(!0,{},this.regional.en),this.dpDiv=n(t("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function n(e){var n="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",n,function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",n,s)}function s(){t.datepicker._isDisabledDatepicker(f.inline?f.dpDiv.parent()[0]:f.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))}function o(e,n){for(var s in t.extend(e,n),n)null==n[s]&&(e[s]=n[s]);return e}function a(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}t.ui=t.ui||{},t.ui.version="1.12.1";var r,l,c,h,u,d,p,f,m,g=0,v=Array.prototype.slice;t.cleanData=(r=t.cleanData,function(e){var n,s,o;for(o=0;null!=(s=e[o]);o++)try{(n=t._data(s,"events"))&&n.remove&&t(s).triggerHandler("remove")}catch(t){}r(e)}),t.widget=function(e,n,s){var o,a,r,l={},c=e.split(".")[0],h=c+"-"+(e=e.split(".")[1]);return s||(s=n,n=t.Widget),t.isArray(s)&&(s=t.extend.apply(null,[{}].concat(s))),t.expr[":"][h.toLowerCase()]=function(e){return!!t.data(e,h)},t[c]=t[c]||{},o=t[c][e],a=t[c][e]=function(t,e){return this._createWidget?void(arguments.length&&this._createWidget(t,e)):new a(t,e)},t.extend(a,o,{version:s.version,_proto:t.extend({},s),_childConstructors:[]}),(r=new n).options=t.widget.extend({},r.options),t.each(s,function(e,s){return t.isFunction(s)?void(l[e]=function(){function t(){return n.prototype[e].apply(this,arguments)}function o(t){return n.prototype[e].apply(this,t)}return function(){var e,n=this._super,a=this._superApply;return this._super=t,this._superApply=o,e=s.apply(this,arguments),this._super=n,this._superApply=a,e}}()):void(l[e]=s)}),a.prototype=t.widget.extend(r,{widgetEventPrefix:o&&r.widgetEventPrefix||e},l,{constructor:a,namespace:c,widgetName:e,widgetFullName:h}),o?(t.each(o._childConstructors,function(e,n){var s=n.prototype;t.widget(s.namespace+"."+s.widgetName,a,n._proto)}),delete o._childConstructors):n._childConstructors.push(a),t.widget.bridge(e,a),a},t.widget.extend=function(e){for(var n,s,o=v.call(arguments,1),a=0,r=o.length;r>a;a++)for(n in o[a])s=o[a][n],o[a].hasOwnProperty(n)&&void 0!==s&&(e[n]=t.isPlainObject(s)?t.isPlainObject(e[n])?t.widget.extend({},e[n],s):t.widget.extend({},s):s);return e},t.widget.bridge=function(e,n){var s=n.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=v.call(arguments,1),l=this;return a?this.length||"instance"!==o?this.each(function(){var n,a=t.data(this,s);return"instance"===o?(l=a,!1):a?t.isFunction(a[o])&&"_"!==o.charAt(0)?(n=a[o].apply(a,r))!==a&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0:t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")}):l=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,s);e?(e.option(o||{}),e._init&&e._init()):t.data(this,s,new n(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null}
vendor: 3,885 bytes, line 4
4,_createWidget:function(e,n){n=t(n||this.defaultElement||this)[0],this.element=t(n),this.uuid=g++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},n!==this&&(t.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=t(n.style?n.ownerDocument:n.document||n),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,n){e._removeClass(n,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var s,o,a,r=e;if(0==arguments.length)return t.widget.extend({},this.options);if("string"==typeof e){if(r={},e=(s=e.split(".")).shift(),s.length){for(o=r[e]=t.widget.extend({},this.options[e]),a=0;s.length-1>a;a++)o[s[a]]=o[s[a]]||{},o=o[s[a]];if(e=s.pop(),1==arguments.length)return void 0===o[e]?null:o[e];o[e]=n}else{if(1==arguments.length)return void 0===this.options[e]?null:this.options[e];r[e]=n}}return this._setOptions(r),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var n,s,o;for(n in e)o=this.classesElementLookup[n],e[n]!==this.options.classes[n]&&o&&o.length&&(s=t(o.get()),this._removeClass(o,n),s.addClass(this._classes({element:s,keys:n,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function n(n,a){var r,l;for(l=0;n.length>l;l++)r=o.classesElementLookup[n[l]]||t(),r=e.add?t(t.unique(r.get().concat(e.element.get()))):t(r.not(e.element).get()),o.classesElementLookup[n[l]]=r,s.push(n[l]),a&&e.classes[n[l]]&&s.push(e.classes[n[l]])}var s=[],o=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&n(e.keys.match(/\S+/g)||[],!0),e.extra&&n(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var n=this;t.each(n.classesElementLookup,function(s,o){-1!==t.inArray(e.target,o)&&(n.classesElementLookup[s]=t(o.not(e.target).get()))})},_removeClass:function(t,e,n){return this._toggleClass(t,e,n,!1)},_addClass:function(t,e,n){return this._toggleClass(t,e,n,!0)},_toggleClass:function(t,e,n,s){s="boolean"==typeof s?s:n;var o="string"==typeof t||null===t,a={extra:o?e:n,keys:o?t:e,element:o?this.element:t,add:s};return a.element.toggleClass(this._classes(a),s),this},_on:function(e,n,s){var o,a=this;"boolean"!=typeof e&&(s=n,n=e,e=!1),s?(n=o=t(n),this.bindings=this.bindings.add(n)):(s=n,n=this.element,o=this.widget()),t.each(s,function(s,r){function l(){return e||!0!==a.options.disabled&&!t(this).hasClass("ui-state-disabled")?("string"==typeof r?a[r]:r).apply(a,arguments):void 0}"string"!=typeof r&&(l.guid=r.guid=r.guid||l.guid||t.guid++);var c=s.match(/^([\w:-]*)\s*(.*)$/),h=c[1]+a.eventNamespace,u=c[2];u?o.on(h,u,l):n.on(h,l)})}
4,_off:function(e,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(n).off(n),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){var n=this;return setTimeout(function(){return("string"==typeof t?n[t]:t).apply(n,arguments)},e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,n,s){var o,a,r=this.options[e];if(s=s||{},(n=t.Event(n)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n.target=this.element[0],a=n.originalEvent)for(o in a)o in n||(n[o]=a[o]);return this.element.trigger(n,s),!(t.isFunction(r)&&!1===r.apply(this.element[0],[n].concat(s))||n.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,n){t.Widget.prototype["_"+e]=function(s,o,a){"string"==typeof o&&(o={effect:o});var r,l=o?!0===o||"number"==typeof o?n:o.effect||n:e;"number"==typeof(o=o||{})&&(o={duration:o}),r=!t.isEmptyObject(o),o.complete=a,o.delay&&s.delay(o.delay),r&&t.effects&&t.effects.effect[l]?s[e](o):l!==e&&s[l]?s[l](o.duration,o.easing,a):s.queue(function(n){t(this)[e](),a&&a.call(s[0]),n()})}}),t.widget,function(){function e(t,e,n){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?n/100:1)]}function n(e,n){return parseInt(t.css(e,n),10)||0}var s,o=Math.max,a=Math.abs,r=/left|center|right/,l=/top|center|bottom/,c=/[\+\-]\d+(\.[\d]+)?%?/,h=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==s)return s;var e,n,o=t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),a=o.children()[0];return t("body").append(o),e=a.offsetWidth,o.css("overflow","scroll"),e===(n=a.offsetWidth)&&(n=o[0].clientWidth),o.remove(),s=e-n},getScrollInfo:function(e){var n=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),o="scroll"===n||"auto"===n&&e.width<e.element[0].scrollWidth;return{width:"scroll"===s||"auto"===s&&e.height<e.element[0].scrollHeight?t.position.scrollbarWidth():0,height:o?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var n=t(e||window),s=t.isWindow(n[0]),o=!!n[0]&&9===n[0].nodeType;return{element:n,isWindow:s,isDocument:o,offset:s||o?{left:0,top:0}:t(e).offset(),scrollLeft:n.scrollLeft(),scrollTop:n.scrollTop(),width:n.outerWidth(),height:n.outerHeight()}}},t.fn.position=function(s){if(!s||!s.of)return d.apply(this,arguments);s=t.extend({},s);var u,p,f,m,g,v,b,_=t(s.of),y=t.position.getWithinInfo(s.within),w=t.position.getScrollInfo(y),C=(s.collision||"flip").split(" "),x={};return b=9===(u=_[0]).nodeType?{width:_.width(),height:_.height(),offset:{top:0,left:0}}:t.isWindow(u)?{width:_.width(),height:_.height(),offset:{top:_.scrollTop(),left:_.scrollLeft()}}:u.preventDefault?{width:0,height:0,offset:{top:u.pageY,left:u.pageX}}:{width:_.outerWidth(),height:_.outerHeight(),offset:_.offset()},_[0].preventDefault&&(s.at="left top"),f=b.width,m=b.height,g=b.offset,v=t.extend({},g),t.each(["my","at"],function(){var t,e,n=(s[this]||"").split(" ");1===n.length&&(n=r.test(n[0])?n.concat(["center"]):l.test(n[0])?["center"].concat(n):["center","center"]),n[0]=r.test(n[0])?n[0]:"center",n[1]=l.test(n[1])?n[1]:"center",t=c.exec(n[0]),e=c.exec(n[1]),x[this]=[t?t[0]:0,e?e[0]:0],s[this]=[h.exec(n[0])[0],h.exec(n[1])[0]]}),1===C.length&&(C[1]=C[0]),"right"===s.at[0]?v.left+=f:"center"===s.at[0]&&(v.left+=f/2),"bottom"===s.at[1]?v.top+=m:"center"===s.at[1]&&(v.top+=m/2),p=e(x.at,f,m),v.left+=p[0],v.top+=p[1],this.each(function(){var r,l,c=t(this),h=c.outerWidth(),u=c.outerHeight(),d=n(this,"marginLeft"),b=n(this,"marginTop"),k=h+d+n(this,"marginRight")+w.width,T=u+b+n(this,"marginBottom")+w.height,S=t.extend({},v),E=e(x.my,c.outerWidth(),c.outerHeight());"right"===s.my[0]?S.left-=h:"center"===s.my[0]&&(S.left-=h/2),"bottom"===s.my[1]?S.top-=u:"center"===s.my[1]&&(S.top-=u/2),S.left+=E[0],S.top+=E[1],r={marginLeft:d,marginTop:b},t.each(["left","top"],function(e,n){t.ui.position[C[e]]&&t.ui.position[C[e]][n](S,{targetWidth:f,targetHeight:m,elemWidth:h,elemHeight:u,collisionPosition:r,collisionWidth:k,collisionHeight:T,offset:[p[0]+E[0],p[1]+E[1]],my:s.my,at:s.at,within:y,elem:c})}),s.using&&(l=function(t){var e=g.left-S.left,n=e+f-h,r=g.top-S.top,l=r+m-u,d={target:{element:_,left:g.left,top:g.top,width:f,height:m},element:{element:c,left:S.left,top:S.top,width:h,height:u},horizontal:0>n?"left":e>0?"right":"center",vertical:0>l?"top":r>0?"bottom":"middle"};h>f&&f>a(e+n)&&(d.horizontal="center"),u>m&&m>a(r+l)&&(d.vertical="middle"),d.important=o(a(e),a(n))>o(a(r),a(l))?"horizontal":"vertical",s.using.call(this,t,d)}),c.offset(t.extend(S,{using:l}))})},t.ui.position={fit:{left:function(t,e){var n,s=e.within,a=s.isWindow?s.scrollLeft:s.offset.left,r=s.width,l=t.left-e.collisionPosition.marginLeft,c=a-l,h=l+e.collisionWidth-r-a;e.collisionWidth>r?c>0&&0>=h?(n=t.left+c+e.collisionWidth-r-a,t.left+=c-n):t.left=h>0&&0>=c?a:c>h?a+r-e.collisionWidth:a:c>0?t.left+=c:h>0?t.left-=h:t.left=o(t.left-l,t.left)},top:function(t,e){var n,s=e.within,a=s.isWindow?s.scrollTop:s.offset.top,r=e.within.height,l=t.top-e.collisionPosition.marginTop,c=a-l,h=l+e.collisionHeight-r-a;e.collisionHeight>r?c>0&&0>=h?(n=t.top+c+e.collisionHeight-r-a,t.top+=c-n):t.top=h>0&&0>=c?a:c>h?a+r-e.collisionHeight:a:c>0?t.top+=c:h>
40?t.top-=h:t.top=o(t.top-l,t.top)}},flip:{left:function(t,e){var n,s,o=e.within,r=o.offset.left+o.scrollLeft,l=o.width,c=o.isWindow?o.scrollLeft:o.offset.left,h=t.left-e.collisionPosition.marginLeft,u=h-c,d=h+e.collisionWidth-l-c,p="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,f="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,m=-2*e.offset[0];0>u?(0>(n=t.left+p+f+m+e.collisionWidth-l-r)||a(u)>n)&&(t.left+=p+f+m):d>0&&((s=t.left-e.collisionPosition.marginLeft+p+f+m-c)>0||d>a(s))&&(t.left+=p+f+m)},top:function(t,e){var n,s,o=e.within,r=o.offset.top+o.scrollTop,l=o.height,c=o.isWindow?o.scrollTop:o.offset.top,h=t.top-e.collisionPosition.marginTop,u=h-c,d=h+e.collisionHeight-l-c,p="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>u?(0>(s=t.top+p+f+m+e.collisionHeight-l-r)||a(u)>s)&&(t.top+=p+f+m):d>0&&((n=t.top-e.collisionPosition.marginTop+p+f+m-c)>0||d>a(n))&&(t.top+=p+f+m)}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(n){return!!t.data(n,e)}}):function(e,n,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:(l="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(l+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),t.ui.focusable=function(e,n){var s,o,a,r,l,c=e.nodeName.toLowerCase();return"area"===c?(o=(s=e.parentNode).name,!!e.href&&!!o&&"map"===s.nodeName.toLowerCase()&&(a=t("img[usemap='#"+o+"']")).length>0&&a.is(":visible")):(/^(input|select|textarea|button|object)$/.test(c)?(r=!e.disabled)&&(l=t(e).closest("fieldset")[0])&&(r=!l.disabled):r="a"===c&&e.href||n,r&&t(e).is(":visible")&&function(t){for(var e=t.css("visibility");"inherit"===e;)e=(t=t.parent()).css("visibility");return"hidden"!==e}(t(e)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var n=e.data("ui-form-reset-instances");t.each(n,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,n){function s(e,n,s,a){return t.each(o,function(){n-=parseFloat(t.css(e,"padding"+this))||0,s&&(n-=parseFloat(t.css(e,"border"+this+"Width"))||0),a&&(n-=parseFloat(t.css(e,"margin"+this))||0)}),n}var o="Width"===n?["Left","Right"]:["Top","Bottom"],a=n.toLowerCase(),r={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+n]=function(e){return void 0===e?r["inner"+n].call(this):this.each(function(){t(this).css(a,s(this,e)+"px")})},t.fn["outer"+n]=function(e,o){return"number"!=typeof e?r["outer"+n].call(this,e):this.each(function(){t(this).css(a,s(this,e,!0,o)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=(c=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,function(t){return t.replace(c,"\\$1")}),t.fn.labels=function(){var e,n,s,o,a;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(o=this.eq(0).parents("label"),(s=this.attr("id"))&&(a=(e=this.eq(0).parents().last(
4)).add(e.length?e.siblings():this.siblings()),n="label[for='"+t.ui.escapeSelector(s)+"']",o=o.add(a.find(n).addBack(n))),this.pushStack(o))},t.fn.scrollParent=function(e){var n=this.css("position"),s="absolute"===n,o=e?/(auto|scroll|hidden)/:/(auto|scroll)/,a=this.parents().filter(function(){var e=t(this);return(!s||"static"!==e.css("position"))&&o.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==n&&a.length?a:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var n=t.attr(e,"tabindex"),s=null!=n;return(!s||n>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:(h=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++h)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var b=!1;t(document).on("mouseup",function(){b=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(n){return!0===t.data(n.target,e.widgetName+".preventClickEvent")?(t.removeData(n.target,e.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!b){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var n=this,s=1===e.which,o="string"==typeof this.options.cancel&&!!e.target.nodeName&&t(e.target).closest(this.options.cancel).length;return!(s&&!o&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){n.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return n._mouseMove(t)},this._mouseUpDelegate=function(t){return n._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),b=!0,!0))}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which){if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,b=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,n,s){var o,a=t.ui[e].prototype;for(o in s)a.plugins[o]=a.plugins[o]||[],a.plugins[o].push([n,s[o]])},call:function(t,e,n,s){var o,a=t.plugins[e];
vendor: 5,719 bytes, line 4
4if(a&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;a.length>o;o++)t.options[a[o][0]]&&a[o][1].apply(t.element,n)}},t.ui.safeActiveElement=function(t){var e;try{e=t.activeElement}catch(n){e=t.body}return e||(e=t.body),e.nodeName||(e=t.body),e},t.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&t(e).trigger("blur")},t.widget("ui.draggable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(t,e){this._super(t,e),"handle"===t&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){return(this.helper||this.element).is(".ui-draggable-dragging")?void(this.destroyOnClear=!0):(this._removeHandleClassName(),void this._mouseDestroy())},_mouseCapture:function(e){var n=this.options;return!this.helper&&!n.disabled&&!(t(e.target).closest(".ui-resizable-handle").length>0)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blurActiveElement(e),this._blockFrames(!0===n.iframeFix?"iframe":n.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=t(this);return t("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var n=t.ui.safeActiveElement(this.document[0]);t(e.target).closest(n).length||t.ui.safeBlur(n)},_mouseStart:function(e){var n=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),t.ui.ddmanager&&(t.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=this.helper.parents().filter(function(){return"fixed"===t(this).css("position")}).length>0,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,n.cursorAt&&this._adjustOffsetFromHelper(n.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),t.ui.ddmanager&&!n.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),t.ui.ddmanager&&t.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(t){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:t.pageX-this.offset.left,top:t.pageY-this.offset.top}},_mouseDrag:function(e,n){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!n){var s=this._uiHash();if(!1===this._trigger("drag",e,s))return this._mouseUp(new t.Event("mouseup",e)),!1;this.position=s.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var n=this,s=!1;return t.ui.ddmanager&&!this.options.dropBehaviour&&(s=t.ui.ddmanager.drop(this,e)),this.dropped&&(s=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!s||"valid"===this.options.revert&&s||!0===this.options.revert||t.isFunction(this.options.revert)&&this.options.revert.call(this.element,s)?t(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==n._trigger("stop",e)&&n._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),t.ui.ddmanager&&t.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),t.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new t.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!t(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var n=this.options,s=t.isFunction(n.helper),o=s?t(n.helper.apply(this.element[0],[e])):"clone"===n.helper?this.element.clone().removeAttr("id"):this.element;return o.parents("body").length||o.appendTo("parent"===n.appendTo?this.element[0].parentNode:n.appendTo),s&&o[0]===this.element[0]&&this._setPositionRelative(),o[0]===this.element[0]||/(fixed|absolute)/.test(o.css("position"))||o.css("position","absolute"),o},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}
vendor: 4,649 bytes, line 4
4),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),n=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==n&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,n,s,o=this.options,a=this.document[0];return this.relativeContainer=null,o.containment?"window"===o.containment?void(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||a.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):"document"===o.containment?void(this.containment=[0,0,t(a).width()-this.helperProportions.width-this.margins.left,(t(a).height()||a.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):o.containment.constructor===Array?void(this.containment=o.containment):("parent"===o.containment&&(o.containment=this.helper[0].parentNode),void((s=(n=t(o.containment))[0])&&(e=/(scroll|auto)/.test(n.css("overflow")),this.containment=[(parseInt(n.css("borderLeftWidth"),10)||0)+(parseInt(n.css("paddingLeft"),10)||0),(parseInt(n.css("borderTopWidth"),10)||0)+(parseInt(n.css("paddingTop"),10)||0),(e?Math.max(s.scrollWidth,s.offsetWidth):s.offsetWidth)-(parseInt(n.css("borderRightWidth"),10)||0)-(parseInt(n.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(s.scrollHeight,s.offsetHeight):s.offsetHeight)-(parseInt(n.css("borderBottomWidth"),10)||0)-(parseInt(n.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=n))):void(this.containment=null)},_convertPositionTo:function(t,e){e||(e=this.position);var n="absolute"===t?1:-1,s=this._isRootNode(this.scrollParent[0]);return{top:e.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top)*n,left:e.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)*n}},_generatePosition:function(t,e){var n,s,o,a,r=this.options,l=this._isRootNode(this.scrollParent[0]),c=t.pageX,h=t.pageY;return l&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),e&&(this.containment&&(this.relativeContainer?(s=this.relativeContainer.offset(),n=[this.containment[0]+s.left,this.containment[1]+s.top,this.containment[2]+s.left,this.containment[3]+s.top]):n=this.containment,t.pageX-this.offset.click.left<n[0]&&(c=n[0]+this.offset.click.left),t.pageY-this.offset.click.top<n[1]&&(h=n[1]+this.offset.click.top),t.pageX-this.offset.click.left>n[2]&&(c=n[2]+this.offset.click.left),t.pageY-this.offset.click.top>n[3]&&(h=n[3]+this.offset.click.top)),r.grid&&(o=r.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/r.grid[1])*r.grid[1]:this.originalPageY,h=n?o-this.offset.click.top>=n[1]||o-this.offset.click.top>n[3]?o:o-this.offset.click.top>=n[1]?o-r.grid[1]:o+r.grid[1]:o,a=r.grid[0]?this.originalPageX+Math.round((c-this.originalPageX)
vendor: 4,883 bytes, line 4
4/r.grid[0])*r.grid[0]:this.originalPageX,c=n?a-this.offset.click.left>=n[0]||a-this.offset.click.left>n[2]?a:a-this.offset.click.left>=n[0]?a-r.grid[0]:a+r.grid[0]:a),"y"===r.axis&&(c=this.originalPageX),"x"===r.axis&&(h=this.originalPageY)),{top:h-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:l?0:this.offset.scroll.top),left:c-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:l?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,n,s){return s=s||this._uiHash(),t.ui.plugin.call(this,e,[n,s,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),s.offset=this.positionAbs),t.Widget.prototype._trigger.call(this,e,n,s)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),t.ui.plugin.add("draggable","connectToSortable",{start:function(e,n,s){var o=t.extend({},n,{item:s.element});s.sortables=[],t(s.options.connectToSortable).each(function(){var n=t(this).sortable("instance");n&&!n.options.disabled&&(s.sortables.push(n),n.refreshPositions(),n._trigger("activate",e,o))})},stop:function(e,n,s){var o=t.extend({},n,{item:s.element});s.cancelHelperRemoval=!1,t.each(s.sortables,function(){var t=this;t.isOver?(t.isOver=0,s.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css("position"),top:t.placeholder.css("top"),left:t.placeholder.css("left")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger("deactivate",e,o))})},drag:function(e,n,s){t.each(s.sortables,function(){var o=!1,a=this;a.positionAbs=s.positionAbs,a.helperProportions=s.helperProportions,a.offset.click=s.offset.click,a._intersectsWith(a.containerCache)&&(o=!0,t.each(s.sortables,function(){return this.positionAbs=s.positionAbs,this.helperProportions=s.helperProportions,this.offset.click=s.offset.click,this!==a&&this._intersectsWith(this.containerCache)&&t.contains(a.element[0],this.element[0])&&(o=!1),o})),o?(a.isOver||(a.isOver=1,s._parent=n.helper.parent(),a.currentItem=n.helper.appendTo(a.element).data("ui-sortable-item",!0),a.options._helper=a.options.helper,a.options.helper=function(){return n.helper[0]},e.target=a.currentItem[0],a._mouseCapture(e,!0),a._mouseStart(e,!0,!0),a.offset.click.top=s.offset.click.top,a.offset.click.left=s.offset.click.left,a.offset.parent.left-=s.offset.parent.left-a.offset.parent.left,a.offset.parent.top-=s.offset.parent.top-a.offset.parent.top,s._trigger("toSortable",e),s.dropped=a.element,t.each(s.sortables,function(){this.refreshPositions()}),s.currentItem=s.element,a.fromOutside=s),a.currentItem&&(a._mouseDrag(e),n.position=a.position)):a.isOver&&(a.isOver=0,a.cancelHelperRemoval=!0,a.options._revert=a.options.revert,a.options.revert=!1,a._trigger("out",e,a._uiHash(a)),a._mouseStop(e,!0),a.options.revert=a.options._revert,a.options.helper=a.options._helper,a.placeholder&&a.placeholder.remove(),n.helper.appendTo(s._parent),s._refreshOffsets(e),n.position=s._generatePosition(e,!0),s._trigger("fromSortable",e),s.dropped=!1,t.each(s.sortables,function(){this.refreshPositions()}))})}}),t.ui.plugin.add("draggable","cursor",{start:function(e,n,s){var o=t("body"),a=s.options;o.css("cursor")&&(a._cursor=o.css("cursor")),o.css("cursor",a.cursor)},stop:function(e,n,s){var o=s.options;o._cursor&&t("body").css("cursor",o._cursor)}}),t.ui.plugin.add("draggable","opacity",{start:function(e,n,s){var o=t(n.helper),a=s.options;o.css("opacity")&&(a._opacity=o.css("opacity")),o.css("opacity",a.opacity)},stop:function(e,n,s){var o=s.options;o._opacity&&t(n.helper).css("opacity",o._opacity)}}),t.ui.plugin.add("draggable","scroll",{start:function(t,e,n){n.scrollParentNotHidden||(n.scrollParentNotHidden=n.helper.scrollParent(!1)),n.scrollParentNotHidden[0]!==n.document[0]&&"HTML"!==n.scrollParentNotHidden[0].tagName&&(n.overflowOffset=n.scrollParentNotHidden.offset())},drag:function(e,n,s){var o=s.options,a=!1,r=s.scrollParentNotHidden[0],l=s.document[0];r!==l&&"HTML"!==r.tagName?(o.axis&&"x"===o.axis||(s.overflowOffset.top+r.offsetHeight-e.pageY<o.scrollSensitivity?r.scrollTop=a=r.scrollTop+o.scrollSpeed:e.pageY-s.overflowOffset.top<o.scrollSensitivity&&(r.scrollTop=a=r.scrollTop-o.scrollSpeed)),o.axis&&"y"===o.axis||(s.overflowOffset.left+r.offsetWidth-e.pageX<o.scrollSensitivity?r.scrollLeft=a=r.scrollLeft+o.scrollSpeed:e.pageX-s.overflowOffset.left<o.scrollSensitivity&&(r.scrollLeft=a=r.scrollLeft-o.scrollSpeed))):(o.axis&&"x"===o.axis||(e.pageY-t
vendor: 4,059 bytes, line 4
4(l).scrollTop()<o.scrollSensitivity?a=t(l).scrollTop(t(l).scrollTop()-o.scrollSpeed):t(window).height()-(e.pageY-t(l).scrollTop())<o.scrollSensitivity&&(a=t(l).scrollTop(t(l).scrollTop()+o.scrollSpeed))),o.axis&&"y"===o.axis||(e.pageX-t(l).scrollLeft()<o.scrollSensitivity?a=t(l).scrollLeft(t(l).scrollLeft()-o.scrollSpeed):t(window).width()-(e.pageX-t(l).scrollLeft())<o.scrollSensitivity&&(a=t(l).scrollLeft(t(l).scrollLeft()+o.scrollSpeed)))),!1!==a&&t.ui.ddmanager&&!o.dropBehaviour&&t.ui.ddmanager.prepareOffsets(s,e)}}),t.ui.plugin.add("draggable","snap",{start:function(e,n,s){var o=s.options;s.snapElements=[],t(o.snap.constructor!==String?o.snap.items||":data(ui-draggable)":o.snap).each(function(){var e=t(this),n=e.offset();this!==s.element[0]&&s.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:n.top,left:n.left})})},drag:function(e,n,s){var o,a,r,l,c,h,u,d,p,f,m=s.options,g=m.snapTolerance,v=n.offset.left,b=v+s.helperProportions.width,_=n.offset.top,y=_+s.helperProportions.height;for(p=s.snapElements.length-1;p>=0;p--)h=(c=s.snapElements[p].left-s.margins.left)+s.snapElements[p].width,d=(u=s.snapElements[p].top-s.margins.top)+s.snapElements[p].height,c-g>b||v>h+g||u-g>y||_>d+g||!t.contains(s.snapElements[p].item.ownerDocument,s.snapElements[p].item)?(s.snapElements[p].snapping&&s.options.snap.release&&s.options.snap.release.call(s.element,e,t.extend(s._uiHash(),{snapItem:s.snapElements[p].item})),s.snapElements[p].snapping=!1):("inner"!==m.snapMode&&(o=g>=Math.abs(u-y),a=g>=Math.abs(d-_),r=g>=Math.abs(c-b),l=g>=Math.abs(h-v),o&&(n.position.top=s._convertPositionTo("relative",{top:u-s.helperProportions.height,left:0}).top),a&&(n.position.top=s._convertPositionTo("relative",{top:d,left:0}).top),r&&(n.position.left=s._convertPositionTo("relative",{top:0,left:c-s.helperProportions.width}).left),l&&(n.position.left=s._convertPositionTo("relative",{top:0,left:h}).left)),f=o||a||r||l,"outer"!==m.snapMode&&(o=g>=Math.abs(u-_),a=g>=Math.abs(d-y),r=g>=Math.abs(c-v),l=g>=Math.abs(h-b),o&&(n.position.top=s._convertPositionTo("relative",{top:u,left:0}).top),a&&(n.position.top=s._convertPositionTo("relative",{top:d-s.helperProportions.height,left:0}).top),r&&(n.position.left=s._convertPositionTo("relative",{top:0,left:c}).left),l&&(n.position.left=s._convertPositionTo("relative",{top:0,left:h-s.helperProportions.width}).left)),!s.snapElements[p].snapping&&(o||a||r||l||f)&&s.options.snap.snap&&s.options.snap.snap.call(s.element,e,t.extend(s._uiHash(),{snapItem:s.snapElements[p].item})),s.snapElements[p].snapping=o||a||r||l||f)}}),t.ui.plugin.add("draggable","stack",{start:function(e,n,s){var o,a=s.options,r=t.makeArray(t(a.stack)).sort(function(e,n){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(n).css("zIndex"),10)||0)});r.length&&(o=parseInt(t(r[0]).css("zIndex"),10)||0,t(r).each(function(e){t(this).css("zIndex",o+e)}),this.css("zIndex",o+r.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,n,s){var o=t(n.helper),a=s.options;o.css("zIndex")&&(a._zIndex=o.css("zIndex")),o.css("zIndex",a.zIndex)},stop:function(e,n,s){var o=s.options;o._zIndex&&t(n.helper).css("zIndex",o._zIndex)}}),t.ui.draggable,t.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,n=this.options,s=n.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(s)?s:function(t){return t.is(s)},this.proportions=function(){return arguments.length?void(e=arguments[0]):e||(e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight})},this._addToManager(n.scope),n.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){t.ui.ddmanager.droppables[e]=t.ui.ddmanager.droppables[e]||[],t.ui.ddmanager.droppables[e].push(this)},_splice:function(t){for(var e=0;t.length>e;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var e=t.ui.ddmanager.droppables[this.options.scope];this._splice(e)}
4,_setOption:function(e,n){if("accept"===e)this.accept=t.isFunction(n)?n:function(t){return t.is(n)};else if("scope"===e){var s=t.ui.ddmanager.droppables[this.options.scope];this._splice(s),this._addToManager(n)}this._super(e,n)},_activate:function(e){var n=t.ui.ddmanager.current;this._addActiveClass(),n&&this._trigger("activate",e,this.ui(n))},_deactivate:function(e){var n=t.ui.ddmanager.current;this._removeActiveClass(),n&&this._trigger("deactivate",e,this.ui(n))},_over:function(e){var n=t.ui.ddmanager.current;n&&(n.currentItem||n.element)[0]!==this.element[0]&&this.accept.call(this.element[0],n.currentItem||n.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(n)))},_out:function(e){var n=t.ui.ddmanager.current;n&&(n.currentItem||n.element)[0]!==this.element[0]&&this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(n)))},_drop:function(e,n){var s=n||t.ui.ddmanager.current,o=!1;return!!s&&(s.currentItem||s.element)[0]!==this.element[0]&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var n=t(this).droppable("instance");return n.options.greedy&&!n.options.disabled&&n.options.scope===s.options.scope&&n.accept.call(n.element[0],s.currentItem||s.element)&&_(s,t.extend(n,{offset:n.element.offset()}),n.options.tolerance,e)?(o=!0,!1):void 0}),!o&&!!this.accept.call(this.element[0],s.currentItem||s.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",e,this.ui(s)),this.element))},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var _=t.ui.intersect=function(t,e,n,s){if(!e.offset)return!1;var o,a,r,l,c=(t.positionAbs||t.position.absolute).left+t.margins.left,h=(t.positionAbs||t.position.absolute).top+t.margins.top,u=c+t.helperProportions.width,d=h+t.helperProportions.height,p=e.offset.left,f=e.offset.top,m=p+e.proportions().width,g=f+e.proportions().height;switch(n){case"fit":return c>=p&&m>=u&&h>=f&&g>=d;case"intersect":return c+t.helperProportions.width/2>p&&m>u-t.helperProportions.width/2&&h+t.helperProportions.height/2>f&&g>d-t.helperProportions.height/2;case"pointer":return o=s.pageY,a=e.proportions().height,o>=f&&f+a>o&&(r=s.pageX,l=e.proportions().width,r>=p&&p+l>r);case"touch":return(h>=f&&g>=h||d>=f&&g>=d||f>h&&d>g)&&(c>=p&&m>=c||u>=p&&m>=u||p>c&&u>m);default:return!1}};t.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,n){var s,o,a=t.ui.ddmanager.droppables[e.options.scope]||[],r=n?n.type:null,l=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();t:for(s=0;a.length>s;s++)if(!(a[s].options.disabled||e&&!a[s].accept.call(a[s].element[0],e.currentItem||e.element))){for(o=0;l.length>
vendor: 5,648 bytes, line 4
4o;o++)if(l[o]===a[s].element[0]){a[s].proportions().height=0;continue t}a[s].visible="none"!==a[s].element.css("display"),a[s].visible&&("mousedown"===r&&a[s]._activate.call(a[s],n),a[s].offset=a[s].element.offset(),a[s].proportions({width:a[s].element[0].offsetWidth,height:a[s].element[0].offsetHeight}))}},drop:function(e,n){var s=!1;return t.each((t.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&_(e,this,this.options.tolerance,n)&&(s=this._drop.call(this,n)||s),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,n)))}),s},dragStart:function(e,n){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,n)})},drag:function(e,n){e.options.refreshPositions&&t.ui.ddmanager.prepareOffsets(e,n),t.each(t.ui.ddmanager.droppables[e.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var s,o,a,r=_(e,this,this.options.tolerance,n),l=!r&&this.isover?"isout":r&&!this.isover?"isover":null;l&&(this.options.greedy&&(o=this.options.scope,(a=this.element.parents(":data(ui-droppable)").filter(function(){return t(this).droppable("instance").options.scope===o})).length&&((s=t(a[0]).droppable("instance")).greedyChild="isover"===l)),s&&"isover"===l&&(s.isover=!1,s.isout=!0,s._out.call(s,n)),this[l]=!0,this["isout"===l?"isover":"isout"]=!1,this["isover"===l?"_over":"_out"].call(this,n),s&&"isout"===l&&(s.isout=!1,s.isover=!0,s._over.call(s,n)))}})},dragStop:function(e,n){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||t.ui.ddmanager.prepareOffsets(e,n)}},!1!==t.uiBackCompat&&t.widget("ui.droppable",t.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}}),t.ui.droppable,t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,n){if("hidden"===t(e).css("overflow"))return!1;var s=n&&"left"===n?"scrollLeft":"scrollTop",o=!1;return e[s]>0||(e[s]=1,o=e[s]>0,e[s]=0,o)},_create:function(){var e,n=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!n.aspectRatio,aspectRatio:n.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:n.helper||n.ghost||n.animate?n.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),n.autoHide&&t(this.element).on("mouseenter",function(){n.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){n.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,n=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(n(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),n(this.originalElement),this},_setOption:function(t,e){this._super(t,e),"handles"===t&&(this._removeHandles(),this._setupHandles())},_setupHandles:function(){var e,n,s,o,a,r=this.options,l=this;if(this.handles=r.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},n=0;s.length>n;
vendor: 5,112 bytes, line 4
4n++)o="ui-resizable-"+(e=t.trim(s[n])),a=t("<div>"),this._addClass(a,"ui-resizable-handle "+o),a.css({zIndex:r.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(a);this._renderAxis=function(e){var n,s,o,a;for(n in e=e||this.element,this.handles)this.handles[n].constructor===String?this.handles[n]=this.element.children(this.handles[n]).first().show():(this.handles[n].jquery||this.handles[n].nodeType)&&(this.handles[n]=t(this.handles[n]),this._on(this.handles[n],{mousedown:l._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[n],this.element),a=/sw|ne|nw|se|n|s/.test(n)?s.outerHeight():s.outerWidth(),o=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join(""),e.css(o,a),this._proportionallyResize()),this._handles=this._handles.add(this.handles[n])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){l.resizing||(this.className&&(a=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),l.axis=a&&a[1]?a[1]:"se")}),r.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var n,s,o=!1;for(n in this.handles)((s=t(this.handles[n])[0])===e.target||t.contains(s,e.target))&&(o=!0);return!this.options.disabled&&o},_mouseStart:function(e){var n,s,o,a=this.options,r=this.element;return this.resizing=!0,this._renderProxy(),n=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),a.containment&&(n+=t(a.containment).scrollLeft()||0,s+=t(a.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:n,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:r.width(),height:r.height()},this.originalSize=this._helper?{width:r.outerWidth(),height:r.outerHeight()}:{width:r.width(),height:r.height()},this.sizeDiff={width:r.outerWidth()-r.width(),height:r.outerHeight()-r.height()},this.originalPosition={left:n,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof a.aspectRatio?a.aspectRatio:this.originalSize.width/this.originalSize.height||1,o=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===o?this.axis+"-resize":o),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var n,s,o=this.originalMousePosition,a=this.axis,r=e.pageX-o.left||0,l=e.pageY-o.top||0,c=this._change[a];return this._updatePrevProperties(),!!c&&(n=c.apply(this,[e,r,l]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(n=this._updateRatio(n,e)),n=this._respectSize(n,e),this._updateCache(n),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1)},_mouseStop:function(e){this.resizing=!1;var n,s,o,a,r,l,c,h=this.options;return this._helper&&(o=(s=(n=this._proportionallyResizeElements).length&&/textarea/i.test(n[0].nodeName))&&this._hasScroll(n[0],"left")?0:this.sizeDiff.height,a=s?0:this.sizeDiff.width,r={width:this.helper.width()-a,height:this.helper.height()-o},l=parseFloat(this.element.css("left"))+(this.position.left-this.originalPosition.left)||null,c=parseFloat(this.element.css("top"))+(this.position.top-this.originalPosition.top)||null,h.animate||this.element.css(t.extend(r,{top:c,left:l})),this.helper.height(this.size.height),this.helper.width(this.size.width),this._helper&&!h.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,n,s,o,a,r=this.options;a={minWidth:this._isNumber(r.minWidth)?r.minWidth:0,maxWidth:this._isNumber(r.maxWidth)?r.maxWidth:1/0,minHeight:this._isNumber(r.minHeight)?r.minHeight:0,maxHeight:this._isNumber(r.maxHeight)?r.maxHeight:1/0},(this._aspectRatio||t)&&(e=a.minHeight*this.aspectRatio,s=a.minWidth/this.aspectRatio,n=a.maxHeight*this.aspectRatio,o=a.maxWidth/this.aspectRatio,e>a.minWidth&&(a.minWidth=e),s>a.minHeight&&(a.minHeight=s),a.maxWidth>n&&(a.maxWidth=n),a.maxHeight>o&&(a.maxHeight=o)),this._vBoundaries=a},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left
vendor: 5,125 bytes, line 4
4=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,n=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(n.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(n.height-t.height),t.left=e.left+(n.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,n=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidth<t.width,o=this._isNumber(t.height)&&e.maxHeight&&e.maxHeight<t.height,a=this._isNumber(t.width)&&e.minWidth&&e.minWidth>t.width,r=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,l=this.originalPosition.left+this.originalSize.width,c=this.originalPosition.top+this.originalSize.height,h=/sw|nw|w/.test(n),u=/nw|ne|n/.test(n);return a&&(t.width=e.minWidth),r&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),o&&(t.height=e.maxHeight),a&&h&&(t.left=l-e.minWidth),s&&h&&(t.left=l-e.maxWidth),r&&u&&(t.top=c-e.minHeight),o&&u&&(t.top=c-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,n=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],o=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)n[e]=parseFloat(s[e])||0,n[e]+=parseFloat(o[e])||0;return{height:n[0]+n[2],width:n[1]+n[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,n=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:n.height()-this.outerDimensions.height||0,width:n.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,n=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++n.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var n=this.originalSize;return{left:this.originalPosition.left+e,width:n.width-e}},n:function(t,e,n){var s=this.originalSize;return{top:this.originalPosition.top+n,height:s.height-n}},s:function(t,e,n){return{height:this.originalSize.height+n}},se:function(e,n,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,n,s]))},sw:function(e,n,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,n,s]))},ne:function(e,n,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,n,s]))},nw:function(e,n,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,n,s]))}},_propagate:function(e,n){t.ui.plugin.call(this,e,[n,this.ui()]),"resize"!==e&&this._trigger(e,n,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var n=t(this).resizable("instance"),s=n.options,o=n._proportionallyResizeElements,a=o.length&&/textarea/i.test(o[0].nodeName),r=a&&n._hasScroll(o[0],"left")?0:n.sizeDiff.height,l=a?0:n.sizeDiff.width,c={width:n.size.width-l,height:n.size.height-r},h=parseFloat(n.element.css("left"))+(n.position.left-n.originalPosition.left)||null,u=parseFloat(n.element.css("top"))+(n.position.top-n.originalPosition.top)||null;n.element.animate(t.extend(c,u&&h?{top:u,left:h}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(n.element.css("width")),height:parseFloat(n.element.css("height")),top:parseFloat(n.element.css("top")),left:parseFloat(n.element.css("left"))};o&&o.length&&t(o[0]).css({width:s.width,height:s.height}),n._updateCache(s),n._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,n,s,o,a,r,l,c=t(this).resizable("instance"),h=c.options,u=c.element,d=h.containment,p=d instanceof t?d.get(0):/parent/.test(d)?u.parent().get(0):d;p&&(c.containerElement=t(p),/document/.test(d)||d===document?(c.containerOffset={left:0,top:0},c.containerPosition={left:0,top:0},c.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(p),n=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){n[t]=c._num(e.css("padding"+s))}),c.containerOffset=e.offset(),c.containerPosition=e.position(),c.containerSize={height:e.innerHe
vendor: 4,165 bytes, line 4
4ight()-n[3],width:e.innerWidth()-n[1]},s=c.containerOffset,o=c.containerSize.height,a=c.containerSize.width,r=c._hasScroll(p,"left")?p.scrollWidth:a,l=c._hasScroll(p)?p.scrollHeight:o,c.parentData={element:p,left:s.left,top:s.top,width:r,height:l}))},resize:function(e){var n,s,o,a,r=t(this).resizable("instance"),l=r.options,c=r.containerOffset,h=r.position,u=r._aspectRatio||e.shiftKey,d={top:0,left:0},p=r.containerElement,f=!0;p[0]!==document&&/static/.test(p.css("position"))&&(d=c),h.left<(r._helper?c.left:0)&&(r.size.width=r.size.width+(r._helper?r.position.left-c.left:r.position.left-d.left),u&&(r.size.height=r.size.width/r.aspectRatio,f=!1),r.position.left=l.helper?c.left:0),h.top<(r._helper?c.top:0)&&(r.size.height=r.size.height+(r._helper?r.position.top-c.top:r.position.top),u&&(r.size.width=r.size.height*r.aspectRatio,f=!1),r.position.top=r._helper?c.top:0),o=r.containerElement.get(0)===r.element.parent().get(0),a=/relative|absolute/.test(r.containerElement.css("position")),o&&a?(r.offset.left=r.parentData.left+r.position.left,r.offset.top=r.parentData.top+r.position.top):(r.offset.left=r.element.offset().left,r.offset.top=r.element.offset().top),n=Math.abs(r.sizeDiff.width+(r._helper?r.offset.left-d.left:r.offset.left-c.left)),s=Math.abs(r.sizeDiff.height+(r._helper?r.offset.top-d.top:r.offset.top-c.top)),n+r.size.width>=r.parentData.width&&(r.size.width=r.parentData.width-n,u&&(r.size.height=r.size.width/r.aspectRatio,f=!1)),s+r.size.height>=r.parentData.height&&(r.size.height=r.parentData.height-s,u&&(r.size.width=r.size.height*r.aspectRatio,f=!1)),f||(r.position.left=r.prevPosition.left,r.position.top=r.prevPosition.top,r.size.width=r.prevSize.width,r.size.height=r.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),n=e.options,s=e.containerOffset,o=e.containerPosition,a=e.containerElement,r=t(e.helper),l=r.offset(),c=r.outerWidth()-e.sizeDiff.width,h=r.outerHeight()-e.sizeDiff.height;e._helper&&!n.animate&&/relative/.test(a.css("position"))&&t(this).css({left:l.left-o.left-s.left,width:c,height:h}),e._helper&&!n.animate&&/static/.test(a.css("position"))&&t(this).css({left:l.left-o.left-s.left,width:c,height:h})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance").options;t(e.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,n){var s=t(this).resizable("instance"),o=s.options,a=s.originalSize,r=s.originalPosition,l={height:s.size.height-a.height||0,width:s.size.width-a.width||0,top:s.position.top-r.top||0,left:s.position.left-r.left||0};t(o.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),o={},a=e.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(a,function(t,e){var n=(s[e]||0)+(l[e]||0);n&&n>=0&&(o[e]=n||null)}),e.css(o)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),n=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:n.height,width:n.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==t.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,n=t(this).resizable("instance"),s=n.options,o=n.size,a=n.originalSize,r=n.originalPosition,l=n.axis,c="number"==typeof s.grid?[s.grid,s.grid]:s.grid,h=c[0]||1,u=c[1]||1,d=Math.round((o.width-a.width)/h)*h,p=Math.round((o.height-a.height)/u)*u,f=a.width+d,m=a.height+p,g=s.maxWidth&&f>s.maxWidth,v=s.maxHeight&&m>s.maxHeight,b=s.minWidth&&s.minWidth>f,_=s.minHeight&&s.minHeight>m;
vendor: 5,961 bytes, line 4
4s.grid=c,b&&(f+=h),_&&(m+=u),g&&(f-=h),v&&(m-=u),/^(se|s|e)$/.test(l)?(n.size.width=f,n.size.height=m):/^(ne)$/.test(l)?(n.size.width=f,n.size.height=m,n.position.top=r.top-p):/^(sw)$/.test(l)?(n.size.width=f,n.size.height=m,n.position.left=r.left-d):((0>=m-u||0>=f-h)&&(e=n._getPaddingPlusBorderDimensions(this)),m-u>0?(n.size.height=m,n.position.top=r.top-p):(m=u-e.height,n.size.height=m,n.position.top=r.top+a.height-m),f-h>0?(n.size.width=f,n.position.left=r.left-d):(f=h-e.width,n.size.width=f,n.position.left=r.left+a.width-f))}}),t.ui.resizable,t.widget("ui.selectable",t.ui.mouse,{version:"1.12.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var e=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){e.elementPos=t(e.element[0]).offset(),e.selectees=t(e.options.filter,e.element[0]),e._addClass(e.selectees,"ui-selectee"),e.selectees.each(function(){var n=t(this),s=n.offset(),o={left:s.left-e.elementPos.left,top:s.top-e.elementPos.top};t.data(this,"selectable-item",{element:this,$element:n,left:o.left,top:o.top,right:o.left+n.outerWidth(),bottom:o.top+n.outerHeight(),startselected:!1,selected:n.hasClass("ui-selected"),selecting:n.hasClass("ui-selecting"),unselecting:n.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=t("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(e){var n=this,s=this.options;this.opos=[e.pageX,e.pageY],this.elementPos=t(this.element[0]).offset(),this.options.disabled||(this.selectees=t(s.filter,this.element[0]),this._trigger("start",e),t(s.appendTo).append(this.helper),this.helper.css({left:e.pageX,top:e.pageY,width:0,height:0}),s.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var s=t.data(this,"selectable-item");s.startselected=!0,e.metaKey||e.ctrlKey||(n._removeClass(s.$element,"ui-selected"),s.selected=!1,n._addClass(s.$element,"ui-unselecting"),s.unselecting=!0,n._trigger("unselecting",e,{unselecting:s.element}))}),t(e.target).parents().addBack().each(function(){var s,o=t.data(this,"selectable-item");return o?(s=!e.metaKey&&!e.ctrlKey||!o.$element.hasClass("ui-selected"),n._removeClass(o.$element,s?"ui-unselecting":"ui-selected")._addClass(o.$element,s?"ui-selecting":"ui-unselecting"),o.unselecting=!s,o.selecting=s,o.selected=s,s?n._trigger("selecting",e,{selecting:o.element}):n._trigger("unselecting",e,{unselecting:o.element}),!1):void 0}))},_mouseDrag:function(e){if(this.dragged=!0,!this.options.disabled){var n,s=this,o=this.options,a=this.opos[0],r=this.opos[1],l=e.pageX,c=e.pageY;return a>l&&(n=l,l=a,a=n),r>c&&(n=c,c=r,r=n),this.helper.css({left:a,top:r,width:l-a,height:c-r}),this.selectees.each(function(){var n=t.data(this,"selectable-item"),h=!1,u={};n&&n.element!==s.element[0]&&(u.left=n.left+s.elementPos.left,u.right=n.right+s.elementPos.left,u.top=n.top+s.elementPos.top,u.bottom=n.bottom+s.elementPos.top,"touch"===o.tolerance?h=!(u.left>l||a>u.right||u.top>c||r>u.bottom):"fit"===o.tolerance&&(h=u.left>a&&l>u.right&&u.top>r&&c>u.bottom),h?(n.selected&&(s._removeClass(n.$element,"ui-selected"),n.selected=!1),n.unselecting&&(s._removeClass(n.$element,"ui-unselecting"),n.unselecting=!1),n.selecting||(s._addClass(n.$element,"ui-selecting"),n.selecting=!0,s._trigger("selecting",e,{selecting:n.element}))):(n.selecting&&((e.metaKey||e.ctrlKey)&&n.startselected?(s._removeClass(n.$element,"ui-selecting"),n.selecting=!1,s._addClass(n.$element,"ui-selected"),n.selected=!0):(s._removeClass(n.$element,"ui-selecting"),n.selecting=!1,n.startselected&&(s._addClass(n.$element,"ui-unselecting"),n.unselecting=!0),s._trigger("unselecting",e,{unselecting:n.element}))),n.selected&&(e.metaKey||e.ctrlKey||n.startselected||(s._removeClass(n.$element,"ui-selected"),n.selected=!1,s._addClass(n.$element,"ui-unselecting"),n.unselecting=!0,s._trigger("unselecting",e,{unselecting:n.element})))))}),!1}},_mouseStop:function(e){var n=this;return this.dragged=!1,t(".ui-unselecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");n._removeClass(s.$element,"ui-unselecting"),s.unselecting=!1,s.startselected=!1,n._trigger("unselected",e,{unselected:s.element})}),t(".ui-selecting",this.element[0]).each(function(){var s=t.data(this,"selectable-item");n._removeClass(s.$element,"ui-selecting")._addClass(s.$element,"ui-selected"),s.selecting=!1,s.selected=!0,s.startselected=!0,n._trigger("selected",e,{selected:s.element})}),this._trigger("stop",e),this.helper.remove(),!1}}),t.widget("ui.sortable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,n){return t>=e&&e+n>t},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")}
vendor: 8,941 bytes, line 4
4)},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,n){var s=null,o=!1,a=this;return!this.reverting&&!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),t(e.target).parents().each(function(){return t.data(this,a.widgetName+"-item")===a?(s=t(this),!1):void 0}),t.data(e.target,a.widgetName+"-item")===a&&(s=t(e.target)),!!s&&(!this.options.handle||!!n||(t(this.options.handle,s).find("*").addBack().each(function(){this===e.target&&(o=!0)}),!!o))&&(this.currentItem=s,this._removeCurrentsFromItems(),!0))},_mouseStart:function(e,n,s){var o,a,r=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,r.cursorAt&&this._adjustOffsetFromHelper(r.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),r.containment&&this._setContainment(),r.cursor&&"auto"!==r.cursor&&(a=this.document.find("body"),this.storedCursor=a.css("cursor"),a.css("cursor",r.cursor),this.storedStylesheet=t("<style>*{ cursor: "+r.cursor+" !important; }</style>").appendTo(a)),r.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",r.opacity)),r.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",r.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!s)for(o=this.containers.length-1;o>=0;o--)this.containers[o]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!r.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var n,s,o,a,r=this.options,l=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<r.scrollSensitivity?this.scrollParent[0].scrollTop=l=this.scrollParent[0].scrollTop+r.scrollSpeed:e.pageY-this.overflowOffset.top<r.scrollSensitivity&&(this.scrollParent[0].scrollTop=l=this.scrollParent[0].scrollTop-r.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<r.scrollSensitivity?this.scrollParent[0].scrollLeft=l=this.scrollParent[0].scrollLeft+r.scrollSpeed:e.pageX-this.overflowOffset.left<r.scrollSensitivity&&(this.scrollParent[0].scrollLeft=l=this.scrollParent[0].scrollLeft-r.scrollSpeed)):(e.pageY-this.document.scrollTop()<r.scrollSensitivity?l=this.document.scrollTop(this.document.scrollTop()-r.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<r.scrollSensitivity&&(l=this.document.scrollTop(this.document.scrollTop()+r.scrollSpeed)),e.pageX-this.document.scrollLeft()<r.scrollSensitivity?l=this.document.scrollLeft(this.document.scrollLeft()-r.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<r.scrollSensitivity&&(l=this.document.scrollLeft(this.document.scrollLeft()+r.scrollSpeed))),!1!==l&&t.ui.ddmanager&&!r.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),n=this.items.length-1;n>=0;n--)if(o=(s=this.items[n]).item[0],(a=this._intersectsWithPointer(s))&&s.instance===this.currentContainer&&o!==this.currentItem[0]&&this.placeholder[1===a?"next":"prev"]()[0]!==o&&!t.contains(this.placeholder[0],o)&&("semi-dynamic"!==this.options.type||!t.contains(this.element[0],o))){if(this.direction=1===a?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(s))break;this._rearrange(e,s),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,n){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var s=this,o=this.placeholder.offset(),a=this.options.axis,r={};a&&"x"!==a||(r.left=o.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),a&&"y"!==a||(r.top=o.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(r,parseInt(this.options.revert,10)||500,function(){s._clear(e)})}else this._clear(e,n);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var n=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},t(n).each(function(){var n=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);n&&s.push((e.key||n[1]+"[]")+"="+(e.key&&e.expression?n[1]:n[2]))}),!s.length&&e.key&&s.push(e.key+"="),s.join("&")},toArray:function(e){var n=this._getItemsAsjQuery(e&&e.connected),s=[];return e=e||{},n.each(function(){s.push(t(e.item||this).attr(e.attribute||"id")||"")}),s},_intersectsWith:function(t){var e=this.positionAbs.left,n=e+this.helperProportions.width,s=this.positionAbs.top,o=s+this.helperProportions.height,a=t.left,r=a+t.width,l=t.top,c=l+t.height,h=this.offset.click.top,u=this.offset.click.left,d="x"===this.options.axis||s+h>l&&c>s+h,p="y"===this.options.axis||e+u>a&&r>e+u;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?d&&p:e+this.helperProportions.width/2>a&&r>n-this.helperProportions.width/2&&s+this.helperProportions.height/2>l&&c>o-this.helperProportions.height/2},_intersectsWithPointer:function(t){var e,n,s="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),o="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!!(s&&o)&&(e=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection(),this.floating?"right"===n||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),n=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),s=this._getDragVerticalDirection(),o=this._getDragHorizontalDirection();return this.floating&&o?"right"===o&&n||"left"===o&&!n:s&&("down"===s&&e||"up"===s&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;
4return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){function n(){l.push(this)}var s,o,a,r,l=[],c=[],h=this._connectWith();if(h&&e)for(s=h.length-1;s>=0;s--)for(o=(a=t(h[s],this.document[0])).length-1;o>=0;o--)(r=t.data(a[o],this.widgetFullName))&&r!==this&&!r.options.disabled&&c.push([t.isFunction(r.options.items)?r.options.items.call(r.element):t(r.options.items,r.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),r]);for(c.push([t.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),s=c.length-1;s>=0;s--)c[s][0].each(n);return t(l)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,function(t){for(var n=0;e.length>n;n++)if(e[n]===t.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var n,s,o,a,r,l,c,h,u=this.items,d=[[t.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],p=this._connectWith();if(p&&this.ready)for(n=p.length-1;n>=0;n--)for(s=(o=t(p[n],this.document[0])).length-1;s>=0;s--)(a=t.data(o[s],this.widgetFullName))&&a!==this&&!a.options.disabled&&(d.push([t.isFunction(a.options.items)?a.options.items.call(a.element[0],e,{item:this.currentItem}):t(a.options.items,a.element),a]),this.containers.push(a));for(n=d.length-1;n>=0;n--)for(r=d[n][1],l=d[n][0],s=0,h=l.length;h>s;s++)(c=t(l[s])).data(this.widgetName+"-item",r),u.push({item:c,instance:r,width:0,height:0,left:0,top:0})},refreshPositions:function(e){var n,s,o,a;for(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),n=this.items.length-1;n>=0;n--)(s=this.items[n]).instance!==this.currentContainer&&this.currentContainer&&s.item[0]!==this.currentItem[0]||(o=this.options.toleranceElement?t(this.options.toleranceElement,s.item):s.item,e||(s.width=o.outerWidth(),s.height=o.outerHeight()),a=o.offset(),s.left=a.left,s.top=a.top);
vendor: 1,142 bytes, line 4
4if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(n=this.containers.length-1;n>=0;n--)a=this.containers[n].element.offset(),this.containers[n].containerCache.left=a.left,this.containers[n].containerCache.top=a.top,this.containers[n].containerCache.width=this.containers[n].element.outerWidth(),this.containers[n].containerCache.height=this.containers[n].element.outerHeight();return this},_createPlaceholder:function(e){var n,s=(e=e||this).options;s.placeholder&&s.placeholder.constructor!==String||(n=s.placeholder,s.placeholder={element:function(){var s=e.currentItem[0].nodeName.toLowerCase(),o=t("<"+s+">",e.document[0]);return e._addClass(o,"ui-sortable-placeholder",n||e.currentItem[0].className)._removeClass(o,"ui-sortable-helper"),"tbody"===s?e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("<tr>",e.document[0]).appendTo(o)):"tr"===s?e._createTrPlaceholder(e.currentItem,o):"img"===s&&o.attr("src",e.currentItem.attr("src")),n||o.css("visibility","hidden"),o},update:function(t,o){(!n||s.forcePlaceholderSize)&&(o.height()||o.height(e.currentItem.innerHe
vendor: 5,528 bytes, line 4
4ight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),o.width()||o.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(s.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),s.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,n){var s=this;e.children().each(function(){t("<td>&#160;</td>",s.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(n)})},_contactContainers:function(e){var n,s,o,a,r,l,c,h,u,d,p=null,f=null;for(n=this.containers.length-1;n>=0;n--)if(!t.contains(this.currentItem[0],this.containers[n].element[0])){if(this._intersectsWith(this.containers[n].containerCache)){if(p&&t.contains(this.containers[n].element[0],p.element[0]))continue;p=this.containers[n],f=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",e,this._uiHash(this)),this.containers[n].containerCache.over=0)}if(p){if(1===this.containers.length)this.containers[f].containerCache.over||(this.containers[f]._trigger("over",e,this._uiHash(this)),this.containers[f].containerCache.over=1);else{for(o=1e4,a=null,r=(u=p.floating||this._isFloating(this.currentItem))?"left":"top",l=u?"width":"height",d=u?"pageX":"pageY",s=this.items.length-1;s>=0;s--)t.contains(this.containers[f].element[0],this.items[s].item[0])&&this.items[s].item[0]!==this.currentItem[0]&&(c=this.items[s].item.offset()[r],h=!1,e[d]-c>this.items[s][l]/2&&(h=!0),o>Math.abs(e[d]-c)&&(o=Math.abs(e[d]-c),a=this.items[s],this.direction=h?"up":"down"));if(!a&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[f])return void(this.currentContainer.containerCache.over||(this.containers[f]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1));a?this._rearrange(e,a,null,!0):this._rearrange(e,null,this.containers[f].element,!0),this._trigger("change",e,this._uiHash()),this.containers[f]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[f],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[f]._trigger("over",e,this._uiHash(this)),this.containers[f].containerCache.over=1}}},_createHelper:function(e){var n=this.options,s=t.isFunction(n.helper)?t(n.helper.apply(this.element[0],[e,this.currentItem])):"clone"===n.helper?this.currentItem.clone():this.currentItem;return s.parents("body").length||t("parent"!==n.appendTo?n.appendTo:this.currentItem[0].parentNode)[0].appendChild(s[0]),s[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),(!s[0].style.width||n.forceHelperSize)&&s.width(this.currentItem.width()),(!s[0].style.height||n.forceHelperSize)&&s.height(this.currentItem.height()),s},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,n,s,o=this.options;"parent"===o.containment&&(o.containment=this.helper[0].parentNode),("document"===o.containment||"window"===o.containment)&&(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===o.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===o.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(o.containment)||(e=t(o.containment)[0],n=t(o.containment).offset(),s="hidden"!==t(e).css("overflow"),this.containment=[n.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,n.top+(parseInt(t(e).css("borderTopWidth"),
vendor: 20,811 bytes, line 4
410)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,n.left+(s?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,n.top+(s?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,n){n||(n=this.position);var s="absolute"===e?1:-1,o="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,a=/(html|body)/i.test(o[0].tagName);return{top:n.top+this.offset.relative.top*s+this.offset.parent.top*s-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():a?0:o.scrollTop())*s,left:n.left+this.offset.relative.left*s+this.offset.parent.left*s-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():a?0:o.scrollLeft())*s}},_generatePosition:function(e){var n,s,o=this.options,a=e.pageX,r=e.pageY,l="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,c=/(html|body)/i.test(l[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(a=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(r=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(a=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(r=this.containment[3]+this.offset.click.top)),o.grid&&(n=this.originalPageY+Math.round((r-this.originalPageY)/o.grid[1])*o.grid[1],r=this.containment?n-this.offset.click.top>=this.containment[1]&&n-this.offset.click.top<=this.containment[3]?n:n-this.offset.click.top>=this.containment[1]?n-o.grid[1]:n+o.grid[1]:n,s=this.originalPageX+Math.round((a-this.originalPageX)/o.grid[0])*o.grid[0],a=this.containment?s-this.offset.click.left>=this.containment[0]&&s-this.offset.click.left<=this.containment[2]?s:s-this.offset.click.left>=this.containment[0]?s-o.grid[0]:s+o.grid[0]:s)),{top:r-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():c?0:l.scrollTop()),left:a-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():c?0:l.scrollLeft())}},_rearrange:function(t,e,n,s){n?n[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var o=this.counter;this._delay(function(){o===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){function n(t,e,n){return function(s){n._trigger(t,s,e._uiHash(e))}}this.reverting=!1;var s,o=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(s in this._storedCSS)("auto"===this._storedCSS[s]||"static"===this._storedCSS[s])&&(this._storedCSS[s]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&o.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||o.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(o.push(function(t){this._trigger("remove",t,this._uiHash())}),o.push((function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}).call(this,this.currentContainer)),o.push((function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}).call(this,this.currentContainer)))),s=this.containers.length-1;s>=0;s--)e||o.push(n("deactivate",this,this.containers[s])),this.containers[s].containerCache.over&&(o.push(n("out",this,this.containers[s])),this.containers[s].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(s=0;o.length>s;s++)o[s].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===t.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var n=e||this;return{helper:n.helper,placeholder:n.placeholder||t([]),position:n.position,originalPosition:n.originalPosition,offset:n.positionAbs,item:n.currentItem,sender:e?e.element:null}}}),t.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),0>e.active&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():t()}},_createIcons:function(){var e,n,s=this.options.icons;s&&(e=t("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+s.header),e.prependTo(this.headers),n=this.active.children(".ui-accordion-header-icon"),this._removeClass(n,s.header)._addClass(n,null,s.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var t;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&t.css("height","")},_setOption:function(t,e){return"active"===t?void this._activate(e):("event"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),"collapsible"!==t||e||!1!==this.options.active||this._activate(0),void("icons"===t&&(this._destroyIcons(),e&&this._createIcons())))},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!t)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var n=t.ui.keyCode,s=this.headers.length,o=this.headers.index(e.target),a=!1;switch(e.keyCode){case n.RIGHT:case n.DOWN:a=this.headers[(o+1)%s];break;case n.LEFT:case n.UP:a=this.headers[(o-1+s)%s];break;case n.SPACE:case n.ENTER:this._eventHandler(e);break;case n.HOME:a=this.headers[0];break;case n.END:a=this.headers[s-1]}a&&(t(e.target).attr("tabIndex",-1),t(a).attr("tabIndex",0),t(a).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===t.ui.keyCode.UP&&e.ctrlKey&&t(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),(!1!==e.active||!0!==e.collapsible)&&this.headers.length?!1===e.active?this._activate(0):this.active.length&&!t.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=t()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active):(e.active=!1,this.active=t()),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var e,n=this.options,s=n.heightStyle,o=this.element.parent();this.active=this._findActive(n.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=t(this),n=e.uniqueId().attr("id"),s=e.next(),o=s.uniqueId().attr("id");e.attr("aria-controls",o),s.attr("aria-labelledby",n)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(n.event),"fill"===s?(e=o.height(),this.element.siblings(":visible").each(function(){var n=t(this),s=n.css("position");"absolute"!==s&&"fixed"!==s&&(e-=n.outerHeight(!0))}),this.headers.each(function(){e-=t(this).outerHeight(!0)}),this.headers.next().each(function(){t(this).height(Math.max(0,e-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===s&&(e=0,this.headers.next().each(function(){var n=t(this).is(":visible");n||t(this).show(),e=Math.max(e,t(this).css("height","").height()),n||t(this).hide()}).height(e))},_activate:function(e){var n=this._findActive(e)[0];n!==this.active[0]&&(n=n||this.active[0],this._eventHandler({target:n,currentTarget:n,preventDefault:t.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):t()},_setupEvents:function(e){var n={keydown:"_keydown"};e&&t.each(e.split(" "),function(t,e){n[e]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,n),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var n,s,o=this.options,a=this.active,r=t(e.currentTarget),l=r[0]===a[0],c=l&&o.collapsible,h=c?t():r.next(),u=a.next(),d={oldHeader:a,oldPanel:u,newHeader:c?t():r,newPanel:h};e.preventDefault(),l&&!o.collapsible||!1===this._trigger("beforeActivate",e,d)||(o.active=!c&&this.headers.index(r),this.active=l?t():r,this._toggle(d),this._removeClass(a,"ui-accordion-header-active","ui-state-active"),o.icons&&(n=a.children(".ui-accordion-header-icon"),this._removeClass(n,null,o.icons.activeHeader)._addClass(n,null,o.icons.header)),l||(this._removeClass(r,"ui-accordion-header-collapsed")._addClass(r,"ui-accordion-header-active","ui-state-active"),o.icons&&(s=r.children(".ui-accordion-header-icon"),this._removeClass(s,null,o.icons.header)._addClass(s,null,o.icons.activeHeader)),this._addClass(r.next(),"ui-accordion-content-active")))},_toggle:function(e){var n=e.newPanel,s=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=n,this.prevHide=s,this.options.animate?this._animate(n,s,e):(s.hide(),n.show(),this._toggleComplete(e)),s.attr({"aria-hidden":"true"}),s.prev().attr({"aria-selected":"false","aria-expanded":"false"}),n.length&&s.length?s.prev().attr({tabIndex:-1,"aria-expanded":"false"}):n.length&&this.headers.filter(function(){return 0===parseInt(t(this).attr("tabIndex"),10)}).attr("tabIndex",-1),n.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(t,e,n){var s,o,a,r=this,l=0,c=t.css("box-sizing"),h=t.length&&(!e.length||t.index()<e.index()),u=this.options.animate||{},d=h&&u.down||u,p=function(){r._toggleComplete(n)};return"number"==typeof d&&(a=d),"string"==typeof d&&(o=d),o=o||d.easing||u.easing,a=a||d.duration||u.duration,e.length?t.length?(s=t.show().outerHeight(),e.animate(this.hideProps,{duration:a,easing:o,step:function(t,e){e.now=Math.round(t)}}),void t.hide().animate(this.showProps,{duration:a,easing:o,complete:p,step:function(t,n){n.now=Math.round(t),"height"!==n.prop?"content-box"===c&&(l+=n.now):"content"!==r.options.heightStyle&&(n.now=Math.round(s-e.outerHeight()-l),l=0)}})):e.animate(this.hideProps,a,o,p):t.animate(this.showProps,a,o,p)},_toggleComplete:function(t){var e=t.oldPanel,n=e.prev();this._removeClass(e,"ui-accordion-content-active"),this._removeClass(n,"ui-accordion-header-active")._addClass(n,"ui-accordion-header-collapsed"),e.length&&(e.parent()[0].className=e.parent()[0].className),this._trigger("activate",null,t)}}),t.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(t){t.preventDefault()},"click .ui-menu-item":function(e){var n=t(e.target),s=t(t.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&n.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),n.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&s.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var n=t(e.target).closest(".ui-menu-item"),s=t(e.currentTarget);n[0]===s[0]&&(this._removeClass(s.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,s))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(t,e){var n=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,n)},blur:function(e){this._delay(function(){t.contains(this.element[0],t.ui.safeActiveElement(this.document[0]))||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=t(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var n,s,o,a,r=!0;switch(e.keyCode){case t.ui.keyCode.PAGE_UP:this.previousPage(e);break;case t.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case t.ui.keyCode.HOME:this._move("first","first",e);break;case t.ui.keyCode.END:this._move("last","last",e);break;case t.ui.keyCode.UP:this.previous(e);break;case t.ui.keyCode.DOWN:this.next(e);break;case t.ui.keyCode.LEFT:this.collapse(e);break;case t.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case t.ui.keyCode.ENTER:case t.ui.keyCode.SPACE:this._activate(e);break;case t.ui.keyCode.ESCAPE:this.collapse(e);break;default:r=!1,s=this.previousFilter||"",a=!1,o=e.keyCode>=96&&105>=e.keyCode?""+(e.keyCode-96):String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),o===s?a=!0:o=s+o,n=this._filterMenuItems(o),(n=a&&-1!==n.index(this.active.next())?this.active.nextAll(".ui-menu-item"):n).length||(o=String.fromCharCode(e.keyCode),n=this._filterMenuItems(o)),n.length?(this.focus(e,n),this.previousFilter=o,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}r&&e.preventDefault()},_activate:function(t){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(t):this.select(t))},refresh:function(){var e,n,s,o,a=this,r=this.options.icons.submenu,l=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),n=l.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=t(this),n=e.prev(),s=t("<span>").data("ui-menu-submenu-caret",!0);a._addClass(s,"ui-menu-icon","ui-icon "+r),n.attr("aria-haspopup","true").prepend(s),e.attr("aria-labelledby",n.attr("id"))}),this._addClass(n,"ui-menu","ui-widget ui-widget-content ui-front"),(e=l.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=t(this);a._isDivider(e)&&a._addClass(e,"ui-menu-divider","ui-widget-content")}),o=(s=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(s,"ui-menu-item")._addClass(o,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!t.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return({menu:"menuitem",listbox:"option"})[this.options.role]},_setOption:function(t,e){if("icons"===t){var n=this.element.find(".ui-menu-icon");this._removeClass(n,null,this.options.icons.submenu)._addClass(n,null,e.submenu)}this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t+""),this._toggleClass(null,"ui-state-disabled",!!t)},focus:function(t,e){var n,s,o;this.blur(t,t&&"focus"===t.type),this._scrollIntoView(e),this.active=e.first(),s=this.active.children(".ui-menu-item-wrapper"),this._addClass(s,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",s.attr("id")),o=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(o,null,"ui-state-active"),t&&"keydown"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(n=e.children(".ui-menu")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(n),this.activeMenu=e.parent(),this._trigger("focus",t,{item:e})},_scrollIntoView:function(e){var n,s,o,a,r,l;this._hasScroll()&&(n=parseFloat(t.css(this.activeMenu[0],"borderTopWidth"))||0,s=parseFloat(t.css(this.activeMenu[0],"paddingTop"))||0,o=e.offset().top-this.activeMenu.offset().top-n-s,a=this.activeMenu.scrollTop(),r=this.activeMenu.height(),l=e.outerHeight(),0>o?this.activeMenu.scrollTop(a+o):o+l>r&&this.activeMenu.scrollTop(a+o-r+l))},blur:function(t,e){e||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",t,{item:this.active}),this.active=null)},_startOpening:function(t){clearTimeout(this.timer),"true"===t.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(t)},this.delay))},_open:function(e){var n=t.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(n)},collapseAll:function(e,n){clearTimeout(this.timer),this.timer=this._delay(function(){var s=n?this.element:t(e&&e.target).closest(this.element.find(".ui-menu"));s.length||(s=this.element),this._close(s),this.blur(e),this._removeClass(s.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=s},this.delay)},_close:function(t){t||(t=this.active?this.active.parent():this.element),t.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
4se")},_closeOnDocumentClick:function(e){return!t(e.target).closest(".ui-menu").length},_isDivider:function(t){return!/[^\-\u2014\u2013\s]/.test(t.text())},collapse:function(t){var e=this.active&&this.active.parent().closest(".ui-menu-item",this.element);e&&e.length&&(this._close(),this.focus(t,e))},expand:function(t){var e=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();e&&e.length&&(this._open(e.parent()),this._delay(function(){this.focus(t,e)}))},next:function(t){this._move("next","first",t)},previous:function(t){this._move("prev","last",t)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(t,e,n){var s;this.active&&(s="first"===t||"last"===t?this.active["first"===t?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[t+"All"](".ui-menu-item").eq(0)),s&&s.length&&this.active||(s=this.activeMenu.find(this.options.items)[e]()),this.focus(n,s)},nextPage:function(e){var n,s,o;return this.active?void(this.isLastItem()||(this._hasScroll()?(s=this.active.offset().top,o=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return 0>(n=t(this)).offset().top-s-o}),this.focus(e,n)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]()))):void this.next(e)},previousPage:function(e){var n,s,o;return this.active?void(this.isFirstItem()||(this._hasScroll()?(s=this.active.offset().top,o=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return(n=t(this)).offset().top-s+o>0}),this.focus(e,n)):this.focus(e,this.activeMenu.find(this.options.items).first()))):void this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||t(e.target).closest(".ui-menu-item");var n={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,n)},_filterMenuItems:function(e){var n=RegExp("^"+e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return n.test(t.trim(t(this).children(".ui-menu-item-wrapper").text()))})}}),t.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var e,n,s,o=this.element[0].nodeName.toLowerCase(),a="textarea"===o,r="input"===o;this.isMultiLine=a||!r&&this._isContentEditable(this.element),this.valueMethod=this.element[a||r?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(o){if(this.element.prop("readOnly"))return e=!0,s=!0,void(n=!0);e=!1,s=!1,n=!1;var a=t.ui.keyCode;switch(o.keyCode){case a.PAGE_UP:e=!0,this._move("previousPage",o);break;case a.PAGE_DOWN:e=!0,this._move("nextPage",o);break;case a.UP:e=!0,this._keyEvent("previous",o);break;case a.DOWN:e=!0,this._keyEvent("next",o);break;case a.ENTER:this.menu.active&&(e=!0,o.preventDefault(),this.menu.select(o));break;case a.TAB:this.menu.active&&this.menu.select(o);break;case a.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(o),o.preventDefault());break;default:n=!0,this._searchTimeout(o)}},keypress:function(s){if(e)return e=!1,void((!this.isMultiLine||this.menu.element.is(":visible"))&&s.preventDefault());if(!n){var o=t.ui.keyCode;switch(s.keyCode){case o.PAGE_UP:this._move("previousPage",s);break;case o.PAGE_DOWN:this._move("nextPage",s);break;case o.UP:this._keyEvent("previous",s);break;case o.DOWN:this._keyEvent("next",s)}}},input:function(t){return s?(s=!1,void t.preventDefault()):void this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){return this.cancelBlur?void delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),void this._change(t))}}),this._initSource(),this.menu=t("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==t.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(e,n){var s,o;return this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type))?(this.menu.blur(),void this.document.one("mousemove",function(){t(e.target).trigger(e.originalEvent)})):(o=n.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:o}
vendor: 12,862 bytes, line 4
4)&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(o.value),void((s=n.item.attr("aria-label")||o.value)&&t.trim(s).length&&(this.liveRegion.children().hide(),t("<div>").text(s).appendTo(this.liveRegion))))},menuselect:function(e,n){var s=n.item.data("ui-autocomplete-item"),o=this.previous;this.element[0]!==t.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=o,this._delay(function(){this.previous=o,this.selectedItem=s})),!1!==this._trigger("select",e,{item:s})&&this._value(s.value),this.term=this._value(),this.close(e),this.selectedItem=s}}),this.liveRegion=t("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(this._appendTo()),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var n=this.menu.element[0];return e.target===this.element[0]||e.target===n||t.contains(n,e.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var e,n,s=this;t.isArray(this.options.source)?(e=this.options.source,this.source=function(n,s){s(t.ui.autocomplete.filter(e,n.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(e,o){s.xhr&&s.xhr.abort(),s.xhr=t.ajax({url:n,data:e,dataType:"json",success:function(t){o(t)},error:function(){o([])}})}):this.source=this.options.source},_searchTimeout:function(t){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),n=this.menu.element.is(":visible"),s=t.altKey||t.ctrlKey||t.metaKey||t.shiftKey;e&&(!e||n||s)||(this.selectedItem=null,this.search(null,t))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length<this.options.minLength?this.close(e):!1!==this._trigger("search",e)?this._search(t):void 0},_search:function(t){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){var e=++this.requestIndex;return t.proxy(function(t){e===this.requestIndex&&this.__response(t),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeof e?{label:e,value:e}:t.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var n=this.menu.element.empty();this._renderMenu(n,e),this.isNewMenu=!0,this.menu.refresh(),n.show(),this._resizeMenu(),n.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var t=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,n){var s=this;t.each(n,function(t,n){s._renderItemData(e,n)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,n){return t("<li>").append(t("<div>").text(n.label)).appendTo(e)},_move:function(t,e){return this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e):void this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){(!this.isMultiLine||this.menu.element.is(":visible"))&&(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,n){var s=RegExp(t.ui.autocomplete.escapeRegex(n),"i");return t.grep(e,function(t){return s.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){return t+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var n;this._superApply(arguments),this.options.disabled||this.cancelSearch||(n=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t("<div>").text(n).appendTo(this.liveRegion))}}),t.ui.autocomplete;var y=/ui-corner-([a-z]){2,6}/g;t.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var e=this,n=[];t.each(this.options.items,function(s,o){var a,r={};return o?"controlgroupLabel"===s?((a=e.element.find(o)).each(function(){var e=t(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),e._addClass(a,null,"ui-widget ui-widget-content ui-state-default"),void(n=n.concat(a.get()))):void(t.fn[s]&&(r=e["_"+s+"Options"]?e["_"+s+"Options"]("middle"):{classes:{}},e.element.find(o).each(function(){var o=t(this),a=o[s]("instance"),l=t.widget.extend({},r);if("button"!==s||!o.parent(".ui-spinner").length){a||(a=o[s]()[s]("instance")),a&&(l.classes=e._resolveClassesValues(l.classes,a)),o[s](l);var c=o[s]("widget");t.data(c[0],"ui-controlgroup-data",a||o[s]("instance")),n.push(c[0])}}))):void 0}),this.childWidgets=t(t.unique(n)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var n=t(this).data("ui-controlgroup-data");n&&n[e]&&n[e]()})},_updateCornerClass:function(t,e){var n=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,n)},_buildSimpleOptions:function(t,e){var n="vertical"===this.options.direction,s={classes:{}};return s.classes[e]=({middle:"",first:"ui-corner-"+(n?"top":"left"),last:"ui-corner-"+(n?"bottom":"right"),only:"ui-corner-all"})[t],s},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:!!e&&"auto",classes:({middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}})[t]}},_resolveClassesValues:function(e,n){var s={};return t.each(e,function(o){var a=n.options.classes[o]||"";a=t.trim(a.replace(y,"")),s[o]=(a+" "+e[o]).replace(/\s+/g," ")}),s},_setOption:function(t,e){return"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"===t?void this._callChildMethod(e?"disable":"enable"):void this.refresh()},refresh:function(){var e,n=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],function(t,s){var o=e[s]().data("ui-controlgroup-data");if(o&&n["_"+o.widgetName+"Options"]){var a=n["_"+o.widgetName+"Options"](1===e.length?"only":s);a.classes=n._resolveClassesValues(a.classes,o),o.element[o.widgetName](a)}else n._updateCornerClass(e[s](),s)}),this._callChildMethod("refresh"))}}),t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,n,s=this,o=this._super()||{};return this._readType(),n=this.element.labels(),this.label=t(n[n.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){s.originalLabel+=3===this.nodeType?t(this).text():this.outerHTML}),this.originalLabel&&(o.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(o.disabled=e),o},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e=this.element[0].name,n="input[name='"+t.ui.escapeSelector(e)+"']";return e?(this.form.length?t(this.form[0].elements).filter(n):t(n).filter(function(){return 0===t(this).form().length})).not(this.element):t([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=t(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){return"label"!==t||e?(this._super(t,e),"disabled"===t?(this._toggleClass(this.label,null,"ui-state-disabled",e),void(this.element[0].disabled=e)):void this.refresh()):void 0},_updateIcon:function(e){var n="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=t("<span>"),this.iconSpace=t("<span> </span>
4"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(n+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):n+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",n),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),this.iconSpace&&(t=t.not(this.iconSpace[0])),t.remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]),t.ui.checkboxradio,t.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,e=this._super()||{};return this.isInput=this.element.is("input"),null!=(t=this.element[0].disabled)&&(e.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(e.label=this.originalLabel),e},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===t.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,n){var s="iconPosition"!==e,o=s?this.options.iconPosition:n;this.icon?s&&this._removeClass(this.icon,null,this.options.icon):(this.icon=t("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),s&&this._addClass(this.icon,null,n),this._attachIcon(o),"top"===o||"bottom"===o?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconS
4pace||(this.iconSpace=t("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(o))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var e=void 0===t.showLabel?this.options.showLabel:t.showLabel,n=void 0===t.icon?this.options.icon:t.icon;e||n||(t.showLabel=!0),this._super(t)},_setOption:function(t,e){"icon"===t&&(e?this._updateIcon(t,e):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===t&&this._updateIcon(t,e),"showLabel"===t&&(this._toggleClass("ui-button-icon-only",null,!e),this._updateTooltip()),"label"===t&&(this.isInput?this.element.val(e):(this.element.html(e),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,e),"disabled"===t&&(this._toggleClass(null,"ui-state-disabled",e),this.element[0].disabled=e,e&&this.element.blur())},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOptions({disabled:t}),this._updateTooltip()}}),!1!==t.uiBackCompat&&(t.widget("ui.button",t.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),!this.options.icon&&(this.options.icons.primary||this.options.icons.secondary)?this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"):this.options.icon&&(this.options.icons.primary=this.options.icon),this._super()},_setOption:function(t,e){return"text"===t?void this._super("showLabel",e):("showLabel"===t&&(this.options.text=e),"icon"===t&&(this.options.icons.primary=e),"icons"===t&&(e.primary?(this._super("icon",e.primary),this._super("iconPosition","beginning")):e.secondary&&(this._super("icon",e.secondary),this._super("iconPosition","end"))),void this._superApply(arguments))}}),t.fn.button=(u=t.fn.button,function(){return!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?u.apply(this,arguments):(t.ui.checkboxradio||t.error("Checkboxradio widget missing"),0==arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}),t.fn.buttonset=function(){return t.ui.controlgroup||t.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),t.ui.button,t.extend(t.ui,{datepicker:{version:"1.12.1"}}),t.extend(e.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return o(this._defaults,t||{}),this},_attachDatepicker:function(e,n){var s,o,a;o="div"===(s=e.nodeName.toLowerCase())||"span"===s,e.id||(this.uuid+=1,e.id="dp"+this.uuid),(a=this._newInst(t(e),o)).settings=t.extend({},n||{}),"input"===s?this._connectDatepicker(e,a):o&&this._inlineDatepicker(e,a)},_newInst:function(e,s){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:s,dpDiv:s?n(t("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,n){var s=t(e);n.append=t([]),n.trigger=t([]),s.hasClass(this.markerClassName)||(this._attachments(s,n),s.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(n),t.data(e,"datepicker",n),n.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,n){var s,o,a,r=this._get(n,"appendText"),l=this._get(n,"isRTL");n.append&&n.append.remove(),r&&(n.append=t("<span class='"+this._appendClass+"'>"+r+"</span>"),e[l?"before":"after"](n.append)),e.off("focus",this._showDatepicker),n.trigger&&n.trigger.remove(),("focus"===(s=this._get(n,"showOn"))||"both"===s)&&e.on("focus",this._showDatepicker),("button"===s||"both"===s)&&(o=this._get(n,"buttonText"),a=this._get(n,"buttonImage"),n.trigger=t(this._get(n,"buttonImageOnly")?t("<img/>").addClass(this._triggerClass).attr({src:a,alt:o,title:o}):t("<button type='button'></button>").addClass(this._triggerClass).html(a?t("<img/>").attr({src:a,alt:o,title:o}):o)),e[l?"before":"after"](n.trigger),n.trigger.on("click",function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():(t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]&&t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,n,s,o,a=new Date(2009,11,20),r=this._get(t,"dateFormat");r.match(/[DM]/)&&(e=function(t){for(n=0,s=0,o=0;t.length>
vendor: 8,446 bytes, line 4
4o;o++)t[o].length>n&&(n=t[o].length,s=o);return s},a.setMonth(e(this._get(t,r.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(e(this._get(t,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),t.input.attr("size",this._formatDate(t,a).length)}},_inlineDatepicker:function(e,n){var s=t(e);s.hasClass(this.markerClassName)||(s.addClass(this.markerClassName).append(n.dpDiv),t.data(e,"datepicker",n),this._setDate(n,this._getDefaultDate(n),!0),this._updateDatepicker(n),this._updateAlternate(n),n.settings.disabled&&this._disableDatepicker(e),n.dpDiv.css("display","block"))},_dialogDatepicker:function(e,n,s,a,r){var l,c,h,u,d,p=this._dialogInst;return p||(this.uuid+=1,l="dp"+this.uuid,this._dialogInput=t("<input type='text' id='"+l+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),t("body").append(this._dialogInput),(p=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},t.data(this._dialogInput[0],"datepicker",p)),o(p.settings,a||{}),n=n&&n.constructor===Date?this._formatDate(p,n):n,this._dialogInput.val(n),this._pos=r?r.length?r:[r.pageX,r.pageY]:null,this._pos||(c=document.documentElement.clientWidth,h=document.documentElement.clientHeight,u=document.documentElement.scrollLeft||document.body.scrollLeft,d=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[c/2-100+u,h/2-150+d]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),p.settings.onSelect=s,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],"datepicker",p),this},_destroyDatepicker:function(e){var n,s=t(e),o=t.data(e,"datepicker");s.hasClass(this.markerClassName)&&(n=e.nodeName.toLowerCase(),t.removeData(e,"datepicker"),"input"===n?(o.append.remove(),o.trigger.remove(),s.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):("div"===n||"span"===n)&&s.removeClass(this.markerClassName).empty(),f===o&&(f=null))},_enableDatepicker:function(e){var n,s,o=t(e),a=t.data(e,"datepicker");o.hasClass(this.markerClassName)&&("input"===(n=e.nodeName.toLowerCase())?(e.disabled=!1,a.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):("div"===n||"span"===n)&&((s=o.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var n,s,o=t(e),a=t.data(e,"datepicker");o.hasClass(this.markerClassName)&&("input"===(n=e.nodeName.toLowerCase())?(e.disabled=!0,a.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):("div"===n||"span"===n)&&((s=o.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;this._disabledInputs.length>e;e++)if(this._disabledInputs[e]===t)return!0;return!1},_getInst:function(e){try{return t.data(e,"datepicker")}catch(t){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,n,s){var a,r,l,c,h=this._getInst(e);return 2==arguments.length&&"string"==typeof n?"defaults"===n?t.extend({},t.datepicker._defaults):h?"all"===n?t.extend({},h.settings):this._get(h,n):null:(a=n||{},"string"==typeof n&&((a={})[n]=s),void(h&&(this._curInst===h&&this._hideDatepicker(),r=this._getDateDatepicker(e,!0),l=this._getMinMaxDate(h,"min"),c=this._getMinMaxDate(h,"max"),o(h.settings,a),null!==l&&void 0!==a.dateFormat&&void 0===a.minDate&&(h.settings.minDate=this._formatDate(h,l)),null!==c&&void 0!==a.dateFormat&&void 0===a.maxDate&&(h.settings.maxDate=this._formatDate(h,c)),"disabled"in a&&(a.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(t(e),h),this._autoSize(h),this._setDate(h,r),this._updateAlternate(h),this._updateDatepicker(h))))},_changeDatepicker:function(t,e,n){this._optionDatepicker(t,e,n)},_refreshDatepicker:function(t){var e=this._getInst(t);e&&this._updateDatepicker(e)},_setDateDatepicker:function(t,e){var n=this._getInst(t);n&&(this._setDate(n,e),this._updateDatepicker(n),this._updateAlternate(n))},_getDateDatepicker:function(t,e){var n=this._getInst(t);return n&&!n.inline&&this._setDateFromField(n,e),n?this._getDate(n):null},_doKeyDown:function(e){var n,s,o,a=t.datepicker._getInst(e.target),r=!0,l=a.dpDiv.is(".ui-datepicker-rtl");if(a._keyEvent=!0,t.datepicker._datepickerShowing)switch(e.keyCode){case 9:t.datepicker._hideDatepicker(),r=!1;break;case 13:return(o=t("td."+t.datepicker._dayOverClass+":not(."+t.datepicker._currentClass+")",a.dpDiv))[0]&&t.datepicker._selectDay(e.target,a.selectedMonth,a.selectedYear,o[0]),(n=t.datepicker._get(a,"onSelect"))?(s=t.datepicker._formatDate(a),n.apply(a.input?a.input[0]:null,[s,a])):t.datepicker._hideDatepicker(),!1;case 27:t.datepicker._hideDatepicker();break;case 33:t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(a,"stepBigMonths"):-t.datepicker._get(a,"stepMonths"),"M");break;case 34:t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(a,"stepBigMonths"):+t.datepicker._get(a,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&t.datepicker._clearDate(e.target),r=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&t.datepicker._gotoToday(e.target),r=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,l?1:-1,"D"),r=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?-t.datepicker._get(a,"stepBigMonths"):-t.datepicker._get(a,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,-7,"D"),r=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,l?-1:1,"D"),r=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&t.datepicker._adjustDate(e.target,e.ctrlKey?+t.datepicker._get(a,"stepBigMonths"):+t.datepicker._get(a,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&t.datepicker._adjustDate(e.target,7,"D"),r=e.ctrlKey||e.metaKey;break;default:r=!1}else 36===e.keyCode&&e.ctrlKey?t.datepicker._showDatepicker(this):r=!1;r&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var n,s,o=t.datepicker._getInst(e.target);return t.datepicker._get(o,"constrainInput")?(n=t.datepicker._possibleChars(t.datepicker._get(o,"dateFormat")),s=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||" ">s||!n||n.indexOf(s)>-1):void 0},_doKeyUp:function(e){var n=t.datepicker._getInst(e.target);if(n.input.val()!==n.lastVal)try{t.datepicker.parseDate(t.datepicker._get(n,"dateFormat"),n.input?n.input.val():null,t.datepicker._getFormatConfig(n))&&(t.datepicker._setDateFromField(n),t.datepicker._updateAlternate(n),t.datepicker._updateDatepicker(n))}catch(t){}return!0},_showDatepicker:function(e){if("input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),!t.datepicker._isDisabledDatepicker(e)&&t.datepicker._lastInput!==e){var n,s,a,r,l,c,h;n=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==n&&(t.datepicker._curInst.dpDiv.stop(!0,!0),n&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),!1!==(a=(s=t.datepicker._get(n,"beforeShow"))?s.apply(e,[e,n]):{})&&(o(n.settings,a),n.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(n),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),r=!1,t(e).parents().each(function(){return!(r|="fixed"===t(this).css("position"))}),l={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,n.dpDiv.empty(),n.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(n),l=t.datepicker._checkOffset(n,l,r),n.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":r?"fixed":"absolute",display:"none",left:l.left+"px",to
4p:l.top+"px"}),n.inline||(c=t.datepicker._get(n,"showAnim"),h=t.datepicker._get(n,"duration"),n.dpDiv.css("z-index",function(t){for(var e,n;t.length&&t[0]!==document;){if(("absolute"===(e=t.css("position"))||"relative"===e||"fixed"===e)&&!isNaN(n=parseInt(t.css("zIndex"),10))&&0!==n)return n;t=t.parent()}return 0}(t(e))+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[c]?n.dpDiv.show(c,t.datepicker._get(n,"showOptions"),h):n.dpDiv[c||"show"](c?h:null),t.datepicker._shouldFocusInput(n)&&n.input.trigger("focus"),t.datepicker._curInst=n))}},_updateDatepicker:function(e){this.maxRows=4,f=e,e.dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var n,o=this._getNumberOfMonths(e),a=o[1],r=e.dpDiv.find("."+this._dayOverClass+" a");r.length>0&&s.apply(r.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),a>1&&e.dpDiv.addClass("ui-datepicker-multi-"+a).css("width",17*a+"em"),e.dpDiv[(1!==o[0]||1!==o[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(n=e.yearshtml,setTimeout(function(){n===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),n=e.yearshtml=null},0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,n,s){var o=e.dpDiv.outerWidth(),a=e.dpDiv.outerHeight(),r=e.input?e.input.outerWidth():0,l=e.input?e.input.outerHeight():0,c=document.documentElement.clientWidth+(s?0:t(document).scrollLeft()),h=document.documentElement.clientHeight+(s?0:t(document).scrollTop());return n.left-=this._get(e,"isRTL")?o-r:0,n.left-=s&&n.left===e.input.offset().left?t(document).scrollLeft():0,n.top-=s&&n.top===e.input.offset().top+l?t(document).scrollTop():0,n.left-=Math.min(n.left,n.left+o>c&&c>o?Math.abs(n.left+o-c):0),n.top-=Math.min(n.top,n.top+a>h&&h>a?Math.abs(a+l):0),n},_findPos:function(e){for(var n,s=this._getInst(e),o=this._get(s,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[o?"previousSibling":"nextSibling"];return[(n=t(e).offset()).left,n.top]},_hideDatepicker:function(e){var n,s,o,a,r=this._curInst;!r||e&&r!==t.data(e,"datepicker")||this._datepickerShowing&&(n=this._get(r,"showAnim"),s=this._get(r,"duration"),o=function(){t.datepicker._tidyDialog(r)},t.effects&&(t.effects.effect[n]||t.effects[n])?r.dpDiv.hide(n,t.datepicker._get(r,"showOptions"),s,o):r.dpDiv["slideDown"===n?"slideUp":"fadeIn"===n?"fadeOut":"hide"](n?s:null,o),n||o(),this._datepickerShowing=!1,(a=this._get(r,"onClose"))&&a.apply(r.input?r.input[0]:null,[r.input?r.input.val():"",r]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var n=t(e.target),s=t.datepicker._getInst(n[0]);(n[0].id!==t.datepicker._mainDivId&&0===n.parents("#"+t.datepicker._mainDivId).length&&!n.hasClass(t.datepicker.markerClassName)&&!n.closest("."+t.datepicker._triggerClass).length&&t.datepicker._datepickerShowing&&(!t.datepicker._inDialog||!t.blockUI)||n.hasClass(t.datepicker.markerClassName)&&t.datepicker._curInst!==s)&&t.datepicker._hideDatepicker()}},_adjustDate:function(e,n,s){var o=t(e),a=this._getInst(o[0]);this._isDisabledDatepicker(o[0])||(this._adjustInstDate(a,n+("M"===s?this._get(a,"showCurrentAtPos"):0),s),this._updateDatepicker(a))},_gotoToday:function(e){var n,s=t(e),o=this._getInst(s[0]);this._get(o,"gotoCurrent")&&o.currentDay?(o.selectedDay=o.currentDay,o.drawMonth=o.selectedMonth=o.currentMonth,o.drawYear=o.selectedYear=o.currentYear):(n=new Date,o.selectedDay=n.getDate(),o.drawMonth=o.selectedMonth=n.getMonth(),o.drawYear=o.selectedYear=n.getFullYear()),this._notifyChange(o),this._adjustDate(s)},_selectMonthYear:function(e,n,s){var o=t(e),a=this._getInst(o[0]);a["selected"+("M"===s?"Month":"Year")]=a["draw"+("M"===s?"Month":"Year")]=parseInt(n.options[n.selectedIndex].value,10),this._notifyChange(a),this._adjustDate(o)},_selectDay:function(e,n,s,o){var a,r=t(e);t(o).hasClass(this._unselectableClass)||this._isDisabledDatepicker(r[0])||((a=this._getInst(r[0])).selectedDay=a.currentDay=t("a",o).html(),a.selectedMonth=a.currentMonth=n,a.selectedYear=a.currentYear=s,this._selectDate(e,this._formatDate(a,a.currentDay,a.currentMonth,a.currentYear)))},_clearDate:function(e){var n=t(e);this._selectDate(n,"")},_selectDate:function(e,n){var s,o=t(e),a=this._getInst(o[0]);n=null!=n?n:this._formatDate(a),a.input&&a.input.val(n),this._updateAlternate(
4a),(s=this._get(a,"onSelect"))?s.apply(a.input?a.input[0]:null,[n,a]):a.input&&a.input.trigger("change"),a.inline?this._updateDatepicker(a):(this._hideDatepicker(),this._lastInput=a.input[0],"object"!=typeof a.input[0]&&a.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var n,s,o,a=this._get(e,"altField");a&&(n=this._get(e,"altFormat")||this._get(e,"dateFormat"),s=this._getDate(e),o=this.formatDate(n,s,this._getFormatConfig(e)),t(a).val(o))},noWeekends:function(t){var e=t.getDay();return[e>0&&6>e,""]},iso8601Week:function(t){var e,n=new Date(t.getTime());return n.setDate(n.getDate()+4-(n.getDay()||7)),e=n.getTime(),n.setMonth(0),n.setDate(1),Math.floor(Math.round((e-n)/864e5)/7)+1},parseDate:function(e,n,s){if(null==e||null==n)throw"Invalid arguments";if(""==(n="object"==typeof n?""+n:n+""))return null;var o,a,r,l,c=0,h=(s?s.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeof h?h:(new Date).getFullYear()%100+parseInt(h,10),d=(s?s.dayNamesShort:null)||this._defaults.dayNamesShort,p=(s?s.dayNames:null)||this._defaults.dayNames,f=(s?s.monthNamesShort:null)||this._defaults.monthNamesShort,m=(s?s.monthNames:null)||this._defaults.monthNames,g=-1,v=-1,b=-1,_=-1,y=!1,w=function(t){var n=e.length>o+1&&e.charAt(o+1)===t;return n&&o++,n},C=function(t){var e=w(t),s="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,o=RegExp("^\\d{"+("y"===t?s:1)+","+s+"}"),a=n.substring(c).match(o);if(!a)throw"Missing number at position "+c;return c+=a[0].length,parseInt(a[0],10)},x=function(e,s,o){var a=-1,r=t.map(w(e)?o:s,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(r,function(t,e){var s=e[1];return n.substr(c,s.length).toLowerCase()===s.toLowerCase()?(a=e[0],c+=s.length,!1):void 0}),-1!==a)return a+1;throw"Unknown name at position "+c},k=function(){if(n.charAt(c)!==e.charAt(o))throw"Unexpected literal at position "+c;c++};for(o=0;e.length>
4o;o++)if(y)"'"!==e.charAt(o)||w("'")?k():y=!1;else switch(e.charAt(o)){case"d":b=C("d");break;case"D":x("D",d,p);break;case"o":_=C("o");break;case"m":v=C("m");break;case"M":v=x("M",f,m);break;case"y":g=C("y");break;case"@":g=(l=new Date(C("@"))).getFullYear(),v=l.getMonth()+1,b=l.getDate();break;case"!":g=(l=new Date((C("!")-this._ticksTo1970)/1e4)).getFullYear(),v=l.getMonth()+1,b=l.getDate();break;case"'":w("'")?k():y=!0;break;default:k()}if(n.length>c&&(r=n.substr(c),!/^\s+/.test(r)))throw"Extra/unparsed characters found in date: "+r;if(-1===g?g=(new Date).getFullYear():100>g&&(g+=(new Date).getFullYear()-(new Date).getFullYear()%100+(u>=g?0:-100)),_>-1)for(v=1,b=_;!((a=this._getDaysInMonth(g,v-1))>=b);)v++,b-=a;if((l=this._daylightSavingAdjust(new Date(g,v-1,b))).getFullYear()!==g||l.getMonth()+1!==v||l.getDate()!==b)throw"Invalid date";return l},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:864e9*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925)),formatDate:function(t,e,n){if(!e)return"";var s,o=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,a=(n?n.dayNames:null)||this._defaults.dayNames,r=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,l=(n?n.monthNames:null)||this._defaults.monthNames,c=function(e){var n=t.length>s+1&&t.charAt(s+1)===e;return n&&s++,n},h=function(t,e,n){var s=""+e;if(c(t))for(;n>s.length;)s="0"+s;return s},u=function(t,e,n,s){return c(t)?s[e]:n[e]},d="",p=!1;if(e)for(s=0;t.length>s;s++)if(p)"'"!==t.charAt(s)||c("'")?d+=t.charAt(s):p=!1;else switch(t.charAt(s)){case"d":d+=h("d",e.getDate(),2);break;case"D":d+=u("D",e.getDay(),o,a);break;case"o":d+=h("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":d+=h("m",e.getMonth()+1,2);break;case"M":d+=u("M",e.getMonth(),r,l);break;case"y":d+=c("y")?e.getFullYear():(10>e.getFullYear()%100?"0":"")+e.getFullYear()%100;break;case"@":d+=e.getTime();break;case"!":d+=1e4*e.getTime()+this._ticksTo1970;break;case"'":c("'")?d+="'":p=!0;break;default:d+=t.charAt(s)}return d},_possibleChars:function(t){var e,n="",s=!1,o=function(n){var s=t.length>e+1&&t.charAt(e+1)===n;return s&&e++,s};for(e=0;t.length>e;e++)if(s)"'"!==t.charAt(e)||o("'")?n+=t.charAt(e):s=!1;else switch(t.charAt(e)){case"d":case"m":case"y":case"@":n+="0123456789";break;case"D":case"M":return null;case"'":o("'")?n+="'":s=!0;break;default:n+=t.charAt(e)}return n},_get:function(t,e){return void 0!==t.settings[e]?t.settings[e]:this._defaults[e]},_setDateFromField:function(t,e){if(t.input.val()!==t.lastVal){var n=this._get(t,"dateFormat"),s=t.lastVal=t.input?t.input.val():null,o=this._getDefaultDate(t),a=o,r=this._getFormatConfig(t);try{a=this.parseDate(n,s,r)||o}catch(t){s=e?"":s}t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),t.currentDay=s?a.getDate():0,t.currentMonth=s?a.getMonth():0,t.currentYear=s?a.getFullYear():0,this._adjustInstDate(t)}},_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,n,s){var o,a=null==n||""===n?s:"string"==typeof n?function(n){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),n,t.datepicker._getFormatConfig(e))}catch(t){}for(var s=(n.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,o=s.getFullYear(),a=s.getMonth(),r=s.getDate(),l=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,c=l.exec(n);c;){switch(c[2]||"d"){case"d":case"D":r+=parseInt(c[1],10);break;case"w":case"W":r+=7*parseInt(c[1],10);break;case"m":case"M":a+=parseInt(c[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a));break;case"y":case"Y":o+=parseInt(c[1],10),r=Math.min(r,t.datepicker._getDaysInMonth(o,a))}c=l.exec(n)}return new Date(o,a,r)}(n):"number"==typeof n?isNaN(n)?s:((o=new Date).setDate(o.getDate()+n),o):new Date(n.getTime());return(a=a&&"Invalid Date"==""+a?s:a)&&(a.setHours(0),a.setMinutes(0),a.setSeconds(0),a.setMilliseconds(0)),this._daylightSavingAdjust(a)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,n){var s=t.selectedMonth,o=t.selectedYear,a=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=a.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=a.getMonth(),t.drawYear=t.selectedYear=t.currentYear=a.getFullYear(),s===t.selectedMonth&&o===t.selectedYear||n||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(e?this._formatDate(t):"")},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(e){var n=this._get(e,"stepMonths"),s="#"+e.id.replace(/\\\\/g,"\\");
4e.dpDiv.find("[data-handler]").map(function(){t(this).on(this.getAttribute("data-event"),{prev:function(){t.datepicker._adjustDate(s,-n,"M")},next:function(){t.datepicker._adjustDate(s,+n,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(s)},selectDay:function(){return t.datepicker._selectDay(s,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(s,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(s,this,"Y"),!1}}[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,n,s,o,a,r,l,c,h,u,d,p,f,m,g,v,b,_,y,w,C,x,k,T,S,E,D,I,A,O,P,M,N,L,H,W,z,F,j,R=new Date,B=this._daylightSavingAdjust(new Date(R.getFullYear(),R.getMonth(),R.getDate())),q=this._get(t,"isRTL"),U=this._get(t,"showButtonPanel"),V=this._get(t,"hideIfNoPrevNext"),Y=this._get(t,"navigationAsDateFormat"),K=this._getNumberOfMonths(t),Q=this._get(t,"showCurrentAtPos"),G=this._get(t,"stepMonths"),X=1!==K[0]||1!==K[1],Z=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),J=this._getMinMaxDate(t,"min"),tt=this._getMinMaxDate(t,"max"),te=t.drawMonth-Q,ti=t.drawYear;if(0>te&&(te+=12,ti--),tt)for(e=this._daylightSavingAdjust(new Date(tt.getFullYear(),tt.getMonth()-K[0]*K[1]+1,tt.getDate())),e=J&&J>e?J:e;this._daylightSavingAdjust(new Date(ti,te,1))>e;)0>--te&&(te=11,ti--);for(t.drawMonth=te,t.drawYear=ti,n=this._get(t,"prevText"),n=Y?this.formatDate(n,this._daylightSavingAdjust(new Date(ti,te-G,1)),this._getFormatConfig(t)):n,s=this._canAdjustMonth(t,-1,ti,te)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(q?"e":"w")+"'>"+n+"</span></a>":V?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(q?"e":"w")+"'>"+n+"</span></a>",o=this._get(t,"nextText"),o=Y?this.formatDate(o,this._daylightSavingAdjust(new Date(ti,te+G,1)),this._getFormatConfig(t)):o,a=this._canAdjustMonth(t,1,ti,te)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+o+"'><span class='ui-icon ui-icon-circle-triangle-"+(q?"w":"e")+"'>"+o+"</span></a>":V?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+o+"'><span class='ui-icon ui-icon-circle-triangle-"+(q?"w":"e")+"'>"+o+"</span></a>",r=this._get(t,"currentText"),l=this._get(t,"gotoCurrent")&&t.currentDay?Z:B,r=Y?this.formatDate(r,l,this._getFormatConfig(t)):r,c=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",h=U?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(q?c:"")+(this._isInRange(t,l)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+r+"</button>":"")+(q?"":c)+"</div>":"",u=isNaN(u=parseInt(this._get(t,"firstDay"),10))?0:u,d=this._get(t,"showWeek"),p=this._get(t,"dayNames"),f=this._get(t,"dayNamesMin"),m=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),v=this._get(t,"beforeShowDay"),b=this._get(t,"showOtherMonths"),_=this._get(t,"selectOtherMonths"),y=this._getDefaultDate(t),w="",x=0;K[0]>x;x++){for(k="",this.maxRows=4,T=0;K[1]>T;T++){if(S=this._daylightSavingAdjust(new Date(ti,te,t.selectedDay)),E=" ui-corner-all",D="",X){if(D+="<div class='ui-datepicker-group",K[1]>1)switch(T){case 0:D+=" ui-datepicker-group-first",E=" ui-corner-"+(q?"right":"left");break;case K[1]-1:D+=" ui-datepicker-group-last",E=" ui-corner-"+(q?"left":"right");break;default:D+=" ui-datepicker-group-middle",E=""}D+="'>"}for(D+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+E+"'>"+(/all|left/.test(E)&&0===x?q?a:s:"")+(/all|right/.test(E)&&0===x?q?s:a:"")+this._generateMonthYearHeader(t,te,ti,J,tt,x>0||T>0,m,g)+"</div><table class='ui-datepicker-calendar'><thead><tr>",I=d?"<th class='ui-datepicker-week-col'>"+this._get(t,"weekHeader")+"</th>":"",C=0;7>C;C++)A=(C+u)%7,I+="<th scope='col'"+((C+u+6)%7>=5?" class='ui-datepicker-week-end'":"")+"><span title='"+p[A]+"'>"+f[A]+"</span></th>";for(D+=I+"</tr></thead><tbody>",O=this._getDaysInMonth(ti,te),ti===t.selectedYear&&te===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,O)),M=Math.ceil(((P=(this._getFirstDayOfMonth(ti,te)-u+7)%7)+O)/7),N=X&&this.maxRows>M?this.maxRows:M,this.maxRows=N,L=this._daylightSavingAdjust(new Date(ti,te,1-P)),H=0;N>H;H++){for(D+="<tr>",W=d?"<td class='ui-datepicker-week-col'>"+this._get(t,"calculateWeek")(L)+"</td>":"",C=0;7>C;C++)z=v?v.apply(t.input?t.input[0]:null,[L]):[!0,""],j=(F=L.getMonth()!==te)&&!_||!z[0]||J&&J>L||tt&&L>tt,W+="<td class='"+((C+u+6)%7>=5?" ui-datepicker-week-end":"")+(F?" ui-datepicker-other-month":"")+(L.getTime()===S.getTime()&&te===t.selectedMonth&&t._keyEvent||y.getTime()===L.getTime()&&y.getTime()===S.getTime()?" "+this._dayOverClass:"")+(j?" "+this._unselectableClass+" ui-state-disabled":"")+(F&&!b?"":" "+z[1]+(L.getTime()===Z.getTime()?" "+this._currentClass:"")+(L.getTime()===B.getTime()?" ui-datepicker-today":""))+"'"+((!F||b)&&z[2]?" title='"+z[2].replace(/'/g,"&#39;")+"'":"")+(j?"":" data-handler='selectDay' data-event='click' data-month='"+L.getMonth()+"' data-year='"+L.getFullYear()+"'")+">"+(F&&!b?"&#xa0;":j?"<span class='ui-state-default'>"+L.getDate()+"</span>":"<a class='ui-state-default"+(L.getTime()===B.getTime()?" ui-state-highlight":"")+(L.getTime()===Z.getTime()?" ui-state-active":"")+(F?" ui-priority-secondary":"")+"' href='#'>"+L.getDate()+"</a>")+"</td>",L.setDate(L.getDate()+1),L=this._daylightSavingAdjust(L);D+=W+"</tr>"}++te>11&&(te=0,ti++),D+="</tbody></table>"+(X?"</div>"+(K[0]>0&&T===K[1]-1?"<div class='ui-datepicker-row-break'></div>":""):""),k+=D}w+=k}return w+=h,t._keyEvent=!1,w},_generateMonthYearHeader:function(t,e,n,s,o,a,r,l){var c,h,u,d,p,f,m,g,v=this._get(t,"changeMonth"),b=this._get(t,"changeYear"),_=this._get(t,"showMonthAfterYear"),y="<div class='ui-datepicker-title'>",w="";if(a||!v)w+="<span class='ui-datepicker-month'>"+r[e]+"</span>";else{for(c=s&&s.getFullYear()===n,h=o&&o.getFullYear()===n,w+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",u=0;12>u;u++)(!c||u>
vendor: 9,857 bytes, line 4
4=s.getMonth())&&(!h||o.getMonth()>=u)&&(w+="<option value='"+u+"'"+(u===e?" selected='selected'":"")+">"+l[u]+"</option>");w+="</select>"}if(_||(y+=w+(!a&&v&&b?"":"&#xa0;")),!t.yearshtml){if(t.yearshtml="",a||!b)y+="<span class='ui-datepicker-year'>"+n+"</span>";else{for(d=this._get(t,"yearRange").split(":"),p=(new Date).getFullYear(),g=Math.max(m=(f=function(t){var e=t.match(/c[+\-].*/)?n+parseInt(t.substring(1),10):t.match(/[+\-].*/)?p+parseInt(t,10):parseInt(t,10);return isNaN(e)?p:e})(d[0]),f(d[1]||"")),m=s?Math.max(m,s.getFullYear()):m,g=o?Math.min(g,o.getFullYear()):g,t.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";g>=m;m++)t.yearshtml+="<option value='"+m+"'"+(m===n?" selected='selected'":"")+">"+m+"</option>";t.yearshtml+="</select>",y+=t.yearshtml,t.yearshtml=null}}return y+=this._get(t,"yearSuffix"),_&&(y+=(!a&&v&&b?"":"&#xa0;")+w),y+="</div>"},_adjustInstDate:function(t,e,n){var s=t.selectedYear+("Y"===n?e:0),o=t.selectedMonth+("M"===n?e:0),a=Math.min(t.selectedDay,this._getDaysInMonth(s,o))+("D"===n?e:0),r=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,o,a)));t.selectedDay=r.getDate(),t.drawMonth=t.selectedMonth=r.getMonth(),t.drawYear=t.selectedYear=r.getFullYear(),("M"===n||"Y"===n)&&this._notifyChange(t)},_restrictMinMax:function(t,e){var n=this._getMinMaxDate(t,"min"),s=this._getMinMaxDate(t,"max"),o=n&&n>e?n:e;return s&&o>s?s:o},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,n,s){var o=this._getNumberOfMonths(t),a=this._daylightSavingAdjust(new Date(n,s+(0>e?e:o[0]*o[1]),1));return 0>e&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._isInRange(t,a)},_isInRange:function(t,e){var n,s,o=this._getMinMaxDate(t,"min"),a=this._getMinMaxDate(t,"max"),r=null,l=null,c=this._get(t,"yearRange");return c&&(n=c.split(":"),s=(new Date).getFullYear(),r=parseInt(n[0],10),l=parseInt(n[1],10),n[0].match(/[+\-].*/)&&(r+=s),n[1].match(/[+\-].*/)&&(l+=s)),(!o||e.getTime()>=o.getTime())&&(!a||e.getTime()<=a.getTime())&&(!r||e.getFullYear()>=r)&&(!l||l>=e.getFullYear())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,n,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var o=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,n,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),o,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).on("mousedown",t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var n=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2==arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(n)):this.each(function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(n)):t.datepicker._attachDatepicker(this,e)}):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(n))},t.datepicker=new e,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.12.1",t.datepicker,t.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var n=t(this).css(e).offset().top;0>n&&t(this).css("top",e.top-n)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&t.fn.draggable&&this._makeDraggable(),this.options.resizable&&t.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?t(e):this.document.find(e||"body").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:t.noop,enable:t.noop,close:function(e){var n=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||t.ui.safeBlur(t.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){n._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,n){var s=!1,o=this.uiDialog.siblings(".ui-front:visible").map(function(){return+t(this).css("z-index")}).get(),a=Math.max.apply(null,o);return a>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",a+1),s=!0),s&&!n&&this._trigger("focus",e),s},open:function(){var e=this;return this._isOpen?void(this._moveToTop()&&this._focusTabbable()):(this._isOpen=!0,this.opener=t(t.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),void this._trigger("open"))},_focusTabbable:function(){var t=this._focusedElement;t||(t=this.element.find("[autofocus]")),t.length||(t=this.element.find(":tabbable")),t.length||(t=this.uiDialogButtonPane.find(":tabbable")),t.length||(t=this.uiDialogTitlebarClose.filter(":tabbable")),t.length||(t=this.uiDialog),t.eq(0).trigger("focus")},_keepFocus:function(e){function n(){var e=t.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===e||t.contains(this.uiDialog[0],e)||this._focusTabbable()}e.preventDefault(),n.call(this),this._delay(n)},_createWrapper:function(){this.uiDialog=t("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===t.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===t.ui.keyCode.TAB&&!e.isDefaultPrevented()){var n=this.uiDialog.find(":tabbable"),s=n.filter(":first"),o=n.filter(":last");e.target!==o[0]&&e.target!==this.uiDialog[0]||e.shiftKey?(e.target===s[0]||e.target===this.uiDialog[0])&&e.shiftKey&&(this._delay(function(){o.trigger("focus")}),e.preventDefault()):(this._delay(function(){s.trigger("focus")}),e.preventDefault())}},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=t("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){t(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=t("<button type='button'></button>").button({label:t("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),e=t("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prepe
vendor: 18,322 bytes, line 4
4ndTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(t){this.options.title?t.text(this.options.title):t.html("&#160;")},_createButtonPane:function(){this.uiDialogButtonPane=t("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=t("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var e=this,n=this.options.buttons;return this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),t.isEmptyObject(n)||t.isArray(n)&&!n.length?void this._removeClass(this.uiDialog,"ui-dialog-buttons"):(t.each(n,function(n,s){var o,a;s=t.isFunction(s)?{click:s,text:n}:s,o=(s=t.extend({type:"button"},s)).click,a={icon:s.icon,iconPosition:s.iconPosition,showLabel:s.showLabel,icons:s.icons,text:s.text},delete s.click,delete s.icon,delete s.iconPosition,delete s.showLabel,delete s.icons,"boolean"==typeof s.text&&delete s.text,t("<button></button>",s).button(a).appendTo(e.uiButtonSet).on("click",function(){o.apply(e.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),void this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){function e(t){return{position:t.position,offset:t.offset}}var n=this,s=this.options;this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(s,o){n._addClass(t(this),"ui-dialog-dragging"),n._blockFrames(),n._trigger("dragStart",s,e(o))},drag:function(t,s){n._trigger("drag",t,e(s))},stop:function(o,a){var r=a.offset.left-n.document.scrollLeft(),l=a.offset.top-n.document.scrollTop();s.position={my:"left top",at:"left"+(r>=0?"+":"")+r+" top"+(l>=0?"+":"")+l,of:n.window},n._removeClass(t(this),"ui-dialog-dragging"),n._unblockFrames(),n._trigger("dragStop",o,e(a))}})},_makeResizable:function(){function e(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}var n=this,s=this.options,o=s.resizable,a=this.uiDialog.css("position");this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:"string"==typeof o?o:"n,e,s,w,se,sw,ne,nw",start:function(s,o){n._addClass(t(this),"ui-dialog-resizing"),n._blockFrames(),n._trigger("resizeStart",s,e(o))},resize:function(t,s){n._trigger("resize",t,e(s))},stop:function(o,a){var r=n.uiDialog.offset(),l=r.left-n.document.scrollLeft(),c=r.top-n.document.scrollTop();s.height=n.uiDialog.height(),s.width=n.uiDialog.width(),s.position={my:"left top",at:"left"+(l>=0?"+":"")+l+" top"+(c>=0?"+":"")+c,of:n.window},n._removeClass(t(this),"ui-dialog-resizing"),n._unblockFrames(),n._trigger("resizeStop",o,e(a))}}).css("position",a)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=t(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),n=t.inArray(this,e);-1!==n&&e.splice(n,1)},_trackingInstances:function(){var t=this.document.data("ui-dialog-instances");return t||(t=[],this.document.data("ui-dialog-instances",t)),t},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(":visible");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(e){var n=this,s=!1,o={};t.each(e,function(t,e){n._setOption(t,e),t in n.sizeRelatedOptions&&(s=!0),t in n.resizableRelatedOptions&&(o[t]=e)}),s&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",o)},_setOption:function(e,n){var s,o,a=this.uiDialog;"disabled"!==e&&(this._super(e,n),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:t("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&((s=a.is(":data(ui-draggable)"))&&!n&&a.draggable("destroy"),!s&&n&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&((o=a.is(":data(ui-resizable)"))&&!n&&a.resizable("destroy"),o&&"string"==typeof n&&a.resizable("option","handles",n),o||!1===n||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var t,e,n,s=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),n="number"==typeof s.maxHeight?Math.max(0,s.maxHeight-t):"none","auto"===s.height?this.element.css({minHeight:e,maxHeight:n,height:"auto"}):this.element.height(Math.max(0,s.height-t)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=t(this);return t("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!t(e.target).closest(".ui-dialog").length||!!t(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var e=!0;this._delay(function(){e=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(t){e||this._allowInteraction(t)||(t.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=t("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var t=this.document.data("ui-dialog-overlays")-1;t?this.document.data("ui-dialog-overlays",t):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),!1!==t.uiBackCompat&&t.widget("ui.dialog",t.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){"dialogClass"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}}),t.ui.dialog,t.widget("ui.progressbar",{version:"1.12.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=t("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(t){return void 0===t?this.options.value:(this.options.value=this._constrainedValue(t),void this._refreshValue())},_constrainedValue:function(t){return void 0===t&&(t=this.options.value),this.indeterminate=!1===t,"number"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){"max"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr("aria-disabled",t),this._toggleClass(null,"ui-state-disabled",!!t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,n=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(n.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=t("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),t.widget("ui.selectmenu",[t.ui.formResetMixin,{version:"1.12.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=t()},_drawButton:function(){var e,n=this,s=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(t){this.button.focus(),t.preventDefault()}}),this.element.hide(),this.button=t("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),e=t("<span>").appendTo(this.button),this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(s).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){n._rendered||n._refreshMenu()})},_drawMenu:function(){var e=this;this.menu=t("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=t("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(t,n){t.preventDefault(),e._setSelection(),e._select(n.item.data("ui-selectmenu-item"),t)},focus:function(t,n){var s=n.item.data("ui-selectmenu-item");null!=e.focusIndex&&s.index!==e.focusIndex&&(e._trigger("focus",t,{item:s}),e.isOpen||e._select(s,t)),e.focusIndex=s.index,e.button.attr("aria-activedescendant",e.menuItems.eq(s.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var t,e=this.element.find("option");this.menu.empty(),this._parseOptions(e),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,e.length&&(t=this._getSelectedItem(),this.menuInstance.focus(null,t),this._setAria(t.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(t){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",t)))},_position:function(){this.menuWrap.position(t.extend({of:this.button},this.options.position))},close:function(t){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",t))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(e){var n=t("<span>");return this._setText(n,e.label),this._addClass(n,"ui-selectmenu-text"),n},_renderMenu:function(e,n){var s=this,o="";t.each(n,function(n,a){var r;a.optgroup!==o&&(r=t("<li>",{text:a.optgroup}),s._addClass(r,"ui-selectmenu-optgroup","ui-menu-divider"+(a.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),r.appendTo(e),o=a.optgroup),s._renderItemData(e,a)})},_renderItemData:function(t,e){return this._renderItem(t,e).data("ui-selectmenu-item",e)},_renderItem:function(e,n){var s=t("<li>"),o=t("<div>",{title:n.element.attr("title")});return n.disabled&&this._addClass(s,null,"ui-state-disabled"),this._setText(o,n.label),s.append(o).appendTo(e)},_setText:function(t,e){e?t.text(e):t.html("&#160;")},_move:function(t,e){var n,s,o=".ui-menu-item";this.isOpen?n=this.menuItems.eq(this.focusIndex).parent("li"):(n=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),o+=":not(.ui-state-disabled)"),(s="first"===t||"last"===t?n["first"===t?"prevAll":"nextAll"](o).eq(-1):n[t+"All"](o).eq(0)).length&&this.menuInstance.focus(e,s)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(t){this[this.isOpen?"close":"open"](t)},_setSelection:function(){var t;this.range&&(window.getSelection?((t=window.getSelection()).removeAllRanges(),t.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(e){this.isOpen&&(t(e.target).closest(".ui-selectmenu-menu, #"+t.ui.escapeSelector(this.ids.button)).length||this.close(e))}},_buttonEvents:{mousedown:function(){var t;window.getSelection?(t=window.getSelection()).rangeCount&&(this.range=t.getRangeAt(0)):this.range=document.selection.createRange()},click:function(t){this._setSelection(),this._toggle(t)},keydown:function(e){var n=!0;switch(e.keyCode){case t.ui.keyCode.TAB:case t.ui.keyCode.ESCAPE:this.close(e),n=!1;break;case t.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case t.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case t.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case t.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case t.ui.keyCode.LEFT:this._move("prev",e);break;case t.ui.keyCode.RIGHT:this._move("next",e);break;case t.ui.keyCode.HOME:case t.ui.keyCode.PAGE_UP:this._move("first",e);break;case t.ui.keyCode.END:case t.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),n=!1}n&&e.preventDefault()}},_selectFocusedItem:function(t){var e=this.menuItems.eq(this.focusIndex).parent("li");e.hasClass("ui-state-disabled")||this._select(e.data("ui-selectmenu-item"),t)},_select:function(t,e){var n=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t)),this._setAria(t),this._trigger("select",e,{item:t}),t.index!==n&&this._trigger("change",e,{item:t}),this.close(e)},_setAria:function(t){var e=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setOption:function(t,e){if("icons"===t){var n=this.button.find("span.ui-icon");this._removeClass(n,null,this.options.icons.button)._addClass(n,null,e.button)}this._super(t,e),"appendTo"===t&&this.menuWrap.appendTo(this._appendTo()),"width"===t&&this._resizeButton()},_setOptionDisabled:function(t){this._super(t),this.menuInstance.option("disabled",t),this.button.attr("aria-disabled",t),this._toggleClass(this.button,null,"ui-state-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var t=this.options.width;return!1===t?void this.button.css("width",""):(null===t&&(t=this.element.show().outerWidth(),this.element.hide()),void this.button.outerWidth(t))},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseOptions:function(e){var n=this,s=[];e.each(function(e,o){s.push(n._parseOption(t(o),e))}),this.items=s},_parseOption:function(t,e){var n=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),optgroup:n.attr("label")||"",disabled:n.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),t.widget("ui.slider",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null}
vendor: 4,353 bytes, line 4
4,numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,n,s=this.options,o=this.element.find(".ui-slider-handle"),a=[];for(n=s.values&&s.values.length||1,o.length>n&&(o.slice(n).remove(),o=o.slice(0,n)),e=o.length;n>e;e++)a.push("<span tabindex='0'></span>");this.handles=o.add(t(a.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=t("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),("min"===e.range||"max"===e.range)&&this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var n,s,o,a,r,l,c,h=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),n={x:e.pageX,y:e.pageY},s=this._normValueFromMouse(n),o=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var n=Math.abs(s-h.values(e));(o>n||o===n&&(e===h._lastChangedValue||h.values(e)===u.min))&&(o=n,a=t(this),r=e)}),!1!==this._start(e,r)&&(this._mouseSliding=!0,this._handleIndex=r,this._addClass(a,null,"ui-state-active"),a.trigger("focus"),l=a.offset(),c=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=c?{left:0,top:0}:{left:e.pageX-l.left-a.width()/2,top:e.pageY-l.top-a.height()/2-(parseInt(a.css("borderTopWidth"),10)||0)-(parseInt(a.css("borderBottomWidth"),10)||0)+(parseInt(a.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,r,s),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},n=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,n),!1},_mouseStop:function(t){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,n,s,o,a;return"horizontal"===this.orientation?(e=this.elementSize.width,n=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,n=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(s=n/e)>1&&(s=1),0>s&&(s=0),"vertical"===this.orientation&&(s=1-s),o=this._valueMax()-this._valueMin(),a=this._valueMin()+s*o,this._trimAlignValue(a)},_uiHash:function(t,e,n){var s={handle:this.handles[t],handleIndex:t,value:void 0!==e?e:this.value()};return this._hasMultipleValues()&&(s.value=void 0!==e?e:this.values(t),s.values=n||this.values()),s},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,n){var s,o=this.value(),a=this.values();this._hasMultipleValues()&&(s=this.values(e?0:1),o=this.values(e),2===this.options.values.length&&!0===this.options.range&&(n=0===e?Math.min(s,n):Math.max(s,n)),a[e]=n),n!==o&&!1!==this._trigger("slide",t,this._uiHash(e,n,a))&&(this._hasMultipleValues()?this.values(e,n
vendor: 4,195 bytes, line 4
4):this.value(n))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,n){var s,o,a;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(n),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this._hasMultipleValues()?this._values(e):this.value();for(s=this.options.values,o=arguments[0],a=0;s.length>a;a+=1)s[a]=this._trimAlignValue(o[a]),this._change(null,a);this._refreshValue()},_setOption:function(e,n){var s,o=0;switch("range"===e&&!0===this.options.range&&("min"===n?(this.options.value=this._values(0),this.options.values=null):"max"===n&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),t.isArray(this.options.values)&&(o=this.options.values.length),this._super(e,n),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(n),this.handles.css("horizontal"===n?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),s=o-1;s>=0;s--)this._change(null,s);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return this._trimAlignValue(t)},_values:function(t){var e,n,s;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this._hasMultipleValues()){for(n=this.options.values.slice(),s=0;n.length>s;s+=1)n[s]=this._trimAlignValue(n[s]);return n}return[]},_trimAlignValue:function(t){if(this._valueMin()>=t)return this._valueMin();if(t>=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,n=(t-this._valueMin())%e,s=t-n;return 2*Math.abs(n)>=e&&(s+=n>0?e:-e),parseFloat(s.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),n=this.options.step;(t=Math.round((t-e)/n)*n+e)>this.options.max&&(t-=n),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,n=e.indexOf(".");return -1===n?0:e.length-n-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var e,n,s,o,a,r=this.options.range,l=this.options,c=this,h=!this._animateOff&&l.animate,u={};this._hasMultipleValues()?this.handles.each(function(s){n=100*((c.values(s)-c._valueMin())/(c._valueMax()-c._valueMin())),u["horizontal"===c.orientation?"left":"bottom"]=n+"%",t(this).stop(1,1)[h?"animate":"css"](u,l.animate),!0===c.options.range&&("horizontal"===c.orientation?(0===s&&c.range.stop(1,1)[h?"animate":"css"]({left:n+"%"},l.animate),1===s&&c.range[h?"animate":"css"]({width:n-e+"%"},{queue:!1,duration:l.animate})):(0===s&&c.range.stop(1,1)[h?"animate":"css"]({bottom:n+"%"},l.animate),1===s&&c.range[h?"animate":"css"]({height:n-e+"%"},{queue:!1,duration:l.animate}))),e=n}):(s=this.value(),o=this._valueMin(),n=(a=this._valueMax())!==o?100*((s-o)/(a-o)):0,u["horizontal"===this.orientation?"left":"bottom"]=n+"%",this.handle.stop(1,1)[h?"animate":"css"](u,l.animate),"min"===r&&"horizontal"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({width:n+"%"},l.animate),"max"===r&&"horizontal"===this.orientation&&this.range.stop(1,
vendor: 2,442 bytes, line 4
41)[h?"animate":"css"]({width:100-n+"%"},l.animate),"min"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({height:n+"%"},l.animate),"max"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({height:100-n+"%"},l.animate))},_handleEvents:{keydown:function(e){var n,s,o,a=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(t(e.target),null,"ui-state-active"),!1===this._start(e,a)))return}switch(o=this.options.step,n=s=this._hasMultipleValues()?this.values(a):this.value(),e.keyCode){case t.ui.keyCode.HOME:s=this._valueMin();break;case t.ui.keyCode.END:s=this._valueMax();break;case t.ui.keyCode.PAGE_UP:s=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.PAGE_DOWN:s=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;s=this._trimAlignValue(n+o);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;s=this._trimAlignValue(n-o)}this._slide(e,a,s)},keyup:function(e){var n=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,n),this._change(e,n),this._removeClass(t(e.target),null,"ui-state-active"))}}}),t.widget("ui.spinner",{version:"1.12.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e=this._super(),n=this.element;return t.each(["min","max","step"],function(t,s){var o=n.attr(s);null!=o&&o.length&&(e[s]=o)}),e}
4,_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){return this.cancelBlur?void delete this.cancelBlur:(this._stop(),this._refresh(),void(this.previous!==this.element.val()&&this._trigger("change",t)))},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((e>0?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(e){var n;function s(){this.element[0]===t.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=n,this._delay(function(){this.previous=n}))}n=this.element[0]===t.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),e.preventDefault(),s.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,s.call(this)}),!1!==this._start(e)&&this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){return t(e.currentTarget).hasClass("ui-state-active")?!1!==this._start(e)&&void this._repeat(null,t(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e):void 0},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&this.uiSpinner.height()>0&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var n=this.options,s=t.ui.keyCode;switch(e.keyCode){case s.UP:return this._repeat(null,1,e),!0;case s.DOWN:return this._repeat(null,-1,e),!0;case s.PAGE_UP:return this._repeat(null,n.page,e),!0;case s.PAGE_DOWN:return this._repeat(null,-n.page,e),!0}return!1},_start:function(t){return(!!this.spinning||!1!==this._trigger("start",t))&&(this.counter||(this.counter=1),this.spinning=!0,!0)},_repeat:function(t,e,n){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,e,n)},t),this._spin(e*this.options.step,n)},_spin:function(t,e){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",e,{value:n})||(this._value(n),this.counter++)},_increment:function(e){var n=this.options.incremental;return n?t.isFunction(n)?n(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,n=e.indexOf(".");return -1===n?0:e.length-n-1},_adjustValue:function(t){var e,n,s=this.options;return n=Math.round((n=t-(e=null!==s.min?s.min:0))/s.step)*s.step,t=parseFloat((t=e+n).toFixed(this._precision())),null!==s.max&&t>s.max?s.max:null!==s.min&&s.min>t?s.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,e){var n,s,o;return"culture"===t||"numberFormat"===t?(n=this._parse(this.element.val()),this.options[t]=e,void this.element.val(this._format(n))):(("max"===t||"min"===t||"step"===t)&&"string"==typeof e&&(e=this._parse(e)),"icons"===t&&(s=this.buttons.first().find(".ui-icon"),this._removeClass(s,null,this.options.icons.up),this._addClass(s,null,e.up),o=this.buttons.last().find(".ui-icon"),this._removeClass(o,null,this.options.icons.down),this._addClass(o,null,e.down)),void this._super(t,e))},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:a(function(t){this._super(t)}),_parse:function(t){return"string"==typeof t&&""!==t&&(t=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t),""===t||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return null!==t&&t===this._adjustValue(t)},_value:function(t,e){var n;""!==t&&null!==(n=this._parse(t))&&(e||(n=this._adjustValue(n)),t=this._format(n)),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:a(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:a(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin(-((t||1)*this.options.step)),this._stop())},pageUp:a(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:a(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?void a(this._value).call(this,t):this._parse(this.element.val())},widget:function(){return this.uiSpinner}}
vendor: 14,257 bytes, line 4
4),!1!==t.uiBackCompat&&t.widget("ui.spinner",t.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}}),t.ui.spinner,t.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(d=/#.*$/,function(t){var e,n;e=t.href.replace(d,""),n=location.href.replace(d,"");try{e=decodeURIComponent(e)}catch(t){}try{n=decodeURIComponent(n)}catch(t){}return t.hash.length>1&&e===n}),_create:function(){var e=this,n=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,n.collapsible),this._processTabs(),n.active=this._initialActive(),t.isArray(n.disabled)&&(n.disabled=t.unique(n.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.active=!1!==this.options.active&&this.anchors.length?this._findActive(n.active):t(),this._refresh(),this.active.length&&this.load(n.active)},_initialActive:function(){var e=this.options.active,n=this.options.collapsible,s=location.hash.substring(1);return null===e&&(s&&this.tabs.each(function(n,o){return t(o).attr("aria-controls")===s?(e=n,!1):void 0}),null===e&&(e=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===e||-1===e)&&(e=!!this.tabs.length&&0)),!1!==e&&-1===(e=this.tabs.index(this.tabs.eq(e)))&&(e=!n&&0),!n&&!1===e&&this.anchors.length&&(e=0),e},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(e){var n=t(t.ui.safeActiveElement(this.document[0])).closest("li"),s=this.tabs.index(n),o=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:s++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:o=!1,s--;break;case t.ui.keyCode.END:s=this.anchors.length-1;break;case t.ui.keyCode.HOME:s=0;break;case t.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(s);case t.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(s!==this.options.active&&s);default:return}e.preventDefault(),clearTimeout(this.activating),s=this._focusNextTab(s,o),e.ctrlKey||e.metaKey||(n.attr("aria-selected","false"),this.tabs.eq(s).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",s)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,n){for(var s=this.tabs.length-1;-1!==t.inArray((e>s&&(e=0),0>e&&(e=s),e),this.options.disabled);)e=n?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){return"active"===t?void this._activate(e):(this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||!1!==this.options.active||this._activate(0)),"event"===t&&this._setupEvents(e),void("heightStyle"===t&&this._setupHeightStyle(e)))},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,n=this.tablist.children(":has(a[href])");e.disabled=t.map(n.filter(".ui-state-disabled"),function(t){return n.index(t)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!t.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=t()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=t()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var e=this,n=this.tabs,s=this.anchors,o=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){t(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){t(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return t("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=t(),this.anchors.each(function(n,s){var o,a,r,l=t(s).uniqueId().attr("id"),c=t(s).closest("li"),h=c.attr("aria-controls");e._isLocal(s)?(r=(o=s.hash).substring(1),a=e.element.find(e._sanitizeSelector(o))):(o="#"+(r=c.attr("aria-controls")||t({}).uniqueId()[0].id),(a=e.element.find(o)).length||(a=e._createPanel(r)).insertAfter(e.panels[n-1]||e.tablist),a.attr("aria-live","polite")),a.length&&(e.panels=e.panels.add(a)),h&&c.data("ui-tabs-aria-controls",h),c.attr({"aria-controls":r,"aria-labelledby":l}),a.attr("aria-labelledby",l)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),n&&(this._off(n.not(this.tabs)),this._off(s.not(this.anchors)),this._off(o.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return t("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var n,s,o;for(t.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),o=0;s=this.tabs[o];o++)n=t(s),!0===e||-1!==t.inArray(o,e)?(n.attr("aria-disabled","true"),this._addClass(n,null,"ui-state-disabled")):(n.removeAttr("aria-disabled"),this._removeClass(n,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var n={};e&&t.each(e.split(" "),function(t,e){n[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var n,s=this.element.parent();"fill"===e?(n=s.height()-(this.element.outerHeight()-this.element.height()),this.element.siblings(":visible").each(function(){var e=t(this),s=e.css("position");"absolute"!==s&&"fixed"!==s&&(n-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){n-=t(this).outerHeight(!0)}),this.panels.each(function(){t(this).height(Math.max(0,n-t(this).innerHeight()+t(this).height()))}).css("overflow","auto")):"auto"===e&&(n=0,this.panels.each(function(){n=Math.max(n,t(this).height("").height())}).height(n))},_eventHandler:function(e){var n=this.options,s=this.active,o=t(e.currentTarget).closest("li"),a=o[0]===s[0],r=a&&n.collapsible,l=r?t():this._getPanelForTab(o),c=s.length?this._getPanelForTab(s):t(),h={oldTab:s,oldPanel:c,newTab:r?t():o,newPanel:l};e.preventDefault(),o.hasClass("ui-state-disabled")||o.hasClass("ui-tabs-loading")||this.running||a&&!n.collapsible||!1===this._trigger("beforeActivate",e,h)||(n.active=!r&&this.tabs.index(o),this.active=a?t():o,this.xhr&&this.xhr.abort(),c.length||l.length||t.error("jQuery UI Tabs: Mismatching fragment identifier."),l.length&&this.load(this.tabs.index(o),e),this._toggle(e,h))},_toggle:function(e,n){function s(){a.running=!1,a._trigger("activate",e,n)}function o(){a._addClass(n.newTab.closest("li"),"ui-tabs-active","ui-state-active"),r.length&&a.options.show?a._show(r,a.options.show,s):(r.show(),s())}var a=this,r=n.newPanel,l=n.oldPanel;this.running=!0,l.length&&this.options.hide?this._hide(l,this.options.hide,function(){a._removeClass(n.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o()}):(this._removeClass(n.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),l.hide(),o()),l.attr("aria-hidden","true"),n.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),r.length&&l.length?n.oldTab.attr("tabIndex",-1):r.length&&this.tabs.filter(function(){return 0===t(this).attr("tabIndex")}).attr("tabIndex",-1),r.attr("aria-hidden","false"),n.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var n,s=this._findActive(e);s[0]!==this.active[0]&&(s.length||(s=this.active),n=s.find(".ui-tabs-anchor")[0],this._eventHandler({target:n,currentTarget:n,preventDefault:t.noop}))},_findActive:function(e){return!1===e?t():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+t.ui.escapeSelector(e)+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){t.data(this,"ui-tabs-destroy")?t(this).remove():t(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=t(this),n=e.data("ui-tabs-aria-controls");n?e.attr("aria-controls",n).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(e){var n=this.options.disabled;!1!==n&&(void 0===e?n=!1:(e=this._getIndex(e),n=t.isArray(n)?t.map(n,function(t){return t!==e?t:null}):t.map(this.tabs,function(t,n){return n!==e?n:null})),this._setOptionDisabled(n))},disable:function(e){var n=this.options.disabled;if(!0!==n){if(void 0===e)n=!0;else{if(e=this._getIndex(e),-1!==t.inArray(e,n))return;n=t.isArray(n)?t.merge([e],n).sort():[e]}this._setOptionDisabled(n)}},load:function(e,n){e=this._getIndex(e);var s=this,o=this.tabs.eq(e),a=o.find(".ui-tabs-anchor"),r=this._getPanelForTab(o),l={tab:o,panel:r},c=function(t,e){"abort"===e&&s.panels.stop(!1,!0),s._removeClass(o,"ui-tabs-loading"),r.removeAttr("aria-busy"),t===s.xhr&&delete s.xhr};this._isLocal(a[0])||(this.xhr=t.ajax(this._ajaxSettings(a,n,l)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(o,"ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.done(function(t,e,o){setTimeout(function(){r.html(t),s._trigger("load",n,l),c(o,e)},1)}).fail(function(t,e){setTimeout(function(){c(t,e)},1)})))},_ajaxSettings:function(e,n,s){var o=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,a){return o._trigger("beforeLoad",n,t.extend({jqXHR:e,ajaxSettings:a},s))}}},_getPanelForTab:function(e){var n=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+n))}}),!1!==t.uiBackCompat&&t.widget("ui.tabs",t.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),t.ui.tabs,t.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=t(this).attr("title")||"";return t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,n){var s=(e.attr("aria-describedby")||"").split(/\s+/);s.push(n),e.data("ui-tooltip-id",n).attr("aria-describedby",t.trim(s.join(" ")))},_removeDescribedBy:function(e){var n=e.data("ui-tooltip-id"),s=(e.attr("aria-describedby")||"").split(/\s+/),o=t.inArray(n,s);-1!==o&&s.splice(o,1),e.removeData("ui-tooltip-id"),(s=t.trim(s.join(" ")))?e.attr("aria-describedby",s):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=t("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=t([])},_setOption:function(e,n){var s=this;this._super(e,n),"content"===e&&t.each(this.tooltips,function(t,e){s._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var e=this;t.each(this.tooltips,function(n,s){var o=t.Event("blur");o.target=o.currentTarget=s.element[0],e.close(o,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=t(this);return e.is("[title]")?e.data("ui-tooltip-title",e.attr("title")).removeAttr("title"):void 0}))},_enable:function(){this.disabledTitles.each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=t([])},open:function(e){var n=this,s=t(e?e.target:this.element).closest(this.options.items);s.length&&!s.data("ui-tooltip-id")&&(s.attr("title")&&s.data("ui-tooltip-title",s.attr("title")),s.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&s.parents().each(function(){var e,s=t(this);s.data("ui-tooltip-open")&&((e=t.Event("blur")).target=e.currentTarget=this,n.close(e,!0)),s.attr("title")&&(s.uniqueId(),n.parents[this.id]={element:this,title:s.attr("title")},s.attr("title",""))}
4),this._registerCloseHandlers(e,s),this._updateContent(s,e))},_updateContent:function(t,e){var n,s=this.options.content,o=this,a=e?e.type:null;return"string"==typeof s||s.nodeType||s.jquery?this._open(e,t,s):void((n=s.call(t[0],function(n){o._delay(function(){t.data("ui-tooltip-open")&&(e&&(e.type=a),this._open(e,t,n))})}))&&this._open(e,t,n))},_open:function(e,n,s){function o(t){h.of=t,r.is(":hidden")||r.position(h)}var a,r,l,c,h=t.extend({},this.options.position);if(s){if(a=this._find(n))return void a.tooltip.find(".ui-tooltip-content").html(s);n.is("[title]")&&(e&&"mouseover"===e.type?n.attr("title",""):n.removeAttr("title")),r=(a=this._tooltip(n)).tooltip,this._addDescribedBy(n,r.attr("id")),r.find(".ui-tooltip-content").html(s),this.liveRegion.children().hide(),(c=t("<div>").html(r.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),c.removeAttr("id").find("[id]").removeAttr("id"),c.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:o}),o(e)):r.position(t.extend({of:n},this.options.position)),r.hide(),this._show(r,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(l=this.delayedShow=setInterval(function(){r.is(":visible")&&(o(h.of),clearInterval(l))},t.fx.interval)),this._trigger("open",e,{tooltip:r})}},_registerCloseHandlers:function(e,n){var s={keyup:function(e){if(e.keyCode===t.ui.keyCode.ESCAPE){var s=t.Event(e);s.currentTarget=n[0],this.close(s,!0)}}};n[0]!==this.element[0]&&(s.remove=function(){this._removeTooltip(this._find(n).tooltip)}),e&&"mouseover"!==e.type||(s.mouseleave="close"),e&&"focusin"!==e.type||(s.focusout="close"),this._on(!0,n,s)},close:function(e){var n,s=this,o=t(e?e.currentTarget:this.element),a=this._find(o);return a?(n=a.tooltip,void(a.closing||(clearInterval(this.delayedShow),o.data("ui-tooltip-title")&&!o.attr("title")&&o.attr("title",o.data("ui-tooltip-title")),this._removeDescribedBy(o),a.hiding=!0,n.stop(!0),this._hide(n,this.options.hide,function(){s._removeTooltip(t(this))}),o.removeData("ui-tooltip-open"),this._off(o,"mouseleave focusout keyup"),o[0]!==this.element[0]&&this._off(o,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&t.each(this.parents,function(e,n){t(n.element).attr("title",n.title),delete s.parents[e]}),a.closing=!0,this._trigger("close",e,{tooltip:n}),a.hiding||(a.closing=!1)))):void o.removeData("ui-tooltip-open")},_tooltip:function(e){var n=t("<div>").attr("role","tooltip"),s=t("<div>").appendTo(n),o=n.uniqueId().attr("id");return this._addClass(s,"ui-tooltip-content"),this._addClass(n,"ui-tooltip","ui-widget ui-widget-content"),n.appendTo(this._appendTo(e)),this.tooltips[o]={element:e,tooltip:n}},_find:function(t){var e=t.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(t){t.remove(),delete this.tooltips[t.attr("id")]},_appendTo:function(t){var e=t.closest(".ui-front, dialog");return e.length||(e=this.document[0].body),e},_destroy:function(){var e=this;t.each(this.tooltips,function(n,s){var o=t.Event("blur"),a=s.element;o.target=o.currentTarget=a[0],e.close(o,!0),t("#"+n).remove(),a.data("ui-tooltip-title")&&(a.attr("title")||a.attr("title",a.data("ui-tooltip-title")),a.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==t.uiBackCompat&&t.widget("ui.tooltip",t.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var t=this._superApply(arguments);return this.options.tooltipClass&&t.tooltip.addClass(this.options.tooltipClass),t}}),t.ui.tooltip;var w="ui-effects-",C="ui-effects-style",x="ui-effects-animated";t.effects={effect:{}},function(t,e){function n(t,e,n){var s=u[e.type]||{};return null==t?n||!e.def?null:e.def:isNaN(t=s.floor?~~t:parseFloat(t))?e.def:s.mod?(t+s.mod)%s.mod:0>t?0:t>s.max?s.max:t}function s(n){var s=c(),o=s._rgba=[];return n=n.toLowerCase(),f(l,function(t,a){var r,l=a.re.exec(n),c=l&&a.parse(l),u=a.space||"rgba";return c?(r=s[u](c),s[h[u].cache]=r[h[u].cache],o=s._rgba=r._rgba,!1):e}),o.length?("0,0,0,0"===o.join()&&t.extend(o,a.transparent),s):a[n]}function o(t,e,n){return 1>6*(n=(n+1)%1)?t+6*(e-t)*n:1>2*n?e:2>3*n?t+6*(e-t)*(2/3-n):t}var a,r=/^([\-+])=\s*(\d+\.?\d*)/,l=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],c=t.Color=function(e,n,s,o){return new t.Color.fn.parse(e,n,s,o)},h={rgba:{props:{red:{idx:0,type:"byte"}
vendor: 4,669 bytes, line 4
4,green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},u={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},d=c.support={},p=t("<p>")[0],f=t.each;p.style.cssText="background-color:rgba(1,1,1,.5)",d.rgba=p.style.backgroundColor.indexOf("rgba")>-1,f(h,function(t,e){e.cache="_"+t,e.props.alpha={idx:3,type:"percent",def:1}}),c.fn=t.extend(c.prototype,{parse:function(o,r,l,u){if(o===e)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=t(o).css(r),r=e);var d=this,p=t.type(o),m=this._rgba=[];return r!==e&&(o=[o,r,l,u],p="array"),"string"===p?this.parse(s(o)||a._default):"array"===p?(f(h.rgba.props,function(t,e){m[e.idx]=n(o[e.idx],e)}),this):"object"===p?(o instanceof c?f(h,function(t,e){o[e.cache]&&(d[e.cache]=o[e.cache].slice())}):f(h,function(e,s){var a=s.cache;f(s.props,function(t,e){if(!d[a]&&s.to){if("alpha"===t||null==o[t])return;d[a]=s.to(d._rgba)}d[a][e.idx]=n(o[t],e,!0)}),d[a]&&0>t.inArray(null,d[a].slice(0,3))&&(d[a][3]=1,s.from&&(d._rgba=s.from(d[a])))}),this):e},is:function(t){var n=c(t),s=!0,o=this;return f(h,function(t,a){var r,l=n[a.cache];return l&&(r=o[a.cache]||a.to&&a.to(o._rgba)||[],f(a.props,function(t,n){return null!=l[n.idx]?s=l[n.idx]===r[n.idx]:e})),s}),s},_space:function(){var t=[],e=this;return f(h,function(n,s){e[s.cache]&&t.push(n)}),t.pop()},transition:function(t,e){var s=c(t),o=s._space(),a=h[o],r=0===this.alpha()?c("transparent"):this,l=r[a.cache]||a.to(r._rgba),d=l.slice();return s=s[a.cache],f(a.props,function(t,o){var a=o.idx,r=l[a],c=s[a],h=u[o.type]||{};null!==c&&(null===r?d[a]=c:(h.mod&&(c-r>h.mod/2?r+=h.mod:r-c>h.mod/2&&(r-=h.mod)),d[a]=n((c-r)*e+r,o)))}),this[o](d)},blend:function(e){if(1===this._rgba[3])return this;var n=this._rgba.slice(),s=n.pop(),o=c(e)._rgba;return c(t.map(n,function(t,e){return(1-s)*o[e]+s*t}))},toRgbaString:function(){var e="rgba(",n=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===n[3]&&(n.pop(),e="rgb("),e+n.join()+")"},toHslaString:function(){var e="hsla(",n=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&3>e&&(t=Math.round(100*t)+"%"),t});return 1===n[3]&&(n.pop(),e="hsl("),e+n.join()+")"},toHexString:function(e){var n=this._rgba.slice(),s=n.pop();return e&&n.push(~~(255*s)),"#"+t.map(n,function(t){return 1===(t=(t||0).toString(16)).length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),c.fn.parse.prototype=c.fn,h.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/255,n=t[1]/255,s=t[2]/255,o=t[3],a=Math.max(e,n,s),r=Math.min(e,n,s),l=a-r,c=a+r,h=.5*c;return[Math.round(r===a?0:e===a?60*(n-s)/l+360:n===a?60*(s-e)/l+120:60*(e-n)/l+240)%360,0===l?0:.5>=h?l/c:l/(2-c),h,null==o?1:o]},h.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,n=t[1],s=t[2],a=t[3],r=.5>=s?s*(1+n):s+n-s*n,l=2*s-r;return[Math.round(255*o(l,r,e+1/3)),Math.round(255*o(l,r,e)),Math.round(255*o(l,r,e-1/3)),a]},f(h,function(s,o){var a=o.props,l=o.cache,h=o.to,u=o.from;c.fn[s]=function(s){if(h&&!this[l]&&(this[l]=h(this._rgba)),s===e)return this[l].slice();var o,r=t.type(s),d="array"===r||"object"===r?s:arguments,p=this[l].slice();return f(a,function(t,e){var s=d["object"===r?t:e.idx];null==s&&(s=p[e.idx]),p[e.idx]=n(s,e)}),u?((o=c(u(p)))[l]=p,o):c(p)},f(a,function(e,n){c.fn[e]||(c.fn[e]=function(o){var a,l=t.type(o),c="alpha"===e?this._hsla?"hsla":"rgba":s,h=this[c](),u=h[n.idx];return"undefined"===l?u:("function"===l&&(o=o.call(this,u),l=t.type(o)),null==o&&n.empty?this:("string"===l&&(a=r.exec(o))&&(o=u+parseFloat(a[2])*("+"===a[1]?1:-1)),h[n.idx]=o,this[c](h)))})})}),c.hook=function(e){f(e.split(" "),function(e,n){t.cssHooks[n]={set:function(e,o){var a,r,l="";if("transparent"!==o&&("string"!==t.type(o)||(a=s(o)))){if(o=c(a||o),!d.rgba&&1!==o._rgba[3]){for(r="backgroundColor"===n?e.parentNode:e;(""===l||"transparent"===l)&&r&&r.style;)try{l=t.css(r,"backgroundColor"),r=r.parentNode}catch(t){}o=o.blend(l&&"transparent"!==l?l:"_default")}o=o.toRgbaString()}try{e.style[n]=o}catch(t){}}},t.fx.step[n]=function(e){e.colorInit||(e.start=c(e.elem,n),e.end=c(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}})},c.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),t.cssHooks.borderColor={expand:function(t){var e={};return f(["Top","Right","Bottom","Left"],function(n,s){e["border"+s+"Color"]=t}),e}}
4,a=t.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(t),function(){function e(e){var n,s,o=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,a={};if(o&&o.length&&o[0]&&o[o[0]])for(s=o.length;s--;)n=o[s],"string"==typeof o[n]&&(a[t.camelCase(n)]=o[n]);else for(n in o)"string"==typeof o[n]&&(a[n]=o[n]);return a}var n,s,o,a=["add","remove","toggle"],r={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};t.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,n){t.fx.step[n]=function(e){("none"===e.end||e.setAttr)&&(1!==e.pos||e.setAttr)||(t.style(e.elem,n,e.end),e.setAttr=!0)}}),t.fn.addBack||(t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.effects.animateClass=function(n,s,o,l){var c=t.speed(s,o,l);return this.queue(function(){var s,o=t(this),l=o.attr("class")||"",h=c.children?o.find("*").addBack():o;h=h.map(function(){return{el:t(this),start:e(this)}}),(s=function(){t.each(a,function(t,e){n[e]&&o[e+"Class"](n[e])})})(),h=h.map(function(){return this.end=e(this.el[0]),this.diff=function(e,n){var s,o,a={};for(s in n)o=n[s],e[s]!==o&&(r[s]||(t.fx.step[s]||!isNaN(parseFloat(o)))&&(a[s]=o));return a}(this.start,this.end),this}),o.attr("class",l),h=h.map(function(){var e=this,n=t.Deferred(),s=t.extend({},c,{queue:!1,complete:function(){n.resolve(e)}});return this.el.animate(this.diff,s),n.promise()}),t.when.apply(t,h.get()).done(function(){s(),t.each(arguments,function(){var e=this.el;t.each(this.diff,function(t){e.css(t,"")})}),c.complete.call(o[0])})})},t.fn.extend({addClass:(n=t.fn.addClass,function(e,s,o,a){return s?t.effects.animateClass.call(this,{add:e},s,o,a):n.apply(this,arguments)}),removeClass:(s=t.fn.removeClass,function(e,n,o,a){return arguments.length>1?t.effects.animateClass.call(this,{remove:e},n,o,a):s.apply(this,arguments)}),toggleClass:(o=t.fn.toggleClass,function(e,n,s,a,r){return"boolean"==typeof n||void 0===n?s?t.effects.animateClass.call(this,n?{add:e}:{remove:e},s,a,r):o.apply(this,arguments):t.effects.animateClass.call(this,{toggle:e},n,s,a)}),switchClass:function(e,n,s,o,a){return t.effects.animateClass.call(this,{add:n,remove:e},s,o,a)}})}(),function(){var e,n,s,o;function a(e,n,s,o){return t.isPlainObject(e)&&(n=e,e=e.effect),e={effect:e},null==n&&(n={}),t.isFunction(n)&&(o=n,s=null,n={}),("number"==typeof n||t.fx.speeds[n])&&(o=s,s=n,n={}),t.isFunction(s)&&(o=s,s=null),n&&t.extend(e,n),s=s||n.duration,e.duration=t.fx.off?0:"number"==typeof s?s:s in t.fx.speeds?t.fx.speeds[s]:t.fx.speeds._default,e.complete=o||n.complete,e}function r(e){return!e||"number"==typeof e||!!t.fx.speeds[e]||"string"==typeof e&&!t.effects.effect[e]||!!t.isFunction(e)||"object"==typeof e&&!e.effect}function l(t,e){var n=e.outerWidth(),s=e.outerHeight(),o=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(t)||["",0,n,s,0];return{top:parseFloat(o[1])||0,right:"auto"===o[2]?n:parseFloat(o[2]),bottom:"auto"===o[3]?s:parseFloat(o[3]),left:parseFloat(o[4])||0}}t.expr&&t.expr.filters&&t.expr.filters.animated&&(t.expr.filters.animated=(e=t.expr.filters.animated,function(n){return!!t(n).data(x)||e(n)})),!1!==t.uiBackCompat&&t.extend(t.effects,{save:function(t,e){for(var n=0,s=e.length;s>n;n++)null!==e[n]&&t.data(w+e[n],t[0].style[e[n]])},restore:function(t,e){for(var n,s=0,o=e.length;o>s;s++)null!==e[s]&&(n=t.data(w+e[s]),t.css(e[s],n))},setMode:function(t,e){return"toggle"===e&&(e=t.is(":hidden")?"show":"hide"),e},createWrapper:function(e){if(e.parent().is(".ui-effects-wrapper"))return e.parent();var n={width:e.outerWidth(!0),height:e.outerHeight(!0),float:e.css("float")},s=t("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),o={width:e.width(),height:e.height()},a=document.activeElement;try{a.id}catch(t){a=document.body}return e.wrap(s),(e[0]===a||t.contains(e[0],a))&&t(a).trigger("focus"),s=e.parent(),"static"===e.css("position")?(s.css({position:"relative"}),e.css({position:"relative"})):(t.extend(n,{position:e.css("position"),zIndex:e.css("z-index")}),t.each(["top","left","bottom","right"],function(t,s){n[s]=e.css(s),isNaN(parseInt(n[s],10))&&(n[s]="auto")}),e.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),e.css(o),s.css(n).show()},removeWrapper:function(e){var n=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===n||t.contains(e[0],n))&&t(n).trigger("focus")),e}}),t.extend(t.effects,{version:"1.12.1",define:function(e,n,s){return s||(s=n,n="effect"),t.effects.effect[e]=s,t.effects.effect[e].mode=n,s},scaledDimensions:function(t,e,n){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var s="horizontal"!==n?(e||100)/100:1,o="vertical"!==n?(e||100)/100:1;return{height:t.height()*o,width:t.width()*s,outerHeight:t.outerHeight()*o,outerWidth:t.outerWidth()*s}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left
vendor: 5,873 bytes, line 4
4:t.clip.left,top:t.clip.top}},unshift:function(t,e,n){var s=t.queue();e>1&&s.splice.apply(s,[1,0].concat(s.splice(e,n))),t.dequeue()},saveStyle:function(t){t.data(C,t[0].style.cssText)},restoreStyle:function(t){t[0].style.cssText=t.data(C)||"",t.removeData(C)},mode:function(t,e){var n=t.is(":hidden");return"toggle"===e&&(e=n?"show":"hide"),(n?"hide"===e:"show"===e)&&(e="none"),e},getBaseline:function(t,e){var n,s;switch(t[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=t[0]/e.height}switch(t[1]){case"left":s=0;break;case"center":s=.5;break;case"right":s=1;break;default:s=t[1]/e.width}return{x:s,y:n}},createPlaceholder:function(e){var n,s=e.css("position"),o=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(s)&&(s="absolute",n=t("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(w+"placeholder",n)),e.css({position:s,left:o.left,top:o.top}),n},removePlaceholder:function(t){var e=w+"placeholder",n=t.data(e);n&&(n.remove(),t.removeData(e))},cleanUp:function(e){t.effects.restoreStyle(e),t.effects.removePlaceholder(e)},setTransition:function(e,n,s,o){return o=o||{},t.each(n,function(t,n){var a=e.cssUnit(n);a[0]>0&&(o[n]=a[0]*s+a[1])}),o}}),t.fn.extend({effect:function(){function e(e){function a(){t.isFunction(c)&&c.call(r[0]),t.isFunction(e)&&e()}var r=t(this);n.mode=u.shift(),!1===t.uiBackCompat||o?"none"===n.mode?(r[h](),a()):s.call(r[0],n,function(){r.removeData(x),t.effects.cleanUp(r),"hide"===n.mode&&r.hide(),a()}):(r.is(":hidden")?"hide"===h:"show"===h)?(r[h](),a()):s.call(r[0],n,a)}var n=a.apply(this,arguments),s=t.effects.effect[n.effect],o=s.mode,r=n.queue,l=r||"fx",c=n.complete,h=n.mode,u=[],d=function(e){var n=t(this),s=t.effects.mode(n,h)||o;n.data(x,!0),u.push(s),o&&("show"===s||s===o&&"hide"===s)&&n.show(),o&&"none"===s||t.effects.saveStyle(n),t.isFunction(e)&&e()};return t.fx.off||!s?h?this[h](n.duration,c):this.each(function(){c&&c.call(this)}):!1===r?this.each(d).each(e):this.queue(l,d).queue(l,e)},show:(n=t.fn.show,function(t){if(r(t))return n.apply(this,arguments);var e=a.apply(this,arguments);return e.mode="show",this.effect.call(this,e)}),hide:(s=t.fn.hide,function(t){if(r(t))return s.apply(this,arguments);var e=a.apply(this,arguments);return e.mode="hide",this.effect.call(this,e)}),toggle:(o=t.fn.toggle,function(t){if(r(t)||"boolean"==typeof t)return o.apply(this,arguments);var e=a.apply(this,arguments);return e.mode="toggle",this.effect.call(this,e)}),cssUnit:function(e){var n=this.css(e),s=[];return t.each(["em","px","%","pt"],function(t,e){n.indexOf(e)>0&&(s=[parseFloat(n),e])}),s},cssClip:function(t){return t?this.css("clip","rect("+t.top+"px "+t.right+"px "+t.bottom+"px "+t.left+"px)"):l(this.css("clip"),this)},transfer:function(e,n){var s=t(this),o=t(e.to),a="fixed"===o.css("position"),r=t("body"),l=a?r.scrollTop():0,c=a?r.scrollLeft():0,h=o.offset(),u={top:h.top-l,left:h.left-c,height:o.innerHeight(),width:o.innerWidth()},d=s.offset(),p=t("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(e.className).css({top:d.top-l,left:d.left-c,height:s.innerHeight(),width:s.innerWidth(),position:a?"fixed":"absolute"}).animate(u,e.duration,e.easing,function(){p.remove(),t.isFunction(n)&&n()})}}),t.fx.step.clip=function(e){e.clipInit||(e.start=t(e.elem).cssClip(),"string"==typeof e.end&&(e.end=l(e.end,e.elem)),e.clipInit=!0),t(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})}}(),p={},t.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){p[e]=function(e){return Math.pow(e,t+2)}}),t.extend(p,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,n=4;((e=Math.pow(2,--n))-1)/11>t;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*e-2)/22-t,2)}}),t.each(p,function(e,n){t.easing["easeIn"+e]=n,t.easing["easeOut"+e]=function(t){return 1-n(1-t)},t.easing["easeInOut"+e]=function(t){return .5>t?n(2*t)/2:1-n(-2*t+2)/2}});var m=t.effects;t.effects.define("blind","hide",function(e,n){var s={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},o=t(this),a=e.direction||"up",r=o.cssClip(),l={clip:t.extend({},r)},c=t.effects.createPlaceholder(o);l.clip[s[a][0]]=l.clip[s[a][1]],"show"===e.mode&&(o.cssClip(l.clip),c&&c.css(t.effects.clipToBox(l)),l.clip=r),c&&c.animate(t.effects.clipToBox(l),e.duration,e.easing),o.animate(l,{queue:!1,duration:e.duration,easing:e.easing,complete:n})}),t.effects.define("bounce",function(e,n){var s,o,a,r=t(this),l=e.mode,c="hide"===l,h="show"===l,u=e.direction||"up",d=e.distance,p=e.times||5,f=2*p+(h||c?1:0),m=e.duration/f,g=e.easing,v="up"===u||"down"===u?"top":"left",b="up"===u||"left"===u,_=0,y=r.queue().length;for(t.effects.createPlaceholder(r),a=r.css(v),d||(d=r["top"===v?"outerHeight":"outerWidth"]()/3),h&&((o={opacity:1})[v]=a,r.css("opacity",0).css(v,b?-(2*d):2*d).animate(o,m,g)),c&&(d/=Math.pow(2,p-1)),(o={})[v]=a;p>_;_++)(s={})[v]=(b?"-=":"+=")+d,r.animate(s,m,g).animate(o,m,g),d=c?2*d:d/2;c&&((s={opacity:0}
4)[v]=(b?"-=":"+=")+d,r.animate(s,m,g)),r.queue(n),t.effects.unshift(r,y,f+1)}),t.effects.define("clip","hide",function(e,n){var s,o={},a=t(this),r=e.direction||"vertical",l="both"===r,c=l||"horizontal"===r,h=l||"vertical"===r;s=a.cssClip(),o.clip={top:h?(s.bottom-s.top)/2:s.top,right:c?(s.right-s.left)/2:s.right,bottom:h?(s.bottom-s.top)/2:s.bottom,left:c?(s.right-s.left)/2:s.left},t.effects.createPlaceholder(a),"show"===e.mode&&(a.cssClip(o.clip),o.clip=s),a.animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:n})}),t.effects.define("drop","hide",function(e,n){var s,o=t(this),a=e.mode,r=e.direction||"left",l="up"===r||"down"===r?"top":"left",c="up"===r||"left"===r?"-=":"+=",h={opacity:0};t.effects.createPlaceholder(o),s=e.distance||o["top"===l?"outerHeight":"outerWidth"](!0)/2,h[l]=c+s,"show"===a&&(o.css(h),h[l]=("+="===c?"-=":"+=")+s,h.opacity=1),o.animate(h,{queue:!1,duration:e.duration,easing:e.easing,complete:n})}),t.effects.define("explode","hide",function(e,n){function s(){b.push(this),b.length===u*d&&(p.css({visibility:"visible"}),t(b).remove(),n())}var o,a,r,l,c,h,u=e.pieces?Math.round(Math.sqrt(e.pieces)):3,d=u,p=t(this),f="show"===e.mode,m=p.show().css("visibility","hidden").offset(),g=Math.ceil(p.outerWidth()/d),v=Math.ceil(p.outerHeight()/u),b=[];for(o=0;u>o;o++)for(l=m.top+o*v,h=o-(u-1)/2,a=0;d>a;a++)r=m.left+a*g,c=a-(d-1)/2,p.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-a*g,top:-o*v}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:g,height:v,left:r+(f?c*g:0),top:l+(f?h*v:0),opacity:f?0:1}).animate({left:r+(f?0:c*g),top:l+(f?0:h*v),opacity:f?1:0},e.duration||500,e.easing,s)}),t.effects.define("fade","toggle",function(e,n){var s="show"===e.mode;t(this).css("opacity",s?0:1).animate({opacity:s?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:n})}),t.effects.define("fold","hide",function(e,n){var s=t(this),o=e.mode,a=e.size||15,r=/([0-9]+)%/.exec(a),l=e.horizFirst?["right","bottom"]:["bottom","right"],c=e.duration/2,h=t.effects.createPlaceholder(s),u=s.cssClip(),d={clip:t.extend({},u)},p={clip:t.extend({},u)},f=[u[l[0]],u[l[1]]],m=s.queue().length;r&&(a=parseInt(r[1],10)/100*f["hide"===o?0:1]),d.clip[l[0]]=a,p.clip[l[0]]=a,p.clip[l[1]]=0,"show"===o&&(s.cssClip(p.clip),h&&h.css(t.effects.clipToBox(p)),p.clip=u),s.queue(function(n){h&&h.animate(t.effects.clipToBox(d),c,e.easing).animate(t.effects.clipToBox(p),c,e.easing),n()}).animate(d,c,e.easing).animate(p,c,e.easing).queue(n),t.effects.unshift(s,m,4)}),t.effects.define("highlight","show",function(e,n){var s=t(this),o={backgroundColor:s.css("backgroundColor")};"hide"===e.mode&&(o.opacity=0),t.effects.saveStyle(s),s.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:n})}),t.effects.define("size",function(e,n){var s,o,a,r=t(this),l=["fontSize"],c=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],h=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],u=e.mode,d="effect"!==u,p=e.scale||"both",f=e.origin||["middle","center"],m=r.css("position"),g=r.position(),v=t.effects.scaledDimensions(r),b=e.from||v,_=e.to||t.effects.scaledDimensions(r,0);t.effects.createPlaceholder(r),"show"===u&&(a=b,b=_,_=a),o={from:{y:b.height/v.height,x:b.width/v.width},to:{y:_.height/v.height,x:_.width/v.width}},("box"===p||"both"===p)&&(o.from.y!==o.to.y&&(b=t.effects.setTransition(r,c,o.from.y,b),_=t.effects.setTransition(r,c,o.to.y,_)),o.from.x!==o.to.x&&(b=t.effects.setTransition(r,h,o.from.x,b),_=t.effects.setTransition(r,h,o.to.x,_))),("content"===p||"both"===p)&&o.from.y!==o.to.y&&(b=t.effects.setTransition(r,l,o.from.y,b),_=t.effects.setTransition(r,l,o.to.y,_)),f&&(s=t.effects.getBaseline(f,v),b.top=(v.outerHeight-b.outerHeight)*s.y+g.top,b.left=(v.outerWidth-b.outerWidth)*s.x+g.left,_.top=(v.outerHeight-_.outerHeight)*s.y+g.top,_.left=(v.outerWidth-_.outerWidth)*s.x+g.left),r.css(b),("content"===p||"both"===p)&&(c=c.concat(["marginTop","marginBottom"]).concat(l),h=h.concat(["marginLeft","marginRight"]),r.find("*[width]").each(function(){var n=t(this),s=t.effects.scaledDimensions(n),a={height:s.height*o.from.y,width:s.width*o.from.x,outerHeight:s.outerHeight*o.from.y,outerWidth:s.outerWidth*o.from.x},r={height:s.height*o.to.y,width:s.width*o.to.x,outerHeight:s.height*o.to.y,outerWidth:s.width*o.to.x};o.from.y!==o.to.y&&(a=t.effects.setTransition(n,c,o.from.y,a),r=t.effects.setTransition(n,c,o.to.y,r)),o.from.x!==o.to.x&&(a=t.effects.setTransition(n,h,o.from.x,a),r=t.effects.setTransition(n,h,o.to.x,r)),d&&t.effects.saveStyle(n),n.css(a),n.animate(r,e.duration,e.easing,function(){d&&t.effects.restoreStyle(n)})})),r.animate(_,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){var e=r.offset();0===_.opacity&&r.css("opacity",b.opacity),d||(r.css("position","static"===m?"relative":m).offset(e),t.effects.saveStyle(r)),n()}})}),t.effects.define("scale",function(e,n){var s=t(this),o=e.mode,a=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"effect"!==o?0:100),r=t.extend(!0,{from:t.effects.scaledDimensions(s),to:t.effects.scaledDimensions(s,a,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(r.from.opacity=1,r.to.opacity=0),t.effects.effect.size.call(this,r,n)}),t.effects.define("puff","hide",function(e,n){var s=t.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});t.effects.effect.scale.call(this,s,n)}),t.effects.define("pulsate","show",function(e,n){var s=t(this),o=e.mode,a="show"===o,r=2*(e.times||5)+(a||"hide"===o?1:0),l=e.duration/r,c=0,h=1,u=s.queue().length;for((a||!s.is(":visible"))&&(s.css("opacity",0).show(),c=1);r>h;h++)s.animate({opacity:c},l,e.easing),c=1-c;s.animate({opacity:c},l,e.easing),s.queue(n),t.effects.unshift(s,u,r+1)}),t.effects.define("shake",function(e,n){var s=1,o=t(this),a=e.direction||"left",r=e.distance||20,l=e.times||3,c=2*l+1,h=Math.round(e.duration/c),u="up"===a||"down"===a?"top":"left",d="up"===a||"left"===a,p={},f={},m={},g=o.queue().length;for(t.effects.createPlaceholder(o),p[u]=(d?"-=":"+=")+r,f[u]=(d?"+=":"-=")+2*r,m[u]=(d?"-=":"+=")+2*r,o.animate(p,h,e.easing);l>s;s++)o.animate(f,h,e.easing).animate(m,h,e.easing);o.animate(f,h,e.easing).animate(p,h/2,e.easing).queue(n),t.effects.unshift(o,g,c+1)}),t.effects.define("slide","show",function(e,n){var s,o,a=t(this),r={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},l=e.mode,c=e.direction||"left",h="up"===c||"down"===c?"top":"left",u=e.distance||a["top"===h?"outerHeight":"outerWidth"](!0),d={};t.effects.createPlaceholder(a),s=a.cssClip(),o=a.position()[h],d[h]=("up"===c||"left"===c?-1:1)*u+o,d.clip=a.cssClip(),d.clip[r[c][1]]=d.clip[r[c][0]],"show"===l&&(a.cssClip(d.clip),a.css(h,d[h]),d.clip=s,d[h]=o),a.animate(d,{queue:!1,duration:e.duration,easing:e.easing,complete:n})}),!1!==t.uiBackCompat&&t.effects.define("transfer",function(e,n){t(this).transfer(e,n)})}),function(t){var e,n,s,o,a="mmenu",r="5.6.4";t[a]&&t[a].version>r||(t[a]=function(t,e,n){this.$menu=t,this._api=["bind","init","update","setSelected","getInstance","openPanel","closePanel","closeAllPanels"],this.opts=e,this.conf=n,this.vars={},this.cbck={},"function"==typeof this.___deprecated&&this.___deprecated(),this._initMenu(),this._initAnchors();var s=this.$pnls.children();return this._initAddons(),this.init(s),"function"==typeof this.___debug&&this.___debug(),this},t[a].version=r,t[a].addons={},t[a].uniqueId=0,t[a].defaults={extensions:[],navbar:{add:!0,title:"Menu",titleLink:"panel"},onClick:{setSelected:!0},slidingSubmenus:!0},t[a].configuration={classNames:{divider:"Divider",inset:"Inset",panel:"Panel",selected:"Selected",spacer:"Spacer",vertical:"Vertical"},clone:!1,openingInterval:25,panelNodetype:"ul, ol, div",transitionDuration:400},t[a].prototype={init:function(t){t=t.not("."+e.nopanel),t=this._initPanels(t),this.trigger("init",t),this.trigger("update")},update:function(){this.trigger("update")},setSelected:function(t){this.$menu.find("."+e.listview).children().removeClass(e.selected),t.addClass(e.selected),this.trigger("setSelected",t)},openPanel:function(n){var s=n.parent(),o=this;if(s.hasClass(e.vertical)){var r=s.parents("."+e.subopened);
4if(r.length)return void this.openPanel(r.first());s.addClass(e.opened),this.trigger("openPanel",n),this.trigger("openingPanel",n),this.trigger("openedPanel",n)}else{if(n.hasClass(e.current))return;var l=this.$pnls.children("."+e.panel),c=l.filter("."+e.current);l.removeClass(e.highest).removeClass(e.current).not(n).not(c).not("."+e.vertical).addClass(e.hidden),t[a].support.csstransitions||c.addClass(e.hidden),n.hasClass(e.opened)?n.nextAll("."+e.opened).addClass(e.highest).removeClass(e.opened).removeClass(e.subopened):(n.addClass(e.highest),c.addClass(e.subopened)),n.removeClass(e.hidden).addClass(e.current),o.trigger("openPanel",n),setTimeout(function(){n.removeClass(e.subopened).addClass(e.opened),o.trigger("openingPanel",n),o.__transitionend(n,function(){o.trigger("openedPanel",n)},o.conf.transitionDuration)},this.conf.openingInterval)}},closePanel:function(t){var n=t.parent();n.hasClass(e.vertical)&&(n.removeClass(e.opened),this.trigger("closePanel",t),this.trigger("closingPanel",t),this.trigger("closedPanel",t))},closeAllPanels:function(){this.$menu.find("."+e.listview).children().removeClass(e.selected).filter("."+e.vertical).removeClass(e.opened);var t=this.$pnls.children("."+e.panel).first();this.$pnls.children("."+e.panel).not(t).removeClass(e.subopened).removeClass(e.opened).removeClass(e.current).removeClass(e.highest).addClass(e.hidden),this.openPanel(t)},togglePanel:function(t){var n=t.parent();n.hasClass(e.vertical)&&this[n.hasClass(e.opened)?"closePanel":"openPanel"](t)},getInstance:function(){return this},bind:function(t,e){this.cbck[t]=this.cbck[t]||[],this.cbck[t].push(e)},trigger:function(){var t=Array.prototype.slice.call(arguments),e=t.shift();if(this.cbck[e])for(var n=0,s=this.cbck[e].length;s>n;n++)this.cbck[e][n].apply(this,t)},_initMenu:function(){this.$menu.attr("id",this.$menu.attr("id")||this.__getUniqueId()),this.conf.clone&&(this.$menu=this.$menu.clone(!0),this.$menu.add(this.$menu.find("[id]")).filter("[id]").each(function(){t(this).attr("id",e.mm(t(this).attr("id")))})),this.$menu.contents().each(function(){3==t(this)[0].nodeType&&t(this).remove()}),this.$pnls=t('<div class="'+e.panels+'" />').append(this.$menu.children(this.conf.panelNodetype)).prependTo(this.$menu),this.$menu.parent().addClass(e.wrapper);var n=[e.menu];this.opts.slidingSubmenus||n.push(e.vertical),this.opts.extensions=this.opts.extensions.length?"mm-"+this.opts.extensions.join(" mm-"):"",this.opts.extensions&&n.push(this.opts.extensions),this.$menu.addClass(n.join(" "))},_initPanels:function(s){var o=this,a=this.__findAddBack(s,"ul, ol");this.__refactorClass(a,this.conf.classNames.inset,"inset").addClass(e.nolistview+" "+e.nopanel),a.not("."+e.nolistview).addClass(e.listview);var r=this.__findAddBack(s,"."+e.listview).children();this.__refactorClass(r,this.conf.classNames.selected,"selected"),this.__refactorClass(r,this.conf.classNames.divider,"divider"),this.__refactorClass(r,this.conf.classNames.spacer,"spacer"),this.__refactorClass(this.__findAddBack(s,"."+this.conf.classNames.panel),this.conf.classNames.panel,"panel");var l=t(),c=s.add(s.find("."+e.panel)).add(this.__findAddBack(s,"."+e.listview).children().children(this.conf.panelNodetype)).not("."+e.nopanel);this.__refactorClass(c,this.conf.classNames.vertical,"vertical"),this.opts.slidingSubmenus||c.addClass(e.vertical),c.each(function(){var n=t(this),s=n;n.is("ul, ol")?(n.wrap('<div class="'+e.panel+'" />'),s=n.parent()):s.addClass(e.panel);var a=n.attr("id");n.removeAttr("id"),s.attr("id",a||o.__getUniqueId()),n.hasClass(e.vertical)&&(n.removeClass(o.conf.classNames.vertical),s.add(s.parent()).addClass(e.vertical)),l=l.add(s)});var h=t("."+e.panel,this.$menu);l.each(function(s){var a,r,l=t(this),c=l.parent(),h=c.children("a, span").first();if(c.is("."+e.panels)||(c.data(n.sub,l),l.data(n.parent,c)),c.children("."+e.next).length||c.parent().is("."+e.listview)&&(a=l.attr("id"),r=t('<a class="'+e.next+'" href="#'+a+'" data-target="#'+a+'" />').insertBefore(h),h.is("span")&&r.addClass(e.fullsubopen)),!l.children("."+e.navbar).length&&!c.hasClass(e.vertical)){c=c.parent().is("."+e.listview)?c.closest("."+e.panel):(h=c.closest("."+e.panel).find('a[href="#'+l.attr("id")+'"]').first()).closest("."+e.panel);var u=!1,d=t('<div class="'+e.navbar+'" />');if(c.length){switch(a=c.attr("id"),o.opts.navbar.titleLink){case"anchor":u=h.attr("href");break;case"panel":case"parent":u="#"+a;break;default:u=!1}d.append('<a class="'+e.btn+" "+e.prev+'" href="#'+a+'" data-target="#'+a+'" />').append(t('<a class="'+e.title+'"'+(u?' href="'+u+'"':"")+" />").text(h.text())).prependTo(l),o.opts.navbar.add&&l.addClass(e.hasnavbar)}else o.opts.navbar.title&&(d.append('<a class="'+e.title+'">'+o.opts.navbar.title+"</a>").prependTo(l),o.opts.navbar.add&&l.addClass(e.hasnavbar))}});var u=this.__findAddBack(s,"."+e.listview).children("."+e.selected).removeClass(e.selected).last(
4).addClass(e.selected);u.add(u.parentsUntil("."+e.menu,"li")).filter("."+e.vertical).addClass(e.opened).end().each(function(){t(this).parentsUntil("."+e.menu,"."+e.panel).not("."+e.vertical).first().addClass(e.opened).parentsUntil("."+e.menu,"."+e.panel).not("."+e.vertical).first().addClass(e.opened).addClass(e.subopened)}),u.children("."+e.panel).not("."+e.vertical).addClass(e.opened).parentsUntil("."+e.menu,"."+e.panel).not("."+e.vertical).first().addClass(e.opened).addClass(e.subopened);var d=h.filter("."+e.opened);return d.length||(d=l.first()),d.addClass(e.opened).last().addClass(e.current),l.not("."+e.vertical).not(d.last()).addClass(e.hidden).end().filter(function(){return!t(this).parent().hasClass(e.panels)}).appendTo(this.$pnls),l},_initAnchors:function(){var n=this;o.$body.on(s.click+"-oncanvas","a[href]",function(s){var o=t(this),r=!1,l=n.$menu.find(o).length;for(var c in t[a].addons)if(t[a].addons[c].clickAnchor.call(n,o,l)){r=!0;break}var h=o.attr("href");if(!r&&l&&h.length>1&&"#"==h.slice(0,1))try{var u=t(h,n.$menu);u.is("."+e.panel)&&(r=!0,n[o.parent().hasClass(e.vertical)?"togglePanel":"openPanel"](u))}catch(t){}if(r&&s.preventDefault(),!r&&l&&o.is("."+e.listview+" > li > a")&&!o.is('[rel="external"]')&&!o.is('[target="_blank"]')){n.__valueOrFn(n.opts.onClick.setSelected,o)&&n.setSelected(t(s.target).parent());var d=n.__valueOrFn(n.opts.onClick.preventDefault,o,"#"==h.slice(0,1));d&&s.preventDefault(),n.__valueOrFn(n.opts.onClick.close,o,d)&&n.close()}})},_initAddons:function(){var e;for(e in t[a].addons)t[a].addons[e].add.call(this),t[a].addons[e].add=function(){};for(e in t[a].addons)t[a].addons[e].setup.call(this)},_getOriginalMenuId:function(){var t=this.$menu.attr("id");return t&&t.length&&this.conf.clone&&(t=e.umm(t)),t},__api:function(){var e=this,n={};return t.each(this._api,function(t){var s=this;n[s]=function(){var t=e[s].apply(e,arguments);return void 0===t?n:t}}),n},__valueOrFn:function(t,e,n){return"function"==typeof t?t.call(e[0]):void 0===t&&void 0!==n?n:t},__refactorClass:function(t,n,s){return t.filter("."+n).removeClass(n).addClass(e[s])},__findAddBack:function(t,e){return t.find(e).add(t.filter(e))},__filterListItems:function(t){return t.not("."+e.divider).not("."+e.hidden)},__transitionend:function(t,e,n){var o=!1,a=function(){o||e.call(t[0]),o=!0};t.one(s.transitionend,a),t.one(s.webkitTransitionEnd,a),setTimeout(a,1.1*n)},__getUniqueId:function(){return e.mm(t[a].uniqueId++)}},t.fn[a]=function(r,l){return t[a].glbl||(o={$wndw:t(window),$docu:t(document),$html:t("html"),$body:t("body")},e={},n={},s={},t.each([e,n,s],function(t,e){e.add=function(t){t=t.split(" ");for(var n=0,s=t.length;s>n;n++)e[t[n]]=e.mm(t[n])}}),e.mm=function(t){return"mm-"+t},e.add("wrapper menu panels panel nopanel current highest opened subopened navbar hasnavbar title btn prev next listview nolistview inset vertical selected divider spacer hidden fullsubopen"),e.umm=function(t){return"mm-"==t.slice(0,3)&&(t=t.
4slice(3)),t},n.mm=function(t){return"mm-"+t},n.add("parent sub"),s.mm=function(t){return t+".mm"},s.add("transitionend webkitTransitionEnd click scroll keydown mousedown mouseup touchstart touchmove touchend orientationchange"),t[a]._c=e,t[a]._d=n,t[a]._e=s,t[a].glbl=o),r=t.extend(!0,{},t[a].defaults,r),l=t.extend(!0,{},t[a].configuration,l),this.each(function(){var e=t(this);if(!e.data(a)){var n=new t[a](e,r,l);n.$menu.data(a,n.__api())}})},t[a].support={touch:"ontouchstart"in window||navigator.msMaxTouchPoints||!1,csstransitions:function(){if("undefined"!=typeof Modernizr&&void 0!==Modernizr.csstransitions)return Modernizr.csstransitions;var t=(document.body||document.documentElement).style,e="transition";if("string"==typeof t[e])return!0;var n=["Moz","webkit","Webkit","Khtml","O","ms"];e=e.charAt(0).toUpperCase()+e.substr(1);for(var s=0;s<n.length;s++)if("string"==typeof t[n[s]+e])return!0;return!1}()})}(jQuery),function(t){var e,n,s,o,a="mmenu",r="offCanvas";t[a].addons[r]={setup:function(){if(this.opts[r]){var n=this.opts[r],s=this.conf[r];o=t[a].glbl,this._api=t.merge(this._api,["open","close","setPage"]),("top"==n.position||"bottom"==n.position)&&(n.zposition="front"),"string"!=typeof s.pageSelector&&(s.pageSelector="> "+s.pageNodetype),o.$allMenus=(o.$allMenus||t()).add(this.$menu),this.vars.opened=!1;var l=[e.offcanvas];"left"!=n.position&&l.push(e.mm(n.position)),"back"!=n.zposition&&l.push(e.mm(n.zposition)),this.$menu.addClass(l.join(" ")).parent().removeClass(e.wrapper),this.setPage(o.$page),this._initBlocker(),this["_initWindow_"+r](),this.$menu[s.menuInjectMethod+"To"](s.menuWrapperSelector);var c=window.location.hash;if(c){var h=this._getOriginalMenuId();h&&h==c.slice(1)&&this.open()}}},add:function(){e=t[a]._c,n=t[a]._d,s=t[a]._e,e.add("offcanvas slideout blocking modal background opening blocker page"),n.add("style"),s.add("resize")},clickAnchor:function(t,e){if(!this.opts[r])return!1;var n=this._getOriginalMenuId();return n&&t.is('[href="#'+n+'"]')?(this.open(),!0):o.$page?!!((n=o.$page.first().attr("id"))&&t.is('[href="#'+n+'"]'))&&(this.close(),!0):void 0}},t[a].defaults[r]={position:"left",zposition:"back",blockUI:!0,moveBackground:!0},t[a].configuration[r]={pageNodetype:"div",pageSelector:null,noPageSelector:[],wrapPageIfNeeded:!0,menuWrapperSelector:"body",menuInjectMethod:"prepend"},t[a].prototype.open=function(){if(!this.vars.opened){var t=this;this._openSetup(),setTimeout(function(){t._openFinish()},this.conf.openingInterval),this.trigger("open")}},t[a].prototype._openSetup=function(){var a=this,l=this.opts[r];this.closeAllOthers(),o.$page.each(function(){t(this).data(n.style,t(this).attr("style")||"")}),o.$wndw.trigger(s.resize+"-"+r,[!0]);var c=[e.opened];l.blockUI&&c.push(e.blocking),"modal"==l.blockUI&&c.push(e.modal),l.moveBackground&&c.push(e.background),"left"!=l.position&&c.push(e.mm(this.opts[r].position)),"back"!=l.zposition&&c.push(e.mm(this.opts[r].zposition)),this.opts.extensions&&c.push(this.opts.extensions),o.$html.addClass(c.join(" ")),setTimeout(function(){a.vars.opened=!0},this.conf.openingInterval),this.$menu.addClass(e.current+" "+e.opened)},t[a].prototype._openFinish=function(){var t=this;this.__transitionend(o.$page.first(),function(){t.trigger("opened")},this.conf.transitionDuration),o.$html.addClass(e.opening),this.trigger("opening")},t[a].prototype.close=function(){if(this.vars.opened){var s=this;this.__transitionend(o.$page.first(),function(){s.$menu.removeClass(e.current).removeClass(e.opened),o.$html.removeClass(e.opened).removeClass(e.blocking).removeClass(e.modal).removeClass(e.background).removeClass(e.mm(s.opts[r].position)).removeClass(e.mm(s.opts[r].zposition)),s.opts.extensions&&o.$html.removeClass(s.opts.extensions),o.$page.each(function(){t(this).attr("style",t(this).data(n.style))}),s.vars.opened=!1,s.trigger("closed")},this.conf.transitionDuration),o.$html.removeClass(e.opening),this.trigger("close"),this.trigger("closing")}},t[a].prototype.closeAllOthers=function(){o.$allMenus.not(this.$menu).each(function(){var e=t(this).data(a);e&&e.close&&e.close()})},t[a].prototype.setPage=function(n){var s=this,a=this.conf[r];n&&n.length||(n=o.$body.find(a.pageSelector),a.noPageSelector.length&&(n=n.not(a.noPageSelector.join(", "))),n.length>1&&a.wrapPageIfNeeded&&(n=n.wrapAll("<"+this.conf[r].pageNodetype+" />").parent())),n.each(function(){t(this).attr("id",t(this).attr("id")||s.__getUniqueId())}),n.addClass(e.page+" "+e.slideout),o.$page=n,this.trigger("setPage",n)},t[a].prototype["_initWindow_"+r]=function(){o.$wndw.off(s.keydown+"-"+r).on(s.keydown+"-"+r,function(t){return o.$html.hasClass(e.opened)&&9==t.keyCode?(t.preventDefault(),!1):void 0});var t=0;o.$wndw.off(s.resize+"-"+r).on(s.resize+"-"+r,function(n,s){if(1==o.$page.length&&(s||o.$html.hasClass(e.opened))){var a=o.$wndw.height();(s||a!=t)&&(t=a,o.$page.css("minHeight",a))}})},t[a].prototype._initBlocker=function(){var n=this;this.opts[r].blockUI&&(o.$blck||(o.$blck=t('<div id="'+e.blocker+'" class="'+e.slideout+'" />')),o.$blck.appendTo(o.$body).off(s.touchstart+"-"+r+" "+s.touchmove+"-"+r).on(s.touchstart+"-"+r+" "+s.touchmove+"-"+r,function(t){t.preventDefault(),t.stopPropagation(),o.$blck.trigger(s.mousedown+"-"+r)}
4).off(s.mousedown+"-"+r).on(s.mousedown+"-"+r,function(t){t.preventDefault(),o.$html.hasClass(e.modal)||(n.closeAllOthers(),n.close())}))}}(jQuery),function(t){var e,n,s,o="mmenu",a="scrollBugFix";t[o].addons[a]={setup:function(){var r=this,l=this.opts[a];if(this.conf[a],s=t[o].glbl,t[o].support.touch&&this.opts.offCanvas&&this.opts.offCanvas.blockUI&&("boolean"==typeof l&&(l={fix:l}),"object"!=typeof l&&(l={}),(l=this.opts[a]=t.extend(!0,{},t[o].defaults[a],l)).fix)){var c=this.$menu.attr("id"),h=!1;this.bind("opening",function(){this.$pnls.children("."+e.current).scrollTop(0)}),s.$docu.on(n.touchmove,function(t){r.vars.opened&&t.preventDefault()}),s.$body.on(n.touchstart,"#"+c+"> ."+e.panels+"> ."+e.current,function(t){r.vars.opened&&(h||(h=!0,0===t.currentTarget.scrollTop?t.currentTarget.scrollTop=1:t.currentTarget.scrollHeight===t.currentTarget.scrollTop+t.currentTarget.offsetHeight&&(t.currentTarget.scrollTop-=1),h=!1))}).on(n.touchmove,"#"+c+"> ."+e.panels+"> ."+e.current,function(e){r.vars.opened&&t(this)[0].scrollHeight>t(this).innerHeight()&&e.stopPropagation()}),s.$wndw.on(n.orientationchange,function(){r.$pnls.children("."+e.current).scrollTop(0).css({"-webkit-overflow-scrolling":"auto"}).css({"-webkit-overflow-scrolling":"touch"})})}},add:function(){e=t[o]._c,t[o]._d,n=t[o]._e},clickAnchor:function(t,e){}},t[o].defaults[a]={fix:!0}}(jQuery),function(t){var e,n,s="mmenu",o="autoHeight";t[s].addons[o]={setup:function(){if(this.opts.offCanvas){var n=this.opts[o];if(this.conf[o],t[s].glbl,"boolean"==typeof n&&n&&(n={height:"auto"}),"string"==typeof n&&(n={height:n}),"object"!=typeof n&&(n={}),"auto"==(n=this.opts[o]=t.extend(!0,{},t[s].defaults[o],n)).height||"highest"==n.height){this.$menu.addClass(e.autoheight);var a=function(s){if(this.vars.opened){var o=parseInt(this.$pnls.css("top"),10)||0,a=parseInt(this.$pnls.css("bottom"),10)||0,r=0;this.$menu.addClass(e.measureheight),"auto"==n.height?((s=s||this.$pnls.children("."+e.current)).is("."+e.vertical)&&(s=s.parents("."+e.panel).not("."+e.vertical).first()),r=s.outerHeight()):"highest"==n.height&&this.$pnls.children().each(function(){var n=t(this);n.is("."+e.vertical)&&(n=n.parents("."+e.panel).not("."+e.vertical).first()),r=Math.max(r,n.outerHeight())}),this.$menu.height(r+o+a).removeClass(e.measureheight)}};this.bind("opening",a),"highest"==n.height&&this.bind("init",a),"auto"==n.height&&(this.bind("update",a),this.bind("openPanel",a),this.bind("closePanel",a))}}},add:function(){e=t[s]._c,t[s]._d,n=t[s]._e,e.add("autoheight measureheight"),n.add("resize")},clickAnchor:function(t,e){}},t[s].defaults[o]={height:"default"}}(jQuery),function(t){var e,n,s="mmenu",o="backButton";t[s].addons[o]={setup:function(){if(this.opts.offCanvas){var a=this,r=this.opts[o];if(this.conf[o],n=t[s].glbl,"boolean"==typeof r&&(r={close:r}),"object"!=typeof r&&(r={}),(r=t.extend(!0,{},t[s].defaults[o],r)).close){var l="#"+a.$menu.attr("id");this.bind("opened",function(t){location.hash!=l&&history.pushState(null,document.title,l)}),t(window).on("popstate",function(t){n.$html.hasClass(e.opened)?(t.stopPropagation(),a.close()):location.hash==l&&(t.stopPropagation(),a.open())})}}},add:function(){return window.history&&window.history.pushState?(e=t[s]._c,t[s]._d,void t[s]._e):void(t[s].addons[o].setup=function(){})},clickAnchor:function(t,e){}},t[s].defaults[o]={close:!1}}(jQuery),function(t){var e,n,s="mmenu",o="columns";t[s].addons[o]={setup:function(){var a=this.opts[o];if(this.conf[o],n=t[s].glbl,"boolean"==typeof a&&(a={add:a}),"number"==typeof a&&(a={add:!0,visible:a}),"object"!=typeof a&&(a={}),"number"==typeof a.visible&&(a.visible={min:a.visible,max:a.visible}),(a=this.opts[o]=t.extend(!0,{},t[s].defaults[o],a)).add){a.visible.min=Math.max(1,Math.min(6,a.visible.min)),a.visible.max=Math.max(a.visible.min,Math.min(6,a.visible.max)),this.$menu.addClass(e.columns);for(var r=this.opts.offCanvas?this.$menu.add(n.$html):this.$menu,l=[],c=0;c<=a.visible.max;c++)l.push(e.columns+"-"+c);l=l.join(" ");var h=function(){var t=this.$pnls.children("."+e.panel).filter("."+e.opened).length;t=Math.min(a.visible.max,Math.max(a.visible.min,t)),r.removeClass(l).addClass(e.columns+"-"+t)},u=function(n){this.$pnls.children("."+e.panel).removeClass(l).filter("."+e.subopened).removeClass(e.hidden).add(n).slice(-a.visible.max).each(function(n){t(this).addClass(e.columns+"-"+n)})};this.bind("open",h),this.bind("close",function(){this.opts.offCanvas&&n.$html.removeClass(l)}),this.bind("init",function(t){u.call(this,this.$pnls.children("."+e.current)),a.hideNavbars&&t.removeClass(e.hasnavbar)}),this.bind("openPanel",u),this.bind("openingPanel",h),this.bind("openedPanel",h),this.opts.offCanvas||h.call(this)}},add:function(){e=t[s]._c,t[s]._d,t[s]._e,e.add("columns")},clickAnchor:function(n,s){if(!this.opts[o].add)return!1;if(s){var a=n.attr("href");if(a.length>
41&&"#"==a.slice(0,1))try{if(t(a,this.$menu).is("."+e.panel))for(var r=parseInt(n.closest("."+e.panel).attr("class").split(e.columns+"-")[1].split(" ")[0],10)+1;!1!==r;){var l=this.$pnls.children("."+e.columns+"-"+r);if(!l.length){r=!1;break}r++,l.removeClass(e.subopened).removeClass(e.opened).removeClass(e.current).removeClass(e.highest).addClass(e.hidden)}}catch(t){}}}},t[s].defaults[o]={add:!1,visible:{min:1,max:3},hideNavbars:!1}}(jQuery),function(t){var e,n,s="mmenu",o="counters";t[s].addons[o]={setup:function(){var a=this,r=this.opts[o];this.conf[o],t[s].glbl,"boolean"==typeof r&&(r={add:r,update:r}),"object"!=typeof r&&(r={}),r=this.opts[o]=t.extend(!0,{},t[s].defaults[o],r),this.bind("init",function(e){this.__refactorClass(t("em",e),this.conf.classNames[o].counter,"counter")}),r.add&&this.bind("init",function(s){var o;("panels"===r.addTo?s:s.filter(r.addTo)).each(function(){var s=t(this).data(n.parent);s&&(s.children("em."+e.counter).length||s.prepend(t('<em class="'+e.counter+'" />')))})}),r.update&&this.bind("update",function(){this.$pnls.children("."+e.panel).each(function(){var s=t(this),o=s.data(n.parent);if(o){var r=o.children("em."+e.counter);r.length&&(s=s.children("."+e.listview)).length&&r.html(a.__filterListItems(s.children()).length)}})})},add:function(){e=t[s]._c,n=t[s]._d,t[s]._e,e.add("counter search noresultsmsg")},clickAnchor:function(t,e){}},t[s].defaults[o]={add:!1,addTo:"panels",update:!1},t[s].configuration.classNames[o]={counter:"Counter"}}(jQuery),function(t){var e,n,s="mmenu",o="dividers";t[s].addons[o]={setup:function(){var a=this,r=this.opts[o];if(this.conf[o],t[s].glbl,"boolean"==typeof r&&(r={add:r,fixed:r}),"object"!=typeof r&&(r={}),r=this.opts[o]=t.extend(!0,{},t[s].defaults[o],r),this.bind("init",function(e){this.__refactorClass(t("li",this.$menu),this.conf.classNames[o].collapsed,"collapsed")}),r.add&&this.bind("init",function(n){var s;s="panels"===r.addTo?n:n.filter(r.addTo),t("."+e.divider,s).remove(),s.find("."+e.listview).not("."+e.vertical).each(function(){var n="";a.__filterListItems(t(this).children()).each(function(){var s=t.trim(t(this).children("a, span").text()).slice(0,1).toLowerCase();s!=n&&s.length&&(n=s,t('<li class="'+e.divider+'">'+s+"</li>").insertBefore(this))})})}),r.collapse&&this.bind("init",function(n){t("."+e.divider,n).each(function(){var n=t(this);n.nextUntil("."+e.divider,"."+e.collapsed).length&&(n.children("."+e.subopen).length||(n.wrapInner("<span />"),n.prepend('<a href="#" class="'+e.subopen+" "+e.fullsubopen+'" />')))})}),r.fixed){var l=function(n){if((n=n||this.$pnls.children("."+e.current)).find("."+e.divider).not("."+e.hidden).length){this.$menu.addClass(e.hasdividers);var s=n.scrollTop()||0,o="";n.is(":visible")&&n.find("."+e.divider).not("."+e.hidden).each(function(){t(this).position().top+s<s+1&&(o=t(this).text())}),this.$fixeddivider.text(o)}else this.$menu.removeClass(e.hasdividers)};this.$fixeddivider=t('<ul class="'+e.listview+" "+e.fixeddivider+'"><li class="'+e.divider+'"></li></ul>').prependTo(this.$pnls).children(),this.bind("openPanel",l),this.bind("update",l),this.bind("init",function(e){e.off(n.scroll+"-dividers "+n.touchmove+"-dividers").on(n.scroll+"-dividers "+n.touchmove+"-dividers",function(e){l.call(a,t(this))})})}},add:function(){e=t[s]._c,t[s]._d,n=t[s]._e,e.add("collapsed uncollapsed fixeddivider hasdividers"),n.add("scroll")},clickAnchor:function(t,n){if(this.opts[o].collapse&&n){var s=t.parent();if(s.is("."+e.divider)){var a=s.nextUntil("."+e.divider,"."+e.collapsed);return s.toggleClass(e.opened),a[s.hasClass(e.opened)?"addClass":"removeClass"](e.uncollapsed),!0}}return!1}},t[s].defaults[o]={add:!1,addTo:"panels",fixed:!1,collapse:!1},t[s].configuration.classNames[o]={collapsed:"Collapsed"}}(jQuery),function(t){function e(t,e,n){return e>t&&(t=e),t>n&&(t=n),t}var n,s,o="mmenu",a="dragOpen";t[o].addons[a]={setup:function(){if(this.opts.offCanvas){var r=this,l=this.opts[a],c=this.conf[a
4];if(s=t[o].glbl,"boolean"==typeof l&&(l={open:l}),"object"!=typeof l&&(l={}),(l=this.opts[a]=t.extend(!0,{},t[o].defaults[a],l)).open){var h,u,d,p,f,m={},g=0,v=!1,b=!1,_=0,y=0;switch(this.opts.offCanvas.position){case"left":case"right":m.events="panleft panright",m.typeLower="x",m.typeUpper="X",b="width";break;case"top":case"bottom":m.events="panup pandown",m.typeLower="y",m.typeUpper="Y",b="height"}switch(this.opts.offCanvas.position){case"right":case"bottom":m.negative=!0,p=function(t){t>=s.$wndw[b]()-l.maxStartPos&&(g=1)};break;default:m.negative=!1,p=function(t){t<=l.maxStartPos&&(g=1)}}switch(this.opts.offCanvas.position){case"left":m.open_dir="right",m.close_dir="left";break;case"right":m.open_dir="left",m.close_dir="right";break;case"top":m.open_dir="down",m.close_dir="up";break;case"bottom":m.open_dir="up",m.close_dir="down"}f="front"===this.opts.offCanvas.zposition?function(){return this.$menu}:function(){return t("."+n.slideout)};var w=this.__valueOrFn(l.pageNode,this.$menu,s.$page);"string"==typeof w&&(w=t(w)),new Hammer(w[0],l.vendors.hammer).on("panstart",function(t){p(t.center[m.typeLower]),s.$slideOutNodes=f(),v=m.open_dir}).on(m.events+" panend",function(t){g>0&&t.preventDefault()}).on(m.events,function(t){if(h=t["delta"+m.typeUpper],m.negative&&(h=-h),h!=_&&(v=h>=_?m.open_dir:m.close_dir),(_=h)>l.threshold&&1==g){if(s.$html.hasClass(n.opened))return;g=2,r._openSetup(),r.trigger("opening"),s.$html.addClass(n.dragging),y=e(s.$wndw[b]()*c[b].perc,c[b].min,c[b].max)}2==g&&(u=e(_,10,y)-("front"==r.opts.offCanvas.zposition?y:0),m.negative&&(u=-u),d="translate"+m.typeUpper+"("+u+"px )",s.$slideOutNodes.css({"-webkit-transform":"-webkit-"+d,transform:d}))}).on("panend",function(t){2==g&&(s.$html.removeClass(n.dragging),s.$slideOutNodes.css("transform",""),r[v==m.open_dir?"_openFinish":"close"]()),g=0})}}},add:function(){return"function"!=typeof Hammer||Hammer.VERSION<2?void(t[o].addons[a].setup=function(){}):(n=t[o]._c,t[o]._d,t[o]._e,void n.add("dragging"))},clickAnchor:function(t,e){}},t[o].defaults[a]={open:!1,maxStartPos:100,threshold:50,vendors:{hammer:{}}},t[o].configuration[a]={width:{perc:.8,min:140,max:440},height:{perc:.8,min:140,max:880}}}(jQuery),function(t){var e,n,s,o,a="mmenu",r="dropdown";t[a].addons[r]={setup:function(){if(this.opts.offCanvas){var l=this,c=this.opts[r],h=this.conf[r];if(o=t[a].glbl,"boolean"==typeof c&&c&&(c={drop:c}),"object"!=typeof c&&(c={}),"string"==typeof c.position&&(c.position={of:c.position}),(c=this.opts[r]=t.extend(!0,{},t[a].defaults[r],c)).drop){if("string"!=typeof c.position.of){var u=this.$menu.attr("id");u&&u.length&&(this.conf.clone&&(u=e.umm(u)),c.position.of='[href="#'+u+'"]')}if("string"==typeof c.position.of){var d=t(c.position.of);if(d.length){this.$menu.addClass(e.dropdown),c.tip&&this.$menu.addClass(e.tip),c.event=c.event.split(" "),1==c.event.length&&(c.event[1]=c.event[0]),"hover"==c.event[0]&&d.on(s.mouseenter+"-dropdown",function(){l.open()}),"hover"==c.event[1]&&this.$menu.on(s.mouseleave+"-dropdown",function(){l.close()}),this.bind("opening",function(){this.$menu.data(n.style,this.$menu.attr("style")||""),o.$html.addClass(e.dropdown)}),this.bind("closed",function(){this.$menu.attr("style",this.$menu.data(n.style)),o.$html.removeClass(e.dropdown)});var p=function(n,s){var l,u,p=s[0],f=s[1],m="x"==n?"left":"top",g="x"==n?"right":"bottom",v="x"==n?"width":"height",b=null,_=o.$wndw["x"==n?"scrollLeft":"scrollTop"](),y=d.offset()[m]-=_,w=y+d["x"==n?"outerWidth":"outerHeight"](),C=o.$wndw[v](),x=h.offset.button[n]+h.offset.viewport[n];if(c.position[n])switch(c.position[n]){case"left":case"bottom":b="after";break;case"right":case"top":b="before"}return null===b&&(b=C/2>y+(w-y)/2?"after":"before"),"after"==b?(u=C-((l="x"==n?y:w)+x),p[m]=l+h.offset.button[n],p[g]="auto",f.push(e["x"==n?"tipleft":"tiptop"])):(u=(l="x"==n?w:y)-x,p[g]="calc( 100% - "+(l-h.offset.button[n])+"px )",p[m]="auto",f.push(e["x"==n?"tipright":"tipbottom"])),p["x"==n?"maxWidth":"maxHeight"]=Math.min(t[a].configuration[r][v].max,u),[p,f]},f=function(t){if(this.vars.opened){this.$menu.attr("style",this.$menu.data(n.style));var s=[{},[]];s=p.call(this,"y",s),s=p.call(this,"x",s),this.$menu.css(s[0]),c.tip&&this.$menu.removeClass(e.tipleft+" "+e.tipright+" "+e.tiptop+" "+e.tipbottom).addClass(s[1].join(" "))}};this.bind("opening",f),o.$wndw.on(s.resize+"-dropdown",function(t){f.call(l)}),this.opts.offCanvas.blockUI||o.$wndw.on(s.scroll+"-dropdown",function(t){f.call(l)})}}}}},add:function(){e=t[a]._c,n=t[a]._d,s=t[a]._e,e.add("dropdown tip tipleft tipright tiptop tipbottom"),s.add("mouseenter mouseleave resize scroll")},clickAnchor:function(t,e){}},t[a].defaults[r]={drop:!1,event:"click",position:{},tip:!0},t[a].configuration[r]={offset:{button:{x:-10,y:10},viewport:{x:20,y:20}},height:{max:880},width:{max:440}}}(jQuery),function(t){var e,n,s="mmenu",o="fixedElements";t[s].addons[o]={setup:function(){if(this.opts.offCanvas){var e=this.opts[o];this.conf[o],n=t[s].glbl,e=this.opts[o]=t.extend(!0,{},t[s].defaults[o],e);var a=function(t){var e=this.conf.classNames[o].fixed;this.__refactorClass(t.find("."+e),e,"slideout").appendTo(n.$body)};a.call(this,n.$page),this.bind("setPage",a)}},add:function(){e=t[s]._c,t[s]._d,t[s]._e,e.add("fixed")},clickAnchor:function(t,e){}},t[s].configuration.classNames[o]={fixed:"Fixed"}}(jQuery),function(t){var e,n="mmenu",s="iconPanels";t[n].addons[s]={setup:function(){var o=this,a=this.opts[s];if(this.conf[s],t[n].glbl,"boolean"==typeof a&&(a={add:a}),"number"==typeof a&&(a={add:!0,visible:a}),"object"!=typeof a&&(a={}),a=this.opts[s]=t.extend(!0,{}
4,t[n].defaults[s],a),a.visible++,a.add){this.$menu.addClass(e.iconpanel);for(var r=[],l=0;l<=a.visible;l++)r.push(e.iconpanel+"-"+l);r=r.join(" ");var c=function(n){n.hasClass(e.vertical)||o.$pnls.children("."+e.panel).removeClass(r).filter("."+e.subopened).removeClass(e.hidden).add(n).not("."+e.vertical).slice(-a.visible).each(function(n){t(this).addClass(e.iconpanel+"-"+n)})};this.bind("openPanel",c),this.bind("init",function(n){c.call(o,o.$pnls.children("."+e.current)),a.hideNavbars&&n.removeClass(e.hasnavbar),n.not("."+e.vertical).each(function(){t(this).children("."+e.subblocker).length||t(this).prepend('<a href="#'+t(this).closest("."+e.panel).attr("id")+'" class="'+e.subblocker+'" />')})})}},add:function(){e=t[n]._c,t[n]._d,t[n]._e,e.add("iconpanel subblocker")},clickAnchor:function(t,e){}},t[n].defaults[s]={add:!1,visible:3,hideNavbars:!1}}(jQuery),function(t){var e,n="mmenu",s="navbars";t[n].addons[s]={setup:function(){var o=this,a=this.opts[s],r=this.conf[s];if(t[n].glbl,void 0!==a){a instanceof Array||(a=[a]);var l={};for(var c in t.each(a,function(c){var h=a[c];"boolean"==typeof h&&h&&(h={}),"object"!=typeof h&&(h={}),void 0===h.content&&(h.content=["prev","title"]),h.content instanceof Array||(h.content=[h.content]);var u=(h=t.extend(!0,{},o.opts.navbar,h)).position,d=h.height;"number"!=typeof d&&(d=1),d=Math.min(4,Math.max(1,d)),"bottom"!=u&&(u="top"),l[u]||(l[u]=0),l[u]++;var p=t("<div />").addClass(e.navbar+" "+e.navbar+"-"+u+" "+e.navbar+"-"+u+"-"+l[u]+" "+e.navbar+"-size-"+d);l[u]+=d-1;
4for(var f=0,m=0,g=h.content.length;g>m;m++){var v=t[n].addons[s][h.content[m]]||!1;v?f+=v.call(o,p,h,r):((v=h.content[m])instanceof t||(v=t(h.content[m])),p.append(v))}(f+=Math.ceil(p.children().not("."+e.btn).not("."+e.title+"-prev").length/d))>1&&p.addClass(e.navbar+"-content-"+f),p.children("."+e.btn).length&&p.addClass(e.hasbtns),p.prependTo(o.$menu)}),l)o.$menu.addClass(e.hasnavbar+"-"+c+"-"+l[c])}},add:function(){e=t[n]._c,t[n]._d,t[n]._e,e.add("close hasbtns")},clickAnchor:function(t,e){}},t[n].configuration[s]={breadcrumbSeparator:"/"},t[n].configuration.classNames[s]={}}(jQuery),function(t){var e="mmenu";t[e].addons.navbars.breadcrumbs=function(n,s,o){var a=t[e]._c,r=t[e]._d;a.add("breadcrumbs separator");var l=t('<span class="'+a.breadcrumbs+'" />').appendTo(n);this.bind("init",function(e){e.removeClass(a.hasnavbar).each(function(){for(var e=[],n=t(this),s=t('<span class="'+a.breadcrumbs+'"></span>'),l=t(this).children().first(),c=!0;l&&l.length;){l.is("."+a.panel)||(l=l.closest("."+a.panel));var h=l.children("."+a.navbar).children("."+a.title).text();e.unshift(c?"<span>"+h+"</span>":'<a href="#'+l.attr("id")+'">'+h+"</a>"),c=!1,l=l.data(r.parent)}s.append(e.join('<span class="'+a.separator+'">'+o.breadcrumbSeparator+"</span>")).appendTo(n.children("."+a.navbar))})});var c=function(){l.html(this.$pnls.children("."+a.current).children("."+a.navbar).children("."+a.breadcrumbs).html())};return this.bind("openPanel",c),this.bind("init",c),0}}(jQuery),function(t){var e="mmenu";t[e].addons.navbars.close=function(n,s){var o=t[e]._c,a=t[e].glbl,r=t('<a class="'+o.close+" "+o.btn+'" href="#" />').appendTo(n),l=function(t){r.attr("href","#"+t.attr("id"))};return l.call(this,a.$page),this.bind("setPage",l),-1}}(jQuery),function(t){var e="mmenu",n="navbars";t[e].addons[n].next=function(s,o){var a,r,l=t[e]._c,c=t('<a class="'+l.next+" "+l.btn+'" href="#" />').appendTo(s),h=function(t){var e=(t=t||this.$pnls.children("."+l.current)).find("."+this.conf.classNames[n].panelNext);a=e.attr("href"),r=e.html(),c[a?"attr":"removeAttr"]("href",a),c[a||r?"removeClass":"addClass"](l.hidden),c.html(r)};return this.bind("openPanel",h),this.bind("init",function(){h.call(this)}),-1},t[e].configuration.classNames[n].panelNext="Next"}(jQuery),function(t){var e="mmenu",n="navbars";t[e].addons[n].prev=function(s,o){var a=t[e]._c,r=t('<a class="'+a.prev+" "+a.btn+'" href="#" />').appendTo(s);this.bind("init",function(t){t.removeClass(a.hasnavbar).children("."+a.navbar).addClass(a.hidden)});var l,c,h=function(t){if(!(t=t||this.$pnls.children("."+a.current)).hasClass(a.vertical)){var e=t.find("."+this.conf.classNames[n].panelPrev);e.length||(e=t.children("."+a.navbar).children("."+a.prev)),l=e.attr("href"),c=e.html(),r[l?"attr":"removeAttr"]("href",l),r[l||c?"removeClass":"addClass"](a.hidden),r.html(c)}};return this.bind("openPanel",h),this.bind("init",function(){h.call(this)}),-1},t[e].configuration.classNames[n].panelPrev="Prev"}(jQuery),function(t){var e="mmenu";t[e].addons.navbars.searchfield=function(n,s){var o=t[e]._c,a=t('<div class="'+o.search+'" />').appendTo(n);return"object"!=typeof this.opts.searchfield&&(this.opts.searchfield={}),this.opts.searchfield.add=!0,this.opts.searchfield.addTo=a,0}}(jQuery),function(t){var e="mmenu",n="navbars";t[e].addons[n].title=function(s,o){var a,r,l=t[e]._c,c=t('<a class="'+l.title+'" />').appendTo(s),h=function(t){if(!(t=t||this.$pnls.children("."+l.current)).hasClass(l.vertical)){var e=t.find("."+this.conf.classNames[n].panelTitle);e.length||(e=t.children("."+l.navbar).children("."+l.title)),a=e.attr("href"),r=e.html()||o.title,c[a?"attr":"removeAttr"]("href",a),c[a||r?"removeClass":"addClass"](l.hidden),c.html(r)}};return this.bind("openPanel",h),this.bind("init",function(t){h.call(this)}),0},t[e].configuration.classNames[n].panelTitle="Title"}(jQuery),function(t){function e(t,e,n){t.prop("aria-"+e,n)[n?"attr":"removeAttr"]("aria-"+e,"true")}function n(t){return'<span class="'+s.sronly+'">'+t+"</span>"}var s,o="mmenu",a="screenReader";t[o].addons[a]={setup:function(){var r=this.opts[a],l=this.conf[a
4];if(t[o].glbl,"boolean"==typeof r&&(r={aria:r,text:r}),"object"!=typeof r&&(r={}),(r=this.opts[a]=t.extend(!0,{},t[o].defaults[a],r)).aria){if(this.opts.offCanvas){var c=function(){e(this.$menu,"hidden",!0)};this.bind("open",function(){e(this.$menu,"hidden",!1)}),this.bind("close",c),c.call(this)}var h=function(){e(this.$menu.find("."+s.hidden),"hidden",!0),e(this.$menu.find('[aria-hidden="true"]').not("."+s.hidden),"hidden",!1)};this.bind("update",h),this.bind("openPanel",h),this.bind("openPanel",function(t){e(this.$pnls.children("."+s.panel).not(t).not("."+s.hidden),"hidden",!0),e(t,"hidden",!1)});var u=function(t){e(t.find("."+s.prev+", ."+s.next),"haspopup",!0)};this.bind("init",u),u.call(this,this.$menu.children("."+s.navbar))}if(r.text){var d=function(e){e.children("."+s.navbar).children("."+s.prev).html(n(l.text.closeSubmenu)).end().children("."+s.next).html(n(l.text.openSubmenu)).end().children("."+s.close).html(n(l.text.closeMenu)),e.is("."+s.panel)&&e.find("."+s.listview).find("."+s.next).each(function(){t(this).html(n(l.text[t(this).parent().is("."+s.vertical)?"toggleSubmenu":"openSubmenu"]))})};this.bind("init",d),d.call(this,this.$menu)}},add:function(){s=t[o]._c,t[o]._d,t[o]._e,s.add("sronly")},clickAnchor:function(t,e){}},t[o].defaults[a]={aria:!1,text:!1},t[o].configuration[a]={text:{closeMenu:"Close menu",closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}}}(jQuery),function(t){var e,n,s,o="mmenu",a="searchfield";t[o].addons[a]={setup:function(){var r=this,l=this.opts[a],c=this.conf[a
4];t[o].glbl,"boolean"==typeof l&&(l={add:l}),"object"!=typeof l&&(l={}),"boolean"==typeof l.resultsPanel&&(l.resultsPanel={add:l.resultsPanel}),l=this.opts[a]=t.extend(!0,{},t[o].defaults[a],l),c=this.conf[a]=t.extend(!0,{},t[o].configuration[a],c),this.bind("close",function(){this.$menu.find("."+e.search).find("input").blur()}),this.bind("init",function(o){if(l.add){var h;if(("panels"===l.addTo?o:this.$menu.find(l.addTo)).each(function(){var n=t(this);if(!n.is("."+e.panel)||!n.is("."+e.vertical)){if(!n.children("."+e.search).length){var o,a=r.__valueOrFn(c.clear,n),h=r.__valueOrFn(c.form,n),u=r.__valueOrFn(c.input,n),d=r.__valueOrFn(c.submit,n),p=t("<"+(h?"form":"div")+' class="'+e.search+'" />'),f=t('<input placeholder="'+l.placeholder+'" type="text" autocomplete="off" />');if(p.append(f),u)for(o in u)f.attr(o,u[o]);if(a&&t('<a class="'+e.btn+" "+e.clear+'" href="#" />').appendTo(p).on(s.click+"-searchfield",function(t){t.preventDefault(),f.val("").trigger(s.keyup+"-searchfield")}),h){for(o in h)p.attr(o,h[o]);d&&!a&&t('<a class="'+e.btn+" "+e.next+'" href="#" />').appendTo(p).on(s.click+"-searchfield",function(t){t.preventDefault(),p.submit()})}n.hasClass(e.search)?n.replaceWith(p):n.prepend(p).addClass(e.hassearch)}if(l.noResults&&(n.closest("."+e.panel).length||(n=r.$pnls.children("."+e.panel).first()),!n.children("."+e.noresultsmsg).length)){var m=n.children("."+e.listview).first();t('<div class="'+e.noresultsmsg+" "+e.hidden+'" />').append(l.noResults)[m.length?"insertAfter":"prependTo"](m.length?m:n)}}}),l.search){if(l.resultsPanel.add){l.showSubPanels=!1;var u=this.$pnls.children("."+e.resultspanel);u.length||(u=t('<div class="'+e.panel+" "+e.resultspanel+" "+e.hidden+'" />').appendTo(this.$pnls).append('<div class="'+e.navbar+" "+e.hidden+'"><a class="'+e.title+'">'+l.resultsPanel.title+"</a></div>").append('<ul class="'+e.listview+'" />').append(this.$pnls.find("."+e.noresultsmsg).first().clone()),this.init(u))}this.$menu.find("."+e.search).each(function(){var o,c,h=t(this),d=h.closest("."+e.panel).length;d?c=o=h.closest("."+e.panel):(o=t("."+e.panel,r.$menu),c=r.$menu),l.resultsPanel.add&&(o=o.not(u));var p=h.children("input"),f=r.__findAddBack(o,"."+e.listview).children("li"),m=f.filter("."+e.divider),g=r.__filterListItems(f),v="",b=function(){var s=p.val().toLowerCase();if(s!=v){if(v=s,l.resultsPanel.add&&u.children("."+e.listview).empty(),o.scrollTop(0),g.add(m).addClass(e.hidden).find("."+e.fullsubopensearch).removeClass(e.fullsubopen+" "+e.fullsubopensearch),g.each(function(){var s=t(this),o="a";(l.showTextItems||l.showSubPanels&&s.find("."+e.next))&&(o="a, span"),(s.data(n.searchtext)||s.children(o).text()).toLowerCase().indexOf(v)>-1&&s.add(s.prevAll("."+e.divider).first()).removeClass(e.hidden)}),l.showSubPanels&&o.each(function(s){var o=t(this);r.__filterListItems(o.find("."+e.listview).children()).each(function(){var s=t(this),o=s.data(n.sub);s.removeClass(e.nosubresults),o&&o.find("."+e.listview).children().removeClass(e.hidden)})}),l.resultsPanel.add){if(""===v)this.closeAllPanels(),this.openPanel(this.$pnls.children("."+e.subopened).last());else{var a=t();o.each(function(){var n=r.__filterListItems(t(this).find("."+e.listview).children()).not("."+e.hidden).clone(!0);n.length&&(l.resultsPanel.dividers&&(a=a.add('<li class="'+e.divider+'">'+t(this).children("."+e.navbar).text()+"</li>")),a=a.add(n))}),a.find("."+e.next).remove(),u.children("."+e.listview).append(a),this.openPanel(u)}}else t(o.get().reverse()).each(function(s){var o=t(this),a=o.data(n.parent);a&&(r.__filterListItems(o.find("."+e.listview).children()).length?(a.hasClass(e.hidden)&&a.children("."+e.next).not("."+e.fullsubopen).addClass(e.fullsubopen).addClass(e.fullsubopensearch),a.removeClass(e.hidden).removeClass(e.nosubresults).prevAll("."+e.divider).first().removeClass(e.hidden)):d||(o.hasClass(e.opened)&&setTimeout(function(){r.openPanel(a.closest("."+e.panel))},(s+1)*(1.5*r.conf.openingInterval)),a.addClass(e.nosubresults)))});c.find("."+e.noresultsmsg)[g.not("."+e.hidden).length?"addClass":"removeClass"](e.hidden),this.update()}};p.off(s.keyup+"-"+a+" "+s.change+"-"+a).on(s.keyup+"-"+a,function(t){(function(t){switch(t){case 9:case 16:case 17:case 18:case 37:case 38:case 39:case 40:return!0}return!1})(t.keyCode)||b.call(r)}).on(s.change+"-"+a,function(t){b.call(r)});var _=h.children("."+e.btn);_.length&&p.on(s.keyup+"-"+a,function(t){_[p.val().length?"removeClass":"addClass"](e.hidden)}),p.trigger(s.keyup+"-"+a)})}}})},add:function(){e=t[o]._c,n=t[o]._d,s=t[o]._e,e.add("clear search hassearch resultspanel noresultsmsg noresults nosubresults fullsubopensearch"),n.add("searchtext"),s.add("change keyup")},clickAnchor:function(t,e){}},t[o].defaults[a]={add:!1,addTo:"panels",placeholder:"Search",noResults:"No results found.",resultsPanel:{add:!1,dividers:!0,title:"Search results"},search:!0,showTextItems:!1,showSubPanels:!0},t[o].configuration[a]={clear:!1,form:!1,input:!1,submit:!1}}(jQuery),function(t){var e,n,s="mmenu",o="sectionIndexer";t[s].addons[o]={setup:function(){var a=this,r=this.opts[o];this.conf[o],t[s].glbl,"boolean"==typeof r&&(r={add:r}),"object"!=typeof r&&(r={}),r=this.opts[o]=t.extend(!0,{},t[s].defaults[o],r),this.bind("init",function(s){if(r.add){var o;("panels"===r.addTo?s:t(r.addTo,this.$menu).filter("."+e.panel)).find("."+e.divider).closest("."+e.panel).addClass(e.hasindexer)}if(!this.$indexer&&this.$pnls.children("."+e.hasindexer).length){this.$indexer=t('<div class="'+e.indexer+'" />').prependTo(this.$pnls).append('<a href="#a">a</a><a href="#b">b</a><a href="#c">c</a><a href="#d">d</a><a href="#e">e</a><a href="#f">f</a><a href="#g">g</a><a href="#h">h</a><a href="#i">i</a><a href="#j">j</a><a href="#k">k</a><a href="#l">l</a><a href="#m">m</a><a href="#n">n</a><a href="#o">o</a><a href="#p">p</a><a href="#q">q</a><a href="#r">r</a><a href="#s">s</a><a href="#t">t</a><a href="#u">u</a><a href="#v">v</a><a href="#w">w</a><a href="#x">x</a><a href="#y">y</a><a href="#z">z</a>
4'),this.$indexer.children().on(n.mouseover+"-sectionindexer "+e.touchstart+"-sectionindexer",function(n){var s=t(this).attr("href").slice(1),o=a.$pnls.children("."+e.current),r=o.find("."+e.listview),l=!1,c=o.scrollTop();o.scrollTop(0),r.children("."+e.divider).not("."+e.hidden).each(function(){!1===l&&s==t(this).text().slice(0,1).toLowerCase()&&(l=t(this).position().top)}),o.scrollTop(!1!==l?l:c)});var l=function(t){a.$menu[(t.hasClass(e.hasindexer)?"add":"remove")+"Class"](e.hasindexer)};this.bind("openPanel",l),l.call(this,this.$pnls.children("."+e.current))}})},add:function(){e=t[s]._c,t[s]._d,n=t[s]._e,e.add("indexer hasindexer"),n.add("mouseover touchstart")},clickAnchor:function(t,n){return!!t.parent().is("."+e.indexer)||void 0}},t[s].defaults[o]={add:!1,addTo:"panels"}}(jQuery),function(t){var e,n,s="mmenu",o="setSelected";t[s].addons[o]={setup:function(){var a=this.opts[o];if(this.conf[o],t[s].glbl,"boolean"==typeof a&&(a={hover:a,parent:a}),"object"!=typeof a&&(a={}),(a=this.opts[o]=t.extend(!0,{},t[s].defaults[o],a)).current||this.bind("init",function(t){t.find("."+e.listview).children("."+e.selected).removeClass(e.selected)}),a.hover&&this.$menu.addClass(e.hoverselected),a.parent){this.$menu.addClass(e.parentselected);var r=function(t){this.$pnls.find("."+e.listview).find("."+e.next).removeClass(e.selected);for(var s=t.data(n.parent);s&&s.length;)s=s.children("."+e.next).addClass(e.selected).closest("."+e.panel).data(n.parent)};this.bind("openedPanel",r),this.bind("init",function(t){r.call(this,this.$pnls.children("."+e.current))})}},add:function(){e=t[s]._c,n=t[s]._d,t[s]._e,e.add("hoverselected parentselected")},clickAnchor:function(t,e){}},t[s].defaults[o]={current:!0,hover:!1,parent:!1}}(jQuery),function(t){var e,n="mmenu",s="toggles";t[n].addons[s]={setup:function(){var o=this;this.opts[s],this.conf[s],t[n].glbl,this.bind("init",function(n){this.__refactorClass(t("input",n),this.conf.classNames[s].toggle,"toggle"),this.__refactorClass(t("input",n),this.conf.classNames[s].check,"check"),t("input."+e.toggle+", input."+e.check,n).each(function(){var n=t(this),s=n.closest("li"),a=n.hasClass(e.toggle)?"toggle":"check",r=n.attr("id")||o.__getUniqueId();s.children('label[for="'+r+'"]').length||(n.attr("id",r),s.prepend(n),t('<label for="'+r+'" class="'+e[a]+'"></label>').insertBefore(s.children("a, span").last()))})})},add:function(){e=t[n]._c,t[n]._d,t[n]._e,e.add("toggle check")},clickAnchor:function(t,e){}},t[n].configuration.classNames[s]={toggle:"Toggle",check:"Check"}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=Array.prototype.slice,n=Array.prototype.splice,s={topSpacing:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!1,getWidthFrom:"",widthFromWrapper:!0,responsiveWidth:!1,zIndex:1e3},o=t(window),a=t(document),r=[],l=o.height(),c=function(){for(var e=o.scrollTop(),n=a.height(),s=n-l,c=e>s?s-e:0,h=0,u=r.length;h<u;h++){var d=r[h],p=d.stickyWrapper.offset().top-d.topSpacing-c;if(d.stickyWrapper.css("height",d.stickyElement.outerHeight()),e<=p)null!==d.currentTop&&(d.stickyElement.css({width:"",position:"",top:"","z-index":""}),d.stickyElement.parent().removeClass(d.className),d.stickyElement.trigger("sticky-end",[d]),d.currentTop=null);else{var f,m=n-d.stickyElement.outerHeight()-d.topSpacing-d.bottomSpacing-e-c;m<0?m+=d.topSpacing:m=d.topSpacing,d.currentTop!==m&&(d.getWidthFrom?f=t(d.getWidthFrom).width()||null:d.widthFromWrapper&&(f=d.stickyWrapper.width()),null==f&&(f=d.stickyElement.width()),d.stickyElement.css("width",f).css("position","fixed").css("top",m).css("z-index",d.zIndex),d.stickyElement.parent().addClass(d.className),null===d.currentTop?d.stickyElement.trigger("sticky-start",[d]):d.stickyElement.trigger("sticky-update",[d]),d.currentTop===d.topSpacing&&d.currentTop>m||null===d.currentTop&&m<d.topSpacing?d.stickyElement.trigger("sticky-bottom-reached",[d]):null!==d.currentTop&&m===d.topSpacing&&d.currentTop<m&&d.stickyElement.trigger("sticky-bottom-unreached",[d]),d.currentTop=m);var g=d.stickyWrapper.parent();d.stickyElement.offset().top+d.stickyElement.outerHeight()>=g.offset().top+g.outerHeight()&&d.stickyElement.offset().top<=d.topSpacing?d.stickyElement.css("position","absolute").css("top","").css("bottom",0).css("z-index",""):d.stickyElement.css("position","fixed").css("top",m).css("bottom","").css("z-index",d.zIndex)}}},h=function(){l=o.height();for(var e=0,n=r.length;e<n;e++){var s=r[e],a=null;s.getWidthFrom?s.responsiveWidth&&(a=t(s.getWidthFrom).width()):s.widthFromWrapper&&(a=s.stickyWrapper.width()),null!=a&&s.stickyElement.css("width",a)}},u={init:function(e){var n=t.extend({},s,e);return this.each(function(){var e=t(this),o=e.attr("id"),a=o?o+"-"+s.wrapperClassName:s.wrapperClassName,l=t("<div></div>").attr("id",a).addClass(n.wrapperClassName);e.wrapAll(function(){if(0==t(this).parent("#"+a).length)return l});var c=e.parent();n.center&&c.css({width:e.outerWidth(),marginLeft:"auto",marginRight:"auto"}),"right"===e.css("float")&&e.css({float:"none"}).parent().css({float:"right"}),n.stickyElement=e,n.stickyWrapper=c,n.currentTop=null,r.push(n),u.setWrapperHeight(this),u.setupChangeListeners(this)})},setWrapperHeight:function(e){var n=t(e),s=n.parent();s&&s.css("height",n.outerHeight())},setupChangeListeners:function(t){window.MutationObserver?new window.MutationObserver(function(e){(e[0].addedNodes.length||e[0].removedNodes.length)&&u.setWrapperHeight(t)}).observe(t,{subtree:!0,childList:!0}):window.addEventListener?(t.addEventListener("DOMNodeInserted",function(){u.setWrapperHeight(t)},!1),t.addEventListener("DOMNodeRemoved",function(){u.setWrapperHeight(t)},!1)):window.attachEvent&&(t.attachEvent("onDOMNodeInserted",function(){u.setWrapperHeight(t)}),t.attachEvent("onDOMNodeRemoved",function(){u.setWrapperHeight(t)}))},update:c,unstick:function(e){return this.each(function(){for(var e=t
4(this),s=-1,o=r.length;o-- >0;)r[o].stickyElement.get(0)===this&&(n.call(r,o,1),s=o);-1!==s&&(e.unwrap(),e.css({width:"",position:"",top:"",float:"","z-index":""}))})}};window.addEventListener?(window.addEventListener("scroll",c,!1),window.addEventListener("resize",h,!1)):window.attachEvent&&(window.attachEvent("onscroll",c),window.attachEvent("onresize",h)),t.fn.sticky=function(n){return u[n]?u[n].apply(this,e.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.sticky"):u.init.apply(this,arguments)},t.fn.unstick=function(n){return u[n]?u[n].apply(this,e.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.sticky"):u.unstick.apply(this,arguments)},t(function(){setTimeout(c,0)})}),jQuery.fn.contactNumberWrapper=function(){this.each(function(){console.log("contactNumberWrapper plugin is not needed anymore. Please remove it from theme")})},function(t){t.fn.desktopDropNav=function(e){var n=t.extend({openCloseClass:"open-close",openerClass:"opener",slideClass:"slide"},e);return this.each(function(){t(this).find("ul").length&&t(this).find("ul").each(function(){var e=t(this).closest("li");e.addClass(n.openCloseClass).children("div").addClass(n.slideClass),function(e,n,s){t(e).addClass(n).appendTo(s)}("<span>",n.openerClass,e.children("a"))})})}}(jQuery),function(t){function e(e){this.options=t.extend({dropDown:">li>ul",fitClass:"set-right"},e),this.init()}e.prototype={init:function(){this.findElements(),this.detectOffset()},findElements:function(){this.holder=t(this.options.holder),this.dropdown=this.holder.find(this.options.dropDown),this.dropdownParent=this.dropdown.parents("li")},detectOffset:function(){var e=this,n=e.holder.width(),s=e.holder.offset().left;e.dropdownParent.each(function(){Math.round(t(this).offset().left)>=s&&n<=Math.round(t(this).offset().left)-s+e.dropdown.width()&&t(this).addClass(e.options.fitClass)})},destroy:function(){this.dropdownParent.removeClass(this.options.fitClass),this.holder.removeData("dropdownFit")}},t.fn.dropdownFit=function(n){return this.each(function(){t(this).data("dropdownFit",new e(t.extend(n,{holder:this})))})}}(jQuery),function(t,e){function n(t,e){return t.innerHeight()>e.maxHeight}function s(e,n){for(;t.inArray(e.slice(-1),n.lastCharacter.remove)>-1;)e=e.slice(0,-1);return 0>t.inArray(e.slice(-1),n.lastCharacter.noEllipsis)&&(e+=n.ellipsis),e}function o(t){return{width:t.innerWidth(),height:t.innerHeight()}}function a(t,e){t.innerText?t.innerText=e:t.nodeValue?t.nodeValue=e:t.textContent&&(t.textContent=e)}function r(t){return t.innerText?t.innerText:t.nodeValue?t.nodeValue:t.textContent?t.textContent:""}function l(t){do t=t.previousSibling;while(t&&1!==t.nodeType&&3!==t.nodeType);return t}function c(e,n,s){var o,a=e&&e[0];if(a){if(!s){if(3===a.nodeType)return a;
4if(t.trim(e.text()))return c(e.contents().last(),n)}for(o=l(a);!o;){if((e=e.parent()).is(n)||!e.length)return!1;o=l(e[0])}if(o)return c(t(o),n)}return!1}if(!t.fn.dotdotdot){t.fn.dotdotdot=function(e){if(0==this.length)return t.fn.dotdotdot.debug('No element found for "'+this.selector+'".'),this;if(this.length>1)return this.each(function(){t(this).dotdotdot(e)});var l,u=this,d=u.contents();u.data("dotdotdot")&&u.trigger("destroy.dot"),u.data("dotdotdot-style",u.attr("style")||""),u.css("word-wrap","break-word"),"nowrap"===u.css("white-space")&&u.css("white-space","normal"),u.bind_events=function(){return u.bind("update.dot",function(e,o){switch(u.removeClass("is-truncated"),e.preventDefault(),e.stopPropagation(),typeof p.height){case"number":p.maxHeight=p.height;break;case"function":p.maxHeight=p.height.call(u[0]);break;default:p.maxHeight=function(t){for(var e=t.innerHeight(),n=["paddingTop","paddingBottom"],s=0,o=n.length;o>s;s++){var a=parseInt(t.css(n[s]),10);isNaN(a)&&(a=0),e-=a}return e}(u)}p.maxHeight+=p.tolerance,void 0!==o&&(("string"==typeof o||"nodeType"in o&&1===o.nodeType)&&(o=t("<div />").append(o).contents()),o instanceof t&&(d=o)),(v=u.wrapInner('<div class="dotdotdot" />').children()).contents().detach().end().append(d.clone(!0)).find("br").replaceWith("  <br />  ").end().css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var l=!1,h=!1;return f.afterElement&&((l=f.afterElement.clone(!0)).show(),f.afterElement.detach()),n(v,p)&&(h="children"==p.wrap?function(t,e,s){var o=t.children(),a=!1;t.empty();for(var r=0,l=o.length;l>r;r++){var c=o.eq(r);if(t.append(c),s&&t.append(s),n(t,e)){c.remove(),a=!0;break}s&&s.detach()}return a}(v,p,l):function e(o,l,h,u,d){var p=!1;return o.contents().detach().each(function(){var f=t(this);if(void 0===this)return!0;if(f.is("script, .dotdotdot-keep"))o.append(f);else{if(p)return!0;o.append(f),!d||f.is(u.after)||f.find(u.after).length||o[o.is("a, table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style")?"after":"append"](d),n(h,u)&&(p=3==this.nodeType?function(e,o,l,h,u){var d=e[0];if(!d)return!1;var p=r(d),f=-1!==p.indexOf(" ")?" ":" ",m="letter"==h.wrap?"":f,g=p.split(m),v=-1,b=-1,_=0,y=g.length-1;for(h.fallbackToLetter&&0==_&&0==y&&(m="",y=(g=p.split(m)).length-1);y>=_&&(0!=_||0!=y);){var w=Math.floor((_+y)/2);if(w==b)break;b=w,a(d,g.slice(0,b+1).join(m)+h.ellipsis),l.children().each(function(){t(this).toggle().toggle()}),n(l,h)?(y=b,h.fallbackToLetter&&0==_&&0==y&&(m="",g=g[0].split(m),v=-1,b=-1,_=0,y=g.length-1)):(v=b,_=b)}if(-1==v||1==g.length&&0==g[0].length){var C=e.parent();e.detach();var x=u&&u.closest(C).length?u.length:0;if(C.contents().length>x?d=c(C.contents().eq(-1-x),o):(d=c(C,o,!0),x||C.detach()),d&&(p=s(r(d),h),a(d,p),x&&u)){var k=u.parent();t(d).parent().append(u),t.trim(k.html())||k.remove()}}else a(d,p=s(g.slice(0,v+1).join(m),h));return!0}(f,l,h,u,d):e(f,l,h,u,d)),p||d&&d.detach()}}),l.addClass("is-truncated"),p}(v,u,v,p,l)),v.replaceWith(v.contents()),v=null,t.isFunction(p.callback)&&p.callback.call(u[0],h,d),f.isTruncated=h,h}).bind("isTruncated.dot",function(t,e){return t.preventDefault(),t.stopPropagation(),"function"==typeof e&&e.call(u[0],f.isTruncated),f.isTruncated}).bind("originalContent.dot",function(t,e){return t.preventDefault(),t.stopPropagation(),"function"==typeof e&&e.call(u[0],d),d}).bind("destroy.dot",function(t){t.preventDefault(),t.stopPropagation(),u.unwatch().unbind_events().contents().detach().end().append(d).attr("style",u.data("dotdotdot-style")||"").removeClass("is-truncated").data("dotdotdot",!1)}),u},u.unbind_events=function(){return u.unbind(".dot"),u},u.watch=function(){if(u.unwatch(),"window"==p.watch){var e=t(window),n=e.width(),s=e.height();e.bind("resize.dot"+f.dotId,function(){n==e.width()&&s==e.height()&&p.windowResizeFix||(n=e.width(),s=e.height(),g&&clearInterval(g),g=setTimeout(function(){u.trigger("update.dot")},100))})}else m=o(u),g=setInterval(function(){if(u.is(":visible")){var t=o(u);m.width==t.width&&m.height==t.height||(u.trigger("update.dot"),m=t)}},500);return u},u.unwatch=function(){return t(window).unbind("resize.dot"+f.dotId),g&&clearInterval(g),u};var p=t.extend(!0,{},t.fn.dotdotdot.defaults,e),f={},m={},g=null,v=null;return p.lastCharacter.remove instanceof Array||(p.lastCharacter.remove=t.fn.dotdotdot.defaultArrays.lastCharacter.remove),p.lastCharacter.n
4oEllipsis instanceof Array||(p.lastCharacter.noEllipsis=t.fn.dotdotdot.defaultArrays.lastCharacter.noEllipsis),f.afterElement=!!(l=p.after)&&("string"==typeof l?!!(l=t(l,u)).length&&l:!!l.jquery&&l),f.isTruncated=!1,f.dotId=h++,u.data("dotdotdot",!0).bind_events().trigger("update.dot"),p.watch&&u.watch(),u},t.fn.dotdotdot.defaults={ellipsis:"... ",wrap:"word",fallbackToLetter:!0,lastCharacter:{},tolerance:0,callback:null,after:null,height:null,watch:!1,windowResizeFix:!0},t.fn.dotdotdot.defaultArrays={lastCharacter:{remove:[" "," ",",",";",".","!","?"],noEllipsis:[]}},t.fn.dotdotdot.debug=function(t){};var h=1,u=t.fn.html;t.fn.html=function(n){return n!=e&&!t.isFunction(n)&&this.data("dotdotdot")?this.trigger("update",[n]):u.apply(this,arguments)};var d=t.fn.text;t.fn.text=function(n){return n!=e&&!t.isFunction(n)&&this.data("dotdotdot")?(n=t("<div />").text(n).html(),this.trigger("update",[n])):d.apply(this,arguments)}}}(jQuery),jQuery(document).ready(function(t){t(".dot-ellipsis").each(function(){var e=t(this).hasClass("dot-resize-update"),n=t(this).hasClass("dot-timer-update"),s=0,o=t(this).attr("class").split(/\s+/);t.each(o,function(t,e){var n=e.match(/^dot-height-(\d+)$/);null!==n&&(s=Number(n[1]))});var a={};n&&(a.watch=!0),e&&(a.watch="window"),s>0&&(a.height=s),t(this).dotdotdot(a)})}),jQuery(window).on("load",function(){jQuery(".dot-ellipsis.dot-load-update").trigger("update.dot")});var mql=window.matchMedia("(orientation: portrait)");function moreNav(){var t=$(".navigation").find("ul"),e="sublevel-";if(t.length&&t.children(".more").find("ul").parent().is("div")){var n=t.children(".more").find("ul");n.parent("div").children().unwrap(),n.each(function(){var t=$(this),n=t.parents("ul").length;n>0&&t.wrap(function(){return'<div class="'+e+n+'"></div>'})})}else t.length&&!t.children(".more").find("ul").parent().is("div")&&t.children(".more").find("ul").each(function(){var t=$(this),n=t.parents("ul").length;n>0&&t.wrap(function(){return'<div class="'+e+n+'"></div>'})});t.children(".more").on("click","> a",function(t){t.preventDefault()})}function navigationSublevelWrap(t,e){t.each(function(){var t=$(this),n=t.parents("ul").length;n>0&&t.wrap(function(){return'<div class="'+e+n+'"></div>'})})}mql&&mql.addListener(function(t){$(window).trigger("resize")}),function(t){function e(e){this.options=t.extend({place:"",move:"inside",setClass:!1},e),this.init()}e.prototype={init:function(){this.options.holder&&(this.findElements(),this.setAnchor(),this.move(),this.setClass())},findElements:function(){this.elements={holder:t(this.options.holder),place:t(this.options.place)}},setAnchor:function(){this.anchorElem=t("<span>"),this.anchorElem.attr("data-anchor-id",this.elements.holder.data("moved-id")).insertBefore(this.elements.holder).css("display","none")},move:function(){var t=this,e={after:function(){t.elements.holder.insertAfter(t.elements.place)},before:function(){t.elements.holder.insertBefore(t.elements.place)},inside:function(){t.elements.place.prepend(t.elements.holder)}};void 0!==e[this.options.move]?e[this.options.move]():e.inside()},setClass:function(){this.options.setClass&&this.elements.holder.addClass(this.options.setClass)},destroy:function(){this.elements.holder.insertAfter(this.anchorElem).removeClass(this.options.setClass).removeData("moveElement"),this.anchorElem.remove(),n=[]}},t.fn.moveElement=function(s){return this.each(function(){n.push(this),t.each(n,function(e,s){e===n.length-1&&t(s).attr("data-moved-id",e+1)}),t(this).data("moveElement",new e(t.extend(s,{holder:this})))})};var n=[]}(jQuery),function(t){function e(e){this.options=t.extend({hoverElem:">li",setOnElem:"body",hoverClass:"active"},e),this.init()}e.prototype={init:function(){this.findElements(),this.controlClass()},findElements:function(){this.holder=t(this.options.holder),this.hoverElem=this.holder.find(this.options.hoverElem),this.setOnElem=t(this.options.setOnElem)},controlClass:function(){var e=this,n="ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch,s=/Windows Phone/.test(navigator.userAgent),o=n&&"touchstart"||s&&navigator.pointerEnabled&&"pointerdown"||s&&navigator.msPointerEnabled&&"MSPointerDown"||"mouseenter";n||s?(preventHandler=function(t){t.preventDefault()},this.hoverElem.on(o,function(){var n=function(s){var a=t(s.target);a.is(e.hoverElem)||a.closest(e.hoverElem).length||(e.hoverElem.off("click",preventHandler),t(document).off(o,n),e.setOnElem.removeClass(e.options.hoverClass))};e.setOnElem.hasClass(e.options.hoverClass)||(e.hoverElem.one("click",preventHandler),t(document).on(o,n),e.setOnElem.addClass(e.options.hoverClass))})):this.hoverElem.hover(function(){e.setClass()},function(){e.deleteClass()})},setClass:function(){if(!this.setOnElem.hasClass(this.options.hoverClass))return this.setOnElem.addClass(this.options.hoverClass)},deleteClass:function(){if(this.setOnElem.hasClass(this.options.hoverClass))return this.setOnElem.removeClass(this.options.hoverClass)}},t.fn.setClassOnHover=function(n){return this.each(function(){t(this).data("setClassOnHover",new e(t.extend(n,{holder:this})))})}}(jQuery),function(t){t.fn.slideAccordion=function(s){var o=t.extend({addClassBeforeAnimation:!1,allowClickWhenExpanded:!1,activeClass:"active",opener:".opener",slider:".slide",animSpeed:300,collapsible:!0,closeInactive:!1,event:"click"},s);return this.each(function(){t(this).find(":has("+o.slider+")").each(function(){var s=t(this),a=s.find(o.opener),r=s.find(o.slider);a.bind(o.event,function(t){if(!r.is(":animated")){if(s.hasClass(o.activeClass)){if(o.allowClickWhenExpanded)return;o.collapsible&&r.slideUp(o.animSpeed,function(){n(r),s.removeClass(o.activeClass)})}else{var a=s.siblings("."+o.activeClass),l=a.find(o.slider);s.addClass(o.activeClass),e(r).hide().slideDown(o.animSpeed),o.closeInactive&&l.slideUp(o.animSpeed,function(){a.removeClass(o.activeClass),n(l)})}}t.preventDefault()}),s.hasClass(o.activeClass)?e(r):n(r)})})};var e=function(t){return t.css({position:"",top:"",left:"",width:""})},n=function(t){return t.show().css({position:"absolute",top:-9999,left:-9999,width:t.width()})}}(jQuery),ResponsiveHelper=function(t){var e,n=[],s=t(window),o=!1;function a(){var o=s.width();o!==e&&(e=o,t.each(n,function(e,n){t.each(n.data,function(t,e){e.currentActive&&!r(e.range[0],e.range[1])&&(e.currentActive=!1,"function"==typeof e.disableCallback&&e.disableCallback())}),t.each(n.data,function(t,e){!e.currentActive&&r(e.range[0],e.range[1])&&(e.currentActive=!0,"function"==typeof e.enableCallback&&e.enableCallback())})}))}function r(t,n){var s,a="";return t>0&&(a+="(min-width: "+t+"px)"),n<1/0&&(a+=(a?" and ":"")+"(max-width: "+n+"px)"),s=a,window.matchMedia&&o?matchMedia(s).matches:window.styleMedia?styleMedia.matchMedium(s):window.media?media.matchMedium(s):e>=t&&e<=n}return window.matchMedia&&(window.Window&&window.matchMedia===Window.prototype.matchMedia?o=!0:window.matchMedia.toString().indexOf("native")>-1&&(o=!0)),s.bind("load resize orientationchange",a),{addRange:function(s){var o={data:{}};t.each(s,function(t,e){var n;o.data[t]={range:[parseInt((n=t.split(".."))[0],10)||-1/0,parseInt(n[1],10)||1/0].sort(function(t,e){return t-e}),enableCallback:e.on,disableCallback:e.off}}),n.push(o),e=null,a()}}}(jQuery),function(t,e,n,s){"use strict";var o=n("html"),a=n(t),r=n(e),l=n.fancybox=function(){l.open.apply(this,arguments)},c=navigator.userAgent.match(/msie/i),h=null,u=s!==e.createTouch,d=function(t){return t&&t.hasOwnProperty&&t instanceof n},p=function(t){return t&&"string"===n.type(t)},f=function(t){return p(t)&&t.indexOf("%")>0},m=function(t,e){var n=parseInt(t,10)||0;return e&&f(t)&&(n=l.getViewport()[e]/100*n),Math.ceil(n)},g=function(t,e){return m(t,e)+"px"};n.extend(l,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!u,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(c?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeChange:n.noop,beforeClose:n.noop,afterClose:n.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,
4skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(t,e){if(t&&(n.isPlainObject(e)||(e={}),!1!==l.close(!0)))return n.isArray(t)||(t=d(t)?n(t).get():[t]),n.each(t,function(o,a){var r,c,h,u,f,m,g,v={};"object"===n.type(a)&&(a.nodeType&&(a=n(a)),d(a)?(v={href:a.data("fancybox-href")||a.attr("href"),title:a.data("fancybox-title")||a.attr("title"),isDom:!0,element:a},n.metadata&&n.extend(!0,v,a.metadata())):v=a),r=e.href||v.href||(p(a)?a:null),c=s!==e.title?e.title:v.title||"",(u=(h=e.content||v.content)?"html":e.type||v.type)||!v.isDom||(u=a.data("fancybox-type"))||(u=(f=a.prop("class").match(/fancybox\.(\w+)/))?f[1]:null),p(r)&&(!u&&(l.isImage(r)?u="image":l.isSWF(r)?u="swf":"#"===r.charAt(0)?u="inline":p(a)&&(u="html",h=a)),"ajax"===u&&(r=(m=r.split(/\s+/,2)).shift(),g=m.shift())),h||("inline"===u?r?h=n(p(r)?r.replace(/.*(?=#[^\s]+$)/,""):r):v.isDom&&(h=a):"html"===u?h=r:u||r||!v.isDom||(u="inline",h=a)),n.extend(v,{href:r,type:u,content:h,title:c,selector:g}),t[o]=v}),l.opts=n.extend(!0,{},l.defaults,e),s!==e.keys&&(l.opts.keys=!!e.keys&&n.extend({},l.defaults.keys,e.keys)),l.group=t,l._start(l.opts.index)},cancel:function(){var t=l.coming;t&&!1!==l.trigger("onCancel")&&(l.hideLoading(),l.ajaxLoad&&l.ajaxLoad.abort(),l.ajaxLoad=null,l.imgPreload&&(l.imgPreload.onload=l.imgPreload.onerror=null),t.wrap&&t.wrap.stop(!0,!0).trigger("onReset").remove(),l.coming=null,l.current||l._afterZoomOut(t))},close:function(t){l.cancel(),!1!==l.trigger("beforeClose")&&(l.unbindEvents(),l.isActive&&(l.isOpen&&!0!==t?(l.isOpen=l.isOpened=!1,l.isClosing=!0,n(".fancybox-item, .fancybox-nav").remove(),l.wrap.stop(!0,!0).removeClass("fancybox-opened"),l.transitions[l.current.closeMethod]()):(n(".fancybox-wrap").stop(!0).trigger("onReset").remove(),l._afterZoomOut())))},play:function(t){var e=function(){clearTimeout(l.player.timer)},n=function(){e(),l.current&&l.player.isActive&&(l.player.timer=setTimeout(l.next,l.current.playSpeed))},s=function(){e(),r.unbind(".player"),l.player.isActive=!1,l.trigger("onPlayEnd")};!0!==t&&(l.player.isActive||!1===t)?s():l.current&&(l.current.loop||l.current.index<l.group.length-1)&&(l.player.isActive=!0,r.bind({"onCancel.player beforeClose.player":s,"onUpdate.player":n,"beforeLoad.player":e}),n(),l.trigger("onPlayStart"))},next:function(t){var e=l.current;e&&(p(t)||(t=e.direction.next),l.jumpto(e.index+1,t,"next"))},prev:function(t){var e=l.current;e&&(p(t)||(t=e.direction.prev),l.jumpto(e.index-1,t,"prev"))},jumpto:function(t,e,n){var o=l.current;o&&(t=m(t),l.direction=e||o.direction[t>=o.index?"next":"prev"],l.router=n||"jumpto",o.loop&&(t<0&&(t=o.group.length+t%o.group.length),t%=o.group.length),s!==o.group[t]&&(l.cancel(),l._start(t)))},reposition:function(t,e){var s,o=l.current,a=o?o.wrap:null;a&&(s=l._getPosition(e),t&&"scroll"===t.type?(delete s.position,a.stop(!0,!0).animate(s,200)):(a.css(s),o.pos=n.extend({},o.dim,s)))},update:function(t){var e=t&&t.type,n=!e||"orientationchange"===e;n&&(clearTimeout(h),h=null),l.isOpen&&!h&&(h=setTimeout(function(){var s=l.current;s&&!l.isClosing&&(l.wrap.removeClass("fancybox-tmp"),(n||"load"===e||"resize"===e&&s.autoResize)&&l._setDimension(),"scroll"===e&&s.canShrink||l.reposition(t),l.trigger("onUpdate"),h=null)},n&&!u?0:300))},toggle:function(t){l.isOpen&&(l.current.fitToView="boolean"===n.type(t)?t:!l.current.fitToView,u&&(l.wrap.removeAttr("style").addClass("fancybox-tmp"),l.trigger("onUpdate")),l.update())},hideLoading:function(){r.unbind(".loading"),n("#fancybox-loading").remove()},showLoading:function(){var t,e;l.hideLoading(),t=n('<div id="fancybox-loading"><div></div></div>').click(l.cancel).appendTo("body"),r.bind("keydown.loading",function(t){27===(t.which||t.keyCode)&&(t.preventDefault(),l.cancel())}),l.defaults.fixed||(e=l.getViewport(),t.css({position:"absolute",top:.5*e.h+e.y,left:.5*e.w+e.x}))},getViewport:function(){var e=l.current&&l.current.locked||!1,n={x:a.scrollLeft(),y:a.scrollTop()};return e?(n.w=e[0].clientWidth,n.h=e[0].clientHeight):(n.w=u&&t.innerWidth?t.innerWidth:a.width(),n.h=u&&t.innerHe
4ight?t.innerHeight:a.height()),n},unbindEvents:function(){l.wrap&&d(l.wrap)&&l.wrap.unbind(".fb"),r.unbind(".fb"),a.unbind(".fb")},bindEvents:function(){var t,e=l.current;e&&(a.bind("orientationchange.fb"+(u?"":" resize.fb")+(e.autoCenter&&!e.locked?" scroll.fb":""),l.update),(t=e.keys)&&r.bind("keydown.fb",function(o){var a=o.which||o.keyCode,r=o.target||o.srcElement;if(27===a&&l.coming)return!1;o.ctrlKey||o.altKey||o.shiftKey||o.metaKey||r&&(r.type||n(r).is("[contenteditable]"))||n.each(t,function(t,r){return e.group.length>1&&s!==r[a]?(l[t](r[a]),o.preventDefault(),!1):n.inArray(a,r)>-1?(l[t](),o.preventDefault(),!1):void 0})}),n.fn.mousewheel&&e.mouseWheel&&l.wrap.bind("mousewheel.fb",function(t,s,o,a){for(var r,c=n(t.target||null),h=!1;c.length&&!(h||c.is(".fancybox-skin")||c.is(".fancybox-wrap"));)h=(r=c[0])&&!(r.style.overflow&&"hidden"===r.style.overflow)&&(r.clientWidth&&r.scrollWidth>r.clientWidth||r.clientHeight&&r.scrollHeight>r.clientHeight),c=n(c).parent();0===s||h||!(l.group.length>1)||e.canShrink||(a>0||o>0?l.prev(a>0?"down":"left"):(a<0||o<0)&&l.next(a<0?"up":"right"),t.preventDefault())}))},trigger:function(t,e){var s,o=e||l.coming||l.current;if(o){if(n.isFunction(o[t])&&(s=o[t].apply(o,Array.prototype.slice.call(arguments,1))),!1===s)return!1;o.helpers&&n.each(o.helpers,function(e,s){s&&l.helpers[e]&&n.isFunction(l.helpers[e][t])&&l.helpers[e][t](n.extend(!0,{},l.helpers[e].defaults,s),o)}),r.trigger(t)}},isImage:function(t){return p(t)&&t.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(t){return p(t)&&t.match(/\.(swf)((\?|#).*)?$/i)},_start:function(t){var e,s,o,a,r,c={};if(t=m(t),!(e=l.group[t]||null))return!1;if(a=(c=n.extend(!0,{},l.opts,e)).margin,r=c.padding,"number"===n.type(a)&&(c.margin=[a,a,a,a]),"number"===n.type(r)&&(c.padding=[r,r,r,r]),c.modal&&n.extend(!0,c,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),c.autoSize&&(c.autoWidth=c.autoHeight=!0),"auto"===c.width&&(c.autoWidth=!0),"auto"===c.height&&(c.autoHeight=!0),c.group=l.group,c.index=t,l.coming=c,!1===l.trigger("beforeLoad")){l.coming=null;return}if(o=c.type,s=c.href,!o)return l.coming=null,!!l.current&&!!l.router&&"jumpto"!==l.router&&(l.current.index=t,l[l.router](l.direction));if(l.isActive=!0,("image"===o||"swf"===o)&&(c.autoHeight=c.autoWidth=!1,c.scrolling="visible"),"image"===o&&(c.aspectRatio=!0),"iframe"===o&&u&&(c.scrolling="scroll"),c.wrap=n(c.tpl.wrap).addClass("fancybox-"+(u?"mobile":"desktop")+" fancybox-type-"+o+" fancybox-tmp "+c.wrapCSS).appendTo(c.parent||"body"),n.extend(c,{skin:n(".fancybox-skin",c.wrap),outer:n(".fancybox-outer",c.wrap),inner:n(".fancybox-inner",c.wrap)}),n.each(["Top","Right","Bottom","Left"],function(t,e){c.skin.css("padding"+e,g(c.padding[t]))}),l.trigger("onReady"),"inline"===o||"html"===o){if(!c.content||!c.content.length)return l._error("content")}else if(!s)return l._error("href");"image"===o?l._loadImage():"ajax"===o?l._loadAjax():"iframe"===o?l._loadIframe():l._afterLoad()},_error:function(t){n.extend(l.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:t,content:l.coming.tpl.error}),l._afterLoad()},_loadImage:function(){var t=l.imgPreload=new Image;t.onload=function(){this.onload=this.onerror=null,l.coming.width=this.width/l.opts.pixelRatio,l.coming.height=this.height/l.opts.pixelRatio,l._afterLoad()},t.onerror=function(){this.onload=this.onerror=null,l._error("image")},t.src=l.coming.href,!0!==t.complete&&l.showLoading()},_loadAjax:function(){var t=l.coming;l.showLoading(),l.ajaxLoad=n.ajax(n.extend({},t.ajax,{url:t.href,error:function(t,e){l.coming&&"abort"!==e?l._error("ajax",t):l.hideLoading()},success:function(e,n){"success"===n&&(t.content=e,l._afterLoad())}}))},_loadIframe:function(){var t=l.coming,e=n(t.tpl.iframe.replace(/\{rnd\}/g,new Date().getTime())).attr("scrolling",u?"auto":t.iframe.scrolling).attr("src",t.href);n(t.wrap).bind("onReset",function(){try{n(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(t){}}),t.iframe.preload&&(l.showLoading(),e.one("load",function(){n(this).data("ready",1),u||n(this).bind("load.fb",l.update),n(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),l._afterLoad()})),t.content=e.appendTo(t.inner),t.iframe.preload||l._afterLoad()},_preloadImages:function(){var t,e,n=l.group,s=l.current,o=n.length,a=s.preload?Math.min(s.preload,o-1):0;for(e=1;e<=a;e+=1)"image"===(t=n[(s.index+e)%o]).type&&t.href&&(new Image().src=t.href)},_afterLoad:function(){var t,e,s,o,a,r=l.coming,c=l.current,h="fancybox-placeholder";if(l.hideLoading(),r&&!1!==l.isActive){if(!1===l.trigger("afterLoad",r,c)){r.wrap.stop(!0).trigger("onReset").remove(),l.coming=null;return}switch(c&&(l.trigger("beforeChange",c),c.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),l.unbindEvents(),t=r.content,e=r.type,s=r.scrolling,n.extend(l,{wrap:r.wrap,skin:r.skin,outer:r.outer,inner:r.inner,current:r,previous:c}),o=r.href,e){case"inline":case"ajax":case"html":r.selector?t=n("<div>").html(t).find(r.selector):d(t)&&(t.data(h)||t.data(h,n('<div class="'+h+'"></div>').insertAfter(t).hide()),t=t.show().detach(),r.wrap.bind("onReset",function(){n(this).find(t).length&&t.hide().replaceAll(t.data(h)).data(h,!1)}));break;case"image":t=r.tpl.image.replace("{href}",o);break;case"swf":t='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+o+'"></param>',a="",n.each(r.swf,function(e,n){t+='<param name="'+e+'" value="'+n+'"></param>',a+=" "+e+'="'+n+'"'}),t+='<embed src="'+o+'" type="application/x-shockwave-flash" width="100%" height="100%"'+a+"></embed></object>"}d(t)&&t.parent().is(r.inner)||r.inner.append(t),l.trigger("beforeShow"),r.inner.css("overflow","yes"===s?"scroll":"no"===s?"hidden":s),l._setDimension(),l.reposition(),l.isOpen=!1,l.coming=null,l.bindEvents(),l.isOpened?c.prevMethod&&l.transitions[c.prevMethod]():n(".fancybox-wrap").not(r.wrap).stop(!0).trigger("onReset").remove(),l.transitions[l.isOpened?r.nextMethod:r.openMethod](),l._preloadImages()}},_setDimension:function(){var t,e,s,o,a,r,c,h,u,d,p,v,b,_,y,w=l.getViewport(),C=0,x=!1,k=!1,T=l.wrap,S=l.skin,E=l.inner,D=l.current,I=D.width,A=D.height,O=D.minWidth,P=D.minHeight,M=D.maxWidth,N=D.maxHeight,L=D.scrolling,H=D.scrollOutside?D.scrollbarWidth:0,W=D.margin,z=m(W[1]+W[3]),F=m(W[0]+W[2]);if(T.add(S).add(E).width("auto").height("auto").removeClass("fancybox-tmp"),t=m(S.outerWidth(!0)-S.width()),e=m(S.outerHeight(!0)-S.height()),s=z+t,o=F+e,a=f(I)?(w.w-s)*m(I)/100:I,r=f(A)?(w.h-o)*m(A)/100:A,"iframe"===D.type){if(_=D.content,D.autoHeight&&1===_.data("ready"))try{_[0].contentWindow.document.location&&(E.width(a).height(9999),y=_.contents().find("body"),H&&y.css("overflow-x","hidden"),r=y.outerHeight(!0))}catch(t){}}else(D.autoWidth||D.autoHeight)&&(E.addClass("fancybox-tmp"),D.autoWidth||E.width(a),D.autoHeight||E.height(r),D.autoWidth&&(a=E.width()),D.autoHeight&&(r=E.height()),E.removeClass("fancybox-tmp"));if(I=m(a),A=m(r),u=a/r,O=m(f(O)?m(O,"w")-s:O),M=m(f(M)?m(M,"w")-s:M),P=m(f(P)?m(P,"h")-o:P),N=m(f(N)?m(N,"h")-o:N),c=M,h=N,D.fitToView&&
vendor: 5,685 bytes, line 4
4(M=Math.min(w.w-s,M),N=Math.min(w.h-o,N)),v=w.w-z,b=w.h-F,D.aspectRatio?(I>M&&(A=m((I=M)/u)),A>N&&(I=m((A=N)*u)),I<O&&(A=m((I=O)/u)),A<P&&(I=m((A=P)*u))):(I=Math.max(O,Math.min(I,M)),D.autoHeight&&"iframe"!==D.type&&(E.width(I),A=E.height()),A=Math.max(P,Math.min(A,N))),D.fitToView){if(E.width(I).height(A),T.width(I+t),d=T.width(),p=T.height(),D.aspectRatio)for(;(d>v||p>b)&&I>O&&A>P&&!(C++>19);)(I=m((A=Math.max(P,Math.min(N,A-10)))*u))<O&&(A=m((I=O)/u)),I>M&&(A=m((I=M)/u)),E.width(I).height(A),T.width(I+t),d=T.width(),p=T.height();else I=Math.max(O,Math.min(I,I-(d-v))),A=Math.max(P,Math.min(A,A-(p-b)))}H&&"auto"===L&&A<r&&I+t+H<v&&(I+=H),E.width(I).height(A),T.width(I+t),d=T.width(),p=T.height(),x=(d>v||p>b)&&I>O&&A>P,k=D.aspectRatio?I<c&&A<h&&I<a&&A<r:(I<c||A<h)&&(I<a||A<r),n.extend(D,{dim:{width:g(d),height:g(p)},origWidth:a,origHeight:r,canShrink:x,canExpand:k,wPadding:t,hPadding:e,wrapSpace:p-S.outerHeight(!0),skinSpace:S.height()-A}),!_&&D.autoHeight&&A>P&&A<N&&!k&&E.height("auto")},_getPosition:function(t){var e=l.current,n=l.getViewport(),s=e.margin,o=l.wrap.width()+s[1]+s[3],a=l.wrap.height()+s[0]+s[2],r={position:"absolute",top:s[0],left:s[3]};return e.autoCenter&&e.fixed&&!t&&a<=n.h&&o<=n.w?r.position="fixed":e.locked||(r.top+=n.y,r.left+=n.x),r.top=g(Math.max(r.top,r.top+(n.h-a)*e.topRatio)),r.left=g(Math.max(r.left,r.left+(n.w-o)*e.leftRatio)),r},_afterZoomIn:function(){var t=l.current;t&&(l.isOpen=l.isOpened=!0,l.wrap.css("overflow","visible").addClass("fancybox-opened"),l.update(),(t.closeClick||t.nextClick&&l.group.length>1)&&l.inner.css("cursor","pointer").bind("click.fb",function(e){n(e.target).is("a")||n(e.target).parent().is("a")||(e.preventDefault(),l[t.closeClick?"close":"next"]())}),t.closeBtn&&n(t.tpl.closeBtn).appendTo(l.skin).bind("click.fb",function(t){t.preventDefault(),l.close()}),t.arrows&&l.group.length>1&&((t.loop||t.index>0)&&n(t.tpl.prev).appendTo(l.outer).bind("click.fb",l.prev),(t.loop||t.index<l.group.length-1)&&n(t.tpl.next).appendTo(l.outer).bind("click.fb",l.next)),l.trigger("afterShow"),t.loop||t.index!==t.group.length-1?l.opts.autoPlay&&!l.player.isActive&&(l.opts.autoPlay=!1,l.play()):l.play(!1))},_afterZoomOut:function(t){t=t||l.current,n(".fancybox-wrap").trigger("onReset").remove(),n.extend(l,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null}),l.trigger("afterClose",t)}}),l.transitions={getOrigPosition:function(){var t=l.current,e=t.element,n=t.orig,s={},o=50,a=50,r=t.hPadding,c=t.wPadding,h=l.getViewport();return!n&&t.isDom&&e.is(":visible")&&!(n=e.find("img:first")).length&&(n=e),d(n)?(s=n.offset(),n.is("img")&&(o=n.outerWidth(),a=n.outerHeight())):(s.top=h.y+(h.h-a)*t.topRatio,s.left=h.x+(h.w-o)*t.leftRatio),("fixed"===l.wrap.css("position")||t.locked)&&(s.top-=h.y,s.left-=h.x),s={top:g(s.top-r*t.topRatio),left:g(s.left-c*t.leftRatio),width:g(o+c),height:g(a+r)}},step:function(t,e){var n,s,o=e.prop,a=l.current,r=a.wrapSpace,c=a.skinSpace;("width"===o||"height"===o)&&(n=e.end===e.start?1:(t-e.start)/(e.end-e.start),l.isClosing&&(n=1-n),s=t-("width"===o?a.wPadding:a.hPadding),l.skin[o](m("width"===o?s:s-r*n)),l.inner[o](m("width"===o?s:s-r*n-c*n)))},zoomIn:function(){var t=l.current,e=t.pos,s=t.openEffect,o="elastic"===s,a=n.extend({opacity:1},e);delete a.position,o?(e=this.getOrigPosition(),t.openOpacity&&(e.opacity=.1)):"fade"===s&&(e.opacity=.1),l.wrap.css(e).animate(a,{duration:"none"===s?0:t.openSpeed,easing:t.openEasing,step:o?this.step:null,complete:l._afterZoomIn})},zoomOut:function(){var t=l.current,e=t.closeEffect,n="elastic"===e,s={opacity:.1};n&&(s=this.getOrigPosition(),t.closeOpacity&&(s.opacity=.1)),l.wrap.animate(s,{duration:"none"===e?0:t.closeSpeed,easing:t.closeEasing,step:n?this.step:null,complete:l._afterZoomOut})},changeIn:function(){var t,e=l.current,n=e.nextEffect,s=e.pos,o={opacity:1},a=l.direction;s.opacity=.1,"elastic"===n&&(t="down"===a||"up"===a?"top":"left","down"===a||"right"===a?(s[t]=g(m(s[t])-200),o[t]="+=200px"):(s[t]=g(m(s[t])+200),o[t]="-=200px")),"none"===n?l._afterZoomIn():l.wrap.css(s).animate(o,{duration:e.nextSpeed,easing:e.nextEasing,complete:l._afterZoomIn})},changeOut:function(){var t=l.previous,e=t.prevEffect,s={opacity:.1},o=l.direction;"elastic"===e&&(s["down"===o||"up"===o?"top":"left"]=("up"===o||"left"===o?"-":"+")+"=200px"),t.wrap.animate(s,{duration:"none"===e?0:t.prevSpeed,easing:t.prevEasing,complete:function(){n(this).trigger("onReset").remove()}})}},l.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!u,fixed:!0},overlay:null,fixed:!1,el:n("html"),create:function(t){t=n.extend({},this.defaults,t),this.overlay&&this.close(),this.overlay=n('<div class="fancybox-overlay"></div>').appendTo(l.coming?l.coming.parent:t.parent),this.fixed=!1,t.fixed&&l.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(t){var e=this;t=n.extend({},this.defaults,t),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(t),this.fixed||(a.bind("resize.overlay",n.proxy(this.update,this)),this.update()),t.closeClick&&this.overlay.bind("click.overlay",function(t){if(n(t.target).hasClass("fancybox-overlay"))return l.isActive?l.close():e.close(),!1}),this.overlay.css(t.css).show()},close:function(){var t,e;a.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(n(".fancybox-margin").removeClass("fancybox-margin"),t=a.scrollTop(),e=a.scrollLeft(),this.el.removeClass("fancybox-lock"),a.scrollTop(t).scrollLeft(e)),n(".fancybox-overlay").remove().hide(),n.extend(this,{overlay:null,fixed:!1})},update:function(){var t,n="100%";
4this.overlay.width(n).height("100%"),c?(t=Math.max(e.documentElement.offsetWidth,e.body.offsetWidth),r.width()>t&&(n=r.width())):r.width()>a.width()&&(n=r.width()),this.overlay.width(n).height(r.height())},onReady:function(t,e){var s=this.overlay;n(".fancybox-overlay").stop(!0,!0),s||this.create(t),t.locked&&this.fixed&&e.fixed&&(s||(this.margin=r.height()>a.height()&&n("html").css("margin-right").replace("px","")),e.locked=this.overlay.append(e.wrap),e.fixed=!1),!0===t.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(t,e){var s,o;e.locked&&(!1!==this.margin&&(n("*").filter(function(){return"fixed"===n(this).css("position")&&!n(this).hasClass("fancybox-overlay")&&!n(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),s=a.scrollTop(),o=a.scrollLeft(),this.el.addClass("fancybox-lock"),a.scrollTop(s).scrollLeft(o)),this.open(t)},onUpdate:function(){this.fixed||this.update()},afterClose:function(t){this.overlay&&!l.coming&&this.overlay.fadeOut(t.speedOut,n.proxy(this.close,this))}},l.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(t){var e,s,o=l.current,a=o.title,r=t.type;if(n.isFunction(a)&&(a=a.call(o.element,o)),p(a)&&""!==n.trim(a)){switch(e=n('<div class="fancybox-title fancybox-title-'+r+'-wrap">'+a+"</div>"),r){case"inside":s=l.skin;break;case"outside":s=l.wrap;break;case"over":s=l.inner;break;default:s=l.skin,e.appendTo("body"),c&&e.width(e.width()),e.wrapInner('<span class="child"></span>'),l.current.margin[2]+=Math.abs(m(e.css("margin-bottom")))}e["top"===t.position?"prependTo":"appendTo"](s)}}},n.fn.fancybox=function(t){var e,s=n(this),o=this.selector||"",a=function(a){var r,c,h=n(this).blur(),u=e;a.ctrlKey||a.altKey||a.shiftKey||a.metaKey||h.is(".fancybox-wrap")||(r=t.groupAttr||"data-fancybox-group",(c=h.attr(r))||(r="rel",c=h.get(0)[r]),c&&""!==c&&"nofollow"!==c&&(u=(h=(h=o.length?n(o):s).filter("["+r+'="'+c+'"]')).index(this)),t.index=u,!1!==l.open(h,t)&&a.preventDefault())};return e=(t=t||{}).index||0,o&&!1!==t.live?r.undelegate(o,"click.fb-start").delegate(o+":not('.fancybox-item, .fancybox-nav')","click.fb-start",a):s.unbind("click.fb-start").bind("click.fb-start",a),this.filter("[data-fancybox-start=1]").trigger("click"),this},r.ready(function(){var e,a,r,c;s===n.scrollbarWidth&&(n.scrollbarWidth=function(){var t=n('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),e=t.children(),s=e.innerWidth()-e.height(99).innerWidth();return t.remove(),s}),s===n.support.fixedPosition&&(n.support.fixedPosition=(c=20===(r=n('<div style="position:fixed;top:20px;"></div>').appendTo("body"))[0].offsetTop||15===r[0].offsetTop,r.remove(),c)),n.extend(l.defaults,{scrollbarWidth:n.scrollbarWidth(),fixed:n.support.fixedPosition,parent:n("body")}),e=n(t).width(),o.addClass("fancybox-lock-test"),a=n(t).width(),o.removeClass("fancybox-lock-test"),n("<style type='text/css'>.fancybox-margin{margin-right:"+(a-e)+"px;}</style>").appendTo("head")})}(window,document,jQuery),/*!
5  Colorbox 1.6.4
6  license: MIT
7  http://www.jacklmoore.com/colorbox
8*/function(t,e,n){function s(n,s,o){var a=e.createElement(n);return s&&(a.id=Z+s),o&&(a.style.cssText=o),t(a)}function o(){return n.innerHeight?n.innerHeight:t(n).height()}function a(e,n){n!==Object(n)&&(n={}),this.cache={},this.el=e,this.value=function(e){var s;return void 0===this.cache[e]&&(void 0!==(s=t(this.el).attr("data-cbox-"+e))?this.cache[e]=s:void 0!==n[e]?this.cache[e]=n[e]:void 0!==G[e]&&(this.cache[e]=G[e])),this.cache[e]},this.get=function(e){var n=this.value(e);return t.isFunction(n)?n.call(this.el,this):n}}function r(t){var e=k.length,n=(R+t)%e;return 0>n?e+n:n}function l(t,e){return Math.round((/%/.test(t)?("x"===e?T.width():o())/100:1)*parseInt(t,10))}function c(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function h(t,e){return t.get("retinaUrl")&&n.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function u(t){"contains"in v[0]&&!v[0].contains(t.target)&&t.target!==g[0]&&(t.stopPropagation(),v.focus())}function d(t){d.str!==t&&(v.add(g).removeClass(d.str).addClass(t),d.str=t)}function p(n){t(e).trigger(n),ta.triggerHandler(n)}function f(o){var r;if(!V){if(r=t(o).data(X),H=new a(o,r),R=0,(f=H.get("rel"))&&!1!==f&&"nofollow"!==f?-1===(R=(k=t("."+J).filter(function(){var e=t.data(this,X);return new a(this,e).get("rel")===f})).index(H.el))&&(R=(k=k.add(H.el)).length-1):k=t(H.el),!q){q=U=!0,d(H.get("className")),v.css({visibility:"hidden",display:"block",opacity:""}),S=s(tr,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),_.css({width:"",height:""}).append(S),W=y.height()+x.height()+_.outerHeight(!0)-_.height(),z=w.width()+C.width()+_.outerWidth(!0)-_.width(),F=S.outerHeight(!0),j=S.outerWidth(!0);var f,m=l(H.get("initialWidth"),"x"),b=l(H.get("initialHeight"),"y"),T=H.get("maxWidth"),A=H.get("maxHeight");H.w=Math.max((!1!==T?Math.min(m,l(T,"x")):m)-j-z,0),H.h=Math.max((!1!==A?Math.min(b,l(A,"y")):b)-F-W,0),S.css({width:"",height:H.h}),K.position(),p(tt),H.get("onOpen"),L.add(I).hide(),v.focus(),H.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",u,!0),ta.one(ts,function(){e.removeEventListener("focus",u,!0)})),H.get("returnFocus")&&ta.one(ts,function(){t(H.el).focus()})}var O=parseFloat(H.get("opacity"));
vendor: 5,578 bytes, line 8
8g.css({opacity:O==O?O:"",cursor:H.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),H.get("closeButton")?N.html(H.get("close")).appendTo(_):N.appendTo("<div/>"),function(){var e,o,a,r=K.prep,u=++tl;if(U=!0,B=!1,p(to),p(te),H.get("onLoad"),H.h=H.get("height")?l(H.get("height"),"y")-F-W:H.get("innerHeight")&&l(H.get("innerHeight"),"y"),H.w=H.get("width")?l(H.get("width"),"x")-j-z:H.get("innerWidth")&&l(H.get("innerWidth"),"x"),H.mw=H.w,H.mh=H.h,H.get("maxWidth")&&(H.mw=l(H.get("maxWidth"),"x")-j-z,H.mw=H.w&&H.w<H.mw?H.w:H.mw),H.get("maxHeight")&&(H.mh=l(H.get("maxHeight"),"y")-F-W,H.mh=H.h&&H.h<H.mh?H.h:H.mh),e=H.get("href"),Y=setTimeout(function(){D.show()},100),H.get("inline")){var d=t(e).eq(0);a=t("<div>").hide().insertBefore(d),ta.one(to,function(){a.replaceWith(d)}),r(d)}else H.get("iframe")?r(" "):H.get("html")?r(H.get("html")):c(H,e)?(e=h(H,e),t(B=H.get("createImg")).addClass(Z+"Photo").bind("error."+Z,function(){r(s(tr,"Error").html(H.get("imgError")))}).one("load",function(){u===tl&&setTimeout(function(){var e;H.get("retinaImage")&&n.devicePixelRatio>1&&(B.height=B.height/n.devicePixelRatio,B.width=B.width/n.devicePixelRatio),H.get("scalePhotos")&&(o=function(){B.height-=B.height*e,B.width-=B.width*e},H.mw&&B.width>H.mw&&(e=(B.width-H.mw)/B.width,o()),H.mh&&B.height>H.mh&&(e=(B.height-H.mh)/B.height,o())),H.h&&(B.style.marginTop=Math.max(H.mh-B.height,0)/2+"px"),k[1]&&(H.get("loop")||k[R+1])&&(B.style.cursor="pointer",t(B).bind("click."+Z,function(){K.next()})),B.style.width=B.width+"px",B.style.height=B.height+"px",r(B)},1)}),B.src=e):e&&E.load(e,H.get("data"),function(e,n){u===tl&&r("error"===n?s(tr,"Error").html(H.get("xhrError")):t(this).contents())})}()}}function m(){v||(Q=!1,T=t(n),v=s(tr).attr({id:X,class:!1===t.support.opacity?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),g=s(tr,"Overlay").hide(),D=t([s(tr,"LoadingOverlay")[0],s(tr,"LoadingGraphic")[0]]),b=s(tr,"Wrapper"),_=s(tr,"Content").append(I=s(tr,"Title"),A=s(tr,"Current"),M=t('<button type="button"/>').attr({id:Z+"Previous"}),P=t('<button type="button"/>').attr({id:Z+"Next"}),O=t('<button type="button"/>').attr({id:Z+"Slideshow"}),D),N=t('<button type="button"/>').attr({id:Z+"Close"}),b.append(s(tr).append(s(tr,"TopLeft"),y=s(tr,"TopCenter"),s(tr,"TopRight")),s(tr,!1,"clear:left").append(w=s(tr,"MiddleLeft"),_,C=s(tr,"MiddleRight")),s(tr,!1,"clear:left").append(s(tr,"BottomLeft"),x=s(tr,"BottomCenter"),s(tr,"BottomRight"))).find("div div").css({float:"left"}),E=s(tr,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),L=P.add(M).add(A).add(O)),e.body&&!v.parent().length&&t(e.body).append(g,v.append(b,E))}var g,v,b,_,y,w,C,x,k,T,S,E,D,I,A,O,P,M,N,L,H,W,z,F,j,R,B,q,U,V,Y,K,Q,G={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,n=t(this).data("cbox-img-attrs");return"object"==typeof n&&t.each(n,function(t,n){e[t]=n}),e},createIframe:function(){var n=e.createElement("iframe"),s=t(this).data("cbox-iframe-attrs");return"object"==typeof s&&t.each(s,function(t,e){n[t]=e}),"frameBorder"in n&&(n.frameBorder=0),"allowTransparency"in n&&(n.allowTransparency="true"),n.name=(new Date).getTime(),n.allowFullscreen=!0,n}},X="colorbox",Z="cbox",J=Z+"Element",tt=Z+"_open",te=Z+"_load",ti=Z+"_complete",tn=Z+"_cleanup",ts=Z+"_closed",to=Z+"_purge",ta=t("<a/>"),tr="div",tl=0,tc={},th=function(){function t(){clearTimeout(r)}function e(){(H.get("loop")||k[R+1])&&(t(),r=setTimeout(K.next,H.get("slideshowSpeed")))}function n(){O.html(H.get("slideshowStop")).unbind(c).one(c,s),ta.bind(ti,e).bind(te,t),v.removeClass(l+"off").addClass(l+"on")}function s(){t(),ta.unbind(ti,e).unbind(te,t),O.html(H.get("slideshowStart")).unbind(c).one(c,function(){K.next(),n()}),v.removeClass(l+"on").addClass(l+"off")}function o(){a=!1,O.hide(),t(),ta.unbind(ti,e).unbind(te,t),v.removeClass(l+"off "+l+"on")}var a,r,l=Z+"Slideshow_",c="click."+Z;return function(){a?H.get("slideshow")||(ta.unbind(tn,o),o()):H.get("slideshow")&&k[1]&&(a=!0,ta.one(tn,o),H.get("slideshowAuto")?n():s(),O.show())}}();t[X]||(t(m),(K=t.fn[X]=t[X]=function(n,s){var o=this;return n=n||{},t.isFunction(o)&&(o=t("<a/>"),n.open=!0),o[0]&&(m(),function(){function n(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),f(this))}return!!v&&(Q||(Q=!0,P.click(function(){K.next()}),M.click(function(){K.prev()}),N.click(function(){K.close()}),g.click(function(){H.get("overlayClose")&&K.close()}),t(e).bind("keydown."+Z,function(t){var e=t.keyCode;q&&H.get("escKey")&&27===e&&(t.preventDefault(),K.close()),q&&H.get("arrowKey")&&k[1]&&!t.altKey&&
8(37===e?(t.preventDefault(),M.click()):39===e&&(t.preventDefault(),P.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+Z,"."+J,n):t("."+J).live("click."+Z,n)),!0)}()&&(s&&(n.onComplete=s),o.each(function(){var e=t.data(this,X)||{};t.data(this,X,t.extend(e,n))}).addClass(J),new a(o[0],n).get("open")&&f(o[0]))),o}).position=function(e,n){function s(){y[0].style.width=x[0].style.width=_[0].style.width=parseInt(v[0].style.width,10)-z+"px",_[0].style.height=w[0].style.height=C[0].style.height=parseInt(v[0].style.height,10)-W+"px"}var a,r,c,h=0,u=0,d=v.offset();if(T.unbind("resize."+Z),v.css({top:-9e4,left:-9e4}),r=T.scrollTop(),c=T.scrollLeft(),H.get("fixed")?(d.top-=r,d.left-=c,v.css({position:"fixed"})):(h=r,u=c,v.css({position:"absolute"})),u+=!1!==H.get("right")?Math.max(T.width()-H.w-j-z-l(H.get("right"),"x"),0):!1!==H.get("left")?l(H.get("left"),"x"):Math.round(Math.max(T.width()-H.w-j-z,0)/2),h+=!1!==H.get("bottom")?Math.max(o()-H.h-F-W-l(H.get("bottom"),"y"),0):!1!==H.get("top")?l(H.get("top"),"y"):Math.round(Math.max(o()-H.h-F-W,0)/2),v.css({top:d.top,left:d.left,visibility:"visible"}),b[0].style.width=b[0].style.height="9999px",a={width:H.w+j+z,height:H.h+F+W,top:h,left:u},e){var p=0;t.each(a,function(t){return a[t]!==tc[t]?void(p=e):void 0}),e=p}tc=a,e||v.css(a),v.dequeue().animate(a,{duration:e||0,complete:function(){s(),U=!1,b[0].style.width=H.w+j+z+"px",b[0].style.height=H.h+F+W+"px",H.get("reposition")&&setTimeout(function(){T.bind("resize."+Z,K.position)},1),t.isFunction(n)&&n()},step:s})},K.resize=function(t){var e;q&&((t=t||{}).width&&(H.w=l(t.width,"x")-j-z),t.innerWidth&&(H.w=l(t.innerWidth,"x")),S.css({width:H.w}),t.height&&(H.h=l(t.height,"y")-F-W),t.innerHeight&&(H.h=l(t.innerHeight,"y")),t.innerHeight||t.height||(e=S.scrollTop(),S.css({height:"auto"}),H.h=S.height()),S.css({height:H.h}),e&&S.scrollTop(e),K.position("none"===H.get("transition")?0:H.get("speed")))},K.prep=function(n){if(q){var o,l="none"===H.get("transition")?0:H.get("speed");S.remove(),(S=s(tr,"LoadedContent").append(n)).hide().appendTo(E.show()).css({width:(H.w=H.w||S.width(),H.w=H.mw&&H.mw<H.w?H.mw:H.w,H.w),overflow:H.get("scrolling")?"auto":"hidden"}).css({height:(H.h=H.h||S.height(),H.h=H.mh&&H.mh<H.h?H.mh:H.h,H.h)}).prependTo(_),E.hide(),t(B).css({float:"none"}),d(H.get("className")),o=function(){function n(){!1===t.support.opacity&&v[0].style.removeAttribute("filter")}var s,o,u=k.length;q&&(o=function(){clearTimeout(Y),D.hide(),p(ti),H.get("onComplete")},I.html(H.get("title")).show(),S.show(),u>1?("string"==typeof H.get("current")&&A.html(H.get("current").replace("{current}",R+1).replace("{total}",u)).show(),P[H.get("loop")||u-1>R?"show":"hide"]().html(H.get("next")),M[H.get("loop")||R?"show":"hide"]().html(H.get("previous")),th(),H.get("preloading")&&t.each([r(-1),r(1)],function(){var n=k[this],s=new a(n,t.data(n,X)),o=s.get("href");o&&c(s,o)&&(o=h(s,o),e.createElement("img").src=o)})):L.hide(),H.get("iframe")?(s=H.get("createIframe"),H.get("scrolling")||(s.scrolling="no"),t(s).attr({src:H.get("href"),class:Z+"Iframe"}).one("load",o).appendTo(S),ta.one(to,function(){s.src="//about:blank"}),H.get("fastIframe")&&t(s).trigger("load")):o(),"fade"===H.get("transition")?v.fadeTo(l,1,n):n())},"fade"===H.get("transition")?v.fadeTo(l,0,function(){K.position(0,o)}):K.position(l,o)}},K.next=function(){!U&&k[1]&&(H.get("loop")||k[R+1])&&f(k[R=r(1)])},K.prev=function(){!U&&k[1]&&(H.get("loop")||R)&&f(k[R=r(-1)])},K.close=function(){q&&!V&&(V=!0,q=!1,p(tn),H.get("onCleanup"),T.unbind("."+Z),g.fadeTo(H.get("fadeOut")||0,0),v.stop().fadeTo(H.get("fadeOut")||0,0,function(){v.hide(),g.hide(),p(to),S.remove(),setTimeout(function(){V=!1,p(ts),H.get("onClosed")},1)}))},K.remove=function(){v&&(v.stop(),t[X].close(),v.stop(!1,!0).remove(),g.remove(),V=!1,v=null,t("."+J).removeData(X).removeClass(J),t(e).unbind("click."+Z).unbind("keydown."+Z))},K.element=function(){return t(H.el)},K.settings=G)}(jQuery,document,window),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelector(".section.SNB-blade-discount");if(t){function e(){let e=t.querySelector(".image"),n=t.getBoundingClientRect().top,s=window.innerHeight/1;n<s&&e&&e.classList.add("active")}window.addEventListener("scroll",e),e()}}),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelector(".section.SNB-blade-discount-animation");if(t){function e(){let e=t.querySelector(".blade__eyebrow"),n=t.querySelector(".blade__title"),s=t.querySelector(".blade__media"),o=t.querySelector(".blade__subtitle"),a=t.querySelector(".blade__links"),r=t.getBoundingClientRect().top,l=window.innerHeight/1;r<l&&e&&(e.classList.add("active"),n.classList.add("active"),s.classList.add("active"),o.classList.add("active"),a.classList.add("active"))}window.addEventListener("scroll",e),e()}}),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelector(".SN-blade-offer-animation"),e=document.querySelector(".SN-blade-offer-animation .blade__media"),n=document.querySelector(".SN-blade-offer-animation .blade__text");if(t){function s(){let o=t.getBoundingClientRect().top,a=window.innerHeight/3;o<a&&(e.classList.add("active"),n.classList.add("active"),window.removeEventListener("scroll",s))}window.addEventListener("scroll",s)}});var st,scaleSize=1,bannerImageWrapper=$(".section.seville-new-banner .banner-a .banner__image-wrapper"),banner=$(".section.seville-new-banner .banner-a");if(banner.length)var bannerTopOffset=banner.offset().top,bannerHeight=banner.height();var tempSize=0,sizeRatio=0,bannerFTitleText=$(".section.seville-new-banner-f-accent .banner-f .banner__title");if(bannerFTitleText.length){var t=$("<span></span>").text(bannerFTitleText.text());bannerFTitleText.text(""),$(bannerFTitleText).append(t)}function setFAQsTitlesHeight(t){var e=t.find(".featuredblock__title");for(i=0;i<e.length;i++)$(e[i]).height()>$(e[i+1]).height()?$(e[i+1]).height($(e[i]).height()):$(e[i]).height($(e[i+1]).height()),i++}function menuPrepare(){origMenuContent.length||(origMenuContent=menu.html()),menuHolder.css("width",menuHolderMaxWidth),allMenus.push([currentMenu.html(),Math.round(calcTotalMenuItemsWidth())]);for(var t=0;t<=menuChildrenCount;t++){moreButton.length&&moreButton.remove();var e=currentMenu.children("li:last").remove();currentMenu.append(moreButton);var n=calcTotalMenuItemsWidth();moreButton.children("ul").prepend($(e)),allMenus.push([currentMenu.html(),Math.round(n)])}menuHolder.css("width","")}function calcTotalMenuItemsWidth(){var t=0;return currentMenu.children().each(function(){t+=$(this)[0].getBoundingClientRect().width}),t}function addMoreButton(){for(var t=0;t<=menuChildrenCount;t++){if(currentMenuWidth<=allMenus[0][1]&&currentMenuWidth>=allMenus[t][1]){currentMenu.empty(),currentMenu.append(allMenus[t][0]);return}if(currentMenuWidth>allMenus[0][1]){currentMenu.empty(),currentMenu.append(origMenuContent);return}}}function navADropDown2(){if($("body").hasClass("isEditor")){var t=$("nav[class^='navigation-']"),e=110;t.length&&(t.closest(".section--inner").addClass("fix-hover"),t.each(function(t){$(this).closest(".section-base-container").css({"z-index":--e})}))}$(".navigation-a").on("mouseover",".navigation__list--default li.has-drop-down",function(){$(this).parent().css("overflow","visible")})}function bannerDSwoop(){$(".section.banner-d-swoop .banner-d .banner__text-overlay--triangle").html('<svg preserveAspectRatio="none" viewBox="0 0 230 640"><path d="M19.0476 320C19.9223 175.303 175 60 200 0H0V640H192.381C175 580 18.1822 463.173 19.0476 320Z"/></svg>')}
8function bannerFAbstractShape(){$(".section.banner-f-abstract-shape .banner-f .banner__image").append('<svg viewBox="0 0 485 604" preserveAspectRatio="none"><path d="M483.517 276.495C478.395 332.998 417.997 361.109 384.893 407.184C338.52 471.726 330.461 573.271 254.203 595.653C170.328 620.271 61.9045 589.488 14.9268 515.771C-30.1316 445.066 46.0074 360.199 50.8125 276.495C55.053 202.625 -3.38703 122.467 40.9069 63.1982C86.8067 1.78029 178.409 -7.24325 254.203 4.34036C320.879 14.5304 367.485 68.1701 410.947 119.751C449.514 165.523 488.921 216.885 483.517 276.495Z"/></svg>')}function bladeNarrowSbg(){$(".section.blade-narrow-sbg .blade__text-media--swapped").closest(".section").addClass("blade__text-media--swapped")}function featuredBlocksAAccordion(){$(".section.fb-grid-a-accordion .featuredblock__wrap").each(function(){$(this).append('<div class="featuredblock__accordion"></div>');var t=$(this).find(".featuredblock-image-title-wrapper"),e=$(this).find(".featuredblock__accordion"),n=$(this).find(".featuredblock__content"),s=$(this).find(".featuredblock__sub-menu"),o=$(this).find(".featuredblock__cta"),a=t.has(".featuredblock__icon").length,r=t.has(".featuredblock__image").length;e.append(n,s,o),t.click(function(t){t.preventDefault(),$(this).toggleClass("expanded"),e.slideToggle()}),0==a&&0==r&&e.addClass("no-margin")})}function bluredBladeBG(){$(".section.blade-background-blur").each(function(){let t=$(this).find(".blade__media"),e=t.find("img"),n=e.attr("src");t.length&&e.length&&n&&(t.css({backgroundImage:"url("+n+")",backgroundSize:"cover",backgroundPosition:"50% 50%",backgroundRepeat:"no-repeat"}),e.remove())})}function staffOverlapped(){$(".section.staff-overlapped-card .staff-member").each(function(){let t=$(this).find(".staff-member__image-wrapper"),e=t.find("img"),n=e.attr("src");$(this).find(".staff-member__text"),t.length&&e.length&&n&&(t.css({backgroundImage:"url("+n+")",backgroundSize:"cover",backgroundPosition:"50% 50%",backgroundRepeat:"no-repeat"}),e.remove())})}function galleryTitle(){var t=$(".award-banner-1 .gallery .gallery__title").text();$(".award-banner-1 .gallery .gallery__title").replaceWith("<h1></h1>"),$(".award-banner-1 .gallery h1").text(t).addClass("gallery__title component__title")}function navigationVisibility(){if($(".mobileHeader-container").length){var t=$("#tabletHeaderEnabledFlag").val(),e=$(".section-navigation .navigation");1==t?e.addClass("d-none d-lg-block"):e.addClass("d-none d-md-block")}}function bannerOverImage(){"use strict";$(".banner-f-title-over-image").each(function(){$(this).find(".banner__item").each(function(){$(this).find(".banner__text-wrapper, .banner__image-wrapper").wrapAll("<div class='holder'/>")})})}function bannerAboveImage(){"use strict";$(".banner-a-title-above").each(function(){let t=$(this),e=t.find(".banner__title, .banner__tc-divider"),n=t.find(".banner__subtitle, .banner__cta-wrapper");e.wrapAll("<div class='text__holder'/>"),n.wrapAll("<div class='cta__holder'/>")})}function footerParallax(){"use strict";let t=document.querySelector(".footer-parallax");if(!t)return;t.style.transition="background-position .5s";let e=new IntersectionObserver(function(t,e){t.forEach(t=>{let e=t.intersectionRatio;t.target.style.backgroundPosition=`50% ${50+40*e}%`})},{root:null,rootMargin:"0px",threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]});e.observe(t)}function bladeParallax(){let t=document.querySelector(".blade-parallax");if(!t)return;let e=new IntersectionObserver(function(t,e){t.forEach(t=>{let e=t.intersectionRatio,n=t.target.querySelector(".blade__media");n.style.transition="transform .5s",n.style.transform=`translateY(${100*(1-e)}px)`})},{root:null,rootMargin:"0px",threshold:[0,.25,.3,.45,.5,.55,.6,.65,.7,.75,.8,.85,.9,.95,1]});e.observe(t)}function bannerTitleHighlight(){"use strict";let t=document.querySelector(".section.banner-a-highlighted-title");if(!t)return;let e=new IntersectionObserver(function(t,e){t.forEach(t=>{t.isIntersecting?t.target.classList.add("highlighted"):t.target.classList.remove("highlighted")})},{root:null,rootMargin:"0px",threshold:[.75]});t.querySelectorAll(".banner__title").forEach(t=>{e.observe(t);let n=t.textContent.trim();t.innerHTML=`<span>${n}</span>`,t.style.height=`${t.offsetHeight}px`})}function partialTestimonialsSlider(){"use strict";
8let t=$(".partial-testimonials-cta .js-testimonials-layout-settings.flexslider");function e(){return window.innerWidth<768?{itemWidth:75,itemMargin:5}:{itemWidth:98,itemMargin:22}}t&&(t.flexslider({animation:"slide",controlNav:!1,directionNav:!1,maxItems:5,...e(),keyboard:!1,slideshow:!1}),$(window).on("resize",function(){let{itemWidth:n,itemMargin:s}=e();t.flexslider("setOption","itemWidth",n),t.flexslider("setOption","itemMargin",s)}))}function fbFullImage(){"use strict";let t=document.querySelector(".section.fb-grid-a-full-image");t&&t.querySelectorAll(".featuredblock__item").forEach(function(t){let e=t.querySelectorAll(".featuredblock__icon, .featuredblock__title, .featuredblock__content, .featuredblock__sub-menu, .featuredblock__cta"),n=t.querySelector(".featuredblock__wrap"),s=document.createElement("div");s.classList.add("featuredblock__content--holder"),e.forEach(function(t){s.appendChild(t)}),n.appendChild(s)})}function disableLinks(t){$(t).each(function(){("#"===$(this).attr("href")||"javascript.void(0)"===$(this).attr("href"))&&$(this).click(function(t){t.preventDefault()})})}$(window).load(function(){var t=function(e,n){jQuery(e).length?n(jQuery(e)):setTimeout(function(){t(e,n)},100)};banner&&t(".section.seville-new-banner .banner-a .flexslider",function(t){setTimeout(function(){$(".section.seville-new-banner .banner-a .banner__title").hasClass("animated")||$(".section.seville-new-banner .banner-a .banner__title").addClass("animated"),$(".section.seville-new-banner .banner-a .banner__subtitle").hasClass("animated")||$(".section.seville-new-banner .banner-a .banner__subtitle").addClass("animated"),$(".section.seville-new-banner .banner-a .banner__image img").hasClass("animated")||$(".section.seville-new-banner .banner-a .banner__image img").addClass("animated"),$(".section.seville-new-banner").hasClass("animated")||$(".section.seville-new-banner").addClass("animated"),$(".section.seville-new-banner .banner-a .banner__text-wrapper").hasClass("animated")||$(".section.seville-new-banner .banner-a .banner__text-wrapper").addClass("animated"),$(".section.seville-new-banner .banner-a .banner__image-wrapper").hasClass("animated")||$(".section.seville-new-banner .banner-a .banner__image-wrapper").addClass("animated")},200)})}),$.fn.isInViewport=function(){var t=$(this).offset().top,e=t+$(this).outerHeight(),n=$(window).scrollTop(),s=n+$(window).height();return e>n&&t<s},$(window).on("scroll",function(){banner.length&&(st=$(this).scrollTop(),sizeRatio=100/(bannerHeight+bannerTopOffset)/100,banner.isInViewport()&&(tempSize=scaleSize+st*sizeRatio,bannerImageWrapper.css("transform","scale("+tempSize+")")))}),document.addEventListener("DOMContentLoaded",function(){let t=document.querySelectorAll(".section.SN-gallery-checkers-animation");if(t.length>0){let e={root:null,rootMargin:"0px",threshold:.25};t.forEach(t=>{let n=t.querySelector(".gallery-items-wrap"),s=t.querySelectorAll(".gallery-grid--item");if(!n||0===s.length)return;let o=new IntersectionObserver((t,e)=>{t.forEach(t=>{t.isIntersecting&&(e.unobserve(t.target),[0,1,2,3,5,4,7,6].forEach((t,e)=>{s[t]&&setTimeout(()=>{s[t].classList.add("visible")},200*e)}))})},e);o.observe(n)})}}),$(window).load(function(){let t=document.querySelector(".seville-new-FAQs");t&&window.innerWidth>768&&setFAQsTitlesHeight($(".seville-new-FAQs"))}),document.addEventListener("DOMContentLoaded",function(){let t=document.querySelector(".section.SN-fb-faqs-animation .featuredblocks-grid-a");if(t){let e=(e,n)=>{e.forEach(e=>{e.isIntersecting&&(t.querySelectorAll(".title-subtitle__wrapper, .featuredblocks .featuredblock__item").forEach(t=>{t.classList.add("animate")}),n.disconnect())})},n=new IntersectionObserver(e,{root:null,threshold:.5});n.observe(t)}}),document.addEventListener("DOMContentLoaded",function(){let t=document.querySelectorAll(".section.SN-fb-services-animation .featuredblock__wrap");if(t){let e=!1,n=0,s=new IntersectionObserver(s=>{s.forEach(s=>{!s.isIntersecting||s.target.classList.contains("animate")||e||s.target!==t[n]||function s(){n<t.length&&!e&&(e=!0,t[n].classList.add("animate"),setTimeout(()=>{e=!1,n++,s()},200))}()})},{threshold:.25,rootMargin:"0px"});t.forEach(t=>{s.observe(t)})}}),document.addEventListener("DOMContentLoaded",function(){let t=document.querySelectorAll(".section.Reviews-promo-animation .row.equal > *");if(t){let e=!1,n=0,s=new IntersectionObserver(s=>
8{s.forEach(s=>{!s.isIntersecting||s.target.classList.contains("animate")||e||s.target!==t[n]||function s(){n<t.length&&!e&&(e=!0,t[n].classList.add("animate"),setTimeout(()=>{e=!1,n++,s()},500))}()})},{threshold:.25,rootMargin:"0px"});t.forEach(t=>{s.observe(t)})}}),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelectorAll(".SN-blade-welcome-animation");if(t.length>0){function e(){t.forEach(t=>{let e=t.querySelector(".blade-a--4 .blade__wrap"),n=t.querySelector(".blade-a--8 .blade__wrap"),s=t.getBoundingClientRect().top,o=window.innerHeight/1;s<o&&(e&&e.classList.add("active"),n&&n.classList.add("active"))})}window.addEventListener("scroll",e),e()}}),document.addEventListener("DOMContentLoaded",()=>{let t=new IntersectionObserver(t=>{t.forEach(t=>{if(t.intersectionRatio>=.25){let e=t.target.querySelector(".cta-a.cta-a--12");e&&e.classList.add("visible")}})},{threshold:.25}),e=document.querySelectorAll(".section.SN-CTA-emergency-animation");e.length>0&&e.forEach(e=>{t.observe(e)})}),document.addEventListener("DOMContentLoaded",function(){let t=document.querySelectorAll(".section.SN-gallery-insurance-animation");if(t.length>0){let e={root:null,rootMargin:"0px",threshold:.25};t.forEach(t=>{let n=t.querySelector(".gallery .gallery-items-wrap"),s=t.querySelectorAll(".gallery .gallery-grid--item");if(!n||0===s.length)return;let o=new IntersectionObserver((t,e)=>{t.forEach(t=>{t.isIntersecting&&(e.unobserve(t.target),function(t){t.forEach((t,e)=>{setTimeout(()=>{t.classList.add("visible")},400*e)})}(s))})},e);o.observe(n)})}}),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelector(".section.SN-form-animation");if(t){let e={root:null,threshold:.25},n=(e,n)=>{e.forEach(e=>{if(e.isIntersecting){let e=t.querySelector(".contactform--a, .form-a");e.classList.add("active"),n.disconnect()}})},s=new IntersectionObserver(n,e);s.observe(t)}}),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelectorAll(".section.SN-blade-animation");if(t.length>0){let e={root:null,threshold:.25};t.forEach(t=>{let n=(e,n)=>{e.forEach(e=>{if(e.isIntersecting){let e=t.querySelector(".blade__media"),s=t.querySelector(".blade__text");e&&e.classList.add("active"),s&&s.classList.add("active"),n.unobserve(t)}})},s=new IntersectionObserver(n,e);s.observe(t)})}}),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelector(".SN-banner-awards-animation"),e=document.querySelector(".SN-banner-awards-animation .column-1"),n=document.querySelector(".SN-banner-awards-animation .column-2");if(t){function s(){let o=t.getBoundingClientRect().top,a=window.innerHeight/3;o<a&&(e.classList.add("active"),n.classList.add("active"),window.removeEventListener("scroll",s))}window.addEventListener("scroll",s)}}),document.addEventListener("DOMContentLoaded",function(){let t=document.querySelectorAll(".section.SN-title-content-animation");t&&t.forEach(t=>{let e=t.querySelector(".component");if(!e)return;let n=e.querySelector(".title-subtitle__wrapper"),s=n?[n.querySelector(".component__eyebrow"),n.querySelector(".component__title"),n.querySelector(".component__caption"),n.querySelector(".component__subtitle")].filter(t=>null!==t):[],o=Array.from(e.children).filter(t=>!t.classList.contains("title-subtitle__wrapper")),a=!1,r=0;function l(){o.forEach((t,e)=>{setTimeout(()=>{t.classList.add("animate")},100*e)})}let c=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&!a&&(s.length>0?function t(){r<s.length&&(s[r].classList.add("animate"),setTimeout(()=>{r++,t(),r>=s.length&&!a&&(a=!0,setTimeout(()=>{l()},300))},200))}():l())})},{threshold:.25,rootMargin:"0px"});c.observe(t)})}),document.addEventListener("DOMContentLoaded",function(){let t=document.querySelectorAll(".section.SN-editable-content-animation");t&&t.forEach(t=>{let e=t.querySelector(".editable__container");if(!e)return;let n=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&e.classList.add("animate")})},{threshold:.25,rootMargin:"0px"});n.observe(t)})}),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelector(".section.SN-banner-a-text-above-animation");if(t){let e={root:null,threshold:.3},n=(e,n)=>
8{e.forEach(e=>{if(e.isIntersecting){let e=t.querySelector(".banner__text-position--above .banner__text-wrapper"),s=t.querySelector(".flexslider");e&&e.classList.add("animate-text"),s&&s.classList.add("animate-image"),n.disconnect()}})},s=new IntersectionObserver(n,e);s.observe(t)}}),document.addEventListener("DOMContentLoaded",()=>{let t=new IntersectionObserver(t=>{t.forEach(t=>{if(t.intersectionRatio>=.25){let e=t.target.querySelector(".section.SN-FB-grid-a-b-animation .featuredblocks-grid-a .featuredblocks__title-caption-wrap"),n=t.target.querySelector(".section.SN-FB-grid-a-b-animation .featuredblocks-grid-b .featuredblocks__title-caption-wrap");e&&e.classList.add("visible"),n&&n.classList.add("visible"),setTimeout(()=>{let e=t.target.querySelectorAll(".section.SN-FB-grid-a-b-animation .featuredblocks-grid-a .featuredblocks .featuredblock__item");e.forEach((t,e)=>{setTimeout(()=>{t.classList.add("visible")},300*e)});let n=t.target.querySelectorAll(".section.SN-FB-grid-a-b-animation .featuredblocks-grid-b .featuredblocks .featuredblock__item");n.forEach((t,e)=>{setTimeout(()=>{t.classList.add("visible")},300*e)})},300)}})},{threshold:.25}),e=document.querySelectorAll(".section.SN-FB-grid-a-b-animation");e&&e.forEach(e=>{t.observe(e)})}),document.addEventListener("DOMContentLoaded",function(){let t=document.querySelectorAll(".section.SN-gallery-animation");if(t.length){let e=new IntersectionObserver((t,e)=>{t.forEach(t=>{if(t.isIntersecting){let n=t.target,s=n.querySelector(".gallery__title-subtitle__wrapper"),o=n.querySelectorAll(".gallery-grid--item");setTimeout(()=>{s&&s.classList.add("visible")},100),function(t){t.forEach((t,e)=>{setTimeout(()=>{t.classList.add("visible")},400+200*e)})}(o),e.unobserve(n)}})},{root:null,rootMargin:"0px",threshold:.25});t.forEach(t=>{e.observe(t)})}}),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelector(".section.SN-multi-staff-animation .staff-multiple-column");if(t){let e={root:null,threshold:.25},n=(e,n)=>{e.forEach(e=>{e.isIntersecting&&(t.querySelectorAll(".title-subtitle__wrapper, .staff-member").forEach(t=>{t.classList.add("animate-on-scroll")}),n.disconnect())})},s=new IntersectionObserver(n,e);s.observe(t)}}),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelectorAll(".section.SN-any-staff-animation");t&&t.forEach(t=>{let e=t.querySelector(".title-subtitle__wrapper"),n={root:null,threshold:.25},s=(t,n)=>{t.forEach(t=>{t.isIntersecting&&(t.target===e&&e.classList.add("animate-on-scroll"),t.target.querySelectorAll(".staff-member").forEach((t,e)=>{t.classList.add("animate-on-scroll")}),n.unobserve(t.target))})},o=new IntersectionObserver(s,n);e&&o.observe(e),t.querySelectorAll(".staff__item").forEach(t=>{o.observe(t)})})}),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelectorAll(".SN-hamburger-menu-animation .navigation__button"),e=document.querySelector(".SN-hamburger-menu-animation  .navigation__menu--container");t&&e&&t.forEach(t=>{t.addEventListener("click",()=>{t.classList.toggle("is-active")}),document.addEventListener("click",n=>{t.contains(n.target)||e.contains(n.target)||t.classList.remove("is-active")})})}),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelector(".fb-grid-a-gallery-like-animation .featuredblocks-grid-a");if(t){let e={root:null,threshold:.3},n=(e,n)=>{e.forEach(e=>{e.isIntersecting&&(t.querySelectorAll(".featuredblock__item, .featuredblock__title, .featuredblock__content, .featuredblock__cta").forEach(t=>{t.classList.add("active")}),n.disconnect())})},s=new IntersectionObserver(n,e);s.observe(t)}}),document.addEventListener("DOMContentLoaded",()=>{let t=document.querySelector(".section.SN-banner-zoom-in-animation"),e=document.querySelectorAll(".section.SN-banner-zoom-in-animation .banner__image");if(t){let n=t=>{if(!t)return!1;let e=t.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,s=.75*n;return e.top<=s},s=()=>{n(t)&&e.forEach(t=>{t.classList.contains("animation-triggered")||t.classList.add("animation-triggered")})};s(),window.addEventListener("scroll",s)}}),window.onload=function(){let t=document.querySelectorAll(".sn-parallax-bg"),e=document.querySelectorAll(".sn-parallax-bg .video-foreground");if(t){t.forEach(t=>{let e=`#${t.id}`;for(let n of document.styleSheets)try{let s=n.cssRules||n.rules;for(let n of s)if(n.selectorText===e&&n.style.backgroundImage){let e=n.style.backgroundImage.slice(4,-1).replace(/["']/g,""),s=document.createElement("div");s.className="image-background";let o=document.createElement("div");o.className="image-foreground";let a=document.createElement("img");a.src=e,a.setAttribute("preload","preload"),o.appendChild(a),s.appendChild(o),t.appendChild(s),t.style.backgroundImage="none"}}catch(t){}}),new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting?t.target.dataset.visible="true":t.target.dataset.visible="false"})},{root:null,rootMargin:"0px",threshold:.1});let n=t=>{t.forEach(t=>{let e=!1,n=()=>{let n=t.getBoundingClientRect(),s=window.scrollY,o=n.top+s,a=n.height/2;t.style.transform=`translate3d(0px, ${Math.max(Math.min((s-o)*.6,a),-a)}px, 0px)`,e=!1};window.addEventListener("scroll",()=>{e||(requestAnimationFrame(n),e=!0)},{passive:!0}),n()})};n(e);let s=document.querySelectorAll(".sn-parallax-bg .image-foreground");n(s),setTimeout(()=>{let t=window.innerWidth,n=window.innerHeight;
8e.forEach(e=>{e.style.width=`${t}px`,e.style.height=`${n}px`}),s.forEach(e=>{e.style.width=`${t}px`,e.style.height=`${n}px`})},5)}},document.addEventListener("DOMContentLoaded",()=>{let t=$(".section.SNC-blade-decoration");var e=$(".section.SNC-blade-decoration .blade-a .blade__media");t&&e.append('<svg width="642" height="640" viewBox="0 0 642 640" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="shape1" d="M322.182 0.222993C412.362 -4.46173 490.661 65.4152 542.589 139.336C586.978 202.524 573.827 282.648 574.836 359.877C575.867 438.849 601.711 527.994 548.425 586.258C494.229 645.517 402.086 643.879 322.182 636.133C250.857 629.218 185.136 598.371 135.906 546.268C88.1241 495.697 63.3989 429.435 61.1642 359.877C58.8461 287.721 81.1368 219.521 123.532 161.106C175.569 89.4042 233.742 4.81736 322.182 0.222993Z"/><path  class="shape2" d="M314.441 611.492C231.925 604.68 189.723 517.591 133.343 457.808C80.4409 401.713 -2.91329 355.772 1.14267 279.285C5.15359 203.648 89.3982 163.315 151.336 118.499C200.578 82.8684 254.511 64.2384 314.441 52.591C397.25 36.497 488.719 -8.47893 557.653 39.531C630.318 90.1391 645.569 191.755 639.938 279.285C634.643 361.577 586.755 431.131 528.643 490.441C469.204 551.105 399.701 618.53 314.441 611.492Z"/><path  class="shape3" d="M327.559 18.5156C410.075 25.4307 452.277 113.839 508.657 174.529C561.559 231.473 644.913 278.111 640.857 355.757C636.846 432.539 552.602 473.483 490.664 518.979C441.422 555.149 387.489 574.061 327.559 585.885C244.75 602.223 153.281 647.88 84.3467 599.143C11.6815 547.768 -3.56907 444.613 2.06234 355.757C7.35676 272.218 55.2454 201.609 113.357 141.401C172.796 79.8174 242.299 11.3706 327.559 18.5156Z" stroke-width="2" /></svg>')}),document.addEventListener("DOMContentLoaded",()=>{let t=$(".section.SNC-banner-f");var e=$(".section.SNC-banner-f .banner-f .banner__image-wrapper");t&&e.append('<svg width="640" height="650" viewBox="0 0 640 650" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="shape1" d="M175.36 454.328C102.229 420.03 3.43034 381.384 0.0756924 300.667C-3.30787 219.254 107.598 190.801 161.882 130.027C196.903 90.8194 208.819 31.8801 257.619 12.3377C310.979 -9.03094 372.136 -1.35997 422.958 25.4763C475.703 53.3286 516.086 100.604 533.069 157.789C550.507 216.508 540.319 278.052 514.459 333.588C485.646 395.467 447.23 457.328 382.933 480.222C314.64 504.538 240.985 485.105 175.36 454.328Z"/><path class="shape2" d="M218.003 153.053C271.932 97.5209 363.566 163.887 440.249 174.071C499.644 181.959 569.738 161.075 610.338 205.159C650.438 248.7 628.87 316.244 625.653 375.386C622.713 429.442 625.347 484.886 592.772 528.118C555.44 577.663 501.22 610.919 440.147 621.579C365.413 634.624 270.364 652.047 223.171 592.632C176.165 533.454 245.553 451.083 244.664 375.473C243.751 297.849 163.929 208.736 218.003 153.053Z"/><path class="shape3" d="M595.674 289.338C622.617 356.003 652.412 424.857 631.687 493.636C611.461 560.755 555.037 611.085 490.492 638.389C432.881 662.76 372.42 635.256 310.073 629.684C222.353 621.846 116.031 665.768 57.6832 599.714C-2.41946 531.674 10.1844 418.199 52.3796 337.96C89.3343 267.687 187.024 271.56 253.261 227.802C328.675 177.982 370.904 52.7089 459.948 68.7112C548.245 84.5792 562.044 206.129 595.674 289.338Z" stroke-width="2" /></svg>')}),document.addEventListener("DOMContentLoaded",()=>{let t=$(".section.snc-staff");var e=$(".section.snc-staff .staff-single-column .staff-member__image-wrapper");t&&e.append('<svg width="640" height="650" viewBox="0 0 640 650" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="shape1" d="M175.36 454.328C102.229 420.03 3.43034 381.384 0.0756924 300.667C-3.30787 219.254 107.598 190.801 161.882 130.027C196.903 90.8194 208.819 31.8801 257.619 12.3377C310.979 -9.03094 372.136 -1.35997 422.958 25.4763C475.703 53.3286 516.086 100.604 533.069 157.789C550.507 216.508 540.319 278.052 514.459 333.588C485.646 395.467 447.23 457.328 382.933 480.222C314.64 504.538 240.985 485.105 175.36 454.328Z"/><path class="shape2" d="M218.003 153.053C271.932 97.5209 363.566 163.887 440.249 174.071C499.644 181.959 569.738 161.075 610.338 205.159C650.438 248.7 628.87 316.244 625.653 375.386C622.713 429.442 625.347 484.886 592.772 528.118C555.44 5
877.663 501.22 610.919 440.147 621.579C365.413 634.624 270.364 652.047 223.171 592.632C176.165 533.454 245.553 451.083 244.664 375.473C243.751 297.849 163.929 208.736 218.003 153.053Z"/><path class="shape3" d="M595.674 289.338C622.617 356.003 652.412 424.857 631.687 493.636C611.461 560.755 555.037 611.085 490.492 638.389C432.881 662.76 372.42 635.256 310.073 629.684C222.353 621.846 116.031 665.768 57.6832 599.714C-2.41946 531.674 10.1844 418.199 52.3796 337.96C89.3343 267.687 187.024 271.56 253.261 227.802C328.675 177.982 370.904 52.7089 459.948 68.7112C548.245 84.5792 562.044 206.129 595.674 289.338Z" stroke-width="2" /></svg>')}),document.addEventListener("DOMContentLoaded",()=>{let t=$(".section.SNC-gallery-decoration");var e=$(".section.SNC-gallery-decoration .gallery .grid-container .gallery-grid--item:last-child .gallery-item--image-wrap");t&&e.append('<svg width="528" height="525" viewBox="0 0 528 525" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="shape1" d="M526.816 263.062C530.674 337.317 473.135 401.79 412.265 444.549C360.234 481.099 294.257 470.27 230.664 471.101C165.635 471.95 92.2303 493.231 44.2535 449.354C-4.54268 404.728 -3.19386 328.856 3.1845 263.062C8.87811 204.331 34.2786 150.215 77.1829 109.678C118.825 70.3344 173.387 49.9753 230.664 48.1352C290.08 46.2265 346.238 64.5809 394.339 99.4897C453.381 142.338 523.033 190.239 526.816 263.062Z"/><path class="shape2" d="M527.549 267.88C521.494 335.569 444.081 370.188 390.94 416.437C341.078 459.834 300.241 528.21 232.253 524.883C165.021 521.593 129.169 452.486 89.3322 401.677C57.6608 361.283 41.1008 317.042 30.7475 267.88C16.4418 199.951 -23.5368 124.918 19.1387 68.3704C64.1237 8.76214 154.448 -3.74805 232.253 0.871469C305.401 5.21455 367.228 44.4982 419.947 92.1678C473.871 140.926 533.805 197.941 527.549 267.88Z"/></svg>')}),function(t,e,n){"use strict";var s,o,a,r,l,c,h,u,d,p,f,m,g,v,b,_,y,w={get:function(){return a},init:function(t){return a||new tn(t)},VERSION:"0.6.30"},C=Object.prototype.hasOwnProperty,x=t.Math,k=t.getComputedStyle,T="touchstart",S="touchmove",E="skrollable",D=E+"-before",I=E+"-between",A=E+"-after",O="skrollr",P="no-"+O,M=O+"-desktop",N=O+"-mobile",L="linear",H="center",W="bottom",z="___skrollable_id",F=/^(?:input|textarea|button|select)$/i,j=/^\s+|\s+$/g,R=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,B=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,q=/^(@?[a-z\-]+)\[(\w+)\]$/,U=/-([a-z0-9_])/g,V=function(t,e){return e.toUpperCase()}
8,Y=/[\-+]?[\d]*\.?[\d]+/g,K=/\{\?\}/g,Q=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,G=/[a-z\-]+-gradient/g,X="",Z="",J=function(){var t=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(k){var e=k(o,null);for(var n in e)if(X=n.match(t)||+n==n&&e[n].match(t))break;if(!X){X=Z="";return}"-"===(X=X[0]).slice(0,1)?(Z=X,X=({"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"})[X]):Z="-"+X.toLowerCase()+"-"}},tt=function(){var e=t.requestAnimationFrame||t[X.toLowerCase()+"RequestAnimationFrame"],n=tE();return(tz||!e)&&(e=function(e){var s=tE()-n,o=x.max(0,1e3/60-s);return t.setTimeout(function(){n=tE(),e()},o)}),e},te=function(){var e=t.cancelAnimationFrame||t[X.toLowerCase()+"CancelAnimationFrame"];return(tz||!e)&&(e=function(e){return t.clearTimeout(e)}),e},ti={begin:function(){return 0},end:function(){return 1},linear:function(t){return t},quadratic:function(t){return t*t},cubic:function(t){return t*t*t},swing:function(t){return-x.cos(t*x.PI)/2+.5},sqrt:function(t){return x.sqrt(t)},outCubic:function(t){return x.pow(t-1,3)+1},bounce:function(t){var e;if(t<=.5083)e=3;else if(t<=.8489)e=9;else if(t<=.96208)e=27;else{if(!(t<=.99981))return 1;e=91}return 1-x.abs(3*x.cos(t*e*1.028)/e)}};function tn(n){if(s=e.documentElement,o=e.body,J(),a=this,u=(n=n||{}).constants||{},n.easing)for(var r in n.easing)ti[r]=n.easing[r];b=n.edgeStrategy||"set",c={beforerender:n.beforerender,render:n.render,keyframe:n.keyframe},(h=!1!==n.forceHeight)&&(tA=n.scale||1),d=n.mobileDeceleration||.004,f=!1!==n.smoothScrolling,m=n.smoothScrollingDuration||200,g={targetTop:a.getScrollTop()},(tz=(n.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||t.opera)})())?((l=e.getElementById(n.skrollrBody||"skrollr-body"))&&tm(),ts(),tk(s,[O,N],[P])):tk(s,[O,M],[P]),a.refresh(),tg(t,"resize orientationchange",function(){var t=s.clientWidth,e=s.clientHeight;(e!==tL||t!==tN)&&(tL=e,tN=t,tH=!0)});var p=tt();return function t(){tr(),y=p(t)}(),a}tn.prototype.refresh=function(t){var s=!1;for(n===t?(s=!0,r=[],tW=0,t=e.getElementsByTagName("*")):n===t.length&&(t=[t]),o=0,l=t.length;o<l;o++){var o,l,c,h,u,d=t[o],p=d,m=[],g=f,v=b,_=!1;if(s&&z in d&&delete d[z],d.attributes){for(var y=0,w=d.attributes.length;y<w;y++){var C=d.attributes[y];if("data-anchor-target"===C.name){if(null===(p=e.querySelector(C.value)))throw'Unable to find anchor target "'+C.value+'"';continue}if("data-smooth-scrolling"===C.name){g="off"!==C.value;continue}if("data-edge-strategy"===C.name){v=C.value;continue}if("data-emit-events"===C.name){_=!0;continue}var x=C.name.match(R);if(null!==x){var k={props:C.value,element:d,eventType:C.name.replace(U,V)};m.push(k);var T=x[1];T&&(k.constant=T.substr(1));var S=x[2];/p$/.test(S)?(k.isPercentage=!0,k.offset=(0|S.slice(0,-1))/100):k.offset=0|S;var D=x[3],I=x[4]||D;D&&"start"!==D&&"end"!==D?(k.mode="relative",k.anchors=[D,I]):(k.mode="absolute","end"===D?k.isEnd=!0:k.isPercentage||(k.offset=k.offset*tA))}}m.length&&(!s&&z in d?(c=r[u=d[z]].styleAttr,h=r[u].classAttr):(u=d[z]=tW++,c=d.style.cssText,h=tx(d)),r[u]={element:d,styleAttr:c,classAttr:h,anchorTarget:p,keyFrames:m,smoothScrolling:g,edgeStrategy:v,emitEvents:_,lastFrameIndex:-1},tk(d,[E],[]))}}for(ty(),o=0,l=t.length;o<l;o++){var A=r[t[o][z]];n!==A&&(tl(A),th(A))}return a},tn.prototype.relativeToAbsolute=function(t,e,n){var o=s.clientHeight,r=t.getBoundingClientRect(),l=r.top,c=r.bottom-r.top;return e===W?l-=o:e===H&&(l-=o/2),n===W?l+=c:n===H&&(l+=c/2),(l+=a.getScrollTop())+.5|0},tn.prototype.animateTo=function(t,e){e=e||{};var s=tE(),o=a.getScrollTop(),r=n===e.duration?1e3:e.duration;return(p={startTop:o,topDiff:t-o,targetTop:t,duration:r,startTime:s,endTime:s+r,easing:ti[e.easing||L],done:e.done}).topDiff||(p.done&&p.done.call(a,!1),p=n),a},tn.prototype.stopAnimateTo=function(){p&&p.done&&p.done.call(a,!0),p=n},tn.prototype.isAnimatingTo=function(){return!!p},tn.prototype.isMobile=function(){return tz},tn.prototype.setScrollTop=function(e,n){return v=!0===n,tz?t$=x.min(x.max(e,0),tI):t.scrollTo(0,e),a},tn.prototype.getScrollTop=function(){return tz?t$:t.pageYOffset||s.scrollTop||o.scrollTop||0},tn.prototype.getMaxScrollTop=function(){return tI},tn.prototype.on=function(t,e){return c[t]=e,a},tn.prototype.off=function(t){return delete c[t],a},tn.prototype.destroy=function(){te()(y),tb(),tk(s,[P],[O,M,N]);for(var t=0,e=r.length;t<e;t++)tf(r[t].element);s.style.overflow=o.style.overflow="",s.style.height=o.style.height="",l&&w.setStyle(l,"transform","none"),a=n,l=n,c=n,h=n,tI=0,tA=1,u=n,d=n,tO="down",tP=-1,tN=0,tL=0,tH=!1,p=n,f=n,m=n,g=n,v=n,tW=0,b=n,tz=!1,t$=0,_=n};var ts=function(){var r,l,c,h,u,p,f,m,g,v,b;tg(s,[T,S,"touchcancel","touchend"].join(" "),function(t){var s=t.changedTouches[0];for(h=t.target;3===h.nodeType;)h=h.parentNode;switch(u=s.clientY,p=s.clientX,g=t.timeStamp,F.test(h.tagName)||t.preventDefault(),t.type){case T:r&&r.blur(),a.stopAnimateTo(),r=h,l=f=u,c=p;break;case S:F.test(h.tagName)&&e.activeElement!==h&&t.preventDefault(),m=u-f,b=g-v,a.setScrollTop(t$-m,!0),f=u,v=g;break;default:var o=l-u,_=c-p;if(_*_+o*o<49){if(!F.test(r.tagName)){r.focus();var y=e.createEvent("MouseEvents");y.initMouseEvent("click",!0,!0,t.view,1,s.screenX,s.screenY,s.clientX,s.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),r.dispatchEvent(y)}return}r=n;var w=m/b;w=x.max(x.min(w,3),-3);var C=x.abs(w/d),k=w*C+.5*d*C*C,E=a.getScrollTop()-k,D=0;E>tI?(D=(tI-E)/k,E=tI):E<0&&(D=-E/k,E=0),C*=1-D,a.animateTo(E+.5|0,{easing:"outCubic",duration:C})}}),t.scrollTo(0,0),s.style.overflow=o.style.overflow="hidden"},to=function(){var t,e,n,o,l,c,u,d,p,f,m,g=s.clientHeight,v=tw();for(d=0,p=r.length;d<p;d++)for(e=(t=r[d]).element,n=t.anchorTarget,o=t.keyFrames,l=0,c=o.length;l<c;
8l++)f=(u=o[l]).offset,m=v[u.constant]||0,u.frame=f,u.isPercentage&&(f*=g,u.frame=f),"relative"===u.mode&&(tf(e),u.frame=a.relativeToAbsolute(n,u.anchors[0],u.anchors[1])-f,tf(e,!0)),u.frame+=m,h&&!u.isEnd&&u.frame>tI&&(tI=u.frame);for(tI=x.max(tI,tC()),d=0,p=r.length;d<p;d++){for(o=(t=r[d]).keyFrames,l=0,c=o.length;l<c;l++)m=v[(u=o[l]).constant]||0,u.isEnd&&(u.frame=tI-u.offset+m);t.keyFrames.sort(tD)}},ta=function(t,e){for(var n=0,s=r.length;n<s;n++){var o,a,l=r[n],c=l.element,h=l.smoothScrolling?t:e,u=l.keyFrames,d=u.length,p=u[0],f=u[u.length-1],m=h<p.frame,g=h>f.frame,v=m?p:f,b=l.emitEvents,_=l.lastFrameIndex;if(m||g){if(m&&-1===l.edge||g&&1===l.edge)continue;switch(m?(tk(c,[D],[A,I]),b&&_>-1&&(t_(c,p.eventType,tO),l.lastFrameIndex=-1)):(tk(c,[A],[D,I]),b&&_<d&&(t_(c,f.eventType,tO),l.lastFrameIndex=d)),l.edge=m?-1:1,l.edgeStrategy){case"reset":tf(c);continue;case"ease":h=v.frame;break;default:var y=v.props;for(o in y)C.call(y,o)&&(a=tp(y[o].value),0===o.indexOf("@")?c.setAttribute(o.substr(1),a):w.setStyle(c,o,a));continue}}else 0!==l.edge&&(tk(c,[E,I],[D,A]),l.edge=0);for(var x=0;x<d-1;x++)if(h>=u[x].frame&&h<=u[x+1].frame){var k=u[x],T=u[x+1];for(o in k.props)if(C.call(k.props,o)){var S=(h-k.frame)/(T.frame-k.frame);S=k.props[o].easing(S),a=tp(a=td(k.props[o].value,T.props[o].value,S)),0===o.indexOf("@")?c.setAttribute(o.substr(1),a):w.setStyle(c,o,a)}b&&_!==x&&("down"===tO?t_(c,k.eventType,tO):t_(c,T.eventType,tO),l.lastFrameIndex=x);break}}},tr=function(){tH&&(tH=!1,ty());var t,e,s=a.getScrollTop(),o=tE();if(p?(o>=p.endTime?(s=p.targetTop,t=p.done,p=n):(e=p.easing((o-p.startTime)/p.duration),s=p.startTop+e*p.topDiff|0),a.setScrollTop(s,!0)):!v&&(g.targetTop-s&&(g={startTop:tP,topDiff:s-tP,targetTop:s,startTime:tM,endTime:tM+m}),o<=g.endTime&&(e=ti.sqrt((o-g.startTime)/m),s=g.startTop+e*g.topDiff|0)),v||tP!==s){tO=s>tP?"down":s<tP?"up":tO,v=!1;var r={curTop:s,lastTop:tP,maxTop:tI,direction:tO};!1!==(c.beforerender&&c.beforerender.call(a,r))&&(ta(s,a.getScrollTop()),tz&&l&&w.setStyle(l,"transform","translate(0, "+-t$+"px) "+_),tP=s,c.render&&c.render.call(a,r)),t&&t.call(a,!1)}tM=o},tl=function(t){for(var e=0,n=t.keyFrames.length;e<n;e++){for(var s,o,a,r,l=t.keyFrames[e],c={};null!==(r=B.exec(l.props));)a=r[1],o=r[2],null!==(s=a.match(q))?(a=s[1],s=s[2]):s=L,o=o.indexOf("!")?tc(o):[o.slice(1)],c[a]={value:o,easing:ti[s]};l.props=c}},tc=function(t){var e=[];return Q.lastIndex=0,t=t.replace(Q,function(t){return t.replace(Y,function(t){return t/255*100+"%"})}),Z&&(G.lastIndex=0,t=t.replace(G,function(t){return Z+t})),t=t.replace(Y,function(t){return e.push(+t),"{?}"}),e.unshift(t),e},th=function(t){var e,n,s={};for(e=0,n=t.keyFrames.length;e<n;e++)tu(t.keyFrames[e],s);for(s={},e=t.keyFrames.length-1;e>=0;e--)tu(t.keyFrames[e],s)},tu=function(t,e){var n;for(n in e)C.call(t.props,n)||(t.props[n]=e[n]);for(n in t.props)e[n]=t.props[n]},td=function(t,e,n){var s,o=t.length;if(o!==e.length)throw"Can't interpolate between \""+t[0]+'" and "'+e[0]+'"';var a=[t[0]];for(s=1;s<o;s++)a[s]=t[s]+(e[s]-t[s])*n;return a},tp=function(t){var e=1;return K.lastIndex=0,t[0].replace(K,function(){return t[e++]})},tf=function(t,e){t=[].concat(t);for(var n,s,o=0,a=t.length;o<a;o++)(n=r[(s=t[o])[z]])&&(e?(s.style.cssText=n.dirtyStyleAttr,tk(s,n.dirtyClassAttr)):(n.dirtyStyleAttr=s.style.cssText,n.dirtyClassAttr=tx(s),s.style.cssText=n.styleAttr,tk(s,n.classAttr)))},tm=function(){_="translateZ(0)",w.setStyle(l,"transform",_);var t=k(l),e=t.getPropertyValue("transform"),n=t.getPropertyValue(Z+"transform");e&&"none"!==e||n&&"none"!==n||(_="")};w.setStyle=function(t,e,n){var s=t.style;if("zIndex"===(e=e.replace(U,V).replace("-","")))isNaN(n)?s[e]=n:s[e]=""+(0|n);else if("float"===e)s.styleFloat=s.cssFloat=n;else try{X&&(s[X+e.slice(0,1).toUpperCase()+e.slice(1)]=n),s[e]=n}catch(t){}};var tg=w.addEvent=function(e,n,s){var o,a=function(e){return(e=e||t.event).target||(e.target=e.srcElement),e.preventDefault||(e.preventDefault=function(){e.returnValue=!1,e.defaultPrevented=!0}),s.call(this,e)};n=n.split(" ");for(var r=0,l=n.length;r<l;r++)o=n[r],e.addEventListener?e.addEventListener(o,s,!1):e.attachEvent("on"+o,a),tF.push({element:e,name:o,listener:s})},tv=w.removeEvent=function(t,e,n){e=e.split(" ");for(var s=0,o=e.length;s<o;s++)t.removeEventListener?t.removeEventListener(e[s],n,!1):t.detachEvent("on"+e[s],n)},tb=function(){for(var t,e=0,n=tF.length;e<n;e++)tv((t=tF[e]).element,t.name,t.listener);tF=[]},t_=function(t,e,n){c.keyframe&&c.keyframe.call(a,t,e,n)},ty=function(){var t=a.getScrollTop();tI=0,h&&!tz&&(o.style.height=""),to(),h&&!tz&&(o.style.height=tI+s.clientHeight+"px"),tz?a.setScrollTop(x.min(a.getScrollTop(),tI)):a.setScrollTop(t,!0),v=!0},tw=function(){var t,e,n=s.clientHeight,o={};for(t in u)"function"==typeof(e=u[t])?e=e.call(a):/p$/.test(e)&&(e=e.slice(0,-1)/100*n),o[t]=e;return o},tC=function(){var t=0;return l&&(t=x.max(l.offsetHeight,l.scrollHeight)),x.max(t,o.scrollHeight,o.offsetHeight,s.scrollHeight,s.offsetHeight,s.clientHeight)-s.clientHeight},tx=function(e){var n="className";return t.SVGElement&&e instanceof t.SVGElement&&(e=e[n],n="baseVal"),e[n]},tk=function(e,s,o){var a="className";if(t.SVGElement&&e instanceof t.SVGElement&&(e=e[a],a="baseVal"),n===o){e[a]=s;return}for(var r=e[a],l=0,c=o.length;l<c;l++)r=tS(r).replace(tS(o[l])," ");r=tT(r);for(var h=0,u=s.length;h<u;h++)-1===tS(r).indexOf(tS(s[h]))&&(r+=" "+s[h]);e[a]=tT(r)},tT=function(t){return t.replace(j,"")},tS=function(t){return" "+t+" "},tE=Date.now||function(){return+new Date},tD=function(t,e){return t.frame-e.frame},tI=0,tA=1,tO="down",tP=-1,tM=tE(),tN=0,tL=0,tH=!1,tW=0,tz=!1,t$=0,tF=[];"function"==typeof define&&define.amd?define([],function(){return w}):"undefined"!=typeof module&&module.exports?module.exports=w:t.skrollr=w}(window,document),(()=>{"use strict";if(window.PLEStickyState)return;window.PLEStickyElements??=new WeakMap;let t={isSticky:"isSticky"in HTMLElement.prototype||"isSticky"in Element.prototype,exTop:"exTop"in HTMLElement.prototype||"exTop"in Element.prototype};(t.isSticky||t.exTop)&&console.error(`
9<hr/><hr/><hr/>
10exTop and isSticky have been found on HTMLElement or Element, conflicting with our deprecated properties!<br/>
11isSticky: ${t.isSticky}<br/>
12exTop: ${t.exTop}<br/>
13Any Non-migrated Sticky functionallity is now broken!!!
14<hr/><hr/><hr/>
15`);class e{static states=window.PLEStickyElements;static stickySectionSelector=".ple_module_sticky";static containerSelector=".container";static findOrNew=n=>{let s=this.states.get(n);return s||(s=new e,this.states.set(n,s)),"isSticky"in n&&!t.isSticky&&null!=n.isSticky&&(s.isSticky=n.isSticky),"exTop"in n&&!t.exTop&&null!=n.exTop&&(s.top=n.exTop),s};static getStickySectionElements=()=>document.querySelectorAll(this.stickySectionSelector);
15static getStickySectionsHeight=()=>{let{stickySectionSelector:t,containerSelector:e}=this,{innerHeight:n,innerWidth:s,scrollY:o}=window,a=o-document.documentElement.clientTop,r=!!document.querySelectorAll(".isEditor").length,l=0,c=[];for(let o of document.querySelectorAll(t)){let t=o.querySelectorAll(e),r=PLEStickyState.findOrNew(o);if(r.isSticky)for(let e of t)delete e.dataset.inViewport;else{let e=o.getBoundingClientRect();if(e.top>=0&&e.left>=0&&e.right<=s&&e.bottom<=n){for(let e of t)e.dataset.inViewport="true";r.top=e.top+a,r.isSticky=!0}}r.isSticky&&c.push(...t)}for(let t of c){let e=$(t).outerHeight(!0);l+=e,r&&"true"===t.dataset.inViewport&&(l+=e)}return 0===l?l=$(".mobileHeader-container").height():l+=$(".se__navbar-fixed .nav-bar").outerHeight(!0),l};isSticky=void 0;top=void 0}window.PLEStickyState=e,$(()=>{let n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),s=$(".isEditor"),o=!s.length,a=e.states,r=e.getStickySectionElements();for(let t of r)a.set(t,new e);if(o)for(let t of r)Object.assign(t.style,{maxHeight:"0",opacity:"0"});let l=null;if("onscrollend"in window)addEventListener("scroll",()=>{c(l??=e.getStickySectionElements())}),addEventListener("scrollend",()=>{l=null});else{let t=0;addEventListener("scroll",()=>{c(l??=e.getStickySectionElements()),t&&clearTimeout(t),t=setTimeout(()=>{l=null,t=0},300)})}let c=s=>{if(!s.length)return;let{scrollY:a}=window,r=a;if(r<=0){let t="",e="",n="";o&&(t="0",e="0",n="opacity 0s linear"),$(s).css({position:"relative",zIndex:"auto",maxHeight:e,transition:n,opacity:t,top:"0px",width:"100%"});return}let l=0,c=a-document.documentElement.clientTop;for(let a of s){let s=l,h=a.getBoundingClientRect(),u=h.height;l+=u;let d=h.top+c,p=e.findOrNew(a),f=p.isSticky&&r<=p.top,m=d<=r,g="",v="",b="",_="",y=1,w=0;o&&(_="0",v="0"),f?(p.isSticky=!1,g="relative",y=1):m&&(p.isSticky||(p.isSticky=!0,p.top=d),y=103,w+=s,o?(g="fixed",_="1",v="99999px",b="opacity 0.3s linear"):g=n?"-webkit-sticky":"fixed",r+=u),$(a).css({position:g,zIndex:y,maxHeight:v,transition:b,opacity:_,top:`${w}px`,width:"100%"});try{t.isSticky&&(a.isSticky=p.isSticky),t.exTop&&(a.exTop=p.top)}catch(t){console.error(t)}}}});e:{let t=()=>{let t=document.querySelectorAll(".section:not(.ple_module_sticky)");for(let e of t)e.removeAttribute("style")},e=()=>{let e=document.querySelectorAll('button[data-ple-id="$stickyBtnDisable"]');for(let n of e)n.addEventListener("click",t)};addEventListener("load",e,{once:!0})}})(),function(t,e){var n,s,o,a,r,l,c,h,u,d,p,f,m,g,v,b,_,y,w,C;function x(t){if(1/t==-1/0&&(t=0),t>4294967295)throw RangeError("Invalid array length");var e=[];return e.length=t,e}function k(t,e){var n=arguments.length>2?arguments[2]:[];if(!1===S(t))throw TypeError(Object.prototype.toString.call(t)+"is not a function.");return t.apply(e,n)}function T(t){return"[object Array]"===Object.prototype.toString.call(t)}function S(t){return"function"==typeof t}function E(t){if(null==t)throw TypeError();return Object(t)}function D(e){switch(typeof e){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===e?"null":"Symbol"in t&&(e instanceof t.Symbol||e.constructor===t.Symbol)?"symbol":"object"}}function I(t){return"object"===D(t)&&"function"==typeof t&&!!t.prototype}function A(t){if("symbol"===D(t))throw TypeError("Cannot convert a Symbol value to a number");var e=Number(t);return isNaN(e)?0:1/e==1/0||1/e==-1/0||e===1/0||e===-1/0?e:(e<0?-1:1)*Math.floor(Math.abs(e))}function O(t){var e=A(t);return e<=0?0:Math.min(e,9007199254740991)}function P(n){var s=arguments.length>1?arguments[1]:e;if("object"===D(n)){if(arguments.length<2)var o="default";else s===String?o="string":s===Number&&(o="number");var a="function"==typeof t.Symbol&&"symbol"==typeof t.Symbol.toPrimitive?function(t,e){var n=E(t)[e];if(null!=n){if(!1===S(n))throw TypeError("Method not callable: "+e);return n}}(n,t.Symbol.toPrimitive):e;if(e!==a){var r=k(a,n,[o]);if("object"!==D(r))return r;throw TypeError("Cannot convert exotic object to primitive.")}return"default"===o&&(o="number"),function(t,e){if("string"===e)var n=["toString","valueOf"];else n=["valueOf","toString"];for(var s=0;s<n.length;++s){var o=t[n[s]];if(S(o)){var a=k(o,t);
15if("object"!==D(a))return a}}throw TypeError("Cannot convert to primitive.")}(n,o)}return n}function M(t){switch(D(t)){case"symbol":throw TypeError("Cannot convert a Symbol value to a string");case"object":return M(P(t,String));default:return String(t)}}function N(t,e,n){var s=function(t,e,n){try{return Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0}),!0}catch(t){return!1}}(t,e,n);if(!s)throw TypeError("Cannot assign value `"+Object.prototype.toString.call(n)+"` to property `"+Object.prototype.toString.call(e)+"` on object `"+Object.prototype.toString.call(t)+"`");return s}function L(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!1,configurable:!0})}function H(n,s){if(0===s&&1/s==-1/0&&(s=0),!1===T(n))return x(s);var o=n.constructor;if("object"===D(o)&&null===(o="Symbol"in t&&"species"in t.Symbol?o[t.Symbol.species]:e)&&(o=e),e===o)return x(s);if(!I(o))throw TypeError("C must be a constructor");return function(t){var e=arguments.length>2?arguments[2]:t,n=arguments.length>1?arguments[1]:[];if(!I(t))throw TypeError("F must be a constructor.");if(!I(e))throw TypeError("newTarget must be a constructor.");if(e===t)return new(Function.prototype.bind.apply(t,[null].concat(n)));var s=function(t,e){var n,s=arguments[2]||{},o=Object.create(("object"!==D(n=t.prototype)&&(n=e),n));for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&Object.defineProperty(o,a,{configurable:!0,enumerable:!1,writable:!0,value:s[a]});return o}(e,Object.prototype);return k(t,s,n)}(o,[s])}"Date"in t&&"now"in t.Date&&"getTime"in t.Date.prototype||(Date.now=function(){return(new Date).getTime()}),"document"in t||"undefined"!=typeof WorkerGlobalScope||"function"==typeof importScripts||(t.HTMLDocument?t.Document=t.HTMLDocument:(t.Document=t.HTMLDocument=document.constructor=Function("return function Document() {}")(),t.Document.prototype=document)),"Element"in t&&"HTMLElement"in t||function(){function e(){return u--||clearTimeout(n),!(!document.body||document.body.prototype||!/(complete|interactive)/.test(document.readyState))&&(l(document,!0),n&&document.body.prototype&&clearTimeout(n),!!document.body.prototype)}if(!("Element"in t&&"HTMLElement"in t)){if(window.Element&&!window.HTMLElement)return void(window.HTMLElement=window.Element);window.Element=window.HTMLElement=Function("return function Element() {}")();var n,s=document.appendChild(document.createElement("body")),o=s.appendChild(document.createElement("iframe")).contentWindow.document,a=Element.prototype=o.appendChild(o.createElement("*")),r={},l=function(t,e){var n,s,o,a=t.childNodes||[],c=-1;if(1===t.nodeType&&t.constructor!==Element)for(n in t.constructor=Element,r)s=r[n],t[n]=s;for(;o=e&&a[++c];)l(o,e);return t},c=document.getElementsByTagName("*"),h=document.createElement,u=100;a.attachEvent("onpropertychange",function(t){for(var e,n=t.propertyName,s=!Object.prototype.hasOwnProperty.call(r,n),o=a[n],l=r[n],h=-1;e=c[++h];)1===e.nodeType&&(s||e[n]===l)&&(e[n]=o);r[n]=o}),a.constructor=Element,a.hasAttribute||(a.hasAttribute=function(t){return null!==this.getAttribute(t)}),e()||(document.onreadystatechange=e,n=setInterval(e,25)),document.createElement=function(t){return l(h(String(t).toLowerCase()))},document.removeChild(s)}}(),"defineProperty"in Object&&function(){try{return Object.defineProperty({},"test",{value:42}),!0}catch(t){return!1}}()||(n=Object.defineProperty,s=Object.prototype.hasOwnProperty.call(Object.prototype,"__defineGetter__"),o="A property cannot both have accessors and be writable or have a value",Object.defineProperty=function(t,a,r){if(n&&(t===window||t===document||t===Element.prototype||t instanceof Element))return n(t,a,r);if(null===t||!(t instanceof Object||"object"==typeof t))throw TypeError("Object.defineProperty called on non-object");if(!(r instanceof Object))throw TypeError("Property description must be an object");var l=String(a),c="value"in r||"writable"in r,h="get"in r&&typeof r.get,u="set"in r&&typeof r.set;if(h){if(e===h)return t;if("function"!==h)throw TypeError("Getter must be a function");if(!s)throw TypeError("Getters & setters cannot be defined on this javascript engine");if(c)throw TypeError(o);Object.__defineGetter__.call(t,l,r.get)}else t[l]=r.value;if(u){if(e===u)return t;if("function"!==u)throw TypeError("Setter must be a function");if(!s)throw TypeError("Getters & setters cannot be defined on this javascript engine");if(c)throw TypeError(o);Object.__defineSetter__.call(t,l,r.set)}return"value"in r&&(t[l]=r.value),t}),"isArray"in Array||L(Array,"isArray",function(t){return T(t)}),"forEach"in Array.prototype||L(Array.prototype,"forEach",function(t){var n=E(this),s=n instanceof String?n.split(""):n,o=O(n.length);if(!1===S(t))throw TypeError(t+" is not a function");for(var a=arguments.length>1?arguments[1]:e,r=0;r<o;){var l=M(r);l in s&&k(t,a,[s[l],r,n]),r+=1}}),"includes"in Array.prototype||L(Array.prototype,"includes",function(t){"use strict";var e,n=E(this),s=O(n.length);if(0===s)return!1;var o=A(arguments[1]);if(o>=0)var a=o;else(a=s+o)<0&&(a=0);for(;a<s;){if(e=n[M(a)],D(t)===D(e)&&("number"===D(t)&&(!(!isNaN(t)||!isNaN(e))||1/t==1/0&&1/e==-1/0||1/t==-1/0&&1/e==1/0)||t===e))return!0;a+=1}return!1}),"indexOf"in Array.prototype||L(Array.prototype,"indexOf",function(t){var e=E(this),n=O(e.length);if(0===n)return -1;var s=A(arguments[1]);if(s>=n)return -1;if(s>=0)var o=1/s==-1/0?0:s;else(o=n+s)<0&&(o=0);for(;o<n;){if(M(o) in e&&t===e[M(o)])return o;o+=1}return -1}),"some"in Array.prototype||L(Array.prototype,"some",function(t){var n=E(this),s=O(n.length);if(!1===S(t))throw TypeError(t+" is not a function");for(var o=arguments.length>1?arguments[1]:e,a=0;a<s;){var r=M(a);if(r in n&&k(t,o,[n[r],a,n]))return!0;a+=1}return!1}),"bind"in Function.prototype||L(Function.prototype,"bind",function(t){var e=Object,n=Array.prototype,s=function(){},o=n.slice,a=n.concat,r=n.push,l=this;if(!S(l))throw TypeError("Function.prototype.bind called on incompatible "+l);
15for(var c,h=o.call(arguments,1),u=(0,Math.max)(0,l.length-h.length),d=[],p=0;p<u;p++)r.call(d,"$"+p);return c=Function("binder","return function ("+d.join(",")+"){ return binder.apply(this, arguments); }")(function(){if(this instanceof c){var n=l.apply(this,a.call(h,o.call(arguments)));return e(n)===n?n:this}return l.apply(t,a.call(h,o.call(arguments)))}),l.prototype&&(s.prototype=l.prototype,c.prototype=new s,s.prototype=null),c}),"getOwnPropertyDescriptor"in Object&&"function"==typeof Object.getOwnPropertyDescriptor&&function(){try{return"3"===Object.getOwnPropertyDescriptor("13.7",1).value}catch(t){return!1}}()||(a=Object.getOwnPropertyDescriptor,r=function(){try{return 1===Object.defineProperty(document.createElement("div"),"one",{get:function(){return 1}}).one}catch(t){return!1}},l=({}).toString,c="".split,L(Object,"getOwnPropertyDescriptor",function(t,e){var n,s,o=E(t);o=("string"===D(o)||o instanceof String)&&"[object String]"==l.call(t)?c.call(t,""):Object(t);var h="symbol"===D(n=P(e,String))?n:M(n);if(r)try{return a(o,h)}catch(t){}if(s=o,Object.prototype.hasOwnProperty.call(s,h))return{enumerable:!0,configurable:!0,writable:!0,value:o[h]}})),"getPrototypeOf"in Object||L(Object,"getPrototypeOf",function(t){if(t!==Object(t))throw TypeError("Object.getPrototypeOf called on non-object");var e=t.__proto__;return e||null===e?e:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Object.prototype:null}),"keys"in Object&&function(){return 2===Object.keys(arguments).length}(1,2)&&function(){try{return Object.keys(""),!0}catch(t){return!1}}()||L(Object,"keys",(h=Object.prototype.hasOwnProperty,u=Object.prototype.toString,p=!(d=Object.prototype.propertyIsEnumerable).call({toString:null},"toString"),f=d.call(function(){},"prototype"),m=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],g=function(t){var e=t.constructor;return e&&e.prototype===t},v={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},b=function(){if("undefined"==typeof window)return!1;for(var t in window)try{if(!v["$"+t]&&h.call(window,t)&&null!==window[t]&&"object"==typeof window[t])try{g(window[t])}catch(t){return!0}}catch(t){return!0}return!1}(),_=function(t){if("undefined"==typeof window||!b)return g(t);try{return g(t)}catch(t){return!1}},function(t){var e,n,s="[object Function]"===u.call(t),o=((n="[object Arguments]"===(e=u.call(t)))||(n="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===u.call(t.callee)),n),a="[object String]"===u.call(t),r=[];if(null==t)throw TypeError("Cannot convert undefined or null to object");var l=f&&s;if(a&&t.length>0&&!h.call(t,0))for(var c=0;c<t.length;++c)r.push(String(c));if(o&&t.length>0)for(var g=0;g<t.length;++g)r.push(String(g));else for(var v in t)(function(){var t;try{t=Object.create({})}catch(t){return!0}return d.call(t,"__proto__")})()&&"__proto__"===v||l&&"prototype"===v||!h.call(t,v)||r.push(String(v));if(p)for(var b=_(t),y=0;y<m.length;++y)b&&"constructor"===m[y]||!h.call(t,m[y])||r.push(m[y]);return r})),"defineProperties"in Object||L(Object,"defineProperties",function(t,n){if("object"!==D(t))throw TypeError("Object.defineProperties called on non-object");for(var s=E(n),o=Object.keys(s),a=[],r=0;r<o.length;r++){var l=o[r],c=Object.getOwnPropertyDescriptor(s,l);if(e!==c&&c.enumerable){var h=s[l];a.push([l,h])}}for(var u=0;u<a.length;u++)Object.defineProperty(t,a[u][0],h=a[u][1]);return t}),"create"in Object||function(){var t;function e(){}t=function(){var e=document.createElement("iframe");e.style.display="none";var n=document.body||document.documentElement;n.appendChild(e),e.src="javascript:";var s=e.contentWindow.Object.prototype;n.removeChild(e),e=null,delete s.constructor,delete s.hasOwnProperty,delete s.propertyIsEnumerable,delete s.isPrototypeOf,delete s.toLocaleStr
15ing,delete s.toString,delete s.valueOf;var o=function(){};return o.prototype=s,t=function(){return new o},new o},L(Object,"create",function(n,s){if("object"!==D(n)&&"null"!==D(n))throw TypeError("Object prototype may only be an Object or null");if("null"===D(n))var o=t();else e.prototype=n,(o=new e).__proto__=n,o.constructor.prototype=n,o.__proto__=n;return 1 in arguments?Object.defineProperties(o,s):o})}(),"filter"in Array.prototype||L(Array.prototype,"filter",function(t){var n=E(this),s=O(n.length);if(!1===S(t))throw TypeError(t+" is not a function");for(var o=arguments.length>1?arguments[1]:e,a=H(n,0),r=0,l=0;r<s;){var c=M(r);if(c in n){var h=n[c];k(t,o,[h,r,n])&&(N(a,M(l),h),l+=1)}r+=1}return a}),"map"in Array.prototype||L(Array.prototype,"map",function(t){var n=E(this),s=O(n.length);if(!1===S(t))throw TypeError(t+" is not a function");for(var o=arguments.length>1?arguments[1]:e,a=H(n,s),r=0;r<s;){var l=M(r);if(l in n){var c=k(t,o,[n[l],r,n]);N(a,l,c)}r+=1}return a}),"performance"in t&&"now"in t.performance||(y=t,w=Date.now(),y.performance||(y.performance={}),y.performance.now=function(){return Date.now()-w}),"Window"in t||"undefined"!=typeof WorkerGlobalScope||"function"==typeof importScripts||((C=t).constructor?C.Window=C.constructor:(C.Window=C.constructor=Function("return function Window() {}")()).prototype=t),!function(t){if(!("Event"in t))return!1;try{return new Event("click"),!0}catch(t){return!1}}(t)&&function(){function t(t,n){if(!t)throw Error("Not enough arguments");if("createEvent"in document){s=document.createEvent("Event");var s,o=!(!n||e===n.bubbles)&&n.bubbles,a=!(!n||e===n.cancelable)&&n.cancelable;return s.initEvent(t,o,a),s}return(s=document.createEventObject()).type=t,s.bubbles=!(!n||e===n.bubbles)&&n.bubbles,s.cancelable=!(!n||e===n.cancelable)&&n.cancelable,s}var n={click:1,dblclick:1,keyup:1,keypress:1,keydown:1,mousedown:1,mouseup:1,mousemove:1,mouseover:1,mouseenter:1,mouseleave:1,mouseout:1,storage:1,storagecommit:1,textinput:1};if("undefined"!=typeof document&&"undefined"!=typeof window){var s=window.Event&&window.Event.prototype||null;t.NONE=0,t.CAPTURING_PHASE=1,t.AT_TARGET=2,t.BUBBLING_PHASE=3,window.Event=Window.prototype.Event=t,s&&Object.defineProperty(window.Event,"prototype",{configurable:!1,enumerable:!1,writable:!0,value:s}),"createEvent"in document||(window.addEventListener=Window.prototype.addEventListener=Document.prototype.addEventListener=Element.prototype.addEventListener=function(){var t=this,e=arguments[0],s=arguments[1];if(t===window&&e in n)throw Error("In IE8 the event: "+e+" is not available on the window object. Please see https://github.com/Financial-Times/polyfill-service/issues/317 for more information.");t._events||(t._events={}),t._events[e]||(t._events[e]=function(e){var n,s=t._events[e.type].list,o=s.slice(),a=-1,r=o.length;for(e.preventDefault=function(){!1!==e.cancelable&&(e.returnValue=!1)},e.stopPropagation=function(){e.cancelBubble=!0},e.stopImmediatePropagation=function(){e.cancelBubble=!0,e.cancelImmediate=!0},e.currentTarget=t,e.relatedTarget=e.fromElement||null,e.target=e.target||e.srcElement||t,e.timeStamp=(new Date).getTime(),e.clientX&&(e.pageX=e.clientX+document.documentElement.scrollLeft,e.pageY=e.clientY+document.documentElement.scrollTop);++a<r&&!e.cancelImmediate;)a in o&&(n=o[a],s.includes(n)&&"function"==typeof n&&n.call(t,e))},t._events[e].list=[],t.attachEvent&&t.attachEvent("on"+e,t._events[e])),t._events[e].list.push(s)},window.removeEventListener=Window.prototype.removeEventListener=Document.prototype.removeEventListener=Element.prototype.removeEventListener=function(){var t,e=arguments[0],n=arguments[1];this._events&&this._events[e]&&this._events[e].list&&-1!==(t=this._events[e].list.indexOf(n))&&(this._events[e].list.splice(t,1),this._events[e].list.length||(this.detachEvent&&this.detachEvent("on"+e,this._events[e]),delete this._events[e]))},window.dispatchEvent=Window.prototype.dispatchEvent=Document.prototype.dispatchEvent=Element.prototype.dispatchEvent=function(t){if(!arguments.length)throw Error("Not enough arguments");if(!t||"string"!=typeof t.type)throw Error("DOM Events Exception 0");var e=this,n=t.type;try{if(!t.bubbles){t.cancelBubble=!0;var s=function(t){t.cancelBubble=!0,(e||window).detachEvent("on"+n,s)};this.attachEvent("on"+n,s)}this.fireEvent("on"+n,t)}catch(s){t.target=e;do t.currentTarget=e,"_events"in e&&"function"==typeof e._events[n]&&e._events[n].call(e,t),"function"==typeof e["on"+n]&&e["on"+n].call(e,t),e=9===e.nodeType?e.parentWindow:e.parentNode;while(e&&!t.cancelBubble)}return!0},document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&document.dispatchEvent(new t("DOMContentLoaded",{bubbles:!0}))}
15))}}(),"getComputedStyle"in t||function(t){function e(t,n,s){var o,a=t.document&&t.currentStyle[n].match(/([\d.]+)(%|cm|em|in|mm|pc|pt|)/)||[0,0,""],r=a[1],l=a[2];return s=s?/%|em/.test(l)&&t.parentElement?e(t.parentElement,"fontSize",null):16:s,o="fontSize"==n?s:/width/i.test(n)?t.clientWidth:t.clientHeight,"%"==l?r/100*o:"cm"==l?.3937*r*96:"em"==l?r*s:"in"==l?96*r:"mm"==l?.3937*r*96/10:"pc"==l?12*r*96/72:"pt"==l?96*r/72:r}function n(t,e){var n="border"==e?"Width":"",s=e+"Top"+n,o=e+"Right"+n,a=e+"Bottom"+n,r=e+"Left"+n;t[e]=(t[s]==t[o]&&t[s]==t[a]&&t[s]==t[r]?[t[s]]:t[s]==t[a]&&t[r]==t[o]?[t[s],t[o]]:t[r]==t[o]?[t[s],t[o],t[a]]:[t[s],t[o],t[a],t[r]]).join(" ")}function s(t){var s,o=this,a=t.currentStyle,r=e(t,"fontSize"),l=function(t){return"-"+t.toLowerCase()};for(s in a)if(Array.prototype.push.call(o,"styleFloat"==s?"float":s.replace(/[A-Z]/,l)),"width"==s)o[s]=t.offsetWidth+"px";else if("height"==s)o[s]=t.offsetHeight+"px";else if("styleFloat"==s)o.float=a[s];else if(/margin.|padding.|border.+W/.test(s)&&"auto"!=o[s])o[s]=Math.round(e(t,s,r))+"px";else if(/^outline/.test(s))try{o[s]=a[s]}catch(t){o.outlineColor=a.color,o.outlineStyle=o.outlineStyle||"none",o.outlineWidth=o.outlineWidth||"0px",o.outline=[o.outlineColor,o.outlineWidth,o.outlineStyle].join(" ")}else o[s]=a[s];n(o,"margin"),n(o,"padding"),n(o,"border"),o.fontSize=Math.round(r)+"px"}s.prototype={constructor:s,getPropertyPriority:function(){throw Error("NotSupportedError: DOM Exception 9")},getPropertyValue:function(t){return this[t.replace(/-\w/g,function(t){return t[1].toUpperCase()})]},item:function(t){return this[t]},removeProperty:function(){throw Error("NoModificationAllowedError: DOM Exception 7")},setProperty:function(){throw Error("NoModificationAllowedError: DOM Exception 7")},getPropertyCSSValue:function(){throw Error("NotSupportedError: DOM Exception 9")}},t.getComputedStyle=function(t){return new s(t)}}(t),"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype||function(t,e){"use strict";function n(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||l();try{this.isIntersecting=!!t.intersectionRect}catch(t){}var e=this.boundingClientRect,n=e.width*e.height,s=this.intersectionRect,o=s.width*s.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function s(t,e){var n,s,o,a=e||{};if("function"!=typeof t)throw Error("callback must be a function");if(a.root&&1!=a.root.nodeType)throw Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),s=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout(function(){n(),o=null},s))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(a.rootMargin),this.thresholds=this._initThresholds(a.threshold),this.root=a.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}function o(t,e,n,s){"function"==typeof t.addEventListener?t.addEventListener(e,n,s||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function a(t,e,n,s){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,s||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function r(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):l()}function l(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function c(t,e){for(var n=e;n;){if(n==t)return!0;n=h(n)}return!1}function h(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}var u=[];s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},s.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},s.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(t,"resize",this._checkForIntersections,!0),o(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},s.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,a(t,"resize",this._checkForIntersections,!0),a(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},s.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),s=e?this._getRootRect():l();
15this._observationTargets.forEach(function(o){var a=o.element,l=r(a),c=this._rootContainsTarget(a),h=o.entry,u=e&&c&&this._computeTargetAndRootIntersection(a,s),d=o.entry=new n({time:t.performance&&performance.now&&performance.now(),target:a,boundingClientRect:l,rootBounds:s,intersectionRect:u});h?e&&c?this._hasCrossedThreshold(h,d)&&this._queuedEntries.push(d):h&&h.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},s.prototype._computeTargetAndRootIntersection=function(n,s){if("none"!=t.getComputedStyle(n).display){for(var o=r(n),a=o,l=h(n),c=!1;!c;){var u=null,d=1==l.nodeType?t.getComputedStyle(l):{};if("none"==d.display)return;if(l==this.root||l==e?(c=!0,u=s):l!=e.body&&l!=e.documentElement&&"visible"!=d.overflow&&(u=r(l)),u&&!(a=function(t,e){var n=Math.max(t.top,e.top),s=Math.min(t.bottom,e.bottom),o=Math.max(t.left,e.left),a=Math.min(t.right,e.right),r=a-o,l=s-n;return r>=0&&l>=0&&{top:n,bottom:s,left:o,right:a,width:r,height:l}}(u,a)))break;l=h(l)}return a}},s.prototype._getRootRect=function(){var t;if(this.root)t=r(this.root);else{var n=e.documentElement,s=e.body;t={top:0,left:0,right:n.clientWidth||s.clientWidth,width:n.clientWidth||s.clientWidth,bottom:n.clientHeight||s.clientHeight,height:n.clientHeight||s.clientHeight}}return this._expandRectByRootMargin(t)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,s=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==s)for(var o=0;o<this.thresholds.length;o++){var a=this.thresholds[o];if(a==n||a==s||a<n!=a<s)return!0}},s.prototype._rootIsInDom=function(){return!this.root||c(e,this.root)},s.prototype._rootContainsTarget=function(t){return c(this.root||e,t)},s.prototype._registerInstance=function(){0>u.indexOf(this)&&u.push(this)},s.prototype._unregisterInstance=function(){var t=u.indexOf(this);-1!=t&&u.splice(t,1)},t.IntersectionObserver=s,t.IntersectionObserverEntry=n}(window,document)}("object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof global&&global||{}),function(t){"use strict";t(function(){var e,n,s=document.querySelectorAll(".section-lazy");function o(t){t.classList.remove("section-lazy")}("forEach"in s||(s=t.makeArray(s)),"IntersectionObserver"in window)?(e=new IntersectionObserver(function(t,e){t.forEach(function(t){if(t.isIntersecting||0!==t.intersectionRatio){var n=t.target;o(n),e.unobserve(n)}})},{rootMargin:"0px 0px 134% 0px"}),n=function(t){e.observe(t)}):n=function(){var t=0,e=2*window.innerHeight,n=function(t){var o=e>=t.getBoundingClientRect().top;return o||(n=s),o};function s(){return!1}return function(e){n(e)?o(e):setTimeout(function(){o(e)},300*(t+=1))}}
15(),s.forEach(n)})}(window.jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Sweetalert2=e()}(this,function(){"use strict";var t,e,n="swal2-",s=function(t){var e={};for(var s in t)e[t[s]]=n+t[s];return e},o=s(["container","in","modal","overlay","close","content","spacer","confirm","cancel","icon","image","input","file","range","select","radio","checkbox","textarea","validationerror","progresssteps","activeprogressstep","progresscircle","progressline"]),a=s(["success","warning","info","question","error"]),r={title:"",text:"",html:"",type:null,customClass:"",animation:!0,allowOutsideClick:!0,allowEscapeKey:!0,showConfirmButton:!0,showCancelButton:!1,preConfirm:null,confirmButtonText:"OK",confirmButtonColor:"#3085d6",confirmButtonClass:null,cancelButtonText:"Cancel",cancelButtonColor:"#aaa",cancelButtonClass:null,buttonsStyling:!0,reverseButtons:!1,focusCancel:!1,showCloseButton:!1,showLoaderOnConfirm:!1,imageUrl:null,imageWidth:null,imageHeight:null,imageClass:null,timer:null,width:500,padding:20,background:"#fff",input:null,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputClass:null,inputAttributes:{},inputValidator:null,progressSteps:[],currentProgressStep:null,progressStepsDistance:"40px",onOpen:null,onClose:null},l='<div class="'+o.modal+'" style="display: none" tabIndex="-1"><ul class="'+o.progresssteps+'"></ul><div class="'+o.icon+" "+a.error+'"><span class="x-mark"><span class="line left"></span><span class="line right"></span></span></div><div class="'+o.icon+" "+a.question+'">?</div><div class="'+o.icon+" "+a.warning+'">!</div><div class="'+o.icon+" "+a.info+'">i</div><div class="'+o.icon+" "+a.success+'"><span class="line tip"></span> <span class="line long"></span><div class="placeholder"></div> <div class="fix"></div></div><img class="'+o.image+'"><h2></h2><div class="'+o.content+'"></div><input class="'+o.input+'"><input type="file" class="'+o.file+'"><div class="'+o.range+'"><output></output><input type="range"></div><select class="'+o.select+'"></select><div class="'+o.radio+'"></div><label for="'+o.checkbox+'" class="'+o.checkbox+'"><input type="checkbox"></label><textarea class="'+o.textarea+'"></textarea><div class="'+o.validationerror+'"></div><hr class="'+o.spacer+'"><button type="button" class="'+o.confirm+'">OK</button><button type="button" class="'+o.cancel+'">Cancel</button><span class="'+o.close+'">&times;</span></div>',c=document.getElementsByClassName(o.container);c.length?t=c[0]:((t=document.createElement("div")).className=o.container,t.innerHTML=l);var h=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},u=function(t,e){(t=String(t).replace(/[^0-9a-f]/gi,"")).length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),e=e||0;for(var n="#",s=0;s<3;s++){var o=parseInt(t.substr(2*s,2),16);n+=("00"+(o=Math.round(Math.min(Math.max(0,o+o*e),255)).toString(16))).substr(o.length)}return n},d={previousWindowKeyDown:null,previousActiveElement:null,previousBodyPadding:null},p=function(){if("undefined"==typeof document){console.error("SweetAlert2 requires document to initialize");return}if(!document.getElementsByClassName(o.container).length){document.body.appendChild(t);var e=m(),n=S(e,o.input),s=S(e,o.file),a=e.querySelector("."+o.range+" input"),r=S(e,o.select),l=e.querySelector("."+o.checkbox+" input"),c=S(e,o.textarea);return n.oninput=function(){sweetAlert.resetValidationError()},n.onkeyup=function(t){t.stopPropagation(),13===t.keyCode&&sweetAlert.clickConfirm()},s.onchange=function(){sweetAlert.resetValidationError()},a.oninput=function(){sweetAlert.resetValidationError(),a.previousSibling.value=a.value},a.onchange=function(){sweetAlert.resetValidationError(),a.previousSibling.value=a.value},r.onchange=function(){sweetAlert.resetValidationError()},l.onchange=function(){sweetAlert.resetValidationError()},c.oninput=function(){sweetAlert.resetValidationError()},e}},f=function(e){return t.querySelector("."+e)},m=function(){return document.body.querySelector("."+o.modal)||p()},g=function(){return f(o.spacer)},v=function(){return f(o.progresssteps)},b=function(){return f(o.validationerror)},_=function(){return f(o.confirm)},y=function(){return f(o.cancel)},w=function(t){var e=[_(),y()];return t&&e.reverse(),e.concat(Array.prototype.slice.call(m().querySelectorAll("button:not([class^="+n+"]), input:not([type=hidden]), textarea, select")))},C=function(t,e){return t.classList.contains(e)},x=function(t){if(t.focus(),"file"!==t.type){var e=t.value;t.value="",t.value=e}}
15,k=function(t,e){t&&e&&e.split(/\s+/).forEach(function(e){t.classList.add(e)})},T=function(t,e){t&&e&&e.split(/\s+/).forEach(function(e){t.classList.remove(e)})},S=function(t,e){for(var n=0;n<t.childNodes.length;n++)if(C(t.childNodes[n],e))return t.childNodes[n]},E=function(t,e){e||(e="block"),t.style.opacity="",t.style.display=e},D=function(t){t.style.opacity="",t.style.display="none"},I=function(t){for(;t.firstChild;)t.removeChild(t.firstChild)},A=function(t){return t.offsetWidth||t.offsetHeight||t.getClientRects().length},O=function(t,e){t.style.removeProperty?t.style.removeProperty(e):t.style.removeAttribute(e)},P=function(t){if("function"==typeof MouseEvent){var e=new MouseEvent("click",{view:window,bubbles:!1,cancelable:!0});t.dispatchEvent(e)}else if(document.createEvent){var n=document.createEvent("MouseEvents");n.initEvent("click",!1,!1),t.dispatchEvent(n)}else document.createEventObject?t.fireEvent("onclick"):"function"==typeof t.onclick&&t.onclick()},M=function(t){"function"==typeof t.stopPropagation?(t.stopPropagation(),t.preventDefault()):window.event&&window.event.hasOwnProperty("cancelBubble")&&(window.event.cancelBubble=!0)},N=function(){var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",msAnimation:"MSAnimationEnd",animation:"animationend"};for(var n in e)if(e.hasOwnProperty(n)&&void 0!==t.style[n])return e[n];return!1}(),L=function(){var t=m();window.onkeydown=d.previousWindowKeyDown,d.previousActiveElement&&d.previousActiveElement.focus&&d.previousActiveElement.focus(),clearTimeout(t.timeout)},H=function(){var t=document.createElement("div");t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e},W=function(t,e,n){var s;return function(){var o=this,a=arguments,r=n&&!s;clearTimeout(s),s=setTimeout(function(){s=null,n||t.apply(o,a)},e),r&&t.apply(o,a)}},z=h({},r),F=[],j=function(t){var e,n=m();for(var s in t)r.hasOwnProperty(s)||"extraParams"===s||console.warn('SweetAlert2: Unknown parameter "'+s+'"');n.style.width="number"==typeof t.width?t.width+"px":t.width,n.style.padding=t.padding+"px",n.style.background=t.background;var l=n.querySelector("h2"),c=n.querySelector("."+o.content),h=_(),u=y(),d=n.querySelector("."+o.close);if(l.innerHTML=t.title.split("\n").join("<br>"),t.text||t.html){if("object"==typeof t.html){if(c.innerHTML="",0 in t.html)for(e=0;(e in t.html);e++)c.appendChild(t.html[e].cloneNode(!0));else c.appendChild(t.html.cloneNode(!0))}else c.innerHTML=t.html||t.text.split("\n").join("<br>");E(c)}else D(c);t.showCloseButton?E(d):D(d),n.className=o.modal,t.customClass&&k(n,t.customClass);var p=v(),f=parseInt(null===t.currentProgressStep?U.getQueueStep():t.currentProgressStep,10);t.progressSteps.length?(E(p),I(p),f>=t.progressSteps.length&&console.warn("SweetAlert2: Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach(function(e,n){var s=document.createElement("li");if(k(s,o.progresscircle),s.innerHTML=e,n===f&&k(s,o.activeprogressstep),p.appendChild(s),n!==t.progressSteps.length-1){var a=document.createElement("li");k(a,o.progressline),a.style.width=t.progressStepsDistance,p.appendChild(a)}})):D(p);var b=m().querySelectorAll("."+o.icon);for(e=0;e<b.length;e++)D(b[e]);if(t.type){var w=!1;for(var C in a)if(t.type===C){w=!0;break}if(!w)return console.error("SweetAlert2: Unknown alert type: "+t.type),!1;var x=n.querySelector("."+o.icon+"."+a[t.type]);switch(E(x),t.type){case"success":k(x,"animate"),k(x.querySelector(".tip"),"animate-success-tip"),k(x.querySelector(".long"),"animate-success-long");break;case"error":k(x,"animate-error-icon"),k(x.querySelector(".x-mark"),"animate-x-mark");break;case"warning":k(x,"pulse-warning")}}var S=n.querySelector("."+o.image);t.imageUrl?(S.setAttribute("src",t.imageUrl),E(S),t.imageWidth?S.setAttribute("width",t.imageWidth):S.removeAttribute("width"),t.imageHeight?S.setAttribute("height",t.imageHeight):S.removeAttribute("height"),S.className=o.image,t.imageClass&&k(S,t.imageClass)):D(S),t.showCancelButton?u.style.display="inline-block":D(u),t.showConfirmButton?O(h,"display"):D(h);var A=g();t.showConfirmButton||t.showCancelButton?E(A):D(A),h.innerHTML=t.confirmButtonText,u.innerHTML=t.cancelButtonText,t.buttonsStyling&&(h.style.backgroundColor=t.confirmButtonColor,u.style.backgroundColor=t.cancelButtonColor),h.className=o.confirm,k(h,t.confirmButtonClass),u.className=o.cancel,k(u,t.cancelButtonClass),t.buttonsStyling?(k(h,"styled"),k(u,"styled")):(T(h,"styled"),T(u,"styled"),h.style.backgroundColor=h.style.borderLeftColor=h.style.borderRightColor="",u.style.backgroundColor=u.style.borderLeftColor=u.style.borderRightColor=""),!0===t.animation?T(n,"no-animation"):k(n,"no-animation")},R=function(e,n){var s=m();e?(k(s,"show-swal2"),k(t,"fade"),T(s,"hide-swal2")):T(s,"fade"),E(s),t.style.overflowY="hidden",N&&!C(s,"no-animation")?s.addEventListener(N,function e(){s.removeEventListener(N,e),t.style.overflowY="auto"}):t.style.overflowY="auto",k(t,"in"),k(document.body,o.in),null===d.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(d.previousBodyPadding=document.body.style.paddingRight,document.body.style.paddingRight=H()+"px"),d.previousActiveElement=document.activeElement,null!==n&&"function"==typeof n&&n.call(this,s)};function B(){null!==d.previousBodyPadding&&(document.body.style.paddingRight=d.previousBodyPadding,d.previousBodyPadding=null)}function q(){if(void 0===arguments[0])return console.error("SweetAlert2 expects at least 1 attribute!"),!1;var n=h({},z);switch(typeof arguments[0]){case"string":n.title=arguments[0],n.text=arguments[1]||"",n.type=arguments[2]||"";break;case"object":h(n,arguments[0]),n.extraParams=arguments[0].extraParams,"email"===n.input&&null===n.inputValidator&&(n.inputValidator=function(t){return new Promise(function(e,n){/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/.test(t)?e():n("Invalid email address")})});break;default:return console.error('SweetAlert2: Unexpected type of argument! Expected "string" or "object", got '+typeof arguments[0]),!1}j(n);var s=m();return new Promise(function(a,r){n.timer&&(s.timeout=setTimeout(function(){U.closeModal(n.onClose),r("timer")},n.timer));var l,c,h,p=function(t){switch(t=t||n.input){case"select":case"textarea":case"file":return S(s,o[t]);case"checkbox":return s.querySelector("."+o.checkbox+" input");case"radio":return s.querySelector("."+o.radio+" input:checked")||s.querySelector("."+o.radio+" input:first-child");case"range":return s.querySelector("."+o.range+" input");default:return S(s,o.input)}},C=function(){var t=p();if(!t)return null;switch(n.input){case"checkbox":return t.checked?1:0;case"radio":return t.checked?t.value:null;case"file":return t.files.length?t.files[0]:null;default:return n.inputAutoTrim?t.value.trim():t.value}};n.input&&setTimeout(function(){var t=p();t&&x(t)},0);var I=function(t){n.showLoaderOnConfirm&&U.showLoading(),n.preConfirm?n.preConfirm(t,n.extraParams).then(function(e){U.closeModal(n.onClose),a(e||t)},function(t){U.hideLoading(),t&&U.showValidationError(t)}):(U.closeModal(n.onClose),a(t))},O=function(t){var e=t||window.event,s=e.target||e.srcElement,o=_(),a=y(),l=o===s||o.contains(s),c=a===s||a.contains(s);switch(e.type){case"mouseover":case"mouseup":n.buttonsStyling&&(l?o.style.backgroundColor=u(n.confirmButtonColor,-.1):c&&(a.style.backgroundColor=u(n.cancelButtonColor,-.1)));break;case"mouseout":n.buttonsStyling&&(l?o.style.backgroundColor=n.confirmButtonColor:c&&(a.style.backgroundColor=n.cancelButtonColor));break;case"mousedown":n.buttonsStyling&&(l?o.style.backgroundColor=u(n.confirmButtonColor,-.2):c&&(a.style.backgroundColor=u(n.cancelButtonColor,-.2)));break;case"click":if(l&&U.isVisible()){if(n.input){var h=C();n.inputValidator?(U.disableInput(),n.inputValidator(h,n.extraParams).then(function(){U.enableInput(),I(h)},function(t){U.enableInput(),t&&U.showValidationError(t)})):I(h)}else I(!0)}else c&&U.isVisible()&&(U.closeModal(n.onClose),r("cancel"))}},N=s.querySelectorAll("button");for(l=0;l<N.length;l++)N[l].onclick=O,N[l].onmouseover=O,N[l].onmouseout=O,N[l].onmousedown=O;f(o.close).onclick=function(){U.closeModal(n.onClose),r("close")},t.onclick=function(e){e.target===t&&n.allowOutsideClick&&(U.closeModal(n.onClose),r("overlay"))};var L=_(),H=y();function z(t,e){for(var s=w(n.focusCancel),o=0;o<s.length;o++){(t+=e)===s.length?t=0:-1===t&&(t=s.length-1);var a=s[t];if(A(a))return a.focus()}}n.reverseButtons?L.parentNode.insertBefore(H,L):L.parentNode.insertBefore(L,H),d.previousWindowKeyDown=window.onkeydown,window.onkeydown=function(t){var e=t||window.event,s=e.keyCode||e.which;if(-1!==[9,13,32,27].indexOf(s)){for(var o=e.target||e.srcElement,a=w(n.focusCancel),l=-1,c=0;c<a.length;c++)if(o===a[c]){l=c;break}9===s?(e.shiftKey?z(l,-1):z(l,1),M(e)):13===s||32===s?-1===l&&(n.focusCancel?P(H,e):P(L,e)):27===s&&!0===n.allowEscapeKey&&(U.closeModal(n.onClose),r("esc"))}},n.buttonsStyling&&(L.style.borderLeftColor=n.confirmButtonColor,L.style.borderRightColor=n.confirmButtonColor),U.showLoading=U.enableLoading=function(){E(g()),E(L,"inline-block"),k(L,"loading"),k(s,"loading"),L.disabled=!0,H.disabled=!0},U.hideLoading=U.disableLoading=function(){n.showConfirmButton||(D(L),n.showCancelButton||D(g())),T(L,"loading"),T(s,"loading"),L.disabled=!1,H.disabled=!1},U.enableButtons=function(){L.disabled=!1,H.disabled=!1},U.disableButtons=function(){L.disabled=!0,H.disabled=!0},U.enableConfirmButton=function(){L.disabled=!1},U.disableConfirmButton=function(){L.disabled=!0},U.enableInput=function(){var t=p();if(!t)return!1;if("radio"===t.type)for(var e=t.parentNode.parentNode.querySelectorAll("input"),n=0;n<e.length;n++)e[n].disabled=!1;else t.disabled=!1},U.disableInput=function(){var t=p();if(!t)return!1;if(t&&"radio"===t.type)for(var e=t.parentNode.parentNode.querySelectorAll("input"),n=0;n<e.length;n++)e[n].disabled=!0;else t.disabled=!0},U.recalculateHeight=W(function(){var t=m(),e=t.style.display;t.style.minHeight="",E(t),t.style.minHeight=t.scrollHeight+1+"px",t.style.display=e},50),U.showValidationError=function(t){var e=b();e.innerHTML=t,E(e);var n=p();x(n),k(n,"error")},U.resetValidationError=function(){D(b()),U.recalculateHeight();var t=p();t&&T(t,"error")},U.getProgressSteps=function(){return n.progressSteps},U.setProgressSteps=function(t){n.progressSteps=t,j(n)},U.showProgressSteps=function(){E(v())},U.hideProgressSteps=function(){D(v())},U.enableButtons(),U.hideLoading(),U.resetValidationError();var F=["input","file","range","select","radio","checkbox","textarea"];for(l=0;l<F.length;l++){var B=o[F[l]],q=S(s,B);if(c=p(F[l])){for(var V in c.attributes)if(c.attributes.hasOwnProperty(V)){var Y=c.attributes[V].name;"type"!==Y&&"value"!==Y&&c.removeAttribute(Y)}for(var K in n.inputAttributes)c.setAttribute(K,n.inputAttributes[K])}q.className=B,n.inputClass&&k(q,n.inputClass),D(q)}switch(n.input){case"text":case"email":case"password":case"number":case"tel":(c=S(s,o.input)).value=n.inputValue,c.placeholder=n.inputPlaceholder,c.type=n.input,E(c);break;case"file":(c=S(s,o.file)).placeholder=n.inputPlaceholder,c.type=n.input,E(c);break;case"range":var Q=S(s,o.range),G=Q.querySelector("input"),X=Q.querySelector("output");G.value=n.inputValue,G.type=n.input,X.value=n.inputValue,E(Q);break;case"select":var Z=S(s,o.select);if(Z.innerHTML="",n.inputPlaceholder){var J=document.createElement("option");J.innerHTML=n.inputPlaceholder,J.value="",J.disabled=!0,J.selected=!0,Z.appendChild(J)}h=function(t){for(var e in t){var s=document.createElement("option");s.value=e,s.innerHTML=t[e],n.inputValue===e&&(s.selected=!0),Z.appendChild(s)}E(Z),Z.focus()};break;case"radio":var tt=S(s,o.radio);tt.innerHTML="",h=function(t){for(var e in t){var s=1,a=document.createElement("input"),r=document.createElement("label"),l=document.createElement("span");a.type="radio",a.name=o.radio,a.value=e,a.id=o.radio+"-"+s++,n.inputValue===e&&(a.checked=!0),l.innerHTML=t[e],r.appendChild(a),r.appendChild(l),r.for=a.id,tt.appendChild(r)}E(tt);var c=tt.querySelectorAll("input");c.length&&c[0].focus()};break;case"checkbox":var te=S(s,o.checkbox),ti=p("checkbox");ti.type="checkbox",ti.value=1,ti.id=o.checkbox,ti.checked=!!n.inputValue;var tn=te.getElementsByTagName("span");tn.length&&te.removeChild(tn[0]),(tn=document.createElement("span")).innerHTML=n.inputPlaceholder,te.appendChild(tn),E(te);break;case"textarea":var ts=S(s,o.textarea);ts.value=n.inputValue,ts.placeholder=n.inputPlaceholder,E(ts);break;case null:break;default:console.error('SweetAlert2: Unexpected type of input! Expected "text" or "email" or "password", "select", "checkbox", "textarea" or "file", got "'+n.input+'"')}("select"===n.input||"radio"===n.input)&&(n.inputOptions instanceof Promise?(U.showLoading(),n.inputOptions.then(function(t){U.hideLoading(),h(t)})):"object"==typeof n.inputOptions?h(n.inputOptions):console.error("SweetAlert2: Unexpected type of inputOptions! Expected object or Promise, got "+typeof n.inputOptions)),R(n.animation,n.onOpen),z(-1,1),t.scrollTop=0,"undefined"==typeof MutationObserver||e||(e=new MutationObserver(U.recalculateHeight)).observe(s,{childList:!0,characterData:!0,subtree:!0})})}function U(){var t=arguments;return U.isVisible()&&U.close(),q.apply(this,t)}return U.isVisible=function(){return A(m())},U.queue=function(t){F=t;var e=m(),n=function(){F=[],e.removeAttribute("data-queue-step")};return new Promise(function(t,s){!function o(a,r){a<F.length?(e.setAttribute("data-queue-step",a),U(F[a]).then(function(){o(a+1,r)},function(t){n(),s(t)})):(n(),t())}(0)})},U.getQueueStep=function(){return m().getAttribute("data-queue-step")},U.insertQueueStep=function(t,e){return e&&e<F.length?F.splice(e,0,t):F.push(t)},U.deleteQueueStep=function(t){void 0!==F[t]&&F.splice(t,1)},U.close=U.closeModal=function(e){var n=m();T(n,"show-swal2"),k(n,"hide-swal2");var s=n.querySelector("."+o.icon+"."+a.success);T(s,"animate"),T(s.querySelector(".tip"),"animate-success-tip"),T(s.querySelector(".long"),"animate-success-long");var r=n.querySelector("."+o.icon+"."+a.error);T(r,"animate-error-icon"),T(r.querySelector(".x-mark"),"animate-x-mark"),T(n.querySelector("."+o.icon+"."+a.warning),"pulse-warning"),L(),N&&!C(n,"no-animation")?n.addEventListener(N,function e(){n.removeEventListener(N,e),C(n,"hide-swal2")&&(D(n),T(t,"in"),T(document.body,o.in),B())}):(D(n),T(t,"in"),T(document.body,o.in),B()),null!==e&&"function"==typeof e&&e.call(this,n)},U.clickConfirm=function(){_().click()},U.clickCancel=function(){y().click()},U.setDefaults=function(t){if(!t)throw Error("userParams is required");if("object"!=typeof t)throw Error("userParams has to be a object");h(z,t)},U.resetDefaults=function(){z=h({},r)},U.version="",window.sweetAlert=window.swalTwo=U,"function"==typeof Promise?Promise.prototype.done=Promise.prototype.done||function(){return this.catch(function(){})}:console.warn("SweetAlert2: Please inlude Promise polyfill BEFORE including sweetalert2.js if IE10+ support needed."),U}),function(t){var e=function(e,n){this.$el=t(e),this.inputAttributes=n.attributes,this.options=n||{},this.config={fail:'<span class="error"><i class="la-cicon-exclamation" aria-hidden="true"></i>Oops! Upload failed</span>',notSupported:'<span class="error"><i class="la-cicon-exclamation" aria-hidden="true"></i>File type not supported</span>',maxSize:'<span class="error"><i class="la-cicon-exclamation" aria-hidden="true"></i>File exceeds max size</span>',fileSize:10485760,fileTypes:n.fileTypes,defaultLabel:""==this.options.label?this.options.label:this.options.helpText},this.itemInfo={},this.insertHTML(this.inputAttributes),this.$uploadFieldInput=this.$el.find(":file"),this.$label=this.$el.find(".labelHolder"),this.$close=this.$el.find(".la-cicon-close"),this.init(this.$el)};e.prototype.init=function(t){this.attachEvents()},e.prototype.attachEvents=function(){var e=this;e.$el.on("change",":file",function(){var e=t(this),n=e.get(0).files?e.get(0).files.length:1,s=e.val().replace(/\\/g,"/").replace(/.*\//,""),o=document.getElementById(e.attr("id")).files[0];o&&e.trigger("fileselect",[n,s,o])}),e.$uploadFieldInput.on("fileselect",function(t,n,s,o){e.validateFiles(t,n,s,o)}),e.$uploadFieldInput.on("focus",functi
15on(){e.$uploadFieldInput.addClass("has-focus")}).on("blur",function(){e.$uploadFieldInput.removeClass("has-focus")}),e.$close.on("click",function(t){t.preventDefault(),e.toggleInputState("reset"),e.uploadItems("removeLastUploaded"),e.$uploadFieldInput.val("")})},e.prototype.uploadItems=function(t){"object"!=typeof t?this.$uploadFieldInput.data("item",""):(this.$uploadFieldInput.data("item",JSON.stringify(t)),this.toggleInputState("close"))},e.prototype.toggleInputState=function(t){"reset"===t&&(t="upload",this.$label.html(this.config.defaultLabel)),this.$el.find(".la-cicon-"+t).show(),this.$el.find(".la-cicon-"+t).siblings("i").hide(),"upload"===t?this.$el.find(".status-label").show():this.$el.find(".status-label").hide()},e.prototype.encodeBaseSF=function(t,e,n){var s=this,o=new FileReader,a={};o.readAsDataURL(t),o.onload=function(){return a.id=e,a.string=o.result,a.size=t.size,a.extension=s.itemInfo.extension,a.icon=s.itemInfo.icon,n(a)},o.onerror=function(t){}},e.prototype.insertHTML=function(e){this.options.required;var n='<label for="'+e.id+'"><span class="labelHolder">'+this.config.defaultLabel+'</span><span class="btnS"><span class=""><i class="la-cicon-spinner icon-pulse icon-fw icon-load" style="display:none;"></i><i class="la-cicon-upload"></i><i class="la-cicon-close" style="display:none;"></i><span class="status-label"> Browse</span></span></span></label><span class="form-input-info">Maximum file size allowed: 10MB</label>',s=t("<input>",e).addClass("fileUpload");this.$el.append(s).append(n)},e.prototype.validateFiles=function(e,n,s,o){var a=this,r=a.$label.html(),l="",c=!1;t("label",a.$el).removeClass("has-error"),t(".error_container",a.$el.parent().parent()).remove(),a.itemInfo.extension=o.name.split(".").pop().toUpperCase(),a.itemInfo.icon="other",t.each(a.options.fileTypes,function(t,e){e.ext===a.itemInfo.extension&&(c=!0,a.itemInfo.icon=e.icon)}),e.target.value&&(l=e.target.value.split("\\").pop());var h='<span class="success"><i class="la-cicon-file-'+a.itemInfo.icon+'"></i>'+l+"</span>";l?(o.size>a.config.fileSize?a.updateLabel(a.config.maxSize):c?a.encodeBaseSF(o,l,function(t){a.uploadItems(t),a.updateLabel(h)}):a.updateLabel(a.config.notSupported),a.toggleInputState("close")):(a.$label.html(r),a.toggleInputState("load"))},e.prototype.updateLabel=function(t){void 0!==t&&this.$label.html(t)}
15;var n=t.fn.uploadField;t.fn.uploadField=function(n){n=t.extend({},t(this).data(),"object"==typeof n&&n),new e(this,n)},t.fn.uploadField.Constructor=e,t.fn.uploadField.noConflict=function(){return t.fn.uploadField=n,this}}(jQuery),function(t){var e=function(e,n){if(this.$form=t(e),this.options=n,this.options.advanceNotice>0){let t=new Date,e=new Date(t.getTime()+1e3*this.options.advanceNotice);this.options.advanceNotice=e}else this.options.advanceNotice=new Date;this.init(),this.attachEvents()};e.prototype.init=function(){this.formOptions()},e.prototype.attachEvents=function(){var e=this;e.$form.on("submit",function(){return e.requestLeadsApi(),!1}),e.$form.find(".fileField").each(function(){t(this).uploadField({attributes:{id:t(this).data("id"),name:t(this).data("name"),type:"file"},fileTypes:e.$form.data("file-types"),label:t(this).data("label"),helpText:t(this).data("placeholder"),required:t(this).data("required")})}),e.$form.find("input:checkbox").each(function(){var e=t(this).data("refName");t(this).attr("required")&&""!=e.trim()&&(this.checkValidity=function(){return t('*[data-ref-name="'+e+'"]:checkbox:checked').length>0})}),e.$form.find("input[data-form-datepicker='default']").each(function(){"preferred_date"==t(this).attr("name")?t(this).datepicker({minDate:e.options.advanceNotice,onSelect:function(){e.fillAvailableHours(t(this).datepicker("getDate"))}}):t(this).datepicker()})},e.prototype.requestLeadsApi=function(){var e=this;if(!this.checkFormValidity())return!1;t(":submit",e.$form).prop("disabled",!0);var n=e.buildPostData();let s=document.getElementById("error-form-dialog"),o=document.getElementById("p-error-message"),a=document.getElementById("close-dialog");function r(t){o.textContent=t,s.showModal(),document.body.style.overflow="hidden",s.style.display="block"}if(a.addEventListener("click",()=>{s.close(),s.style.display="none",document.body.style.overflow="auto"}),this.checkUrlsInComments(n))return r("Error: Your message could not be delivered because it contains a link to an external website. Please review your message and try again."),t(":submit",e.$form).prop("disabled",!1),!1;n.source=window.location.hostname,n.__lf_ref_name="",n.__lf_title_name="",n.__lf__ref_contact_field="",n.mh_template_id=e.$form.data("template-id"),n.mh_orgId=e.$form.data("mhorgid"),t.ajax({url:e.$form.data("submit-url"),type:"POST",dataType:"json",data:n,success:function(t){e.submitSuccessMessage()},error:function(e,n,s){if(e.hasOwnProperty("responseText")){var o=t.parseJSON(e.responseText);if(o.error_message){if("object"==typeof o.error_message)r("Error: "+o.error_message);else if("string"==typeof o.error_message)try{let t=JSON.parse(o.error_message);t=t[0].message,r("Error: "+t)}catch(t){r("Error: "+o.error_message)}}else r("Error: "+e.status+" "+e.statusText),t.support.placeholder||t("[placeholder]").each(function(){this.value=t(this).attr("placeholder")})}else r("Oops! Something went wrong!")},complete:function(){t(":submit",e.$form).prop("disabled",!1)}})},e.prototype.checkFormValidity=function(){var e=this,n=!0;return e.$form.find("input").each(function(){t(this).attr("required")&&(this.checkValidity()||(n=!1),e.$form.addClass("was-validated"))}),n},e.prototype.submitSuccessMessage=function(){"message"==this.options.submitType?(this.$form.hide(),this.$form.parent().find(".div-success-message."+this.$form.data("hash")).show()):"redirect"==this.options.submitType&&window.location.replace(this.options.submitValue)},e.prototype.buildPostData=function(){var e=this,n={},s={},o={};if(n.hash=e.options.hash,t.each(e.$form.find(":input").not(":submit"),function(){s[this.name]=e.$form.find(":input[name='"+this.name+"']"),o[this.getAttribute("data-ref-name")]=this.name}),void 0!=window.CampaignTracker)var a=window.CampaignTracker.readCookie();return a&&(n.source=a.source,n.medium="undefined"!=a.medium?a.medium:"",n.campaign="undefined"!=a.campaign?a.campaign:"",n.content="undefined"!=a.content?a.content:"",n.term="undefined"!=a.term?a.term:""),e.$form.find(":input").each(function(){"submit"!=this.type&&"button"!=this.type&&("tel"==this.getAttribute("type")?n[this.name]=this.value.replace(/[^0-9]/g,""):"date"==this.getAttribute("type")&&"date"!=t(this).prop("type")?n[this.name]=e.convertDate(this.value):"preferred_date"!=this.getAttribute("data-ref-name")||t(this).data("isCustom")?"checkbox"==this.type||"radio"==this.type?n[this.name]=t("input[name="+this.name+"]:checked").map(function(e,n){return t(n).val()}).get():"file"==this.type?n[this.name]=t(this).data("item"):n[this.name]=this.value:n[o.preferred_date]=e.convertDate(this.value))}),n},e.prototype.convertDate=function(t){var e=t.split("/");return e.length>0&&e[0]?e[2]+"-"+e[0]+"-"+e[1]:t},e.prototype.formOptions=function(e){t(".forms-option--b .form-a .form__group label").each(function(){t(this).hasClass("hidden")||t(this).parent().find(".form__input:not([type='radio']):not([type='checkbox']):not(.form__input--file)>:first-child , .form__input--file").addClass("optionB-enabled")})},e.prototype.fillAvailableHours=function(e){var n=this;t(n.$form).find(":submit").attr("disabled",!1);var s=t.datepicker.formatDate("D",e);if(Array.isArray(n.options.availableHours)){var o=[];t.each(n.options.availableHours,function(){if(s===this.day_of_week)return 1==this.closed?o.push("Closed"):t.each(this.hours,function(){var t=n.populateHours(this.from,this.to,n.options.timeInterval,e);o=o.concat(t)}),!1}),0==t(o).length&&o.push("Closed"),n.$form.find("[name='preferred_time']").empty(),t.each(o,function(e,s){n.$form.find("[name='preferred_time']").append(t("<option>",{value:s,text:s})),"Closed"==s&&t(n.$form).find(":submit").attr("disabled",!0)})}},e.prototype.populateHours=function(t,e,n,s){for(var o=[],s=void 0!==s?s:new Date,a=Date.parse(s.getFullYear()+"/"+(s.getMonth()+1)+"/"+s.getDate()+" "+t),r=Date.parse(s.getFullYear()+"/"+(s.getMonth()+1)+"/"+s.getDate()+" "+e);a<r;){var s=new Date(a),l=s.getHours()>12?s.getHours()-12:s.getHours(),c=s.getHours()>=12?"PM":"AM",h=l+":"+(10>s.getMinutes()?"0"+s.getMinutes():s.getMinutes())+" "+c;o.push(h),a+=1e3*n}return o},e.prototype.checkUrlsInComments=function(t){if(!("comments"in t))return!1;var e=RegExp("((https?|ftp):\\/\\/)?([a-z0-9+!*(),;?&=$_.-]+(:[a-z0-9+!*(),;?&=$_.-]+)?@)?([a-z0-9-.]*)\\.([a-z]{2,3})(:[0-9]{2,5})?(\\/([a-z0-9+$_-]\\.?)+)*\\/?(\\?[a-z+&$_.-][a-z0-9;:@&%=+\\/$_.-]*)?(#[a-z_.-][a-z0-9+$_.-]*)?","i");return!!t.comments.match(e)},e.DEFAULTS={};var n=t.fn.Form;t.fn.Form=function(n){var s;return arguments,this.each(function(){var o=t(this),a=t.extend({},e.DEFAULTS,o.data(),"object"==typeof n&&n);if(o.data("se.form",new e(this,a)),void 0!==s)return!1}),s||this},t.fn.Form.Constructor=e,t.fn.Form.noConflict=function(){return t.fn.Form=n,this}
15,t(window).load(function(){var e=t('[data-control="form"]');e.length&&e.each(function(){t(this).Form({})})})}(jQuery),function(t,e,n){"use strict";let s="math_captcha",o="math_captcha_token",a=new WeakMap;function r(t){return a.get(t)||{loading:!1,loaded:!1,fetchedAt:0,jqxhr:null,submitRetryArmed:!1}}function l(t,e){a.set(t,e)}function c(t){return!t.fetchedAt||Date.now()-t.fetchedAt>=295e3}function h(t){let e=t.find("#data-captcha-question").first(),n=t.find("#math_captcha").first(),a=t.find("#math_captcha_token").first();return n.length&&(n.attr("name")||"")!==s&&n.attr("name",s),a.length&&(a.attr("name")||"")!==o&&a.attr("name",o),{$q:e,$a:n,$t:a}}function u(e,n){let s=e.get(0);if(!s)return null;let o=r(s),a=!!(n&&n.force);if(o.loading||o.loaded&&!a&&!c(o))return o.jqxhr;let u=function(t){let e=t.attr("data-captcha-url");return e?String(e):null}(e);if(!u)return null;let{$q:d,$a:p,$t:f}=h(e);if(!d.length||!p.length||!f.length)return null;if(o.jqxhr&&4!==o.jqxhr.readyState)try{o.jqxhr.abort()}catch(t){}o.loading=!0,l(s,o);let m=t.ajax({url:u,method:"GET",dataType:"json",cache:!1,timeout:8e3,crossDomain:!0});return o.jqxhr=m,m.done(function(t){t&&"string"==typeof t.question&&t.question.trim()&&"string"==typeof t.token&&t.token.trim()?(d.text(t.question),f.val(t.token),o.loaded=!0,o.fetchedAt=Date.now()):o.loaded=!1}).fail(function(t){console.warn("[captcha]",function(t){let e=t&&t.responseJSON;return e&&"string"==typeof e.error&&e.error.trim()?e.error.trim():t&&404===t.status?"Invalid form hash":t&&403===t.status?"Captcha not enabled for this form":"Unable to load captcha"}(t)),o.loaded=!1}).always(function(){o.loading=!1,l(s,o)}),m}t(n).on("pointerdown keydown focusin input",function(e){let n=function(e){let n=t(e).closest("form[data-captcha-url]");if(!n.length)return null;let{$q:s,$a:o,$t:a}=h(n);return s.length&&o.length&&a.length?n:null}(e.target);n&&u(n)}),t(n).on("submit","form[data-captcha-url]",function(e){let n=t(this),{$q:s,$a:o,$t:a}=h(n);if(!s.length||!o.length||!a.length)return;let d=this,p=r(d);if(p.submitRetryArmed){p.submitRetryArmed=!1,l(d,p);return}let f=!a.val();if(f||c(p)){e.preventDefault();let t=u(n,{force:!0});if(!t)return;t.done(function(){let t=r(d);t.submitRetryArmed=!0,l(d,t),"function"==typeof d.requestSubmit?d.requestSubmit():d.submit()})}}),e.refreshMathCaptcha=function(e){let n=t(e);return n.length?u(n,{force:!0}):null}}(jQuery,window,document),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.Popper=e()}(this,function(){"use strict";function t(t){return t&&"[object Function]"===({}).toString.call(t)}function e(t,e){if(1!==t.nodeType)return[];var n=window.getComputedStyle(t,null);return e?n[e]:n}function n(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function s(t){if(!t||-1!==["HTML","BODY","#document"].indexOf(t.nodeName))return window.document.body;var o=e(t),a=o.overflow,r=o.overflowX,l=o.overflowY;return/(auto|scroll)/.test(a+l+r)?t:s(n(t))}function o(t){var n=t&&t.offsetParent,s=n&&n.nodeName;return s&&"BODY"!==s&&"HTML"!==s?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===e(n,"position")?o(n):n:window.document.documentElement}function a(t){return null===t.parentNode?t:a(t.parentNode)}function r(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return window.document.documentElement;var n,s=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,l=s?t:e,c=s?e:t,h=document.createRange();h.setStart(l,0),h.setEnd(c,0);var u=h.commonAncestorContainer;if(t!==u&&e!==u||l.contains(c))return"BODY"!==(n=u.nodeName)&&("HTML"===n||o(u.firstElementChild)===u)?u:o(u);var d=a(t);return d.host?r(d.host,e):r(t,a(e).host)}function l(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",s=t.nodeName;if("BODY"===s||"HTML"===s){var o=window.document.documentElement;return(window.document.scrollingElement||o)[n]}return t[n]}function c(t,e){var n="x"===e?"Left":"Top";return+t["border"+n+"Width"].split("px")[0]+ +t["border"+("Left"==n?"Right":"Bottom")+"Width"].split("px")[0]}function h(t,e,n,s){return L(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],q()?n["offset"+t]+s["margin"+("Height"===t?"Top":"Left")]+s["margin"+("Height"===t?"Bottom":"Right")]:0)}function u(){var t=window.document.body,e=window.document.documentElement,n=q()&&window.getComputedStyle(e);return{height:h("Height",t,e,n),width:h("Width",t,e,n)}}function d(t){return K({},t,{right:t.left+t.width,bottom:t.top+t.height})}function p(t){var n={};if(q())try{n=t.getBoundingClientRect();var s=l(t,"top"),o=l(t,"left");n.top+=s,n.left+=o,n.bottom+=s,n.right+=o}catch(t){}else n=t.getBoundingClientRect();var a={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},r="HTML"===t.nodeName?u():{},h=r.width||t.clientWidth||a.right-a.left,p=r.height||t.clientHeight||a.bottom-a.top,f=t.offsetWidth-h,m=t.offsetHeight-p;if(f||m){var g=e(t);f-=c(g,"x"),m-=c(g,"y"),a.width-=f,a.height-=m}return d(a)}function f(t,n){var o=q(),a="HTML"===n.nodeName,r=p(t),c=p(n),h=s(t),u=e(n),f=+u.borderTopWidth.split("px")[0],m=+u.borderLeftWidth.split("px")[0],g=d({top:r.top-c.top-f,left:r.left-c.left-m,width:r.width,height:r.height});
15if(g.marginTop=0,g.marginLeft=0,!o&&a){var v=+u.marginTop.split("px")[0],b=+u.marginLeft.split("px")[0];g.top-=f-v,g.bottom-=f-v,g.left-=m-b,g.right-=m-b,g.marginTop=v,g.marginLeft=b}return(o?n.contains(h):n===h&&"BODY"!==h.nodeName)&&(g=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],s=l(e,"top"),o=l(e,"left"),a=n?-1:1;return t.top+=s*a,t.bottom+=s*a,t.left+=o*a,t.right+=o*a,t}(g,n)),g}function m(t,o,a,c){var h={top:0,left:0},p=r(t,o);if("viewport"===c)g=f(p,m=window.document.documentElement),v=L(m.clientWidth,window.innerWidth||0),b=L(m.clientHeight,window.innerHeight||0),_=l(m),y=l(m,"left"),h=d({top:_-g.top+g.marginTop,left:y-g.left+g.marginLeft,width:v,height:b});else{"scrollParent"===c?"BODY"===(w=s(n(t))).nodeName&&(w=window.document.documentElement):w="window"===c?window.document.documentElement:c;var m,g,v,b,_,y,w,C=f(w,p);if("HTML"===w.nodeName&&!function t(s){var o=s.nodeName;return"BODY"!==o&&"HTML"!==o&&("fixed"===e(s,"position")||t(n(s)))}(p)){var x=u(),k=x.height,T=x.width;h.top+=C.top-C.marginTop,h.bottom=k+C.top,h.left+=C.left-C.marginLeft,h.right=T+C.left}else h=C}return h.left+=a,h.top+=a,h.right-=a,h.bottom-=a,h}function g(t,e,n,s,o){var a=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var r=m(n,s,a,o),l={top:{width:r.width,height:e.top-r.top},right:{width:r.right-e.right,height:r.height},bottom:{width:r.width,height:r.bottom-e.bottom},left:{width:e.left-r.left,height:r.height}},c=Object.keys(l).map(function(t){var e;return K({key:t},l[t],{area:(e=l[t]).width*e.height})}).sort(function(t,e){return e.area-t.area}),h=c.filter(function(t){var e=t.width,s=t.height;return e>=n.clientWidth&&s>=n.clientHeight}),u=0<h.length?h[0].key:c[0].key,d=t.split("-")[1];return u+(d?"-"+d:"")}function v(t,e,n){var s=r(e,n);return f(n,s)}function b(t){var e=window.getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),s=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+s,height:t.offsetHeight+n}}function _(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function y(t,e,n){n=n.split("-")[0];var s=b(t),o={width:s.width,height:s.height},a=-1!==["right","left"].indexOf(n),r=a?"top":"left",l=a?"left":"top",c=a?"height":"width";return o[r]=e[r]+e[c]/2-s[c]/2,o[l]=n===l?e[l]-s[a?"width":"height"]:e[_(l)],o}function w(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function C(e,n,s){return(void 0===s?e:e.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var s=w(t,function(t){return t[e]===n});return t.indexOf(s)}(e,"name",s))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var s=e.function||e.fn;e.enabled&&t(s)&&(n.offsets.popper=d(n.offsets.popper),n.offsets.reference=d(n.offsets.reference),n=s(n,e))}),n}function x(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=v(this.state,this.popper,this.reference),t.placement=g(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=y(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=C(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function k(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function T(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),s=0;s<e.length-1;s++){var o=e[s],a=o?""+o+n:t;if(void 0!==window.document.body.style[a])return a}return null}function S(){return this.state.isDestroyed=!0,k(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[T("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function E(){var t,e,n,o;this.state.eventsEnabled||(this.state=(t=this.reference,this.options,e=this.state,n=this.scheduleUpdate,e.updateBound=n,window.addEventListener("resize",e.updateBound,{passive:!0}),function t(e,n,o,a){var r="BODY"===e.nodeName,l=r?window:e;l.addEventListener(n,o,{passive:!0}),r||t(s(l.parentNode),n,o,a),a.push(l)}(o=s(t),"scroll",e.updateBound,e.scrollParents),e.scrollElement=o,e.eventsEnabled=!0,e))}function D(){var t;this.state.eventsEnabled&&(window.cancelAnimationFrame(this.scheduleUpdate),this.state=(this.reference,t=this.state,window.removeEventListener("resize",t.updateBound),t.scrollParents.forEac
15h(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function I(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function A(t,e){Object.keys(e).forEach(function(n){var s="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&I(e[n])&&(s="px"),t.style[n]=e[n]+s})}function O(t,e,n){var s=w(t,function(t){return t.name===e}),o=!!s&&t.some(function(t){return t.name===n&&t.enabled&&t.order<s.order});if(!o){var a="`"+e+"`";console.warn("`"+n+"` modifier is required by "+a+" modifier in order to work, be sure to include it before "+a+"!")}return o}function P(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=G.indexOf(t),s=G.slice(n+1).concat(G.slice(0,n));return e?s.reverse():s}for(var M=Math.min,N=Math.floor,L=Math.max,H="undefined"!=typeof window,W=["Edge","Trident","Firefox"],z=0,F=0;F<W.length;F+=1)if(H&&0<=navigator.userAgent.indexOf(W[F])){z=1;break}var j,R,B=H&&(j=window.MutationObserver,["native code","[object MutationObserverConstructor]"].some(function(t){return -1<(j||"").toString().indexOf(t)}))?function(t){var e=!1,n=0,s=document.createElement("span");return new MutationObserver(function(){t(),e=!1}).observe(s,{attributes:!0}),function(){e||(e=!0,s.setAttribute("x-index",n),++n)}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},z))}},q=function(){return void 0==R&&(R=-1!==navigator.appVersion.indexOf("MSIE 10")),R},U=function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")},V=function(){function t(t,e){for(var n,s=0;s<e.length;s++)(n=e[s]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}return function(e,n,s){return n&&t(e.prototype,n),s&&t(e,s),e}}(),Y=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},K=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var s in e=arguments[n])Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t},Q=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],G=Q.slice(3),X={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},Z=function(){function e(n,s){var o=this,a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};U(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=B(this.update.bind(this)),this.options=K({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=n.jquery?n[0]:n,this.popper=s.jquery?s[0]:s,this.options.modifiers={},Object.keys(K({},e.Defaults.modifiers,a.modifiers)).forEach(function(t){o.options.modifiers[t]=K({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return K({name:t},o.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(e){e.enabled&&t(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return V(e,[{key:"update",value:function(){return x.call(this)}},{key:"destroy",value:function(){return S.call(this)}},{key:"enableEventListeners",value:function(){return E.call(this)}},{key:"disableEventListeners",value:function(){return D.call(this)}}]),e}();return Z.Utils=("undefined"==typeof window?global:window).PopperUtils,Z.placements=Q,Z.Defaults={placement:"bottom",eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],s=e.split("-")[1];if(s){var o=t.offsets,a=o.reference,r=o.popper,l=-1!==["bottom","top"].indexOf(n),c=l?"left":"top",h=l?"width":"height",u={start:Y({},c,a[c]),end:Y({},c,a[c]+a[h]-r[h])};t.offsets.popper=K({},r,u[s])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n,s,o,a,r,l,c=e.offset,h=t.placement,u=t.offsets,p=u.popper,f=u.reference,m=h.split("-")[0];return l=I(+c)?[+c,0]:(n=[0,0],s=-1!==["right","left"].indexOf(m),a=(o=c.split(/(\+|\-)/).map(function(t){return t.trim()})).indexOf(w(o,function(t){return -1!==t.search(/,|\s/)})),o[a]&&-1===o[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),r=/\s*,\s*|\s+/,(-1===a?[o]:[o.slice(0,a).concat([o[a].split(r)[0]]),[o[a].split(r)[1]].concat(o.slice(a+1))]).map(function(t,e){var n=(1===e?!s:s)?"height":"width",o=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,o=!0,t):o?(t[t.length-1]+=e,o=!1,t):t.concat(e)},[]).map(function(t){var e,s,o,a;return o=+(s=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],a=s[2],o?0===a.indexOf("%")?d("%p"===a?p:f)[n]/100*o:"vh"===a||"vw"===a?("vh"===a?L(document.documentElement.clientHeight,window.innerHeight||0):L(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o:t})}
15).forEach(function(t,e){t.forEach(function(s,o){I(s)&&(n[e]+=s*("-"===t[o-1]?-1:1))})}),n),"left"===m?(p.top+=l[0],p.left-=l[1]):"right"===m?(p.top+=l[0],p.left+=l[1]):"top"===m?(p.left+=l[0],p.top-=l[1]):"bottom"===m&&(p.left+=l[0],p.top+=l[1]),t.popper=p,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||o(t.instance.popper);t.instance.reference===n&&(n=o(n));var s=m(t.instance.popper,t.instance.reference,e.padding,n);e.boundaries=s;var a=e.priority,r=t.offsets.popper,l={primary:function(t){var n=r[t];return r[t]<s[t]&&!e.escapeWithReference&&(n=L(r[t],s[t])),Y({},t,n)},secondary:function(t){var n="right"===t?"left":"top",o=r[n];return r[t]>s[t]&&!e.escapeWithReference&&(o=M(r[n],s[t]-("right"===t?r.width:r.height))),Y({},n,o)}};return a.forEach(function(t){r=K({},r,l[-1===["left","top"].indexOf(t)?"secondary":"primary"](t))}),t.offsets.popper=r,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,s=e.reference,o=-1!==["top","bottom"].indexOf(t.placement.split("-")[0]),a=o?"right":"bottom",r=o?"left":"top";return n[a]<N(s[r])&&(t.offsets.popper[r]=N(s[r])-n[o?"width":"height"]),n[r]>N(s[a])&&(t.offsets.popper[r]=N(s[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,n){if(!O(t.instance.modifiers,"arrow","keepTogether"))return t;var s=n.element;if("string"==typeof s){if(!(s=t.instance.popper.querySelector(s)))return t}else if(!t.instance.popper.contains(s))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],a=t.offsets,r=a.popper,l=a.reference,c=-1!==["left","right"].indexOf(o),h=c?"height":"width",u=c?"Top":"Left",p=u.toLowerCase(),f=c?"bottom":"right",m=b(s)[h];l[f]-m<r[p]&&(t.offsets.popper[p]-=r[p]-(l[f]-m)),l[p]+m>r[f]&&(t.offsets.popper[p]+=l[p]+m-r[f]);var g=l[p]+l[h]/2-m/2,v=e(t.instance.popper,"margin"+u).replace("px",""),_=g-d(t.offsets.popper)[p]-v;return _=L(M(r[h]-m,_),0),t.arrowElement=s,t.offsets.arrow={},t.offsets.arrow[p]=Math.round(_),t.offsets.arrow[c?"left":"top"]="",t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(k(t.instance.modifiers,"inner")||t.flipped&&t.placement===t.originalPlacement)return t;var n=m(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),s=t.placement.split("-")[0],o=_(s),a=t.placement.split("-")[1]||"",r=[];switch(e.behavior){case X.FLIP:r=[s,o];break;case X.CLOCKWISE:r=P(s);break;case X.COUNTERCLOCKWISE:r=P(s,!0);break;default:r=e.behavior}return r.forEach(function(l,c){if(s!==l||r.length===c+1)return t;o=_(s=t.placement.split("-")[0]);var h,u=t.offsets.popper,d=t.offsets.reference,p="left"===s&&N(u.right)>N(d.left)||"right"===s&&N(u.left)<N(d.right)||"top"===s&&N(u.bottom)>N(d.top)||"bottom"===s&&N(u.top)<N(d.bottom),f=N(u.left)<N(n.left),m=N(u.right)>N(n.right),g=N(u.top)<N(n.top),v=N(u.bottom)>N(n.bottom),b="left"===s&&f||"right"===s&&m||"top"===s&&g||"bottom"===s&&v,w=-1!==["top","bottom"].indexOf(s),x=!!e.flipVariations&&(w&&"start"===a&&f||w&&"end"===a&&m||!w&&"start"===a&&g||!w&&"end"===a&&v);(p||b||x)&&(t.flipped=!0,(p||b)&&(s=r[c+1]),x&&(a="end"===(h=a)?"start":"start"===h?"end":h),t.placement=s+(a?"-"+a:""),t.offsets.popper=K({},t.offsets.popper,y(t.instance.popper,t.offsets.reference,t.placement)),t=C(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],s=t.offsets,o=s.popper,a=s.reference,r=-1!==["left","right"].indexOf(n),l=-1===["top","left"].indexOf(n);return o[r?"left":"top"]=a[n]-(l?o[r?"width":"height"]:0),t.placement=_(e),t.offsets.popper=d(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!O(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=w(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,s=e.y,a=t.offsets.popper,r=w(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;
15void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var l,c,h=void 0===r?e.gpuAcceleration:r,u=p(o(t.instance.popper)),d={position:a.position},f={left:N(a.left),top:N(a.top),bottom:N(a.bottom),right:N(a.right)},m="bottom"===n?"top":"bottom",g="right"===s?"left":"right",v=T("transform");(c="bottom"==m?-u.height+f.bottom:f.top,l="right"==g?-u.width+f.right:f.left,h&&v)?(d[v]="translate3d("+l+"px, "+c+"px, 0)",d[m]=0,d[g]=0,d.willChange="transform"):(d[m]=c*("bottom"==m?-1:1),d[g]=l*("right"==g?-1:1),d.willChange=m+", "+g);var b={"x-placement":t.placement};return t.attributes=K({},b,t.attributes),t.styles=K({},d,t.styles),t.arrowStyles=K({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return A(t.instance.popper,t.styles),function(t,e){Object.keys(e).forEach(function(n){!1===e[n]?t.removeAttribute(n):t.setAttribute(n,e[n])})}(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&A(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,s,o){var a=v(o,e,t),r=g(n.placement,a,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",r),A(e,{position:"absolute"}),n},gpuAcceleration:void 0}}},Z}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e(t.bootstrap={},t.jQuery,t.Popper)}(this,function(t,e,n){"use strict";function s(t,e){for(var n=0;n<e.length;n++){var s=e[n];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}function o(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t}).apply(this,arguments)}e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var r,l,c,h,u,d,p,f,m,g,v,b,_,y,w,C,x,k,T,S,E,D,I,A,O,P,M,N,L,H,W,z,F,j,R,B,q,U,V,Y,K,Q,G,X,Z,J,tt,te,ti,tn,ts,to,ta,tr,tl,tc,th,tu,td,tp,tf,tm,tg,tv,tb,t_,ty,tw,tC,tx,tk,tT,tS,tE,tD,tI,tA,tO,tP,tM,tN,tL,tH,tW,tz,t$,tF,tj,tR,tB,tq,tU,tV,tY,tK,tQ,tG,tX,tZ,tJ,t0,t1,t2,t3,t5,t4,t6,t9,t8,t7,et,ee,ei,en,es,eo,ea,er,el,ec,eh,eu,ed,ep,ef,em,eg=(r=e,l=!1,c={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e,n=t.getAttribute("data-target");n&&"#"!==n||(n=t.getAttribute("href")||""),"#"===n.charAt(0)&&(e=n,n=e="function"==typeof r.escapeSelector?r.escapeSelector(e).substr(1):e.replace(/(:|\.|\[|\]|,|=|@)/g,"\\$1"));try{return r(document).find(n).length>0?n:null}catch(t){return null}},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){r(t).trigger(l.end)},supportsTransitionEnd:function(){return!!l},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var s in n)if(Object.prototype.hasOwnProperty.call(n,s)){var o=n[s],a=e[s],r=a&&c.isElement(a)?"element":({}).toString.call(a).match(/\s([a-zA-Z]+)/)[1].toLowerCase();if(!new RegExp(o).test(r))throw Error(t.toUpperCase()+': Option "'+s+'" provided type "'+r+'" but expected type "'+o+'".')}}},l=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},r.fn.emulateTransitionEnd=function(t){var e=this,n=!1;return r(this).one(c.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||c.triggerTransitionEnd(e)},t),this},c.supportsTransitionEnd()&&(r.event.special[c.TRANSITION_END]={bindType:l.end,delegateType:l.end,handle:function(t){if(r(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}}),c),ev=(t7="alert",ee="."+(et="bs.alert"),ei=(t8=e).fn[t7],en={CLOSE:"close"+ee,CLOSED:"closed"+ee,CLICK_DATA_API:"click"+ee+".data-api"},es=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){t8.removeData(this._element,et),this._element=null},e._getRootElement=function(t){var e=eg.getSelectorFromElement(t),n=!1;return e&&(n=t8(e)[0]),n||(n=t8(t).closest(".alert")[0]),n},e._triggerCloseEvent=function(t){var e=t8.Event(en.CLOSE);return t8(t).trigger(e),e},e._removeElement=function(t){var e=this;t8(t).removeClass("show"),eg.supportsTransitionEnd()&&t8(t).hasClass("fade")?t8(t).one(eg.TRANSITION_END,function(n){return e._destroyElement(t,n)}).emulateTransitionEnd(150):this._destroyElement(t)},e._destroyElement=function(t){t8(t).detach().trigger(en.CLOSED).remove()},t._jQueryInterface=function(e){return this.each(function(){var n=t8(this),s=n.data(et);s||(s=new t(this),n.data(et,s)),"close"===e&&s[e](this)})},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},o(t,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),t}(),t8(document).on(en.CLICK_DATA_API,'[data-dismiss="alert"]',es._handleDismiss(new es)),t8.fn[t7]=es._jQueryInterface,t8.fn[t7].Constructor=es,t8.fn[t7].noConflict=function(){return t8.fn[t7]=ei,es._jQueryInterface},es),eb=(ea="button",el="."+(er="bs.button"),ec=".data-api",eh=(eo=e).fn[ea],eu="active",ed='[data-toggle^="button"]',ep=".btn",ef={CLICK_DATA_API:"click"+el+ec,FOCUS_BLUR_DATA_API:"focus"+el+ec+" blur"+el+ec},em=function(){function t(t){this._element=t}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=eo(this._element).closest('[data-toggle="buttons"]')[0];if(n){var s=eo(this._element).find("input")[0];if(s){if("radio"===s.type){if(s.checked&&eo(this._element).hasClass(eu))t=!1;else{var o=eo(n).find(".active")[0];o&&eo(o).removeClass(eu)}}if(t){if(s.hasAttribute("disabled")||n.hasAttribute("disabled")||s.classList.contains("disabled")||n.classList.contains("disabled"))return;s.checked=!eo(this._element).hasClass(eu),eo(s).trigger("change")}s.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!eo(this._element).hasClass(eu)),t&&eo(this._element).toggleClass(eu)},e.dispose=function(){eo.removeData(this._element,er),this._element=null},t._jQueryInterface=function(e){return this.each(function(){var n=eo(this).data(er);n||(n=new t(this),eo(this).data(er,n)),"toggle"===e&&n[e]()})},o(t,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),t}(),eo(document).on(ef.CLICK_DATA_API,ed,function(t){t.preventDefault();var e=t.target;eo(e).hasClass("btn")||(e=eo(e).closest(ep)),em._jQueryInterface.call(eo(e),"toggle")}).on(ef.FOCUS_BLUR_DATA_API,ed,function(t){var e=eo(t.target).closest(ep)[0];eo(e).toggleClass("focus",/^focus(in)?$/.test(t.type))}),eo.fn[ea]=em._jQueryInterface,eo.fn[ea].Constructor=em,eo.fn[ea].noConflict=function(){return eo.fn[ea]=eh,em._jQueryInterface},em),e_=(h=e,u="carousel",p="."+(d="bs.carousel"),f=h.fn[u],m={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},g={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},v="next",b="prev",_={SLIDE:"slide"+p,SLID:"slid"+p,KEYDOWN:"keydown"+p,MOUSEENTER:"mouseenter"+p,MOUSELEAVE:"mouseleave"+p,TOUCHEND:"touchend"+p,LOAD_DATA_API:"load"+p+".data-api",CLICK_DATA_API:"click"+p+".data-api"},y="active",w={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-sli
15de], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},C=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this._config=this._getConfig(e),this._element=h(t)[0],this._indicatorsElement=h(this._element).find(w.INDICATORS)[0],this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(v)},e.nextWhenVisible=function(){!document.hidden&&h(this._element).is(":visible")&&"hidden"!==h(this._element).css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(b)},e.pause=function(t){t||(this._isPaused=!0),h(this._element).find(w.NEXT_PREV)[0]&&eg.supportsTransitionEnd()&&(eg.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=h(this._element).find(w.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0)){if(this._isSliding)h(this._element).one(_.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();this._slide(t>n?v:b,this._items[t])}}},e.dispose=function(){h(this._element).off(p),h.removeData(this._element,d),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=a({},m,t),eg.typeCheckConfig(u,t,g),t},e._addEventListeners=function(){var t=this;this._config.keyboard&&h(this._element).on(_.KEYDOWN,function(e){return t._keydown(e)}),"hover"===this._config.pause&&(h(this._element).on(_.MOUSEENTER,function(e){return t.pause(e)}).on(_.MOUSELEAVE,function(e){return t.cycle(e)}),"ontouchstart"in document.documentElement&&h(this._element).on(_.TOUCHEND,function(){t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout(function(e){return t.cycle(e)},500+t._config.interval)}))},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=h.makeArray(h(t).parent().find(w.ITEM)),this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=this._getItemIndex(e),s=this._items.length-1;if((t===b&&0===n||t===v&&n===s)&&!this._config.wrap)return e;var o=(n+(t===b?-1:1))%this._items.length;return -1===o?this._items[this._items.length-1]:this._items[o]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),s=this._getItemIndex(h(this._element).find(w.ACTIVE_ITEM)[0]),o=h.Event(_.SLIDE,{relatedTarget:t,direction:e,from:s,to:n});return h(this._element).trigger(o),o},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){h(this._indicatorsElement).find(w.ACTIVE).removeClass(y);var e=this._indicatorsElement.children[this._getItemIndex(t)];e&&h(e).addClass(y)}},e._slide=function(t,e){var n,s,o,a=this,r=h(this._element).find(w.ACTIVE_ITEM)[0],l=this._getItemIndex(r),c=e||r&&this._getItemByDirection(t,r),u=this._getItemIndex(c),d=!!this._interval;if(t===v?(n="carousel-item-left",s="carousel-item-next",o="left"):(n="carousel-item-right",s="carousel-item-prev",o="right"),c&&h(c).hasClass(y))this._isSliding=!1;else if(!this._triggerSlideEvent(c,o).isDefaultPrevented()&&r&&c){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(c);var p=h.Event(_.SLID,{relatedTarget:c,direction:o,from:l,to:u});eg.supportsTransitionEnd()&&h(this._element).hasClass("slide")?(h(c).addClass(s),eg.reflow(c),h(r).addClass(n),h(c).addClass(n),h(r).one(eg.TRANSITION_END,function(){h(c).removeClass(n+" "+s).addClass(y),h(r).removeClass(y+" "+s+" "+n),a._isSliding=!1,setTimeout(function(){return h(a._element).trigger(p)},0)}).emulateTransitionEnd(600)):(h(r).removeClass(y),h(c).addClass(y),this._isSliding=!1,h(this._element).trigger(p)),d&&this.cycle()}},t._jQueryInterface=function(e){return this.each(function(){var n=h(this).data(d),s=a({},m,h(this).data());"object"==typeof e&&(s=a({},s,e));var o="string"==typeof e?e:s.slide;if(n||(n=new t(this,s),h(this).data(d,n)),"number"==typeof e)n.to(e);else if("string"==typeof o){if(void 0===n[o])throw TypeError('No method n
15amed "'+o+'"');n[o]()}else s.interval&&(n.pause(),n.cycle())})},t._dataApiClickHandler=function(e){var n=eg.getSelectorFromElement(this);if(n){var s=h(n)[0];if(s&&h(s).hasClass("carousel")){var o=a({},h(s).data(),h(this).data()),r=this.getAttribute("data-slide-to");r&&(o.interval=!1),t._jQueryInterface.call(h(s),o),r&&h(s).data(d).to(r),e.preventDefault()}}},o(t,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return m}}]),t}(),h(document).on(_.CLICK_DATA_API,w.DATA_SLIDE,C._dataApiClickHandler),h(window).on(_.LOAD_DATA_API,function(){h(w.DATA_RIDE).each(function(){var t=h(this);C._jQueryInterface.call(t,t.data())})}),h.fn[u]=C._jQueryInterface,h.fn[u].Constructor=C,h.fn[u].noConflict=function(){return h.fn[u]=f,C._jQueryInterface},C),ey=(x=e,k="collapse",S="."+(T="bs.collapse"),E=x.fn[k],D={toggle:!0,parent:""},I={toggle:"boolean",parent:"(string|element)"},A={SHOW:"show"+S,SHOWN:"shown"+S,HIDE:"hide"+S,HIDDEN:"hidden"+S,CLICK_DATA_API:"click"+S+".data-api"},O="show",P="collapse",M="collapsing",N="collapsed",L="width",H={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},W=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=x.makeArray(x('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=x(H.DATA_TOGGLE),s=0;s<n.length;s++){var o=n[s],a=eg.getSelectorFromElement(o);null!==a&&x(a).filter(t).length>0&&(this._selector=a,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){x(this._element).hasClass(O)?this.hide():this.show()},e.show=function(){var e,n,s=this;if(!this._isTransitioning&&!x(this._element).hasClass(O)&&(this._parent&&0===(e=x.makeArray(x(this._parent).find(H.ACTIVES).filter('[data-parent="'+this._config.parent+'"]'))).length&&(e=null),!(e&&(n=x(e).not(this._selector).data(T))&&n._isTransitioning))){var o=x.Event(A.SHOW);if(x(this._element).trigger(o),!o.isDefaultPrevented()){e&&(t._jQueryInterface.call(x(e).not(this._selector),"hide"),n||x(e).data(T,null));var a=this._getDimension();x(this._element).removeClass(P).addClass(M),this._element.style[a]=0,this._triggerArray.length>0&&x(this._triggerArray).removeClass(N).attr("aria-expanded",!0),this.setTransitioning(!0);var r=function(){x(s._element).removeClass(M).addClass(P).addClass(O),s._element.style[a]="",s.setTransitioning(!1),x(s._element).trigger(A.SHOWN)};if(eg.supportsTransitionEnd()){var l="scroll"+(a[0].toUpperCase()+a.slice(1));x(this._element).one(eg.TRANSITION_END,r).emulateTransitionEnd(600),this._element.style[a]=this._element[l]+"px"}else r()}}},e.hide=function(){var t=this;if(!this._isTransitioning&&x(this._element).hasClass(O)){var e=x.Event(A.HIDE);if(x(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();if(this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",eg.reflow(this._element),x(this._element).addClass(M).removeClass(P).removeClass(O),this._triggerArray.length>0)for(var s=0;s<this._triggerArray.length;s++){var o=this._triggerArray[s],a=eg.getSelectorFromElement(o);null!==a&&(x(a).hasClass(O)||x(o).addClass(N).attr("aria-expanded",!1))}this.setTransitioning(!0);var r=function(){t.setTransitioning(!1),x(t._element).removeClass(M).addClass(P).trigger(A.HIDDEN)};this._element.style[n]="",eg.supportsTransitionEnd()?x(this._element).one(eg.TRANSITION_END,r).emulateTransitionEnd(600):r()}}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){x.removeData(this._element,T),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=a({},D,t)).toggle=!!t.toggle,eg.typeCheckConfig(k,t,I),t},e._getDimension=function(){return x(this._element).hasClass(L)?L:"height"},e._getParent=function(){var e=this,n=null;eg.isElement(this._config.parent)?(n=this._config.parent,void 0!==this._config.parent.jquery&&(n=this._config.parent[0])):n=x(this._config.parent)[0];var s='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return x(n).find(s).each(function(n,s){e._addAriaAndCollapsedClass(t._getTargetFromElement(s),[s])}),n},e._addAriaAndCollapsedClass=function(t,e){if(t){var n=x(t).hasClass(O);e.length>0&&x(e).toggleClass(N,!n).attr("aria-expanded",n)}},t._getTargetFromElement=function(t){var e=eg.getSelectorFromElement(t);return e?x(e)[0]:null},t._jQueryInterface=function(e){return this.each(function(){var n=x(this),s=n.data(T),o=a({},D,n.data(),"object"==typeof e&&e);if(!s&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),s||(s=new t(this,o),n.data(T,s)),"string"==typeof e){if(void 0===s[e])throw TypeError('No method n
15amed "'+e+'"');s[e]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return D}}]),t}(),x(document).on(A.CLICK_DATA_API,H.DATA_TOGGLE,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=x(this);x(eg.getSelectorFromElement(this)).each(function(){var t=x(this),n=t.data(T)?"toggle":e.data();W._jQueryInterface.call(t,n)})}),x.fn[k]=W._jQueryInterface,x.fn[k].Constructor=W,x.fn[k].noConflict=function(){return x.fn[k]=E,W._jQueryInterface},W),ew=(z=e,F="dropdown",R="."+(j="bs.dropdown"),B=".data-api",q=z.fn[F],U=RegExp("38|40|27"),V={HIDE:"hide"+R,HIDDEN:"hidden"+R,SHOW:"show"+R,SHOWN:"shown"+R,CLICK:"click"+R,CLICK_DATA_API:"click"+R+B,KEYDOWN_DATA_API:"keydown"+R+B,KEYUP_DATA_API:"keyup"+R+B},Y="disabled",K="show",Q="dropup",G="dropdown-menu-right",X='[data-toggle="dropdown"]',Z=".dropdown-menu",J={offset:0,flip:!0,boundary:"scrollParent"},tt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)"},te=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!z(this._element).hasClass(Y)){var e=t._getParentFromElement(this._element),s=z(this._menu).hasClass(K);if(t._clearMenus(),!s){var o={relatedTarget:this._element},a=z.Event(V.SHOW,o);if(z(e).trigger(a),!a.isDefaultPrevented()){if(!this._inNavbar){if(void 0===n)throw TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");var r=this._element;z(e).hasClass(Q)&&(z(this._menu).hasClass("dropdown-menu-left")||z(this._menu).hasClass(G))&&(r=e),"scrollParent"!==this._config.boundary&&z(e).addClass("position-static"),this._popper=new n(r,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===z(e).closest(".navbar-nav").length&&z("body").children().on("mouseover",null,z.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),z(this._menu).toggleClass(K),z(e).toggleClass(K).trigger(z.Event(V.SHOWN,o))}}}},e.dispose=function(){z.removeData(this._element,j),z(this._element).off(R),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;z(this._element).on(V.CLICK,function(e){e.preventDefault(),e.stopPropagation(),t.toggle()})},e._getConfig=function(t){return t=a({},this.constructor.Default,z(this._element).data(),t),eg.typeCheckConfig(F,t,this.constructor.DefaultType),t},e._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);this._menu=z(e).find(Z)[0]}return this._menu},e._getPlacement=function(){var t=z(this._element).parent(),e="bottom-start";return t.hasClass(Q)?(e="top-start",z(this._menu).hasClass(G)&&(e="top-end")):t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":z(this._menu).hasClass(G)&&(e="bottom-end"),e},e._detectNavbar=function(){return z(this._element).closest(".navbar").length>0},e._getPopperConfig=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=a({},e.offsets,t._config.offset(e.offsets)||{}),e}:e.offset=this._config.offset,{placement:this._getPlacement(),modifiers:{offset:e,flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}}},t._jQueryInterface=function(e){return this.each(function(){var n=z(this).data(j);if(n||(n=new t(this,"object"==typeof e?e:null),z(this).data(j,n)),"string"==typeof e){if(void 0===n[e])throw TypeError('No method named "'+e+'"');n[e]()}})},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=z.makeArray(z(X)),s=0;s<n.length;s++){var o=t._getParentFromElement(n[s]),a=z(n[s]).data(j),r={relatedTarget:n[s]};if(a){var l=a._menu;if(z(o).hasClass(K)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&z.contains(o,e.target))){var c=z.Event(V.HIDE,r);z(o).trigger(c),c.isDefaultPrevented()||("ontouchstart"in document.documentElement&&z("body").children().off("mouseover",null,z.noop),n[s].setAttribute("aria-expanded","fal
15se"),z(l).removeClass(K),z(o).removeClass(K).trigger(z.Event(V.HIDDEN,r)))}}}},t._getParentFromElement=function(t){var e,n=eg.getSelectorFromElement(t);return n&&(e=z(n)[0]),e||t.parentNode},t._dataApiKeydownHandler=function(e){if((/input|textarea/i.test(e.target.tagName)?!(32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||z(e.target).closest(Z).length)):U.test(e.which))&&(e.preventDefault(),e.stopPropagation(),!this.disabled&&!z(this).hasClass(Y))){var n=t._getParentFromElement(this),s=z(n).hasClass(K);if((s||27===e.which&&32===e.which)&&(!s||27!==e.which&&32!==e.which)){var o=z(n).find(".dropdown-menu .dropdown-item:not(.disabled)").get();if(0!==o.length){var a=o.indexOf(e.target);38===e.which&&a>0&&a--,40===e.which&&a<o.length-1&&a++,a<0&&(a=0),o[a].focus()}}else{if(27===e.which){var r=z(n).find(X)[0];z(r).trigger("focus")}z(this).trigger("click")}}},o(t,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return J}},{key:"DefaultType",get:function(){return tt}}]),t}(),z(document).on(V.KEYDOWN_DATA_API,X,te._dataApiKeydownHandler).on(V.KEYDOWN_DATA_API,Z,te._dataApiKeydownHandler).on(V.CLICK_DATA_API+" "+V.KEYUP_DATA_API,te._clearMenus).on(V.CLICK_DATA_API,X,function(t){t.preventDefault(),t.stopPropagation(),te._jQueryInterface.call(z(this),"toggle")}).on(V.CLICK_DATA_API,".dropdown form",function(t){t.stopPropagation()}),z.fn[F]=te._jQueryInterface,z.fn[F].Constructor=te,z.fn[F].noConflict=function(){return z.fn[F]=q,te._jQueryInterface},te),eC=(ti=e,ts="."+(tn="bs.modal"),to=ti.fn.modal,ta={backdrop:!0,keyboard:!0,focus:!0,show:!0},tr={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},tl={HIDE:"hide"+ts,HIDDEN:"hidden"+ts,SHOW:"show"+ts,SHOWN:"shown"+ts,FOCUSIN:"focusin"+ts,RESIZE:"resize"+ts,CLICK_DISMISS:"click.dismiss"+ts,KEYDOWN_DISMISS:"keydown.dismiss"+ts,MOUSEUP_DISMISS:"mouseup.dismiss"+ts,MOUSEDOWN_DISMISS:"mousedown.dismiss"+ts,CLICK_DATA_API:"click"+ts+".data-api"},tc="modal-open",th="fade",tu="show",td={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},tp=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=ti(t).find(td.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isTransitioning&&!this._isShown){eg.supportsTransitionEnd()&&ti(this._element).hasClass(th)&&(this._isTransitioning=!0);var n=ti.Event(tl.SHOW,{relatedTarget:t});ti(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),ti(document.body).addClass(tc),this._setEscapeEvent(),this._setResizeEvent(),ti(this._element).on(tl.CLICK_DISMISS,td.DATA_DISMISS,function(t){return e.hide(t)}),ti(this._dialog).on(tl.MOUSEDOWN_DISMISS,function(){ti(e._element).one(tl.MOUSEUP_DISMISS,function(t){ti(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},e.hide=function(t){var e=this;if(t&&t.preventDefault(),!this._isTransitioning&&this._isShown){var n=ti.Event(tl.HIDE);if(ti(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var s=eg.supportsTransitionEnd()&&ti(this._element).hasClass(th);s&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),ti(document).off(tl.FOCUSIN),ti(this._element).removeClass(tu),ti(this._element).off(tl.CLICK_DISMISS),ti(this._dialog).off(tl.MOUSEDOWN_DISMISS),s?ti(this._element).one(eg.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(300):this._hideModal()}}},e.dispose=function(){ti.removeData(this._element,tn),ti(window,document,this._element,this._backdrop).off(ts),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=a({},ta,t),eg.typeCheckConfig("modal",t,tr),t},e._showElement=function(t){var e=this,n=eg.supportsTransitionEnd()&&ti(this._element).hasClass(th);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&&eg.reflow(this._element),ti(this._element).addClass(tu),this._config.focus&&this._enforceFocus();var s=ti.Event(tl.SHOWN,{relatedTarget:t}),o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,ti(e._element).trigger(s)};n?ti(this._dialog).one(eg.TRANSITION_END,o).emulateTransitionEnd(300):o()},e._enforceFocus=function(){var t=this;ti(document).off(tl.FOCUSIN).on(tl.FOCUSIN,function(e){document!==e.target&&t._element!==e.target&&0===ti(t._element).has(e.target).length&&t._element.focus()})},e._setEscapeEvent=function(){var t=this;this._isShown&&this._config.keyboard?ti(this._element).on(tl.KEYDOWN_DISMISS,function(e){27===e.which&&(e.preventDefault(),t.hide())}):this._isShown||ti(this._element).off(tl.KEYDOWN_DISMISS)},e._setResizeEvent=function(){var t=this;this._isShown?ti(window).on(tl.RESIZE,function(e){return t.handleUpdate(e)}):ti(window).off(tl.RESIZE)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._isTransitioning=!1,this._showBackdrop(function(){ti(document.body).removeClass(tc),t._resetAdjustments(),t._resetScrollbar(),ti(t._element).trigger(tl.HIDDEN)})},e._removeBackdrop=function(){this._backdrop&&(ti(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,n=ti(this._element).hasClass(th)?th:"";if(this._isShown&&this._config.backdrop){var s=eg.supportsTransitionEnd()&&n;if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&ti(this._backdrop).addClass(n),ti(this._backdrop).appendTo(document.body),ti(this._element).on(tl.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),s&&eg.reflow(this._backdrop),ti(this._backdrop).addClass(tu),!t)return;if(!s)return void t();ti(this._backdrop).one(eg.TRANSITION_END,t).emulateTransitionEnd(150)}else if(!this._isShown&&this._backdrop){ti(this._backdrop).removeClass(tu);var o=function(){e._removeBackdrop(),t&&t()};eg.supportsTransitionEnd()&&ti(this._element).hasClass(th)?ti(this._backdrop).one(eg.TRANSITION_END,o).emulateTransitionEnd(150):o()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){ti(td.FIXED_CONTENT).each(function(e,n){var s=ti(n)[0].style.paddingRight,o=ti(n).css("padding-right");ti(n).data("padding-right",s).css("padding-right",parseFloat(o)+t._scrollbarWidth+"px")}),ti(td.STICKY_CONTENT).each(function(e,n){var s=ti(n)[0].style.marginRight,o=ti(n).css("margin-right");ti(n).data("margin-right",s).css("margin-right",parseFloat(o)-t._scrollbarWidth+"px")}),ti(td.NAVBAR_TOGGLER).each(function(e,n){var s=ti(n)[0].style.marginRight,o=ti(n).css("margin-right");ti(n).data("margin-right",s).css("margin-right",parseFloat(o)+t._scrollbarWidth+"px")});var e=document.body.style.paddingRight,n=ti("body").css("padding-right");ti("body").data("padding-right",e).css("padding-right",parseFloat(n)+this._scrollbarWidth+"px")}},e._resetScrollbar=function(){ti(td.FIXED_CONTENT).each(function(t,e){var n=ti(e).data("padding-right");void 0!==n&&ti(e).css("padding-right",n).removeData("padding-right")}),ti(td.STICKY_CONTENT+", "+td.NAVBAR_TOGGLER).each(function(t,e){var n=ti(e).data("margin-right");void 0!==n&&ti(e).css("margin-right",n).removeData("margin-right")});var t=ti("body").data("padding-right");void 0!==t&&ti("body").css("padding-right",t).removeData("padding-right")},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,n){return this.each(function(){var s=ti(this).data(tn),o=a({},t.Default,ti(this).data(),"object"==typeof e&&e);if(s||(s=new t(this,o),ti(this).data(tn,s)),"string"==typeof e){if(void 0===s[e])throw TypeError('No method n
15amed "'+e+'"');s[e](n)}else o.show&&s.show(n)})},o(t,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return ta}}]),t}(),ti(document).on(tl.CLICK_DATA_API,td.DATA_TOGGLE,function(t){var e,n=this,s=eg.getSelectorFromElement(this);s&&(e=ti(s)[0]);var o=ti(e).data(tn)?"toggle":a({},ti(e).data(),ti(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var r=ti(e).one(tl.SHOW,function(t){t.isDefaultPrevented()||r.one(tl.HIDDEN,function(){ti(n).is(":visible")&&n.focus()})});tp._jQueryInterface.call(ti(e),o,this)}),ti.fn.modal=tp._jQueryInterface,ti.fn.modal.Constructor=tp,ti.fn.modal.noConflict=function(){return ti.fn.modal=to,tp._jQueryInterface},tp),ex=(tf=e,tm="tooltip",tv="."+(tg="bs.tooltip"),tb=tf.fn[tm],t_=RegExp("(^|\\s)bs-tooltip\\S+","g"),ty={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)"},tw={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},tC={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent"},tx="show",tk={HIDE:"hide"+tv,HIDDEN:"hidden"+tv,SHOW:"show"+tv,SHOWN:"shown"+tv,INSERTED:"inserted"+tv,CLICK:"click"+tv,FOCUSIN:"focusin"+tv,FOCUSOUT:"focusout"+tv,MOUSEENTER:"mouseenter"+tv,MOUSELEAVE:"mouseleave"+tv},tT="fade",tS="show",tE="hover",tD="focus",tI=function(){function t(t,e){if(void 0===n)throw TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled){if(t){var e=this.constructor.DATA_KEY,n=tf(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),tf(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(tf(this.getTipElement()).hasClass(tS))return void this._leave(null,this);this._enter(null,this)}}},e.dispose=function(){clearTimeout(this._timeout),tf.removeData(this.element,this.constructor.DATA_KEY),tf(this.element).off(this.constructor.EVENT_KEY),tf(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&tf(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var e=this;if("none"===tf(this.element).css("display"))throw Error("Please use show on visible elements");var s=tf.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){tf(this.element).trigger(s);var o=tf.contains(this.element.ownerDocument.documentElement,this.element);if(s.isDefaultPrevented()||!o)return;var a=this.getTipElement(),r=eg.getUID(this.constructor.NAME);a.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&tf(a).addClass(tT);var l="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,c=this._getAttachment(l);this.addAttachmentClass(c);var h=!1===this.config.container?document.body:tf(this.config.container);tf(a).data(this.constructor.DATA_KEY,this),tf.contains(this.element.ownerDocument.documentElement,this.tip)||tf(a).appendTo(h),tf(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new n(this.element,a,{placement:c,modifiers:{offset:{offset:this.config.offset},flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"}
15,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){e._handlePopperPlacementChange(t)}}),tf(a).addClass(tS),"ontouchstart"in document.documentElement&&tf("body").children().on("mouseover",null,tf.noop);var u=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,tf(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};eg.supportsTransitionEnd()&&tf(this.tip).hasClass(tT)?tf(this.tip).one(eg.TRANSITION_END,u).emulateTransitionEnd(t._TRANSITION_DURATION):u()}},e.hide=function(t){var e=this,n=this.getTipElement(),s=tf.Event(this.constructor.Event.HIDE),o=function(){e._hoverState!==tx&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),tf(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};tf(this.element).trigger(s),s.isDefaultPrevented()||(tf(n).removeClass(tS),"ontouchstart"in document.documentElement&&tf("body").children().off("mouseover",null,tf.noop),this._activeTrigger.click=!1,this._activeTrigger[tD]=!1,this._activeTrigger[tE]=!1,eg.supportsTransitionEnd()&&tf(this.tip).hasClass(tT)?tf(n).one(eg.TRANSITION_END,o).emulateTransitionEnd(150):o(),this._hoverState="")},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return!!this.getTitle()},e.addAttachmentClass=function(t){tf(this.getTipElement()).addClass("bs-tooltip-"+t)},e.getTipElement=function(){return this.tip=this.tip||tf(this.config.template)[0],this.tip},e.setContent=function(){var t=tf(this.getTipElement());this.setElementContent(t.find(".tooltip-inner"),this.getTitle()),t.removeClass(tT+" "+tS)},e.setElementContent=function(t,e){var n=this.config.html;"object"==typeof e&&(e.nodeType||e.jquery)?n?tf(e).parent().is(t)||t.empty().append(e):t.text(tf(e).text()):t[n?"html":"text"](e)},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getAttachment=function(t){return tw[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach(function(e){if("click"===e)tf(t.element).on(t.constructor.Event.CLICK,t.config.selector,function(e){return t.toggle(e)});else if("manual"!==e){var n=e===tE?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,s=e===tE?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;tf(t.element).on(n,t.config.selector,function(e){return t._enter(e)}).on(s,t.config.selector,function(e){return t._leave(e)})}tf(t.element).closest(".modal").on("hide.bs.modal",function(){return t.hide()})}),this.config.selector?this.config=a({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||tf(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),tf(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?tD:tE]=!0),tf(e.getTipElement()).hasClass(tS)||e._hoverState===tx?e._hoverState=tx:(clearTimeout(e._timeout),e._hoverState=tx,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===tx&&e.show()},e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||tf(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),tf(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?tD:tE]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState="out",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){"out"===e._hoverState&&e.hide()},e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){return"number"==typeof(t=a({},this.constructor.Default,tf(this.element).data(),t)).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),eg.typeCheckConfig(tm,t,this.constructor.DefaultType),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=tf(this.getTipElement()),e=t.attr("class").match(t_);null!==e&&e.length>0&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(tf(t).removeClass(tT),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each(function(){var n=tf(this).data(tg);if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,"object"==typeof e&&e),tf(this).data(tg,n)),"string"==typeof e)){if(void 0===n[e])throw TypeError('No method n
15amed "'+e+'"');n[e]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return tC}},{key:"NAME",get:function(){return tm}},{key:"DATA_KEY",get:function(){return tg}},{key:"Event",get:function(){return tk}},{key:"EVENT_KEY",get:function(){return tv}},{key:"DefaultType",get:function(){return ty}}]),t}(),tf.fn[tm]=tI._jQueryInterface,tf.fn[tm].Constructor=tI,tf.fn[tm].noConflict=function(){return tf.fn[tm]=tb,tI._jQueryInterface},tI),ek=(tA=e,tO="popover",tM="."+(tP="bs.popover"),tN=tA.fn[tO],tL=RegExp("(^|\\s)bs-popover\\S+","g"),tH=a({},ex.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),tW=a({},ex.DefaultType,{content:"(string|element|function)"}),tz={HIDE:"hide"+tM,HIDDEN:"hidden"+tM,SHOW:"show"+tM,SHOWN:"shown"+tM,INSERTED:"inserted"+tM,CLICK:"click"+tM,FOCUSIN:"focusin"+tM,FOCUSOUT:"focusout"+tM,MOUSEENTER:"mouseenter"+tM,MOUSELEAVE:"mouseleave"+tM},t$=function(t){function e(){return t.apply(this,arguments)||this}(n=e).prototype=Object.create(t.prototype),n.prototype.constructor=n,n.__proto__=t;var n,s=e.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(t){tA(this.getTipElement()).addClass("bs-popover-"+t)},s.getTipElement=function(){return this.tip=this.tip||tA(this.config.template)[0],this.tip},s.setContent=function(){var t=tA(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var t=tA(this.getTipElement()),e=t.attr("class").match(tL);null!==e&&e.length>0&&t.removeClass(e.join(""))},e._jQueryInterface=function(t){return this.each(function(){var n=tA(this).data(tP);if((n||!/destroy|hide/.test(t))&&(n||(n=new e(this,"object"==typeof t?t:null),tA(this).data(tP,n)),"string"==typeof t)){if(void 0===n[t])throw TypeError('No method named "'+t+'"');n[t]()}})},o(e,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return tH}},{key:"NAME",get:function(){return tO}},{key:"DATA_KEY",get:function(){return tP}},{key:"Event",get:function(){return tz}},{key:"EVENT_KEY",get:function(){return tM}},{key:"DefaultType",get:function(){return tW}}]),e}(ex),tA.fn[tO]=t$._jQueryInterface,tA.fn[tO].Constructor=t$,tA.fn[tO].noConflict=function(){return tA.fn[tO]=tN,t$._jQueryInterface},t$),eT=(tF=e,tj="scrollspy",tB="."+(tR="bs.scrollspy"),tq=tF.fn[tj],tU={offset:10,method:"auto",target:""},tV={offset:"number",method:"string",target:"(string|element)"},tY={ACTIVATE:"activate"+tB,SCROLL:"scroll"+tB,LOAD_DATA_API:"load"+tB+".data-api"},tK="active",tQ={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},tG="position",tX=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+tQ.NAV_LINKS+","+this._config.target+" "+tQ.LIST_ITEMS+","+this._config.target+" "+tQ.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,tF(this._scrollElement).on(tY.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":tG,n="auto"===this._config.method?e:this._config.method,s=n===tG?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),tF.makeArray(tF(this._selector)).map(function(t){var e,o=eg.getSelectorFromElement(t);if(o&&(e=tF(o)[0]),e){var a=e.getBoundingClientRect();if(a.width||a.height)return[tF(e)[n]().top+s,o]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}
15).forEach(function(e){t._offsets.push(e[0]),t._targets.push(e[1])})},e.dispose=function(){tF.removeData(this._element,tR),tF(this._scrollElement).off(tB),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=a({},tU,t)).target){var e=tF(t.target).attr("id");e||(e=eg.getUID(tj),tF(t.target).attr("id",e)),t.target="#"+e}return eg.typeCheckConfig(tj,t,tV),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var s=this._targets[this._targets.length-1];this._activeTarget!==s&&this._activate(s)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(void 0===this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(","),n=tF((e=e.map(function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'})).join(","));n.hasClass("dropdown-item")?(n.closest(tQ.DROPDOWN).find(tQ.DROPDOWN_TOGGLE).addClass(tK),n.addClass(tK)):(n.addClass(tK),n.parents(tQ.NAV_LIST_GROUP).prev(tQ.NAV_LINKS+", "+tQ.LIST_ITEMS).addClass(tK),n.parents(tQ.NAV_LIST_GROUP).prev(tQ.NAV_ITEMS).children(tQ.NAV_LINKS).addClass(tK)),tF(this._scrollElement).trigger(tY.ACTIVATE,{relatedTarget:t})},e._clear=function(){tF(this._selector).filter(tQ.ACTIVE).removeClass(tK)},t._jQueryInterface=function(e){return this.each(function(){var n=tF(this).data(tR);if(n||(n=new t(this,"object"==typeof e&&e),tF(this).data(tR,n)),"string"==typeof e){if(void 0===n[e])throw TypeError('No method named "'+e+'"');n[e]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.0.0"}},{key:"Default",get:function(){return tU}}]),t}(),tF(window).on(tY.LOAD_DATA_API,function(){for(var t=tF.makeArray(tF(tQ.DATA_SPY)),e=t.length;e--;){var n=tF(t[e]);tX._jQueryInterface.call(n,n.data())}}),tF.fn[tj]=tX._jQueryInterface,tF.fn[tj].Constructor=tX,tF.fn[tj].noConflict=function(){return tF.fn[tj]=tq,tX._jQueryInterface},tX),eS=(tZ=e,t0="."+(tJ="bs.tab"),t1=tZ.fn.tab,t2={HIDE:"hide"+t0,HIDDEN:"hidden"+t0,SHOW:"show"+t0,SHOWN:"shown"+t0,CLICK_DATA_API:"click.bs.tab.data-api"},t3="active",t5="show",t4=".active",t6="> li > .active",t9=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&tZ(this._element).hasClass(t3)||tZ(this._element).hasClass("disabled"))){var e,n,s=tZ(this._element).closest(".nav, .list-group")[0],o=eg.getSelectorFromElement(this._element);if(s){var a="UL"===s.nodeName?t6:t4;n=(n=tZ.makeArray(tZ(s).find(a)))[n.length-1]}var r=tZ.Event(t2.HIDE,{relatedTarget:this._element}),l=tZ.Event(t2.SHOW,{relatedTarget:n});if(n&&tZ(n).trigger(r),tZ(this._element).trigger(l),!l.isDefaultPrevented()&&!r.isDefaultPrevented()){o&&(e=tZ(o)[0]),this._activate(this._element,s);var c=function(){var e=tZ.Event(t2.HIDDEN,{relatedTarget:t._element}),s=tZ.Event(t2.SHOWN,{relatedTarget:n});tZ(n).trigger(e),tZ(t._element).trigger(s)};e?this._activate(e,e.parentNode,c):c()}}},e.dispose=function(){tZ.removeData(this._element,tJ),this._element=null},e._activate=function(t,e,n){var s=this,o=("UL"===e.nodeName?tZ(e).find(t6):tZ(e).children(t4))[0],a=n&&eg.supportsTransitionEnd()&&o&&tZ(o).hasClass("fade"),r=function(){return s._transitionComplete(t,o,n)};o&&a?tZ(o).one(eg.TRANSITION_END,r).emulateTransitionEnd(150):r()},e._transitionComplete=function(t,e,n){if(e){tZ(e).removeClass(t5+" "+t3);var s=tZ(e.parentNode).find("> .dropdown-menu .active")[0];s&&tZ(s).removeClass(t3),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(tZ(t).addClass(t3),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),eg.reflow(t),tZ(t).addClass(t5),t.parentNode&&tZ(t.parentNode).hasClass("dropdown-menu")){var o=tZ(t).closest(".dropdown")[0];o&&tZ(o).find(".dropdown-toggle").addClass(t3),t.setAttribute("aria-expanded",!0)}n&&n()},t._jQueryInterface=function(e){return this.each(function(){var n=tZ(this),s=n.data(tJ);if(s||(s=new t(this),n.data(tJ,s)),"string"==typeof e){if(void 0===s[e])throw TypeError('No method n
15amed "'+e+'"');s[e]()}})},o(t,null,[{key:"VERSION",get:function(){return"4.0.0"}}]),t}(),tZ(document).on(t2.CLICK_DATA_API,'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(t){t.preventDefault(),t9._jQueryInterface.call(tZ(this),"show")}),tZ.fn.tab=t9._jQueryInterface,tZ.fn.tab.Constructor=t9,tZ.fn.tab.noConflict=function(){return tZ.fn.tab=t1,t9._jQueryInterface},t9);(function(t){if(void 0===t)throw TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")})(e),t.Util=eg,t.Alert=ev,t.Button=eb,t.Carousel=e_,t.Collapse=ey,t.Dropdown=ew,t.Modal=eC,t.Popover=ek,t.Scrollspy=eT,t.Tab=eS,t.Tooltip=ex,Object.defineProperty(t,"__esModule",{value:!0})}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=-1,n=-1,s=function(t){return parseFloat(t)||0},o=function(e){var n=t(e),o=null,a=[];return n.each(function(){var e=t(this),n=e.offset().top-s(e.css("margin-top")),r=a.length>0?a[a.length-1]:null;null===r?a.push(e):1>=Math.floor(Math.abs(o-n))?a[a.length-1]=r.add(e):a.push(e),o=n}),a},a=function(e){var n={byRow:!0,property:"min-height",target:null,remove:!1};return"object"==typeof e?t.extend(n,e):("boolean"==typeof e?n.byRow=e:"remove"===e&&(n.remove=!0),n)},r=t.fn.matchHeight=function(e){var n=a(e);if(n.remove){var s=this;return this.css(n.property,""),t.each(r._groups,function(t,e){e.elements=e.elements.not(s)}),this}return this.length<=1&&!n.target||(r._groups.push({elements:this,options:n}),r._apply(this,n)),this};r.version="master",r._groups=[],r._throttle=80,r._maintainScroll=!1,r._beforeUpdate=null,r._afterUpdate=null,r._rows=o,r._parse=s,r._parseOptions=a,r._apply=function(e,n){var l=a(n),c=t(e),h=[c],u=t(window).scrollTop(),d=t("html").outerHeight(!0),p=c.parents().filter(":hidden");return p.each(function(){var e=t(this);e.data("style-cache",e.attr("style"))}),p.css("display","block"),l.byRow&&!l.target&&(c.each(function(){var e=t(this),n=e.css("display");"inline-block"!==n&&"flex"!==n&&"inline-flex"!==n&&(n="block"),e.data("style-cache",e.attr("style")),e.css({display:n,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),h=o(c),c.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||"")})),t.each(h,function(e,n){var o=t(n),a=0;if(l.target)a=l.target.outerHeight(!1);else{if(l.byRow&&o.length<=1){o.css(l.property,"");return}o.each(function(){var e=t(this),n=e.attr("style"),s=e.css("display");"inline-block"!==s&&"flex"!==s&&"inline-flex"!==s&&(s="block");var o={display:s};o[l.property]="",e.css(o),e.outerHeight(!1)>a&&(a=e.outerHeight(!1)),n?e.attr("style",n):e.css("display","")})}o.each(function(){var e=t(this),n=0;!(l.target&&e.is(l.target))&&("border-box"!==e.css("box-sizing")&&(n+=s(e.css("border-top-width"))+s(e.css("border-bottom-width"))+(s(e.css("padding-top"))+s(e.css("padding-bottom")))),e.is("[data-mh-source]")||e.css(l.property,a-n+"px"))})}),p.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||null)}),r._maintainScroll&&t(window).scrollTop(u/d*t("html").outerHeight(!0)),this},r._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each(function(){var n=t(this),s=n.attr("data-mh")||n.attr("data-match-height");s in e?e[s]=e[s].add(n):e[s]=n}),t.each(e,function(){this.matchHeight(!0)})};var l=function(e){r._beforeUpdate&&r._beforeUpdate(e,r._groups),t.each(r._groups,function(){r._apply(this.elements,this.options)}),r._afterUpdate&&r._afterUpdate(e,r._groups)};r._update=function(s,o){if(o&&"resize"===o.type){var a=t(window).width();if(a===e)return;e=a}s?-1===n&&(n=setTimeout(function(){l(o),n=-1},r._throttle)):l(o)},t(r._applyDataApi);var c=t.fn.on?"on":"bind";t(window)[c]("load",function(t){r._update(!1,t)}),t(window)[c]("resize orientationchange",function(t){r._update(!0,t)})}),$(document).ready(function(){var t=$(".editable__container");t.length&&t.each(function(){var t=$(this),e=t.find(".contentExpandWrap"),n=t.find("#readMoreLink");n.length&&("SPAN"==n[0].nodeName&&(n.attr("href","#editableAnimateShowLess"),function(t,e){$(t).each(function(){var t=$(e,{html:$
15(this).html()});$.each(this.attributes,function(){t.attr(this.name,this.value)}),$(this).replaceWith(t)})}(n,"<a></a>")),e.add(n).removeClass("expand"),e.hide(),n.text("Show More"),t.on("click","#readMoreLink",function(n){n.preventDefault();var s=$(this),o=$("body .redactor-link-tooltip .redactor-link-tooltip-action:first-child");o.length&&o.parent().css("visibility","hidden"),"Show More"===s.text()?(t.removeAttr("id"),s.text("Show Less")):(t.attr("id","editableAnimateShowLess"),s.text("Show More")),e.add(s).toggleClass("expand")}))})}),(t=>{"use strict";class e{constructor(t){this.$el=t,this.init()}init(){this.bindToOffsetToAnchors()}bindToOffsetToAnchors(){this.$el.on("click",'a[href^="#"]',e=>{let n=e.target;if(!n)return;let s=decodeURI(n.hash).slice(1);if(!s)return;let o=document.getElementById(s);o&&this.animateToAnchor(t(o))})}animateToAnchor(e,n){n??=this.getStickySectionsHeight(),t("html, body").animate({scrollTop:e.offset().top-n},"slow")}getStickySectionsHeight(){return PLEStickyState?.getStickySectionsHeight()??0}static dataAttribute="linkToSection"}t(()=>{for(let n of document.querySelectorAll(".editable__container")){let s=t(n);s.data(e.dataAttribute,new e(s))}})})(window.jQuery),(t=>{"use strict";let e;let n=window.matchMedia("(max-width: 992px)");try{let t=document.createElement("STYLE");document.head.append(t),t.sheet.insertRule(".mm-menu.mm-offcanvas { display: none; }")}catch(t){console.error(t)}let s=new ResizeObserver((t,n)=>{if(e){e=!1;return}a()}),o=0;function a(){if(o)return;let t=o=requestAnimationFrame(()=>{t===o&&(r(),o=0)})}function r(){c.reposition(),d.reposition()}function l(){for(let t of document.querySelectorAll("nav.mm-menu a.mm-prev:not([title])")){let e=t.parentElement.querySelector("a.mm-title")?.textContent;e&&t.setAttribute("title",e)}for(let t of document.querySelectorAll("nav.mm-menu a.mm-next:not([title])")){let e=t.parentElement.querySelector(":scope > a[data-title]"),n=e?.dataset.title;n&&t.setAttribute("title",n)}for(let t of document.querySelectorAll("nav.mm-menu a.mm-close:not([title])"))t.setAttribute("title","Close")}class c{static Templates=new class{#t;get style1(){return this.#t()}#e;get style2(){return this.#e()}#i;get styleDefault(){return this.#i()}constructor(){let t=t=>{let e;return()=>{if(e)return e;let n=document.createElement("TEMPLATE");return n.innerHTML=t,e=n.content}};this.#t=t('<li class="navigation__item navigation__item--default has-drop-down show-drop-down drop-down-style--1 more"> <a href="#" class="navigation__item--link navigation__item--expand_more">More<span class="navigation__item--expand" title="View more" aria-expanded="false"></span> </a><ul class="navigation__list navigation__list--default navigation__list--sub"></ul> </li>'),this.#e=t('<li class="navigation__item navigation__item--default has-drop-down show-drop-down drop-down-style--2 more"> <a href="#" class="navigation__item--link  navigation__item--expand_more">More<span class="navigation__item--expand" title="View more" aria-expanded="false"></span> </a><ul class="navigation__list navigation__list--default navigation__list--sub"></ul> </li>'),this.#i=t('<li class="navigation__item navigation__item--default has-drop-down more"> <a href="#" class="navigation__item--link navigation__item--expand_more">More<span class="navigation__item--expand" title="View more" aria-expanded="false"></span> </a><ul class="navigation__list navigation__list--default navigation__list--sub"></ul> </li>')}};static unmask(){let t=document.querySelectorAll(".navigation-a > .navigation__list.more_nav--loading");for(let e of t)e.classList.remove("more_nav--loading");return this}static create(t,e){let n=new this(t,e);return this.active.add(n),n}static active=new Set;static reposition(){for(let t of this.active)!1===t.arrange()&&this.active.delete(t)}ref;more;get el(){return this.ref.deref()}initalState;constructor(t,e={}){this.ref=new WeakRef(t);let n=t.parentElement.classList,{Templates:s}=this.constructor;this.initalState=Array.from(t.children).map(t=>new p(t));let o=n.contains("drop-down-style--1")?s.style1:n.contains("drop-down-style--2")?s.style2:s.styleDefault;this.more=new class{el;initalClasses;initalStyles;constructor(t){this.el=t,this.initalClasses=this.el.getAttribute("class")||"",this.initalStyles=this.el.getAttribute("styles")||"",t.querySelector("a.navigation__item.more")?.addEventListener("click",t=>{t.preventDefault()})}reset(){this.el.setAttribute("class",this.initalClasses),this.el.setAttribute("style",this.initalStyles),this.el.hidden=!1}hide(){this.el.hidden=!0}}(o.cloneNode(!0).firstElementChild),this.more.hide(),t.append(this.more.el),this.defaults={...this.constructor.Defaults,...e}}arrange(){let n=this.el;if(!n)return!1;if(!t(this.el).is(":visible"))return;for(let t of n.children)s.unobserve(t);let o=[];for(let t of this.initalState.slice()){let e=t.reset();if(e){o.push(e);continue}let n=this.initalState.indexOf(t);-1!==n&&this.initalState.splice(n,1)}for(let t of(n.replaceChildren(...o),n.children.length&&this.tryToFitMore(),e=!0,n.children))s.observe(t,{box:"border-box"})}static Defaults={menuWidthBuffer:4,menuMaxOtherItemsWhenMore:6};defaults;tryToFitMore(){let e=this.el,n=t(e),{menuWidthBuffer:s,menuMaxOtherItemsWhenMore:o}=this.defaults,a=e.children.length,r=n.closest("div[class*='alias-']"),l=r.
15is("div[class*='alias-partial-header']")?Math.floor(n.closest(".header-partial-navigation").width()):Math.floor(r.width());if(l<s){console.error("Navigation Error: Menu container width could not be established. Skipped adding the More menu.");return}if(a<=o&&Math.ceil(h(n))+s<=l)return;this.more.reset();let c=this.more.el.querySelector(":scope > ul"),u=document.createDocumentFragment(),d=n.children("li:not(.more)");if(e.append(this.more.el),a>o&&u.append(...d.slice(Math.max(o,0)).detach().toArray()),Math.ceil(h(n))+s<=l){c?.append(u);return}let p=d.slice(0,o).toArray().reverse();for(let t of p)if(u.prepend(t),Math.ceil(h(n))+s<=l)break;c?.append(u)}}function h(e){let n=0;return e.children().each(function(e){n+=Math.ceil(t(this).outerWidth(!0))}),n}let u=(e,n)=>{let s=t(n).outerWidth(!0);return s>e?s:e};class d{static reposition(e){e??=document.querySelectorAll(".navigation__item.mega-menu > ul, .navigation-b .navigation__menu--container, .navigation-c .navigation__menu--container");let n=t(window).width();for(let t of e)this._position(t,n)}static _position(e,n){let s=t(e),o=0;e.parentElement?.classList.contains("mega-menu")&&(o=15);let a=s.closest('[class*="alias-"]').offset().left;s.width(n),s.css("left",(n-s.width())/2-a+o)}}class p{ref;classes;styles;constructor(t){this.ref=new WeakRef(t),this.classes=t.getAttribute("class")||"",this.styles=t.getAttribute("style")||""}get el(){return this.ref.deref()}reset(){let t=this.el;return!!t&&(t.setAttribute("class",this.classes),t.setAttribute("style",this.styles),t)}}class f{static initialized=new WeakSet;static initializeAll(){let t=document.querySelectorAll(".component.navigation .navigation-a");for(let e of t)this.initialize(e);return this}static initialize(e){if(this.initialized.has(e))return;this.initialized.add(e);let s=t(e),o=e=>{t(e).toggleClass("expanded").parent().next("ul").slideToggle()},a=t=>{t.preventDefault(),t.stopImmediatePropagation(),o(t.currentTarget.querySelector(":scope > .navigation__item--expand"))},r=t=>{t.preventDefault(),t.stopImmediatePropagation(),o(t.currentTarget)},l=[],h=t=>{for(let t of l.splice(0,l.length))try{t()}catch(t){console.error(t)}if(!document.contains(e)){n.removeEventListener("change",h);return}let o=t.matches?s:s.find(".mega-menu");o.on("click",".navigation__item--expand_more",a),o.on("click","a.navigation__item--link .navigation__item--expand",r),l.push(()=>{o.off("click",".navigation__item--expand_more",a),o.off("click","a.navigation__item--link .navigation__item--expand",r),o.find(".navigation__list--sub").css("display","")})};if(n.addEventListener("change",h),h(n),"1"===e.dataset.moreButton){let t=e.querySelectorAll(".navigation__list.more_nav:not(.mm-listview)");for(let e of t)c.create(e)}let d=e=>{let n=e.currentTarget,s=t(n),o=s.children(".navigation__list--sub"),a=o.find("> .navigation__item.has-drop-down > .navigation__list--sub"),r=a.find("> .navigation__item.has-drop-down > .navigation__list--sub"),l=o.outerWidth(!0),c=s.offset().left,h=a.toArray().reduce(u,0),d=r.toArray().reduce(u,0),p=l+h+d-s.outerWidth(!0),f=t(document).width()-(c+s.outerWidth(!0)+60);n.classList.toggle("near-edge",!(f>p))};s.children(".navigation__list").on("mouseenter mouseleave","> .navigation__item.has-drop-down",d)}}class m{static initializeAll(){let t=document.querySelectorAll(".component.navigation .navigation-b, .component.navigation .navigation-c");for(let e of t)this.initialize(e)}static initialize(e){let n=t(e).children(".navigation__button"),s=t(e).children(".navigation__menu--container"),o=t(e).find(".navigation__item--expand");n.click(function(){n.hasClass("animating")||(n.addClass("animating"),n.children(".navigation__button--icon").toggleClass("is-active"),s.hasClass("animating")||(s.addClass("animating"),s.toggleClass("expanded"),setTimeout(function(){s.removeClass("animating"),n.removeClass("animating")},500)))}),t(document).click(function(t){s.is(t.target)||0!==s.has(t.target).length||n.is(t.target)||0!==n.has(t.target).length||(n.children(".navigation__button--icon").removeClass("is-active"),s.hasClass("animating")||(s.addClass("animating"),s.removeClass("expanded"),setTimeout(function(){s.removeClass("animating"),n.removeClass("animating")},500)))}),o.click(function(){t(this).toggleClass("expanded").next().slideToggle()})}}t(()=>
15{t("[data-sticky-header]").closest(".js-sticky-nav").sticky({topSpacing:0}),m.initializeAll(),c.unmask(),f.initializeAll(),l(),r(),window.addEventListener("resize",()=>{a()})})})(window.jQuery),function(t){"use strict";var e=function(t,e){this.$el=t,this.$parent=t.closest(".cta"),this.options=e,this.ctaVideo="",this.initColorbox()};e.prototype.initColorbox=function(){this.$parent.find(".lb-class").each(function(){t(this).colorbox(t.extend(e.defaults,t(t(this).attr("href")).data()))}),t(document).bind("cbox_complete",{context:this},this.cboxOpenCallBack),t(document).bind("cbox_closed",{context:this},this.cboxClosedCallBack)},e.prototype.cboxOpenCallBack=function(t){t.data.context.formSizeHandler(t),t.data.context.videoLoadHandler(t)},e.prototype.cboxClosedCallBack=function(e){var n=t.colorbox.element().attr("href");t(n+" [data-setup-run]").each(function(){t(this).remove()})},e.prototype.formSizeHandler=function(e){var n=t.colorbox.element().attr("href"),s=t(n).find("form"),o=new MutationObserver(function(e){t.colorbox.resize()}),a=document.querySelector(s.selector);null!=a&&o.observe(a,{attributes:!0})},e.prototype.videoLoadHandler=function(e){var n=t.colorbox.element().attr("href");if(t(n+" [data-setup-run]").length&&(e.data.context.ctaVideo=t(n+" [data-setup-run]")[0].outerHTML,t(n+" [data-setup-run]").remove()),e.data.context.ctaVideo){t(n+" .video").append(t(e.data.context.ctaVideo));var s=t(n+" [data-setup-run]");videojs(s[0],s.data("setupRun"),function(){})}},e.defaults={inline:!0,width:"50%",transition:"fade",returnFocus:!1},t.fn.colorBoxModal=function(n){var s;return arguments,this.each(function(){var o=t(this),a=t.extend({},o.data(),"object"==typeof n&&n);if(o.data("ColorBoxModal",new e(o,a)),void 0!==s)return!1}),s||this},t.fn.colorBoxModal.Constructor=e,t.fn.colorBoxModal.noConflict=function(){return t.fn.colorBoxModal=old,this},t(document).ready(function(){t('[data-control="colorbox-modal"]').colorBoxModal({})})}(window.jQuery),function(t){"use strict";var e=function(e,n){var s=this;return s.$element=t(e),s.options=n,t.extend(s.options,{start:function(e){s.fixVerticalSlideSmoothHeight(e),t(window).resize(function(){s.fixVerticalSlideSmoothHeight(e)})},after:function(t){s.fixVerticalSlideSmoothHeight(t)}}),s.attachEvents(),s.initializeSlider(),s};e.prototype.attachEvents=function(){var e=this;"vertical"===e.options.direction&&t(window).resize(function(){e.fixVerticalSlideHeight()})},e.prototype.initializeSlider=function(){var t=this;t.$bxSlider=t.$element.flexslider(t.options),"vertical"===t.options.direction&&t.fixVerticalSlideHeight(),t.controlsWrap()},e.prototype.fixVerticalSlideHeight=function(){var e=0,n=this.$element.find(".slides");n.children().height("auto").each(function(){e=Math.max(e,t(this).height())}).height(e),n.height(e)},e.prototype.fixVerticalSlideSmoothHeight=function(e){if("vertical"===this.options.direction&&1==this.options.smoothHeight){var n=t(e).find(".flex-active-slide > div").height();t(e).find(".flex-viewport").height(n)}},e.prototype.controlsWrap=function(){var t=this.$element.find(".flex-control-nav"),e=this.$element.find(".flex-direction-nav .flex-prev"),n=this.$element.find(".flex-direction-nav .flex-next");this.$element.append("<div class='controls-wrapper'></div>");var s=this.$element.find(".controls-wrapper");t.length?(s.append(t),e.insertBefore(t),n.insertAfter(t)):s.append(e,n),this.$element.find(".flex-direction-nav").remove(),1==this.$element.find(".slides li:not(.clone)").length&&s.remove()},e.DEFAULTS={easing:null,useCSS:!1};var n=t.fn.LocationSlider;t.fn.LocationSlider=function(n){arguments;var s=t(this);e.DEFAULTS.controlsContainer=t(".flex-control-nav",t(this).parent()),e.DEFAULTS.customDirectionNav=t(".controls-wrapper a",t(this).parent());var o=t.extend({},e.DEFAULTS,s.data(),"object"==typeof n&&n);return new e(this,o)},t.fn.LocationSlider.Constructor=e,t.fn.LocationSlider.noConflict=function(){t.fn.LocationSlider=n},t(window).load(function(){var e=t(".locations.slider .flexslider");e.length&&e.each(function(){t(this).LocationSlider()})})}(window.jQuery),function(t){"use strict";var e,n,s,o,a,r,l,c=!0,h="",u=0,d="",p=null,f="",m=!1,g={resize:1,click:1},v=!0,b=1,_="bodyOffset",y=_,w=!0,C="",x={},k=32,T=null,S=!1,E="[iFrameSizer]",D=E.length,I="",A={max:1,min:1,bodyScroll:1,documentElementScroll:1},O="child",P=!0,M=t.parent,N="*",L=0,H=!1,W=null,z=16,F=1,j="scroll",R=j,B=t,q=function(){J("MessageCallback function not defined")},U=function(){},V=function(){};function Y(e,n,s){"addEventListener"in t?e.addEventListener(n,s,!1):"attachEvent"in t&&e.attachEvent("on"+n,s)}function K(e,n,s){"removeEventListener"in t?e.removeEventListener(n,s,!1):"detachEvent"in t&&e.detachEvent("on"+n,s)}function Q(t){return t.charAt(0).toUpperCase()+t.slice(1)}var G=Date.now||function(){return new Date().getTime()};function X(t){return E+"["+I+"] "+t}
15function Z(e){S&&"object"==typeof t.console&&console.log(X(e))}function J(e){"object"==typeof t.console&&console.warn(X(e))}function tt(t,e){void 0!==e&&""!==e&&"null"!==e&&(document.body.style[t]=e,Z("Body "+t+' set to "'+e+'"'))}function te(e){function n(){tv(e.eventName,e.eventType)}var s={add:function(e){Y(t,e,n)},remove:function(e){K(t,e,n)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(s[e.method])):s[e.method](e.eventName),Z(Q(e.method)+" event listener: "+e.eventType)}function ti(t){te({method:t,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),te({method:t,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),te({method:t,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),te({method:t,eventType:"Input",eventName:"input"}),te({method:t,eventType:"Mouse Up",eventName:"mouseup"}),te({method:t,eventType:"Mouse Down",eventName:"mousedown"}),te({method:t,eventType:"Orientation Change",eventName:"orientationchange"}),te({method:t,eventType:"Print",eventName:["afterprint","beforeprint"]}),te({method:t,eventType:"Ready State Change",eventName:"readystatechange"}),te({method:t,eventType:"Touch Start",eventName:"touchstart"}),te({method:t,eventType:"Touch End",eventName:"touchend"}),te({method:t,eventType:"Touch Cancel",eventName:"touchcancel"}),te({method:t,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),te({method:t,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),te({method:t,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===O&&te({method:t,eventType:"IFrame Resized",eventName:"resize"})}function tn(t,e,n,s){return e!==t&&(t in n||(J(t+" is not a valid option for "+s+"CalculationMethod."),t=e),Z(s+' calculation method set to "'+t+'"')),t}function ts(){y=tn(y,_,tf,"height")}function to(){R=tn(R,j,tm,"width")}function ta(){var e;!0===c?(ti("add"),e=0>k,t.MutationObserver||t.WebKitMutationObserver?e?tl():p=function(){function e(t){function e(t){!1===t.complete&&(Z("Attach listeners to "+t.src),t.addEventListener("load",o,!1),t.addEventListener("error",a,!1),l.push(t))}"attributes"===t.type&&"src"===t.attributeName?e(t.target):"childList"===t.type&&Array.prototype.forEach.call(t.target.querySelectorAll("img"),e)}function n(t){Z("Remove listeners from "+t.src),t.removeEventListener("load",o,!1),t.removeEventListener("error",a,!1),l.splice(l.indexOf(t),1)}function s(t,e,s){n(t.target),tv(e,s+": "+t.target.src,void 0,void 0)}function o(t){s(t,"imageLoad","Image loaded")}function a(t){s(t,"imageLoadFailed","Image load failed")}var r,l=[],c=t.MutationObserver||t.WebKitMutationObserver,h=(r=document.querySelector("body"),h=new c(function(t){tv("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(e)}),Z("Create body MutationObserver"),h.observe(r,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),h);return{disconnect:function(){"disconnect"in h&&(Z("Disconnect body MutationObserver"),h.disconnect(),l.forEach(n))}}}():(Z("MutationObserver not supported in this browser!"),tl())):Z("Auto Resize disabled")}function tr(){ti("remove"),null!==p&&p.disconnect(),clearInterval(T)}function tl(){0!==k&&(Z("setInterval: "+k+"ms"),T=setInterval(function(){tv("interval","setInterval: "+k)},Math.abs(k)))}function tc(t,e){var n=0;return e=e||document.body,parseInt(n="defaultView"in document&&"getComputedStyle"in document.defaultView?null!==(n=document.defaultView.getComputedStyle(e,null))?n[t]:0:function(t){if(/^\d+(px)?$/i.test(t))return parseInt(t,10);var n=e.style.left,s=e.runtimeStyle.left;return e.runtimeStyle.left=e.currentStyle.left,e.style.left=t||0,t=e.style.pixelLeft,e.style.left=n,e.runtimeStyle.left=s,t}(e.currentStyle[t]),10)}function th(t,e){for(var n,s=e.length,o=0,a=0,r=Q(t),l=G(),c=0;c<s;
15c++)(o=e[c].getBoundingClientRect()[t]+tc("margin"+r,e[c]))>a&&(a=o);return l=G()-l,Z("Parsed "+s+" HTML elements"),Z("Element position calculated in "+l+"ms"),(n=l)>z/2&&Z("Event throttle increased to "+(z=2*n)+"ms"),a}function tu(t){return[t.bodyOffset(),t.bodyScroll(),t.documentElementOffset(),t.documentElementScroll()]}function td(t,e){var n=document.querySelectorAll("["+e+"]");return 0===n.length?(J("No tagged elements ("+e+") found on page"),b):th(t,n)}function tp(){return document.querySelectorAll("body *")}var tf={bodyOffset:function(){return document.body.offsetHeight+tc("marginTop")+tc("marginBottom")},offset:function(){return tf.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,tu(tf))},min:function(){return Math.min.apply(null,tu(tf))},grow:function(){return tf.max()},lowestElement:function(){return Math.max(tf.bodyOffset(),th("bottom",tp()))},taggedElement:function(){return td("bottom","data-iframe-height")}},tm={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(tm.bodyScroll(),tm.documentElementScroll())},max:function(){return Math.max.apply(null,tu(tm))},min:function(){return Math.min.apply(null,tu(tm))},rightMostElement:function(){return th("right",tp())},taggedElement:function(){return td("right","data-iframe-width")}},tg=(e=function(t,e,n,s){var o,a;(function(){function t(t,e){return!(Math.abs(t-e)<=L)}return o=void 0!==n?n:tf[y](),a=void 0!==s?s:tm[R](),t(b,o)||m&&t(F,a)})()||"init"===t?(tb(),tw(b=o,F=a,t)):!(t in{init:1,interval:1,size:1})&&(y in A||m&&R in A)?ty(e):t in{interval:1}||Z("No change in size detected")},a=null,r=0,l=function(){r=G(),a=null,o=e.apply(n,s),a||(n=s=null)},function(){var t=G();r||(r=t);var c=z-(t-r);return n=this,s=arguments,c<=0||c>z?(a&&(clearTimeout(a),a=null),r=t,o=e.apply(n,s),a||(n=s=null)):a||(a=setTimeout(l,c)),o});function tv(t,e,n,s){H&&t in g?Z("Trigger event cancelled: "+t):(t in{reset:1,resetPage:1,init:1}||Z("Trigger event: "+e),tg(t,e,n,s))}function tb(){H||(H=!0,Z("Trigger event lock on")),clearTimeout(W),W=setTimeout(function(){H=!1,Z("Trigger event lock off"),Z("--")},128)}function t_(t){b=tf[y](),F=tm[R](),tw(b,F,t)}function ty(t){var e=y;y=_,Z("Reset trigger event: "+t),tb(),t_("reset"),y=e}function tw(t,e,n,s,o){if(!0===P){var a;void 0===o?o=N:Z("Message targetOrigin: "+o),Z("Sending message to host page ("+(a=I+":"+t+":"+e+":"+n+(void 0!==s?":"+s:""))+")"),M.postMessage(E+a,o)}}Y(t,"message",function e(n){var s,o;function a(){return n.data.split("]")[1].split(":")[0]}function r(){return n.data.substr(n.data.indexOf(":")+1)}function l(){return n.data.split(":")[2]in{true:1,false:1}}E===(""+n.data).substr(0,D)&&(!1===v?function(){var e,s,o;switch(a()){case"reset":w?Z("Page reset ignored by init"):(Z("Page size reset by host page"),t_("resetPage"));break;case"resize":tv("resizeParent","Parent window requested size check");break;case"moveToAnchor":e=r(),x.findTarget(e);break;case"message":Z("MessageCallback called from parent: "+(s=r())),q(JSON.parse(s)),Z(" --");break;case"pageInfo":Z("PageInfoFromParent called from parent: "+(o=r())),V(JSON.parse(o)),Z(" --");break;default:"iFrameResize"in t||l()||J("Unexpected message ("+n.data+")")}}():l()?(C=n.data,M=n.source,function(){function t(t){return"true"===t}var e=C.substr(D).split(":");I=e[0],u=void 0!==e[1]?Number(e[1]):u,m=void 0!==e[2]?t(e[2]):m,S=void 0!==e[3]?t(e[3]):S,k=void 0!==e[4]?Number(e[4]):k,c=void 0!==e[6]?t(e[6]):c,d=e[7],y=void 0!==e[8]?e[8]:y,h=e[9],f=e[10],L=void 0!==e[11]?Number(e[11]):L,x.enable=void 0!==e[12]&&t(e[12]),O=void 0!==e[13]?e[13]:O,R=void 0!==e[14]?e[14]:R}(),Z("Initialising iFrame ("+location.href+")"),function(){if("iFrameResizer"in t&&Object===t.iFrameResizer.constructor){var e;Z("Reading data from page: "+JSON.stringify(e=t.iFrameResizer)),q="messageCallback"in e?e.messageCallback:q,U="readyCallback"in e?e.readyCallback:U,N="targetOrigin"in e?e.targetOrigin:N,y="heightCalculationMethod"in e?e.heightCalculationMethod:y,R="widthCalculationMethod"in e?e.widthCalculationMethod:R}Z("TargetOrigin for parent set to: "+N)}(),void 0===d&&(d=u+"px"),tt("margin",(-1!==(s=d).indexOf("-")&&(J("Negative CSS value ignored for margin"),s=""),s)),tt("background",h),tt("padding",f),(o=document.createElement("div")).style.clear="both",o.style.display="block",document.body.appendChild(o),ts(),to(),document.documentElement.style.height="",document.body.style.height="",Z('HTML & body height set to "auto"'),Z("Enable public methods"),B.parentIFrame={autoResize:function(t){return!0===t&&!1===c?(c=!0,ta()):!1===t&&!0===c&&(c=!1,tr()),c},close:function(){tw(0,0,"close"),Z("Disable outgoing messages"),P=!1,Z("Remove event listener: Message"),K(t,"message",e),!0===c&&tr()},getId:function(){return I},getPageInfo:function(t){"function"==typeof t?(V=t,tw(0,0,"pageInfo")):(V=function(){},tw(0,0,"pageInfoStop"))},moveToAnchor:function(t){x.findTarget(t)},reset:function(){ty("parentIFrame.reset")},scrollTo:function(t,e){tw(e,t,"scrollTo")},scrollToOffset:function(t,e){tw(e,t,"scrollToOffset")},sendMessage:function(t,e){tw(0,0,"message",JSON.stringify(t),e)},setHeightCalculationMethod:function(t){y=t,ts()},setWidthCalculationMethod:function(t){R=t,to()},setTargetOrigin:function(t){Z("Set targetOrigin: "+t),N=t},size:function(t,e){tv("size","parentIFrame.size("+(t||"")+(e?","+e:"")+")",t,e)}},ta(),x=function(){function e(e){var n,s,o,a=e.split("#")[1]||e,r=decodeURIComponent(a),l=document.getElementById(r)||document.getElementsByName(r)[0];void 0!==l?(n=l.getBoundingClientRect(),s={x:void 0!==t.pageXOffset?t.pageXOffset:document.documentElement.scrollLeft,y:void 0!==t.pageYOffset?t.pageYOffset:document.documentElement.scrollTop},Z("Moving to in page link (#"+a+") at x: "+(o={x:parseInt(n.left,10)+parseInt(s.x,10),y:parseInt(n.top,10)+parseInt(s.y,10)}).x+" y: "+o.y),tw(o.y,o.x,"scrollToOffset")):(Z("In page link (#"+a+") not found in iFrame, so sending to parent"),tw(0,0,"inPageLink","#"+a))}function n(){""!==location.hash&&"#"!==location.hash&&e(location.href)}return x.enable?Array.prototype.forEach&&document.querySelectorAll?(Z("Setting up location.hash handlers"),Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),function(t){"#"!==t.getAttribute("href")&&Y(t,"click",function(t){t.preventDefault(),e(this.getAttribute("href"))})}),Y(t,"hashchange",n),setTimeout(n,128)):J("In page linking not fully supported in this browser! (See README.md for IE8 workaround)"):Z("In page linking not enabled"),{findTarget:e}}(),tv("init","Init message from host page"),U(),v=!1,setTimeout(function(){w=!1},128)):Z('Ignored message of type "'+a()+'". Received before initialization.'))}),"loading"!==document.readyState&&t.parent.postMessage("[iFrameResizerChild]Ready","*")}(window||{}),$(document).ready(function(){window.menuHolder=$(".navigation").not(".mm-menu"),window.menuHolderMaxWidth=100,window.menu=$(".more_nav").not(".mm-listview"),window.currentMenu=menu,window.currentMenuWidth=window.menuHolder.outerWidth(),window.menuChildrenCount=currentMenu.children().length,window.origMenuContent="",window.moreButton=$('
15<li class="navigation__item has-child more"> <a href="#">More</a> <ul class="navigation__list--sub"></ul> </li>'),window.allMenus=[]}),function(t){var e=!1;if("function"==typeof define&&define.amd&&(define(t),e=!0),"object"==typeof exports&&(module.exports=t(),e=!0),!e){var n=window.Cookies,s=window.Cookies=t();s.noConflict=function(){return window.Cookies=n,s}}}(function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var s in n)e[s]=n[s]}return e}return function e(n){function s(e,o,a){if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(a=t({path:"/"},s.defaults,a)).expires){var r,l=new Date;l.setMilliseconds(l.getMilliseconds()+864e5*a.expires),a.expires=l}try{r=JSON.stringify(o),/^[\{\[]/.test(r)&&(o=r)}catch(t){}return o=n.write?n.write(o,e):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(String(e))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape),document.cookie=[e,"=",o,a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}e||(r={});for(var c=document.cookie?document.cookie.split("; "):[],h=/(%[0-9A-Z]{2})+/g,u=0;u<c.length;u++){var d=c[u].split("="),p=d.slice(1).join("=");'"'===p.charAt(0)&&(p=p.slice(1,-1));try{var f=d[0].replace(h,decodeURIComponent);if(p=n.read?n.read(p,f):n(p,f)||p.replace(h,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(t){}if(e===f){r=p;break}e||(r[f]=p)}catch(t){}}return r}}return s.set=s,s.get=function(t){return s.call(s,t)},s.getJSON=function(){return s.apply({json:!0},[].slice.call(arguments))},s.defaults={},s.remove=function(e,n){s(e,"",t(n,{expires:-1}))},s.withConverter=e,s}(function(){})}),$(()=>{"use strict";let t=document.querySelectorAll("#shapePnl a"),e=({currentTarget:t})=>{let e=t.classList.item(0),n=t.parentElement.querySelectorAll(":scope > .selected");for(let t of n)t.classList.remove("selected");t.classList.add("selected");let s=document.querySelectorAll("#facePnl");for(let t of s)t.setAttribute("class",e);let o=document.querySelectorAll(`#infoPnl div.${e}`);for(let t of o)for(let e of t.parentElement.children)e.style.display=e===t?"block":"none"};for(let n of t)n.addEventListener("click",e);let n=document.querySelectorAll('#framePnl span[class*="frm"]'),s=({currentTarget:t})=>{let e=t.getAttribute("class"),n=document.querySelectorAll("#framePnl a.selected");for(let t of n)t.classList.remove("selected");t.parentElement.classList.add("selected");let s=document.querySelectorAll("#lrgFrame");for(let t of s)t.setAttribute("class",e)};for(let t of n)t.addEventListener("click",s);let o=1,a=document.querySelectorAll("ul#frameSets li").length,r=document.querySelectorAll("a.prvSet"),l=t=>{t.stopPropagation(),t.preventDefault();let e=$("ul#frameSets li");if(o>1){e.animate({left:"+=720px"},500),o-=1;return}e.animate({left:`-${(a-1)*720}px`},500),o=a};for(let t of r)t.addEventListener("click",l);let c=document.querySelectorAll("a.nxtSet"),h=t=>{t.stopPropagation(),t.preventDefault();let e=$("ul#frameSets li");if(o<a){e.animate({left:"-=720px"},500),o+=1;return}e.animate({left:"0px"},500),o=1};for(let t of c)t.addEventListener("click",h);let u=document.querySelectorAll("a.lnchFrmSlctr"),d=t=>{t.preventDefault(),t.stopPropagation(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"815",height:"508"})};for(let t of u)t.addEventListener("click",d);let p=document.querySelectorAll("button.lnch3dspine"),f=t=>{t.stopPropagation(),t.preventDefault(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"902",height:"833"})};for(let t of p)t.addEventListener("click",f);let m=document.querySelectorAll("button.lnchpetselector"),g=t=>{t.preventDefault(),t.stopPropagation(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"940",height:"750"})};for(let t of m)t.addEventListener("click",g)}),document.addEventListener("DOMContentLoaded",function(){let t;let e=document.querySelectorAll(".navigation__item.has-drop-down");function n(){e.forEach(t=>{let e=t.getBoundingClientRect(),n=window.innerWidth,s=n-e.right;s<300?t.classList.add("near-edge"):t.classList.remove("near-edge")})}n(),window.addEventListener("resize",function(){clearTimeout(t),t=setTimeout(n,100)})}),function(){"use strict";function t(t){return{enumerable:!0,value:t}}function e(t){return{enumerable:!0,writable:!0,value:t}}function n(t,e){return{enumerable:!0,get:t,set:e}}function s(){throw Error("This method has not been configured!")}window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,window.cancelAnimationFrame||window.mozCancelAnimationFrame,jQuery(document).ready(function(o){var a,r,l=o("body");(o(window),o("<span></span>")).get(0);var c=o(".contactform").first();function h(t){return function(){o("html, body").animate({scrollTop:t.offset().top},"slow")}}
15function u(t){return t.closest('.section[data-control="section"]')}(function(){var a="navigation-open",r="."+a;function c(t){var e=this,n=!1;this.el=t,this.$el=o(t),1===this.$el.data("more-button")&&this.$el,this.$ul=this.$el.children("ul:first-child");var s=this.$el.children("ul").children("li"),a={prev:function(t){t.parent("li").prev("li").children("a").focus()},next:function(t){t.parent("li").next("li").children("a").focus()},parent:function(t){t.parent("li").parent("ul").siblings("a").focus()},child:function(t){t.siblings("ul").find("> li:first-child > a:first-child").focus()}};function r(t){return e.$ul.children("li").children("a").is(t)}var c={ArrowDown:function(t,e){r(t.target)?a.child(e):a.next(e)},ArrowUp:function(t,e){r(t.target)||a.prev(e)},ArrowLeft:function(t,e){r(t.target)?a.prev(e):a.parent(e)},ArrowRight:function(t,e){r(t.target)?a.next(e):a.child(e)}};function u(t){e.el.contains(t.target)||e.closeAll()}this.$el.on("keydown",".navigation__item--link:focus",function(t){c.hasOwnProperty(t.key)&&c[t.key](t,o(t.target))}),this.subMenuR=s.toArray().map(function(t){return new(t.classList.contains("mega-menu"),h)(t,e)}),this.watchAfterOpen=function(){n||(n=!0,l.on("click touchstart",u))},this.ignoreAfterClose=function(){n&&(n=!1,l.off("click touchstart",u))}}function h(t,e,n){var s=this;this.root=e,this.parent=n||null,this.el=t,this.$el=o(t),this.$a=this.$el.children("a"),this.$ul=this.$el.children("ul"),this.$a.on("focus",function(){s.clearExpand(),s.expand()}),this.$ul.find("a").last().on("blur",function(){s.contract()}),this.$ul.length?(this.$el.hover(function(){s.expand()},function(t){s.contract()}),this.$a.on("touchend",function(t){if(!s.isExpanded)return s.clearExpand(),s.expand(),!1}),this.subMenuR=this.$ul.children("li").toArray().map(function(t){return new h(t,e,s)})):this.subMenuR=[]}o(".component.navigation .navigation-a").each(function(t,e){new c(e)}),Object.defineProperties(c,{}),Object.defineProperties(c.prototype,{hasFocus:n(function(){return!!this.$el.find("a:focus").length}),expandedClass:t(a),expandedSelector:t(r),markOpened:t(function(){this.watchAfterOpen()}),closeAll:t(function(){this.$el.find(this.expandedSelector).removeClass(this.expandedClass),this.ignoreAfterClose()}),watchAfterOpen:e(s),ignoreAfterClose:e(s)}),Object.defineProperties(h,{}),Object.defineProperties(h.prototype,{expandedClass:t(a),expandedSelector:t(r),isExpanded:n(function(){return this.el.classList.contains(this.expandedClass)}),expand:t(function(){this.root.markOpened(),this.$el.addClass(this.expandedClass),this.$a.parents("li").addClass(this.expandedClass)}),contract:t(function(){this.$el.removeClass(this.expandedClass).find(this.expandedSelector).removeClass(this.expandedClass)}),clearExpand:t(function(){this.root.closeAll()})})})(),function(t){var e,n,s,a,r=[],c="mobile-controls",d=o(".section-navigation-mobile, .section-navigation-mobile--no-hide").find(".component.navigation").find(".navigation-a, .navigation-b, .navigation-c").first(),p=o(".section-phone-mobile .phone__container").find(".phone__number").first(),f=o(".map__container").first();function m(t,e,n,s){var a=o('<div class="'+c+"__"+t+'"></div>'),r=o('<a title="'+e+'" class="btn btn-link">'+('<i class="icon '+n)+'" aria-hidden="true"></i><span class="sr-only">'+e+"</span></a>").attr("href",s).appendTo(a);return{$el:a,$link:r}}function g(t,e,n,s){var o=m(e,n,s,"#"+(u(t).attr("id")||""));return o.$link.on("click",h(t)),{$el:o.$el,source:t.get(0)}}![d,p,t,f].every(function(t){return 0===t.length})&&(d.length&&(a=o('<div class="'+c+' d-lg-none sticky-top"></div>').prependTo(l),(e=d.clone()).find("button").remove(),e.removeClass().addClass("d-lg-none").find("ul, li, a").removeClass(),d.addClass("d-none d-lg-block"),n=o('<button type="button" title="Show Navigation Menu"><i aria-hidden="true" class="icon icon-bars"></i><span> Menu</span></button>').appendTo(a),e.mmenu({extensions:["pagedim-black"],counters:!0,navbars:[{position:"top",content:["prev","title","close"]},{position:"top",content:["searchfield"]}]}),s=e.data("mmenu"),n.on("click",function(){s.open()})),p.length&&r.push((u(p).attr("id"),{$el:m("phone","Call","icon-phone","tel:+"+p.text().trim().replace(/([^0123456789\-.()])/g,"")).$el,source:p.get(0)}
15)),f.length&&r.push(g(f,"location","Location","icon icon-location-arrow")),t.length&&r.push(g(t,"contact-us","Contact Us","icon-envelope-o")),r.length&&r.sort(function(t,e){return t.source.compareDocumentPosition(e.source)&Node.DOCUMENT_POSITION_PRECEDING?1:-1}).reduce(function(t,e){return t.append(e.$el)},o('<div class="'+c+'__quick-links"></div>')).appendTo(a))}(c),function(t){if(t.length){var e=o("<div>").addClass("contactform-lock");e.on("click",h(t));var n=o("<div>").addClass("browser-lock").append(e);o("body").prepend(n)}}(c),function(){if(self==top){var t=o("link[rel=canonical]").attr("href");if(void 0!=t){var e=t.split("/"),n=e.indexOf("my.martindalenolo.com");if(n>=0){var s=e[n+1];if(!s)return;var a=o("div[data-component-name=editable] a[data-source-type=my-pages]");if(void 0==a||0==a.length)return;a.each(function(){var t=o(this).attr("href");t.split("/").indexOf(s)>=0||o(this).attr("href","/"+s+t)})}}}}(),function(){var t=JSON.parse(o("#ple-data-json").text()).fixedSection;if(void 0!==t){var e=o("#"+t.id).find(".ple__browserlock-modules"),n=e.find("> .row .row");if("custom"==t.spacing.space&&t.spacing.offsetDistance&&parseInt(t.spacing.offsetDistance)!=NaN&&n.each(function(e,n){o(n).css({marginBottom:t.spacing.offsetDistance})}),null!=t.placement.place)switch(t.placement.place){case"center-right":e.css({top:"50%",transform:"translateY(-50%)"});break;case"bottom-right":e.css({top:"auto"}),parseInt(t.placement.offsetDistance)==NaN||t.placement.useDefaultOffset||e.css({bottom:t.placement.offsetDistance});break;default:parseInt(t.placement.offsetDistance)==NaN||t.placement.useDefaultOffset||e.css({top:t.placement.offsetDistance})}}else console.log("browserlock Settings is undefinded")}(),a=o(".ple__back-to-top"),r="active",a.on("click",function(t){t.preventDefault(),o([document.documentElement,document.body]).animate({scrollTop:0},1e3)}),o(window).scroll(function(){o(window).scrollTop()>=400?a.addClass(r):a.removeClass(r)}),function(){function t(){if(!o(".mobileHeader-form").length&&!o(".mobileHeader-location").length&&!o(".mobileHeader-phone").length&&o("#mobileHeaderNavBtn").length){var t=o(".mobileHeader-navigation #mobileHeaderNavBtn").outerWidth(!0);o(".mobileHeader-logo").css("margin-right",t)}if((o(".mobileHeader-form").length||o(".mobileHeader-location").length||o(".mobileHeader-phone").length)&&!o("#mobileHeaderNavBtn").length){var e=o(".mobileHeader-form").width()+o(".mobileHeader-location").width()+o(".mobileHeader-phone").width();e<46&&o(".mobileHeader-logo").css("margin-left",e)}}function e(t){return function(){var e=o(".ple_module_sticky"),n=0;e.length&&e.each(function(){n+=o(this).find(".container").outerHeight(!0)}),0==n&&(n=o(".mobileHeader-container").height()),o("html, body").animate({scrollTop:t.offset().top-n},"slow")}}o(".mobileHeader-container").length&&(o(".section-navigation").length||o(".section-partial nav").length)&&function(){var n,s=o(".mobileHeader-container"),a=s.height(),r=o("#mobileHeaderNavBtn"),l=o("#mobileHeaderNav"),c=o(".mobileHeader-homeIcon"),h=o(".formIconLink"),u=o(".locIconLink"),d=o(".phoneIconLinkExpand"),p=o(".map__container").first(),f=o(".form__container").first(),m=o(".location-list"),g=o(".ple_module_sticky");if(f.length||(f=o(".contactform__container").first()),g.length){var v=g.first().find(".container");o(window).resize(function(){a=s.height(),v.css("padding-top",a)})}if(l.children().length&&(l.mmenu({extensions:["pagedim-black"],counters:!0,navbars:[{position:"top",content:["prev","title","close"]}]}),n=l.data("mmenu"),r.on("click",function(){n.open()})),f.length?h.click(e(f)):h.fadeOut(),p.length?u.click(e(p)):u.fadeOut(),d.click(function(){m.addClass("expand")}),o(".mobileHeader-locWrap").find(".icon-times").click(function(){m.removeClass("expand")}),c.length&&o(".mobileHeader-homeIcon .mm-homeIcon").insertBefore(o("#mobileHeaderNav .mm-navbar-top .mm-title")),s.is("[class*=section__bg]")){var b=s.prop("classList");o.each(b,function(t,e){e.startsWith("section__bg")&&l.addClass(e)})}o(window).load(function(){t()}),o(window).resize(function(){t()})}()}()})}(),$(document).ready(function(){featuredBlocksAAccordion(),bluredBladeBG(),staffOverlapped(),galleryTitle(),navigationVisibility(),bannerOverImage(),bannerAboveImage(),bannerFAb
15stractShape(),footerParallax(),bladeParallax(),bannerTitleHighlight(),partialTestimonialsSlider(),fbFullImage()}),$(window).load(function(){navADropDown2(),bannerDSwoop(),bladeNarrowSbg()}),$(window).resize(function(){navADropDown2()}),$(document).ready(function(){disableLinks(".wrap__page-content a, .wrap__editable-content a"),$(".form").length&&$("body").on("SMBLeadsFormReady",function(){void 0!==$("body").data("FixedScrollBlock")&&$("body").data("FixedScrollBlock").refresh()}),setTimeout(function(){$("body").removeClass("mm-slideout mm-page")},1e3),$("a.dd-lightbox").fancybox()});

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.