1 2(function($) { 3 4 // Karten-Variablen 5 var breite = 710; 6 var hoehe = 810; 7 8 function karte() { 9 10 if ( (typeof $('.welt') == 'undefined') || ($('.welt').length == 0) ) return; 11 12 // Fähnchen neu platzieren 13 // Hat sich die GröÃe der Karte verändert? 14 var aktB = $('.welt_img').width(); 15 var aktH = $('.welt_img').height(); 16 var fak = breite / aktB; 17 18 $('.fahne, .ort').each(function(index) { 19 var newLeft = ( parseInt($(this).attr('data-left')) / fak); 20 var newTop = ( parseInt($(this).attr('data-top')) / fak); 21 $(this).css({ 22 left: newLeft, 23 top: newTop 24 }); 25 }); 26 27 // Positionen der Info-Ebenen anpassen: rechts von der Mitte sollen sich die 28 // Info-Ebenen nach links einblenden 29 var centerX = $('.welt').width() / 2; 30 var centerY = $('.welt').height() / 2; 31 32 $('.welt .fahne').each(function(index) { 33 34 var pos = $(this).position(); 35 36 if (pos.left > centerX) { 37 $(this).addClass('rechts'); 38 } 39 }); 40 41 $('.welt, .welt .liste').css('height', aktH); 42 43 // Falls Mobile-Anzeige und Breite unter 480 Pixel, wird nur noch die Liste, nicht mehr die Karte angezeigt 44 if (vW[vW.length-1] <=480 ) { 45 46 $('.welt, .welt .liste').css('height','100%'); 47 48 } else { 49 50 $('.welt, .welt .liste').css('height', aktH); 51 } 52 53 // Koordinaten anzeigen? 54 if ($('#welt_coords').length > 0) { 55 56 var map = $('.welt_img'); 57 var offset = map.offset(); 58 59 $(document).mousemove(function(e){ 60 var left = parseInt(e.pageX - offset.left); 61 var top = parseInt(e.pageY - offset.top); 62 var outer = false; 63 64 if (left < 0) { 65 left = 0; 66 outer = true; 67 } 68 if (top < 0) { 69 top = 0; 70 outer = true; 71 } 72 73 if (left > $(map).width()) { 74 left = $(map).width(); 75 outer = true; 76 } 77 if (top > $(map).height()) { 78 top = $(map).height(); 79 outer = true; 80 } 81 82 if (!outer) { 83 $('#welt_coords').html('Links:' + left + ', Oben: ' + top); 84 } 85 }); 86 } 87 } 88 89 $(window).resize(function() { 90 karte(); 91 }); 92 93 $(window).load(function() { 94 karte(); 95 }); 96 97 $(function() { 98 99 function test_schwerpunkt(arr, val) { 100 101 var ergebnis = false; 102 103 for (i=0; i<arr.length; i++) { 104 105 if (arr[i] == val) { 106 ergebnis = true; 107 break; 108 } 109 } 110 return ergebnis; 111 } 112 113 if ( (typeof $('.welt') != 'undefined') && ($('.welt').length > 0) ) { 114 115 // Show map 116 $('.welt_bild img.welt_img').show(); 117 118 // Tabs 119 $('.welt .reiter a').click(function() { 120 121 $('.welt .reiter li').removeClass('aktiv'); 122 $(this).parent().addClass('aktiv'); 123 124 if ($(this).attr('rel') == 'welt_bild') { 125 126 //$('.welt_bild').show(); 127 $('.welt_bild').css('visibility','visible'); 128 $('.welt .liste').hide(); 129 130 } else { 131 132 $('.welt .liste').show(); 133 //$('.welt_bild').hide(); 134 $('.welt_bild').css('visibility','hidden'); 135 } 136 }); 137 138 // Ein- und Ausblenden der Projekt-Info 139 $('.welt .fahne .link a').hover(function() { 140 141 // Alle eventuell bereits offenen Infos ausblenden 142 $('.welt .fahne .info').hide(); 143 $('.welt .fahne').css('z-index', '2'); 144 145 // Gewünschte Info einblenden 146 $(this).parents('.fahne').find('.info').show(); 147 $(this).parents('.fahne').css('z-index', '4'); 148 }); 149 150 // Ausblenden bei Klick auf "X" 151 $('.welt .fahne .close').click(function(e) { 152 $(this).parents('.fahne').find('.info').hide(); 153 $(this).parents('.fahne').css('z-index', '2'); 154 }); 155 156 // Ausblenden bei Klick irgendwo auÃerhalb der Infofläche 157 $(document).bind('click', function(e) { 158 var $clicked = $(e.target); 159 if (!$clicked.parents().hasClass('fahne')) 160 $('.welt .fahne .info').hide(); 161 }); 162 163 // Dropdowns 164 if (typeof $.selectBox == 'function' && ($('.welt .fahne').length > 0 || $('.welt .liste').length > 0)) { 165 166 // Filtering function 167 function filterMap() { 168 169 // Alle Fähnchen ausblenden (Fahnen und Liste) 170 $('.welt .fahne, .welt .item, .welt .ort').hide(); 171 172 // Gewünschte einblenden 173 $('.welt .fahne, .welt .item, .welt .ort').filter(function(index) { 174 175 var sel_land = $('#select_laender').val(); 176 var sel_typ = $('#select_typen').val(); 177 var sel_schwerpunkt = $('#select_schwerpunkte').val(); 178 179 var land = ''; 180 var typ = ''; 181 var schwerpunkt = ''; 182 183 // Einstellungen für Fahne suchen 184 $(this).find('span').each(function() { 185 if ($(this).hasClass('land')) { 186 land = $(this).html(); 187 } 188 if ($(this).hasClass('typ')) { 189 typ = $(this).html(); 190 } 191 if ($(this).hasClass('schwerpunkt')) { 192 schwerpunkt = $(this).html(); 193 schwerpunkt = schwerpunkt.split(','); 194 } 195 }); 196 197 var vergleich = ''; 198 199 if (sel_land != 0) { 200 vergleich += 'land == sel_land'; 201 } 202 203 if (sel_typ != 0) { 204 205 if (vergleich != '') { 206 vergleich += ' && '; 207 } 208 vergleich += 'typ == sel_typ'; 209 } 210 211 if (sel_schwerpunkt != 0) { 212 213 if (vergleich != '') { 214 vergleich += ' && '; 215 } 216 vergleich += 'test_schwerpunkt(schwerpunkt,sel_schwerpunkt) == true'; 217 } 218 219 if (vergleich != '') { 220 221 return (eval(vergleich)); 222 223 } else { 224 225 return (true); 226 } 227 228 }).show(); 229 } 230 231 // Callbacks der Dropdowns 232 $("#select_laender").selectBox().change(function () { 233 filterMap(); 234 }); 235 236 $("#select_typen").selectBox().change(function () { 237 filterMap(); 238 }); 239 240 $("#select_schwerpunkte").selectBox().change(function () { 241 filterMap(); 242 }); 243 244 // Getting URL 245 if (typeof $.getUrlVar == 'function') { 246 var region = $.getUrlVar('tx_asfacilitycompass_searchbox[region]'); 247 var focus = $.getUrlVar('tx_asfacilitycompass_searchbox[focus]'); 248 249 if (region) $("#select_laender").selectBox('value', region).trigger('change'); 250 if (focus) $("#select_schwerpunkte").selectBox('value', focus).trigger('change'); 251 } 252 }; 253 } 254 }); 255})(jQuery); 256
vendor: 36,868 bytes, lines 257-263
257/*! 258 * Bootstrap v3.3.6 (http://getbootstrap.com) 259 * Copyright 2011-2015 Twitter, Inc. 260 * Licensed under the MIT license 261 */ 262if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1||b[0]>2)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.6",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.6",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.6",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.6",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.6",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),+function(a){"use strict";function b(b,d){return this.each(function(){var e=a(this),f=e.data("bs.modal"),g=a.extend({},c.DEFAULTS,e.data(),"object"==typeof b&&b);f||e.data("bs.modal",f=new c(this,g)),"string"==typeof b?f[b](d):g.show&&f.show(d)})}var c=function(b,c){this.options=c,this.$body=a(document.body),this.$element=a(b),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};c.VERSION="3.3.6",c.TRANSITION_DURATION=300,c.BACKDROP_TRANSITION_DURATION=150,c.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},c.prototype.toggle=function(a){return this.isShown?this.hide():this.show(a)},c.prototype.show=function(b){var d=this,e=a.Event("show.bs.modal",{relatedTarget:b});this.$element.trigger(e),this.isShown||e.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){d.$element.one("mouseup.dismiss.bs.modal",function(b){a(b.target).is(d.$element)&&(d.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=a.support.transition&&d.$element.hasClass("fade");d.$element.parent().length||d.$element.appendTo(d.$body),d.$element.show().scrollTop(0),d.adjustDialog(),e&&d.$element[0].offsetWidth,d.$element.addClass("in"),d.enforceFocus();var f=a.Event("shown.bs.modal",{relatedTarget:b});e?d.$dialog.one("bsTransitionEnd",function(){d.$element.trigger("focus").trigger(f)}).emulateTransitionEnd(c.TRANSITION_DURATION):d.$element.trigger("focus").trigger(f)}))},c.prototype.hide=function(b){b&&b.preventDefault(),b=a.Event("hide.bs.modal"),this.$element.trigger(b),this.isShown&&!b.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(c.TRANSITION_DURATION):this.hideModal())},c.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(a){this.$element[0]===a.target||this.$element.has(a.target).length||this.$element.trigger("focus")},this))},c.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(a){27==a.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},c.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},c.prototype.hideModal=function(){var a=this;this.$element.hide(),this.backdrop(function(){a.$body.removeClass("modal-open"),a.resetAdjustments(),a.resetScrollbar(),a.$element.trigger("hidden.bs.modal")})},c.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},c.prototype.backdrop=function(b){var d=this,e=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var f=a.support.transition&&e;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+e).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(a){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(a.target===a.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),f&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!b)return;f?this.$backdrop.one("bsTransitionEnd",b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):b()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var g=function(){d.removeBackdrop(),b&&b()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION):g()}else b&&b()},c.prototype.handleUpdate=function(){this.adjustDialog()},c.prototype.adjustDialog=function(){var a=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth<a,this.scrollbarWidth=this.measureScrollbar()},c.prototype.setScrollbar=function(){var a=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",a+this.scrollbarWidth)},c.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},c.prototype.measureScrollbar=function(){var a=document.createElement("div");a.className="modal-scrollbar-measure",this.$body.append(a);var b=a.offsetWidth-a.clientWidth;return this.$body[0].removeChild(a),b};var d=a.fn.modal;a.fn.modal=b,a.fn.modal.Constructor=c,a.fn.modal.noConflict=function(){return a.fn.modal=d,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(c){var d=a(this),e=d.attr("href"),f=a(d.attr("data-target")||e&&e.replace(/.*(?=#[^\s]+$)/,"")),g=f.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(e)&&e},f.data(),d.data());d.is("a")&&c.preventDefault(),f.one("show.bs.modal",function(a){a.isDefaultPrevented()||f.one("hidden.bs.modal",function(){d.is(":visible")&&d.trigger("focus")})}),b.call(f,g,this)})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tooltip"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.tooltip",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",a,b)};c.VERSION="3.3.6",c.TRANSITION_DURATION=150,c.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-m<o.top?"bottom":"right"==h&&k.right+l>o.width?"left":"left"==h&&k.left-l<o.left?"right":h,f.removeClass(n).addClass(h)}var p=this.getCalculatedOffset(h,k,l,m);this.applyPlacement(p,h);var q=function(){var a=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==a&&e.leave(e)};a.support.transition&&this.$tip.hasClass("fade")?f.one("bsTransitionEnd",q).emulateTransitionEnd(c.TRANSITION_DURATION):q()}},c.prototype.applyPlacement=function(b,c){var d=this.tip(),e=d[0].offsetWidth,f=d[0].offsetHeight,g=parseInt(d.css("margin-top"),10),h=parseInt(d.css("margin-left"),10);isNaN(g)&&(g=0),isNaN(h)&&(h=0),b.top+=g,b.left+=h,a.offset.setOffset(d[0],a.extend({using:function(a){d.css({top:Math.round(a.top),left:Math.round(a.left)})}},b),0),d.addClass("in");var i=d[0].offsetWidth,j=d[0].offsetHeight;"top"==c&&j!=f&&(b.top=b.top+f-j);var k=this.getViewportAdjustedDelta(c,b,i,j);k.left?b.left+=k.left:b.top+=k.top;var l=/top|bottom/.test(c),m=l?2*k.left-e+i:2*k.top-f+j,n=l?"offsetWidth":"offsetHeight";d.offset(b),this.replaceArrow(m,d[0][n],l)},c.prototype.replaceArrow=function(a,b,c){this.arrow().css(c?"left":"top",50*(1-a/b)+"%").css(c?"top":"left","")},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},c.prototype.hide=function(b){function d(){"in"!=e.hoverState&&f.detach(),e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),b&&b()}var e=this,f=a(this.$tip),g=a.Event("hide.bs."+this.type);return this.$element.trigger(g),g.isDefaultPrevented()?void 0:(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one("bsTransitionEnd",d).emulateTransitionEnd(c.TRANSITION_DURATION):d(),this.hoverState=null,this)},c.prototype.fixTitle=function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").attr("title","")},c.prototype.hasContent=function(){return this.getTitle()},c.prototype.getPosition=function(b){b=b||this.$element;var c=b[0],d="BODY"==c.tagName,e=c.getBoundingClientRect();null==e.width&&(e=a.extend({},e,{width:e.right-e.left,height:e.bottom-e.top}));var f=d?{top:0,left:0}:b.offset(),g={scroll:d?document.documentElement.scrollTop||document.body.scrollTop:b.scrollTop()},h=d?{width:a(window).width(),height:a(window).height()}:null;return a.extend({},e,g,h,f)},c.prototype.getCalculatedOffset=function(a,b,c,d){return"bottom"==a?{top:b.top+b.height,left:b.left+b.width/2-c/2}:"top"==a?{top:b.top-d,left:b.left+b.width/2-c/2}:"left"==a?{top:b.top+b.height/2-d/2,left:b.left-c}:{top:b.top+b.height/2-d/2,left:b.left+b.width}},c.prototype.getViewportAdjustedDelta=function(a,b,c,d){var e={top:0,left:0};if(!this.$viewport)return e;var f=this.options.viewport&&this.options.viewport.padding||0,g=this.getPosition(this.$viewport);if(/right|left/.test(a)){var h=b.top-f-g.scroll,i=b.top+f-g.scroll+d;h<g.top?e.top=g.top-h:i>g.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;j<g.left?e.left=g.left-j:k>g.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.6",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.6",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b<e[0])return this.activeTarget=null,this.clear();for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(void 0===e[a+1]||b<e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,this.clear();var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active"); 263d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate.bs.scrollspy")},b.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var d=a.fn.scrollspy;a.fn.scrollspy=c,a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=d,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);c.call(b,b.data())})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new c(this)),"string"==typeof b&&e[b]()})}var c=function(b){this.element=a(b)};c.VERSION="3.3.6",c.TRANSITION_DURATION=150,c.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.data("target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a"),f=a.Event("hide.bs.tab",{relatedTarget:b[0]}),g=a.Event("show.bs.tab",{relatedTarget:e[0]});if(e.trigger(f),b.trigger(g),!g.isDefaultPrevented()&&!f.isDefaultPrevented()){var h=a(d);this.activate(b.closest("li"),c),this.activate(h,h.parent(),function(){e.trigger({type:"hidden.bs.tab",relatedTarget:b[0]}),b.trigger({type:"shown.bs.tab",relatedTarget:e[0]})})}}},c.prototype.activate=function(b,d,e){function f(){g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.6",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);
vendor: 3,931 bytes, lines 263-286
263 264/* 265* jquery-match-height master by @liabru 266* http://brm.io/jquery-match-height/ 267* License MIT 268*/ 269!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,o=-1,a=function(t){return parseFloat(t)||0},i=function(e){var o=1,i=t(e),n=null,r=[];return i.each(function(){var e=t(this),i=e.offset().top-a(e.css("margin-top")),s=r.length>0?r[r.length-1]:null;null===s?r.push(e):Math.floor(Math.abs(n-i))<=o?r[r.length-1]=s.add(e):r.push(e),n=i}),r},n=function(e){var o={ 270byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?t.extend(o,e):("boolean"==typeof e?o.byRow=e:"remove"===e&&(o.remove=!0),o)},r=t.fn.matchHeight=function(e){var o=n(e);if(o.remove){var a=this;return this.css(o.property,""),t.each(r._groups,function(t,e){e.elements=e.elements.not(a)}),this}return this.length<=1&&!o.target?this:(r._groups.push({elements:this,options:o}),r._apply(this,o),this)};r.version="master",r._groups=[],r._throttle=80,r._maintainScroll=!1,r._beforeUpdate=null, 271r._afterUpdate=null,r._rows=i,r._parse=a,r._parseOptions=n,r._apply=function(e,o){var s=n(o),h=t(e),l=[h],c=t(window).scrollTop(),p=t("html").outerHeight(!0),d=h.parents().filter(":hidden");return d.each(function(){var e=t(this);e.data("style-cache",e.attr("style"))}),d.css("display","block"),s.byRow&&!s.target&&(h.each(function(){var e=t(this),o=e.css("display");"inline-block"!==o&&"flex"!==o&&"inline-flex"!==o&&(o="block"),e.data("style-cache",e.attr("style")),e.css({display:o,"padding-top":"0", 272"padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),l=i(h),h.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||"")})),t.each(l,function(e,o){var i=t(o),n=0;if(s.target)n=s.target.outerHeight(!1);else{if(s.byRow&&i.length<=1)return void i.css(s.property,"");i.each(function(){var e=t(this),o=e.attr("style"),a=e.css("display");"inline-block"!==a&&"flex"!==a&&"inline-flex"!==a&&(a="block");var i={ 273display:a};i[s.property]="",e.css(i),e.outerHeight(!1)>n&&(n=e.outerHeight(!1)),o?e.attr("style",o):e.css("display","")})}i.each(function(){var e=t(this),o=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(o+=a(e.css("border-top-width"))+a(e.css("border-bottom-width")),o+=a(e.css("padding-top"))+a(e.css("padding-bottom"))),e.css(s.property,n-o+"px"))})}),d.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||null)}),r._maintainScroll&&t(window).scrollTop(c/p*t("html").outerHeight(!0)), 274this},r._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each(function(){var o=t(this),a=o.attr("data-mh")||o.attr("data-match-height");a in e?e[a]=e[a].add(o):e[a]=o}),t.each(e,function(){this.matchHeight(!0)})};var s=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(a,i){if(i&&"resize"===i.type){var n=t(window).width();if(n===e)return;e=n; 275}a?-1===o&&(o=setTimeout(function(){s(i),o=-1},r._throttle)):s(i)},t(r._applyDataApi),t(window).bind("load",function(t){r._update(!1,t)}),t(window).bind("resize orientationchange",function(t){r._update(!0,t)})}); 276/* 277* rwdImageMaps jQuery plugin v1.5 278* 279* Allows image maps to be used in a responsive design by recalculating the area coordinates to match the actual image size on load and window.resize 280* 281* Copyright (c) 2013 Matt Stow 282* https://github.com/stowball/jQuery-rwdImageMaps 283* http://mattstow.com 284* Licensed under the MIT license 285*/ 286;(function(a){a.fn.rwdImageMaps=function(){var c=this;var b=function(){c.each(function(){if(typeof(a(this).attr("usemap"))=="undefined"){return}var e=this,d=a(e);a("<img />").load(function(){var g="width",m="height",n=d.attr(g),j=d.attr(m);
vendor: 4,724 bytes, lines 286-401
286if(!n||!j){var o=new Image();o.src=d.attr("src");if(!n){n=o.width}if(!j){j=o.height}}var f=d.width()/100,k=d.height()/100,i=d.attr("usemap").replace("#",""),l="coords";a('map[name="'+i+'"]').find("area").each(function(){var r=a(this);if(!r.data(l)){r.data(l,r.attr(l))}var q=r.data(l).split(","),p=new Array(q.length);for(var h=0;h<p.length;++h){if(h%2===0){p[h]=parseInt(((q[h]/n)*100)*f)}else{p[h]=parseInt(((q[h]/j)*100)*k)}}r.attr(l,p.toString())})}).attr("src",d.attr("src"))})};a(window).resize(b).trigger("resize");return this}})(jQuery); 287/* 288 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ 289 * 290 * Uses the built in easing capabilities added In jQuery 1.1 291 * to offer multiple easing options 292 * 293 * TERMS OF USE - jQuery Easing 294 * 295 * Open source under the BSD License. 296 * 297 * Copyright © 2008 George McGinley Smith 298 * All rights reserved. 299 * 300 * Redistribution and use in source and binary forms, with or without modification, 301 * are permitted provided that the following conditions are met: 302 * 303 * Redistributions of source code must retain the above copyright notice, this list of 304 * conditions and the following disclaimer. 305 * Redistributions in binary form must reproduce the above copyright notice, this list 306 * of conditions and the following disclaimer in the documentation and/or other materials 307 * provided with the distribution. 308 * 309 * Neither the name of the author nor the names of contributors may be used to endorse 310 * or promote products derived from this software without specific prior written permission. 311 * 312 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 313 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 314 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 315 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 316 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 317 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 318 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 319 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 320 * OF THE POSSIBILITY OF SUCH DAMAGE. 321 * 322*/ 323 324// t: current time, b: begInnIng value, c: change In value, d: duration 325jQuery.easing['jswing'] = jQuery.easing['swing']; 326 327jQuery.extend( jQuery.easing, 328{ 329 def: 'easeOutQuad', 330 swing: function (x, t, b, c, d) { 331 //alert(jQuery.easing.default); 332 return jQuery.easing[jQuery.easing.def](x, t, b, c, d); 333 }, 334 easeInQuad: function (x, t, b, c, d) { 335 return c*(t/=d)*t + b; 336 }, 337 easeOutQuad: function (x, t, b, c, d) { 338 return -c *(t/=d)*(t-2) + b; 339 }, 340 easeInOutQuad: function (x, t, b, c, d) { 341 if ((t/=d/2) < 1) return c/2*t*t + b; 342 return -c/2 * ((--t)*(t-2) - 1) + b; 343 }, 344 easeInCubic: function (x, t, b, c, d) { 345 return c*(t/=d)*t*t + b; 346 }, 347 easeOutCubic: function (x, t, b, c, d) { 348 return c*((t=t/d-1)*t*t + 1) + b; 349 }, 350 easeInOutCubic: function (x, t, b, c, d) { 351 if ((t/=d/2) < 1) return c/2*t*t*t + b; 352 return c/2*((t-=2)*t*t + 2) + b; 353 }, 354 easeInQuart: function (x, t, b, c, d) { 355 return c*(t/=d)*t*t*t + b; 356 }, 357 easeOutQuart: function (x, t, b, c, d) { 358 return -c * ((t=t/d-1)*t*t*t - 1) + b; 359 }, 360 easeInOutQuart: function (x, t, b, c, d) { 361 if ((t/=d/2) < 1) return c/2*t*t*t*t + b; 362 return -c/2 * ((t-=2)*t*t*t - 2) + b; 363 }, 364 easeInQuint: function (x, t, b, c, d) { 365 return c*(t/=d)*t*t*t*t + b; 366 }, 367 easeOutQuint: function (x, t, b, c, d) { 368 return c*((t=t/d-1)*t*t*t*t + 1) + b; 369 }, 370 easeInOutQuint: function (x, t, b, c, d) { 371 if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; 372 return c/2*((t-=2)*t*t*t*t + 2) + b; 373 }, 374 easeInSine: function (x, t, b, c, d) { 375 return -c * Math.cos(t/d * (Math.PI/2)) + c + b; 376 }, 377 easeOutSine: function (x, t, b, c, d) { 378 return c * Math.sin(t/d * (Math.PI/2)) + b; 379 }, 380 easeInOutSine: function (x, t, b, c, d) { 381 return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; 382 }, 383 easeInExpo: function (x, t, b, c, d) { 384 return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; 385 }, 386 easeOutExpo: function (x, t, b, c, d) { 387 return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; 388 }, 389 easeInOutExpo: function (x, t, b, c, d) { 390 if (t==0) return b; 391 if (t==d) return b+c; 392 if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; 393 return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; 394 }, 395 easeInCirc: function (x, t, b, c, d) { 396 return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; 397 }, 398 easeOutCirc: function (x, t, b, c, d) { 399 return c * Math.sqrt(1 - (t=t/d-1)*t) + b; 400 }, 401 easeInOutCirc: function (x, t, b, c, d) {
vendor: 4,530 bytes, lines 402-500
402 if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; 403 return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; 404 }, 405 easeInElastic: function (x, t, b, c, d) { 406 var s=1.70158;var p=0;var a=c; 407 if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; 408 if (a < Math.abs(c)) { a=c; var s=p/4; } 409 else var s = p/(2*Math.PI) * Math.asin (c/a); 410 return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; 411 }, 412 easeOutElastic: function (x, t, b, c, d) { 413 var s=1.70158;var p=0;var a=c; 414 if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; 415 if (a < Math.abs(c)) { a=c; var s=p/4; } 416 else var s = p/(2*Math.PI) * Math.asin (c/a); 417 return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; 418 }, 419 easeInOutElastic: function (x, t, b, c, d) { 420 var s=1.70158;var p=0;var a=c; 421 if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); 422 if (a < Math.abs(c)) { a=c; var s=p/4; } 423 else var s = p/(2*Math.PI) * Math.asin (c/a); 424 if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; 425 return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; 426 }, 427 easeInBack: function (x, t, b, c, d, s) { 428 if (s == undefined) s = 1.70158; 429 return c*(t/=d)*t*((s+1)*t - s) + b; 430 }, 431 easeOutBack: function (x, t, b, c, d, s) { 432 if (s == undefined) s = 1.70158; 433 return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; 434 }, 435 easeInOutBack: function (x, t, b, c, d, s) { 436 if (s == undefined) s = 1.70158; 437 if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; 438 return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; 439 }, 440 easeInBounce: function (x, t, b, c, d) { 441 return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b; 442 }, 443 easeOutBounce: function (x, t, b, c, d) { 444 if ((t/=d) < (1/2.75)) { 445 return c*(7.5625*t*t) + b; 446 } else if (t < (2/2.75)) { 447 return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; 448 } else if (t < (2.5/2.75)) { 449 return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; 450 } else { 451 return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; 452 } 453 }, 454 easeInOutBounce: function (x, t, b, c, d) { 455 if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; 456 return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; 457 } 458}); 459 460/* 461 * 462 * TERMS OF USE - EASING EQUATIONS 463 * 464 * Open source under the BSD License. 465 * 466 * Copyright © 2001 Robert Penner 467 * All rights reserved. 468 * 469 * Redistribution and use in source and binary forms, with or without modification, 470 * are permitted provided that the following conditions are met: 471 * 472 * Redistributions of source code must retain the above copyright notice, this list of 473 * conditions and the following disclaimer. 474 * Redistributions in binary form must reproduce the above copyright notice, this list 475 * of conditions and the following disclaimer in the documentation and/or other materials 476 * provided with the distribution. 477 * 478 * Neither the name of the author nor the names of contributors may be used to endorse 479 * or promote products derived from this software without specific prior written permission. 480 * 481 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 482 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 483 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 484 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 485 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 486 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 487 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 488 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 489 * OF THE POSSIBILITY OF SUCH DAMAGE. 490 * 491 */ 492/*! 493 * Masonry PACKAGED v4.0.0 494 * Cascading grid layout library 495 * http://masonry.desandro.com 496 * MIT License 497 * by David DeSandro 498 */ 499 500!function(t,e){"use strict";"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,r,a){function h(t,e,n){var o,r="$()."+i+'("'+e+'")';return t.each(function(t,h){var u=a.data(h,i);if(!u)return void s(i+" not initialized. Cannot call methods, i.e. "+r);var d=u[e];
vendor: 4,419 bytes, line 500
500if(!d||"_"==e.charAt(0))return void s(r+" is not a valid method");var c=d.apply(u,n);o=void 0===o?c:o}),void 0!==o?o:t}function u(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new r(n,e),a.data(n,i,o))})}a=a||e||t.jQuery,a&&(r.prototype.option||(r.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=o.call(arguments,1);return h(this,t,e)}return u(this,t),this},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,r=t.console,s="undefined"==typeof r?function(){}:function(t){r.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}(this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},n=i[t]=i[t]||[];return n[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,o=i[n];e=e||[];for(var r=this._onceEvents&&this._onceEvents[t];o;){var s=r&&r[o];s&&(this.off(t,o),delete r[o]),o.apply(this,e),n+=s?0:1,o=i[n]}return this}},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t),i=-1==t.indexOf("%")&&!isNaN(e);return i&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;u>e;e++){var i=h[e];t[i]=0}return t}function n(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function o(){if(!d){d=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);r.isBoxSizeOuter=s=200==t(o.width),i.removeChild(e)}}function r(e){if(o(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=n(e);if("none"==r.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox="border-box"==r.boxSizing,c=0;u>c;c++){var l=h[c],f=r[l],m=parseFloat(f);a[l]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,y=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,E=a.borderTopWidth+a.borderBottomWidth,z=d&&s,b=t(r.width);b!==!1&&(a.width=b+(z?0:p+_));var x=t(r.height);return x!==!1&&(a.height=x+(z?0:g+E)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(g+E),a.outerWidth=a.width+y,a.outerHeight=a.height+v,a}}var s,a="undefined"==typeof console?e:function(t){console.error(t)},h=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],u=h.length,d=!1;return r}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i],o=n+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e},i.makeArray=function(t){var e=[];
vendor: 8,033 bytes, line 500
500if(Array.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!n)return void o.push(t);e(t,n)&&o.push(t);for(var i=t.querySelectorAll(n),r=0;r<i.length;r++)o.push(i[r])}}),o},i.debounceMethod=function(t,e,i){var n=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o];t&&clearTimeout(t);var e=arguments,r=this;this[o]=setTimeout(function(){n.apply(r,e),delete r[o]},i||100)}},i.docReady=function(t){"complete"==document.readyState?t():document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var r=i.toDashed(o),s="data-"+r,a=document.querySelectorAll("["+s+"]"),h=document.querySelectorAll(".js-"+r),u=i.makeArray(a).concat(i.makeArray(h)),d=s+"-options",c=t.jQuery;u.forEach(function(t){var i,r=t.getAttribute(s)||t.getAttribute(d);try{i=r&&JSON.parse(r)}catch(a){return void(n&&n.error("Error parsing "+s+" on "+t.className+": "+a))}var h=new e(t,i);c&&c.data(t,o,h)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],function(i,n){return e(t,i,n)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t,t.EvEmitter,t.getSize))}(window,function(t,e,i){"use strict";function n(t){for(var e in t)return!1;return e=null,!0}function o(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function r(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var s=document.documentElement.style,a="string"==typeof s.transition?"transition":"WebkitTransition",h="string"==typeof s.transform?"transform":"WebkitTransform",u={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[a],d=[h,a,a+"Duration",a+"Property"],c=o.prototype=Object.create(e.prototype);c.constructor=o,c._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},c.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},c.getSize=function(){this.size=i(this.element)},c.css=function(t){var e=this.element.style;for(var i in t){var n=d[i]||i;e[n]=t[i]}},c.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],o=t[i?"top":"bottom"],r=this.layout.size,s=-1!=n.indexOf("%")?parseFloat(n)/100*r.width:parseInt(n,10),a=-1!=o.indexOf("%")?parseFloat(o)/100*r.height:parseInt(o,10);s=isNaN(s)?0:s,a=isNaN(a)?0:a,s-=e?r.paddingLeft:r.paddingRight,a-=i?r.paddingTop:r.paddingBottom,this.position.x=s,this.position.y=a},c.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),o=i?"paddingLeft":"paddingRight",r=i?"left":"right",s=i?"right":"left",a=this.position.x+t[o];e[r]=this.getXValue(a),e[s]="";var h=n?"paddingTop":"paddingBottom",u=n?"top":"bottom",d=n?"bottom":"top",c=this.position.y+t[h];e[u]=this.getYValue(c),e[d]="",this.css(e),this.emitEvent("layout",[this])},c.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},c.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},c._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,o=parseInt(t,10),r=parseInt(e,10),s=o===this.position.x&&r===this.position.y;if(this.setPosition(t,e),s&&!this.isTransitioning)return void this.layoutPosition();var a=t-i,h=e-n,u={};u.transform=this.getTranslate(a,h),this.transition({to:u,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},c.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return t=i?t:-t,e=n?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},c.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},c.moveTo=c._transitionTo,c.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},c._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},c._transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l="opacity,"+r(d.transform||"transform");c.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:l,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(u,this,!1))},c.transition=o.prototype[a?"_transition":"_nonTransition"],c.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},c.onotransitionend=function(t){this.ontransitionend(t)};var f={"-webkit-transform":"transform"};c.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=f[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],n(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd){var o=e.onEnd[i];o.call(this),delete e.onEnd[i]}this.emitEvent("transitionEnd",[this])}},c.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(u,this,!1),this.isTransitioning=!1},c._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var m={transitionProperty:"",transitionDuration:""};return c.removeTransitionStyles=function(){this.css(m)},c.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},c.remove=function(){return a&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},c.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("visibleStyle");e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},c.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},c.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},c.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty("hiddenStyle");e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},c.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},c.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,o,r){return e(t,i,n,o,r)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.f
vendor: 4,232 bytes, line 500
500izzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,o){"use strict";function r(t,e){var i=n.getQueryElement(t);if(!i)return void(a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,h&&(this.$element=h(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var o=++d;this.element.outlayerGUID=o,c[o]=this,this._create();var r=this._getOption("initLayout");r&&this.layout()}function s(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}var a=t.console,h=t.jQuery,u=function(){},d=0,c={};r.namespace="outlayer",r.Item=o,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var l=r.prototype;return n.extend(l,e.prototype),l.option=function(t){n.extend(this.options,t)},l._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},l._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle);var t=this._getOption("resize");t&&this.bindResize()},l.reloadItems=function(){this.items=this._itemize(this.element.children)},l._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],o=0;o<e.length;o++){var r=e[o],s=new i(r,this);n.push(s)}return n},l._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},l.getItemElements=function(){return this.items.map(function(t){return t.element})},l.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},l._init=l.layout,l._resetLayout=function(){this.getSize()},l.getSize=function(){this.size=i(this.element)},l._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):o instanceof HTMLElement&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},l.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},l._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},l._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},l._getItemLayoutPosition=function(){return{x:0,y:0}},l._processLayoutQueue=function(t){t.forEach(function(t){this._positionItem(t.item,t.x,t.y,t.isInstant)},this)},l._positionItem=function(t,e,i,n){n?t.goTo(e,i):t.moveTo(e,i)},l._postLayout=function(){this.resizeContainer()},l.resizeContainer=function(){var t=this._getOption("resizeContainer");if(t){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},l._getContainerSize=u,l._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},l._emitCompleteOnItems=function(t,e){function i(){o.dispatchEvent(t+"Complete",null,[e])}function n(){s++,s==r&&i()}var o=this,r=e.length;if(!e||!r)return void i();var s=0;e.forEach(function(e){e.once(t,n)})},l.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),h)if(this.$element=this.$element||h(this.element),e){var o=h.Event(e);o.type=t,this.$element.trigger(o,i)}else this.$element.trigger(t,i)},l.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},l.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},l.stamp=function(t){t=this._find(t),t&&(this.stamps=this.stamps.
500concat(t),t.forEach(this.ignore,this))},l.unstamp=function(t){t=this._find(t),t&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},l._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)):void 0},l._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},l._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},l._manageStamp=u,l._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,o=i(t),r={left:e.left-n.left-o.marginLeft,top:e.top-n.top-o.marginTop,right:n.right-e.right-o.marginRight,bottom:n.bottom-e.bottom-o.marginBottom};return r},l.handleEvent=n.handleEvent,l.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},l.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},l.onresize=function(){this.resize()},n.debounceMethod(r,"onresize",100),l.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},l.needsResizeLayout=function(){var t=i(this.element),e=this.size&&t;return e&&t.innerWidth!==this.size.innerWidth},l.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},l.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},l.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},l.reveal=function(t){this._emitCompleteOnItems("reveal",t),t&&t.length&&t.forEach(function(t){t.reveal()})},l.hide=function(t){this._emitCompleteOnItems("hide",t),t&&t.length&&t.forEach(function(t){t.hide()})},l.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},l.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},l.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},l.getItems=function(t){t=n.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},l.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},l.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete c[e],delete this.element.outlayerGUID,h&&h.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=n.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&c[e]},r.create=function(t,e){var i=s(r);return i.defaults=n.extend({},r.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},r.compatOptions),i.namespace=t,i.data=r.data,i.Item=s(o),n.htmlInit(i,t),h&&h.bridget&&h.bridget(t,i),i},r.Item=o,r}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");return i.compatOptions.fitWidth="isFitWidth",i.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0},i.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,r=o/n,s=n-o%n,a=s&&1>s?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},i.prototype.getContainerWidth=function(){var t=this._getOption("fitWidth"),i=t?this.element.parentNode:this.element,n=e(i);this.containerWidth=n&&n.innerWidth},i.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&1>e?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var o=this._getColGroup(n),r=Math.min.apply(Math,o),s=o.indexOf(r),a={x:this.columnWidth*s,y:r},h=r+t.size.outerHeight,u=this.cols+1-o.length,d=0;u>d;d++)this.colYs[s+d]=h;return a},i.prototype._getColGroup=function(t){if(2>t)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;i>n;n++){var o=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,o)}return e},i.prototype._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft"),r=o?n.left:n.right,s=r+i.outerWidth,a=Math.floor(r/this.columnWidth);a=Math.max(0,a);var h=Math.floor(s/this.columnWidth);h-=s%this.columnWidth?0:1,h=Math.min(this.cols-1,h);for(var u=this._getOption("originTop"),d=(u?n.top:n.bottom)+i.outerHeight,c=a;h>=c;c++)this.colYs[c]=Math.max(d,this.colYs[c])},i.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},i.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}); 501/** 502 * @license 503 * jQuery Tools @VERSION Scrollable - New wave UI design 504 * 505 * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE. 506 * 507 * http://flowplayer.org/tools/scrollable.html 508 * 509 * Since: March 2008 510 * Date: @DATE 511 */ 512(function($) { 513 514 // static constructs 515 $.tools = $.tools || {version: '@VERSION'}; 516 517 $.tools.scrollable = { 518 519 conf: { 520 activeClass: 'active', 521 circular: false, 522 clonedClass: 'cloned', 523 disabledClass: 'disabled', 524 easing: 'swing', 525 initialIndex: 0, 526 item: '> *', 527 items: '.items', 528 keyboard: true, 529 mousewheel: false, 530 next: '.next', 531 prev: '.prev', 532 size: 1, 533 speed: 400, 534 vertical: false, 535 touch: true, 536 wheelSpeed: 0 537 } 538 }; 539 540 // get hidden element's width or height even though it's hidden 541 function dim(el, key) { 542 var v = parseInt(el.css(key), 10); 543 if (v) { return v; } 544 var s = el[0].currentStyle; 545 return s && s.width && parseInt(s.width, 10); 546 } 547 548 function find(root, query) { 549 var el = $(query); 550 return el.length < 2 ? el : root.parent().find(query); 551 } 552 553 var current; 554 555 // constructor 556 function Scrollable(root, conf) { 557 558 // current instance 559 var self = this, 560 fire = root.add(self), 561 itemWrap = root.children(), 562 index = 0, 563 vertical = conf.vertical; 564 565 if (!current) { current = self; } 566 if (itemWrap.length > 1) { itemWrap = $(conf.items, root); } 567 568 569 // in this version circular not supported when size > 1 570 if (conf.size > 1) { conf.circular = false; } 571 572 // methods 573 $.extend(self, { 574 575 getConf: function() { 576 return conf; 577 }, 578 579 getIndex: function() { 580 return index; 581 }, 582 583 getSize: function() { 584 return self.getItems().size(); 585 }, 586 587 getNaviButtons: function() { 588 return prev.add(next); 589 }, 590 591 getRoot: function() { 592 return root; 593 }, 594 595 getItemWrap: function() { 596 return itemWrap; 597 }, 598 599 getItems: function() { 600 return itemWrap.find(conf.item).not("." + conf.clonedClass); 601 }, 602 603 move: function(offset, time) { 604 return self.seekTo(index + offset, time); 605 }, 606 607 next: function(time) { 608 return self.move(conf.size, time); 609 }, 610 611 prev: function(time) { 612 return self.move(-conf.size, time); 613 }, 614 615 begin: function(time) { 616 return self.seekTo(0, time); 617 }, 618 619 end: function(time) { 620 return self.seekTo(self.getSize() -1, time); 621 }, 622 623 focus: function() { 624 current = self; 625 return self; 626 }, 627 628 addItem: function(item) { 629 item = $(item); 630 631 if (!conf.circular) { 632 itemWrap.append(item); 633 next.removeClass("disabled"); 634 635 } else {
636 itemWrap.children().last().before(item); 637 itemWrap.children().first().replaceWith(item.clone().addClass(conf.clonedClass)); 638 } 639 640 fire.trigger("onAddItem", [item]); 641 return self; 642 }, 643 644 645 /* all seeking functions depend on this */ 646 seekTo: function(i, time, fn) { 647 648 // ensure numeric index 649 if (!i.jquery) { i *= 1; } 650 651 // avoid seeking from end clone to the beginning 652 if (conf.circular && i === 0 && index == -1 && time !== 0) { return self; } 653 654 // check that index is sane 655 if (!conf.circular && i < 0 || i > self.getSize() || i < -1) { return self; } 656 657 var item = i; 658 659 if (i.jquery) { 660 i = self.getItems().index(i); 661 662 } else { 663 item = self.getItems().eq(i); 664 } 665 666 // onBeforeSeek 667 var e = $.Event("onBeforeSeek"); 668 if (!fn) { 669 fire.trigger(e, [i, time]); 670 if (e.isDefaultPrevented() || !item.length) { return self; } 671 } 672 673 var props = vertical ? {top: -item.position().top} : {left: -item.position().left}; 674 675 index = i; 676 current = self; 677 if (time === undefined) { time = conf.speed; } 678 679 itemWrap.animate(props, time, conf.easing, fn || function() { 680 fire.trigger("onSeek", [i]); 681 }); 682 683 return self; 684 } 685 686 }); 687 688 // callbacks 689 $.each(['onBeforeSeek', 'onSeek', 'onAddItem'], function(i, name) { 690 691 // configuration 692 if ($.isFunction(conf[name])) { 693 $(self).on(name, conf[name]); 694 } 695 696 self[name] = function(fn) { 697 if (fn) { $(self).on(name, fn); } 698 return self; 699 }; 700 }); 701 702 // circular loop 703 if (conf.circular) { 704 705 var cloned1 = self.getItems().slice(-1).clone().prependTo(itemWrap), 706 cloned2 = self.getItems().eq(1).clone().appendTo(itemWrap); 707 708 cloned1.add(cloned2).addClass(conf.clonedClass); 709 710 self.onBeforeSeek(function(e, i, time) { 711 712 if (e.isDefaultPrevented()) { return; } 713 714 /* 715 1. animate to the clone without event triggering 716 2. seek to correct position with 0 speed 717 */ 718 if (i == -1) { 719 self.seekTo(cloned1, time, function() { 720 self.end(0); 721 }); 722 return e.preventDefault(); 723 724 } else if (i == self.getSize()) { 725 self.seekTo(cloned2, time, function() { 726 self.begin(0); 727 }); 728 } 729 730 }); 731 732 // seek over the cloned item 733 734 // if the scrollable is hidden the calculations for seekTo position 735 // will be incorrect (eg, if the scrollable is inside an overlay). 736 // ensure the elements are shown, calculate the correct position, 737 // then re-hide the elements. This must be done synchronously to 738 // prevent the hidden elements being shown to the user. 739 740 // See: https://github.com/jquerytools/jquerytools/issues#issue/87 741 742 var hidden_parents = root.parents().add(root).filter(function () { 743 if ($(this).css('display') === 'none') { 744 return true; 745 } 746 }); 747 if (hidden_parents.length) { 748 hidden_parents.show(); 749 self.seekTo(0, 0, function() {}); 750 hidden_parents.hide(); 751 } 752 else { 753 self.seekTo(0, 0, function() {}); 754 } 755 756 } 757 758 // next/prev buttons 759 var prev = find(root, conf.prev).click(function(e) { e.stopPropagation(); self.prev(); }), 760 next = find(root, conf.next).click(function(e) { e.stopPropagation(); self.next(); }); 761 762 if (!conf.circular) { 763 self.onBeforeSeek(function(e, i) { 764 setTimeout(function() { 765 if (!e.isDefaultPrevented()) { 766 prev.toggleClass(conf.disabledClass, i <= 0); 767 next.toggleClass(conf.disabledClass, i >= self.getSize() -1); 768 } 769 }, 1); 770 }); 771 772 if (!conf.initialIndex) { 773 prev.addClass(conf.disabledClass); 774 } 775 } 776 777 if (self.getSize() < 2) { 778 prev.add(next).addClass(conf.disabledClass); 779 } 780 781 // mousewheel support 782 if (conf.mousewheel && $.fn.mousewheel) { 783 root.mousewheel(function(e, delta) { 784 if (conf.mousewheel) { 785 self.move(delta < 0 ? 1 : -1, conf.wheelSpeed || 50); 786 return false; 787 } 788 }); 789 } 790 791 // touch event 792 if (conf.touch) { 793 var touch = {}; 794 795 itemWrap[0].ontouchstart = function(e) { 796 var t = e.touches[0]; 797 touch.x = t.clientX; 798 touch.y = t.clientY; 799 }; 800 801 itemWrap[0].ontouchmove = function(e) { 802 803 // only deal with one finger 804 if (e.touches.length == 1 && !itemWrap.is(":animated")) { 805 var t = e.touches[0], 806 deltaX = touch.x - t.clientX, 807 deltaY = touch.y - t.clientY; 808 809 self[vertical && deltaY > 0 || !vertical && deltaX > 0 ? 'next' : 'prev'](); 810 e.preventDefault(); 811 } 812 }; 813 } 814 815 if (conf.keyboard) { 816 817 $(document).on("keydown.scrollable", function(evt) { 818 819 // skip certain conditions 820 if (!conf.keyboard || evt.altKey || evt.ctrlKey || evt.metaKey || $(evt.target).is(":input")) { 821 return; 822 } 823 824 // does this instance have focus? 825 if (conf.keyboard != 'static' && current != self) { return; } 826 827 var key = evt.keyCode; 828 829 if (vertical && (key == 38 || key == 40)) { 830 self.move(key == 38 ? -1 : 1); 831 return evt.preventDefault(); 832 } 833 834 if (!vertical && (key == 37 || key == 39)) { 835 self.move(key == 37 ? -1 : 1); 836 return evt.preventDefault(); 837 } 838 839 }); 840 } 841 842 // initial index 843 if (conf.initialIndex) { 844 self.seekTo(conf.initialIndex, 0, function() {}); 845 } 846 } 847 848 849 // jQuery plugin implementation 850 $.fn.scrollable = function(conf) { 851 852 // already constructed --> return API 853 var el = this.data("scrollable"); 854 if (el) { return el; } 855 856 conf = $.extend({}, $.tools.scrollable.conf, conf); 857 858 this.each(function() { 859 el = new Scrollable($(this), conf); 860 $(this).data("scrollable", el); 861 }); 862 863 return conf.api ? el: this; 864 865 }; 866 867 868})(jQuery); 869 870/** 871 * @license 872 * jQuery Tools @VERSION / Scrollable Autoscroll 873 * 874 * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE. 875 * 876 * http://flowplayer.org/tools/scrollable/autoscroll.html 877 * 878 * Since: September 2009 879 * Date: @DATE 880 */ 881(function($) { 882 883 var t = $.tools.scrollable; 884 885 t.autoscroll = { 886 887 conf: { 888 autoplay: true, 889 interval: 3000, 890 autopause: true 891 } 892 }; 893 894 // jQuery plugin implementation 895 $.fn.autoscroll = function(conf) { 896 897 if (typeof conf == 'number') { 898 conf = {interval: conf}; 899 } 900 901 var opts = $.extend({}, t.autoscroll.conf, conf), ret; 902 903 this.each(function() { 904 905 var api = $(this).data("scrollable"), 906 root = api.getRoot(), 907 // interval stuff 908 timer, stopped = false;
909 910 /** 911 * 912 * Function to run autoscroll through event binding rather than setInterval 913 * Fixes this bug: http://flowplayer.org/tools/forum/25/72029 914 */ 915 function scroll(){ 916 // Fixes https://github.com/jquerytools/jquerytools/issues/591 917 if (timer) clearTimeout(timer); // reset timeout, especially for onSeek event 918 timer = setTimeout(function(){ 919 api.next(); 920 }, opts.interval); 921 } 922 923 if (api) { ret = api; } 924 925 api.play = function() { 926 927 // do not start additional timer if already exists 928 if (timer) { return; } 929 930 stopped = false; 931 root.on('onSeek', scroll); 932 scroll(); 933 }; 934 935 api.pause = function() { 936 timer = clearTimeout(timer); // clear any queued items immediately 937 root.off('onSeek', scroll); 938 }; 939 940 // resume playing if not stopped 941 api.resume = function() { 942 stopped || api.play(); 943 }; 944 945 // when stopped - mouseover won't restart 946 api.stop = function() { 947 stopped = true; 948 api.pause(); 949 }; 950 951 /* when mouse enters, autoscroll stops */ 952 if (opts.autopause) { 953 root.add(api.getNaviButtons()).hover(api.pause, api.resume); 954 } 955 956 if (opts.autoplay) { 957 api.play(); 958 } 959 960 }); 961 962 return opts.api ? ret : this; 963 964 }; 965 966})(jQuery); 967 968/** 969 * @license 970 * jQuery Tools @VERSION / Scrollable Navigator 971 * 972 * NO COPYRIGHTS OR LICENSES. DO WHAT YOU LIKE. 973 * 974 * http://flowplayer.org/tools/scrollable/navigator.html 975 * 976 * Since: September 2009 977 * Date: @DATE 978 */ 979(function($) { 980 981 var t = $.tools.scrollable; 982 983 t.navigator = { 984 985 conf: { 986 navi: '.navi', 987 naviItem: null, 988 activeClass: 'active', 989 indexed: false, 990 idPrefix: null, 991 992 // 1.2 993 history: false 994 } 995 }; 996 997 function find(root, query) { 998 var el = $(query); 999 return el.length < 2 ? el : root.parent().find(query); 1000 } 1001 1002 // jQuery plugin implementation 1003 $.fn.navigator = function(conf) { 1004 1005 // configuration 1006 if (typeof conf == 'string') { conf = {navi: conf}; } 1007 conf = $.extend({}, t.navigator.conf, conf); 1008 1009 var ret; 1010 1011 this.each(function() { 1012 1013 var api = $(this).data("scrollable"), 1014 navi = conf.navi.jquery ? conf.navi : find(api.getRoot(), conf.navi), 1015 buttons = api.getNaviButtons(), 1016 cls = conf.activeClass, 1017 hashed = conf.history && !!history.pushState, 1018 size = api.getConf().size; 1019 1020 1021 // @deprecated stuff 1022 if (api) { ret = api; } 1023 1024 api.getNaviButtons = function() { 1025 return buttons.add(navi); 1026 }; 1027 1028 1029 if (hashed) { 1030 history.pushState({i: 0}, ''); 1031 1032 $(window).on("popstate", function(evt) { 1033 var s = evt.originalEvent.state; 1034 if (s) { api.seekTo(s.i); } 1035 }); 1036 } 1037 1038 function doClick(el, i, e) { 1039 api.seekTo(i); 1040 e.preventDefault(); 1041 if (hashed) { history.pushState({i: i}, ''); } 1042 } 1043 1044 function els() { 1045 return navi.find(conf.naviItem || '> *'); 1046 } 1047 1048 function addItem(i) { 1049 1050 var item = $("<" + (conf.naviItem || 'a') + "/>").click(function(e) { 1051 doClick($(this), i, e); 1052 }); 1053 1054 // index number / id attribute 1055 if (i === 0) { item.addClass(cls); } 1056 if (conf.indexed) { item.text(i + 1); } 1057 if (conf.idPrefix) { item.attr("id", conf.idPrefix + i); } 1058 1059 return item.appendTo(navi); 1060 } 1061 1062 1063 // generate navigator 1064 if (els().length) { 1065 els().each(function(i) { 1066 $(this).click(function(e) { 1067 doClick($(this), i, e); 1068 }); 1069 }); 1070 1071 } else { 1072 $.each(api.getItems(), function(i) { 1073 if (i % size == 0) addItem(i); 1074 }); 1075 } 1076 1077 // activate correct entry 1078 api.onBeforeSeek(function(e, index) { 1079 setTimeout(function() { 1080 if (!e.isDefaultPrevented()) { 1081 var i = index / size, 1082 el = els().eq(i); 1083 1084 if (el.length) { els().removeClass(cls).eq(i).addClass(cls); } 1085 } 1086 }, 1); 1087 }); 1088 1089 // new item being added 1090 api.onAddItem(function(e, item) { 1091 var i = api.getItems().index(item); 1092 if (i % size == 0) addItem(i); 1093 }); 1094 1095 }); 1096 1097 return conf.api ? ret : this; 1098
1099 }; 1100 1101})(jQuery); 1102 1103(function($) { 1104 $.fn.asExpandable = function(options) { 1105 1106 var settings = $.extend({ 1107 onOpen : function() {}, 1108 onClose : function() {}, 1109 afterOpen : function() {}, 1110 afterClose : function() {}, 1111 openOnInitClass: 'open', 1112 delay : 'slow', 1113 triggerSelector: '.js-expandable-trigger', 1114 contentSelector: '.js-expandable-content' 1115 }, options || {}); 1116 1117 function Expandable(expandable, settings) { 1118 var expandableContent = $(expandable).find(settings.contentSelector); 1119 1120 // Content nur verbergen wenn JS verfügbar 1121 if (!expandableContent.hasClass(settings.openOnInitClass)) { 1122 expandableContent.hide(); 1123 if (typeof settings.onClose == 'function') settings.onClose.call(this, expandable); 1124 } else { 1125 if (typeof settings.onOpen == 'function') settings.onOpen.call(this, expandable); 1126 } 1127 1128 // Klick Aktion zum ein-/ausblenden 1129 $(expandable).find(settings.triggerSelector).each(function() { 1130 $(this).click(function() { 1131 1132 var isOpen = false; 1133 if ($(expandableContent).is(':visible')) { 1134 if (typeof settings.onClose == 'function') settings.onClose.call(this, expandable); 1135 isOpen = true; 1136 } else { 1137 if (typeof settings.onOpen == 'function') settings.onOpen.call(this, expandable); 1138 isOpen = false; 1139 } 1140 expandableContent.slideToggle(settings.delay, function() { 1141 if (isOpen) { 1142 if (typeof settings.afterClose == 'function') settings.afterClose.call(this, expandable); 1143 } else { 1144 if (typeof settings.afterOpen == 'function') settings.afterOpen.call(this, expandable); 1145 } 1146 }); 1147 }); 1148 }); 1149 } 1150 1151 return this.each(function() { 1152 1153 if (!$.data(this, 'as_expandable')) { 1154 $.data(this, 'as_expandable', new Expandable(this, settings)); 1155 } 1156 }); 1157 }; 1158})(jQuery); 1159/*(function ($) { 1160 $(function () { 1161 function generateButton(shareLink, service, title, faIcon, text) { 1162 return `<li class="shariff-button ${service}"><a href="${shareLink}" target="_blank" title="${title}" role="button" aria-label="${title}"><span class="fa ${faIcon}"></span><span class="share_text">${text}</span></a></li>`; 1163 } 1164 1165 1166 $(".shareButtons ul").each(function () { 1167 var $this = $(this); 1168 $this.addClass("theme-default orientation-horizontal col-2"); 1169 var twitterUrl = "https://twitter.com/intent/tweet?text=" + 1170 encodeURIComponent(document.title) + 1171 "&url=" + 1172 encodeURIComponent(window.location.href); 1173 var facebookUrl = "https://www.facebook.com/sharer/sharer.php?u=" + 1174 encodeURIComponent(window.location.href); 1175 var whatsappUrl = "https://api.whatsapp.com/send?text=" + 1176 encodeURIComponent(document.title) + 1177 "%20" + 1178 encodeURIComponent(window.location.href); 1179 var linkedinUrl = "https://www.linkedin.com/sharing/share-offsite/?url=" + 1180 encodeURIComponent(window.location.href); 1181 var xingUrl = "https://www.xing.com/spi/shares/new?url=" + 1182 encodeURIComponent(window.location.href); 1183 var mailUrl = "mailto:?subject=Seite%20weiterempfehlen&body=" + 1184 encodeURIComponent(window.location.href); 1185 var btn; 1186 1187 btn = generateButton( 1188 whatsappUrl, 1189 "whatsapp", 1190 "Bei WhatsApp teilen", 1191 "fa-whatsapp", 1192 "teilen" 1193 ); 1194 $this.append(btn); 1195 1196 btn = generateButton( 1197 xingUrl, 1198 "xing", 1199 "Bei Xing teilen", 1200 "fa-xing", 1201 "teilen" 1202 ); 1203 $this.append(btn); 1204 1205 btn = generateButton( 1206 facebookUrl, 1207 "facebook", 1208 "Bei Facebook teilen", 1209 "fa-facebook", 1210 "teilen" 1211 ); 1212 $this.append(btn); 1213 1214 btn = generateButton( 1215 linkedinUrl, 1216 "linkedin", 1217 "Bei LinkedIn teilen", 1218 "fa-linkedin", 1219 "teilen" 1220 ); 1221 $this.append(btn); 1222 1223 btn = generateButton( 1224 twitterUrl, 1225 "twitter", 1226 "Bei Twitter teilen", 1227 "fa-twitter", 1228 "tweet" 1229 ); 1230 $this.append(btn); 1231 1232 btn = generateButton( 1233 mailUrl, 1234 "mail", 1235 "Per E-Mail versenden", 1236 "fa-envelope", 1237 "teilen" 1238 ); 1239 $this.append(btn); 1240 }); 1241 }); 1242})(jQuery); 1243*/ 1244 1245/* Viewport-Dimensionen feststellen */ 1246var vW = new Array(); 1247var vH = new Array(); 1248vW.push(window.innerWidth); 1249vH.push(window.innerHeight); 1250 1251function viewport() { 1252 1253 // Slider: zum ersten Element bewegen 1254 if ( ($('.profiler') != undefined) && ($('.profiler').length > 0) ) { 1255 $('.profiler').each(function(index) { 1256 var api = $(this).data('scrollable'); 1257 if (api !== undefined) api.seekTo(api.getIndex(),0); 1258 }); 1259 } 1260 1261 if ( vW[vW.length-1] <= 750 ) 1262 { 1263 // Slider: zentrieren entfernen 1264 $('.profiler .items').removeAttr('style'); 1265 } 1266 else 1267 { 1268 // Slider: zentrieren 1269 var w = $('.profiler .item').outerWidth(true) - (( $('.slider').outerWidth() - $('.profiler .item').outerWidth(true) ) / 2); 1270 $('.profiler .items').css('margin-left',-w + 'px'); 1271 } 1272 1273 if ( vW[vW.length-1] <= 480 ) 1274 { 1275 // Slider: Bildbreite an Fensterbreite anpassen 1276 $('.profiler .item').css({ 1277 width: $(window).width() 1278 });
1279 var h = 0; 1280 $('.profiler .item').each(function() { 1281 var newH = $(this).outerHeight(); 1282 if (newH > h) 1283 { 1284 h = newH; 1285 } 1286 }); 1287 $('.profiler .scrollable').css('height',h); 1288 // Slider: Pfeile zum Navigieren auf Bild vertikal zentrieren 1289 var t = ($('.profiler img').height() - $('.profiler a.skip').height()) / 2; 1290 $('.profiler a.skip').css('top',t); 1291 } 1292 else 1293 { 1294 // Slider: Bildbreite anpassen entfernen 1295 $('.profiler .item, .profiler .scrollable').removeAttr('style'); 1296 } 1297 1298 // Teaser: Höhe testen 1299 $('.news .teaser').each(function(index) { 1300 $(this).removeClass('hoeher'); 1301 var teaserH = $(this).height(); 1302 var contentH = $(this).find('img').height() + $(this).find('.text').height(); 1303 if (teaserH > contentH) 1304 { 1305 $(this).addClass('hoeher'); 1306 } 1307 }); 1308 1309 // Galerie: Elemente gleich hoch machen 1310 /*if ( vW[vW.length-1] > 480 && $('.ce-gallery') != undefined ) 1311 { 1312 var h = 0; 1313 $('.ce-gallery .ce-column a').each(function(index) { 1314 if ( $(this).outerHeight() > h ) 1315 { 1316 h = $(this).outerHeight(); 1317 } 1318 }); 1319 $('.ce-gallery .ce-column a').css('height',h); 1320 var h = 0; 1321 $('.ce-gallery .ce-column').each(function(index) { 1322 if ( $(this).outerHeight() > h ) 1323 { 1324 h = $(this).outerHeight(); 1325 } 1326 }); 1327 $('.ce-gallery .ce-column').css('height',h); 1328 } 1329 else 1330 { 1331 $('.ce-gallery .ce-column').removeAttr('style'); 1332 }*/ 1333 1334 $('.ce-gallery.number-and-facts .ce-column a').matchHeight(); 1335 $('.ce-gallery.number-and-facts .ce-column').matchHeight(); 1336 $('.container-fluid.slider + .container.inhalte .row.texte > .col-xs-12').matchHeight(); 1337 1338} 1339 1340function gsGoTo(slide){ 1341 $(".graphic-slider .slider").slick('slickGoTo', slide - 1); 1342} 1343 1344var availableTags = []; 1345 1346var chosen = ''; 1347 1348/* DOM geladen */ 1349$(function() { 1350 1351 /* Teaser gleich hoch machen */ 1352 $('.teaser').matchHeight(); 1353 1354 /* Boxen: ganze Fläche verlinken */ 1355 /*$('.box.link').click(function(e) { 1356 location.href=$(this).find('a').eq(0).attr('href'); 1357 });*/ 1358 1359 // PrettyPhoto Lightbox 1360 $("a.lightbox").prettyPhoto({ 1361 social_tools : '', 1362 show_title:false, 1363 gallery_markup: '' 1364 }); 1365 1366 if ( (typeof $('.profiler .item') != "undefined") && ($('.profiler .item').length > 0)) { 1367 $('.profiler .item').eq(1).addClass('active'); 1368 } 1369 1370 // Fill in email address to password reset form and as_fe_user_newsletter 1371 var emailsToBeFilled = [ 1372 'tx_asfeusernewsletter_pi1[fe_users][email]' 1373 ]; 1374 1375 $.each(emailsToBeFilled, function (index, emailField) { 1376 1377 if ($('input[name="' + emailField + '"]').length > 0) { 1378 // See if the appropriate parameter has been provided 1379 var vars = [], hash, 1380 location = decodeURIComponent(window.location.href), 1381 hashes = location.slice(window.location.href.indexOf('?') + 1).split('&'); 1382 for (var i = 0; i < hashes.length; i++) { 1383 hash = hashes[i].split('='); 1384 vars.push(hash[0]); 1385 vars[hash[0]] = hash[1]; 1386 } 1387 if (vars[emailField]) { 1388 $('input[name="' + emailField + '"]').val(vars[emailField]); 1389 } 1390 } 1391 }); 1392 1393 // tx_facilitycompass reorder facilities alphabetically. 1394 var $wrap = $('.tx_facilitycompass .liste'); 1395 1396 var alphabeticallyOrderedDivs = $('.item').sort(function(a, b) { 1397 var $aTitle = $(a).find('.city'), $bTitle = $(b).find('.city'); 1398 return String.prototype.localeCompare.call($aTitle.text().toLowerCase(), $bTitle.text().toLowerCase()); 1399 }); 1400 1401 $wrap.detach().empty().append(alphabeticallyOrderedDivs); 1402 $('.welt').append($wrap); 1403 // move associates (css-class: .filled-circle) to the end of the list. 1404 $wrap.find('.filled-circle').each(function() { 1405 $(this).parents('.item').appendTo( $wrap ); 1406 }); 1407 1408 $(".graphic-slider .slider").on('init', function (event, slick) { 1409 $(".graphic-slider .slider-box").slideDown(); 1410 $(".graphic-slider .steps").addClass("sa-5"); 1411 }); 1412 1413 $(".graphic-slider .slider").on('beforeChange', function (event, slick, currentSlide, nextSlide) { 1414 $(".graphic-slider .steps").removeClass("sa-1 sa-2 sa-3 sa-4 sa-5"); 1415 $(".graphic-slider .steps").addClass("sa-" + (nextSlide + 1)); 1416 }); 1417 1418 $(".graphic-slider .slider").slick({ 1419 dots: true, 1420 fade: true, 1421 adaptiveHeight: true, 1422 infinite: false, 1423 initialSlide: 4, 1424 appendArrows: ".graphic-slider .slider-box .controls", 1425 appendDots: ".graphic-slider .slider-box .controls", 1426 }); 1427 1428}); 1429 1430/* Alles geladen (DOM + Assets wie z.B. Bilder) */ 1431$(window).load(function() { 1432 1433 // Anpassungen bzgl FenstergröÃe 1434 viewport(); 1435 1436 // Bildergalerie per Masonry anordnen 1437 if ( $('.gallery').length > 0 && $('.gallery') != undefined ) 1438 { 1439 $('.gallery').masonry({ 1440 itemSelector: '.gallery > div', 1441 columnWidth: '.gallery > div', 1442 percentPosition: true 1443 }); 1444 } 1445 1446 // Home Slider 1447 1448 if ($('.profiler').length > 0) { 1449 1450 $('.profiler .scrollable').scrollable({ 1451 easing: 'swing', 1452 items: '.profiler .items', 1453 speed: 1000, 1454 circular: true, 1455 vertical: false, 1456 touch: false, 1457 autopause: true 1458 }).navigator(".profiler_navi").autoscroll(4000); 1459 1460 var api = $(".profiler .scrollable").data("scrollable"); 1461 api.onSeek(function(event) { 1462 $('.profiler .item').removeClass('active'); 1463 $('.profiler .item').eq(api.getIndex()+2).addClass('active'); 1464 }); 1465 1466 $('.profiler .items').append($('.profiler .item').eq(2).clone().addClass('cloned')); 1467 $('.profiler .items').append($('.profiler .item').eq(3).clone().addClass('cloned')); 1468 1469 $(".profiler .scrollable .item").hover(function(event) { 1470 event.stopPropagation(); 1471 }); 1472 }; 1473 1474 // More Klapper 1475 if ($('.more-expandable') != undefined) $('.more-expandable').asExpandable({ 1476 afterOpen: function(obj) { 1477 $(obj).find('.less').show(); 1478 $(obj).find('.more').hide(); 1479 $(obj).scrollToMe(); 1480 }, 1481 afterClose: function(obj) { 1482 $(obj).find('.less').hide(); 1483 $(obj).find('.more').show(); 1484 } 1485 }); 1486}); 1487 1488 1489 1490 1491/* RESIZE-Event (Fenster wird verkleinert / vergröÃert) */ 1492$(window).resize( function() { 1493 1494 vW.push(window.innerWidth); 1495 vH.push(window.innerHeight); 1496 1497 var grenzwerte = new Array(1140, 991, 767, 750, 640, 480, 340); 1498 1499 for ( var i in grenzwerte) { 1500 // Differenz von Grenzwert zu letzter und aktueller 1501 // Viewportbreite ermitteln 1502 // Wenn eine Differenz positiv und die andere negativ 1503 // ist, wurde die Grenze überschritten 1504 // Das ist der Fall, wenn das Produkt der Differenzen 1505 // negativ oder null ist 1506 if (((grenzwerte[i] - vW[vW.length - 2]) * (grenzwerte[i] - vW[vW.length - 1])) <= 0) { 1507 viewport(); 1508 break; 1509 } 1510 } 1511}); 1512 1513Array.prototype.unique=function(){for(var e=this.concat(),a=0;a<e.length;++a)for(var t=a+1;t<e.length;++t)e[a]===e[t]&&e.splice(t--,1);return e};var unseen={};function addToUnseen(e){e.forEach(function(e){void 0===unseen[e.tableName]&&(unseen[e.tableName]=[]),unseen[e.tableName]=unseen[e.tableName].concat(e.uids).unique()})}function findUnseen(){var t={},e=$(".tx_asuserseen.neu");
1513void 0!==e&&0<e.length&&(e.each(function(){var e=$(this).attr("data-table"),a=$(this).attr("data-uid");void 0===t[e]&&(t[e]=[]),t[e].push(a),t[e].unique()}),void 0!==t)&&addToUnseen($.map(t,function(e,a){return{tableName:a,uids:e}}))}$(function(){if(void 0!==$.fn.asUserSeen&&($.fn.asUserSeen.defaults.ajaxUrl=userSeenAjaxUrl),0<($useSeenObjects=$(".tx_asuserseen")).length){let a=[];$useSeenObjects.each(function(){var e=$(this);e.addClass("seen_"+e.data("table")+"_"+e.data("uid")),e.hasClass("checkStatus")&&a.push({uid:e.data("uid"),tableName:e.data("table")})}),0<a.length&&$.ajax({type:"POST",dataType:"json",data:{cmd:"statusMultiple",items:a},url:userSeenAjaxUrl,success:function(e){if(void 0!==e)for(let t in e)if(e.hasOwnProperty(t)){var n=e[t];for(let e in n)if(n.hasOwnProperty(e)){var s=n[e];let a=".seen_"+t+"_"+e;s.status?$(a).remove():($(a).html("Neu").removeClass("hidden"),$(a).click(function(){$.ajax({type:"POST",dataType:"json",data:{cmd:"add",tx_asuserseen:{uid:e,tableName:t}},url:userSeenAjaxUrl,success:function(e){e.status&&$(a).remove()}})}))}}}})}var e=$(".mark_all_as_read");void 0!==e&&0<e.length&&e.click(function(){var e,c=$(this),a=(c.addClass("loading"),{tx_asuserseen:[]});for(key in unseen)unseen.hasOwnProperty(key)&&(e=unseen[key],a.tx_asuserseen.push({uids:e,tableName:key}));$.ajax({type:"POST",dataType:"json",data:a,url:userSeenAjaxUrl+"?cmd=addMultiple",success:function(e){for(var a in e)if(e.hasOwnProperty(a)){var t,n,s=e[a];for(t in s)s.hasOwnProperty(t)&&(n=".seen_"+a+"_"+t,s[t]&&0<$(n).length?$(n).html("").addClass("hidden"):$(n).html("Neu").removeClass("hidden"))}c.removeClass("loading"),void 0!==$(".newsbox")&&0<$(".newsbox").length&&location.reload()}})})}),function(s){void 0!==s.fn.asFavorites&&(s.fn.asFavorites.defaults.ajaxUrl="/as-favorites.json",s.fn.asFavorites.defaults.list.target="_top"),s(function(){s.ajax({url:"/as-ajax-tsfe.json",data:{cmd:"fe_user_uid"},success:function(e){e&&(void 0!==s(".tx_asfavorites")&&0<s(".tx_asfavorites").length&&s(".tx_asfavorites").asFavorites("list",{list:{init:function(){},complete:function(){s("#tx_asfavorites_list_content").sortable({placeholder:"ui-state-highlight",helper:"clone",update:function(e,a){var t=s(this).sortable("serialize",{attribute:"data-sorting",expression:"(.*)-(.*)"});s(".tx_asfavorites").asFavorites("sort",{sort:{data:t}})}})},templates:{default:'<div data-sorting="items-{{tableName}}_{{uid}}" class="item sortable well clearfix {{tableName}}"><div class="sp1"><strong>{{title}}</strong> {{subtitle}}<br /><div class="text">{{description}}</div></div><div class="sp2 pull-right">{{download}}<a href="javascript:void(0);" class="fav tx_asfavorites_item toggle fav-remove" data-uid="{{uid}}" data-table="{{tableName}}"></a></div></div>'}},toggle:{before:function(e,a){return!confirm("Diesen Favorit wirklich löschen?")},success:function(e,a){a.status?e.removeClass("fav-add").addClass("fav-remove").prop("title","Favorit entfernen"):e.removeClass("fav-remove").addClass("fav-add").prop("title","Als Favorit markieren")}}}),void 0!==s(".fav.check_status")&&0<s(".fav.check_status").length&&s(".fav.check_status").asFavorites("check",{check:{selector:".tx_asfavorites_item.check_status",success:function(e){s.each(e,function(n,e){s.each(e,function(e,a){var t="Als Favorit markieren";void 0!==s(".favorite_"+n+"_"+e).attr("data-title-add")&&(t=s(".favorite_"+n+"_"+e).attr("data-title-add")),a.status?s(".favorite_"+n+"_"+e).addClass("fav-active").prop("title","Favorit entfernen"):s(".favorite_"+n+"_"+e).addClass("fav-add").prop("title",t)})})}}}),void 0!==s(".fav.toggle"))&&0<s(".fav.toggle").length&&s(".fav.toggle").asFavorites("toggle",{toggle:{success:function(e,a,t){var n="Als Favorit markieren";void 0!==s(a).attr("data-title-add")&&(n=s(a).attr("data-title-add")),t.status?s(a).removeClass("fav-add").addClass("fav-active").prop("title","Favorit entfernen"):s(a).removeClass("fav-active").addClass("fav-add").prop("title",n)}}})}})})}
1513(jQuery),$(function(){var e=$(".newsbox .nav-tabs");function s(e,a){e?$(a).html("").addClass("hidden"):$(a).html("Neu").removeClass("hidden")}function c(e,a){var t,n;!0===e&&(-1!==a.indexOf("pages")?(t=$(".newsbox .nav-tabs li:eq(0) .badge"),n=parseInt(t.text()),0<--n?t.text(n):t.remove()):-1!==a.indexOf("tx_news_domain_model_news")&&(t=$(".newsbox .nav-tabs li:eq(1) .badge"),n=parseInt(t.text()),0<--n?t.text(n):t.remove()))}void 0!==e&&0<e.length&&e.find("a:first").tab("show");var i,t,a,l=$(".contentracker-ajax");function o(e){var a=(a='<div class="item news"><div class="news__icon">')+'<svg version="1.1" class="icon icon--notes" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-49 182.131 512 429.739" style="enable-background:new -49 182.131 512 429.739;" xml:space="preserve">\n<path d="M397.023,239.704c-1.883-1.882-4.436-2.94-7.099-2.94s-5.216,1.058-7.099,2.941l-85.321,85.33V192.17\n c0-5.544-4.496-10.039-10.039-10.039H37.568c-0.115,0-0.228,0.013-0.343,0.017c-0.111,0.004-0.222,0.009-0.333,0.017\n c-0.428,0.029-0.849,0.076-1.261,0.157c-0.009,0.002-0.018,0.002-0.027,0.004c-0.445,0.088-0.874,0.212-1.296,0.357\n c-0.078,0.027-0.156,0.056-0.233,0.085c-0.393,0.147-0.776,0.311-1.143,0.503c-0.029,0.015-0.059,0.027-0.088,0.042\n c-0.388,0.208-0.756,0.445-1.111,0.7c-0.084,0.06-0.167,0.123-0.249,0.186c-0.349,0.267-0.688,0.549-0.999,0.859\n c-0.005,0.005-0.01,0.008-0.014,0.012l-76.529,76.529c-0.005,0.005-0.008,0.01-0.012,0.014c-0.31,0.312-0.593,0.651-0.86,1\n c-0.062,0.081-0.124,0.162-0.184,0.245c-0.256,0.356-0.493,0.726-0.701,1.114c-0.015,0.028-0.026,0.057-0.041,0.085\n c-0.193,0.368-0.357,0.752-0.504,1.144c-0.029,0.079-0.059,0.157-0.086,0.236c-0.145,0.42-0.268,0.848-0.355,1.292\n c-0.003,0.014-0.004,0.029-0.007,0.043c-0.078,0.405-0.125,0.819-0.155,1.24c-0.008,0.116-0.014,0.233-0.018,0.349\n c-0.004,0.114-0.017,0.224-0.017,0.336V601.83c0,5.544,4.496,10.039,10.039,10.039h326.425c5.544,0,10.039-4.496,10.039-10.039\n V479.486L460.06,316.938c1.882-1.882,2.94-4.436,2.94-7.099c0-2.662-1.058-5.216-2.94-7.099L397.023,239.704z M389.925,261.001\n l17.316,17.316L218.919,466.637l-17.316-17.314l92.971-92.962L389.925,261.001z M192.598,468.716l19.188,19.185\n c0.011,0.011,0.021,0.024,0.032,0.035c0.011,0.011,0.024,0.021,0.035,0.032l19.19,19.188l-52.513,14.076L192.598,468.716z\n M27.529,216.407v42.253h-42.252L27.529,216.407z M277.425,591.791H-28.922V278.738h66.49c5.544,0,10.039-4.496,10.039-10.039\n v-66.49h229.818v142.906l-97.118,97.109l0,0l-0.001,0.001c-0.286,0.286-0.545,0.588-0.789,0.898\n c-0.063,0.08-0.121,0.165-0.182,0.247c-0.186,0.251-0.359,0.508-0.518,0.772c-0.051,0.085-0.103,0.171-0.153,0.258\n c-0.187,0.331-0.357,0.669-0.504,1.015c-0.008,0.019-0.018,0.037-0.026,0.057c-0.16,0.383-0.29,0.775-0.4,1.172\n c-0.007,0.027-0.019,0.051-0.026,0.078l-1.326,4.95H44.124c-5.544,0-10.039,4.496-10.039,10.039s4.496,10.039,10.039,10.039h126.879\n l-14.372,53.64H44.124c-5.544,0-10.039,4.496-10.039,10.039c0,5.544,4.496,10.039,10.039,10.039h120.21l0,0l0,0\n c0.001,0,0.003,0,0.004,0c0.404,0,0.8-0.031,1.192-0.077c0.103-0.012,0.206-0.031,0.309-0.047c0.313-0.047,0.621-0.108,0.925-0.184\n c0.056-0.014,0.113-0.019,0.169-0.033l86.106-23.079c0.029-0.008,0.055-0.021,0.083-0.028c0.394-0.108,0.782-0.238,1.163-0.396\n c0.026-0.011,0.051-0.025,0.078-0.036c0.339-0.144,0.67-0.31,0.994-0.493c0.09-0.051,0.179-0.104,0.268-0.158\n c0.261-0.158,0.515-0.329,0.764-0.513c0.084-0.062,0.17-0.12,0.252-0.186c0.31-0.244,0.612-0.503,0.899-0.789l19.888-19.887\n L277.425,591.791L277.425,591.791z M280.379,468.216c-0.008,0.008-0.016,0.016-0.023,0.023l-29.916,29.915l-17.322-17.319\n l188.32-188.322l17.325,17.325L280.379,468.216z"/>\n<path d="M44.124,324.326h138.179c5.544,0,10.039-4.496,10.039-10.039c0-5.544-4.496-10.039-10.039-10.039H44.124\n c-5.544,0-10.039,4.496-10.039,10.039C34.085,319.831,38.579,324.326,44.124,324.326z"/>\n<path d="M44.124,398.034h173.598c5.544,0,10.039-4.496,10.039-10.039s-4.496-10.039-10.039-10.039H44.124\n c-5.544,0-10.039,4.496-10.039,10.039S38.579,398.034,44.124,398.034z"/>\n<path d="M217.722,324.326c12.919,0,12.941-20.078,0-20.078C204.802,304.248,204.781,324.326,217.722,324.326z"/>\n</svg>'+('</div><div class="news__details"><h2>'+e.link_tag);return void 0!==e.seen_tableName&&void 0!==e.seen_uid&&(a+=' <span class="tx_asuserseen checkStatus neu" data-table="'+e.seen_tableName+'" data-uid="'+e.seen_uid+'"'+("Forum"==e.seen_tableName?' data-crdate="'+e.crdate_raw+'"':"")+"></span>"),a+="</h2>",void 0!==e.text&&0<e.text.length&&(a+="<p>"+e.text+"</p>"),a+='<div class="news__type-and-date"><span>'+e.typ+"</span><span>"+e.tstamp+'</span></div><a href="'+e.link_url+'" class="news__more-btn">Mehr dazu</a></div></div>'}void 0!==l&&0<l.length&&(i=l.find(".mehr"),t=l.find(".ajax-loading"),i.hide(),t.show(),a={cmd:"mixed",limit:l.attr("data-limit"),offset:l.find(".content .item").length},$.ajax({url:contentTrackerAjaxUrl,data:a,dataType:"json",success:function(e){if(e.items){for(var a="",t=0;t<e.items.length;t++)a+=o(e.items[t]);l.find(".content").append(a),l.find(".tx_asuserseen.checkStatus").asUserSeen({toogleStatusCallback:function(e,a){s(a,e)},removeCallback:function(){},addCallback:function(e,a){c(a,e)},complete:function(){}}
1513),l.find(".seen_add_on_click").each(function(){var e=$(this);e.click(function(){e.asUserSeen("addSeen",e)})})}e.meta.more&&i.show();var n=l.parents(".newsbox").find(".nav-tabs li a").eq(0);void 0!==e.meta.unseen&&void 0!==n&&n.append(' <span class="badge badge-secondary">'+e.meta.unseen+"</span>"),void 0!==e.meta.unseenList&&addToUnseen(e.meta.unseenList)},complete:function(){t.hide()}}),i.click(function(){i.hide(),t.show(),a.offset=l.find(".item").length,$.ajax({url:contentTrackerAjaxUrl,data:a,dataType:"json",success:function(e){if(e.items){for(var a="",t=0;t<e.items.length;t++)a+=o(e.items[t]);l.find(".content").append(a),l.find(".tx_asuserseen.checkStatus").each(function(){for(var e=$(this).attr("class").split(" "),a=0,t=!1;a<e.length&&!t;)0===e[a].indexOf("seen_")&&(t=!0),a++;t||$(this).asUserSeen({toogleStatusCallback:function(e,a){s(a,e)},removeCallback:function(){},addCallback:function(e,a){c(a,e)},complete:function(){}})})}e.meta.more?i.show():i.hide()},complete:function(e,a){t.hide()}})}));var d,n,r,u=$(".rundschreiben-ajax");function f(e){var a='<div class="item news"><div class="news__icon"><svg version="1.1" class="icon icon--notes" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-49 182.131 512 429.739" style="enable-background:new -49 182.131 512 429.739;" xml:space="preserve">\n<path d="M397.023,239.704c-1.883-1.882-4.436-2.94-7.099-2.94s-5.216,1.058-7.099,2.941l-85.321,85.33V192.17\n c0-5.544-4.496-10.039-10.039-10.039H37.568c-0.115,0-0.228,0.013-0.343,0.017c-0.111,0.004-0.222,0.009-0.333,0.017\n c-0.428,0.029-0.849,0.076-1.261,0.157c-0.009,0.002-0.018,0.002-0.027,0.004c-0.445,0.088-0.874,0.212-1.296,0.357\n c-0.078,0.027-0.156,0.056-0.233,0.085c-0.393,0.147-0.776,0.311-1.143,0.503c-0.029,0.015-0.059,0.027-0.088,0.042\n c-0.388,0.208-0.756,0.445-1.111,0.7c-0.084,0.06-0.167,0.123-0.249,0.186c-0.349,0.267-0.688,0.549-0.999,0.859\n c-0.005,0.005-0.01,0.008-0.014,0.012l-76.529,76.529c-0.005,0.005-0.008,0.01-0.012,0.014c-0.31,0.312-0.593,0.651-0.86,1\n c-0.062,0.081-0.124,0.162-0.184,0.245c-0.256,0.356-0.493,0.726-0.701,1.114c-0.015,0.028-0.026,0.057-0.041,0.085\n c-0.193,0.368-0.357,0.752-0.504,1.144c-0.029,0.079-0.059,0.157-0.086,0.236c-0.145,0.42-0.268,0.848-0.355,1.292\n c-0.003,0.014-0.004,0.029-0.007,0.043c-0.078,0.405-0.125,0.819-0.155,1.24c-0.008,0.116-0.014,0.233-0.018,0.349\n c-0.004,0.114-0.017,0.224-0.017,0.336V601.83c0,5.544,4.496,10.039,10.039,10.039h326.425c5.544,0,10.039-4.496,10.039-10.039\n V479.486L460.06,316.938c1.882-1.882,2.94-4.436,2.94-7.099c0-2.662-1.058-5.216-2.94-7.099L397.023,239.704z M389.925,261.001\n l17.316,17.316L218.919,466.637l-17.316-17.314l92.971-92.962L389.925,261.001z M192.598,468.716l19.188,19.185\n c0.011,0.011,0.021,0.024,0.032,0.035c0.011,0.011,0.024,0.021,0.035,0.032l19.19,19.188l-52.513,14.076L192.598,468.716z\n M27.529,216.407v42.253h-42.252L27.529,216.407z M277.425,591.791H-28.922V278.738h66.49c5.544,0,10.039-4.496,10.039-10.039\n v-66.49h229.818v142.906l-97.118,97.109l0,0l-0.001,0.001c-0.286,0.286-0.545,0.588-0.789,0.898\n c-0.063,0.08-0.121,0.165-0.182,0.247c-0.186,0.251-0.359,0.508-0.518,0.772c-0.051,0.085-0.103,0.171-0.153,0.258\n c-0.187,0.331-0.357,0.669-0.504,1.015c-0.008,0.019-0.018,0.037-0.026,0.057c-0.16,0.383-0.29,0.775-0.4,1.172\n c-0.007,0.027-0.019,0.051-0.026,0.078l-1.326,4.95H44.124c-5.544,0-10.039,4.496-10.039,10.039s4.496,10.039,10.039,10.039h126.879\n l-14.372,53.64H44.124c-5.544,0-10.039,4.496-10.039,10.039c0,5.544,4.496,10.039,10.039,10.039h120.21l0,0l0,0\n c0.001,0,0.003,0,0.004,0c0.404,0,0.8-0.031,1.192-0.077c0.103-0.012,0.206-0.031,0.309-0.047c0.313-0.047,0.621-0.108,0.925-0.184\n c0.056-0.014,0.113-0.019,0.169-0.033l86.106-23.079c0.029-0.008,0.055-0.021,0.083-0.028c0.394-0.108,0.782-0.238,1.163-0.396\n c0.026-0.011,0.051-0.025,0.078-0.036c0.339-0.144,0.67-0.31,0.994-0.493c0.09-0.051,0.179-0.104,0.268-0.158\n c0.261-0.158,0.515-0.329,0.764-0.513c0.084-0.062,0.17-0.12,0.252-0.186c0.31-0.244,0.612-0.503,0.899-0.789l19.888-19.887\n L277.425,591.791L277.425,591.791z M280.379,468.216c-0.008,0.008-0.016,0.016-0.023,0.023l-29.916,29.915l-17.322-17.319\n l188.32-188.322l17.325,17.325L280.379,468.216z"/>\n<path d="M44.124,324.326h138.179c5.544,0,10.039-4.496,10.039-10.039c0-5.544-4.496-10.039-10.039-10.039H44.124\n c-5.544,0-10.039,4.496-10.039,10.039C34.085,319.831,38.579,324.326,44.124,324.326z"/>\n<path d="M44.124,398.034h173.598c5.544,0,10.039-4.496,10.039-10.039s-4.496-10.039-10.039-10.039H44.124\n c-5.544,0-10.039,4.496-10.039,10.039S38.579,398.034,44.124,398.034z"/>
1513\n<path d="M217.722,324.326c12.919,0,12.941-20.078,0-20.078C204.802,304.248,204.781,324.326,217.722,324.326z"/>\n</svg>';return a+='</div><div class="news__details"><h2>'+e.link_tag,"unfedined"!=typeof e.seen_tableName&&void 0!==e.seen_uid&&(a+=' <span class="tx_asuserseen checkStatus neu" data-table="'+e.tableName+'" data-uid="'+e.uid+'"></span>'),a+="</h2>",void 0!==e.teaser&&0<e.teaser.length&&(a+="<p>"+e.teaser+"</p>"),a+='<div class="news__type-and-date"><span>Rundschreiben</span><span>Nr. '+e.subtitle+'</span></div><a href="'+e.link_url+'" class="news__more-btn">Mehr dazu</a></div></div>'}void 0!==u&&0<u.length&&(d=u.find(".mehr"),n=u.find(".ajax-loading"),void 0!==u.attr("data-template")&&u.attr("data-template"),d.hide(),n.show(),r={cmd:"newsLatest",limit:u.attr("data-limit"),offset:0,page:u.attr("data-page"),storage:u.attr("data-storage")},$.ajax({url:contentTrackerAjaxUrl,data:r,dataType:"json",success:function(e){if(e.items){for(var a="",t=0;t<e.items.length;t++)a+=f(e.items[t]);u.find(".content").append(a),$(".rundschreiben-ajax .tx_asuserseen.checkStatus").asUserSeen({toogleStatusCallback:function(e,a){s(a,e)},removeCallback:function(){},addCallback:function(e,a){c(a,e)},complete:function(){}})}e.meta.more&&d.show();var n=u.parents(".newsbox").find("li a").eq(1);void 0!==e.meta.unseen&&0!=e.meta.unseen&&void 0!==n&&n.append(' <span class="badge badge-secondary">'+e.meta.unseen+"</span>"),void 0!==e.meta.unseenList&&addToUnseen(e.meta.unseenList)},complete:function(){n.hide()}}),d.click(function(){d.hide(),n.show(),r.offset=u.find(".item").length,$.ajax({url:contentTrackerAjaxUrl,data:r,dataType:"json",success:function(e){if(e.items){for(var a="",t=0;t<e.items.length;t++)a+=f(e.items[t]);u.find(".content").append(a),u.find(".tx_asuserseen.checkStatus").each(function(){for(var e=$(this).attr("class").split(" "),a=0,t=!1;a<e.length&&!t;)0==e[a].indexOf("seen_")&&(t=!0),a++;t||$(this).asUserSeen({toogleStatusCallback:function(e,a){s(a,e)},removeCallback:function(){},addCallback:function(e,a){c(a,e)},complete:function(){}})})}e.meta.more?d.show():d.hide()},complete:function(e,a){n.hide()}})}));var v,h,p,m=$(".gremieninfos-ajax");function _(e){var a,t,n,s='<div class="item news"><div class="news__icon"><svg version="1.1" class="icon icon--notes" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="-49 182.131 512 429.739" style="enable-background:new -49 182.131 512 429.739;" xml:space="preserve">\n<path d="M397.023,239.704c-1.883-1.882-4.436-2.94-7.099-2.94s-5.216,1.058-7.099,2.941l-85.321,85.33V192.17\n c0-5.544-4.496-10.039-10.039-10.039H37.568c-0.115,0-0.228,0.013-0.343,0.017c-0.111,0.004-0.222,0.009-0.333,0.017\n c-0.428,0.029-0.849,0.076-1.261,0.157c-0.009,0.002-0.018,0.002-0.027,0.004c-0.445,0.088-0.874,0.212-1.296,0.357\n c-0.078,0.027-0.156,0.056-0.233,0.085c-0.393,0.147-0.776,0.311-1.143,0.503c-0.029,0.015-0.059,0.027-0.088,0.042\n c-0.388,0.208-0.756,0.445-1.111,0.7c-0.084,0.06-0.167,0.123-0.249,0.186c-0.349,0.267-0.688,0.549-0.999,0.859\n c-0.005,0.005-0.01,0.008-0.014,0.012l-76.529,76.529c-0.005,0.005-0.008,0.01-0.012,0.014c-0.31,0.312-0.593,0.651-0.86,1\n c-0.062,0.081-0.124,0.162-0.184,0.245c-0.256,0.356-0.493,0.726-0.701,1.114c-0.015,0.028-0.026,0.057-0.041,0.085\n c-0.193,0.368-0.357,0.752-0.504,1.144c-0.029,0.079-0.059,0.157-0.086,0.236c-0.145,0.42-0.268,0.848-0.355,1.292\n c-0.003,0.014-0.004,0.029-0.007,0.043c-0.078,0.405-0.125,0.819-0.155,1.24c-0.008,0.116-0.014,0.233-0.018,0.349\n c-0.004,0.114-0.017,0.224-0.017,0.336V601.83c0,5.544,4.496,10.039,10.039,10.039h326.425c5.544,0,10.039-4.496,10.039-10.039\n V479.486L460.06,316.938c1.882-1.882,2.94-4.436,2.94-7.099c0-2.662-1.058-5.216-2.94-7.099L397.023,239.704z M389.925,261.001\n l17.316,17.316L218.919,466.637l-17.316-17.314l92.971-92.962L389.925,261.001z M192.598,468.716l19.188,19.185\n c0.011,0.011,0.021,0.024,0.032,0.035c0.011,0.011,0.024,0.021,0.035,0.032l19.19,19.188l-52.513,14.076L192.598,468.716z\n M27.529,216.407v42.253h-42.252L27.529,216.407z M277.425,591.791H-28.922V278.738h66.49c5.544,0,10.039-4.496,10.039-10.039\n v-66.49h229.818v142.906l-97.118,97.109l0,0l-0.001,0.001c-0.286,0.286-0.545,0.588-0.789,0.898\n c-0.063,0.08-0.121,0.165-0.182,0.247c-0.186,0.251-0.359,0.508-0.518,0.772c-0.051,0.085-0.103,0.171-0.153,0.258\n c-0.187,0.331-0.357,0.669-0.504,1.015c-0.008,0.019-0.018,0.037-0.026,0.057c-0.16,0.383-0.29,0.775-0.4,1.172\n
1513c-0.007,0.027-0.019,0.051-0.026,0.078l-1.326,4.95H44.124c-5.544,0-10.039,4.496-10.039,10.039s4.496,10.039,10.039,10.039h126.879\n l-14.372,53.64H44.124c-5.544,0-10.039,4.496-10.039,10.039c0,5.544,4.496,10.039,10.039,10.039h120.21l0,0l0,0\n c0.001,0,0.003,0,0.004,0c0.404,0,0.8-0.031,1.192-0.077c0.103-0.012,0.206-0.031,0.309-0.047c0.313-0.047,0.621-0.108,0.925-0.184\n c0.056-0.014,0.113-0.019,0.169-0.033l86.106-23.079c0.029-0.008,0.055-0.021,0.083-0.028c0.394-0.108,0.782-0.238,1.163-0.396\n c0.026-0.011,0.051-0.025,0.078-0.036c0.339-0.144,0.67-0.31,0.994-0.493c0.09-0.051,0.179-0.104,0.268-0.158\n c0.261-0.158,0.515-0.329,0.764-0.513c0.084-0.062,0.17-0.12,0.252-0.186c0.31-0.244,0.612-0.503,0.899-0.789l19.888-19.887\n L277.425,591.791L277.425,591.791z M280.379,468.216c-0.008,0.008-0.016,0.016-0.023,0.023l-29.916,29.915l-17.322-17.319\n l188.32-188.322l17.325,17.325L280.379,468.216z"/>\n<path d="M44.124,324.326h138.179c5.544,0,10.039-4.496,10.039-10.039c0-5.544-4.496-10.039-10.039-10.039H44.124\n c-5.544,0-10.039,4.496-10.039,10.039C34.085,319.831,38.579,324.326,44.124,324.326z"/>\n<path d="M44.124,398.034h173.598c5.544,0,10.039-4.496,10.039-10.039s-4.496-10.039-10.039-10.039H44.124\n c-5.544,0-10.039,4.496-10.039,10.039S38.579,398.034,44.124,398.034z"/>\n<path d="M217.722,324.326c12.919,0,12.941-20.078,0-20.078C204.802,304.248,204.781,324.326,217.722,324.326z"/>\n</svg>';return s+='</div><div class="news__details"><h2>'+e.link_tag,"unfedined"!=typeof e.seen_tableName&&void 0!==e.seen_uid&&(s+=' <span class="tx_asuserseen checkStatus neu" data-table="'+e.tableName+'" data-uid="'+e.uid+'"></span>'),s+="</h2>",void 0!==e.teaser&&0<e.teaser.length&&(s+="<p>"+e.teaser+"</p>"),s+='<div class="news__type-and-date"><span>'+e.committee.title+"</span><span>"+(a=e.dateCreation,a=new Date(a),t=a.getFullYear(),n=a.getMonth()+1,a=(a=a.getDate())<10?"0"+a:a)+"."+(n=n<10?"0"+n:n)+"."+t+'</span></div><a href="'+e.link_url+'" class="news__more-btn">Mehr dazu</a></div></div>'}void 0!==m&&0<m.length&&(v=m.find(".mehr"),h=m.find(".ajax-loading"),void 0!==m.attr("data-template")&&m.attr("data-template"),v.hide(),h.show(),p={cmd:"gremien",limit:m.attr("data-limit"),offset:0,storage:m.attr("data-storage"),recursive:m.attr("data-recursive")},$.ajax({url:contentTrackerAjaxUrl,data:p,dataType:"json",success:function(e){if(e.items){for(var a="",t=0;t<e.items.length;t++)a+=_(e.items[t]);m.find(".content").append(a),$(".gremieninfos-ajax .tx_asuserseen.checkStatus").asUserSeen({toogleStatusCallback:function(e,a){s(a,e)},removeCallback:function(){},addCallback:function(e,a){c(a,e)},complete:function(){}})}e.meta.more&&v.show();var n=m.parents(".newsbox").find("li a").eq(2);void 0!==e.meta.unseen&&0!=e.meta.unseen&&void 0!==n&&n.append(' <span class="badge badge-secondary">'+e.meta.unseen+"</span>"),void 0!==e.meta.unseenList&&addToUnseen(e.meta.unseenList)},complete:function(){h.hide()}}),v.click(function(){v.hide(),h.show(),p.offset=m.find(".item").length,$.ajax({url:contentTrackerAjaxUrl,data:p,dataType:"json",success:function(e){if(e.items){for(var a="",t=0;t<e.items.length;t++)a+=_(e.items[t]);m.find(".content").append(a),m.find(".tx_asuserseen.checkStatus").each(function(){for(var e=$(this).attr("class").split(" "),a=0,t=!1;a<e.length&&!t;)0==e[a].indexOf("seen_")&&(t=!0),a++;t||$(this).asUserSeen({toogleStatusCallback:function(e,a){s(a,e)},removeCallback:function(){},addCallback:function(e,a){c(a,e)},complete:function(){}})})}e.meta.more?v.show():v.hide()},complete:function(e,a){h.hide()}})}))}),function(a){a(function(){var e;0<a(".ctype-ce_news_search form").length&&(void 0!==(e=a(".ce_news_search_results_count"))&&0<e.length&&e.change(function(){a(".ce_news_search_per_page").val(a(this).val()),a(".ctype-ce_news_search form").submit()}),void 0!==(e=a(".ctype-ce_news_search .pagination .page-link")))&&0<e.length&&e.click(function(){return a(".ce_news_search_page").val(a(this).attr("data-page")),a(".ctype-ce_news_search form").submit(),!1})})}(jQuery),function(n){n(document).ready(function(){var e=n(".apps"),t=(void 0!==e&&e.length&&(n.fn.asApps.defaults.ajaxUrl=asAppsAjaxUrl,
1513n.fn.asApps.defaults.addTypeToUrl=!1,e.asApps()),n(".user-actions"));if(void 0!==t&&0<t.length){let a=t.html();n.ajax({url:t.attr("data-ajax-url"),success:function(e){e&&(t.html(e),t.find("ul").append(a),t.find("li.logout").removeClass("d-none"))}})}e=n(".datepicker");void 0!==e&&0<e.length&&e.datepicker(),n(".b-panel__title a").on("click",function(e){e.preventDefault();n(this),n("body, html").scrollTop();n(this).parent().parent().toggleClass("active"),n(this).parent().parent().hasClass("active")?n(this).parent().parent().find(".b-panel__content").fadeIn(300):n(this).parent().parent().find(".b-panel__content").fadeOut(300)}),n('*[data-js="sticky"]').stick_in_parent({recalc_every:1}),n(".footer a.melden").click(function(){n.ajax({url:feedbackAjaxUrl,data:{contentUid:reportChangesCeUid,tx_powermail_pi1:{url:window.location.href}},success:function(e){e&&(n("#meldenbox .modal-body").html(e),n("#meldenbox .modal-body #powermail_field_url").attr("readonly",!0))},error:function(e,a,t){}})})})}(jQuery);
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.