vendor: 9,286 bytes, lines 1-2
1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2!function(t,e,i,s){function n(e,i){this.settings=null,this.options=t.extend({},n.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy(function(e,i){this._handlers[i]=t.proxy(this[i],this);},this)),t.each(n.Plugins,t.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this);},this)),t.each(n.Workers,t.proxy(function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)});},this)),this.setup(),this.initialize();}n.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},n.Width={Default:"default",Inner:"inner",Outer:"outer"},n.Type={Event:"event",State:"state"},n.Plugins={},n.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width();}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)];}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove();}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,s=this.settings.rtl,n={width:"auto","margin-left":s?e:"","margin-right":s?"":e};!i&&this.$stage.children().css(n),t.css=n;}},{filter:["width","items","settings"],run:function(t){var e=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,s=this._items.length,n=!this.settings.autoWidth,o=[];for(t.items={merge:!1,width:e};s--;)i=this._mergers[s],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,t.items.merge=i>1||t.items.merge,o[s]=n?e*i:this._items[s].width();this._widths=o;}},{filter:["items","settings"],run:function(){var e=[],i=this._items,s=this.settings,n=Math.max(2*s.items,4),o=2*Math.ceil(i.length/2),r=s.loop&&i.length?s.rewind?n:Math.max(n,o):0,a="",h="";for(r/=2;r>0;)e.push(this.normalize(e.length/2,!0)),a+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),h=i[e[e.length-1]][0].outerHTML+h,r-=1;this._clones=e,t(a).addClass("cloned").appendTo(this.$stage),t(h).addClass("cloned").prependTo(this.$stage);}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,s=0,n=0,o=[];++i<e;)s=o[i-1]||0,n=this._widths[this.relative(i)]+this.settings.margin,o.push(s+n*t);this._coordinates=o;}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,i={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(i);}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,i=!this.settings.autoWidth,s=this.$stage.children();if(i&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],s.eq(e).css(t.css);else i&&(t.css.width=t.items.width,s.css(t.css));}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style");}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current);}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current));}},{filter:["width","position","items","settings"],run:function(){var t,e,i,s,n=this.settings.rtl?1:-1,o=2*this.settings.stagePadding,r=this.coordinates(this.current())+o,a=r+this.width()*n,h=[];for(i=0,s=this._coordinates.length;i<s;i++)t=this._coordinates[i-1]||0,e=Math.abs(this._coordinates[i])+o*n,(this.op(t,"<=",r)&&this.op(t,">",a)||this.op(e,"<",r)&&this.op(e,">",a))&&h.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+h.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center");}}],n.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()));},n.prototype.initializeItems=function(){var e=this.$element.find(".owl-item");if(e.length)return this._items=e.get().map(function(e){return t(e);}),this._mergers=this._items.map(function(){return 1;}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass);},n.prototype.initialize=function(){var t,e,i;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:s,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized");},n.prototype.isVisible=function(){return !this.settings.checkVisibility||this.$element.is(":visible");},n.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,s=-1,n=null;i?(t.each(i,function(t){t<=e&&t>s&&(s=Number(t));}),"function"==typeof (n=t.extend({},this.options,i[s])).stagePadding&&(n.stagePadding=n.stagePadding()),delete n.responsive,n.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+s))):n=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:n}}),this._breakpoint=s,this.settings=n,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}});},n.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1);},n.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data;},n.prototype.update=function(){for(var e=0,i=this._pipe.length,s=t.proxy(function(t){return this[t];},this._invalidated),n={};e<i;)(this._invalidated.all||t.grep(this._pipe[e].filter,s).length>0)&&this._pipe[e].run(n),e++;this._invalidated={},!this.is("valid")&&this.enter("valid");},n.prototype.width=function(t){switch(t=t||n.Width.Default){case n.Width.Inner:case n.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin;}},n.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed");},n.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate);},n.prototype.onResize=function(){return !!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")));},n.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return !1;})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)));},n.prototype.onDragStart=function(e){var s=null;
23!==e.which&&(t.support.transform?s={x:(s=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===s.length?12:4],y:s[16===s.length?13:5]}:(s=this.$stage.position(),s={x:this.settings.rtl?s.left+this.$stage.width()-this.width()+this.settings.margin:s.left,y:s.top}),this.is("animating")&&(t.support.transform?this.animate(s.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date()).getTime(),this._drag.target=t(e.target),this._drag.stage.start=s,this._drag.stage.current=s,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy(function(e){var s=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(s.x)<Math.abs(s.y)&&this.is("valid")||(e.preventDefault(),this.enter("dragging"),this.trigger("drag"));},this)));},n.prototype.onDragMove=function(t){var e=null,i=null,s=null,n=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,n);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),i=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%i+i)%i+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),i=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),s=this.settings.pullDrag?-1*n.x/5:0,o.x=Math.max(Math.min(o.x,e+s),i+s)),this._drag.stage.current=o,this.animate(o.x));},n.prototype.onDragEnd=function(e){var s=this.difference(this._drag.pointer,this.pointer(e)),n=this._drag.stage.current,o=s.x>0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==s.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(n.x,0!==s.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(s.x)>3||(new Date()).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return !1;})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"));},n.prototype.closest=function(e,i){var n=-1,o=this.width(),r=this.coordinates();return this.settings.freeDrag||t.each(r,t.proxy(function(t,a){return "left"===i&&e>a-30&&e<a+30?n=t:"right"===i&&e>a-o-30&&e<a-o+30?n=t+1:this.op(e,"<",a)&&this.op(e,">",r[t+1]!==s?r[t+1]:a-o)&&(n="left"===i?t+1:t),-1===n;},this)),this.settings.loop||(this.op(e,">",r[this.minimum()])?n=e=this.minimum():this.op(e,"<",r[this.maximum()])&&(n=e=this.maximum())),n;},n.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"});},n.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0;},n.prototype.current=function(t){if(t===s)return this._current;if(0===this._items.length)return s;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==s&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}});}return this._current;},n.prototype.invalidate=function(e){return "string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,function(t,e){return e;});},n.prototype.reset=function(t){(t=this.normalize(t))!==s&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]));},n.prototype.normalize=function(t,e){var i=this._items.length,n=e?0:this._clones.length;return !this.isNumeric(t)||i<1?t=s:(t<0||t>=i+n)&&(t=((t-n/2)%i+i)%i+n/2),t;},n.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0);},n.prototype.maximum=function(t){var e,i,s,n=this.settings,o=this._coordinates.length;if(n.loop)o=this._clones.length/2+this._items.length-1;else if(n.autoWidth||n.merge){if(e=this._items.length)for(i=this._items[--e].width(),s=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>s););o=e+1;}else o=n.center?this._items.length-1:this._items.length-n.items;return t&&(o-=this._clones.length/2),Math.max(o,0);},n.prototype.minimum=function(t){return t?0:this._clones.length/2;},n.prototype.items=function(t){return t===s?this._items.slice():(t=this.normalize(t,!0),this._items[t]);},n.prototype.mergers=function(t){return t===s?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t]);},n.prototype.clones=function(e){var i=this._clones.length/2,n=i+this._items.length,o=function(t){return t%2==0?n+t/2:i-(t+1)/2;};return e===s?t.map(this._clones,function(t,e){return o(e);}):t.map(this._clones,function(t,i){return t===e?o(i):null;});},n.prototype.speed=function(t){return t!==s&&(this._speed=t),this._speed;},n.prototype.coordinates=function(e){var i,n=1,o=e-1;return e===s?t.map(this._coordinates,t.proxy(function(t,e){return this.coordinates(e);},this)):(this.settings.center?(this.settings.rtl&&(n=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*n):i=this._coordinates[o]||0,i=Math.ceil(i));}
2,n.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed);},n.prototype.to=function(t,e){var i=this.current(),s=null,n=t-this.relative(i),o=(n>0)-(n<0),r=this._items.length,a=this.minimum(),h=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(n)>r/2&&(n+=-1*o*r),(s=(((t=i+n)-a)%r+r)%r+a)!==t&&s-n<=h&&s-n>0&&(i=s-n,t=s,this.reset(i))):this.settings.rewind?t=(t%(h+=1)+h)%h:t=Math.max(a,Math.min(h,t)),this.speed(this.duration(i,t,e)),this.current(t),this.isVisible()&&this.update();},n.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t);},n.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t);},n.prototype.onTransitionEnd=function(t){if(t!==s&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return !1;this.leave("animating"),this.trigger("translated");},n.prototype.viewport=function(){var s;return this.options.responsiveBaseElement!==e?s=t(this.options.responsiveBaseElement).width():e.innerWidth?s=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?s=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),s;},n.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter(function(){return 1===this.nodeType;}).each(t.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1);},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items");},n.prototype.add=function(e,i){var n=this.relative(this._current);i=i===s?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i});},n.prototype.remove=function(t){(t=this.normalize(t,!0))!==s&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}));},n.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy(function(e,i){this.enter("pre-loading"),i=t(i),t(new Image()).one("load",t.proxy(function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh();},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"));},this));},n.prototype.destroy=function(){for(var s in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[s].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel");},n.prototype.op=function(t,e,i){var s=this.settings.rtl;switch(e){case "<":return s?t>i:t<i;case ">":return s?t<i:t>i;case ">=":return s?t<=i:t>=i;case "<=":return s?t>=i:t<=i;}}
2,n.prototype.on=function(t,e,i,s){t.addEventListener?t.addEventListener(e,i,s):t.attachEvent&&t.attachEvent("on"+e,i);},n.prototype.off=function(t,e,i,s){t.removeEventListener?t.removeEventListener(e,i,s):t.detachEvent&&t.detachEvent("on"+e,i);},n.prototype.trigger=function(e,i,s,o,r){var a={item:{count:this._items.length,index:this.current()}},h=t.camelCase(t.grep(["on",e,s],function(t){return t;}).join("-").toLowerCase()),l=t.Event([e,"owl",s||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},a,i));return this._supress[e]||(t.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(l);}),this.register({type:n.Type.Event,name:e}),this.$element.trigger(l),this.settings&&"function"==typeof this.settings[h]&&this.settings[h].call(this,l)),l;},n.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]===s&&(this._states.current[e]=0),this._states.current[e]++;},this));},n.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy(function(t,e){this._states.current[e]--;},this));},n.prototype.register=function(e){if(e.type===n.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return !i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments);},t.event.special[e.name].owl=!0;}}else e.type===n.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy(function(i,s){return t.inArray(i,this._states.tags[e.name])===s;},this)));},n.prototype.suppress=function(e){t.each(e,t.proxy(function(t,e){this._supress[e]=!0;},this));},n.prototype.release=function(e){t.each(e,t.proxy(function(t,e){delete this._supress[e];},this));},n.prototype.pointer=function(t){var i={x:null,y:null};return (t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i;},n.prototype.isNumeric=function(t){return !isNaN(parseFloat(t));},n.prototype.difference=function(t,e){return {x:t.x-e.x,y:t.y-e.y};},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var s=t(this),o=s.data("owl.carousel");o||(o=new n(this,"object"==typeof e&&e),s.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(e,i){o.register({type:n.Type.Event,name:i}),o.$element.on(i+".owl.carousel.core",t.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]));},o));})),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,i);});},t.fn.owlCarousel.Constructor=n;}(window.Zepto||window.jQuery,window,document),function(t,e){var i=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch();},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers);};i.Defaults={autoRefresh:!0,autoRefreshInterval:500},i.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval));},i.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh());},i.prototype.destroy=function(){var t,i;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null);},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=i;}(window.Zepto||window.jQuery,window,document),function(t,e){var i=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy(function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var i=this._core.settings,s=i.
2center&&Math.ceil(i.items/2)||i.items,n=i.center&&-1*s||0,o=(e.property&&undefined!==e.property.value?e.property.value:this._core.current())+n,r=this._core.clones().length,a=t.proxy(function(t,e){this.load(e);},this);for(i.lazyLoadEager>0&&(s+=i.lazyLoadEager,i.loop&&(o-=i.lazyLoadEager,s++));n++<s;)this.load(r/2+this._core.relative(o)),r&&t.each(this._core.clones(this._core.relative(o)),a),o++;}},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers);};i.Defaults={lazyLoad:!1,lazyLoadEager:0},i.prototype.load=function(i){var s=this._core.$stage.children().eq(i),n=s&&s.find(".owl-lazy");!n||t.inArray(s.get(0),this._loaded)>-1||(n.each(t.proxy(function(i,s){var n,o=t(s),r=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src")||o.attr("data-srcset");this._core.trigger("load",{element:o,url:r},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy(function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:r},"lazy");},this)).attr("src",r):o.is("source")?o.one("load.owl.lazy",t.proxy(function(){this._core.trigger("loaded",{element:o,url:r},"lazy");},this)).attr("srcset",r):((n=new Image()).onload=t.proxy(function(){o.css({"background-image":'url("'+r+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:r},"lazy");},this),n.src=r);},this)),this._loaded.push(s.get(0)));},i.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null);},t.fn.owlCarousel.Constructor.Plugins.Lazy=i;}(window.Zepto||window.jQuery,window,document),function(t,e){var i=function(s){this._core=s,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update();},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update();},this),"loaded.owl.lazy":t.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update();},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var n=this;t(e).on("load",function(){n._core.settings.autoHeight&&n.update();}),t(e).resize(function(){n._core.settings.autoHeight&&(null!=n._intervalId&&clearTimeout(n._intervalId),n._intervalId=setTimeout(function(){n.update();},250));});};i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){var e=this._core._current,i=e+this._core.settings.items,s=this._core.settings.lazyLoad,n=this._core.$stage.children().toArray().slice(e,i),o=[],r=0;t.each(n,function(e,i){o.push(t(i).height());}),(r=Math.max.apply(null,o))<=1&&s&&this._previousHeight&&(r=this._previousHeight),this._previousHeight=r,this._core.$stage.parent().height(r).addClass(this._core.settings.autoHeightClass);},i.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null);},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=i;}(window.Zepto||window.jQuery,window,document),function(t,e,i){var s=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]});},this),"resize.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault();},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove();},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop();},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)));}},this)},this._core.options=t.extend({},s.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy(function(t){this.play(t);},this));};s.Defaults={video:!1,videoHeight:!1,videoWidth:!1},s.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",s=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),n=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");
2if((s=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(s[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(s[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar";}s=s[6],this._videos[r]={type:i,id:s,width:n,height:o},e.attr("data-video",r),this.thumbnail(t,this._videos[r]);},s.prototype.thumbnail=function(e,i){var s,n,o=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",r=e.find("img"),a="src",h="",l=this._core.settings,c=function(i){s=l.lazyLoad?t("<div/>",{class:"owl-video-tn "+h,srcType:i}):t("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),e.after(s),e.after('<div class="owl-video-play-icon"></div>');};if(e.wrap(t("<div/>",{class:"owl-video-wrapper",style:o})),this._core.settings.lazyLoad&&(a="data-src",h="owl-lazy"),r.length)return c(r.attr(a)),r.remove(),!1;"youtube"===i.type?(n="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",c(n)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t[0].thumbnail_large,c(n);}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){n=t.framegrab_url,c(n);}});},s.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video");},s.prototype.play=function(e){var i,s=t(e.target).closest("."+this._core.settings.itemClass),n=this._videos[s.attr("data-video")],o=n.width||"100%",r=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),s=this._core.items(this._core.relative(s.index())),this._core.reset(s.index()),(i=t('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",r),i.attr("width",o),"youtube"===n.type?i.attr("src","//www.youtube.com/embed/"+n.id+"?autoplay=1&rel=0&v="+n.id):"vimeo"===n.type?i.attr("src","//player.vimeo.com/video/"+n.id+"?autoplay=1"):"vzaar"===n.type&&i.attr("src","//view.vzaar.com/"+n.id+"/player?autoplay=true"),t(i).wrap('<div class="owl-video-frame" />').insertAfter(s.find(".owl-video")),this._playing=s.addClass("owl-video-playing"));},s.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame");},s.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null);},t.fn.owlCarousel.Constructor.Plugins.Video=s;}(window.Zepto||window.jQuery,window,document),function(t,e,i,s){var n=function(e){this.core=e,this.core.options=t.extend({},n.Defaults,this.core.options),this.swapping=!0,this.previous=s,this.next=s,this.handlers={"change.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value);},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type);},this),"translate.owl.carousel":t.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap();},this)},this.core.$element.on(this.handlers);};n.Defaults={animateOut:!1,animateIn:!1},n.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),s=this.core.$stage.children().eq(this.previous),n=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,r=this.core.settings.animateOut;this.core.current()!==this.previous&&(r&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),s.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(r)),o&&n.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(o));}},n.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd();},n.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null);},t.fn.owlCarousel.Constructor.Plugins.Animate=n;}
vendor: 10,656 bytes, line 2
2(window.Zepto||window.jQuery,window,document),function(t,e,i){var s=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0);},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play();},this),"play.owl.autoplay":t.proxy(function(t,e,i){t.namespace&&this.play(e,i);},this),"stop.owl.autoplay":t.proxy(function(t){t.namespace&&this.stop();},this),"mouseover.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause();},this),"mouseleave.owl.autoplay":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play();},this),"touchstart.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause();},this),"touchend.owl.core":t.proxy(function(){this._core.settings.autoplayHoverPause&&this.play();},this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},s.Defaults,this._core.options);};s.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},s.prototype._next=function(s){this._call=e.setTimeout(t.proxy(this._next,this,s),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(s||this._core.settings.autoplaySpeed);},s.prototype.read=function(){return (new Date()).getTime()-this._time;},s.prototype.play=function(i,s){var n;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,n=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%i-n,this._timeout=i,this._call=e.setTimeout(t.proxy(this._next,this,s),i-n);},s.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"));},s.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call));},s.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null);},t.fn.owlCarousel.Constructor.Plugins.autoplay=s;}(window.Zepto||window.jQuery,window,document),function(t){"use strict";var e=function(i){this._core=i,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>");},this),"added.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop());},this),"remove.owl.carousel":t.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1);},this),"changed.owl.carousel":t.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw();},this),"initialized.owl.carousel":t.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"));},this),"refreshed.owl.carousel":t.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"));},this)},this._core.options=t.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers);};e.Defaults={nav:!1,navText:['<span aria-label="Previous">‹</span>','<span aria-label="Next">›</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?t(i.navContainer):t("<div>").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy(function(t){this.prev(i.navSpeed);},this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy(function(t){this.next(i.navSpeed);},this)),i.dotsData||(this._templates=[t('<button role="button">').addClass(i.dotClass).append(t("<span>")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("<div>").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy(function(e){var s=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(s,i.dotsSpeed);},this)),this._overrides)this._core[e]=t.proxy(this[e],this);},e.prototype.destroy=function(){var t,e,i,s,n;for(t in n=this._core.settings,this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&n.navContainer?this._controls[e].html(""):this._controls[e].remove();for(s in this.overides)this._core[s]=this._overrides[s];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null);},e.prototype.update=function(){var t,e,i=this._core.clones().length/2,s=i+this._core.items().length,n=this._core.maximum(!0),o=this._core.settings,r=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0,0;t<s;t++){if(e>=r||0===e){if(this._pages.push({start:Math.min(n,t-i),end:t-i+r-1}),Math.min(n,t-i)===n)break;e=0;}e+=this._core.mergers(this._core.relative(t));}},e.prototype.draw=function(){var e,i=this._core.settings,s=this._core.items().length<=i.items,n=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||s),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||s),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"));},e.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)};},e.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy(function(t,i){return t.start<=e&&t.end>=e;},this)).pop();},e.prototype.getPosition=function(e){var i,s,n=this._core.settings;return "page"==n.slideBy?(i=t.inArray(this.current(),this._pages),s=this._pages.length,e?++i:--i,i=this._pages[(i%s+s)%s].start):(i=this._core.relative(this._core.current()),s=this._core.items().length,e?i+=n.slideBy:i-=n.slideBy),i;},e.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e);},e.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e);},e.prototype.to=function(e,i,s){var n;!s&&this._pages.length?(n=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%n+n)%n].start,i)):t.proxy(this._overrides.to,this._core)(e,i);},t.fn.owlCarousel.Constructor.Plugins.Navigation=e;}(window.Zepto||window.jQuery,window,document),function(t,e){"use strict";var i=function(s){this._core=s,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy(function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation");},this),"prepared.owl.carousel":t.proxy(function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content;}},this),"changed.owl.carousel":t.proxy(function(i){if(i.namespace&&"position"===i.property.name){var s=this._core.items(this._core.relative(this._core.current())),n=t.map(this._hashes,function(t,e){return t===s?e:null;}).join();if(!n||e.location.hash.slice(1)===n)return;e.location.hash=n;}},this)},this._core.options=t.extend({},i.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy(function(t){var i=e.location.hash.substring(1),s=this._core.$stage.children(),n=this._hashes[i]&&s.index(this._hashes[i]);undefined!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0);},this));};i.Defaults={URLhashListener:!1},i.prototype.destroy=function(){var i,s;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(s in Object.getOwnPropertyNames(this))"function"!=typeof this[s]&&(this[s]=null);},t.fn.owlCarousel.Constructor.Plugins.Hash=i;}(window.Zepto||window.jQuery,window,document),function(t){function e(e,i){var o=!1,r=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+n.join(r+" ")+r).split(" "),function(t,e){if(undefined!==s[e])return o=!i||e,!1;}),o;}function i(t){return e(t,!0);}var s=t("<support>").get(0).style,n="Webkit Moz O ms".split(" "),o={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},r=function(){return !!e("transform");},a=function(){return !!e("perspective");},h=function(){return !!e("animation");};(function(){return !!e("transition");}
2)()&&(t.support.transition=new String(i("transition")),t.support.transition.end=o.transition.end[t.support.transition]),h()&&(t.support.animation=new String(i("animation")),t.support.animation.end=o.animation.end[t.support.animation]),r()&&(t.support.transform=new String(i("transform")),t.support.transform3d=a());}(window.Zepto||window.jQuery,window,document);; 3!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,n){return void 0===n&&(n="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(n),n;}:e(jQuery);}(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var n,r,i,o,s,a,l,c,u,d,p,h,f,g,m;function v(e,t){return f.call(e,t);}function y(e,t){var n,r,i,o,s,a,l,c,u,d,h,f=t&&t.split("/"),g=p.map,v=g&&g["*"]||{};if(e){for(s=(e=e.split("/")).length-1,p.nodeIdCompat&&m.test(e[s])&&(e[s]=e[s].replace(m,"")),"."===e[0].charAt(0)&&f&&(e=f.slice(0,f.length-1).concat(e)),u=0;u<e.length;u++)if("."===(h=e[u]))e.splice(u,1),u-=1;else{if(".."===h){if(0===u||1===u&&".."===e[2]||".."===e[u-1])continue;0<u&&(e.splice(u-1,2),u-=2);}}e=e.join("/");}if((f||v)&&g){for(u=(n=e.split("/")).length;0<u;u-=1){if(r=n.slice(0,u).join("/"),f)for(d=f.length;0<d;d-=1)if(i=(i=g[f.slice(0,d).join("/")])&&i[r]){o=i,a=u;break;}if(o)break;!l&&v&&v[r]&&(l=v[r],c=u);}!o&&l&&(o=l,a=c),o&&(n.splice(0,a,o),e=n.join("/"));}return e;}function _(e,t){return function(){var n=g.call(arguments,0);return "string"!=typeof n[0]&&1===n.length&&n.push(null),a.apply(o,n.concat([e,t]));};}function b(e){return function(t){u[e]=t;};}function w(e){if(v(d,e)){var t=d[e];delete d[e],h[e]=!0,s.apply(o,t);}if(!v(u,e)&&!v(h,e))throw new Error("No "+e);return u[e];}function A(e){var t,n=e?e.indexOf("!"):-1;return -1<n&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e];}function x(e){return e?A(e):[];}return t&&t.requirejs||(t?r=t:t={},u={},d={},p={},h={},f=Object.prototype.hasOwnProperty,g=[].slice,m=/\.js$/,l=function(e,t){var n,r=A(e),i=r[0],o=t[1];return e=r[1],i&&(n=w(i=y(i,o))),i?e=n&&n.normalize?n.normalize(e,function(e){return function(t){return y(t,e);};}(o)):y(e,o):(i=(r=A(e=y(e,o)))[0],e=r[1],i&&(n=w(i))),{f:i?i+"!"+e:e,n:e,pr:i,p:n};},c={require:function(e){return _(e);},exports:function(e){var t=u[e];return void 0!==t?t:u[e]={};},module:function(e){return {id:e,uri:"",exports:u[e],config:function(e){return function(){return p&&p.config&&p.config[e]||{};};}(e)};}},s=function(e,t,n,r){var i,s,a,p,f,g,m,y=[],$=typeof n;if(g=x(r=r||e),"undefined"==$||"function"==$){for(t=!t.length&&n.length?["require","exports","module"]:t,f=0;f<t.length;f+=1)if("require"===(s=(p=l(t[f],g)).f))y[f]=c.require(e);else if("exports"===s)y[f]=c.exports(e),m=!0;else if("module"===s)i=y[f]=c.module(e);else if(v(u,s)||v(d,s)||v(h,s))y[f]=w(s);else{if(!p.p)throw new Error(e+" missing "+s);p.p.load(p.n,_(r,!0),b(s),{}),y[f]=u[s];}a=n?n.apply(u[e],y):void 0,e&&(i&&i.exports!==o&&i.exports!==u[e]?u[e]=i.exports:a===o&&m||(u[e]=a));}else e&&(u[e]=n);},n=r=a=function(e,t,n,r,i){if("string"==typeof e)return c[e]?c[e](t):w(l(e,x(t)).f);if(!e.splice){if((p=e).deps&&a(p.deps,p.callback),!t)return;t.splice?(e=t,t=n,n=null):e=o;}return t=t||function(){},"function"==typeof n&&(n=r,r=i),r?s(o,e,t,n):setTimeout(function(){s(o,e,t,n);},4),a;},a.config=function(e){return a(e);},n._defined=u,(i=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),v(u,e)||v(d,e)||(d[e]=[e,t,n]);}).amd={jQuery:!0},t.requirejs=n,t.require=r,t.define=i),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t;}),t.define("select2/utils",["jquery"],function(e){var t={};function n(e){var t=e.prototype,n=[];for(var r in t)"function"==typeof t[r]&&"constructor"!==r&&n.push(r);return n;}function r(){this.listeners={};}t.Extend=function(e,t){var n={}.hasOwnProperty;function r(){this.constructor=e;}for(var i in t)n.call(t,i)&&(e[i]=t[i]);return r.prototype=t.prototype,e.prototype=new r(),e.__super__=t.prototype,e;},t.Decorate=function(e,t){var r=n(t),i=n(e);function o(){var n=Array.prototype.unshift,r=t.prototype.constructor.length,i=e.prototype.constructor;0<r&&(n.call(arguments,e.prototype.constructor),i=t.prototype.constructor),i.apply(this,arguments);}t.displayName=e.displayName,o.prototype=new function(){this.constructor=o;}();for(var s=0;s<i.length;s++){var a=i[s];o.prototype[a]=e.prototype[a];}function l(e){var n=function(){};e in o.prototype&&(n=o.prototype[e]);var r=t.prototype[e];return function(){return Array.prototype.unshift.call(arguments,n),r.apply(this,arguments);};}for(var c=0;c<r.length;c++){var u=r[c];o.prototype[u]=l(u);}return o;},r.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t];},r.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1
3);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),(n[0]._type=e) in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*" in this.listeners&&this.invoke(this.listeners["*"],arguments);},r.prototype.invoke=function(e,t){for(var n=0,r=e.length;n<r;n++)e[n].apply(this,t);},t.Observable=r,t.generateChars=function(e){for(var t="",n=0;n<e;n++)t+=Math.floor(36*Math.random()).toString(36);return t;},t.bind=function(e,t){return function(){e.apply(t,arguments);};},t._convertData=function(e){for(var t in e){var n=t.split("-"),r=e;if(1!==n.length){for(var i=0;i<n.length;i++){var o=n[i];(o=o.substring(0,1).toLowerCase()+o.substring(1)) in r||(r[o]={}),i==n.length-1&&(r[o]=e[t]),r=r[o];}delete e[t];}}return e;},t.hasScroll=function(t,n){var r=e(n),i=n.style.overflowX,o=n.style.overflowY;return (i!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===i||"scroll"===o||r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth);},t.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return "string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e];});},t.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var r=e();e.map(n,function(e){r=r.add(e);}),n=r;}t.append(n);},t.__cache={};var i=0;return t.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++i),t=i.toString())),t;},t.StoreData=function(e,n,r){var i=t.GetUniqueElementId(e);t.__cache[i]||(t.__cache[i]={}),t.__cache[i][n]=r;},t.GetData=function(n,r){var i=t.GetUniqueElementId(n);return r?t.__cache[i]&&null!=t.__cache[i][r]?t.__cache[i][r]:e(n).data(r):t.__cache[i];},t.RemoveData=function(e){var n=t.GetUniqueElementId(e);null!=t.__cache[n]&&delete t.__cache[n],e.removeAttribute("data-select2-id");},t;}),t.define("select2/results",["jquery","./utils"],function(e,t){function n(e,t,r){this.$element=e,this.data=r,this.options=t,n.__super__.constructor.call(this);}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t;},n.prototype.clear=function(){this.$results.empty();},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var r=e('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(t.message);r.append(n(i(t.args))),r[0].className+=" select2-results__message",this.$results.append(r);},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove();},n.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var r=e.results[n],i=this.option(r);t.push(i);}this.$results.append(t);}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"});},n.prototype.position=function(e,t){t.find(".select2-results").append(e);},n.prototype.sort=function(e){return this.options.get("sorter")(e);},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");0<t.length?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible();},n.prototype.setClasses=function(){var n=this;this.data.current(function(r){var i=e.map(r,function(e){return e.id.toString();});n.$results.find(".select2-results__option[aria-selected]").each(function(){var n=e(this),r=t.GetData(this,"data"),o=""+r.id;null!=r.element&&r.element.selected||null==r.element&&-1<e.inArray(o,i)?n.attr("aria-selected","true"):n.attr("aria-selected","false");});});},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n);},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove();},n.prototype.option=function(n){var r=document.createElement("li");r.className="select2-results__option";var i={role:"option","aria-selected":"false"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var s in (null!=n.element&&o.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==n.id&&delete i["aria-selected"],null!=n._resultId&&(r.id=n._resultId),n.title&&(r.title=n.title),n.children&&(i.role="group",i["aria-label"]=n.text,delete i["aria-selected"]),i){var a=i[s];r.setAttribute(s,a);}if(n.children){var l=e(r),c=document.createElement("strong");c.className="select2-results__group",e(c),this.template(n,c);for(var u=[],d=0;d<n.children.length;d++){var p=n.children[d],h=this.option(p);u.push(h);}var f=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});f.append(u),l.append(c),l.append(f);}else this.template(n,r);return t.StoreData(r,"data",n),r;},n.prototype.bind=function(n,r){var i=this,o=n.id+"-results";this.$results.attr("id",o),n.on("results:all",function(e){i.clear(),i.append(e.data),n.isOpen()&&(i.setClasses(),i.highlightFirstItem());}),n.on("results:append",function(e){i.append(e.data),n.isOpen()&&i.setClasses();}),n.on("query",function(e){i.hideMessages(),i.showLoading(e);}),n.on("select",function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem());}),n.on("unselect",function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem());}),n.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible();}
3),n.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant");}),n.on("results:toggle",function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger("mouseup");}),n.on("results:select",function(){var e=i.getHighlightedResults();if(0!==e.length){var n=t.GetData(e[0],"data");"true"==e.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:n});}}),n.on("results:previous",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e);if(!(n<=0)){var r=n-1;0===e.length&&(r=0);var o=t.eq(r);o.trigger("mouseenter");var s=i.$results.offset().top,a=o.offset().top,l=i.$results.scrollTop()+(a-s);0===r?i.$results.scrollTop(0):a-s<0&&i.$results.scrollTop(l);}}),n.on("results:next",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger("mouseenter");var o=i.$results.offset().top+i.$results.outerHeight(!1),s=r.offset().top+r.outerHeight(!1),a=i.$results.scrollTop()+s-o;0===n?i.$results.scrollTop(0):o<s&&i.$results.scrollTop(a);}}),n.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted");}),n.on("results:message",function(e){i.displayMessage(e);}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-t+e.deltaY,r=0<e.deltaY&&t-e.deltaY<=0,o=e.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):o&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),e.preventDefault(),e.stopPropagation());}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(n){var r=e(this),o=t.GetData(this,"data");"true"!==r.attr("aria-selected")?i.trigger("select",{originalEvent:n,data:o}):i.options.get("multiple")?i.trigger("unselect",{originalEvent:n,data:o}):i.trigger("close",{});}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(n){var r=t.GetData(this,"data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:r,element:e(this)});});},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted");},n.prototype.destroy=function(){this.$results.remove();},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,r=e.offset().top,i=this.$results.scrollTop()+(r-n),o=r-n;i-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(i);}},n.prototype.template=function(t,n){var r=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),o=r(t,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=i(o):e(n).append(o);},n;}),t.define("select2/keys",[],function(){return {BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46};}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this);}return t.Extend(r,t.Observable),r.prototype.render=function(){var n=e('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=t.GetData(this.$element[0],"old-tabindex")?this._tabindex=t.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n;},r.prototype.bind=function(e,t){var r=this,i=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){r.trigger("focus",e);}),this.$selection.on("blur",function(e){r._handleBlur(e);}),this.$selection.on("keydown",function(e){r.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault();}),e.on("results:focus",function(e){r.$selection.attr("aria-activedescendant",e.data._resultId);}),e.on("selection:update",function(e){r.update(e.data);}),e.on("open",function(){r.$selection.attr("aria-expanded","true"),r.$selection.attr("aria-owns",i),r._attachCloseHandler(e);}),e.on("close",function(){r.$selection.attr("aria-expanded","fal
3se"),r.$selection.removeAttr("aria-activedescendant"),r.$selection.removeAttr("aria-owns"),r.$selection.trigger("focus"),r._detachCloseHandler(e);}),e.on("enable",function(){r.$selection.attr("tabindex",r._tabindex),r.$selection.attr("aria-disabled","false");}),e.on("disable",function(){r.$selection.attr("tabindex","-1"),r.$selection.attr("aria-disabled","true");});},r.prototype._handleBlur=function(t){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t);},1);},r.prototype._attachCloseHandler=function(n){e(document.body).on("mousedown.select2."+n.id,function(n){var r=e(n.target).closest(".select2");e(".select2.select2-container--open").each(function(){this!=r[0]&&t.GetData(this,"element").select2("close");});});},r.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id);},r.prototype.position=function(e,t){t.find(".selection").append(e);},r.prototype.destroy=function(){this._detachCloseHandler(this.container);},r.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.");},r.prototype.isEnabled=function(){return !this.isDisabled();},r.prototype.isDisabled=function(){return this.options.get("disabled");},r;}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,r){function i(){i.__super__.constructor.apply(this,arguments);}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e;},i.prototype.bind=function(e,t){var n=this;i.__super__.bind.apply(this,arguments);var r=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",r),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e});}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),e.on("focus",function(t){e.isOpen()||n.$selection.trigger("focus");});},i.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title");},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t));},i.prototype.selectionContainer=function(){return e("<span></span>");},i.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),r=this.display(t,n);n.empty().append(r);var i=t.title||t.text;i?n.attr("title",i):n.removeAttr("title");}else this.clear();},i;}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(e,t,n){function r(e,t){r.__super__.constructor.apply(this,arguments);}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e;},r.prototype.bind=function(t,i){var o=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){o.trigger("toggle",{originalEvent:e});}),this.$selection.on("click",".select2-selection__choice__remove",function(t){if(!o.isDisabled()){var r=e(this).parent(),i=n.GetData(r[0],"data");o.trigger("unselect",{originalEvent:t,data:i});}});},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title");},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t));},r.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>');},r.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],r=0;r<e.length;r++){var i=e[r],o=this.selectionContainer(),s=this.display(i,o);o.append(s);var a=i.title||i.text;a&&o.attr("title",a),n.StoreData(o[0],"data",i),t.push(o);}var l=this.$selection.find(".select2-selection__rendered");n.appendMany(l,t);}},r;}),t.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n);}return t.prototype.normalizePlaceholder=function(e,t){return "string"==typeof t&&(t={id:"",text:t}),t;},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n;},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||n)return e.call(this,t);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r);},t;}
3),t.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(e,t,n){function r(){}return r.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){r._handleClear(e);}),t.on("keypress",function(e){r._handleKeyboardClear(e,t);});},r.prototype._handleClear=function(e,t){if(!this.isDisabled()){var r=this.$selection.find(".select2-selection__clear");if(0!==r.length){t.stopPropagation();var i=n.GetData(r[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var s={data:i};if(this.trigger("clear",s),s.prevented)this.$element.val(o);else{for(var a=0;a<i.length;a++)if(s={data:i[a]},this.trigger("unselect",s),s.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{});}}}},r.prototype._handleKeyboardClear=function(e,n,r){r.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n);},r.prototype.update=function(t,r){if(t.call(this,r),!(0<this.$selection.find(".select2-selection__placeholder").length||0===r.length)){var i=this.options.get("translations").get("removeAllItems"),o=e('<span class="select2-selection__clear" title="'+i()+'">×</span>');n.StoreData(o[0],"data",r),this.$selection.find(".select2-selection__rendered").prepend(o);}},r;}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(e,t,n){function r(e,t,n){e.call(this,t,n);}return r.prototype.render=function(t){var n=e('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var r=t.call(this);return this._transferTabIndex(),r;},r.prototype.bind=function(e,r,i){var o=this,s=r.id+"-results";e.call(this,r,i),r.on("open",function(){o.$search.attr("aria-controls",s),o.$search.trigger("focus");}),r.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus");}),r.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex();}),r.on("disable",function(){o.$search.prop("disabled",!0);}),r.on("focus",function(e){o.$search.trigger("focus");}),r.on("results:focus",function(e){e.data._resultId?o.$search.attr("aria-activedescendant",e.data._resultId):o.$search.removeAttr("aria-activedescendant");}),this.$selection.on("focusin",".select2-search--inline",function(e){o.trigger("focus",e);}),this.$selection.on("focusout",".select2-search--inline",function(e){o._handleBlur(e);}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===o.$search.val()){var r=o.$searchContainer.prev(".select2-selection__choice");if(0<r.length){var i=t.GetData(r[0],"data");o.searchRemoveChoice(i),e.preventDefault();}}}),this.$selection.on("click",".select2-search--inline",function(e){o.$search.val()&&e.stopPropagation();});var a=document.documentMode,l=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){l?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search");}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(l&&"input"===e.type)o.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&o.handleSearch(e);}});},r.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1");},r.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text);},r.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus");},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e});}this._keyUpPrevented=!1;},r.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch();},r.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";e=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",e);},r;}),t.define("select2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,n,r){var i=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];t.call(this,n,r),n.on("*",function(t,n){if(-1!==e.inArray(t,o)){n=n||{};var r=e.Event("select2:"+t,{params:n});i.$element.trigger(r),-1!==e.inArray(t,s)&&(n.prevented=r.isDefaultPrevented());}});},t;}),t.define("select2/translation",["jquery","require"],function(e,t){function n(e){this.dict=e||{};}return n.prototype.all=function(){return this.dict;},n.prototype.get=function(e){return this.dict[e];},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict);},n._cache={}
3,n.loadPath=function(e){if(!(e in n._cache)){var r=t(e);n._cache[e]=r;}return new n(n._cache[e]);},n;}),t.define("select2/diacritics",[],function(){return {"â¶":"A",A:"A",Ã:"A",Ã:"A",Ã:"A",Ầ:"A",Ấ:"A",Ẫ:"A",Ẩ:"A",Ã:"A",Ä:"A",Ä:"A",Ằ:"A",Ắ:"A",Ẵ:"A",Ẳ:"A",Ȧ:"A",Ç :"A",Ã:"A",Ç:"A",Ả:"A",Ã
:"A",Ǻ:"A",Ç:"A",È:"A",È:"A",Ạ:"A",Ậ:"A",Ặ:"A",á¸:"A",Ä:"A",Ⱥ:"A",Ɐ:"A",ê²:"AA",Ã:"AE",Ǽ:"AE",Ç¢:"AE",ê´:"AO",ê¶:"AU",ê¸:"AV",êº:"AV",ê¼:"AY","â·":"B",ï¼¢:"B",á¸:"B",á¸:"B",á¸:"B",É:"B",Æ:"B",Æ:"B","â¸":"C",ï¼£:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ã:"C",á¸:"C",Æ:"C",È»:"C",ê¾:"C","â¹":"D",D:"D",á¸:"D",Ä:"D",á¸:"D",á¸:"D",á¸:"D",á¸:"D",Ä:"D",Æ:"D",Æ:"D",Æ:"D",ê¹:"D",DZ:"DZ",Ç:"DZ",Dz:"Dz",Ç
:"Dz","âº":"E",ï¼¥:"E",Ã:"E",Ã:"E",Ã:"E",á»:"E",Ế:"E",á»:"E",á»:"E",Ẽ:"E",Ä:"E",á¸:"E",á¸:"E",Ä:"E",Ä:"E",Ã:"E",Ẻ:"E",Ä:"E",È:"E",È:"E",Ẹ:"E",á»:"E",Ȩ:"E",á¸:"E",Ä:"E",á¸:"E",á¸:"E",Æ:"E",Æ:"E","â»":"F",F:"F",á¸:"F",Æ:"F",ê»:"F","â¼":"G",ï¼§:"G",Ç´:"G",Ä:"G",Ḡ:"G",Ä:"G",Ä :"G",Ǧ:"G",Ä¢:"G",Ǥ:"G",Æ:"G",ê :"G",ê½:"G",ê¾:"G","â½":"H",H:"H",Ĥ:"H",Ḣ:"H",Ḧ:"H",È:"H",Ḥ:"H",Ḩ:"H",Ḫ:"H",Ħ:"H",â±§:"H",â±µ:"H",ê:"H","â¾":"I",I:"I",Ã:"I",Ã:"I",Ã:"I",Ĩ:"I",Ī:"I",Ĭ:"I",İ:"I",Ã:"I",Ḯ:"I",á»:"I",Ç:"I",È:"I",È:"I",á»:"I",Ä®:"I",Ḭ:"I",Æ:"I","â¿":"J",J:"J",Ä´:"J",É:"J","â":"K",K:"K",Ḱ:"K",Ǩ:"K",Ḳ:"K",Ķ:"K",Ḵ:"K",Æ:"K",Ⱪ:"K",ê:"K",ê:"K",ê:"K",ê¢:"K","â":"L",L:"L",Ä¿:"L",Ĺ:"L",Ľ:"L",Ḷ:"L",Ḹ:"L",Ä»:"L",Ḽ:"L",Ḻ:"L",Å:"L",Ƚ:"L",â±¢:"L",â± :"L",ê:"L",ê:"L",ê:"L",Ç:"LJ",Ç:"Lj","â":"M",ï¼:"M",Ḿ:"M",á¹:"M",á¹:"M",â±®:"M",Æ:"M","â":"N",ï¼®:"N",Ǹ:"N",Å:"N",Ã:"N",á¹:"N",Å:"N",á¹:"N",Å
:"N",á¹:"N",á¹:"N",È :"N",Æ:"N",ê:"N",ê¤:"N",Ç:"NJ",Ç:"Nj","â":"O",O:"O",Ã:"O",Ã:"O",Ã:"O",á»:"O",á»:"O",á»:"O",á»:"O",Ã:"O",á¹:"O",Ȭ:"O",á¹:"O",Å:"O",á¹:"O",á¹:"O",Å:"O",È®:"O",Ȱ:"O",Ã:"O",Ȫ:"O",á»:"O",Å:"O",Ç:"O",È:"O",È:"O",Æ :"O",á»:"O",á»:"O",á» :"O",á»:"O",Ợ:"O",á»:"O",á»:"O",Ǫ:"O",Ǭ:"O",Ã:"O",Ǿ:"O",Æ:"O",Æ:"O",ê:"O",ê:"O",Å:"OE",Æ¢:"OI",ê:"OO",È¢:"OU","â
":"P",ï¼°:"P",á¹:"P",á¹:"P",Ƥ:"P",â±£:"P",ê:"P",ê:"P",ê:"P","â":"Q",ï¼±:"Q",ê:"Q",ê:"Q",É:"Q","â":"R",ï¼²:"R",Å:"R",á¹:"R",Å:"R",È:"R",È:"R",á¹:"R",á¹:"R",Å:"R",á¹:"R",É:"R",Ɽ:"R",ê:"R",ê¦:"R",ê:"R","â":"S",ï¼³:"S",áº:"S",Å:"S",Ṥ:"S",Å:"S",á¹ :"S",Å :"S",Ṧ:"S",á¹¢:"S",Ṩ:"S",È:"S",Å:"S",â±¾:"S",ê¨:"S",ê:"S","â":"T",ï¼´:"T",Ṫ:"T",Ť:"T",Ṭ:"T",È:"T",Å¢:"T",á¹°:"T",á¹®:"T",Ŧ:"T",Ƭ:"T",Æ®:"T",Ⱦ:"T",ê:"T",ê¨:"TZ","â":"U",ï¼µ:"U",Ã:"U",Ã:"U",Ã:"U",Ũ:"U",Ṹ:"U",Ū:"U",Ṻ:"U",Ŭ:"U",Ã:"U",Ç:"U",Ç:"U",Ç:"U",Ç:"U",Ủ:"U",Å®:"U",Ű:"U",Ç:"U",È:"U",È:"U",Ư:"U",Ừ:"U",Ứ:"U",á»®:"U",Ử:"U",á»°:"U",Ụ:"U",á¹²:"U",Ų:"U",á¹¶:"U",á¹´:"U",É:"U","â":"V",ï¼¶:"V",á¹¼:"V",á¹¾:"V",Ʋ:"V",ê:"V",É
:"V",ê :"VY","â":"W",ï¼·:"W",áº:"W",áº:"W",Å´:"W",áº:"W",áº:"W",áº:"W",â±²:"W","â":"X",X:"X",áº:"X",áº:"X","â":"Y",ï¼¹:"Y",Ỳ:"Y",Ã:"Y",Ŷ:"Y",Ỹ:"Y",Ȳ:"Y",áº:"Y",Ÿ:"Y",á»¶:"Y",á»´:"Y",Ƴ:"Y",É:"Y",Ỿ:"Y","â":"Z",Z:"Z",Ź:"Z",áº:"Z",Å»:"Z",Ž:"Z",áº:"Z",áº:"Z",Ƶ:"Z",Ȥ:"Z",Ɀ:"Z",Ⱬ:"Z",ê¢:"Z","â":"a",ï½:"a",áº:"a",à :"a",á:"a",â:"a",ầ:"a",ấ:"a",ẫ:"a",ẩ:"a",ã:"a",Ä:"a",Ä:"a",ằ:"a",ắ:"a",ẵ:"a",ẳ:"a",ȧ:"a",Ç¡:"a",ä:"a",Ç:"a",ả:"a",Ã¥:"a",Ç»:"a",Ç:"a",È:"a",È:"a",ạ:"a",áº:"a",ặ:"a",á¸:"a",Ä
:"a",â±¥:"a",É:"a",ê³:"aa",æ:"ae",ǽ:"ae",Ç£:"ae",êµ:"ao",ê·:"au",ê¹:"av",ê»:"av",ê½:"ay","â":"b",ï½:"b",á¸:"b",á¸
:"b",á¸:"b",Æ:"b",Æ:"b",É:"b","â":"c",ï½:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"c",ç:"c",á¸:"c",Æ:"c",ȼ:"c",ê¿:"c",â:"c","â":"d",ï½:"d",á¸:"d",Ä:"d",á¸:"d",á¸:"d",á¸:"d",á¸:"d",Ä:"d",Æ:"d",É:"d",É:"d",êº:"d",dz:"dz",Ç:"dz","â":"e",ï½
:"e",è:"e",é:"e",ê:"e",á»:"e",ế:"e",á»
:"e",á»:"e",ẽ:"e",Ä:"e",á¸:"e",á¸:"e",Ä:"e",Ä:"e",ë:"e",ẻ:"e",Ä:"e",È
:"e",È:"e",ẹ:"e",á»:"e",È©:"e",á¸:"e",Ä:"e",á¸:"e",á¸:"e",É:"e",É:"e",Ç:"e","â":"f",ï½:"f",á¸:"f",Æ:"f",ê¼:"f","â":"g",ï½:"g",ǵ:"g",Ä:"g",ḡ:"g",Ä:"g",Ä¡:"g",ǧ:"g",Ä£:"g",Ç¥:"g",É :"g",ê¡:"g",áµ¹:"g",ê¿:"g","â":"h",ï½:"h",Ä¥:"h",ḣ:"h",ḧ:"h",È:"h",ḥ:"h",ḩ:"h",ḫ:"h",áº:"h",ħ:"h",ⱨ:"h",â±¶:"h",É¥:"h",Æ:"hv","â":"i",ï½:"i",ì:"i",Ã:"i",î:"i",Ä©:"i",Ä«:"i",Ä:"i",ï:"i",ḯ:"i",á»:"i",Ç:"i",È:"i",È:"i",á»:"i",į:"i",á¸:"i",ɨ:"i",ı:"i","â":"j",ï½:"j",ĵ:"j",ǰ:"j",É:"j","â":"k",ï½:"k",ḱ:"k",Ç©:"k",ḳ:"k",Ä·:"k",ḵ:"k",Æ:"k",ⱪ:"k",ê:"k",ê:"k",ê
:"k",ê£:"k","â"
3:"l",ï½:"l",Å:"l",ĺ:"l",ľ:"l",ḷ:"l",ḹ:"l",ļ:"l",ḽ:"l",ḻ:"l",Å¿:"l",Å:"l",Æ:"l",É«:"l",ⱡ:"l",ê:"l",ê:"l",ê:"l",Ç:"lj","â":"m",ï½:"m",ḿ:"m",á¹:"m",á¹:"m",ɱ:"m",ɯ:"m","â":"n",ï½:"n",ǹ:"n",Å:"n",ñ:"n",á¹
:"n",Å:"n",á¹:"n",Å:"n",á¹:"n",á¹:"n",Æ:"n",ɲ:"n",Å:"n",ê:"n",ê¥:"n",Ç:"nj","â":"o",ï½:"o",ò:"o",ó:"o",ô:"o",á»:"o",á»:"o",á»:"o",á»:"o",õ:"o",á¹:"o",È:"o",á¹:"o",Å:"o",á¹:"o",á¹:"o",Å:"o",ȯ:"o",ȱ:"o",ö:"o",È«:"o",á»:"o",Å:"o",Ç:"o",È:"o",È:"o",Æ¡:"o",á»:"o",á»:"o",ỡ:"o",á»:"o",ợ:"o",á»:"o",á»:"o",Ç«:"o",Ç:"o",ø:"o",Ç¿:"o",É:"o",ê:"o",ê:"o",ɵ:"o",Å:"oe",Æ£:"oi",È£:"ou",ê:"oo","â":"p",ï½:"p",á¹:"p",á¹:"p",Æ¥:"p",áµ½:"p",ê:"p",ê:"p",ê:"p","â ":"q",ï½:"q",É:"q",ê:"q",ê:"q","â¡":"r",ï½:"r",Å:"r",á¹:"r",Å:"r",È:"r",È:"r",á¹:"r",á¹:"r",Å:"r",á¹:"r",É:"r",ɽ:"r",ê:"r",ê§:"r",ê:"r","â¢":"s",ï½:"s",Ã:"s",Å:"s",á¹¥:"s",Å:"s",ṡ:"s",Å¡:"s",á¹§:"s",á¹£:"s",ṩ:"s",È:"s",Å:"s",È¿:"s",ê©:"s",ê
:"s",áº:"s","â£":"t",ï½:"t",ṫ:"t",áº:"t",Å¥:"t",á¹:"t",È:"t",Å£:"t",á¹±:"t",ṯ:"t",ŧ:"t",Æ:"t",Ê:"t",ⱦ:"t",ê:"t",ê©:"tz","â¤":"u",ï½:"u",ù:"u",ú:"u",û:"u",Å©:"u",á¹¹:"u",Å«:"u",á¹»:"u",Å:"u",ü:"u",Ç:"u",Ç:"u",Ç:"u",Ç:"u",á»§:"u",ů:"u",ű:"u",Ç:"u",È:"u",È:"u",ư:"u",ừ:"u",ứ:"u",ữ:"u",á»:"u",á»±:"u",ụ:"u",á¹³:"u",ų:"u",á¹·:"u",á¹µ:"u",Ê:"u","â¥":"v",ï½:"v",á¹½:"v",ṿ:"v",Ê:"v",ê:"v",Ê:"v",ê¡:"vy","â¦":"w",ï½:"w",áº:"w",áº:"w",ŵ:"w",áº:"w",áº
:"w",áº:"w",áº:"w",â±³:"w","â§":"x",ï½:"x",áº:"x",áº:"x","â¨":"y",ï½:"y",ỳ:"y",ý:"y",Å·:"y",ỹ:"y",ȳ:"y",áº:"y",ÿ:"y",á»·:"y",áº:"y",ỵ:"y",Æ´:"y",É:"y",ỿ:"y","â©":"z",ï½:"z",ź:"z",áº:"z",ż:"z",ž:"z",áº:"z",áº:"z",ƶ:"z",È¥:"z",É:"z",ⱬ:"z",ê£:"z",Î:"Î",Î:"Î",Î:"Î",Î:"Î",Ϊ:"Î",Î:"Î",Î:"Î¥",Ϋ:"Î¥",Î:"Ω",ά:"α",Î:"ε",ή:"η",ί:"ι",Ï:"ι",Î:"ι",Ï:"ο",Ï:"Ï
",Ï:"Ï
",ΰ:"Ï
",Ï:"Ï",Ï:"Ï","â":"'"};}),t.define("select2/data/base",["../utils"],function(e){function t(e,n){t.__super__.constructor.call(this);}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.");},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.");},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var r=t.id+"-result-";return r+=e.generateChars(4),null!=n.id?r+="-"+n.id.toString():r+="-"+e.generateChars(4),r;},t;}),t.define("select2/data/select",["./base","../utils","jquery"],function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this);}return t.Extend(r,e),r.prototype.current=function(e){var t=[],r=this;this.$element.find(":selected").each(function(){var e=n(this),i=r.item(e);t.push(i);}),e(t);},r.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(r){var i=[];(e=[e]).push.apply(e,r);for(var o=0;o<e.length;o++){var s=e[o].id;-1===n.inArray(s,i)&&i.push(s);}t.$element.val(i),t.$element.trigger("input").trigger("change");});else{var r=e.id;this.$element.val(r),this.$element.trigger("input").trigger("change");}},r.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,n(e.element).is("option"))return e.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(r){for(var i=[],o=0;o<r.length;o++){var s=r[o].id;s!==e.id&&-1===n.inArray(s,i)&&i.push(s);}t.$element.val(i),t.$element.trigger("input").trigger("change");});}},r.prototype.bind=function(e,t){var n=this;(this.container=e).on("select",function(e){n.select(e.data);}),e.on("unselect",function(e){n.unselect(e.data);});},r.prototype.destroy=function(){this.$element.find("*").each(function(){t.RemoveData(this);});},r.prototype.query=function(e,t){var r=[],i=this;this.$element.children().each(function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var o=i.item(t),s=i.matches(e,o);null!==s&&r.push(s);}}),t({results:r});},r.prototype.addOptions=function(e){t.appendMany(this.$element,e);},r.prototype.option=function(e){var r;e.children?(r=document.createElement("optgroup")).label=e.text:void 0!==(r=document.createElement("option")).textContent?r.textContent=e.text:r.innerText=e.text,void 0!==e.id&&(r.value=e.id),e.disabled&&(r.disabled=!0),e.selected&&(r.selected=!0),e.title&&(r.title=e.title);var i=n(r),o=this._normalizeItem(e);return o.element=r,t.StoreData(r,"data",o),i;},r.prototype.item=function(e){var r={};if(null!=(r=t.GetData(e[0],"data")))return r;if(e.is("option"))r={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else{if(e.is("optgroup")){r={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),o=[],s=0;s<i.length;s++){var a=n(i[s]),l=this.item(a);o.push(l);}r.children=o;}}return (r=this._normalizeItem(r)).element=e[0],t.StoreData(e[0],"data",r),r;},r.prototype._normalizeItem=function(e){return e!==Object(e)&&(e={id:e,text:e}),null!=(e=n.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},{selected:!1,disabled:!1},e);},r.prototype.matches=function(e,t){return this.options.get("matcher")(e,t);},r;}),t.define("select2/data/array",["./select","../utils","jquery"],function(e,t,n){function r(e,t){this._dataToConvert=t.get("data")||[],r.__super__.constructor.call(this,e,t);}return t.Extend(r,e),r.prototype.bind=function(e,t){r.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert));},r.prototype.select=function(e){var t=this.$element.find("option").filter(function(t,n){return n.value==e.id.toString();});0===t.length&&(t=this.option(e),this.addOptions(t)),r.__super__.select.call(this,e);},r.prototype.convertToOptions=function(e){var r=this,i=this.$element.find("option"),o=i.map(function(){return r.item(n(this)).id;}).get(),s=[];function a(e){return function(){return n(this).val()==e.id;};}for(var l=0;l<e.length;l++){var c=this._normalizeItem(e[l]);if(0<=n.inArray(c.id,o)){var u=i.filter(a(c)),d=this.item(u),p=n.extend(!0,{},c,d),h=this.option(p);u.replaceWith(h);}else{var f=this.option(c);if(c.children){var g=this.convertToOptions(c.children);t.appendMany(f,g);}s.push(f);}}return s;},r;}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,n){function r(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,e,t);}return t.Extend(r,e),r.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term});},transport:function(e,t,r){var i=n.ajax(e);return i.then(t),i.fail(r),i;}};return n.extend({},t,e,!0);},r.prototype.processResults=function(e){return e;},r.prototype.query=function(e,t){var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var i=n.extend({type:"GET"},this.ajaxOptions);function o(){var o=i.transport(i,function(i){var o=r.processResults(i,e);r.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(o);},function(){"status" in o&&(0===o.status||"0"===o.status)||r.trigger("results:message",{message:"errorLoading"});});r._request=o;}"function"==typeof i.url&&(i.url=i.url.call(this.$element,e)),"function"==typeof i.data&&(i.data=i.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o();},r;}),t.define("select2/data/tags",["jquery"],function(e){function t(t,n,r){var i=r.get("tags"),o=r.get("createTag");void 0!==o&&(this.createTag=o);var s=r.get("insertTag");if(void 0!==s&&(this.insertTag=s),t.call(this,n,r),e.isArray(i))for(var a=0;a<i.length;a++){var l=i[a],c=this._normalizeItem(l),u=this.option(c);this.$element.append(u);}}return t.prototype.query=function(e,t,n){var r=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,function e(i,o){for(var s=i.results,a=0;a<s.length;a++){var l=s[a],c=null!=l.children&&!e({results:l.children},!0);if((l.text||"").toUpperCase()===(t.term||"").toUpperCase()||c)return !o&&(i.data=s,void n(i));}if(o)return !0;var u=r.createTag(t);if(null!=u){var d=r.option(u);d.attr("data-select2-tag",!0),r.addOptions([d]),r.insertTag(s,u);}i.results=s,n(i);}):e.call(this,t,n);},t.prototype.createTag=function(t,n){var r=e.trim(n.term);return ""===r?null:{id:r,text:r};},t.prototype.insertTag=function(e,t,n){t.unshift(n);},t.prototype._removeOldTags=function(t){this.$element.find("option[data-select2-tag]").each(function(){this.selected||e(this).remove();});},t;}),t.define("select2/data/tokenizer",["jquery"],function(e){function t(e,t,n){var r=n.get("tokenizer");void 0!==r&&(this.tokenizer=r),e.call(this,t,n);}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field");},t.prototype.query=function(t,n,r){var i=this;n.term=n.term||"";var o=this.tokenizer(n,this.options,function(t){var n=i._normalizeItem(t);if(!i.$element.find("option").filter(function(){return e(this).val()===n.id;}).length){var r=i.option(n);r.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([r]);}!function(e){i.trigger("select",{data:e});}(n);});o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),n.term=o.term),t.call(this,n,r);},t.prototype.tokenizer=function(t,n,r,i){for(var o=r.get("tokenSeparators")||[],s=n.term,a=0,l=this.createTag||function(e){return {id:e.term,text:e.term};};a<s.length;){var c=s[a];if(-1!==e.inArray(c,o)){var u=s.substr(0,a),d=l(e.extend({},n,{term:u}));null!=d?(i(d),s=s.substr(a+1)||"",a=0):a++;}else a++;}return {term:s};},t;}),t.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n);}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n);},e;}),t.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n);}return e.prototype.query=function(e,t,n){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n);},e;}),t.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n);}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",function(){r._checkIfMaximumSelected();});},e.prototype.query=function(e,t,n){var r=this;this._checkIfMaximumSelected(function(){e.call(r,t,n);});},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current(function(e){var r=null!=e?e.length:0;0<n.maximumSelectionLength&&r>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t&&t();});},e;}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this);}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t;},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove();},n;}),t.define("select2/dropdown/search",["jquery","../utils"],function(e,t){function n(){}return n.prototype.render=function(t){var n=t.call(this),r=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=r,this.$search=r.find("input"),n.prepend(r),n;},n.prototype.bind=function(t,n,r){var i=this,o=n.id+"-results";t.call(this,n,r),this.$search.on("keydown",function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented();}),this.$search.on("input",function(t){e(this).off("keyup");}),this.$search.on("keyup input",function(e){i.handleSearch(e);}),n.on("open",function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",o),i.$search.trigger("focus"),window.setTimeout(function(){i.$search.trigger("focus");},0);}),n.on("close",function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur");}),n.on("focus",function(){n.isOpen()||i.$search.trigger("focus");}),n.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(i.showSearch(e)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"));}),n.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant");});},n.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t});}this._keyUpPrevented=!1;},n.prototype.showSearch=function(e,t){return !0;},n;}),t.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,r){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,r);}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t);},e.prototype.normalizePlaceholder=function(e,t){return "string"==typeof t&&(t={id:"",text:t}),t;},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),r=t.length-1;0<=r;r--){var i=t[r];this.placeholder.id===i.id&&n.splice(r,1);}return n;},e;}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,n,r){this.lastParams={},e.call(this,t,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1;}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded());},t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("query",function(e){r.lastParams=e,r.loading=!0;}),t.on("query:append",function(e){r.lastParams=e,r.loading=!0;}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this));},t.prototype.loadMoreIfNeeded=function(){var t=e.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&t){var n=this.$results.offset().top+this.$results.outerHeight(!1);this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=n+50&&this.loadMore();}},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t);},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more;},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t;},t;}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(e,t){function n(t,n,r){this.$dropdownParent=e(r.get("dropdownParent")||document.body),t.call(this,n,r);}return n.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("open",function(){r._showDropdown(),r._attachPositioningHandler(t),r._bindContainerResultHandlers(t);}),t.on("close",function(){r._hideDropdown(),r._detachPositioningHandler(t);}),this.$dropdownContainer.on("mouse
3down",function(e){e.stopPropagation();});},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove();},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n;},n.prototype.render=function(t){var n=e("<span></span>"),r=t.call(this);return n.append(r),this.$dropdownContainer=n;},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach();},n.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown();}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown();}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown();}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown();}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown();}),this._containerResultsHandlersBound=!0;}},n.prototype._attachPositioningHandler=function(n,r){var i=this,o="scroll.
3select2."+r.id,s="resize.select2."+r.id,a="orientationchange.select2."+r.id,l=this.$container.parents().filter(t.hasScroll);l.each(function(){t.StoreData(this,"select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()});}),l.on(o,function(n){var r=t.GetData(this,"select2-scroll-position");e(this).scrollTop(r.y);}),e(window).on(o+" "+s+" "+a,function(e){i._positionDropdown(),i._resizeDropdown();});},n.prototype._detachPositioningHandler=function(n,r){var i="scroll.select2."+r.id,o="resize.select2."+r.id,s="orientationchange.select2."+r.id;this.$container.parents().filter(t.hasScroll).off(i),e(window).off(i+" "+o+" "+s);},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("select2-dropdown--above"),r=this.$dropdown.hasClass("select2-dropdown--below"),i=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=o.top,s.bottom=o.top+s.height;var a=this.$dropdown.outerHeight(!1),l=t.scrollTop(),c=t.scrollTop()+t.height(),u=l<o.top-a,d=c>o.bottom+a,p={left:o.left,top:s.bottom},h=this.$dropdownParent;"static"===h.css("position")&&(h=h.offsetParent());var f={top:0,left:0};(e.contains(document.body,h[0])||h[0].isConnected)&&(f=h.offset()),p.top-=f.top,p.left-=f.left,n||r||(i="below"),d||!u||n?!u&&d&&n&&(i="below"):i="above",("above"==i||n&&"below"!==i)&&(p.top=s.top-f.top-a),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(p);},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e);},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown();},n;}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,n,r){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,r);}return e.prototype.showSearch=function(e,t){return !(function e(t){for(var n=0,r=0;r<t.length;r++){var i=t[r];i.children?n+=e(i.children):n++;}return n;}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t);},e;}),t.define("select2/dropdown/selectOnClose",["../utils"],function(e){function t(){}return t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("close",function(e){r._handleSelectOnClose(e);});},t.prototype._handleSelectOnClose=function(t,n){if(n&&null!=n.originalSelect2Event){var r=n.originalSelect2Event;if("select"===r._type||"unselect"===r._type)return;}var i=this.getHighlightedResults();if(!(i.length<1)){var o=e.GetData(i[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o});}},t;}),t.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",function(e){r._selectTriggered(e);}),t.on("unselect",function(e){r._selectTriggered(e);});},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t});},e;}),t.define("select2/i18n/en",[],function(){return {errorLoading:function(){return "The results could not be loaded.";},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n;},inputTooShort:function(e){return "Please enter "+(e.minimum-e.input.length)+" or more characters";},loadingMore:function(){return "Loading more resultsâ¦";},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t;},noResults:function(){return "No results found";},searching:function(){return "Searchingâ¦";},removeAllItems:function(){return "Remove all items";}};}),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(e,t,n,r,i,o,s,a,l,c,u,d,p,h,f,g,m,v,y,_,$,b,w,A,x,D,S,E,C){function O(){this.reset();}return O.prototype.apply=function(u){if(null==(u=e.extend(!0,{},this.defaults,u)).dataAdapter){if(null!=u.ajax?u.dataAdapter=f:null!=u.data?u.dataAdapter=h:u.dataAdapter=p,0<u.minimumInputLength&&(u.dataAdapter=c.Decorate(u.dataAdapter,v)),0<u.maximumInputLength&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),0<u.maximumSelectionLength&&(u.dataAdapter=c.Decorate(u.dataAdapter,_)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,g)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=c.Decorate(u.dataAdapter,m)),null!=u.query){var d=t(u.amdBase+"compat/query");u.dataAdapter=c.Decorate(u.dataAdapter,d);}if(null!=u.initSelection){var C=t(u.amdBase+"compat/initSelection");u.dataAdapter=c.Decorate(u.dataAdapter,C);}}if(null==u.resultsAdapter&&(u.resultsAdapter=n,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,A)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,w)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,S))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=$;else{var O=c.Decorate($,b);u.dropdownAdapter=O;}if(0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,D)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,E)),null!=u.dropdownCssClass||null!=u.dropdownCss||null!=u.adaptDropdownCssClass){var T=t(u.amdBase+"compat/dropdownCss");u.dropdownAdapter=c.Decorate(u.dropdownAdapter,T);}u.dropdownAdapter=c.Decorate(u.dropdownAdapter,x);}if(null==u.selectionAdapter){if(u.multiple?u.selectionAdapter=i:u.selectionAdapter=r,
3null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,o)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,s)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,a)),null!=u.containerCssClass||null!=u.containerCss||null!=u.adaptContainerCssClass){var q=t(u.amdBase+"compat/containerCss");u.selectionAdapter=c.Decorate(u.selectionAdapter,q);}u.selectionAdapter=c.Decorate(u.selectionAdapter,l);}u.language=this._resolveLanguage(u.language),u.language.push("en");for(var L=[],I=0;I<u.language.length;I++){var j=u.language[I];-1===L.indexOf(j)&&L.push(j);}return u.language=L,u.translations=this._processTranslations(u.language,u.debug),u;},O.prototype.reset=function(){function t(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return d[e]||e;});}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:{},matcher:function n(r,i){if(""===e.trim(r.term))return i;if(i.children&&0<i.children.length){for(var o=e.extend(!0,{},i),s=i.children.length-1;0<=s;s--)null==n(r,i.children[s])&&o.children.splice(s,1);return 0<o.children.length?o:n(r,o);}var a=t(i.text).toUpperCase(),l=t(r.term).toUpperCase();return -1<a.indexOf(l)?i:null;},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e;},templateResult:function(e){return e.text;},templateSelection:function(e){return e.text;},theme:"default",width:"resolve"};},O.prototype.applyFromElement=function(e,t){var n=e.language,r=this.defaults.language,i=t.prop("lang"),o=t.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(o));return e.language=s,e;},O.prototype._resolveLanguage=function(t){if(!t)return [];if(e.isEmptyObject(t))return [];if(e.isPlainObject(t))return [t];var n;n=e.isArray(t)?t:[t];for(var r=[],i=0;i<n.length;i++)if(r.push(n[i]),"string"==typeof n[i]&&0<n[i].indexOf("-")){var o=n[i].split("-")[0];r.push(o);}return r;},O.prototype._processTranslations=function(t,n){for(var r=new u(),i=0;i<t.length;i++){var o=new u(),s=t[i];if("string"==typeof s)try{o=u.loadPath(s);}catch(t){try{s=this.defaults.amdLanguageBase+s,o=u.loadPath(s);}catch(t){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+s+'" could not be automatically loaded. A fallback will be used instead.');}}else o=e.isPlainObject(s)?new u(s):s;r.extend(o);}return r;},O.prototype.set=function(t,n){var r={};r[e.camelCase(t)]=n;var i=c._convertData(r);e.extend(!0,this.defaults,i);},new O();}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(e,t,n,r){function i(t,i){if(this.options=t,null!=i&&this.fromElement(i),null!=i&&(this.options=n.applyFromElement(this.options,i)),this.options=n.apply(this.options),i&&i.is("input")){var o=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=r.Decorate(this.options.dataAdapter,o);}}return i.prototype.fromElement=function(e){var n=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),r.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),r.StoreData(e[0],"data",r.GetData(e[0],"select2Tags")),r.StoreData(e[0],"tags",!0)),r.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",r.GetData(e[0],"ajaxUrl")),r.StoreData(e[0],"ajax-Url",r.GetData(e[0],"ajaxUrl")));var i={};function o(e,t){return t.toUpperCase();}for(var s=0;s<e[0].attributes.length;s++){var a=e[0].attributes[s].name,l="data-";if(a.substr(0,5)==l){var c=a.substring(5),u=r.GetData(e[0],c);i[c.replace(/-([a-z])/g,o)]=u;}}t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset&&(i=t.extend(!0,{},e[0].dataset,i));var d=t.extend(!0,{},r.GetData(e[0]),i);for(var p in d=r._convertData(d))-1<t.inArray(p,n)||(t.isPlainObject(this.options[p])?t.extend(this.options[p],d[p]):this.options[p]=d[p]);return this;},i.prototype.get=function(e){return this.options[e];},i.prototype.set=function(e,t){this.options[e]=t;},i;}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(e,t,n,r){var i=function(e,r){null!=n.GetData(e[0],"select2")&&n.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),r=r||{},this.options=new t(r,e),i.__super__.constructor.call(this);var o=e.attr("tabindex")||0;n.StoreData(e[0],"old-tabindex",o),e.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(e,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var c=this.options.get("dropdownAdapter");this.dropdown=new c(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var u=this.options.get("resultsAdapter");this.results=new u(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){d.trigger("selection:update",{data:e});}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(e[0],"select2",this),e.data("select2",this);};return n.Extend(i,n.Observable),i.prototype._generateId=function(e){return "select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"");},i.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t);},i.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var r=this._resolveWidth(e,"style");return null!=r?r:this._resolveWidth(e,"element");}if("element"==t){var i=e.outerWidth(!1);return i<=0?"auto":i+"px";}if("style"!=t)return "computedstyle"!=t?t:window.getComputedStyle(e[0]).width;var o=e.attr("style");if("string"!=typeof o)return null;for(var s=o.split(";"),a=0,l=s.length;a<l;a+=1){var c=s[a].replace(/\s/g,"").match(n);if(null!==c&&1<=c.length)return c[1];}return null;},i.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container);},i.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t});});}),this.$element.on("focus.select2",function(t){e.trigger("focus",t);}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=t?(this._observer=new t(function(t){e._syncA(),e._syncS(null,t);}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1));},i.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,n){e.trigger(t,n);});},i.prototype._registerSelectionEvents=function(){var t=this,n=["toggle","focus"];this.selection.on("toggle",function(){t.toggleDropdown();}),this.selection.on("focus",function(e){t.focus(e);}),this.selection.on("*",function(r,i){-1===e.inArray(r,n)&&t.trigger(r,i);});},i.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,n){e.trigger(t,n);});},i.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,n){e.trigger(t,n);});},i.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container.addClass("select2-container--open");}),this.on("close",function(){e.$container.removeClass("select2-container--open");}),this.on("enable",function(){e.$container.removeClass("select2-container--disabled");}),this.on("disable",function(){e.$container.addClass("select2-container--disabled");}),this.on("blur",function(){e.$container.removeClass("select2-container--focus");}),this.on("query",function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,function(n){e.trigger("results:all",{data:n,query:t});});}),this.on("query:append",function(t){this.dataAdapter.query(t,function(n){e.trigger("results:append",{data:n,query:t});});}
3),this.on("keypress",function(t){var n=t.which;e.isOpen()?n===r.ESC||n===r.TAB||n===r.UP&&t.altKey?(e.close(t),t.preventDefault()):n===r.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===r.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===r.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===r.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&t.altKey)&&(e.open(),t.preventDefault());});},i.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{});},i.prototype._isChangeMutation=function(t,n){var r=!1,i=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(n)if(n.addedNodes&&0<n.addedNodes.length)for(var o=0;o<n.addedNodes.length;o++)n.addedNodes[o].selected&&(r=!0);else n.removedNodes&&0<n.removedNodes.length?r=!0:e.isArray(n)&&e.each(n,function(e,t){if(i._isChangeMutation(e,t))return !(r=!0);});else r=!0;return r;}},i.prototype._syncSubtree=function(e,t){var n=this._isChangeMutation(e,t),r=this;n&&this.dataAdapter.current(function(e){r.trigger("selection:update",{data:e});});},i.prototype.trigger=function(e,t){var n=i.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in r){var o=r[e],s={prevented:!1,name:e,args:t};if(n.call(this,o,s),s.prevented)return void (t.prevented=!0);}n.call(this,e,t);},i.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open());},i.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{});},i.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e});},i.prototype.isEnabled=function(){return !this.isDisabled();},i.prototype.isDisabled=function(){return this.options.get("disabled");},i.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open");},i.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus");},i.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}));},i.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t);},i.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t;}),e;},i.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];e.isArray(n)&&(n=e.map(n,function(e){return e.toString();})),this.$element.val(n).trigger("input").trigger("change");},i.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null;},i.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(t[0],"element",this.$element),t;},i;}),t.define("jquery-mousewheel",["jquery"],function(e){return e;}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(e,t,n,r,i){if(null==e.fn.select2){var o=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof (t=t||{}))return this.each(function(){var r=e.extend(!0,{},t);new n(e(this),r);}),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);
3var r,s=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=i.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),r=e[t].apply(e,s);}),-1<e.inArray(t,o)?this:r;};}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=r),n;}),{define:t.define,require:t.require};}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n;});; 4(()=>{"use strict";const e=(e)=>"string"==typeof e,t=(e)=>e&&null!==e&&e instanceof Element&&"nodeType" in e,n=function(e,t=void 0){return !e||e===document.body||t&&e===t?null:function(e){if(!(e&&e instanceof Element&&e.offsetParent))return !1;let t=!1,n=!1;if(e.scrollWidth>e.clientWidth){const n=window.getComputedStyle(e).overflowX,o=-1!==n.indexOf("hidden"),i=-1!==n.indexOf("clip"),s=-1!==n.indexOf("visible");t=!o&&!i&&!s;}if(e.scrollHeight>e.clientHeight){const t=window.getComputedStyle(e).overflowY,o=-1!==t.indexOf("hidden"),i=-1!==t.indexOf("clip"),s=-1!==t.indexOf("visible");n=!o&&!i&&!s;}return t||n;}(e)?e:n(e.parentElement,t);},o=function(e){var t=(new DOMParser()).parseFromString(e,"text/html").body;if(t.childElementCount>1){for(var n=document.createElement("div");t.firstChild;)n.appendChild(t.firstChild);return n;}let o=t.firstChild;return !o||o instanceof HTMLElement?o:((n=document.createElement("div")).appendChild(o),n);},i=function(e=0,t=0,n=0){return Math.max(Math.min(t,n),e);},s=(e)=>"object"==typeof e&&null!==e&&e.constructor===Object&&"[object Object]"===Object.prototype.toString.call(e);function l(e){return s(e)||Array.isArray(e);}function r(e,t){const n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every((n)=>{const o=e[n],i=t[n];return "function"==typeof o?`${o}`==`${i}`:l(o)&&l(i)?r(o,i):o===i;});}const a=function(e){for(const t of f)t.getState()===c.Running&&t.tick(v?e-v:0);v=e,g=window.requestAnimationFrame(a);};var c,u,d;!function(e){e[e.Initializing=0]="Initializing",e[e.Running=1]="Running",e[e.Paused=2]="Paused",e[e.Completed=3]="Completed",e[e.Destroyed=4]="Destroyed";}(c||(c={})),function(e){e[e.Spring=0]="Spring",e[e.Ease=1]="Ease";}(u||(u={})),function(e){e[e.Loop=0]="Loop",e[e.Reverse=1]="Reverse";}(d||(d={}));const f=new Set();let g=null,v=0;function m(){let e=c.Initializing,t=u.Ease,n=0,o=0,s=m.Easings.Linear,l=500,v=0,p=0,h=0,y=0,b=1/0,E=.01,w=.01,x=!1,M={},S=null,O={},L={},T={},P=0,A=0,R=d.Loop,C=m.Easings.Linear;const j=new Map();function z(e,...t){for(const n of j.get(e)||[])n(...t);}function I(e){return o=0,e?S=setTimeout(()=>{k();},e):k(),$;}function k(){e=c.Running,z("start",O,L);}function F(){if(e=c.Completed,T={},z("end",O),e===c.Completed)if(n<P){if(n++,R===d.Reverse){const e=Object.assign({},M);M=Object.assign({},L),L=e;}I(A);}else n=0;return $;}const $={getState:function(){return e;},easing:function(e){return s=e,t=u.Ease,T={},$;},duration:function(e){return l=e,$;},spring:function(e={}){t=u.Spring;const {velocity:n,mass:o,tension:i,friction:s,restDelta:l,restSpeed:r,maxSpeed:a,clamp:c}=Object.assign(Object.assign({},{velocity:0,mass:1,tension:170,friction:26,restDelta:.1,restSpeed:.1,maxSpeed:1/0,clamp:!0}),e);return v=n,p=o,h=i,y=s,w=l,E=r,b=a,x=c,T={},$;},isRunning:function(){return e===c.Running;},isSpring:function(){return t===u.Spring;},from:function(e){return O=Object.assign({},e),$;},to:function(e){return L=e,$;},repeat:function(e,t=0,n=d.Loop,o){return P=e,A=t,R=n,C=o||s,$;},on:function(e,t){var n,o;return n=e,o=t,j.set(n,[...j.get(n)||[],o]),$;},off:function(e,t){var n,o;return n=e,o=t,j.has(n)&&j.set(n,j.get(n).filter((e)=>e!==o)),$;},start:function(t){return r(O,L)||(e=c.Initializing,M=Object.assign({},O),f.add(this),g||(g=window.requestAnimationFrame(a)),I(t)),$;},pause:function(){return S&&(clearTimeout(S),S=null),e===c.Running&&(e=c.Paused,z("pause",O)),$;},end:F,tick:function(n){n>50&&(n=50),o+=n;let a=0,f=!1;if(e!==c.Running)return $;if(t===u.Ease){a=i(0,o/l,1),f=1===a;const e=R===d.Reverse?C:s;for(const t in O)O[t]=M[t]+(L[t]-M[t])*e(a);}if(t===u.Spring){const e=.001*n;let t=0;for(const n in O){const o=L[n];let s=O[n];if("number"!=typeof o||isNaN(o)||"number"!=typeof s||isNaN(s))continue;if(Math.abs(o-s)<=w){O[n]=o,T[n]=0;continue;}T[n]||("object"==typeof v&&"number"==typeof v[n]?T[n]=v[n]:T[n]="number"==typeof v?v:0);let l=T[n];l=i(-1*Math.abs(b),l,Math.abs(b));const r=l*p*y;l+=((s>o?-1:1)*(Math.abs(o-s)*h)-r)/p*e,s+=l*e;const a=O[n]>o?s<o:s>o;let c=Math.abs(l)<E&&Math.abs(o-s)<=w;x&&a&&(c=!0),c?(s=o,l=0):t++,O[n]=s,T[n]=l;}f=!t;}const g=Object.assign({},L);return z("step",O,M,L,a),f&&e===c.Running&&r(L,g)&&(e=c.Completed,F()),$;},getStartValues:function(){return M;},getCurrentValues:function(){return O;},getCurrentVelocities:function(){return T;},getEndValues:function(){return L;},destroy:function(){e=c.Destroyed,S&&(clearTimeout(S),S=null),M=O=L={},f.delete(this);}};return $;}function p(e){return "undefined"!=typeof TouchEvent&&e instanceof TouchEvent;}function h(e,t){const n=[],o=p(e)?e[t]:e instanceof MouseEvent&&("changedTouches"===t||"mouseup"!==e.type)?[e]:[];for(const e of o)n.push({x:e.clientX,y:e.clientY,ts:Date.now()});return n;}function y(e){return h(e,"touches");}function b(e){return h(e,"targetTouches");}function E(e){return h(e,"changedTouches");}function w(e){const t=e[0],n=e[1]||t;return {x:(t.x+n.x)/2,y:(t.y+n.y)/2,ts:n.ts};}function x(e){const t=e[0],n=e[1]||e[0];return t&&n?-1*Math.sqrt((n.x-t.x)*(n.x-t.x)+(n.y-t.y)*(n.y-t.y)):0;}m.destroy=()=>{for(const e of f)e.destroy();g&&(cancelAnimationFrame(g),g=null);},m.Easings={Linear:function(e){return e;},EaseIn:function(e){return 0===e?0:Math.pow(2,10*e-10);},EaseOut:function(e){return 1===e?1:1-Math.pow(2,-10*e);},EaseInOut:function(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2;}};const M=(e)=>{e.cancelable&&e.preventDefault();},S={passive:!1},O={panThreshold:5,swipeThreshold:3,ignore:["textarea","input","select","[contenteditable]","[data-selectable]","[data-draggable]"]};let L=!1,T=!0;const P=(e,t)=>{let n,o,i,s,l,r=Object.assign(Object.assign({},O),t),a=[],c=[],u=[],d=!1,f=!1,g=!1,v=!1,m=0,p=0,h=0,P=0,A=0,R=0,C=0,j=0,z=0,I=[];const k=new Map();function F(e){const t=x(c),s=x(u),l=t&&s?t/s:0,r=Math.abs(C)>Math.abs(j)?C:j,g={srcEvent:n,isPanRecognized:d,isSwipeRecognized:f,firstTouch:a,previousTouch:u,currentTouch:c,deltaX:h,deltaY:P,offsetX:A,offsetY:R,velocityX:C,velocityY:j,velocity:r,angle:z,axis:i,scale:l,center:o};for(const t of k.get(e)||[])t(g);}function $(e){const t=e.target,n=e.composedPath()[0],o=r.ignore.join(","),i=(e)=>e&&e instanceof HTMLElement&&(e.matches(o)||e.closest(o));if(i(t)||i(n))return !1;}function _(e){const t=Date.now();if(I=I.filter((e)=>
4!e.ts||e.ts>t-100),e&&I.push(e),C=0,j=0,I.length>3){const e=I[0],t=I[I.length-1];if(e&&t){const n=t.x-e.x,o=t.y-e.y,i=e.ts&&t.ts?t.ts-e.ts:0;i>0&&(C=Math.abs(n)>3?n/(i/30):0,j=Math.abs(o)>3?o/(i/30):0);}}}function H(e){if(!1===$(e))return;if("undefined"!=typeof MouseEvent&&e instanceof MouseEvent){if(L)return;}else L=!0;if("undefined"!=typeof MouseEvent&&e instanceof MouseEvent){if(!e.buttons||0!==e.button)return;M(e);}e instanceof MouseEvent&&(window.addEventListener("mousemove",D),window.addEventListener("mouseup",V)),window.addEventListener("blur",q),n=e,c=b(e),a=[...c],u=[],p=c.length,o=w(c),1===p&&(d=!1,f=!1,g=!1),p&&_(w(c));const t=Date.now(),i=t-(m||t);v=i>0&&i<=250&&1===p,m=t,clearTimeout(s),F("start");}function D(e){var t;if(!a.length)return;if(e.defaultPrevented)return;if(!1===$(e))return;n=e,u=[...c],c=y(e);const s=w(u),f=w(y(e));if(_(f),p=c.length,o=f,u.length===c.length?(h=f.x-s.x,P=f.y-s.y):(h=0,P=0),a.length){const e=w(a);A=f.x-e.x,R=f.y-e.y;}if(c.length>1){const e=x(c),t=x(u);Math.abs(e-t)>=.1&&(g=!0,F("pinch"));}d||(d=Math.abs(A)>=r.panThreshold||Math.abs(R)>=r.panThreshold,d&&(T=!1,clearTimeout(l),l=void 0,z=Math.abs(180*Math.atan2(R,A)/Math.PI),i=z>45&&z<135?"y":"x",a=[...c],u=[...c],A=0,R=0,h=0,P=0,null===(t=window.getSelection())||void 0===t||t.removeAllRanges(),F("panstart"))),d&&(h||P)&&F("pan"),F("move");}function V(e){if(n=e,!a.length)return;const t=b(e),i=E(e);if(p=t.length,o=w(i),i.length&&_(w(i)),u=[...c],c=[...t],a=[...t],p>0)F("end"),d=!1,f=!1,I=[];else{const e=r.swipeThreshold;(Math.abs(C)>e||Math.abs(j)>e)&&(f=!0),d&&F("panend"),f&&F("swipe"),d||f||g||(F("tap"),v?F("doubleTap"):s=setTimeout(function(){F("singleTap");},250)),F("end"),N();}}function q(){clearTimeout(s),N(),d&&F("panend"),F("end");}function N(){L=!1,d=!1,f=!1,v=!1,p=0,I=[],c=[],u=[],a=[],h=0,P=0,A=0,R=0,C=0,j=0,z=0,i=void 0,window.removeEventListener("mousemove",D),window.removeEventListener("mouseup",V),window.removeEventListener("blur",q),T||l||(l=setTimeout(()=>{T=!0,l=void 0;},100));}function B(e){const t=e.target;L=!1,t&&!e.defaultPrevented&&(T||(M(e),e.stopPropagation()));}const W={init:function(){return e&&(e.addEventListener("click",B,S),e.addEventListener("mousedown",H,S),e.addEventListener("touchstart",H,S),e.addEventListener("touchmove",D,S),e.addEventListener("touchend",V),e.addEventListener("touchcancel",V)),W;},on:function(e,t){return function(e,t){k.set(e,[...k.get(e)||[],t]);}(e,t),W;},off:function(e,t){return k.has(e)&&k.set(e,k.get(e).filter((e)=>e!==t)),W;},isPointerDown:()=>p>0,destroy:function(){clearTimeout(s),clearTimeout(l),l=void 0,e&&(e.removeEventListener("click",B,S),e.removeEventListener("mousedown",H,S),e.removeEventListener("touchstart",H,S),e.removeEventListener("touchmove",D,S),e.removeEventListener("touchend",V),e.removeEventListener("touchcancel",V)),e=null,N();}};return W;};P.isClickAllowed=()=>T;const A={IMAGE_ERROR:"This image couldn't be loaded. <br /> Please try again later.",MOVE_UP:"Move up",MOVE_DOWN:"Move down",MOVE_LEFT:"Move left",MOVE_RIGHT:"Move right",ZOOM_IN:"Zoom in",ZOOM_OUT:"Zoom out",TOGGLE_FULL:"Toggle zoom level",TOGGLE_1TO1:"Toggle zoom level",ITERATE_ZOOM:"Toggle zoom level",ROTATE_CCW:"Rotate counterclockwise",ROTATE_CW:"Rotate clockwise",FLIP_X:"Flip horizontally",FLIP_Y:"Flip vertically",RESET:"Reset",TOGGLE_FS:"Toggle fullscreen"},R=(e,t="")=>{e&&e.classList&&t.split(" ").forEach((t)=>{t&&e.classList.add(t);});},C=(e,t="")=>{e&&e.classList&&t.split(" ").forEach((t)=>{t&&e.classList.remove(t);});},j=(e,t="",n)=>{e&&e.classList&&t.split(" ").forEach((t)=>{t&&e.classList.toggle(t,n||!1);});},z=(e)=>{e.cancelable&&e.preventDefault();},I=(e,t=1e4)=>(e=parseFloat(e+"")||0,Math.round((e+Number.EPSILON)*t)/t),k=(e)=>e instanceof HTMLImageElement;var F,$;!function(e){e.Reset="reset",e.Zoom="zoom",e.ZoomIn="zoomIn",e.ZoomOut="zoomOut",e.ZoomTo="zoomTo",e.ToggleCover="toggleCover",e.ToggleFull="toggleFull",e.ToggleMax="toggleMax",e.IterateZoom="iterateZoom",e.Pan="pan",e.Swipe="swipe",e.Move="move",e.MoveLeft="moveLeft",e.MoveRight="moveRight",e.MoveUp="moveUp",e.MoveDown="moveDown",e.RotateCCW="rotateCCW",e.RotateCW="rotateCW",e.FlipX="flipX",e.FlipY="flipY",e.ToggleFS="toggleFS";}(F||(F={})),function(e){e.Cover="cover",e.Full="full",e.Max="max";}($||($={}));const _={x:0,y:0,scale:1,angle:0,flipX:1,flipY:1},H={bounds:!0,classes:{container:"f-panzoom",wrapper:"f-panzoom__wrapper",content:"f-panzoom__content",viewport:"f-panzoom__viewport"},clickAction:F.ToggleFull,dblClickAction:!1,gestures:{},height:"auto",l10n:A,maxScale:4,minScale:1,mouseMoveFactor:1,panMode:"drag",protected:!1,singleClickAction:!1,spinnerTpl:'<div class="f-spinner"></div>',wheelAction:F.Zoom,width:"auto"};let D,V=0,q=0,N=0;const B=(s,l={},a={})=>{let c,u,d,f,g,v,p,h,y=0,b=Object.assign(Object.assign({},H),l),x={},M=Object.assign({},_),S=Object.assign({},_);const O=[];function L(e){let t=b[e];return t&&"function"==typeof t?t(Me):t;}function T(){return s&&s.parentElement&&c&&3===y;}const A=new Map();function $(e,...t){const n=[...A.get(e)||[]];b.on&&n.push(b.on[e]);for(const e of n)e&&e instanceof Function&&e(Me,...t);"*"!==e&&$("*",e,...t);}function B(e){if(!T())return;const t=e.target;if(n(t))return;const o=Date.now(),s=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(e,t){return Math.abs(t)>Math.abs(e)?t:e;}),l=i(-1,s,1);$("wheel",e,l);const r=L("wheelAction");if(!r)return;if(e.defaultPrevented)return;const a=S.scale;let c=a*(l>0?1.5:.5);if(r===F.Zoom){const t=Math.abs(e.deltaY)<100&&Math.abs(e.deltaX)<100;if(o-q<(t?200:45))return void z(e);q=o;const n=ne(),s=se();if(I(c)<I(n)&&I(a)<=I(n)?(N+=Math.abs(l),c=n):I(c)>I(s)&&I(a)>=I(s)?(N+=Math.abs(l),c=s):(N=0,c=i(n,c,s)),N>7)return;}switch(z(e),r){case F.Pan:ce(r,{srcEvent:e,deltaX:2*-e.deltaX,deltaY:2*-e.deltaY});break;case F.Zoom:ce(F.ZoomTo,{srcEvent:e,scale:c,center:{x:e.clientX,y:e.clientY}});break;default:ce(r,{srcEvent:e});}}function W(e){var n,o;const i=e.composedPath()[0];if(!P.isClickAllowed())return;if(!t(i)||e.defaultPrevented)return;if(!(null==s?void 0:s.contains(i)))return;if(i.hasAttribute("disabled")||i.hasAttribute("aria-disabled")||i.hasAttribute("data-carousel-go-prev")||i.hasAttribute("data-carousel-go-next"))return;const l=i.closest("[data-panzoom-action]"),r=null===(n=null==l?void 0:l.dataset)||void 0===n?void 0:n.panzoomAction,a=(null===(o=null==l?void 0:l.dataset)||void 0===o?void 0:o.panzoomValue)||"";if(r){switch(z(e),r){case F.ZoomTo:case F.ZoomIn:case F.ZoomOut:ce(r,{scale:parseFloat(a||"")||void 0});break;case F.MoveLeft:case F.MoveRight:ce(r,{deltaX:parseFloat(a||"")||void 0});break;case F.MoveUp:case F.MoveDown:ce(r,{deltaY:parseFloat(a||"")||void 0});break;case F.ToggleFS:we();break;default:ce(r);}return;}if(!(null==c?void 0:c.contains(i)))return;const u={srcEvent:e};if(ce(L("clickAction"),u),L("dblClickAction")){const e=Date.now(),t=e-(V||e);V=e,t>
40&&t<=250?(D&&(clearTimeout(D),D=void 0),ce(L("dblClickAction"),u)):D=setTimeout(()=>{ce(L("singleClickAction"),u);},250);}}function Z(e){if(h=e,!T()||!Q())return;if(M.scale<=1||S.scale<=1)return;if(((null==c?void 0:c.dataset.animationName)||"").indexOf("zoom")>-1)return;const t=ee(S.scale);if(!t)return;const {x:n,y:o}=t;ce(F.Pan,{deltaX:n-S.x,deltaY:o-S.y});}function G(){var e;s&&(C(s,"is-loading"),null===(e=s.querySelector(".f-spinner"))||void 0===e||e.remove());}function X(){if(!s||!u)return;if(G(),k(u)&&(!u.complete||!u.naturalWidth))return y=2,null==c||c.classList.add("has-error"),void $("error");$("loaded");const {width:e,height:t}=K();k(u)&&(u.setAttribute("width",e+""),u.setAttribute("height",t+"")),c&&(C(c,"has-error"),k(u)&&(c.setAttribute("width",e+""),c.setAttribute("height",t+""),c.style.aspectRatio=`${e/t||""}`)),v=m().on("start",(e,t)=>{void 0!==t.angle&&(t.angle=90*Math.round(t.angle/90)),void 0!==t.flipX&&(t.flipX=t.flipX>0?1:-1),void 0!==t.flipY&&(t.flipY=t.flipY>0?1:-1),S=Object.assign(Object.assign({},_),t),ae(),$("animationStart");}).on("pause",(e)=>{S=Object.assign(Object.assign({},_),e);}).on("step",(e)=>{if(!T())return void (null==v||v.end());if(M=Object.assign(Object.assign({},_),e),Q()||!L("bounds")||ye()||S.scale>M.scale||S.scale<oe())return void ue();const t=le(S.scale);let n=!1,o=!1,s=!1,l=!1;M.x<t.x[0]&&(n=!0),M.x>t.x[1]&&(o=!0),M.y<t.y[0]&&(l=!0),M.y>t.y[1]&&(s=!0);let r=!1,a=!1,c=!1,u=!1;S.x<t.x[0]&&(r=!0),S.x>t.x[1]&&(a=!0),S.y<t.y[0]&&(u=!0),S.y>t.y[1]&&(c=!0);let d=!1;(o&&a||n&&r)&&(S.x=i(t.x[0],S.x,t.x[1]),d=!0),(s&&c||l&&u)&&(S.y=i(t.y[0],S.y,t.y[1]),d=!0),d&&v&&v.spring({tension:94,friction:17,maxSpeed:555*S.scale,restDelta:.1,restSpeed:.1,velocity:v.getCurrentVelocities()}).from(M).to(S).start(),ue();}).on("end",()=>{(null==g?void 0:g.isPointerDown())||re(),(null==v?void 0:v.isRunning())||(ae(),$("animationEnd"));}),function(){const e=L("gestures");if(!e)return;if(!f||!u)return;let t=!1;g=P(f,e).on("start",(e)=>{if(!L("gestures"))return;if(!v)return;if(!T()||Q())return;const n=e.srcEvent;(M.scale>1||e.currentTouch.length>1)&&(null==n||n.stopPropagation(),v.pause(),t=!0),1===e.currentTouch.length&&$("touchStart");}).on("move",(e)=>{var n;t&&(1!==S.scale||e.currentTouch.length>1)&&(z(e.srcEvent),null===(n=e.srcEvent)||void 0===n||n.stopPropagation());}).on("pan",(e)=>{if(!t)return;const n=e.srcEvent;(1!==S.scale||e.currentTouch.length>1)&&(z(n),ce(F.Pan,e));}).on("swipe",(e)=>{t&&S.scale>1&&ce(F.Swipe,e);}).on("tap",(e)=>{$("click",e);}).on("singleTap",(e)=>{$("singleClick",e);}).on("doubleTap",(e)=>{$("dblClick",e);}).on("pinch",(e)=>{t&&(e.scale>oe()?ce(F.ZoomIn,e):e.scale<oe()?ce(F.ZoomOut,e):ce(F.Pan,e));}).on("end",(e)=>{t&&(e.currentTouch.length?(e.srcEvent.stopPropagation(),z(e.srcEvent),null==v||v.end()):(t=!1,ae(),re(),$("touchEnd")));}).init();}(),f&&(f.addEventListener("wheel",B,{passive:!1}),O.push(()=>{null==f||f.removeEventListener("wheel",B,{passive:!1});})),null==s||s.addEventListener("click",W),null===document||void 0===document||document.addEventListener("mousemove",Z),O.push(()=>{null==s||s.removeEventListener("click",W),null===document||void 0===document||document.removeEventListener("mousemove",Z);});const n=Y();M=Object.assign({},n),S=Object.assign({},n),y=3,ue(),ae(),$("ready"),requestAnimationFrame(()=>{3===y&&(G(),f&&(f.style.visibility=""));});}function Y(){const e=Object.assign({},L("startPos")||{});let t=e.scale,n=1;n="string"==typeof t?te(t):"number"==typeof t?t:oe();const o=Object.assign(Object.assign(Object.assign({},_),e),{scale:n}),i=Q()?ee(n):void 0;if(i){const {x:e,y:t}=i;o.x=e,o.y=t;}return o;}function U(){const e={top:0,left:0,width:0,height:0};if(c){const t=c.getBoundingClientRect();S.angle%180==90?(e.top=t.top+.5*t.height-.5*t.width,e.left=t.left+.5*t.width-.5*t.height,e.width=t.height,e.height=t.width):(e.top=t.top,e.left=t.left,e.width=t.width,e.height=t.height);}return e;}function K(){let t=L("width"),n=L("height");if(u&&"auto"===t){const e=u.getAttribute("width");t=e?parseFloat(e+""):void 0!==u.dataset.width?parseFloat(u.dataset.width+""):k(f)?f.naturalWi
4dth:k(u)?u.naturalWidth:(null==c?void 0:c.getBoundingClientRect().width)||0;}else t=e(t)?parseFloat(t):t;if(u&&"auto"===n){const e=u.getAttribute("height");n=e?parseFloat(e+""):void 0!==u.dataset.height?parseFloat(u.dataset.height+""):k(f)?f.naturalHeight:k(u)?u.naturalHeight:(null==c?void 0:c.getBoundingClientRect().height)||0;}else n=e(n)?parseFloat(n):n;return {width:t,height:n};}function J(){const e=U();return {width:e.width,height:e.height};}function Q(){return "mousemove"===L("panMode")&&matchMedia("(hover: hover)").matches;}function ee(e){const t=h||L("event"),n=null==c?void 0:c.getBoundingClientRect();if(!t||!n||e<=1)return {x:0,y:0};const o=(t.clientX||0)-n.left,s=(t.clientY||0)-n.top,{width:l,height:r}=J(),a=le(e);if(e>1){const t=L("mouseMoveFactor");t>1&&(e*=t);}let u=l*e,d=r*e,f=.5*(u-l)-o/l*100/100*(u-l),g=.5*(d-r)-s/r*100/100*(d-r);return f=i(a.x[0],f,a.x[1]),g=i(a.y[0],g,a.y[1]),{x:f,y:g};}function te(e){if(!e)return S.scale;if(!s)return 1;const t=s.getBoundingClientRect(),n=U(),{width:o,height:l}=K(),r=(e)=>{if("number"==typeof e)return e;switch(e){case "min":case "base":return 1;case "cover":return Math.max(t.height/n.height,t.width/n.width)||1;case "full":case "max":{const e=S.angle%180==90?l:o;return e&&n.width?e/n.width:1;}}},a=L("minScale"),c=L("maxScale"),u=Math.min(r("full"),r(a)),d="number"==typeof c?r("full")*c:Math.min(r("full"),r(c));switch(e){case "min":return u;case "base":return i(u,1,d);case "cover":return r("cover");case "full":return Math.min(d,r("full"));case "max":return d;}}function ne(){return te("min");}function oe(){return te("base");}function ie(){return te("full");}function se(){return te("max");}function le(e){const t={x:[0,0],y:[0,0]},n=null==s?void 0:s.getBoundingClientRect();if(!n)return t;const o=U(),i=n.width,l=n.height;let r=o.width,a=o.height,c=e=void 0===e?S.scale:e,u=e;if(Q()&&e>1){const t=L("mouseMoveFactor");t>1&&(r*e>i+.01&&(c*=t),a*e>l+.01&&(u*=t));}return r*=c,a*=u,e>1&&(r>i&&(t.x[0]=.5*(i-r),t.x[1]=.5*(r-i)),t.x[0]-=.5*(o.left-n.left),t.x[1]-=.5*(o.left-n.left),t.x[0]-=.5*(o.left+o.width-n.right),t.x[1]-=.5*(o.left+o.width-n.right),a>l&&(t.y[0]=.5*(l-a),t.y[1]=.5*(a-l)),t.y[0]-=.5*(o.top-n.top),t.y[1]-=.5*(o.top-n.top),t.y[0]-=.5*(o.top+o.height-n.bottom),t.y[1]-=.5*(o.top+o.height-n.bottom)),t;}function re(){if(!T())return;if(!L("bounds"))return;if(!v)return;const e=ne(),t=se(),n=i(e,S.scale,t);if(S.scale<e-.01||S.scale>t+.01)return void ce(F.ZoomTo,{scale:n});if(v.isRunning())return;if(ye())return;const o=le(n);S.x<o.x[0]||S.x>o.x[1]||S.y<o.y[0]||S.y>o.y[1]?(S.x=i(o.x[0],S.x,o.x[1]),S.y=i(o.y[0],S.y,o.y[1]),v.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:v.getCurrentVelocities()}),v.from(M).to(S).start()):ue();}function ae(e){var t;if(!T())return;const n=he(),o=ye(),i=be(),l=Ee(),r=fe(),a=ge();j(c,"is-fullsize",l),j(c,"is-expanded",i),j(c,"is-dragging",o),j(c,"can-drag",n),j(c,"will-zoom-in",r),j(c,"will-zoom-out",a);const u=me(),d=pe(),f=ve(),g=!T();for(const n of (null===(t=e||s)||void 0===t?void 0:t.querySelectorAll("[data-panzoom-action]"))||[]){const e=n.dataset.panzoomAction;let t=!1;if(g)t=!0;else switch(e){case F.ZoomIn:u||(t=!0);break;case F.ZoomOut:f||(t=!0);break;case F.ToggleFull:{d||f||(t=!0);const e=n.querySelector("g");e&&(e.style.display=l&&!t?"none":"");break;}case F.IterateZoom:{u||f||(t=!0);const e=n.querySelector("g");e&&(e.style.display=u||t?"":"none");break;}case F.ToggleCover:case F.ToggleMax:u||f||(t=!0);}t?(n.setAttribute("aria-disabled",""),n.setAttribute("tabindex","-1")):(n.removeAttribute("aria-disabled"),n.removeAttribute("tabindex"));}}function ce(e,t){var n;if(!(e&&s&&u&&v&&T()))return;if(e===F.Swipe&&Math.abs(v.getCurrentVelocities().scale)>.01)return;const o=Object.assign({},S);let l=Object.assign({},S),a=le(Q()?o.scale:M.scale);const c=v.getCurrentVelocities(),d=U(),f=((null===(n=(t=t||{}).currentTouch)||void 0===n?void 0:n.length)||0)>1,g=t.velocityX||0,m=t.velocityY||0;let p=t.center;t.srcEvent&&(p=w(E(t.srcEvent)));let h=t.deltaX||0,y=t.deltaY||0;switch(e){case F.MoveRight:h=t.deltaX||100;break;case F.MoveLeft:h=t.deltaX||-100;break;case F.MoveUp:y=t.deltaY||-100;break;case F.MoveDown:y=t.deltaY||100;}let b=[];if("number"==typeof e)l.scale=e;else switch(e){case F.Reset:l=Object.assign({},_),l.scale=oe();break;case F.ZoomTo:case F.ZoomIn:case F.ZoomOut:case F.ToggleCover:case F.ToggleFull:case F.ToggleMax:case F.IterateZoom:case F.Zoom:l.scale=de(e,t);break;case F.Pan:case F.Move:case F.MoveLeft:case F.MoveRight:case F.MoveUp:case F.MoveDown:if(ye()){let e=1,t=1;l.x<=a.x[0]&&g<=0&&(e=Math.max(.01,1-Math.abs(1/d.width*Math.abs(l.x-a.x[0]))),e*=.2),l.x>=a.x[1]&&g>=0&&(e=Math.max(.01,1-Math.abs(1/d.width*Math.abs(l.x-a.x[1]))),e*=.2),l.y<=a.y[0]&&m<=0&&(t=Math.max(.01,1-Math.abs(1/d.height*Math.abs(l.
4y-a.y[0]))),t*=.2),l.y>=a.y[1]&&m>=0&&(t=Math.max(.01,1-Math.abs(1/d.height*Math.abs(l.y-a.y[1]))),t*=.2),l.x+=h*e,l.y+=y*t;}else l.x=i(a.x[0],l.x+h,a.x[1]),l.y=i(a.y[0],l.y+y,a.y[1]);break;case F.Swipe:{const n=(e=0)=>Math.sign(e)*Math.pow(Math.abs(e),1.5);l.x+=i(-1e3,n(g),1e3),l.y+=i(-1e3,n(m),1e3),m&&!g&&(l.x=i(a.x[0],l.x,a.x[1])),!m&&g&&(l.y=i(a.y[0],l.y,a.y[1])),c.x=g,c.y=m;break;}case F.RotateCW:l.angle+=90;break;case F.RotateCCW:l.angle-=90;break;case F.FlipX:l.flipX*=-1;break;case F.FlipY:l.flipY*=-1;}if(void 0!==M.angle&&Math.abs(M.angle)>=360&&(l.angle-=360*Math.floor(M.angle/360),M.angle-=360*Math.floor(M.angle/360)),b.length){const e=b.findIndex((e)=>e>l.scale+1e-4);l.scale=b[e]||b[0];}if(f&&(l.scale=i(ne()*(f?.8:1),l.scale,se()*(f?1.6:1))),Q()){const e=ee(l.scale);if(e){const {x:t,y:n}=e;l.x=t,l.y=n;}}else{if(Math.abs(l.scale-o.scale)>1e-4){let e=0,t=0;if(p)e=p.x,t=p.y;else{const n=s.getBoundingClientRect();e=n.x+.5*n.width,t=n.y+.5*n.height;}let n=e-d.left,r=t-d.top;n-=.5*d.width,r-=.5*d.height;const c=(n-o.x)/o.scale,u=(r-o.y)/o.scale;l.x=n-c*l.scale,l.y=r-u*l.scale,!f&&L("bounds")&&(a=le(l.scale),l.x=i(a.x[0],l.x,a.x[1]),l.y=i(a.y[0],l.y,a.y[1]));}}if(e===F.Swipe){let e=94,t=17,n=500*l.scale,o=c;v.spring({tension:e,friction:t,maxSpeed:n,restDelta:.1,restSpeed:.1,velocity:o});}else e===F.Pan||f?v.spring({tension:900,friction:17,restDelta:.01,restSpeed:.01,maxSpeed:1}):v.spring({tension:170,friction:17,restDelta:.001,restSpeed:.001,maxSpeed:1/0,velocity:c});if(0===t.velocity||r(M,l))M=Object.assign({},l),S=Object.assign({},l),v.end(),ue(),ae();else{if(r(S,l))return;v.from(M).to(l).start();}$("action",e);}function ue(){if(!u||!c||!f)return;const {width:e,height:t}=K();Object.assign(c.style,{maxWidth:`min(${e}px, 100%)`,maxHeight:`min(${t}px, 100%)`});const n=function(){const {width:e,height:t}=K(),{width:n,height:o}=J();if(!s)return {x:0,y:0,width:0,height:0,scale:0,flipX:0,flipY:0,angle:0,fitWidth:n,fitHeight:o,fullWidth:e,fullHeight:t};let {x:i,y:l,scale:r,angle:a,flipX:c,flipY:u}=M,d=1/ie(),f=e,g=t,v=M.scale*d,m=S.scale*d;const p=Math.max(n,o),h=Math.min(n,o);e>t?(f=p,g=h):(f=h,g=p),v=e>t?p*r/e||1:p*r/t||1;let y=f?e*m:0,b=g?t*m:0;return i=i+.5*f-.5*y,l=l+.5*g-.5*b,{x:i,y:l,width:y,height:b,scale:f&&g?e*v/y:0,flipX:c,flipY:u,angle:a,fitWidth:n,fitHeight:o,fullWidth:e,fullHeight:t};}(),{x:o,y:i,width:l,height:r,scale:a,angle:d,flipX:g,flipY:v}=n;let m=`translate(${I(o)}px, ${I(i)}px)`;m+=1!==g||1!==v?` scaleX(${I(a*g)}) scaleY(${I(a*v)})`:` scale(${I(a)})`,0!==d&&(m+=` rotate(${d}deg)`),f.style.width=`${I(l)}px`,f.style.height=`${I(r)}px`,f.style.transform=`${m}`,$("render");}function de(e=L("clickAction"),t={}){let n=S.scale,o=oe(),s=[];if("number"==typeof e)o=e;else{if(e){switch(e){case F.ZoomTo:o=t.scale||1;break;case F.ZoomIn:o=n*(t.scale||2);break;case F.ZoomOut:o=n*(t.scale||.5);break;case F.ToggleCover:s=[oe(),te("cover")];break;case F.ToggleFull:s=[oe(),ie()];break;case F.ToggleMax:s=[oe(),se()];break;case F.IterateZoom:s=[oe(),ie(),se()];break;case F.Zoom:{const e=ie();o=n>=e-.05?oe():Math.min(e,n*(t.scale||2));}}if(s.length){const e=s.findIndex((e)=>e>n+1e-4);o=s[e]||oe();}}}return e!==F.ZoomTo&&(o=i(ne(),o,se())),o;}function fe(){return !!(T()&&de()>S.scale);}function ge(){return !!(T()&&de()<S.scale);}function ve(){return !!(T()&&S.scale>ne());}function me(){return !!(T()&&S.scale<se());}function pe(){return !!(T()&&S.scale<ie());}function he(){return !(!(T()&&be()&&g)||Q());}function ye(){return !(!T()||!(null==g?void 0:g.isPointerDown())||Q());}function be(){return !!(T()&&S.scale>oe());}function Ee(){return !!(T()&&S.scale>=ie());}function we(){const e="in-fullscreen",t="with-panzoom-in-fullscreen";null==s||s.classList.toggle(e);const n=null==s?void 0:s.classList.contains(e);n?(document.documentElement.classList.add(t),document.addEventListener("keydown",xe,!0)):(document.documentElement.classList.remove(t),document.removeEventListener("keydown",xe,!0)),ue(),$(n?"enterFS":"exitFS");}function xe(e){"Escape"!==e.key||e.defaultPrevented||we();}const Me={canDrag:he,canZoomIn:me,canZoomOut:ve,canZoomToFull:pe,destroy:function(){$("destroy");for(const e of Object.values(x))null==e||e.destroy(Me);for(const e of O)e();return c&&(c.style.aspectRatio="",c.style.maxWidth="",c.style.maxHeight=""),f&&(f.style.width="",f.style.height="",f.style.transform=""),c=void 0,u=void 0,f=void 0,M=Object.assign({},_),S=Object.assign({},_),null==v||v.destroy(),v=void 0,null==g||g.destroy(),g=void 0,y=4,Me;},emit:$,execute:ce,getBoundaries:le,getContainer:function(){return s;},getContent:function(){return u;},getFullDim:K,getGestures:function(){return g;},getMousemovePos:ee,getOptions:function(){return b;},getPlugins:function(){return x;},getScale:te,getStartPosition:Y,getState:function(){return y;},getTransform:function(e){return !0===e?S:M;},getTween:function(){return v;},getViewport:function(){return f;},getWrapper:function(){return c;},init:function(){return y=0,$("init"),function(){for(const [e,t] of Object.entries(Object.assign(Object.assign({},a),b.plugins||{})))if(e&&!x[e]&&t instanceof Function){const n=t();n.init(Me),x[e]=n;}$("initPlugins");}(),function(){var e,t,n;const o=Object.assign(Object.assign({},H.classes),L("classes")),i=null===(e=o.content)||void 0===e?void 0:e.split(" ").shift(),l=null===(t=o.wrapper)||void 0===t?void 0:t.split(" ").shift(),r=null===(n=o.viewport)||void 0===n?void 0:n.split(" ").shift();if(i&&l&&r&&s&&(R(s,o.container),u=s.querySelector(`.${i}:not(.is-clone)`),u)){if(u.setAttribute("draggable","false"),c=s.querySelector(`.${l}`),c||(c=document.createElement("div"),R(c,o.wrapper),u.insertAdjacentElement("beforebegin",c),c.insertAdjacentElement("afterbegin",u)),f=s.querySelector(`.${r}`),f||(f=document.createElement("div"),R(f,o.viewport),c.insertAdjacentElement("beforeend",f)),f.contains(u)||f.insertAdjacentElement("afterbegin",u),d=s.querySelector(`.${i}.is-clone`),d||(d=u.cloneNode(!0),d.removeAttribute("id"),R(d,"is-clone"),c.insertAdjacentElement("afterbegin",d)),u instanceof HTMLPictureElement&&(u=u.querySelector("img")),d instanceof HTMLPictureElement&&(d=d.querySelector("img")),f instanceof HTMLPictureElement&&(f=f.querySelector("img")),f&&(f.style.visibility="hidden",L("protected"))){f.addEventListener("contextmenu",(e)=>{z(e);});const e=document.createElement("div");R(e,"f-panzoom__protected"),f.appendChild(e);}$("initLayout");}}(),function(){if(s&&c&&!p){let e=null;p=new ResizeObserver(()=>{T()&&(e=e||requestAnimationFrame(()=>{T()&&(ae(),re(),$("refresh")),e=null;}));}),p.observe(c),O.push(()=>{null==p||p.disconnect(),p=void 0,e&&(cancelAnimationFrame(e),e=null);});}}(),function(){if(!s||!u)return;if(!k(u)||!k(d))return void X();const e=()=>{u&&k(u)&&u.decode().then(()=>{X();}).catch(()=>{X();});};y=1,s.classList.add("is-loading"),$("loading"),d.src&&d.complete?e():(function(){if(!s)return;if(null==s?void 0:s.querySelector(".f-spinner"))return;const e=L("spinnerTpl"),t=o(e);t&&(t.classList.add("f-spinner"),s.classList.add("is-loading"),null==c||c.insertAdjacentElement("afterbegin",t));}(),d.addEventListener("load",e,!1),d.addEventListener("error",e,!1),O.push(()=>{null==d||d.removeEventListener("load",e,!1),null==d||d.removeEventListener("error",e,!1);}));}(),Me;},isDragging:ye,isExpanded:be,isFullsize:Ee,isMousemoveMode:Q,localize:function(e,t=[]){const n=L("l10n")||{};e=String(e).replace(/\{\{(\w+)\}\}/g,(e,t)=>n[t]||e);for(let n=0;n<t.length;n++)e=e.split(t[n][0]).join(t[n][1]);return e.replace(/\{\{(.*?)\}\}/g,(e,t)=>t);},off:function(e,t){for(const n of e instanceof Array?e:[e])A.has(n)&&A.set(n,A.get(n).filter((e)=>
4e!==t));return Me;},on:function(e,t){for(const n of e instanceof Array?e:[e])A.set(n,[...A.get(n)||[],t]);return Me;},toggleFS:we,updateControls:ae,version:"6.1.13",willZoomIn:fe,willZoomOut:ge};return Me;};B.l10n={en_EN:A},B.getDefaults=()=>H;const W=(e,t)=>{let n=[];return e.childNodes.forEach((e)=>{e.nodeType!==Node.ELEMENT_NODE||t&&!e.matches(t)||n.push(e);}),n;},Z=(e,...t)=>{const n=t.length;for(let o=0;o<n;o++){const n=t[o]||{};Object.entries(n).forEach(([t,n])=>{const o=Array.isArray(n)?[]:{};e[t]||Object.assign(e,{[t]:o}),s(n)?Object.assign(e[t],Z(e[t],n)):Array.isArray(n)?Object.assign(e,{[t]:[...n]}):Object.assign(e,{[t]:n});});}return e;},G=function(e=0,t=0,n=0,o=0,s=0,l=!1){const r=(e-t)/(n-t)*(s-o)+o;return l?o<s?i(o,r,s):i(s,r,o):r;},X=Object.assign(Object.assign({},A),{ERROR:"Something went wrong. <br /> Please try again later.",NEXT:"Next page",PREV:"Previous page",GOTO:"Go to page #%d",DOWNLOAD:"Download",TOGGLE_FULLSCREEN:"Toggle full-screen mode",TOGGLE_EXPAND:"Toggle full-size mode",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_AUTOPLAY:"Toggle slideshow"}),Y=(e)=>{e.cancelable&&e.preventDefault();},U={adaptiveHeight:!1,center:!0,classes:{container:"f-carousel",isEnabled:"is-enabled",isLTR:"is-ltr",isRTL:"is-rtl",isHorizontal:"is-horizontal",isVertical:"is-vertical",hasAdaptiveHeight:"has-adaptive-height",viewport:"f-carousel__viewport",slide:"f-carousel__slide",isSelected:"is-selected"},dragFree:!1,enabled:!0,errorTpl:'<div class="f-html">{{ERROR}}</div>',fill:!1,infinite:!0,initialPage:0,l10n:X,rtl:!1,slides:[],slidesPerPage:"auto",spinnerTpl:'<div class="f-spinner"></div>',transition:"fade",tween:{clamp:!0,mass:1,tension:160,friction:25,restDelta:1,restSpeed:1,velocity:0},vertical:!1};let K,J=0;const Q=(l,r={},a={})=>{J++;let c,u,d,f,g,v=0,h=Object.assign({},U),y=Object.assign({},U),b={},E=null,w=null,x=0,M=0,S=0,O=!1,L=!1,T=!1,A="height",z=0,I=!0,k=0,F=0,$=0,_=0,H="*",D=[],V=[];const q=new Set();let N=[],B=[],X=0,ee=0,te=0;function ne(e,...t){let n=y[e];return n&&n instanceof Function?n(_e,...t):n;}function oe(e,t=[]){const n=ne("l10n")||{};e=String(e).replace(/\{\{(\w+)\}\}/g,(e,t)=>n[t]||e);for(let n=0;n<t.length;n++)e=e.split(t[n][0]).join(t[n][1]);return e.replace(/\{\{(.*?)\}\}/g,(e,t)=>t);}const ie=new Map();function se(e,...t){const n=[...ie.get(e)||[]];y.on&&n.push(y.on[e]);for(const e of n)e&&e instanceof Function&&e(_e,...t);"*"!==e&&se("*",e,...t);}function le(){var e,t;const n=Z({},U,h);Z(n,U,h);let o="";const l=h.breakpoints||{};if(l){for(const [e,t] of Object.entries(l))window.matchMedia(e).matches&&(o+=e,Z(n,t));}if(void 0===g||o!==g){if(g=o,0!==v){let o=null===(t=null===(e=B[k])||void 0===e?void 0:e.slides[0])||void 0===t?void 0:t.index;void 0===o&&(o=y.initialSlide),n.initialSlide=o,n.slides=[];for(const e of D)e.isVirtual&&n.slides.push(e);}ke(),y=n,!1!==ne("enabled")&&(v=0,se("init"),function(){for(const [e,t] of Object.entries(Object.assign(Object.assign({},a),y.plugins||{})))if(e&&!b[e]&&t instanceof Function){const n=t();n.init(_e,Q),b[e]=n;}se("initPlugins");}(),function(){if(!E)return;const e=ne("classes")||{};R(E,e.container);const t=ne("style");if(t&&s(t)){for(const [e,n] of Object.entries(t))E.style.setProperty(e,n);}w=E.querySelector(`.${e.viewport}`),w||(w=document.createElement("div"),R(w,e.viewport),w.append(...W(E,`.${e.slide}`)),E.insertAdjacentElement("afterbegin",w)),E.carousel=_e,se("initLayout");}(),function(){if(!w)return;const e=ne("classes")||{};D=[],[...W(w,`.${e.slide}`)].forEach((e)=>{if(e.parentElement){const t=be(Object.assign({el:e,isVirtual:!1},e.dataset||{}));se("createSlide",t),D.push(t);}}),Me();for(const e of D)se("addSlide",e);ye(ne("slides"));for(const e of D){const t=e.el;(null==t?void 0:t.parentElement)===w&&(R(t,y.classes.slide),R(t,e.class),Ce(e),se("attachSlideEl",e));}se("initSlides");}(),Se(),v=1,R(E,(ne("classes")||{}).isEnabled||""),Ie(),de(),u=m().on("start",()=>{c&&c.isPointerDown()||(ue(),Ie());}).on("step",(e)=>{const t=z;z=e.pos,z!==t&&(I=!1,Ie());}).on("end",(e)=>{(null==c?void 0:c.isPointerDown())||(z=e.pos,u&&!O&&(z<$||z>_)?u.spring({clamp:!0,mass:1,tension:200,friction:25,velocity:0,restDelta:1,restSpeed:1}).from({pos:z}).to({pos:i($,z,_)}).start():I||(I=!0,se("settle")));}),ae(),function(){if(!E||!w)return;E.addEventListener("click",Pe),document.addEventListener("mousemove",re);const e=w.getBoundingClientRect();if(X=e.height,ee=e.width,!d){let e=null;d=new ResizeObserver(()=>{e||(e=requestAnimationFrame(()=>{!function(){if(1!==v||!w)return;const e=B.length,t=w.getBoundingClientRect(),n=t.height,o=t.width;e>1&&(T&&Math.abs(n-X)<.5||!T&&Math.abs(o-ee)<.5)||(Se(),ae(),X=n,ee=o,T&&!X||!T&&!ee||E&&w&&(e===B.length&&(null==c?void 0:c.isPointerDown())||(ne("dragFree")&&(O||z>$&&z<_)?(ue(),Ie()):je(k,{transition:!1}))));}(),e=null;}));}),d.observe(w);}}(),se("ready"));}}function re(e){K=e;}function ae(){!1===ne("gestures")?c&&(c.destroy(),c=void 0):c||function(){const e=ne("gestures");!c&&!1!==e&&w&&(c=P(w,e).on("start",(e)=>{var t,o;if(!u)return;if(!1===ne("gestures",e))return;const {srcEvent:s}=e;T&&p(s)&&!n(s.target)&&Y(s),u.pause(),u.getCurrentVelocities().pos=0;const l=null===(t=B[k])||void 0===t?void 0:t.slides[0],r=null==l?void 0:l.el;l&&q.has(l.index)&&r&&(z=l.offset||0,z+=(function(e){const t=window.getComputedStyle(e),n=new DOMMatrixReadOnly(t.transform);return {width:n.m41||0,height:n.m42||0};}(r)[A]||0)*(L&&!T?1:-1)),Le(),O||(z<$||z>_)&&u.spring({clamp:!0,mass:1,tension:500,friction:25,velocity:(null===(o=u.getCurrentVelocities())||void 0===o?void 0:o.pos)||0,restDelta:1,restSpeed:1}).from({pos:z}).to({pos:i($,z,_)}).start();}).on("move",(e)=>{var t,o;if(!1===ne("gestures",e))return;const {srcEvent:i,axis:s,deltaX:l,deltaY:r}=e;if(p(i)&&(null===(t=i.touches)||void 0===t?void 0:t.length)>1)return;const a=i.target,c=n(a),d=c?c.scrollHeight>c.clientHeight?"y":"x":void 0;if(c&&c!==w&&(!s||s===d))return;if(!s)return Y(i),i.stopPropagation(),void i.stopImmediatePropagation();if("y"===s&&!T||"x"===s&&T)return;if(Y(i),i.stopPropagation(),!u)return;const f=L&&!T?1:-1,g=T?r:l;let v=(null==u?void 0:u.isRunning())?u.getEndValues().pos:z,m=1;O||(v<=$&&g*f<0?(m=Math.max(.01,1-(Math.abs(1/me()*Math.abs(v-$))||0)),m*=.2):v>=_&&g*f>0&&(m=Math.max(.01,1-(Math.abs(1/me()*Math.abs(v-_))||0)),m*=.2)),v+=g*m*f,u.spring({clamp:!0,mass:1,tension:700,friction:25,velocity:(null===(o=u.getCurrentVelocities())||void 0===o?void 0:o.pos)||0,restDelta:1,restSpeed:1}).from({pos:z}).to({pos:v}).start();}).on("panstart",(e)=>{!1!==ne("gestures",e)&&(null==e?void 0:e.axis)===(T?"y":"x")&&R(w,"is-dragging");}).on("panend",(e)=>{!1!==ne("gestures",e)&&C(w,"is-dragging");}).on("end",(e)=>{var t,o;if(!1===ne("gestures",e))return;const {srcEvent:s,axis:l,velocityX:r,velocityY:a,currentTouch:c}=e;if(c.length>0||!u)return;const d=s.target,f=n(d),g=f?f.scrollHeight>f.clientHeight?"y":"x":void 0,v=f&&(!l||l===g);T&&p(s)&&!l&&Pe(s);
4const m=B.length,h=ne("dragFree");if(!m)return;let y=v?0:ne("vertical")?a:r;l!==(T?"y":"x")&&(y=0);let E=(null==u?void 0:u.isRunning())?u.getEndValues().pos:z;const w=L&&!T?1:-1;if(v||(E+=y*(h?5:1)*w),!O&&(y*w<=0&&E<$||y*w>=0&&E>_)){let e=0;return Math.abs(y)>0&&(e=2*Math.abs(y),e=Math.min(.3*me(),e)),E=i($+-1*e,E,_+e),void u.spring({clamp:!0,mass:1,tension:380,friction:25,velocity:-1*y,restDelta:1,restSpeed:1}).from({pos:z}).to({pos:E}).start();}if(h||(null===(t=b.Autoscroll)||void 0===t?void 0:t.isEnabled()))return void (Math.abs(y)>10?u.spring({clamp:!0,mass:1,tension:150,friction:25,velocity:-1*y,restDelta:1,restSpeed:1}).from({pos:z}).to({pos:E}).start():u.isRunning()||I||(I=!0,se("settle")));if(!h&&!(null===(o=b.Autoscroll)||void 0===o?void 0:o.isEnabled())&&(!e.offsetX&&!e.offsetY||"y"===l&&!T||"x"===l&&T))return void je(k,{transition:"tween"});let x=ge(E);Math.abs(y)>10&&x===k&&(x+=y>0?L&&!T?1:-1:L&&!T?-1:1),je(x,{transition:"tween",tween:{velocity:-1*y}});}).init());}(),j(w,"is-draggable",!!c&&B.length>0);}function ce(e="*"){var t;const n=[];for(const o of D)("*"===e||o.class&&o.class.includes(e)||o.el&&(null===(t=o.el)||void 0===t?void 0:t.classList.contains(e)))&&n.push(o);f=void 0,H=e,V=[...n];}function ue(){if(!u)return;const e=ge((null==u?void 0:u.isRunning())?u.getEndValues().pos:z);e!==k&&(f=k,k=e,Ce(),de(),fe(),se("change",k,f));}function de(){var e,t;if(!E)return;for(const e of E.querySelectorAll("[data-carousel-index]"))e.innerHTML=k+"";for(const e of E.querySelectorAll("[data-carousel-page]"))e.innerHTML=k+1+"";for(const e of E.querySelectorAll("[data-carousel-pages]"))e.innerHTML=B.length+"";for(const t of E.querySelectorAll("[data-carousel-go-to]"))parseInt((null===(e=t.dataset)||void 0===e?void 0:e.carouselGoTo)||"-1",10)===k?t.setAttribute("aria-current","true"):t.removeAttribute("aria-current");for(const e of E.querySelectorAll("[data-carousel-go-prev]"))e.toggleAttribute("aria-disabled",!Fe()),Fe()?e.removeAttribute("tabindex"):e.setAttribute("tabindex","-1");for(const e of E.querySelectorAll("[data-carousel-go-next]"))e.toggleAttribute("aria-disabled",!$e()),$e()?e.removeAttribute("tabindex"):e.setAttribute("tabindex","-1");let n=!1;const o=null===(t=B[k])||void 0===t?void 0:t.slides[0];o&&(o.downloadSrc||"image"===o.type&&o.src)&&(n=!0);for(const e of E.querySelectorAll("[data-carousel-download]"))e.toggleAttribute("aria-disabled",!n);}function fe(e){var t;e||(e=null===(t=B[k])||void 0===t?void 0:t.slides[0]);const n=null==e?void 0:e.el;if(n){for(const t of n.querySelectorAll("[data-slide-index]"))t.innerHTML=e.index+1+"";}}function ge(e){var t,n,o;if(!B.length)return 0;const s=pe();let l=e;O?l-=Math.floor((e-(null===(t=B[0])||void 0===t?void 0:t.pos))/s)*s||0:l=i(null===(n=B[0])||void 0===n?void 0:n.pos,e,null===(o=B[B.length-1])||void 0===o?void 0:o.pos);const r=new Map();let a=0;for(const e of B){const t=Math.abs(e.pos-l),n=Math.abs(e.pos-l-s),o=Math.abs(e.pos-l+s),i=Math.min(t,n,o);r.set(a,i),a++;}const c=r.size>0?[...r.entries()].reduce((e,t)=>t[1]<e[1]?t:e):[k,0];return parseInt(c[0]);}function ve(){return te;}function me(){return x;}function pe(e=!0){return V.length?V.reduce((e,t)=>e+t.dim,0)+(V.length-(O&&e?0:1))*te:0;}function he(e){const t=pe(),n=me();if(!t||!w||!n)return [];const o=[];e=void 0===e?z:e,O&&(e-=Math.floor(e/t)*t||0);let i=0;for(let s of V){const l=(t=0)=>{o.indexOf(s)>-1||(s.pos=i-e+t||0,s.offset+t>e-s.dim-M+.51&&s.offset+t<e+n+S-.51&&o.push(s));};s.offset=i,O&&(l(t),l(-1*t)),l(),i+=s.dim+te;}return o;}function ye(e,t){const n=[];for(const t of Array.isArray(e)?e:[e]){const e=be(Object.assign(Object.assign({},t),{isVirtual:!0}));e.el||(e.el=document.createElement("div")),se("createSlide",e),n.push(e);}D.splice(void 0===t?D.length:t,0,...n),Me();for(const e of n)se("addSlide",e),Ee(e);return ce(H),n;}function be(t){return (e(t)||t instanceof HTMLElement)&&(t={html:t}),Object.assign({index:-1,el:void 0,class:"",isVirtual:!0,dim:0,pos:0,offset:0,html:"",src:""},t);}function Ee(e){let t=e.el;if(!e||!t)return;const n=e.html?e.html instanceof HTMLElement?e.html:o(e.html):void 0;n&&(R(n,"f-html"),e.htmlEl=n,R(t,"has-html"),t.append(n),se("contentReady",e));}function we(e){if(!w||!e)return;let t=e.el;if(t){if(t.setAttribute("index",e.index+""),t.parentElement!==w){let n;R(t,y.classes.slide),R(t,e.class),Ce(e);for(const t of D)if(t.index>e.index){n=t.el;break;}
4w.insertBefore(t,n&&w.contains(n)?n:null),se("attachSlideEl",e);}return fe(e),t;}}function xe(e){const t=null==e?void 0:e.el;t&&(t.remove(),Oe(t),se("detachSlideEl",e));}function Me(){for(let e=0;e<D.length;e++){const t=D[e],n=t.el;n&&(t.index!==e&&Oe(n),n.setAttribute("index",`${e}`)),t.index=e;}}function Se(){var e,n,o,s,l;if(!E||!w)return;L=ne("rtl"),T=ne("vertical"),A=T?"height":"width";const r=ne("classes");if(j(E,r.isLTR,!L),j(E,r.isRTL,L),j(E,r.isHorizontal,!T),j(E,r.isVertical,T),j(E,r.hasAdaptiveHeight,ne("adaptiveHeight")),x=0,M=0,S=0,te=0,w){w.childElementCount||(w.style.display="grid");const e=w.getBoundingClientRect();x=w.getBoundingClientRect()[A]||0;const t=window.getComputedStyle(w);te=parseFloat(t.getPropertyValue("--f-carousel-gap"))||0,"visible"===t.getPropertyValue("overflow-"+(T?"y":"x"))&&(M=Math.abs(e[T?"top":"left"]),S=Math.abs(window[T?"innerHeight":"innerWidth"]-e[T?"bottom":"right"])),w.style.display="";}if(!x)return;const a=function(){let e=0;if(w){let t=document.createElement("div");t.style.display="block",R(t,y.classes.slide),w.appendChild(t),e=t.getBoundingClientRect()[A],t.remove(),t=void 0;}return e;}();for(const n of V){const o=n.el;let i=0;if(!n.isVirtual&&o&&t(o)){let t=!1;o.parentElement&&o.parentElement===w||(w.appendChild(o),t=!0),i=o.getBoundingClientRect()[A],t&&(null===(e=o.parentElement)||void 0===e||e.removeChild(o));}else i=a;n.dim=i;}if(O=!1,ne("infinite")){O=!0;const e=pe();let t=x+M+S;for(let o=0;o<V.length;o++){const i=(null===(n=V[o])||void 0===n?void 0:n.dim)+te;if(e-i<t&&e-i-t<i){O=!1;break;}}}!function(){var e;if(!E)return;const t=me(),n=pe(!1);let o=ne("slidesPerPage");o="auto"===o?1/0:parseFloat(o+""),B=[];let s=0,l=0;for(const n of V)(!B.length||s+n.dim-t>.05||l>=o)&&(B.push({index:B.length,slides:[],dim:0,offset:0,pos:0}),s=0,l=0),null===(e=B[B.length-1])||void 0===e||e.slides.push(n),s+=n.dim+te,l++;const r=ne("center"),a=ne("fill");let c=0;for(const e of B){e.dim=(e.slides.length-1)*te;for(const t of e.slides)e.dim+=t.dim;e.offset=c,e.pos=c,!1!==r&&(e.pos-=.5*(t-e.dim)),a&&!O&&n>t&&(e.pos=i(0,e.pos,n-t)),c+=e.dim+te;}const u=[];let d;for(const e of B){const t=Object.assign({},e);d&&Math.abs(t.pos-d.pos)<.1?(d.dim+=t.dim,d.slides=[...d.slides,...t.slides]):(d=t,t.index=u.length,u.push(t));}B=u,k=i(0,k,B.length-1);}(),$=(null===(o=B[0])||void 0===o?void 0:o.pos)||0,_=(null===(s=B[B.length-1])||void 0===s?void 0:s.pos)||0,0===v?function(){var e;f=void 0,k=ne("initialPage");const t=ne("initialSlide")||void 0;void 0!==t&&(k=_e.getPageIndex(t)||0),k=i(0,k,B.length-1),z=(null===(e=B[k])||void 0===e?void 0:e.pos)||0,F=z;}():F=(null===(l=B[k||0])||void 0===l?void 0:l.pos)||0,se("refresh"),de();}function Oe(e){if(!e||!t(e))return;const n=parseInt(e.getAttribute("index")||"-1");let o="";for(const t of Array.from(e.classList)){const e=t.match(/^f-(\w+)(Out|In)$/);e&&e[1]&&(o=e[1]+"");}if(!e||!o)return;const i=[`f-${o}Out`,`f-${o}In`,"to-prev","to-next","from-prev","from-next"];e.removeEventListener("animationend",Te),C(e,i.join(" ")),q.delete(n);}function Le(){if(!w)return;const e=q.size>0;for(const e of V)Oe(e.el);q.clear(),e&&Ie();}function Te(e){var t;"f-"===(null===(t=e.animationName)||void 0===t?void 0:t.substring(0,2))&&(Oe(e.target),q.size||(C(E,"in-transition"),!I&&Math.abs(_e.getPosition(!0)-F)<.5&&(I=!0,se("settle"))),Ie());}function Pe(e){var t;if(e.defaultPrevented)return;const n=e.composedPath()[0];if(n.closest("[data-carousel-go-prev]"))return Y(e),void _e.prev();if(n.closest("[data-carousel-go-next]"))return Y(e),void _e.next();const o=n.closest("[data-carousel-go-to]");if(o)return Y(e),void _e.goTo(parseFloat(o.dataset.carouselGoTo||"")||0);if(n.closest("[data-carousel-download]")){Y(e);const n=null===(t=B[k])||void 0===t?void 0:t.slides[0];if(n&&(n.downloadSrc||"image"===n.type&&n.src)){const e=n.downloadFilename,t=document.createElement("a"),o=n.downloadSrc||n.src||"";t.href=o,t.target="_blank",t.download=e||o,t.click();}return;}se("click",e);}function Ae(e){var t;const n=e.el;n&&(null===(t=n.querySelector(".f-spinner"))||void 0===t||t.remove());}function Re(e){var t;const n=e.el;n&&(null===(t=n.querySelector(".f-html.is-error"))||void 0===t||t.remove(),C(n,"has-error"));}function Ce(t){var n;t||(t=null===(n=B[k])||void 0===n?void 0:n.slides[0]);const o=null==t?void 0:t.el;if(!o)return;let i=ne("formatCaption",t);void 0===i&&(i=t.caption),i=i||"";const s=ne("captionEl");if(s&&s instanceof HTMLElement){if(t.index!==k)return;if(e(i)&&(s.innerHTML=oe(i+"")),i instanceof HTMLElement){if(i.parentElement===s)return;s.innerHTML="",i.parentElement&&(i=i.cloneNode(!0)),s.append(i);}return;}if(!i)return;let l=t.captionEl||o.querySelector(".f-caption");!l&&i instanceof HTMLElement&&i.classList.contains("f-caption")&&(l=i),l||(l=document.createElement("div"),R(l,"f-caption"),e(i)?l.innerHTML=oe(i+""):i instanceof HTMLElement&&(i.parentElement&&(i=i.cloneNode(!0)),l.append(i)));const r=`f-caption-${J}_${t.index}`;l.setAttribute("id",r),l.dataset.selectable="true",R(o,"has-caption"),o.setAttribute("aria-labelledby",r),t.captionEl=l,o.insertAdjacentElement("beforeend",l);}function je(t,n={}){var o,l;let {transition:r,tween:a}=Object.assign({transition:y.transition,tween:y.tween},n||{});if(!E||!u)return;const c=B.length;if(!c)return;if(function(t,n){var o,s,l;if(!(E&&x&&u&&n&&e(n)&&"tween"!==n))return !1;for(const e of N)if(x-e.dim>.5)return !1;
4if(M>.5||S>.5)return;const r=B.length;let a=t>k?1:-1;t=O?(t%r+r)%r:i(0,t,r-1),L&&(a*=-1);const c=null===(o=B[k])||void 0===o?void 0:o.slides[0],d=null==c?void 0:c.index,f=null===(s=B[t])||void 0===s?void 0:s.slides[0],g=null==f?void 0:f.index,v=null===(l=B[t])||void 0===l?void 0:l.pos;if(void 0===g||void 0===d||d===g||z===v||Math.abs(x-((null==f?void 0:f.dim)||0))>1)return !1;I=!1,u.pause(),Le(),R(E,"in-transition"),z=F=v;const m=we(c),p=we(f);return ue(),m&&(q.add(d),m.style.transform="",m.addEventListener("animationend",Te),C(m,y.classes.isSelected),m.inert=!1,R(m,`f-${n}Out to-${a>0?"next":"prev"}`)),p&&(q.add(g),p.style.transform="",p.addEventListener("animationend",Te),R(p,y.classes.isSelected),p.inert=!1,R(p,`f-${n}In from-${a>0?"prev":"next"}`)),Ie(),!0;}(t,r))return;t=O?(t%c+c)%c:i(0,t,c-1);const d=(null===(o=B[t||0])||void 0===o?void 0:o.pos)||0;F=d;const g=u.isRunning()?u.getEndValues().pos:z;if(Math.abs(F-g)<1)return z=F,k!==t&&(Ce(),f=k,k=t,de(),fe(),se("change",k,f)),Ie(),void (I||(I=!0,se("settle")));if(u.pause(),Le(),O){const e=pe(),t=Math.floor((g-(null===(l=B[0])||void 0===l?void 0:l.pos))/e)||0,n=F+t*e;F=[n+e,n,n-e].reduce(function(e,t){return Math.abs(t-g)<Math.abs(e-g)?t:e;});}!1!==r&&s(a)?u.spring(Z({},y.tween,a)).from({pos:z}).to({pos:F}).start():(z=F,ue(),Ie(),I||(I=!0,se("settle")));}function ze(e){var t;let n=z;if(O&&!0!==e){const e=pe();n-=(Math.floor((z-(null===(t=B[0])||void 0===t?void 0:t.pos)||0)/e)||0)*e;}return n;}function Ie(){var e;if(!E||!w)return;N=he();const t=new Set(),n=[],o=B[k],i=y.setTransform;let s;for(const i of V){const l=q.has(i.index),r=N.indexOf(i)>-1,a=(null===(e=null==o?void 0:o.slides)||void 0===e?void 0:e.indexOf(i))>-1;if(i.isVirtual&&!l&&!r)continue;let c=we(i);if(c&&(n.push(i),a&&t.add(c),ne("adaptiveHeight")&&a)){const e=(c.lastElementChild||c).getBoundingClientRect().height;s=null==s?e:Math.max(s,e);}}w&&s&&(w.style.height=`${s}px`),[...W(w,`.${y.classes.slide}`)].forEach((e)=>{j(e,y.classes.isSelected,t.has(e));const n=D[parseInt(e.getAttribute("index")||"-1")];if(!n)return e.remove(),void Oe(e);const o=q.has(n.index),s=N.indexOf(n)>-1;if(n.isVirtual&&!o&&!s)return void xe(n);if(e.inert=!s,!1===i)return;let l=n.pos?Math.round(1e4*n.pos)/1e4:0,r=0,a=0,c=0,u=0;o||(r=T?0:L?-1*l:l,a=T?l:0,c=G(r,0,n.dim,0,100),u=G(a,0,n.dim,0,100)),i instanceof Function&&!o?i(_e,n,{x:r,y:a,xPercent:c,yPercent:u}):e.style.transform=r||a?`translate3d(${c}%, ${u}%,0)`:"";}),se("render",n);}function ke(){null==E||E.removeEventListener("click",Pe),document.removeEventListener("mousemove",re),q.clear(),null==d||d.disconnect(),d=void 0;for(const e of D){let n=e.el;n&&t(n)&&(e.state=void 0,Ae(e),Re(e),e.isVirtual?(xe(e),e.el=void 0):(Oe(n),n.style.transform="",w&&!w.contains(n)&&w.appendChild(n)));}for(const e of Object.values(b))null==e||e.destroy();b={},null==c||c.destroy(),c=void 0,null==u||u.destroy(),u=void 0;for(const [e,t] of Object.entries(y.classes||{}))"container"!==e&&C(E,t);C(w,"is-draggable");}function Fe(){return O||k>0;}function $e(){return O||k<B.length-1;}const _e={add:function(e,t){var n;let o=z;const i=k,s=pe(),l=(null==u?void 0:u.isRunning())?u.getEndValues().pos:z,r=s&&Math.floor((l-((null===(n=B[0])||void 0===n?void 0:n.pos)||0))/s)||0;return ye(e,t),ce(H),Se(),u&&s&&(i===k&&(o-=r*s),o===F?z=F:u.spring({clamp:!0,mass:1,tension:300,friction:25,restDelta:1,restSpeed:1}).from({pos:o}).to({pos:F}).start()),Ie(),_e;},canGoPrev:Fe,canGoNext:$e,destroy:function(){return se("destroy"),window.removeEventListener("resize",le),ke(),ie.clear(),E=null,B=[],D=[],y=Object.assign({},U),b={},V=[],g=void 0,H="*",v=2,_e;},emit:se,filter:function(e="*"){return ce(e),Se(),z=i($,z,_),Ie(),se("filter",e),_e;},getContainer:function(){return E;},getGapDim:ve,getGestures:function(){return c;},getLastMouseMove:function(){return K;},getOption:function(e){return ne(e);},getOptions:function(){return y;},getPage:function(){return B[k];},getPageIndex:function(e){if(void 0!==e){for(const t of B||[]){for(const n of t.slides)if(n.index===e)return t.index;}return -1;}return k;},getPageIndexFromPosition:ge,getPageProgress:function(e,t){var n;void 0===e&&(e=k);const o=B[e];if(!o)return e>k?-1:1;const i=pe(),s=ve();let l=o.pos,r=ze();if(O&&!0!==t){const e=Math.floor((r-(null===(n=B[0])||void 0===n?void 0:n.pos))/i)||0;r-=e*i,l=[l+i,l,l-i].reduce(function(e,t){return Math.abs(t-r)<Math.abs(e-r)?t:e;});}return (r-l)/(o.dim+s)||0;},getPageVisibility:function(e){var t;void 0===e&&(e=k);const n=B[e];if(!n)return e>k?-1:1;const o=ze(),i=me();let s=n.pos;if(O){const e=pe(),n=s+(Math.floor((o-(null===(t=B[0])||void 0===t?void 0:t.pos))/e)||0)*e;s=[n+e,n,n-e].reduce(function(e,t){return Math.abs(t-o)<Math.abs(e-o)?t:e;});}return s>o&&s+n.dim<o+i?1:s<o?(s+n.dim-o)/n.dim||0:s+n.dim>o+i&&(o+i-s)/n.dim||0;},getPages:function(){return B;},getPlugins:function(){return b;},getPosition:ze,getSlides:function(){return D;},getState:function(){return v;},getTotalSlideDim:pe,getTween:function(){return u;},getViewport:function(){return w;},getViewportDim:me,getVisibleSlides:function(e){return void 0===e?N:he(e);},goTo:je,hasNavigated:function(){return void 0!==f;},hideError:Re,hideLoading:Ae,init:function(){if(!l||!t(l))throw new Error("No Element found");return 0!==v&&(ke(),v=0),E=l,h=r,window.removeEventListener("resize",le),h.breakpoints&&window.addEventListener("resize",le),le(),_e;},isInfinite:function(){return O;},isInTransition:function(){return q.size>0;},isRTL:function(){return L;},isSettled:function(){return I;},isVertical:function(){return T;},localize:oe,next:function(e={}){return je(k+1,e),_e;},off:function(e,t){for(const n of e instanceof Array?e:[e])ie.has(n)&&ie.set(n,ie.get(n).filter((e)=>
4e!==t));return _e;},on:function(e,t){for(const n of e instanceof Array?e:[e])ie.set(n,[...ie.get(n)||[],t]);return _e;},prev:function(e={}){return je(k-1,e),_e;},reInit:function(e={},t){return ke(),v=0,g=void 0,H="*",r=e,h=e,s(t)&&(a=t),le(),_e;},remove:function(e){void 0===e&&(e=D.length-1);const t=D[e];return t&&(se("removeSlide",t),t.el&&(Oe(t.el),t.el.remove(),t.el=void 0),D.splice(e,1),ce(H),Se(),z=i($,z,_),Ie()),_e;},setPosition:function(e){z=e,ue(),Ie();},showError:function(e,t){if(1===v){Ae(e),Re(e);const n=e.el;if(n){const o=document.createElement("div");R(o,"f-html"),R(o,"is-error"),o.innerHTML=oe(t||"<p>{{ERROR}}</p>"),e.htmlEl=o,R(n,"has-html has-error"),n.insertAdjacentElement("afterbegin",o),se("contentReady",e);}}return _e;},showLoading:function(e){const t=e.el,n=null==t?void 0:t.querySelector(".f-spinner");if(!t||n)return _e;const i=ne("spinnerTpl"),s=o(i);return s&&(R(s,"f-spinner"),t.insertAdjacentElement("beforeend",s)),_e;},version:"6.1.13"};return _e;};Q.l10n={en_EN:X},Q.getDefaults=()=>U;const ee=(e=!0,t="--f-scrollbar-compensate",n="--f-body-margin",o="hide-scrollbar")=>{const i=document,s=i.body,l=i.documentElement;if(e){if(s.classList.contains(o))return;let e=window.innerWidth-l.getBoundingClientRect().width;e<0&&(e=0),l.style.setProperty(t,`${e}px`);const i=parseFloat(window.getComputedStyle(s).marginRight);i&&s.style.setProperty(n,`${i}px`),s.classList.add(o);}else s.classList.remove(o),s.style.setProperty(n,""),i.documentElement.style.setProperty(t,"");};function te(){return !("undefined"==typeof window||!window.document||!window.document.createElement);}const ne=function(e="",t="",n=""){return e.split(t).join(n);},oe={tpl:(e)=>`<img class="f-panzoom__content" \n ${e.srcset?'data-lazy-srcset="{{srcset}}"':""} \n ${e.sizes?'data-lazy-sizes="{{sizes}}"':""} \n data-lazy-src="{{src}}" alt="{{alt}}" />`},ie=()=>{let t;function n(e,n){const o=null==t?void 0:t.getOptions().Zoomable;let i=(s(o)?Object.assign(Object.assign({},oe),o):oe)[e];return i&&"function"==typeof i&&n?i(n):i;}function o(){t&&!1!==t.getOptions().Zoomable&&(t.on("addSlide",r),t.on("removeSlide",a),t.on("attachSlideEl",c),t.on("click",l),t.on("change",i),t.on("ready",i));}function i(){u();const e=(null==t?void 0:t.getVisibleSlides())||[];if(e.length>1||"slide"===(null==t?void 0:t.getOption("transition"))){for(const n of e){const e=n.panzoomRef;e&&((null==t?void 0:t.getPage().slides)||[]).indexOf(n)<0&&e.execute(F.ZoomTo,Object.assign({},e.getStartPosition()));}}}function l(e,t){const n=t.target;n&&!t.defaultPrevented&&n.dataset.panzoomAction&&d(n.dataset.panzoomAction);}function r(o,i){const s=i.el;if(!t||!s||i.panzoomRef)return;const l=i.src||i.lazySrc||"",r=i.alt||i.caption||`Image #${i.index}`,a=i.srcset||i.lazySrcset||"",c=i.sizes||i.lazySizes||"";if(l&&e(l)&&!i.html&&(!i.type||"image"===i.type)){i.type="image",i.thumbSrc=i.thumbSrc||l;let e=n("tpl",i);e=ne(e,"{{src}}",l+""),e=ne(e,"{{srcset}}",a+""),e=ne(e,"{{sizes}}",c+""),s.insertAdjacentHTML("afterbegin",e);}const d=s.querySelector(".f-panzoom__content");if(!d)return;d.setAttribute("alt",r+"");const f=i.width&&"auto"!==i.width?parseFloat(i.width+""):"auto",g=i.height&&"auto"!==i.height?parseFloat(i.height+""):"auto",v=B(s,Object.assign({width:f,height:g,classes:{container:"f-zoomable"},event:()=>null==t?void 0:t.getLastMouseMove(),spinnerTpl:()=>(null==t?void 0:t.getOption("spinnerTpl"))||""},n("Panzoom")));v.on("*",(e,n,...o)=>{t&&("loading"===n&&(i.state=0),"loaded"===n&&(i.state=1),"error"===n&&(i.state=2,null==t||t.showError(i,"{{IMAGE_ERROR}}")),t.emit(`panzoom:${n}`,i,...o),"loading"===n&&t.emit("contentLoading",i),"ready"===n&&t.emit("contentReady",i),i.index===(null==t?void 0:t.getPageIndex())&&u());}),i.panzoomRef=v;}function a(e,t){t.panzoomRef&&(t.panzoomRef.destroy(),t.panzoomRef=void 0);}function c(e,t){const n=t.panzoomRef;if(n)switch(n.getState()){case 0:n.init();break;case 3:n.execute(F.ZoomTo,Object.assign(Object.assign({},n.getStartPosition()),{velocity:0}));}}function u(){var e,n;const o=(null==t?void 0:t.getContainer())||void 0,i=null===(n=null===(e=null==t?void 0:t.getPage())||void 0===e?void 0:e.slides[0])||void 0===n?void 0:n.panzoomRef;if(o)if(i)i.updateControls(o);else{for(const e of o.querySelectorAll("[data-panzoom-action]")||[])e.setAttribute("aria-disabled",""),e.setAttribute("tabindex","-1");}}function d(e,...n){var o;null===(o=null==t?void 0:t.getPage().slides[0].panzoomRef)||void 0===o||o.execute(e,...n);}return {init:function(e){t=e,t.on("initPlugins",o);},destroy:function(){if(t){t.off("initPlugins",o),t.off("addSlide",r),t.off("removeSlide",a),t.off("attachSlideEl",c),t.off("click",l),t.off("change",i
4),t.off("ready",i);for(const e of t.getSlides())a(0,e);}t=void 0;},execute:d};},se={syncOnChange:!1,syncOnClick:!0,syncOnHover:!1},le=()=>{let e,t;function n(){const t=null==e?void 0:e.getOptions().Sync;return s(t)?Object.assign(Object.assign({},se),t):se;}function o(){const o=n().target;e&&o&&function(o){var s,f,g;e&&o&&(t=o,e.getOptions().classes=Object.assign(Object.assign({},e.getOptions().classes),{isSelected:""}),e.getOptions().initialSlide=(null===(f=null===(s=t.getPage())||void 0===s?void 0:s.slides[0])||void 0===f?void 0:f.index)||0,n().syncOnChange&&e.on("change",l),n().syncOnClick&&e.on("click",a),n().syncOnHover&&(null===(g=e.getViewport())||void 0===g||g.addEventListener("mouseover",c)),e&&t&&(e.on("ready",i),e.on("refresh",u),t.on("change",r),t.on("filter",d)));}(o);}function i(){f();}function l(){var n;if(e&&t){const o=(null===(n=e.getPage())||void 0===n?void 0:n.slides)||[],i=t.getPageIndex(o[0].index||0);i>-1&&t.goTo(i,e.hasNavigated()?void 0:{tween:!1,transition:!1}),f();}}function r(){var n;if(e&&t){const o=e.getPageIndex((null===(n=t.getPage())||void 0===n?void 0:n.slides[0].index)||0);o>-1&&e.goTo(o,t.hasNavigated()?void 0:{tween:!1,transition:!1}),f();}}function a(n,o){var i;if(!e||!t)return;if(null===(i=e.getTween())||void 0===i?void 0:i.isRunning())return;const s=null==e?void 0:e.getOptions().classes.slide;if(!s)return;const l=s?o.target.closest(`.${s}`):null;
4if(l){const e=parseInt(l.getAttribute("index")||"")||0,n=t.getPageIndex(e);t.goTo(n);}}function c(t){e&&a(0,t);}function u(){var n;if(e&&t){const o=e.getPageIndex((null===(n=t.getPage())||void 0===n?void 0:n.slides[0].index)||0);o>-1&&e.goTo(o,{tween:!1,transition:!1}),f();}}function d(n,o){e&&t&&(e.filter(o),r());}function f(){var n,o,i;if(!t)return;const s=(null===(o=null===(n=t.getPage())||void 0===n?void 0:n.slides[0])||void 0===o?void 0:o.index)||0;for(const t of (null==e?void 0:e.getSlides())||[])null===(i=t.el)||void 0===i||i.classList.toggle("is-selected",t.index===s);}return {init:function(t){e=t,e.on("initSlides",o);},destroy:function(){var n;null==e||e.off("ready",i),null==e||e.off("refresh",u),null==e||e.off("change",l),null==e||e.off("click",a),null===(n=null==e?void 0:e.getViewport())||void 0===n||n.removeEventListener("mouseover",c),null==t||t.off("change",r),null==t||t.off("filter",d),t=void 0,null==e||e.off("initSlides",o),e=void 0;},getTarget:function(){return t;}};},re={showLoading:!0,preload:1},ae="is-lazyloading",ce="is-lazyloaded",ue="has-lazyerror",de=()=>{let e;function t(){const t=null==e?void 0:e.getOptions().Lazyload;return s(t)?Object.assign(Object.assign({},re),t):re;}function n(n){var o;const i=n.el;if(!i)return;const s="[data-lazy-src],[data-lazy-srcset],[data-lazy-bg]",l=Array.from(i.querySelectorAll(s));i.matches(s)&&l.push(i);for(const i of l){const s=i.dataset.lazySrc,l=i.dataset.lazySrcset,r=i.dataset.lazySizes,a=i.dataset.lazyBg,c=(i instanceof HTMLImageElement||i instanceof HTMLSourceElement)&&(s||l),u=i instanceof HTMLElement&&a;if(!c&&!u)continue;const d=s||l||a;if(d){if(c&&d){const a=null===(o=i.parentElement)||void 0===o?void 0:o.classList.contains("f-panzoom__wrapper");t().showLoading&&(null==e||e.showLoading(n)),i.addEventListener("load",()=>{null==e||e.hideLoading(n),C(i,ue),i instanceof HTMLImageElement?i.decode().then(()=>{C(i,ae),R(i,ce);}).catch(()=>{C(i,ae),R(i,ce);}):(C(i,ae),R(i,ce)),a||null==e||e.emit("lazyLoad:loaded",n,i,d);}),i.addEventListener("error",()=>{null==e||e.hideLoading(n),C(i,ae),R(i,ue),a||null==e||e.emit("lazyLoad:error",n,i,d);}),i.classList.add("f-lazyload"),i.classList.add(ae),a||null==e||e.emit("lazyLoad:load",n,i,d),s&&(i.src=s),l&&(i.srcset=l),r&&(i.sizes=r);}else u&&(document.body.contains(i)||(document.createElement("img").src=a),i.style.backgroundImage=`url('${a}')`);delete i.dataset.lazySrc,delete i.dataset.lazySrcset,delete i.dataset.lazySizes,delete i.dataset.lazyBg;}}}function o(){if(!e)return;const o=[...e.getVisibleSlides()],i=t().preload;if(i>0){const t=e.getPosition(),n=e.getViewportDim();o.push(...e.getVisibleSlides(t+n*i),...e.getVisibleSlides(t-n*i));}for(const e of o)n(e);}return {init:function(t){e=t,e.on("render",o);},destroy:function(){null==e||e.off("render",o),e=void 0;}};},fe='<svg width="24" height="24" viewBox="0 0 24 24" tabindex="-1">',ge="</svg>",ve={prevTpl:fe+'<path d="M15 3l-9 9 9 9"></path>'+ge,nextTpl:fe+'<path d="M9 3l9 9-9 9"></path>'+ge},me=()=>{let e,t,n;function i(){const t=null==e?void 0:e.getOptions().Arrows;return s(t)?Object.assign(Object.assign({},ve),t):ve;}function l(t){if(!e)return;const n=`<button data-carousel-go-${t} tabindex="0" class="f-button is-arrow is-${t}" title="{{${t.toUpperCase()}}}">`+i()[`${t}Tpl`]+"</button",s=o(e.localize(n))||void 0;return s&&R(s,i()[`${t}Class`]),s;}function r(){var o;null==t||t.remove(),t=void 0,null==n||n.remove(),n=void 0,null===(o=null==e?void 0:e.getContainer())||void 0===o||o.classList.remove("has-arrows");}function a(){e&&!1!==e.getOptions().Arrows&&e.getPages().length>1?(function(){if(!e)return;const o=e.getViewport();o&&(t||(t=l("prev"),t&&o.insertAdjacentElement("beforebegin",t)),n||(n=l("next"),n&&o.insertAdjacentElement("afterend",n)),j(e.getContainer(),"has-arrows",!(!t&&!n)));}(),e&&(null==t||t.toggleAttribute("aria-disabled",!e.canGoPrev()),null==n||n.toggleAttribute("aria-disabled",!e.canGoNext()))):r();}return {init:function(t){e=t.on(["change","refresh"],a);},destroy:function(){r(),null==e||e.off(["change","refresh"],a),e=void 0;}};},pe='<circle cx="11" cy="11" r="7.5"/><path d="m21 21-4.35-4.35M8 11h6"/>',he='<g>
4<line x1="11" y1="8" x2="11" y2="14"></line></g>'+pe,ye={moveLeft:["moveLeft","MOVE_LEFT",'<path d="M5 12h14M5 12l6 6M5 12l6-6"/>'],moveRight:["moveRight","MOVE_RIGHT",'<path d="M5 12h14M13 18l6-6M13 6l6 6"/>'],moveUp:["moveUp","MOVE_UP",'<path d="M12 5v14M18 11l-6-6M6 11l6-6"/>'],moveDown:["moveDown","MOVE_DOWN",'<path d="M12 5v14M18 13l-6 6M6 13l6 6"/>'],zoomOut:["zoomOut","ZOOM_OUT",pe],zoomIn:["zoomIn","ZOOM_IN",he],toggleFull:["toggleFull","TOGGLE_FULL",he],iterateZoom:["iterateZoom","ITERATE_ZOOM",he],toggle1to1:["toggleFull","TOGGLE_FULL",'<path d="M3.51 3.07c5.74.02 11.48-.02 17.22.02 1.37.1 2.34 1.64 2.18 3.13 0 4.08.02 8.16 0 12.23-.1 1.54-1.47 2.64-2.79 2.46-5.61-.01-11.24.02-16.86-.01-1.36-.12-2.33-1.65-2.17-3.14 0-4.07-.02-8.16 0-12.23.1-1.36 1.22-2.48 2.42-2.46Z"/><path d="M5.65 8.54h1.49v6.92m8.94-6.92h1.49v6.92M11.5 9.4v.02m0 5.18v0"/>'],rotateCCW:["rotateCCW","ROTATE_CCW",'<path d="M15 4.55a8 8 0 0 0-6 14.9M9 15v5H4M18.37 7.16v.01M13 19.94v.01M16.84 18.37v.01M19.37 15.1v.01M19.94 11v.01"/>'],rotateCW:["rotateCW","ROTATE_CW",'<path d="M9 4.55a8 8 0 0 1 6 14.9M15 15v5h5M5.63 7.16v.01M4.06 11v.01M4.63 15.1v.01M7.16 18.37v.01M11 19.94v.01"/>'],flipX:["flipX","FLIP_X",'<path d="M12 3v18M16 7v10h5L16 7M8 7v10H3L8 7"/>'],flipY:["flipY","FLIP_Y",'<path d="M3 12h18M7 16h10L7 21v-5M7 8h10L7 3v5"/>'],reset:["reset","RESET",'<path d="M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"/>'],toggleFS:["toggleFS","TOGGLE_FS",'<g><path d="M14.5 9.5 21 3m0 0h-6m6 0v6M3 21l6.5-6.5M3 21v-6m0 6h6"/></g><g><path d="m14 10 7-7m-7 7h6m-6 0V4M3 21l7-7m0 0v6m0-6H4"/></g>']},be={};for(const [e,t] of Object.entries(ye))be[e]={tpl:`<button data-panzoom-action="${t[0]}" class="f-button" title="{{${t[1]}}}"><svg>${t[2]}</svg></button>`};var Ee;!function(e){e.Left="left",e.middle="middle",e.right="right";}(Ee||(Ee={}));const we=Object.assign({counter:{tpl:'<div class="f-counter"><span data-carousel-page></span>/<span data-carousel-pages></span></div>'},download:{tpl:'<button data-carousel-download class="f-button" title="{{DOWNLOAD}}"><svg><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5 5-5M12 4v12"/></svg></button>'},autoplay:{tpl:'<button data-autoplay-action="toggle" class="f-button" title="{{TOGGLE_AUTOPLAY}}"><svg><g><path d="M5 3.5 19 12 5 20.5Z"/></g><g><path d="M8 4v15M17 4v15"/></g></svg></button>'},thumbs:{tpl:'<button data-thumbs-action="toggle" class="f-button" title="{{TOGGLE_THUMBS}}"><svg><rect width="18" height="14" x="3" y="3" rx="2"/><path d="M4 21h1M9 21h1M14 21h1M19 21h1"/></svg></button>'}},be),xe={absolute:!1,display:{left:[],middle:["zoomIn","zoomOut","toggle1to1","rotateCCW","rotateCW","flipX","flipY","reset"],right:[]},enabled:"auto",items:{}},Me=()=>{let t,n;function i(e){const n=null==t?void 0:t.getOptions().Toolbar;let o=(s(n)?Object.assign(Object.assign({},xe),n):xe)[e];return o&&"function"==typeof o&&t?o(t):o;}function l(){var l;if(!(null==t?void 0:t.getOptions().Toolbar))return;if(!t||n)return;const r=t.getContainer();if(!r)return;let a=i("enabled");if(!a)return;const c=i("absolute"),u=t.getSlides().length>1;let d=!1,f=!1;for(const e of t.getSlides())e.panzoomRef&&(d=!0),(e.downloadSrc||"image"===e.type&&e.src)&&(f=!0);const g=(null===(l=t.getPlugins().Thumbs)||void 0===l?void 0:l.isEnabled())||!1,v=u&&t.getPlugins().Autoplay||!1,m=t.getPlugins().Fullscreen&&(document.fullscreenEnabled||document.webkitFullscreenEnabled);if("auto"===a&&(a=d),!a)return;n=r.querySelector(".f-carousel__toolbar")||void 0,n||(n=document.createElement("div"),R(n,"f-carousel__toolbar"));const p=i("display"),h=Z({},we,i("items"));for(const i of ["left","middle","right"]){const l=p[i]||[],r=document.createElement("div");R(r,`f-carousel__toolbar__column is-${i}`);for(const n of l){let i;if(e(n)){if("counter"===n&&!u)continue;if("autoplay"===n&&!v)continue;if(be[n]&&!d)continue;if("fullscreen"===n&&!m)continue;if("thumbs"===n&&!g)continue;if("download"===n&&!f)continue;i=h[n];}if(s(n)&&(i=n),i&&i.tpl){let e=t.localize(i.tpl);e=e.split("<svg>").join('<svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24">');const n=o(e);n&&("function"==typeof i.click&&t&&n.addEventListener("click",(e)=>{e.preventDefault(),e.stopPropagation(),"function"==typeof i.click&&t&&i.click(t,e);}),r.append(n));}}n.append(r);}if(n.childElementCount){if(c&&R(n,"is-absolute"),!n.parentElement){const e=i("parentEl");
4e?e.insertAdjacentElement("afterbegin",n):r.insertAdjacentElement("afterbegin",n);}r.contains(n)&&(R(r,"has-toolbar"),c&&R(r,"has-absolute-toolbar"));}}return {init:function(e){t=e,null==t||t.on("initSlides",l);},destroy:function(){null==t||t.off("initSlides",l),C(null==t?void 0:t.getContainer(),"has-toolbar has-absolute-toolbar"),null==n||n.remove(),n=void 0;},add:function(e,t){we[e]=t;},isEnabled:function(){return !!n;}};},Se={autoStart:!0,pauseOnHover:!0,showProgressbar:!0,timeout:2e3},Oe=()=>{let e,t,n=!1,o=!1,i=!1,l=null;function r(t){const n=null==e?void 0:e.getOptions().Autoplay;let o=(s(n)?Object.assign(Object.assign({},Se),n):Se)[t];return o&&"function"==typeof o&&e?o(e):o;}function a(){clearTimeout(t),t=void 0;}function c(){if(!e||!n||i||o||t||!e.isSettled()||function(){var t;const n=(null===(t=null==e?void 0:e.getPage())||void 0===t?void 0:t.slides)||[];for(const e of n)if(0===e.state)return !0;return !1;}())return;!function(){var t,n,o,i;if(!e)return;if(f(),!r("showProgressbar"))return;let s=r("progressbarParentEl");if(!s&&(null===(t=e.getPlugins().Toolbar)||void 0===t?void 0:t.isEnabled())&&(s=e.getContainer()),!s&&!0!==(null===(n=e.getPlugins().Toolbar)||void 0===n?void 0:n.isEnabled())){const t=(null===(o=e.getPages()[0])||void 0===o?void 0:o.slides)||[],n=(null===(i=e.getPage())||void 0===i?void 0:i.slides)||[];1===t.length&&1===n.length&&(s=n[0].el);}if(s||(s=e.getViewport()),!s)return;l=document.createElement("div"),R(l,"f-progressbar"),s.prepend(l);const a=r("timeout")||1e3;l.style.animationDuration=`${a}ms`;}();const s=r("timeout");t=setTimeout(()=>{e&&n&&!o&&(e.isInfinite()||e.getPageIndex()!==e.getPages().length-1?e.next():e.goTo(0));},s);}function u(){var t;if(!e||e.getPages().length<2||!1===e.getOptions().Autoplay)return;if(n)return;n=!0,e.emit("autoplay:start",r("timeout")),R(e.getContainer(),"has-autoplay"),null===(t=e.getTween())||void 0===t||t.on("start",y);const o=null==e?void 0:e.getContainer();o&&r("pauseOnHover")&&matchMedia("(hover: hover)").matches&&(o.addEventListener("mouseenter",b,!1),o.addEventListener("mouseleave",E,!1)),e.on("change",p),e.on("settle",h),e.on("contentReady",v),e.on("panzoom:touchStart",d),e.on("panzoom:wheel",d),e.isSettled()&&c();}function d(){var t;if(a(),f(),e){if(n){e.emit("autoplay:end"),null===(t=e.getTween())||void 0===t||t.off("start",y);const n=e.getContainer();n&&(n.classList.remove("has-autoplay"),n.removeEventListener("mouseenter",b,!1),n.removeEventListener("mouseleave",E,!1));}e.off("change",p),e.off("settle",h),e.off("contentReady",v),e.off("panzoom:touchStart",d),e.off("panzoom:wheel",d);}n=!1,o=!1;}function f(){l&&(l.remove(),l=null);}function g(){e&&e.getPages().length>1&&r("autoStart")&&u();}function v(){c();}function m(e,t){const n=t.target;n&&!t.defaultPrevented&&"toggle"===n.dataset.autoplayAction&&w.toggle();}function p(){!e||!(null==e?void 0:e.isInfinite())&&e.getPageIndex()===e.getPages().length-1?d():(f(),a());}function h(){c();}function y(){a(),f();}function b(){i=!0,n&&(f(),a());}function E(){i=!1,n&&!o&&(null==e?void 0:e.isSettled())&&c();}const w={init:function(t){e=t,e.on("ready",g),e.on("click",m);},destroy:function(){d(),null==e||e.off("ready",g),null==e||e.off("click",m),e=void 0;},isEnabled:()=>n,pause:function(){o=!0,a();},resume:function(){o=!1,n&&!i&&c();},start(){u();},stop(){d();},toggle(){n?d():u();}};return w;},Le={Carousel:{Lazyload:{showLoading:!1}},minCount:2,showOnStart:!0,thumbTpl:'<button aria-label="Slide to #{{page}}"><img draggable="false" alt="{{alt}}" data-lazy-src="{{src}}" /></button>',type:"modern"};let Te;const Pe=()=>{let e,t,n,l,r,a=0,c=0,u=!0;function d(t){const n=null==e?void 0:e.getOptions().Thumbs;let o=(s(n)?Object.assign(Object.assign({},Le),n):Le)[t];return o&&"function"==typeof o&&e?o(e):o;}function f(){if(!e)return !1;if(!1===(null==e?void 0:e.getOptions().Thumbs))return !1;let t=0;for(const n of e.getSlides())n.thumbSrc&&t++;return t>=d("minCount");}function g(){return "modern"===d("type");}function v(){return "scrollable"===d("type");}function m(){const t=[],n=(null==e?void 0:e.getSlides())||[];for(const e of n)t.push({index:e.index,class:e.thumbClass,html:p(e)});return t;}function p(e){const t=e.thumb?e.thumb instanceof HTMLImageElement?e.thumb.src:e.thumb:e.thumbSrc||void 0,n=void 0===e.thumbAlt?`Thumbnail #${(e.index||0)+1}`:e.thumbAlt+"";let o=d("thumbTpl");return o=ne(o,"{{alt}}",n),o=ne(o,"{{src}}",t+""),o=ne(o,"{{index}}",`${e.index||0}`),o=ne(o,"{{page}}",`${(e.index||0)+1}`),o;}function h(e){return `<div index="${e.index||0}" class="f-thumbs__slide ${e.class||""}">${e.html||""}</div>`;}function y(t=!1){var o;const i=null==e?void 0:e.getContainer();if(!e||!i||n||!f())return;const s=(null===(o=d("Carousel"))||void 0===o?void 0:o.classes)||{};if(s.container=s.container||"f-thumbs",!n){const e=i.nextElementSibling;(null==e?void 0:e.classList.contains(s.container))&&(n=e);}if(!n){n=document.createElement("div");const e=d("parentEl");
4e?e.insertAdjacentElement("beforeend",n):i.insertAdjacentElement("afterend",n);}R(n,s.container),R(n,"f-thumbs"),R(n,`is-${d("type")}`),t&&R(n,"is-hidden");}function b(){if(!n||!v())return;l=document.createElement("div"),R(l,"f-thumbs__viewport");let t="";for(const e of m())"string"==typeof (e.html||"")&&(t+=h(e));l.innerHTML=t,n.append(l),n.addEventListener("click",(t)=>{t.preventDefault();const n=t.target.closest("[index]"),o=parseInt((null==n?void 0:n.getAttribute("index"))||"-1");e&&o>-1&&e.goTo(o);}),r=new IntersectionObserver((e)=>{e.forEach((e)=>{e.isIntersecting&&e.target instanceof HTMLImageElement&&(e.target.src=e.target.getAttribute("data-lazy-src")+"",e.target.removeAttribute("data-lazy-src"),null==r||r.unobserve(e.target));});},{root:l,rootMargin:"100px"}),n.querySelectorAll("[data-lazy-src]").forEach((e)=>{null==r||r.observe(e);}),null==e||e.emit("thumbs:ready");}function E(){var o;if(!Te||!e||!n||v()||t)return;const i=m();if(!i.length)return;const s=Z({},{Sync:{target:e},Lazyload:{preload:1},slides:i,classes:{container:"f-thumbs",viewport:"f-thumbs__viewport",slide:"f-thumbs__slide"},center:!0,fill:!g(),infinite:!1,dragFree:!0,rtl:e.getOptions().rtl||!1,slidesPerPage:(e)=>{let t=0;return g()&&(function(){if(!g())return;if(!n)return;const e=(e)=>n&&parseFloat(getComputedStyle(n).getPropertyValue("--f-thumb-"+e))||0;a=e("width"),c=e("clip-width");}(),t=4*(a-c)),e&&e.getTotalSlideDim()<=e.getViewportDim()-t?1/0:1;}},Le.Carousel||{},d("Carousel")||{});t=Te(n,s,{Sync:le,Lazyload:de}),t.on("ready",()=>{R(n,"is-syncing"),null==e||e.emit("thumbs:ready"),g()&&(null==e||e.on("render",S));}),t.on("destroy",()=>{null==e||e.emit("thumbs:destroy");}),t.init(),null===(o=t.getGestures())||void 0===o||o.on("start",()=>{u=!1;}),t.on("click",(e,t)=>{const n=t.target;if(n){const e=n.matches("button")?n:n.firstElementChild;e&&e.matches("button")&&(t.preventDefault(),e.focus({preventScroll:!0}));}}),R(e.getContainer(),"has-thumbs"),j();}function w(){f()&&d("showOnStart")&&(y(),b());}function x(){var t;f()&&(E(),null==e||e.on("addSlide",L),null==e||e.on("removeSlide",T),null==e||e.on("click",P),null==e||e.on("refresh",A),null===(t=null==e?void 0:e.getGestures())||void 0===t||t.on("start",M),C(!0));}function M(){var e,t;u=!0,(null===(e=document.activeElement)||void 0===e?void 0:e.closest(".f-thumbs"))&&(null===(t=document.activeElement)||void 0===t||t.blur());}function S(){var o,s;null==n||n.classList.toggle("is-syncing",!1===(null==e?void 0:e.hasNavigated())||(null===(o=null==e?void 0:e.getTween())||void 0===o?void 0:o.isRunning())),j(),(null===(s=null==e?void 0:e.getGestures())||void 0===s?void 0:s.isPointerDown())&&function(){if(!g())return;if(!e||!t)return;if(!u)return;const n=t.getTween(),o=t.getPages(),s=e.getPageIndex()||0,l=e.getPageProgress()||0;if(!(e&&o&&o[s]&&n))return;const r=n.isRunning()?n.getCurrentValues().pos:t.getPosition();if(void 0===r)return;let d=o[s].pos+l*(a-c);d=i(o[0].pos,d,o[o.length-1].pos),n.from({pos:r}).to({pos:d}).start();}();}function O(){u=!0,C();}function L(e,n){const i={html:p(n)};if(t)t.add(i,n.index);else{if(l){const e=o(h(i));if(e){l.append(e);const t=e.querySelector("img");t&&(null==r||r.observe(t));}}}}function T(e,n){var o;t?t.remove(n.index):l&&(null===(o=l.querySelector(`[index="${n.index}"]`))||void 0===o||o.remove());}function P(e,t){var o;const i=t.target;t.defaultPrevented||"toggle"!==(null===(o=null==i?void 0:i.dataset)||void 0===o?void 0:o.thumbsAction)||(n||(y(!0),b(),E()),n&&n.classList.toggle("is-hidden"));}function A(){C();}function C(t=!1){if(!e||!l||!v())return;const n=e.getPageIndex();l.querySelectorAll(".is-selected").forEach((e)=>{e.classList.remove("is-selected");});const o=l.querySelector(`[index="${n}"]`);if(o){o.classList.add("is-selected");const e=l.getBoundingClientRect(),n=o.getBoundingClientRect(),i=o.offsetTop-l.offsetTop-.5*e.height+.5*n.height,s=o.scrollLeft-l.scrollLeft-.5*e.width+.5*n.width;l.scrollTo({top:i,left:s,behavior:t?"instant":"smooth"});}}function j(){if(!g())return;if(!e||!t)return;const n=(null==t?void 0:t.getSlides())||[];let o=-.5*a;for(const t of n){const n=t.el;if(!n)continue;let i=e.getPageProgress(t.index)||0;i=Math.max(-1,Math.min(1,i)),i>-1&&i<1&&(o+=.5*a*(1-Math.abs(i))),i=Math.round(1e4*i)/1e4,o=Math.round(1e4*o)/1e4,n.style.setProperty("--progress",`${Math.abs(i)}`),n.style.setProperty("--shift",`${(null==e?void 0:e.isRTL())?-1*o:o}px`),i>-1&&i<1&&(o+=.5*a*(1-Math.abs(i)));}}return {init:function(t,n){Te=n,e=t,e.on("ready",x),e.on("initSlides",w),e.on("change",O);},destroy:function(){var o,i;v()&&(null==e||e.emit("thumbs:destroy")),null==e||e.off("ready",x),null==e||e.off("initSlides",w),null==e||e.off("change",O),null==e||e.off("render",S),null==e||e.off("addSlide",L),null==e||e.off("click",P),null==e||e.off("refresh",A),null===(o=null==e?void 0:e.getGestures())||void 0===o||o.off("start",M),null===(i=null==e?void 0:e.getContainer())||void 0===i||i.classList.remove("has-thumbs"),e=void 0,null==t||t.destroy(),t=void 0,null==n||n.remove(),n=void 0;},getCarousel:function(){return t;},getContainer:function(){return n;},getType:function(){return d("type");},isEnabled:f};},Ae={autosize:!1,iframeAttr:{allow:"autoplay; fullscreen",scrolling:"auto"},preload:!1},Re=()=>{let t;function n(){const e=null==t?void 0:t.getOptions().Html;return s(e)?Object.assign(Object.assign({},Ae),e):Ae;}function o(e,t){let o=e[t];return void 0===o&&(o=n()[t]),"true"===o||"false"!==o&&o;}function i(t,n){let o=n.type,i=n.src;
4if(!o&&e(i)){if("#"===i.charAt(0)?o="inline":i.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.((a)?png|avif|gif|jp(g|eg)|pjp(eg)?|jfif|svg|webp|bmp|ico|tif(f)?)((\?|#).*)?$)/i)?o="image":i.match(/\.(pdf)((\?|#).*)?$/i)?o="pdf":i.match(/\.(html|php)((\?|#).*)?$/i)&&(o="iframe"),!o){const e=i.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i);e&&(i=`https://maps.google.${e[1]}/?ll=${(e[2]?e[2]+"&z="+Math.floor(parseFloat(e[3]))+(e[4]?e[4].replace(/^\//,"&"):""):e[4]+"").replace(/\?/,"&")}&output=${e[4]&&e[4].indexOf("layer=c")>0?"svembed":"embed"}`,o="gmap");}if(!o){const e=i.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i);e&&(i=`https://maps.google.${e[1]}/maps?q=${e[2].replace("query=","q=").replace("api=1","")}&output=embed`,o="gmap");}o&&(n.src=i,n.type=o);}}function l(e,i){"iframe"!==i.type&&"pdf"!==i.type&&"gmap"!==i.type||function(e){const i=e.el,s=e.src;if(!t||!i||!s)return;const l=document.createElement("iframe");R(l,"f-iframe");for(const [e,t] of Object.entries(n().iframeAttr||{}))l.setAttribute(e,t);l.onerror=()=>{e.state=2,null==t||t.showError(e,"{{IFRAME_ERROR}}");};const r=document.createElement("div");if(R(r,"f-html"),r.append(l),e.width){let t=`${e.width}`;t.match(/^\d+$/)&&(t+="px"),r.style.maxWidth=`${t}`;}if(e.height){let t=`${e.height}`;t.match(/^\d+$/)&&(t+="px"),r.style.maxHeight=`${t}`;}if(e.aspectRatio){const t=i.getBoundingClientRect();r.style.aspectRatio=`${e.aspectRatio}`,r.style[t.width>t.height?"width":"height"]="auto",r.style[t.width>t.height?"maxWidth":"maxHeight"]="none";}e.htmlEl=r,e.contentEl=l,R(i,`has-html has-iframe has-${e.type}`),i.prepend(r);const a=o(e,"preload"),c=o(e,"autosize");"iframe"===e.type&&(a||c)?(e.state=0,t.showLoading(e),R(i,"is-loading"),l.onload=()=>{if(!t||1!==t.getState()||!l.src.length)return;e.state=1;const n="true"!==l.dataset.ready;l.dataset.ready="true",function(e){const t=e.contentEl,n=null==t?void 0:t.parentElement,i=null==n?void 0:n.style;let s=o(e,"autosize"),l=e.width||0,r=e.height||0;if(l&&r&&(s=!1),t&&n&&i&&s){try{const e=window.getComputedStyle(n),o=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight),s=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),a=t.contentWindow;if(a){const e=a.document,t=e.getElementsByTagName("html")[0],n=e.body;i.width="";const c=window.getComputedStyle(n),u=parseFloat(c.marginLeft)+parseFloat(c.marginRight),d=n.style.overflow||"";n.style.overflow="hidden",l=l||n.scrollWidth+u+o,i.flex="0 0 auto",i.width=`${l}px`,i.height=`${n.scrollHeight}px`,n.style.overflow=d,r=Math.max(t.scrollHeight,Math.ceil(t.getBoundingClientRect().height))+s;}}catch(e){}if(l||r){const e={flex:"0 1 auto",width:"",height:""};l&&"auto"!==l&&(e.width=`${l}px`),r&&"auto"!==r&&(e.height=`${r}px`),Object.assign(i,e);}}}(e),t.hideLoading(e),n&&t.emit("contentReady",e),C(i,"is-loading");},l.src=`${s}`):(l.src=`${s}`,t.emit("contentReady",e));}(i);}function r(e,n){var o,i;"iframe"!==n.type&&"pdf"!==n.type&&"gmap"!==n.type||(null==t||t.hideError(n),null===(o=n.contentEl)||void 0===o||o.remove(),n.contentEl=void 0,null===(i=n.htmlEl)||void 0===i||i.remove(),n.htmlEl=void 0);}return {init:function(e){t=e,t.on("addSlide",i),t.on("attachSlideEl",l),t.on("detachSlideEl",r);},destroy:function(){null==t||t.off("addSlide",i),null==t||t.off("attachSlideEl",l),null==t||t.off("detachSlideEl",r),t=void 0;}};},Ce=(e,t={})=>{const n=new URL(e),o=new URLSearchParams(n.search),i=new URLSearchParams();for(const [e,n] of [...o,...Object.entries(t)]){let t=n+"";if("t"===e){let e=t.match(/((\d*)m)?(\d*)s?/);e&&i.set("start",60*parseInt(e[2]||"0")+parseInt(e[3]||"0")+"");}else i.set(e,t);}let s=i+"",l=e.match(/#t=((.*)?\d+s)/);return l&&(s+=`#t=${l[1]}`),s;},je={autoplay:!1,html5videoTpl:'<video class="f-html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">\n <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos.</video>',iframeAttr:{allow:"autoplay; fullscreen",scrolling:"no",referrerPolicy:"strict-origin-when-cross-origin",credentialless:""},vimeo:{byline:1,color:"00adef",controls:1,dnt:1,muted:0},youtube:{controls:1,enablejsapi:1,nocookie:1,rel:0,fs:1}},ze=()=>{let t,n=!1;function i(){const e=null==t?void 0:t.getOptions().Video;return s(e)?Object.assign(Object.assign({},je),e):je;}function l(){var e;return null===(e=null==t?void 0:t.getPage())||void 0===e?void 0:e.slides[0];}const r=(e)=>{var n;try{let o=JSON.parse(e.data);if("https://player.vimeo.com"===e.origin){if("ready"===o.event){for(let o of Array.from((null===(n=null==t?void 0:t.getContainer())||void 0===n?void 0:n.getElementsByClassName("f-iframe"))||[]))o instanceof HTMLIFrameElement&&o.contentWindow===e.source&&(o.dataset.ready="true");}}else{if(e.origin.match(/^https:\/\/(www.)?youtube(-nocookie)?.com$/)&&"onReady"===o.event){const e=document.getElementById(o.id);e&&(e.dataset.ready="true");}}}catch(e){}};function a(t,n){const o=n.src;if(!e(o))return;let s=n.type;if(!s||"html5video"===s){const e=o.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i);e&&(s="html5video",n.html5videoFormat=n.html5videoFormat||"video/"+("ogv"===e[1]?"ogg":e[1]));}if(!s||"youtube"===s){const e=o.match(/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|shorts\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i);if(e){const t=Object.assign(Object.assign({},i().youtube),n.youtube||{}),l=`www.youtube${t.nocookie?"-nocookie":""}.com`,r=Ce(o,t),a=encodeURIComponent(e[2]);n.videoId=a,n.src=`https://${l}/embed/${a}?${r}`,n.thumb=n.thumb||`https://i.ytimg.com/vi/${a}/mqdefault.jpg`,s="youtube";}}if(!s||"vimeo"===s){const e=o.match(/^.+vimeo.com\/(?:\/)?(video\/)?([\d]+)((\/|\?h=)([a-z0-9]+))?(.*)?/);if(e){const t=Object.assign(Object.assign({},i().vimeo),n.vimeo||{}),l=Ce(o,t),r=encodeURIComponent(e[2]),a=e[5]||"";n.videoId=r,n.src=`https://player.vimeo.com/video/${r}?${a?`h=${a}${l?"&":""}`:""}${l}`,s="vimeo";}}n.type=s;}function c(n,s){"html5video"===s.type&&function(n){const s=n.el,l=n.src;if(!t||!s||!l)return;const r=n.html5videoTpl||i().html5videoTpl,a=n.html5videoFormat||i().html5videoFormat;if(!r)return;const c=n.poster||(n.thumb&&e(n.thumb)?n.thumb:""),u=o(r.replace(/\{\{src\}\}/gi,l+"").replace(/\{\{format\}\}/gi,a||"").replace(/\{\{poster\}\}/gi,c+""));if(!u)return;const d=document.createElement("div");R(d,"f-html"),d.append(u),n.contentEl=u,n.htmlEl=d,R(s,`has-${n.type}`),s.prepend(d),g(n),t.emit("contentReady",n);}(s),"youtube"!==s.type&&"vimeo"!==s.type||function(e){const n=e.el,o=e.src;if(!t||!n||!o)return;const s=document.createElement("iframe");R(s,"f-iframe"),s.setAttribute("id",`f-iframe_${e.videoId}`);for(const [e,t] of Object.entries(i().iframeAttr||{}))s.setAttribute(e,t);"youtube"===e.type&&(s.onload=()=>{var e;1===(null==t?void 0:t.getState())&&(null===(e=s.contentWindow)||void 0===e||e.postMessage(JSON.stringify({event:"listening",id:s.getAttribute("id")}),"*"));}),s.onerror=()=>{null==t||t.showError(e,"{{IFRAME_ERROR}}");};const l=document.createElement("div");R(l,"f-html"),l.append(s),e.contentEl=s,e.htmlEl=l,R(n,`has-html has-iframe has-${e.type}`),s.src=`${e.src}`,n.prepend(l),g(e),t.emit("contentReady",e);}(s);}function u(e,t){var n,o;"html5video"!==t.type&&"youtube"!==t.type&&"vimeo"!==t.type||(null===(n=t.contentEl)||void 0===n||n.remove(),t.contentEl=void 0,null===(o=t.htmlEl)||void 0===o||o.remove(),t.htmlEl=void 0),t.poller&&clearTimeout(t.poller);}function d(){n=!1;}function f(){if(n)return;n=!0;const e=l();(e&&void 0!==e.autoplay?e.autoplay:i().autoplay)&&(function(){var e;const t=l(),n=null==t?void 0:t.el;if(n&&"html5video"===(null==t?void 0:t.type))try{const e=n.querySelector("video");if(e){const t=e.play();void 0!==t&&t.then(()=>{}).catch((t)=>{e.muted=!0,e.play();});}}catch(e){}const o=null==t?void 0:t.htmlEl;o instanceof HTMLIFrameElement&&(null===(e=o.contentWindow)||void 0===e||e.postMessage('{"event":"command","func":"stopVideo","args":""}',"*"));}(),function(){const e=l(),t=null==e?void 0:e.type;if(!(null==e?void 0:e.el)||"youtube"!==t&&"vimeo"!==t)return;const n=()=>
4{if(e.contentEl&&e.contentEl instanceof HTMLIFrameElement&&e.contentEl.contentWindow){let t;if("true"===e.contentEl.dataset.ready)return t="youtube"===e.type?{event:"command",func:"playVideo"}:{method:"play",value:"true"},t&&e.contentEl.contentWindow.postMessage(JSON.stringify(t),"*"),void (e.poller=void 0);"youtube"===e.type&&(t={event:"listening",id:e.contentEl.getAttribute("id")},e.contentEl.contentWindow.postMessage(JSON.stringify(t),"*"));}e.poller=setTimeout(n,250);};n();}());}function g(e){const t=null==e?void 0:e.htmlEl;if(e&&t&&("html5video"===e.type||"youtube"===e.type||"vimeo"===e.type)){if(t.style.aspectRatio="",t.style.width="",t.style.height="",t.style.maxWidth="",t.style.maxHeight="",e.width){let n=`${e.width}`;n.match(/^\d+$/)&&(n+="px"),t.style.maxWidth=`${n}`;}if(e.height){let n=`${e.height}`;n.match(/^\d+$/)&&(n+="px"),t.style.maxHeight=`${n}`;}if(e.aspectRatio){const n=e.aspectRatio.split("/"),o=parseFloat(n[0].trim()),i=n[1]?parseFloat(n[1].trim()):0,s=o&&i?o/i:o;t.offsetHeight;const l=t.getBoundingClientRect(),r=s<(l.width||1)/(l.height||1);t.style.aspectRatio=`${e.aspectRatio}`,t.style.width=r?"auto":"",t.style.height=r?"":"auto";}}}function v(){g(l());}return {init:function(e){t=e,t.on("addSlide",a),t.on("attachSlideEl",c),t.on("detachSlideEl",u),t.on("ready",f),t.on("change",d),t.on("settle",f),t.on("refresh",v),window.addEventListener("message",r);},destroy:function(){null==t||t.off("addSlide",a),null==t||t.off("attachSlideEl",c),null==t||t.off("detachSlideEl",u),null==t||t.off("ready",f),null==t||t.off("change",d),null==t||t.off("settle",f),null==t||t.off("refresh",v),window.removeEventListener("message",r),t=void 0;}};},Ie={autoStart:!1,btnTpl:'<button data-fullscreen-action="toggle" class="f-button" title="{{TOGGLE_FULLSCREEN}}"><svg><g><path d="M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3"/></g><g><path d="M15 19v-2a2 2 0 0 1 2-2h2M15 5v2a2 2 0 0 0 2 2h2M5 15h2a2 2 0 0 1 2 2v2M5 9h2a2 2 0 0 0 2-2V5"/></g></svg></button>'},ke="in-fullscreen-mode",Fe=()=>{let e;function t(t){const n=null==e?void 0:e.getOptions().Fullscreen;let o=(s(n)?Object.assign(Object.assign({},Ie),n):Ie)[t];return o&&"function"==typeof o&&e?o(e):o;}function n(){var n;null===(n=null==e?void 0:e.getPlugins().Toolbar)||void 0===n||n.add("fullscreen",{tpl:t("btnTpl")});}function o(){if(t("autoStart")){const e=l();e&&a(e);}}function i(e,t){const n=t.target;n&&!t.defaultPrevented&&"toggle"===n.dataset.fullscreenAction&&u();}function l(){return t("el")||(null==e?void 0:e.getContainer())||void 0;}function r(){const e=document;return e.fullscreenEnabled?!!e.fullscreenElement:!!e.webkitFullscreenEnabled&&!!e.webkitFullscreenElement;}function a(e){const t=document;let n;return e||(e=t.documentElement),t.fullscreenEnabled?n=e.requestFullscreen():t.webkitFullscreenEnabled&&(n=e.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)),n&&n.then(()=>{e.classList.add(ke);}),n;}function c(){const e=document;let t;return e.fullscreenEnabled?t=e.fullscreenElement&&e.exitFullscreen():e.webkitFullscreenEnabled&&(t=e.webkitFullscreenElement&&e.webkitExitFullscreen()),t&&t.then(()=>{var e;null===(e=l())||void 0===e||e.classList.remove(ke);}),t;}function u(){if(r())c();else{const e=l();e&&a(e);}}return {init:function(t){e=t,e.on("initPlugins",n),e.on("ready",o),e.on("click",i);},destroy:function(){null==e||e.off("initPlugins",n),null==e||e.off("ready",o),null==e||e.off("click",i);},exit:c,inFullscreen:r,request:a,toggle:u};};let $e,_e,He=!1,De=!1,Ve=!1,qe=!1;const Ne=()=>{const e=new URL(document.URL).hash,t=e.slice(1).split("-"),n=t[t.length-1],o=n&&/^\+?\d+$/.test(n)&&parseInt(t.pop()||"1",10)||1;return {urlHash:e,urlSlug:t.join("-"),urlIndex:o};},Be=()=>{const e=null==$e?void 0:$e.getInstance(),t=null==e?void 0:e.getState();return !(!e||0!==t&&1!==t);},We=()=>{if(!$e)return;if(Be())return;const {urlSlug:e,urlIndex:t}=Ne();if(!e)return;let n=document.querySelector(`[data-slug="${e}"]`);n&&$e.fromTriggerEl(n),Be()||(n=document.querySelectorAll(`[data-fancybox="${e}"]`)[t-1],n&&$e.fromTriggerEl(n,{startIndex:t-1})),Be()&&n&&!n.closest("[inert]")&&n.scrollIntoView({behavior:"instant",block:"center",inline:"center"});},Ze=(e)=>{const t=e.getOptions().Hash,n=e.getSlide();return n&&(n.slug||n.fancybox||(s(t)?t.slug:""))||"";},Ge=(e)=>{var t,n;const o=Ze(e),i=e.getSlide();if(!i||!o)return "";let s=parseInt(i.index+"",10)+1,l=i.slug?`#${i.slug}`:`#${o}-${s}`;return ((null===(n=null===(t=e.getCarousel())||void 0===t?void 0:t.getPages())||void 0===n?void 0:n.length)||0)<2&&(l=`#${o}`),l;},Xe=()=>{if(!$e)return;if(Ve)return;const e=null==$e?void 0:$e.getInstance(),t=null==e?void 0:e.getCarousel(),{urlSlug:n,urlIndex:o}=Ne(),i=null==e?void 0:e.getOptions().Hash;if(!1!==i){if(e&&1===e.getState()&&t){const l=t.getSlides();for(const e of l||[])if(e.slug===n||(e.fancybox===n||s(i)&&i.slug===n)&&e.index===o-1)return De=!1,void t.goTo(e.index);qe=!0,e.close(),qe=!1;}We();}},Ye=()=>{$e&&(_e=setTimeout(()=>{He=!0,We(),He=!1;},300),window.addEventListener("hashchange",Xe,!1));};let Ue;function Ke(){history.scrollRestoration&&Ue&&(history.scrollRestoration=Ue,Ue=void 0);}const Je=()=>{let e,t="";function n(){var n;if(!e||!e.isTopMost()||!1===e.getOptions().Hash)return;if(He){const t=e.getOptions().sync;t&&t.goTo((null===(n=null==e?void 0:e.getCarousel())||void 0===n?void 0:n.getPageIndex())||0,{transition:!1,tween:!1});}const i=e.getCarousel();if(!i)return;if(!e.getSlide())return;const s=Ze(e);if(!s)return;const {urlHash:l,urlSlug:r}=Ne(),a=Ge(e);l!==a&&(t=l),history.scrollRestoration&&!Ue&&(Ue=history.scrollRestoration,history.scrollRestoration="manual",window.addEventListener("beforeunload",Ke)),i.on("change",o);const c=s!==r;try{window.history[c?"pushState":"replaceState"]({},document.title,window.location.pathname+window.location.search+a),c&&(De=!0);}catch(e){}}function o(){if(!e||!e.isTopMost()||!1===e.getOptions().Hash)return;if(!e.getSlide())return;if(!Ze(e))return;const t=Ge(e);Ve=!0;try{window.history.replaceState({},document.title,window.location.pathname+window.location.search+t);}catch(e){}Ve=!1;}function i(){var n;if(e&&e.isTopMost()&&!1!==e.getOptions().Hash&&!qe&&Ze(e)){Ve=!0;try{De&&!function(){if(window.parent===window)return !1;try{var e=window.frameElement;}catch(t){e=null;}return null===e?"data:"===location.protocol:e.hasAttribute("sandbox");}()&&"IFRAME"!==(null===(n=document.activeElement)||void 0===n?void 0:n.nodeName)?window.history.back():window.history.replaceState({},document.title,window.location.pathname+window.location.search+t);}catch(e){}Ve=!1;}}return {init:function(t){clearTimeout(_e),e=t,e.on("ready",n),e.on("close",i);},destroy:function(){null==e||e.off("ready",n),null==e||e.off("close",i);const t=null==e?void 0:e.getCarousel();t&&t.off("change",o),e=void 0,(null==$e?void 0:$e.getInstance())||(Ke(),window.removeEventListener("beforeunload",Ke));}};};Je.getInfoFromURL=Ne,Je.startFromUrl=We,Je.setup=function(e){$e||($e=e,te()&&
4(/complete|interactive|loaded/.test(document.readyState)?Ye():document.addEventListener("DOMContentLoaded",Ye)));};const Qe=Object.assign(Object.assign({},X),{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ELEMENT_NOT_FOUND:"HTML Element Not Found",IFRAME_ERROR:"Error Loading Page",NO_CAPTION:"No Caption",TOGGLE_SIDEBAR:"Toggle sidebar"}),et='<button class="f-button" title="{{CLOSE}}" data-fancybox-close><svg tabindex="-1" width="24" height="24" viewBox="0 0 24 24"><path d="M19.286 4.714 4.714 19.286M4.714 4.714l14.572 14.572" /></svg></button>';Me().add("close",{tpl:et});const tt=(e)=>{e.cancelable&&e.preventDefault();},nt=(e=null,t="",n)=>{if(!e||!e.parentElement||!t)return void (n&&n());ot(e);const o=(i)=>{i.target===e&&e.dataset.animationName&&(e.removeEventListener("animationend",o),delete e.dataset.animationName,n&&n(),e.classList.remove(t));};e.dataset.animationName=t,e.addEventListener("animationend",o),R(e,t);},ot=(e)=>{e&&e.dispatchEvent(new CustomEvent("animationend",{bubbles:!1,cancelable:!0,currentTarget:e}));};var it;!function(e){e[e.Init=0]="Init",e[e.Ready=1]="Ready",e[e.Closing=2]="Closing",e[e.Destroyed=3]="Destroyed";}(it||(it={}));const st={ajax:null,backdropClick:"close",Carousel:{},closeButton:"auto",closeButtonTpl:et,closeExisting:!1,delegateEl:void 0,dragToClose:!0,fadeEffect:!0,groupAll:!1,groupAttr:"data-fancybox",hideClass:"f-fadeOut",hideScrollbar:!0,id:void 0,idle:!1,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"prev",ArrowDown:"next",ArrowRight:"next",ArrowLeft:"prev"},l10n:Qe,mainClass:"",mainStyle:{},mainTpl:'<dialog class="fancybox__dialog">\n <div class="fancybox__container" tabindex="0" aria-label="{{MODAL}}">\n <div class="fancybox__backdrop"></div>\n <div class="fancybox__carousel"></div>\n </div>\n </dialog>',modal:!0,on:{},parentEl:void 0,placeFocusBack:!0,showClass:"f-zoomInUp",startIndex:0,sync:void 0,theme:"dark",triggerEl:void 0,triggerEvent:void 0,zoomEffect:!0},lt=new Map();let rt=0;const at="with-fancybox";function ct(){for(const e of Object.values(dt.Plugins)){const t=e.setup;"function"==typeof t&&t(dt);}}function ut(e,t={}){var n,o,i;if(!(e&&e instanceof Element))return;let s,l,r,a,c={};for(const [t,n] of dt.openers)if(t.contains(e)){for(const [o,i] of n){let n;if(o){for(const i of t.querySelectorAll(o))if(i.contains(e)){n=i;break;}if(!n)continue;}for(const [o,u] of i){let i=null;try{i=e.closest(o);}catch(e){}i&&(l=t,r=n,s=i,a=o,Z(c,u||{}));}}}if(!l||!a||!s)return;const u=Z({},st,t,c,{triggerEl:s});let d=[].slice.call((r||l).querySelectorAll(a));const f=s.closest(".f-carousel"),g=null==f?void 0:f.carousel;if(g&&(!r||!f.contains(r))){const e=[];for(const t of null==g?void 0:g.getSlides()){const n=t.el;n&&(n.matches(a)?e.push(n):e.push(...[].slice.call(n.querySelectorAll(a))));}e.length&&(d=[...e],null===(n=g.getPlugins().Autoplay)||void 0===n||n.pause(),null===(o=g.getPlugins().Autoscroll)||void 0===o||o.pause(),u.sync=g);}if(!1===u.groupAll){const e=u.groupAttr,t=e&&s?s.getAttribute(`${e}`):"";d=e&&t?d.filter((n)=>n.getAttribute(`${e}`)===t):[s];}if(!d.length)return;null===(i=u.triggerEvent)||void 0===i||i.preventDefault();const v=dt.getInstance(),m=null==v?void 0:v.getState();if(v&&(m===it.Init||m===it.Ready)){const e=v.getOptions().triggerEl;if(e&&d.indexOf(e)>-1)return;}return Object.assign({},u.Carousel||{}).rtl&&(d=d.reverse()),s&&void 0===t.startIndex&&(u.startIndex=d.indexOf(s)),dt.fromNodes(d,u);}const dt={Plugins:{Hash:Je},version:"6.1.13",openers:new Map(),bind:function(t,n,o,i){if(!te())return;let s=document.body,l=null,r="[data-fancybox]",a={};t instanceof Element&&(s=t),e(t)&&e(n)?(l=t,r=n):e(n)&&e(o)?(l=n,r=o):e(n)?r=n:e(t)&&(r=t),"object"==typeof n&&(a=n||{}),"object"==typeof o&&(a=o||{}),"object"==typeof i&&(a=i||{}),function(e,t,n,o={}){if(!(e&&e instanceof Element&&n))return;const i=dt.openers.get(e)||new Map(),s=i.get(t)||new Map();s.set(n,o),i.set(t,s),dt.openers.set(e,i),1===i.size&&e.addEventListener("click",dt.fromEvent),ct();}(s,l,r,a);},close:function(e=!0,...t){if(e){for(const e of lt.values())e.close(...t);}else{const e=dt.getInstance();e&&e.close(...t);}},destroy:function(){let e;for(;e=dt.getInstance();)e.destroy();
4for(const e of dt.openers.keys())e.removeEventListener("click",dt.fromEvent);dt.openers.clear();},fromEvent:function(e){if(e.defaultPrevented)return;if(e.button&&0!==e.button)return;if(e.ctrlKey||e.metaKey||e.shiftKey)return;let t=e.composedPath()[0];const n={triggerEvent:e};if(t.closest(".fancybox__container.is-hiding"))return tt(e),void e.stopPropagation();const o=t.closest("[data-fancybox-delegate]")||void 0;if(o){const e=o.dataset.fancyboxDelegate||"",i=document.querySelectorAll(`[data-fancybox="${e}"]`),s=parseInt(o.dataset.fancyboxIndex||"",10)||0;t=i[s]||i[0],Z(n,{delegateEl:o,startIndex:s});}return ut(t,n);},fromNodes:function(e,t){t=Z({},st,t||{});const n=[],o=(e)=>e instanceof HTMLImageElement?e:e instanceof HTMLElement?e.querySelector("img:not([aria-hidden])"):void 0;for(const i of e){const s=i.dataset||{},l=t.delegateEl&&e.indexOf(i)===t.startIndex?t.delegateEl:void 0,r=o(l)||o(i)||void 0,a=s.src||i.getAttribute("href")||i.getAttribute("currentSrc")||i.getAttribute("src")||void 0,c=s.thumb||s.thumbSrc||(null==r?void 0:r.getAttribute("currentSrc"))||(null==r?void 0:r.getAttribute("src"))||(null==r?void 0:r.dataset.lazySrc)||void 0,u={src:a,alt:s.alt||(null==r?void 0:r.getAttribute("alt"))||void 0,thumbSrc:c,thumbEl:r,triggerEl:i,delegateEl:l};for(const e in s){let t=s[e]+"";t="false"!==t&&("true"===t||t),u[e]=t;}n.push(u);}return dt.show(n,t);},fromSelector:function(t,n,o,i){if(!te())return;let s=document.body,l=null,r="[data-fancybox]",a={};t instanceof Element&&(s=t),e(t)&&e(n)?(l=t,r=n):e(n)&&e(o)?(l=n,r=o):e(n)?r=n:e(t)&&(r=t),"object"==typeof n&&(a=n||{}),"object"==typeof o&&(a=o||{}),"object"==typeof i&&(a=i||{});for(const [e,t] of dt.openers){for(const [n,o] of t){for(const [t,i] of o)if(e===s&&n===l){const e=s.querySelector((n?`${n} `:"")+r);if(e&&e.matches(t))return dt.fromTriggerEl(e,a);}}}},fromTriggerEl:ut,getCarousel:function(){var e;return (null===(e=dt.getInstance())||void 0===e?void 0:e.getCarousel())||void 0;},getDefaults:function(){return st;},getInstance:function(e){if(e){const t=lt.get(e);return t&&t.getState()!==it.Destroyed?t:void 0;}return Array.from(lt.values()).reverse().find((e)=>{if(e.getState()!==it.Destroyed)return e;})||void 0;},getSlide:function(){var e;return (null===(e=dt.getInstance())||void 0===e?void 0:e.getSlide())||void 0;},show:function(i=[],l={}){return ct(),(()=>{let i,l,r,a,c,u,d,f=it.Init,g=Object.assign({},st),v=-1,h={},y=[],b=!1,E=!0,w=0;function x(e,...t){let n=g[e];return n&&"function"==typeof n?n(he,...t):n;}function M(e,t=[]){const n=x("l10n")||{};e=String(e).replace(/\{\{(\w+)\}\}/g,(e,t)=>n[t]||e);for(let n=0;n<t.length;n++)e=e.split(t[n][0]).join(t[n][1]);return e.replace(/\{\{(.*?)\}\}/g,(e,t)=>t);}const S=new Map();function O(e,...t){const n=[...S.get(e)||[]];for(const [t,o] of Object.entries(g.on||{}))(t===e||t.split(" ").indexOf(e)>-1)&&n.push(o);for(const e of n)e&&"function"==typeof e&&e(he,...t);"*"!==e&&O("*",e,...t);}function L(){C(l,"is-revealing");try{document.activeElement===i&&((null==l?void 0:l.querySelector("[autofocus]"))||l).focus();}catch(e){}}function T(t,n){var o;Y(n),q(),null===(o=n.el)||void 0===o||o.addEventListener("click",z),"inline"!==n.type&&"clone"!==n.type||function(t){if(!a||!t||!t.el)return;let n=null;if(e(t.src)){const e=t.src.split("#",2).pop();n=e?document.getElementById(e):null;}if(n){if(R(n,"f-html"),"clone"===t.type||n.closest(".fancybox__carousel")){n=n.cloneNode(!0);const e=n.dataset.animationName;e&&(n.classList.remove(e),delete n.dataset.animationName);let o=n.getAttribute("id");o=o?`${o}--clone`:`clone-${v}-${t.index}`,n.setAttribute("id",o);}else{if(n.parentNode){const e=document.createElement("div");e.inert=!0,n.parentNode.insertBefore(e,n),t.placeholderEl=e;}}t.htmlEl=n,R(t.el,"has-html"),t.el.prepend(n),n.classList.remove("hidden"),"none"===n.style.display&&(n.style.display=""),"none"===getComputedStyle(n).getPropertyValue("display")&&(n.style.display=n.dataset.display||"flex"),null==a||a.emit("contentReady",t);}else null==a||a.showError(t,"{{ELEMENT_NOT_FOUND}}");}(n),"ajax"===n.type&&function(e){const t=e.el;if(!t)return;if(e.htmlEl||e.xhr)return;null==a||a.showLoading(e),e.state=0;const n=new XMLHttpRequest();n.onreadystatechange=function(){if(n.readyState===XMLHttpRequest.DONE&&f===it.Ready)if(null==a||a.hideLoading(e),e.state=1,200===n.status){let o=n.responseText+"",i=null,
4s=null;if(e.filter){const t=document.createElement("div");t.innerHTML=o,s=t.querySelector(e.filter+"");}s&&s instanceof HTMLElement?i=s:(i=document.createElement("div"),i.innerHTML=o),i.classList.add("f-html"),e.htmlEl=i,t.classList.add("has-html"),t.classList.add("has-ajax"),t.prepend(i),null==a||a.emit("contentReady",e);}else null==a||a.showError(e);};const o=x("ajax")||null;n.open(o?"POST":"GET",e.src+""),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.send(o),e.xhr=n;}(n);}function A(e,t){var n;U(t),null===(n=t.el)||void 0===n||n.removeEventListener("click",z),"inline"!==t.type&&"clone"!==t.type||function(e){const t=e.htmlEl,n=e.placeholderEl;t&&("none"!==getComputedStyle(t).getPropertyValue("display")&&(t.style.display="none"),t.offsetHeight),n&&(t&&n.parentNode&&n.parentNode.insertBefore(t,n),n.remove()),e.htmlEl=void 0,e.placeholderEl=void 0;}(t),t.xhr&&(t.xhr.abort(),t.xhr=void 0);}function z(e){if(!J())return;if(f!==it.Ready)return tt(e),void e.stopPropagation();if(e.defaultPrevented)return;if(!P.isClickAllowed())return;const t=e.composedPath()[0];t.closest(".fancybox__carousel")&&t.classList.contains("fancybox__slide")&&N(e);}function I(){E=!1,l&&a&&l.classList.remove("is-revealing"),q();const e=x("sync");if(a&&e){const t=e.getPageIndex(a.getPageIndex())||0;e.goTo(t,{transition:!1,tween:!1});}}function k(){var e;!function(){const e=null==a?void 0:a.getViewport();if(!x("dragToClose")||!a||!e)return;if(c=P(e).init(),!c)return;let t=!1,o=0,i=0,s={},r=1;function d(){var e,t;null==u||u.spring({clamp:!0,mass:1,tension:0===i?140:960,friction:17,restDelta:.1,restSpeed:.1,maxSpeed:1/0}).from({y:o}).to({y:i}).start();const n=(null===(e=null==a?void 0:a.getViewport())||void 0===e?void 0:e.getBoundingClientRect().height)||0,s=null===(t=te())||void 0===t?void 0:t.panzoomRef;if(n&&s)if(0===i)s.execute(F.Reset);else{const e=G(Math.abs(o),0,.33*n,r,.77*r,!1);s.execute(F.ZoomTo,{scale:e});}}const g=(e)=>{var t;const o=e.srcEvent,i=o.target;return a&&!(p(o)&&(null===(t=o.touches)||void 0===t?void 0:t.length)>1)&&i&&!n(i);};u=m().on("step",(t)=>{if(l&&e&&f===it.Ready){const n=e.getBoundingClientRect().height;o=Math.min(n,Math.max(-1*n,t.y));const i=G(Math.abs(o),0,.65*n,1,.2,!0);l.style.setProperty("--f-drag-opacity",i+""),l.style.setProperty("--f-drag-offset",o+"px");}}),c.on("start",function(){t||(null==u||u.pause(),i=o);}).on("panstart",(e)=>{var n,o;if(!t&&g(e)&&"y"===e.axis){tt(e.srcEvent),t=!0,fe(),null===(n=null==a?void 0:a.getViewport())||void 0===n||n.classList.add("is-dragging");const i=null===(o=te())||void 0===o?void 0:o.panzoomRef;if(i){r=i.getTransform().scale||1;const e=i.getOptions();s=Object.assign({},e),e.bounds=!1,e.gestures=!1;}}else t=!1;}).on("pan",function(e){t&&g(e)&&(tt(e.srcEvent),e.srcEvent.stopPropagation(),"y"===e.axis&&(i+=e.deltaY,d()));}).on("end",(e)=>{var n,l,r;if(null===(n=null==a?void 0:a.getViewport())||void 0===n||n.classList.remove("is-dragging"),t){const t=null===(l=te())||void 0===l?void 0:l.panzoomRef;if(t){null===(r=t.getTween())||void 0===r||r.end();const e=t.getOptions();e.bounds=s.bounds||!1,e.gestures=s.gestures||!1;}g(e)&&"y"===e.axis&&(Math.abs(e.velocityY)>5||Math.abs(o)>50)&&ge(e.srcEvent,"f-throwOut"+(e.velocityY>0?"Down":"Up"));}t=!1,f===it.Ready&&0!==o&&(i=0,d());});}(),document.body.addEventListener("click",X),document.body.addEventListener("keydown",W,{passive:!1,capture:!0}),q(),re();const t=x("sync");a&&t&&(null===(e=t.getTween())||void 0===e||e.start()),K(te());}function $(){(null==a?void 0:a.canGoNext())?re():ue();}function H(e,t){Y(t);}function D(e,t){Y(t),K(t);}function V(){var e;const t=null==a?void 0:a.getPlugins().Thumbs;j(l,"has-thumbs",(null==t?void 0:t.isEnabled())||!1),j(l,"has-vertical-thumbs",!!t&&("scrollable"===t.getType()||!0===(null===(e=t.getCarousel())||void 0===e?void 0:e.isVertical())));}function q(){if(l){const e=(null==a?void 0:a.getPages())||[],t=(null==a?void 0:a.getPageIndex())||0;for(const e of l.querySelectorAll("[data-fancybox-index]"))e.innerHTML=t+"";for(const e of l.querySelectorAll("[data-fancybox-page]"))e.innerHTML=t+1+"";for(const t of l.querySelectorAll("[data-fancybox-pages]"))t.innerHTML=e.length+"";}}function N(e){e.composedPath()[0].closest("[data-fancybox-close]")?ge(e):(O("backdropClick",e),e.defaultPrevented||x("backdropClick")&&ge(e));}function B(){ce();}function W(e){if(!J())return;if(f!==it.Ready)return;
4const n=e.key,o=x("keyboard");if(!o)return;if(e.ctrlKey||e.altKey||e.shiftKey)return;const i=e.composedPath()[0];if(!t(i))return;if("Escape"!==n&&((e)=>{const t=["input","textarea","select","option","video","iframe","[contenteditable]","[data-selectable]","[data-draggable]"].join(",");return e.matches(t)||e.closest(t);})(i))return;if(O("keydown",e),e.defaultPrevented)return;const s=o[n];if(s)switch(s){case "close":ge(e);break;case "next":tt(e),null==a||a.next();break;case "prev":tt(e),null==a||a.prev();}}function X(e){if(!J())return;if(f!==it.Ready)return;if(ce(),e.defaultPrevented)return;const t=e.composedPath()[0],n=!!t.closest("[data-fancybox-close]"),o=t.classList.contains("fancybox__backdrop");(n||o)&&N(e);}function Y(e){var t;const {el:n,htmlEl:i,panzoomRef:s,closeButtonEl:l}=e,r=s?s.getWrapper():i;if(!n||!n.parentElement||!r)return;let c=x("closeButton");if("auto"===c&&(c=!0!==(null===(t=null==a?void 0:a.getPlugins().Toolbar)||void 0===t?void 0:t.isEnabled())),c){if(!l){const t=o(M(x("closeButtonTpl")));t&&(R(t,"is-close-button"),e.closeButtonEl=r.insertAdjacentElement("afterbegin",t),R(n,"has-close-btn"));}}else U(e);}function U(e){e.closeButtonEl&&(e.closeButtonEl.remove(),e.closeButtonEl=void 0),C(e.el,"has-close-btn");}function K(e){if(!(E&&a&&1===a.getState()&&e&&e.index===a.getOptions().initialPage&&e.el&&e.el.parentElement))return;if(void 0!==e.state&&1!==e.state)return;E=!1;const t=e.panzoomRef,n=null==t?void 0:t.getTween(),o=x("zoomEffect")&&n?oe(e):void 0;if(t&&n&&o){const {x:e,y:i,scale:s}=t.getStartPosition();return void n.spring({tension:215,friction:25,restDelta:.001,restSpeed:.001,maxSpeed:1/0}).from(o).to({x:e,y:i,scale:s}).start();}const i=(null==t?void 0:t.getContent())||e.htmlEl;i&&nt(i,x("showClass",e));}function J(){var e;return (null===(e=dt.getInstance())||void 0===e?void 0:e.getId())===v;}function te(){var e;return null===(e=null==a?void 0:a.getPage())||void 0===e?void 0:e.slides[0];}function ne(){const e=te();return e?e.triggerEl||x("triggerEl"):void 0;}function oe(e){var t,n;const o=e.thumbEl;if(!o||!((e)=>{const t=e.getBoundingClientRect(),n=e.closest("[style]"),o=null==n?void 0:n.parentElement;if(n&&n.style.transform&&o){const e=o.getBoundingClientRect();if(t.left<e.left||t.left>e.left+e.width-t.width)return !1;if(t.top<e.top||t.top>e.top+e.height-t.height)return !1;}const i=Math.max(document.documentElement.clientHeight,window.innerHeight),s=Math.max(document.documentElement.clientWidth,window.innerWidth);return !(t.bottom<0||t.top-i>=0||t.right<0||t.left-s>=0);})(o))return;const i=null===(n=null===(t=e.panzoomRef)||void 0===t?void 0:t.getWrapper())||void 0===n?void 0:n.getBoundingClientRect(),s=null==i?void 0:i.width,l=null==i?void 0:i.height;if(!s||!l)return;const r=o.getBoundingClientRect();let a=r.width,c=r.height,u=r.left,d=r.top;if(r&&a&&c){if(o instanceof HTMLImageElement){const e=window.getComputedStyle(o).getPropertyValue("object-fit");if("contain"===e||"scale-down"===e){const {width:t,height:n}=((e,t,n,o,i="contain")=>{if("contain"===i||e>n||t>o){const i=n/e,s=o/t,l=Math.min(i,s);e*=l,t*=l;}return {width:e,height:t};})(o.naturalWidth,o.naturalHeight,a,c,e);u+=.5*(a-t),d+=.5*(c-n),a=t,c=n;}}if(!(Math.abs(s/l-a/c)>.1))return {x:u+.5*a-(i.left+.5*s),y:d+.5*c-(i.top+.5*l),scale:a/s};}}function se(){d&&clearTimeout(d),d=void 0,document.removeEventListener("mousemove",B);}function re(){if(b)return;if(d)return;const e=x("idle");e&&(d=setTimeout(ae,e));}function ae(){l&&(se(),R(l,"is-idle"),document.addEventListener("mousemove",B),b=!0);}function ce(){b&&(ue(),re());}function ue(){se(),null==l||l.classList.remove("is-idle"),b=!1;}function fe(){const e=ne();var t;!e||(t=e.getBoundingClientRect()).bottom>0&&t.right>0&&t.left<(window.innerWidth||document.documentElement.clientWidth)&&t.top<(window.innerHeight||document.documentElement.clientHeight)||e.closest("[inert]")||e.scrollIntoView({behavior:"instant",block:"center",inline:"center"});}function ge(e,t){var n,o,i,s,l;if(f===it.Closing||f===it.Destroyed)return;const r=new Event("shouldClose",{bubbles:!0,cancelable:!0});if(O("shouldClose",r,e),r.defaultPrevented)return;if(se(),e){if(e.defaultPrevented)return;tt(e),e.stopPropagation(),e.stopImmediatePropagation();}if(f=it.Closing,null==u||u.pause(),null==c||c.destroy(),a){null===(n=a.getGestures())||void 0===n||n.destroy(),null===(o=a.getTween())||void 0===o||o.pause();for(const e of a.getSlides()){const t=e.panzoomRef;t&&(Z(t.getOptions(),{clickAction:!1,dblClickAction:!1,wheelAction:!1,bounds:!1,minScale:0,maxScale:1/0}),null===(i=t.getGestures())||void 0===i||i.destroy(),null===(s=t.getTween())||void 0===s||s.pause());}}const d=null==a?void 0:a.getPlugins();null===(l=null==d?void 0:d.Autoplay)||void 0===l||l.stop();const g=null==d?void 0:d.Fullscreen;g&&g.inFullscreen()?Promise.resolve(g.exit()).then(()=>{setTimeout(()=>{ve(e,t);},150);}):ve(e,t);}function ve(e,t){var n,o;if(f!==it.Closing)return;O("close",e),E=!1,document.body.removeEventListener("click",X),document.body.removeEventListener("keydown",W,{passive:!1,capture:!0}),x("placeFocusBack")&&fe();const s=document.activeElement;s&&(null==i?void 0:i.contains(s))&&s.blur(),x("fadeEffect")&&(null==l||l.classList.remove("is-ready"),null==l||l.classList.add("is-hiding")),null==l||l.classList.add("is-closing");const r=te(),c=null==r?void 0:r.el,u=null==r?void 0:r.panzoomRef,d=null===(n=null==r?void 0:r.panzoomRef)||void 0===n?void 0:n.getTween(),g=t||x("hideClass");let v=!1,p=!1;if(a&&r&&c&&u&&d){let e;if(x("zoomEffect")&&1===r.state&&(e=oe(r)),e){v=!0;const t=()=>{e=oe(r),e?d.to(Object.assign(Object.assign({},_),e)):pe();};u.on("refresh",()=>{t();}),d.easing(m.Easings.EaseOut).duration(350).from(Object.assign({},u.getTransform())).to(Object.assign(Object.assign({},_),e)).start(),(null==c?void 0:c.getAnimations())&&(c.style.animationPlayState="paused",requestAnimationFrame(()=>{t();}));}}const h=(null==r?void 0:r.htmlEl)||(null===(o=null==r?void 0:r.panzoomRef)||void 0===o?void 0:o.getWrapper());h&&ot(h),!v&&g&&h&&(p=!0,nt(h,g,()=>{pe();})),v||p?setTimeout(()=>{pe();},350):pe();}function pe(){var e,t,n,o,s;if(f===it.Destroyed)return;f=it.Destroyed;const r=ne();O("destroy"),null===(t=null===(e=x("sync"))||void 0===e?void 0:e.getPlugins().Autoplay)||void 0===t||t.resume(),null===(o=null===(n=x("sync"))||void 0===n?void 0:n.getPlugins().Autoscroll)||void 0===o||o.resume(),i instanceof HTMLDialogElement&&i.close(),null===(s=null==a?void 0:a.getContainer())||void 0===s||s.classList.remove("is-idle"),null==a||a.destroy();for(const e of Object.values(h))null==e||e.destroy();if(h={},null==i||i.remove(),i=void 0,l=void 0,a=void 0,lt.delete(v),!lt.size&&(ee(!1),document.documentElement.classList.remove(at),x("placeFocusBack")&&r&&!r.closest("[inert]")))try{null==r||r.focus({preventScroll:!0});}catch(e){}}const he={close:ge,destroy:pe,getCarousel:function(){return a;},getContainer:function(){return l;},getId:function(){return v;},getOptions:function(){return g;},getPlugins:function(){return h;},getSlide:function(){return te();}
4,getState:function(){return f;},init:function(e=[],t={}){f!==it.Init&&(he.destroy(),f=it.Init),g=Z({},st,t),v=x("id")||"fancybox-"+ ++rt;const c=lt.get(v);if(c&&c.destroy(),lt.set(v,he),O("init"),function(){for(const [e,t] of Object.entries(Object.assign(Object.assign({},dt.Plugins),g.plugins||{})))if(e&&!h[e]&&t instanceof Function){const n=t();n.init(he),h[e]=n;}O("initPlugins");}(),function(e=[]){O("initSlides",e),y=[...e];}(e),function(){const e=x("parentEl")||document.body;if(!(e&&e instanceof HTMLElement))return;const t=M(x("mainTpl")||"");if(i=o(t)||void 0,!i)return;if(l=i.querySelector(".fancybox__container"),!(l&&l instanceof HTMLElement))return;const r=x("mainClass");r&&R(l,r);const c=x("mainStyle");if(c&&s(c)){for(const [e,t] of Object.entries(c))l.style.setProperty(e,t);}const u=x("theme"),d="auto"===u?window.matchMedia("(prefers-color-scheme:light)").matches:"light"===u;l.setAttribute("theme",d?"light":"dark"),i.setAttribute("id",`${v}`),i.addEventListener("keydown",(e)=>{"Escape"===e.key&&tt(e);}),i.addEventListener("wheel",(e)=>{const t=e.target;let o=x("wheel",e);t.closest(".f-thumbs")&&(o="slide");const i="slide"===o,s=[-e.deltaX||0,-e.deltaY||0,-e.detail||0].reduce(function(e,t){return Math.abs(t)>Math.abs(e)?t:e;}),l=Math.max(-1,Math.min(1,s)),r=Date.now();w&&r-w<300?i&&tt(e):(w=r,O("wheel",e,l),e.defaultPrevented||("close"===o?ge(e):"slide"===o&&a&&!n(t)&&(tt(e),a[l>0?"prev":"next"]())));},{capture:!0,passive:!1}),i.addEventListener("cancel",(e)=>{ge(e);}),e.append(i),1===lt.size&&(x("hideScrollbar")&&ee(!0),document.documentElement.classList.add(at)),O("initLayout"),i instanceof HTMLDialogElement&&(x("modal")?i.showModal():i.show());}(),function(){if(r=(null==i?void 0:i.querySelector(".fancybox__carousel"))||void 0,!r)return;r.fancybox=he;const e=Z({},{Autoplay:{autoStart:!1,pauseOnHover:!1,progressbarParentEl:(e)=>{const t=e.getContainer();return (null==t?void 0:t.querySelector(".f-carousel__toolbar [data-autoplay-action]"))||t;}},Fullscreen:{el:l},Toolbar:{absolute:!0,items:{counter:{tpl:'<div class="f-counter"><span data-fancybox-page></span>/<span data-fancybox-pages></span></div>'}},display:{left:["counter"],right:["toggleFull","autoplay","fullscreen","thumbs","close"]}},Video:{autoplay:!0},Thumbs:{minCount:2,Carousel:{classes:{container:"fancybox__thumbs"}}},classes:{container:"fancybox__carousel",viewport:"fancybox__viewport",slide:"fancybox__slide"},spinnerTpl:'<div class="f-spinner" data-fancybox-close></div>',dragFree:!1,slidesPerPage:1,plugins:{Sync:le,Arrows:me,Lazyload:de,Zoomable:ie,Html:Re,Video:ze,Autoplay:Oe,Fullscreen:Fe,Thumbs:Pe,Toolbar:Me}},x("Carousel")||{},{slides:y,enabled:!0,initialPage:x("startIndex")||0,l10n:x("l10n")});a=Q(r,e),O("initCarousel",a),a.on("*",(e,t,...n)=>{O(`Carousel.${t}`,e,...n);}),a.on("attachSlideEl",T),a.on("detachSlideEl",A),a.on("contentLoading",H),a.on("contentReady",D),a.on("ready",k),a.on("change",I),a.on("settle",$),a.on("thumbs:ready",V),a.on("thumbs:destroy",V),a.init();}(),i&&l){if(x("closeExisting")){for(const [e,t] of lt.entries())e!==v&&t.close();}x("fadeEffect")?(setTimeout(()=>{L();},500),R(l,"is-revealing")):L(),l.classList.add("is-ready"),f=it.Ready,O("ready");}},isCurrentSlide:function(e){const t=te();return !(!e||!t)&&t.index===e.index;},isTopMost:function(){return J();},localize:M,off:function(e,t){return S.has(e)&&S.set(e,S.get(e).filter((e)=>e!==t)),he;},on:function(e,t){return S.set(e,[...S.get(e)||[],t]),he;},toggleIdle(e){(b||!0===e)&&ae(),b&&!1!==e||ue();}};return he;})().init(i,l);},unbind:function(t,n,o){if(!te())return;let i=document.body,s=null,l="[data-fancybox]";t instanceof Element&&(i=t),e(t)&&e(n)?(s=t,l=n):e(n)&&e(o)?(s=n,l=o):e(n)?l=n:e(t)&&(l=t),function(e,t,n){if(!(e&&e instanceof Element&&n))return;const o=dt.openers.get(e)||new Map(),i=o.get(t)||new Map();i&&n&&i.delete(n),i.size&&n||o.delete(t),o.size||(dt.openers.delete(e),e.removeEventListener("click",dt.fromEvent));}(i,s,l);}};globalThis.Fancybox=dt;})();; 5(()=>{var e={729(){!function(e,t,n){t.behaviors.displayMode={attach:function(t){e(n("displayModeInit",".display-mode-field",t)).each(function(){const t=e(this),n=e(".view-content"),i=globalThis.innerWidth<840,r="cdpq_display_mode:"+globalThis.location.pathname,o=i?null:localStorage.getItem(r),s=t.find('input[type="radio"]:checked');if(o){const e=t.find('input[type="radio"][value="'+o+'"]');e.length&&!e.is(":checked")&&e.prop("checked",!0),t.addClass("fieldset-"+o),n.addClass("selected-"+o);}else if(s.length){const e=s.val();t.addClass("fieldset-"+e),n.addClass("selected-"+e);}else{const e="grid",o=t.find('input[type="radio"][value="'+e+'"]');if(o.length&&o.prop("checked",!0),t.addClass("fieldset-"+e),n.addClass("selected-"+e),!i)try{localStorage.setItem(r,e);}catch(e){console.error(e);}}}
5),e(document).off("change.displayMode").on("change.displayMode",'.display-mode-field input[type="radio"]',function(){const t=e(this).val(),n=e(".view-content");n.removeClass("selected-grid selected-list"),n.addClass("selected-"+t);const i=e("fieldset.display-mode-field");if(i.removeClass("fieldset-grid fieldset-list"),i.addClass("fieldset-"+t),globalThis.innerWidth>=840){const e="cdpq_display_mode:"+globalThis.location.pathname;try{localStorage.setItem(e,t);}catch(e){console.error(e);}}});}},t.behaviors.cdpqDisplayModeTooltips={attach:function(t){e(n("cdpq-bs4-tooltips",'[data-toggle="tooltip"]',t)).each(function(){const t=e(this);t.data("bs.tooltip")&&t.tooltip("dispose"),t.tooltip({container:"body",trigger:"hover focus"});});}};}(jQuery,Drupal,once);},900(){!function(e,t){function n(){if(!document.getElementById("youtube_iframe_api")){let e=document.createElement("script");e.id="youtube_iframe_api",e.src="https://www.youtube.com/iframe_api";const t=document.getElementsByTagName("script")[0];t?.parentNode&&t.parentNode.insertBefore(e,t);}t("#youtube_iframe_api").on("load",function(){globalThis.onYouTubeIframeAPIReady();});}function i(){const e=t("iframe.f-iframe, iframe.fancybox__iframe");e.length&&e.is(":visible")&&e.each(function(){let e=t(this),n=e.attr("src")||"";n&&!n.includes("autoplay")&&e.attr("src",n+(n.includes("?")?"&":"?")+"autoplay=1");});}function r(){Fancybox.bind("[data-fancybox]",{on:{ready:function(){setTimeout(n,500),setTimeout(i,1e3);},closing:function(){t("#youtube_iframe_api").remove();}},Html:{video:{autoplay:!1}}}),Fancybox.bind("[data-fancyboxmanifest]",{closeButton:!1}),Fancybox.bind("[data-fancyboxshort]",{mainClass:"fancybox-short-video"});}globalThis.onYouTubeIframeAPIReady||(globalThis.onYouTubeIframeAPIReady=function(){}),e.behaviors.cdpqFancybox={attach:function(e){void 0!==globalThis.Fancybox?"function"==typeof once?once("cdpq-fancybox-init","body",e).length&&r():r():console.warn("Fancybox hasn't been loaded yet");}};}(Drupal,jQuery);},686(){!function(e,t,n){function i(){globalThis.__cdpqResetting||e("#combine-btt").trigger("click");}function r(t){const n=e(t);n.closest(".paragraph--cdpq-filtre-actualite, .paragraph--type--cdpq-actuality-search").length&&(n.off("change.cdpqAutoSubmit",".form-select"),n.on("change.cdpqAutoSubmit",".form-select",i));}function o(e){globalThis.scrollTo(0,e);}function s(t,n){(function(e){const t=e.find("#combine-btt");if(t.length)return t;const n=e.find(".views-auto-submit-click");return n.length?n:e.find('[type="submit"]').last();})(t).trigger("click"),e(document).one("ajaxComplete.cdpqReset",function(){!function(e){globalThis.__cdpqResetting=!1;try{globalThis.history.replaceState({},document.title,globalThis.location.pathname);}catch(e){console.error(e);}setTimeout(o,0,e);}(n);});}function a(t){t.preventDefault(),t.stopImmediatePropagation(),globalThis.__cdpqResetting=!0;const n=e(this).closest(".view.view-cdpq-actuality-search-filter"),i=n.find("form.views-exposed-form").first(),r=n.find("[data-drupal-views-infinite-scroll-content-wrapper]").first(),o=n.find('[data-drupal-views-infinite-scroll-pager] a[rel="next"]').first(),a=globalThis.scrollY||0;return i.find('input[name="combine"]').val(""),i.find('select[name="tid_1"]').val("All"),i.find('select[name="tid_2"]').val("All"),i.find('select[name="sort_by"]').val("sort_order"),i.find('select[name="sort_order"]').val("DESC"),i.find('input[name="grid_cols"]').val("4"),i.find('input[name="display_mode"][value="grid"]').prop("checked",!0),i.find("select.select2-hidden-accessible").trigger("change.select2"),r.length&&r.empty(),o.length&&function(e){const t=e.attr("href");try{const n=new URL(t,globalThis.location.origin);n.searchParams.delete("page"),e.attr("href",n.pathname+n.search);}catch(e){console.error(e);}}(o),setTimeout(s,0,i,a),!1;}function l(t){e(t).on("click",a);}t.behaviors.autoSubmitExposedFilters={attach:function(e){n("autoSubmitExposedFilters","form.views-exposed-form",e).forEach(r);}},t.behaviors.resetExposedFilters={attach:function(e){const t=[".paragraph--type--cdpq-actuality-search .reset--actuality",".view-cdpq-actuality-search-filter .reset--actuality"].join(", ");n("resetExposedFilters",t,e).forEach(l);}};}(jQuery,Drupal,once);},160(){!function(e,t){t.behaviors.myBehavior={attach:function(t){e(".component-cta-three__block a",t).click(function(){let t=this.href;if(t.indexOf("youtube")>0)return e.fancybox.open({src:t}),!1;});}};}(jQuery,Drupal);},177(){jQuery(document).ready(function(){var e=function(){if(arguments.length<1)return void console.error("Please specify at least the first parameter for eventName.");if(arguments.length%2==0)return void console.error("The number of arguments must be odd. Arguments should be as followed: eventName, (param1, value1, param2, value2...). Keys/values are optional");let e={event:"ga4Event",eventName:arguments[0]};if(arguments.length>1){for(let t=1;t<arguments.length;t+=2)e[arguments[t]]=arguments[t+1];}window.dataLayer=window.dataLayer||[],window.dataLayer.push(e);};let t=function(e){let t="";return e&&(t=e.replace(/\s+/g," ").trim()),t;};e("page_view","page_language",$("html").attr("lang"));if($("section.component-search").is(":visible")){const n=$("input#edit-search--3").val(),i=$("div.component-search-result");let r="";if(i.is(":visible")){const o=$("nav.component-display-search__result--wrap-pagination.pager");let s="";o.is(":visible")&&(o.find("li.pager__item.is-active").find("a").find("span").remove(),s=o.find("li.pager__item.is-active").find("a").text()),r="avec resultats",i.each(function(){$(this).find("div.component-communiques-articlessuggeres__infos").find("h2.block-title:last").on("click",function(){e("search_results_click","
5search_term",n,"search_page",t(s),"link_text",t($(this).text()),"link_url",$(this).find("a").attr("href"));});});}else r="sans resultats";e("view_search_results","search_term",n,"search_case",r);}const n=$("article"),i=n.attr("about")?.substring(4);if(n.is(":visible"))if(["actualites/communiques","actualites/perspectives","news/pressreleases","news/perspectives"].some((e)=>i.includes(e))){const i=$("span.component_content-categorie-ref").text(),r=$("title").text(),o=$("time").attr("datetime"),s=n.attr("about");e("article-vu","categorie",t(i),"titre",t(r),"date_publication",o,"page_path",t(s));}});},64(){!function(e,t){"use strict";t.behaviors.popupLanguage={attach:function(t,n){function i(){if(e("#popup-language",t).length)if(screen.availWidth<1024)if(e("#sliding-popup",t).length){var n=e("#sliding-popup",t).outerHeight();e("#popup-language",t).css("top",n+"px");}else e("#popup-language",t).css("top","");else e("#popup-language",t).css("top","");}e(document).on("scroll",i),e(window).on("resize",i),e(document).ready(function(){const n=e("#popup-language",t);(function(){const e=Intl.DateTimeFormat().resolvedOptions().timeZone;return ["America/Blanc-Sablon","America/Glace_Bay","America/Goose_Bay","America/Halifax","America/Moncton","America/Montreal","America/Nipigon","America/St_Johns","America/Thunder_Bay","America/Toronto"].indexOf(e)>=0;})()&&n.length?(setTimeout(function(){i(),e(".eu-cookie-compliance-banner",t).length&&e(".eu-cookie-compliance-banner .agree-button.eu-cookie-compliance-default-button",t).on("click",function(){n.css("top","");});},300),e("#popup-language-close",t).on("click",function(){n.hide();})):n.length&&n.hide();});}};}(jQuery,Drupal);},435(e,t,n){var i=n(692),r=n(116);void 0===r.$&&(r.$=i),e.exports=i;},116(e,t,n){"use strict";e.exports=function(){if("object"==typeof globalThis)return globalThis;var e;try{e=this||new Function("return this")();}catch(e){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==n.g)return n.g;}return e;}();},90(){!function(e){e(document).ready(function(){const t=e(".paragraph__hero video");t&&(setTimeout(function(){t.each(function(){e(this).addClass("fadeIn"),this.play();});},300),e(".paragraph__hero").on("click",".btn",function(){let t=e(this).data("target"),n=e(this),i=document.getElementById(t),r=document.getElementById(t+"-land");n.hasClass("btn-pause")&&(i.pause(),r&&r.pause(),n.addClass("d-none").blur().parent().find(".btn-play").removeClass("d-none")),n.hasClass("btn-play")&&i.paused&&(i.play(),r&&r.play(),n.addClass("d-none").removeClass("d-block").blur().parent().find(".btn-pause").removeClass("d-none"));}),t.on("play",function(){e(this).parents(".paragraph__hero").find(".btn-pause").removeClass("d-none").parent().find(".btn-play").addClass("d-none");}),t.on("pause ended",function(){var t=e(this);this.loop&&!this.paused||t.parents(".paragraph__hero").find(".btn-pause").addClass("d-none").parent().find(".btn-play").removeClass("d-none"),this.ended&&(this.currentTime=0,this.loop&&this.play());})),i(),c(),l.on("change",c);});const t="<svg width='26' height='47' viewBox='0 0 26 47' fill='none' xmlns='http://www.w3.org/2000/svg'><g clip-path='url(#clip0_7278_14728)'><path d='M23.9666 46.2754L1.67656 23.9854L23.9666 1.69539' stroke-miterlimit='10'/></g><defs><clipPath id='clip0_7278_14728'><rect width='24.77' height='46' transform='translate(25.7361 46.9844) rotate(-180)'/></clipPath></defs></svg>",n="<svg width='26' height='47' viewBox='0 0 26 47' fill='none' xmlns='http://www.w3.org/2000/svg'><g clip-path='url(#clip0_7278_14726)'><path d='M2.73608 1.69531L25.0261 23.9853L2.73608 46.2753' stroke-miterlimit='10' /></g><defs><clipPath id='clip0_7278_14726'><rect width='24.77' height='46' transform='translate(0.966553 0.984375)' /></clipPath></defs></svg>",i=function(){let i=window.innerWidth,o="59px";e(".paragraph__slider-2cols .js-two-columns-slider").each(function(i,s){let a=e(s).addClass("owl-carousel").owlCarousel({nav:!0,navText:[t,n],loop:!1,margin:30,autoWidth:!1,items:1,responsive:{0:{stagePadding:30,margin:0},481:{stagePadding:1,margin:20}}}).find(".owl-item").length;r(s,a,2,o);}),e(".paragraph__tuiles-rotatives .field__items").each(function(o,s){let a=e(s).addClass("owl-carousel").owlCarousel({nav:!1,loop:!1,margin:0,autoWidth:!1,mouseDrag:!1,responsive:{0:{stagePadding:30,items:1,margin:0},600:{items:2,margin:0},820:{items:3,margin:60}
5,1024:{items:3,margin:7},1300:{items:4,margin:59},1440:{items:4,margin:59,nav:!0,navText:[t,n]}}}).find(".owl-item").length;r(s,a,i>=1300?4:i>=820?3:2,0);}),e(".paragraph__slider-multi-columns.two_cols .js-multi-columns-slider").each(function(s,a){let l=e(a).addClass("owl-carousel").owlCarousel({nav:!0,navText:[t,n],loop:!1,margin:0,autoWidth:!1,items:1,responsive:{0:{stagePadding:30,margin:0},481:{stagePadding:1,items:2,margin:59}}}).find(".owl-item").length;r(a,l,i>=481?2:1,o);}),e(".paragraph__slider-multi-columns.three_cols .js-multi-columns-slider").each(function(s,a){let l=e(a).addClass("owl-carousel").owlCarousel({nav:!0,navText:[t,n],loop:!1,margin:0,autoWidth:!1,items:1,responsive:{0:{stagePadding:30,margin:0},481:{stagePadding:1,items:2,margin:59},1024:{items:3,margin:59}}}).find(".owl-item").length;r(a,l,i>=1024?3:i>=481?2:1,o);}),e(".paragraph__slider-multi-columns.four_cols .js-multi-columns-slider").each(function(s,a){let l=e(a).addClass("owl-carousel").owlCarousel({nav:!0,navText:[t,n],loop:!1,margin:0,autoWidth:!1,items:1,responsive:{0:{stagePadding:30,margin:0},481:{stagePadding:2,items:2,margin:59},1024:{items:3,margin:59},1440:{items:4,margin:59}}}).find(".owl-item").length;r(a,l,i>=1440?4:i>=1024?3:i>=481?2:1,o);});},r=function(t,n,i,r){n<=i&&(e(t).trigger("destroy.owl.carousel").css("display","flex").css("gap",r),e(".paragraph__colonne-item",t).css("flex",1));};var o,s,a=document.getElementsByClassName("js-accordion-button");for(o=0;o<a.length;o++)a[o].addEventListener("click",function(){var e=this.nextElementSibling;if(e.style.maxHeight)e.style.maxHeight=null,this.parentElement.classList.remove("active");else{let t=document.querySelectorAll(".p_accordion.active");for(s=0;s<t.length;s++)t[s].classList.remove("active"),t[s].querySelector(".p_accordion-panel").style.maxHeight=null;this.parentElement.classList.toggle("active"),e.style.maxHeight=e.scrollHeight+"px";}});const l=e("#chk-commandites-confirmation"),u=e("#btn-commandites-confirmation"),c=function(){l.is(":checked")?u.removeClass("btn-hidden"):u.addClass("btn-hidden");};function d(t,n){t.forEach((t)=>{t.isIntersecting&&e(t.target).addClass(n);});}const p={root:null,rootMargin:"0px",threshold:.1},h=new IntersectionObserver((e)=>d(e,"animated-columns-on"),p),f=new IntersectionObserver((e)=>d(e,"circle-animations-on"),p);e(window).on("scroll",function(){if(void 0!==document.getElementsByClassName("paragraph__etapes")&&document.getElementsByClassName("paragraph__etapes").length>0){const e=document.querySelector(".paragraph__etapes");h.observe(e);}if(void 0!==document.querySelectorAll(".paragraph__1col-text-v2.with-shapes")&&document.querySelectorAll(".paragraph__1col-text-v2.with-shapes").length>0){const e=document.querySelector(".paragraph__1col-text-v2.with-shapes");f.observe(e);}}),e(".fancybox-manifest-close-button").on("click",function(){Fancybox.close();});}(jQuery);},692(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e);}:n(t);}("undefined"!=typeof window?window:this,function(i,r){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,l=o.flat?function(e){return o.flat.call(e);}:function(e){return o.concat.apply([],e);},u=o.push,c=o.indexOf,d={},p=d.toString,h=d.hasOwnProperty,f=h.toString,m=f.call(Object),g={},v=function(e){return "function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item;},y=function(e){return null!=e&&e===e.window;},b=i.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function C(e,t,n){var i,r,o=(n=n||b).createElement("script");if(o.text=e,t)for(i in x)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o);}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[p.call(e)]||"object":typeof e;}var T="3.7.1",k=/HTML$/i,j=function(e,t){return new j.fn.init(e,t);};function S(e){var t=!!e&&"length" in e&&e.length,n=w(e);return !v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e);}
5function _(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase();}j.fn=j.prototype={jquery:T,constructor:j,length:0,toArray:function(){return a.call(this);},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e];},pushStack:function(e){var t=j.merge(this.constructor(),e);return t.prevObject=this,t;},each:function(e){return j.each(this,e);},map:function(e){return this.pushStack(j.map(this,function(t,n){return e.call(t,n,t);}));},slice:function(){return this.pushStack(a.apply(this,arguments));},first:function(){return this.eq(0);},last:function(){return this.eq(-1);},even:function(){return this.pushStack(j.grep(this,function(e,t){return (t+1)%2;}));},odd:function(){return this.pushStack(j.grep(this,function(e,t){return t%2;}));},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[]);},end:function(){return this.prevObject||this.constructor();},push:u,sort:o.sort,splice:o.splice},j.extend=j.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||v(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(u&&i&&(j.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[t],o=r&&!Array.isArray(n)?[]:r||j.isPlainObject(n)?n:{},r=!1,s[t]=j.extend(u,o,i)):void 0!==i&&(s[t]=i));return s;},j.extend({expando:"jQuery"+(T+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e);},noop:function(){},isPlainObject:function(e){var t,n;return !(!e||"[object Object]"!==p.call(e))&&(!(t=s(e))||"function"==typeof (n=h.c
5all(t,"constructor")&&t.constructor)&&f.call(n)===m);},isEmptyObject:function(e){var t;for(t in e)return !1;return !0;},globalEval:function(e,t,n){C(e,{nonce:t&&t.nonce},n);},each:function(e,t){var n,i=0;if(S(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else{for(i in e)if(!1===t.call(e[i],i,e[i]))break;}return e;},text:function(e){var t,n="",i=0,r=e.nodeType;if(!r)for(;t=e[i++];)n+=j.text(t);return 1===r||11===r?e.textContent:9===r?e.documentElement.textContent:3===r||4===r?e.nodeValue:n;},makeArray:function(e,t){var n=t||[];return null!=e&&(S(Object(e))?j.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n;},inArray:function(e,t,n){return null==t?-1:c.call(t,e,n);},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return !k.test(t||n&&n.nodeName||"HTML");},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e;},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!==s&&i.push(e[r]);return i;},map:function(e,t,n){var i,r,o=0,s=[];if(S(e))for(i=e.length;o<i;o++)null!=(r=t(e[o],o,n))&&s.push(r);else for(o in e)null!=(r=t(e[o],o,n))&&s.push(r);return l(s);},guid:1,support:g}),"function"==typeof Symbol&&(j.fn[Symbol.iterator]=o[Symbol.iterator]),j.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){d["[object "+t+"]"]=t.toLowerCase();});var E=o.pop,A=o.sort,D=o.splice,N="[\\x20\\t\\r\\n\\f]",q=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g");j.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)));};var L=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function P(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e;}j.escapeSelector=function(e){return (e+"").replace(L,P);};var O=b,Q=u;!function(){var e,t,n,r,s,l,u,d,p,f,m=Q,v=j.expando,y=0,b=0,x=ee(),C=ee(),w=ee(),T=ee(),k=function(e,t){return e===t&&(s=!0),0;},S="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="(?:\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",P="\\["+N+"*("+L+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+N+"*\\]",M=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",H=new RegExp(N+"+","g"),I=new RegExp("^"+N+"*,"+N+"*"),F=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),R=new RegExp(N+"|>"),$=new RegExp(M),V=new RegExp("^"+L+"$"),B={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+S+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,U=/^h\d$/i,z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,G=new RegExp("\\\\[\\da-fA-F]{1,6}"+N+"?|\\\\([^\\r\\n\\f])","g"),Y=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320));},J=function(){le();},K=pe(function(e){return !0===e.disabled&&_(e,"fieldset");},{dir:"parentNode",next:"legend"});try{m.apply(o=a.call(O.childNodes),O.childNodes),o[O.childNodes.length].nodeType;}catch(e){m={apply:function(e,t){Q.apply(e,a.call(t));},call:function(e){Q.apply(e,a.call(arguments,1));}};}function Z(e,t,n,i){var r,o,s,a,u,c,h,f=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!i&&(le(t),t=t||l,d)){if(11!==y&&(u=z.exec(e)))if(r=u[1])if(9===y){if(!(s=t.getElementById(r)))return n;if(s.id===r)return m.call(n,s),n;}else{if(f&&(s=f.getElementById(r))&&Z.contains(t,s)&&s.id===r)return m.call(n,s),n;}else{if(u[2])return m.apply(n,t.getElementsByTagName(e)),n;if((r=u[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(r)),n;}if(!(T[e+" "]||p&&p.test(e))){if(h=e,f=t,1===y&&(R.test(e)||F.test(e))){for((f=X.test(e)&&ae(t.parentNode)||t)==t&&g.scope||((a=t.getAttribute("id"))?a=j.escapeSelector(a):t.setAttribute("id",a=v)),o=(c=ce(e)).length;o--;)c[o]=(a?"#"+a:":scope")+" "+de(c[o]);h=c.join(",");}try{return m.apply(n,f.querySelectorAll(h)),n;}catch(t){T(e,!0);}finally{a===v&&t.removeAttribute("id");}}}return ye(e.replace(q,"$1"),t,n,i);}function ee(){var e=[];return function n(i,r){return e.push(i+" ")>t.cacheLength&&delete n[e.shift()],n[i+" "]=r;};}function te(e){return e[v]=!0,e;}function ne(e){var t=l.createElement("fieldset");try{return !!e(t);}catch(e){return !1;}finally{t.parentNode&&t.parentNode.removeChild(t),t=null;}}function ie(e){return function(t){return _(t,"input")&&t.type===e;};}function re(e){return function(t){return (_(t,"input")||_(t,"button"))&&t.type===e;};}function oe(e){return function(t){return "form" in t?t.parentNode&&!1===t.disabled?"label" in t?"label" in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&K(t)===e:t.disabled===e:"label" in t&&t.disabled===e;};}function se(e){return te(function(t){return t=+t,te(function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]));});});}function ae(e){return e&&void 0!==e.getElementsByTagName&&e;}function le(e){var n,i=e?e.ownerDocument||e:O;
5return i!=l&&9===i.nodeType&&i.documentElement?(u=(l=i).documentElement,d=!j.isXMLDoc(l),f=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,u.msMatchesSelector&&O!=l&&(n=l.defaultView)&&n.top!==n&&n.addEventListener("unload",J),g.getById=ne(function(e){return u.appendChild(e).id=j.expando,!l.getElementsByName||!l.getElementsByName(j.expando).length;}),g.disconnectedMatch=ne(function(e){return f.call(e,"*");}),g.scope=ne(function(){return l.querySelectorAll(":scope");}),g.cssHas=ne(function(){try{return l.querySelector(":has(*,:jqfake)"),!1;}catch(e){return !0;}}),g.getById?(t.filter.ID=function(e){var t=e.replace(G,Y);return function(e){return e.getAttribute("id")===t;};},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n=t.getElementById(e);return n?[n]:[];}}):(t.filter.ID=function(e){var t=e.replace(G,Y);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t;};},t.find.ID=function(e,t){if(void 0!==t.getElementById&&d){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return [o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return [o];}return [];}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e);},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&d)return t.getElementsByClassName(e);},p=[],ne(function(e){var t;u.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||p.push("\\["+N+"*(?:value|"+S+")"),e.querySelectorAll("[id~="+v+"-]").length||p.push("~="),e.querySelectorAll("a#"+v+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll(":checked").length||p.push(":checked"),(t=l.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),u.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(t=l.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+N+"*name"+N+"*="+N+"*(?:''|\"\")");}),g.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),k=function(e,t){if(e===t)return s=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===l||e.ownerDocument==O&&Z.contains(O,e)?-1:t===l||t.ownerDocument==O&&Z.contains(O,t)?1:r?c.call(r,e)-c.call(r,t):0:4&n?-1:1);},l):l;}for(e in Z.matches=function(e,t){return Z(e,null,null,t);},Z.matchesSelector=function(e,t){if(le(e),d&&!T[t+" "]&&(!p||!p.test(t)))try{var n=f.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n;}catch(e){T(t,!0);}return Z(t,l,null,[e]).length>0;},Z.contains=function(e,t){return (e.ownerDocument||e)!=l&&le(e),j.contains(e,t);},Z.attr=function(e,n){(e.ownerDocument||e)!=l&&le(e);var i=t.attrHandle[n.toLowerCase()],r=i&&h.call(t.attrHandle,n.toLowerCase())?i(e,n,!d):void 0;return void 0!==r?r:e.getAttribute(n);},Z.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e);},j.uniqueSort=function(e){var t,n=[],i=0,o=0;if(s=!g.sortStable,r=!g.sortStable&&a.call(e,0),A.call(e,k),s){for(;t=e[o++];)t===e[o]&&(i=n.push(o));for(;i--;)D.call(e,n[i],1);}return r=null,e;},j.fn.uniqueSort=function(){return this.pushStack(j.uniqueSort(a.apply(this)));},t=j.expr={cacheLength:50,createPseudo:te,match:B,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(G,Y),e[3]=(e[3]||e[4]||e[5]||"").replace(G,Y),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4);},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||Z.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&Z.error(e[0]),e;},PSEUDO:function(e){var t,n=!e[6]&&e[2];return B.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&$.test(n)&&(t=ce(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3));}},filter:{TAG:function(e){var t=e.replace(G,Y).toLowerCase();return "*"===e?function(){return !0;}:function(e){return _(e,t);};},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&x(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"");});},ATTR:function(e,t,n){return function(i){var r=Z.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&r.indexOf(n)>-1:"$="===t?n&&r.slice(-n.length)===n:"~="===t?(" "+r.replace(H," ")+" ").indexOf(n)>-1:"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"));};},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return !!e.parentNode;}:function(t,n,l){var u,c,d,p,h,f=o!==s?"nextSibling":"previousSibling",m=t.parentNode,g=a&&t.nodeName.toLowerCase(),b=!l&&!a,x=!1;if(m){if(o){for(;f;){for(d=t;d=d[f];)if(a?_(d,g):1===d.nodeType)return !1;h=f="only"===e&&!h&&"nextSibling";}return !0;}if(h=[s?m.firstChild:m.lastChild],s&&b){for(x=(p=(u=(c=m[v]||(m[v]={}))[e]||[])[0]===y&&u[1])&&u[2],d=p&&m.childNodes[p];d=++p&&d&&d[f]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){c[e]=[y,p,x];break;}}else{if(b&&(x=p=(u=(c=t[v]||(t[v]={}))[e]||[])[0]===y&&u[1]),!1===x)for(;(d=++p&&d&&d[f]||(x=p=0)||h.pop())&&(!(a?_(d,g):1===d.nodeType)||!++x||(b&&((c=d[v]||(d[v]={}))[e]=[y,x]),d!==t)););}return (x-=r)===i||x%i===0&&x/i>=0;}};},PSEUDO:function(e,n){var i,r=t.pseudos[e]||t.setFilters[e.toLowerCase()]||Z.error("unsupported pseudo: "+e);return r[v]?r(n):r.length>1?(i=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te(function(e,t){for(var i,o=r(e,n),s=o.length;s--;)e[i=c.call(e,o[s])]=!(t[i]=o[s]);}):function(e){return r(e,0,i);}):r;}},pseudos:{not:te(function(e){var t=[],n=[],i=ve(e.replace(q,"$1"));return i[v]?te(function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o));}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop();};}),has:te(function(e){return function(t){return Z(e,t).length>0;};}),contains:te(function(e){return e=e.replace(G,Y),function(t){return (t.textContent||j.text(t)).indexOf(e)>-1;};}),lang:te(function(e){return V.test(e||"")||Z.error("unsupported lang: "+e),e=e.replace(G,Y).toLowerCase(),function(t){var n;do if(n=d?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return (n=n.toLowerCase())===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return !1;};}),target:function(e){var t=i.location&&i.location.hash;return t&&t.slice(1)===e.id;},root:function(e){return e===u;},focus:function(e){return e===function(){try{return l.activeElement;}catch(e){}}()&&l.hasFocus()&&!!(e.type||e.href||~e.tabIndex);},enabled:oe(!1),disabled:oe(!0),checked:function(e){return _(e,"input")&&!!e.checked||_(e,"option")&&!!e.selected;},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected;},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return !1;return !0;},parent:function(e){return !t.pseudos.empty(e);},header:function(e){return U.test(e.nodeName);},input:function(e){return W.test(e.nodeName);},button:function(e){return _(e,"input")&&"button"===e.type||_(e,"button");},text:function(e){var t;return _(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase());},first:se(function(){return [0];}),last:se(function(e,t){return [t-1];}),eq:se(function(e,t,n){return [n<0?n+t:n];}),even:se(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e;}),odd:se(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e;}),lt:se(function(e,t,n){var i;for(i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e;}),gt:se(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e;})}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ie(e);for(e in {submit:!0,reset:!0})t.pseudos[e]=re(e);function ue(){}function ce(e,n){var i,r,o,s,a,l,u,c=C[e+" "];if(c)return n?0:c.slice(0);for(a=e,l=[],u=t.preFilter;a;
5){for(s in i&&!(r=I.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),i=!1,(r=F.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(q," ")}),a=a.slice(i.length)),t.filter)!(r=B[s].exec(a))||u[s]&&!(r=u[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break;}return n?a.length:a?Z.error(e):C(e,l).slice(0);}function de(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i;}function pe(e,t,n){var i=t.dir,r=t.next,o=r||i,s=n&&"parentNode"===o,a=b++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,r);return !1;}:function(t,n,l){var u,c,d=[y,a];if(l){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,l))return !0;}else{for(;t=t[i];)if(1===t.nodeType||s)if(c=t[v]||(t[v]={}),r&&_(t,r))t=t[i]||t;else{if((u=c[o])&&u[0]===y&&u[1]===a)return d[2]=u[2];if(c[o]=d,d[2]=e(t,n,l))return !0;}}return !1;};}function he(e){return e.length>1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return !1;return !0;}:e[0];}function fe(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),u&&t.push(a)));return s;}function me(e,t,n,i,r,o){return i&&!i[v]&&(i=me(i)),r&&!r[v]&&(r=me(r,o)),te(function(o,s,a,l){var u,d,p,h,f=[],g=[],v=s.length,y=o||function(e,t,n){for(var i=0,r=t.length;i<r;i++)Z(e,t[i],n);return n;}(t||"*",a.nodeType?[a]:a,[]),b=!e||!o&&t?y:fe(y,f,e,a,l);if(n?n(b,h=r||(o?e:v||i)?[]:s,a,l):h=b,i)for(u=fe(h,g),i(u,[],a,l),d=u.length;d--;)(p=u[d])&&(h[g[d]]=!(b[g[d]]=p));if(o){if(r||e){if(r){for(u=[],d=h.length;d--;)(p=h[d])&&u.push(b[d]=p);r(null,h=[],u,l);}for(d=h.length;d--;)(p=h[d])&&(u=r?c.call(o,p):f[d])>-1&&(o[u]=!(s[u]=p));}}else h=fe(h===s?h.splice(v,h.length):h),r?r(null,s,h,l):m.apply(s,h);});}function ge(e){for(var i,r,o,s=e.length,a=t.relative[e[0].type],l=a||t.relative[" "],u=a?1:0,d=pe(function(e){return e===i;}
5,l,!0),p=pe(function(e){return c.call(i,e)>-1;},l,!0),h=[function(e,t,r){var o=!a&&(r||t!=n)||((i=t).nodeType?d(e,t,r):p(e,t,r));return i=null,o;}];u<s;u++)if(r=t.relative[e[u].type])h=[pe(he(h),r)];else{if((r=t.filter[e[u].type].apply(null,e[u].matches))[v]){for(o=++u;o<s&&!t.relative[e[o].type];o++);return me(u>1&&he(h),u>1&&de(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(q,"$1"),r,u<o&&ge(e.slice(u,o)),o<s&&ge(e=e.slice(o)),o<s&&de(e));}h.push(r);}return he(h);}function ve(e,i){var r,o=[],s=[],a=w[e+" "];if(!a){for(i||(i=ce(e)),r=i.length;r--;)(a=ge(i[r]))[v]?o.push(a):s.push(a);a=w(e,function(e,i){var r=i.length>0,o=e.length>0,s=function(s,a,u,c,p){var h,f,g,v=0,b="0",x=s&&[],C=[],w=n,T=s||o&&t.find.TAG("*",p),k=y+=null==w?1:Math.random()||.1,S=T.length;for(p&&(n=a==l||a||p);b!==S&&null!=(h=T[b]);b++){if(o&&h){for(f=0,a||h.ownerDocument==l||(le(h),u=!d);g=e[f++];)if(g(h,a||l,u)){m.call(c,h);break;}p&&(y=k);}r&&((h=!g&&h)&&v--,s&&x.push(h));}if(v+=b,r&&b!==v){for(f=0;g=i[f++];)g(x,C,a,u);if(s){if(v>0)for(;b--;)x[b]||C[b]||(C[b]=E.call(c));C=fe(C);}m.apply(c,C),p&&!s&&C.length>0&&v+i.length>1&&j.uniqueSort(c);}return p&&(y=k,n=w),x;};return r?te(s):s;}(s,o)),a.selector=e;}return a;}function ye(e,n,i,r){var o,s,a,l,u,c="function"==typeof e&&e,p=!r&&ce(e=c.selector||e);if(i=i||[],1===p.length){if((s=p[0]=p[0].slice(0)).length>2&&"ID"===(a=s[0]).type&&9===n.nodeType&&d&&t.relative[s[1].type]){if(!(n=(t.find.ID(a.matches[0].replace(G,Y),n)||[])[0]))return i;c&&(n=n.parentNode),e=e.slice(s.shift().value.length);}for(o=B.needsContext.test(e)?0:s.length;o--&&(a=s[o],!t.relative[l=a.type]);)if((u=t.find[l])&&(r=u(a.matches[0].replace(G,Y),X.test(s[0].type)&&ae(n.parentNode)||n))){if(s.splice(o,1),!(e=r.length&&de(s)))return m.apply(i,r),i;break;}}return (c||ve(e,p))(r,n,!d,i,!n||X.test(e)&&ae(n.parentNode)||n),i;}ue.prototype=t.filters=t.pseudos,t.setFilters=new ue(),g.sortStable=v.split("").sort(k).join("")===v,le(),g.sortDetached=ne(function(e){return 1&e.compareDocumentPosition(l.createElement("fieldset"));}),j.find=Z,j.expr[":"]=j.expr.pseudos,j.unique=j.uniqueSort,Z.compile=ve,Z.select=ye,Z.setDocument=le,Z.tokenize=ce,Z.escape=j.escapeSelector,Z.getText=j.text,Z.isXML=j.isXMLDoc,Z.selectors=j.expr,Z.support=j.support,Z.uniqueSort=j.uniqueSort;}();var M=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&j(e).is(n))break;i.push(e);}return i;},H=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n;},I=j.expr.match.needsContext,F=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function R(e,t,n){return v(t)?j.grep(e,function(e,i){return !!t.call(e,i,e)!==n;}):t.nodeType?j.grep(e,function(e){return e===t!==n;}):"string"!=typeof t?j.grep(e,function(e){return c.call(t,e)>-1!==n;}):j.filter(t,e,n);}j.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?j.find.matchesSelector(i,e)?[i]:[]:j.find.matches(e,j.grep(t,function(e){return 1===e.nodeType;}));},j.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(j(e).filter(function(){for(t=0;t<i;t++)if(j.contains(r[t],this))return !0;}));for(n=this.pushStack([]),t=0;t<i;t++)j.find(e,r[t],n);return i>1?j.uniqueSort(n):n;},filter:function(e){return this.pushStack(R(this,e||[],!1));},not:function(e){return this.pushStack(R(this,e||[],!0));},is:function(e){return !!R(this,"string"==typeof e&&I.test(e)?j(e):e||[],!1).length;}});var $,V=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(j.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||$,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:V.exec(e))||!i[1]&&t)return !t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof j?t[0]:t,j.merge(this,j.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),F.test(i[1])&&j.isPlainObject(t))for(i in t)v(this[i])?this[i](t[i]):this.attr(i,t[i]);return this;}return (r=b.getElementById(i[2]))&&(this[0]=r,this.length=1),this;}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(j):j.makeArray(e,this);}).prototype=j.fn,$=j(b);var B=/^(?:parents|prev(?:Until|All))/,W={children:!0,contents:!0,next:!0,prev:!0};function U(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e;}j.fn.extend({has:function(e){var t=j(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(j.contains(this,t[e]))return !0;});},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&j(e);if(!I.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&j.find.matchesSelector(n,e))){o.push(n);break;}return this.pushStack(o.length>1?j.uniqueSort(o):o);},index:function(e){return e?"string"==typeof e?c.call(j(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1;},add:function(e,t){return this.pushStack(j.uniqueSort(j.merge(this.get(),j(e,t))));},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e));}}),j.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null;},parents:function(e){return M(e,"parentNode");},parentsUntil:function(e,t,n){return M(e,"parentNode",n);},next:function(e){return U(e,"nextSibling");},prev:function(e){return U(e,"previousSibling");},nextAll:function(e){return M(e,"nextSibling");},prevAll:function(e){return M(e,"previousSibling");},nextUntil:function(e,t,n){return M(e,"nextSibling",n);},prevUntil:function(e,t,n){return M(e,"previousSibling",n);},siblings:function(e){return H((e.parentNode||{}).firstChild,e);},children:function(e){return H(e.firstChild);},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(_(e,"template")&&(e=e.content||e),j.merge([],e.childNodes));}},function(e,t){j.fn[e]=function(n,i){var r=j.map(this,t,n);return "Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=j.filter(i,r)),this.length>1&&(W[e]||j.uniqueSort(r),B.test(e)&&r.reverse()),this.pushStack(r);};});var z=/[^\x20\t\r\n\f]+/g;function X(e){return e;}function G(e){throw e;}function Y(e,t,n,i){var r;try{e&&v(r=e.promise)?r.call(e).done(t).fail(n):e&&v(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i));}catch(e){n.apply(void 0,[e]);}}j.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return j.each(e.match(z)||[],function(e,n){t[n]=!0;}),t;}(e):j.extend({},e);var t,n,i,r,o=[],s=[],a=-1,l=function(){for(r=r||e.once,i=t=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=o.length,n=!1);e.memory||(n=!1),t=!1,r&&(o=n?[]:"");},u={add:function(){return o&&(n&&!t&&(a=o.length-1,s.push(n)),function t(n){j.each(n,function(n,i){v(i)?e.unique&&u.has(i)||o.push(i):i&&i.length&&"string"!==w(i)&&t(i);});}(arguments),n&&!t&&l()),this;},remove:function(){return j.each(arguments,function(e,t){for(var n;(n=j.inArray(t,o,n))>-1;)o.splice(n,1),n<=a&&a--;}),this;},has:function(e){return e?j.inArray(e,o)>-1:o.length>0;},empty:function(){return o&&(o=[]),this;},disable:function(){return r=s=[],o=n="",this;},disabled:function(){return !o;},lock:function(){return r=s=[],n||t||(o=n=""),this;},locked:function(){return !!r;},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this;},fire:function(){return u.fireWith(this,arguments),this;},fired:function(){return !!i;}};return u;},j.extend({Deferred:function(e){var t=[["notify","progress",j.Callbacks("memory"),j.Callbacks("memory"),2],["resolve","done",j.Callbacks("once memory"),j.Callbacks("once memory"),0,"resolved"],["reject","fail",j.Callbacks("once memory"),j.Callbacks("once memory"),1,"rejected"]],n="pending",r={state:function(){return n;},always:function(){return o.done(arguments).fail(arguments),this;},catch:function(e){return r.then(null,e);},pipe:function(){var e=arguments;return j.Deferred(function(n){j.each(t,function(t,i){var r=v(e[i[4]])&&e[i[4]];o[i[1]](function(){var e=r&&r.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[e]:arguments);});}),e=null;}).promise();},then:function(e,n,r){var o=0;function s(e,t,n,r){return function(){var a=this,l=arguments,u=function(){var i,u;if(!(e<o)){if((i=n.apply(a,l))===t.promise())throw new TypeError("Thenable self
5-resolution");u=i&&("object"==typeof i||"function"==typeof i)&&i.then,v(u)?r?u.call(i,s(o,t,X,r),s(o,t,G,r)):(o++,u.call(i,s(o,t,X,r),s(o,t,G,r),s(o,t,X,t.notifyWith))):(n!==X&&(a=void 0,l=[i]),(r||t.resolveWith)(a,l));}},c=r?u:function(){try{u();}catch(i){j.Deferred.exceptionHook&&j.Deferred.exceptionHook(i,c.error),e+1>=o&&(n!==G&&(a=void 0,l=[i]),t.rejectWith(a,l));}};e?c():(j.Deferred.getErrorHook?c.error=j.Deferred.getErrorHook():j.Deferred.getStackHook&&(c.error=j.Deferred.getStackHook()),i.setTimeout(c));};}return j.Deferred(function(i){t[0][3].add(s(0,i,v(r)?r:X,i.notifyWith)),t[1][3].add(s(0,i,v(e)?e:X)),t[2][3].add(s(0,i,v(n)?n:G));}).promise();},promise:function(e){return null!=e?j.extend(e,r):r;}},o={};return j.each(t,function(e,i){var s=i[2],a=i[5];r[i[1]]=s.add,a&&s.add(function(){n=a;},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),s.add(i[3].fire),o[i[0]]=function(){return o[i[0]+"With"](this===o?void 0:this,arguments),this;},o[i[0]+"With"]=s.fireWith;}),r.promise(o),e&&e.call(o,o),o;},when:function(e){var t=arguments.length,n=t,i=Array(n),r=a.call(arguments),o=j.Deferred(),s=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?a.call(arguments):n,--t||o.resolveWith(i,r);};};if(t<=1&&(Y(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||v(r[n]&&r[n].then)))return o.then();for(;n--;)Y(r[n],s(n),o.reject);return o.promise();}});var J=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;j.Deferred.exceptionHook=function(e,t){i.console&&i.console.warn&&e&&J.test(e.name)&&i.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t);},j.readyException=function(e){i.setTimeout(function(){throw e;});};var K=j.Deferred();function Z(){b.removeEventListener("DOMContentLoaded",Z),i.removeEventListener("load",Z),j.ready();}j.fn.ready=function(e){return K.then(e).catch(function(e){j.readyException(e);}),this;},j.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--j.readyWait:j.isReady)||(j.isReady=!0,!0!==e&&--j.readyWait>0||K.resolveWith(b,[j]));}}),j.ready.then=K.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?i.setTimeout(j.ready):(b.addEventListener("DOMContentLoaded",Z),i.addEventListener("load",Z));var ee=function(e,t,n,i,r,o,s){var a=0,l=e.length,u=null==n;if("object"===w(n))for(a in r=!0,n)ee(e,t,a,n[a],!0,o,s);else{if(void 0!==i&&(r=!0,v(i)||(s=!0),u&&(s?(t.call(e,i),t=null):(u=t,t=function(e,t,n){return u.call(j(e),n);})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));}return r?e:u?t.call(e):l?t(e[0],n):o;},te=/^-ms-/,ne=/-([a-z])/g;function ie(e,t){return t.toUpperCase();}function re(e){return e.replace(te,"ms-").replace(ne,ie);}var oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType;};function se(){this.expando=j.expando+se.uid++;}se.uid=1,se.prototype={cache:function(e){var t=e[this.expando];return t||(t={},oe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t;},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[re(t)]=n;else for(i in t)r[re(i)]=t[i];return r;},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][re(t)];},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t);},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(re):(t=re(t)) in i?[t]:t.match(z)||[]).length;for(;n--;)delete i[t[n]];}(void 0===t||j.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando]);}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!j.isEmptyObject(t);}};var ae=new se(),le=new se(),ue=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ce=/[A-Z]/g;function de(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(ce,"-$&").toLowerCase(),"string"==typeof (n=e.getAttribute(i))){try{n=function(e){return "true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ue.test(e)?JSON.parse(e):e);}(n);}catch(e){}le.set(e,t,n);}else n=void 0;return n;}j.extend({hasData:function(e){return le.hasData(e)||ae.hasData(e);},data:function(e,t,n){return le.access(e,t,n);},removeData:function(e,t){le.remove(e,t);},_data:function(e,t,n){return ae.access(e,t,n);},_removeData:function(e,t){ae.remove(e,t);}}),j.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=le.get(o),1===o.nodeType&&!ae.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=re(i.slice(5)),de(o,i,r[i]));ae.set(o,"hasDataAttrs",!0);}return r;}return "object"==typeof e?this.each(function(){le.set(this,e);}):ee(this,function(t){var n;if(o&&void 0===t)return void 0!==(n=le.get(o,e))||void 0!==(n=de(o,e))?n:void 0;this.each(function(){le.set(this,e,t);});},null,t,arguments.length>1,null,!0);},removeData:function(e){return this.each(function(){le.remove(this,e);});}}),j.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=ae.get(e,t),n&&(!i||Array.isArray(n)?i=ae.access(e,t,j.makeArray(n)):i.push(n)),i||[];},dequeue:function(e,t){t=t||"fx";var n=j.queue(e,t),i=n.length,r=n.shift(),o=j._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,function(){j.dequeue(e,t);},o)),!i&&o&&o.empty.fire();},_queueHooks:function(e,t){var n=t+"queueHooks";return ae.get(e,n)||ae.access(e,n,{empty:j.Callbacks("once memory").add(function(){ae.remove(e,[t+"queue",n]);})});}}),j.fn.extend({queue:function(e,t){var n=2;return "string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?j.queue(this[0],e):void 0===t?this:this.each(function(){var n=j.queue(this,e,t);j._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&j.dequeue(this,e);});},dequeue:function(e){return this.each(function(){j.dequeue(this,e);});},clearQueue:function(e){return this.queue(e||"fx",[]);},promise:function(e,t){var n,i=1,r=j.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o]);};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;
vendor: 5,884 bytes, line 5
5)(n=ae.get(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t);}});var pe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,he=new RegExp("^(?:([+-])=|)("+pe+")([a-z%]*)$","i"),fe=["Top","Right","Bottom","Left"],me=b.documentElement,ge=function(e){return j.contains(e.ownerDocument,e);},ve={composed:!0};me.getRootNode&&(ge=function(e){return j.contains(e.ownerDocument,e)||e.getRootNode(ve)===e.ownerDocument;});var ye=function(e,t){return "none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===j.css(e,"display");};function be(e,t,n,i){var r,o,s=20,a=i?function(){return i.cur();}:function(){return j.css(e,t,"");},l=a(),u=n&&n[3]||(j.cssNumber[t]?"":"px"),c=e.nodeType&&(j.cssNumber[t]||"px"!==u&&+l)&&he.exec(j.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)j.style(e,t,c+u),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),c/=o;c*=2,j.style(e,t,c+u),n=n||[];}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r;}var xe={};function Ce(e){var t,n=e.ownerDocument,i=e.nodeName,r=xe[i];return r||(t=n.body.appendChild(n.createElement(i)),r=j.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),xe[i]=r,r);}function we(e,t){for(var n,i,r=[],o=0,s=e.length;o<s;o++)(i=e[o]).style&&(n=i.style.display,t?("none"===n&&(r[o]=ae.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&ye(i)&&(r[o]=Ce(i))):"none"!==n&&(r[o]="none",ae.set(i,"display",n)));for(o=0;o<s;o++)null!=r[o]&&(e[o].style.display=r[o]);return e;}j.fn.extend({show:function(){return we(this,!0);},hide:function(){return we(this);},toggle:function(e){return "boolean"==typeof e?e?this.show():this.hide():this.each(function(){ye(this)?j(this).show():j(this).hide();});}});var Te,ke,je=/^(?:checkbox|radio)$/i,Se=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,_e=/^$|^module$|\/(?:java|ecma)script/i;Te=b.createDocumentFragment().appendChild(b.createElement("div")),(ke=b.createElement("input")).setAttribute("type","radio"),ke.setAttribute("checked","checked"),ke.setAttribute("name","t"),Te.appendChild(ke),g.checkClone=Te.cloneNode(!0).cloneNode(!0).lastChild.checked,Te.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Te.cloneNode(!0).lastChild.defaultValue,Te.innerHTML="<option></option>",g.option=!!Te.lastChild;var Ee={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ae(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&_(e,t)?j.merge([e],n):n;}function De(e,t){for(var n=0,i=e.length;n<i;n++)ae.set(e[n],"globalEval",!t||ae.get(t[n],"globalEval"));}Ee.tbody=Ee.tfoot=Ee.colgroup=Ee.caption=Ee.thead,Ee.th=Ee.td,g.option||(Ee.optgroup=Ee.option=[1,"<select multiple='multiple'>","</select>"]);var Ne=/<|&#?\w+;/;function qe(e,t,n,i,r){for(var o,s,a,l,u,c,d=t.createDocumentFragment(),p=[],h=0,f=e.length;h<f;h++)if((o=e[h])||0===o)if("object"===w(o))j.merge(p,o.nodeType?[o]:o);else if(Ne.test(o)){for(s=s||d.appendChild(t.createElement("div")),a=(Se.exec(o)||["",""])[1].toLowerCase(),l=Ee[a]||Ee._default,s.innerHTML=l[1]+j.htmlPrefilter(o)+l[2],c=l[0];c--;)s=s.lastChild;j.merge(p,s.childNodes),(s=d.firstChild).textContent="";}else p.push(t.createTextNode(o));for(d.textContent="",h=0;o=p[h++];)if(i&&j.inArray(o,i)>-1)r&&r.push(o);else{if(u=ge(o),s=Ae(d.appendChild(o),"script"),u&&De(s),n)for(c=0;o=s[c++];)_e.test(o.type||"")&&n.push(o);}return d;}var Le=/^([^.]*)(?:\.(.+)|)/;function Pe(){return !0;}function Oe(){return !1;}function Qe(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in "string"!=typeof n&&(i=i||n,n=void 0),t)Qe(e,a,n,i,t[a],o);return e;}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Oe;else{if(!r)return e;}return 1===o&&(s=r,r=function(e){return j().off(e),s.apply(this,arguments);},r.guid=s.guid||(s.guid=j.guid++)),e.each(function(){j.event.add(this,t,r,i,n);});}function Me(e,t,n){n?(ae.set(e,t,!1),j.event.add(e,t,{namespace:!1,handler:function(e){var n,i=ae.get(this,t);if(1&e.isTrigger&&this[t])if(i)(j.event.special[t]||{}).delegateType&&e.stopPropagation();else{if(i=a.call(arguments),ae.set(this,t,i),this[t](),n=ae.get(this,t),ae.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n;}else i&&(ae.set(this,t,j.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Pe);}})):void 0===ae.get(e,t)&&j.event.add(e,t,Pe);}j.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,u,c,d,p,h,f,m,g=ae.get(e);if(oe(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&j.find.matchesSelector(me,r),n.guid||(n.guid=j.guid++),(l=g.events)||(l=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(t){return void 0!==j&&j.event.triggered!==t.type?j.event.dispatch.apply(e,arguments):void 0;}),u=(t=(t||"").match(z)||[""]).length;u--;)h=m=(a=Le.exec(t[u])||[])[1],f=(a[2]||"").split(".").sort(),h&&(d=j.event.special[h]||{},h=(r?d.delegateType:d.bindType)||h,d=j.event.special[h]||{},c=j.extend({type:h,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&j.expr.match.needsContext.test(r),namespace:f.join(".")},o),(p=l[h])||((p=l[h]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,f,s)||e.addEventListener&&e.addEventListener(h,s)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,c):p.push(c),j.event.global[h]=!0);},remove:function(e,t,n,i,r){var o,s,a,l,u,c,d,p,h,f,m,g=ae.hasData(e)&&ae.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(z)||[""]).length;u--;)if(h=m=(a=Le.exec(t[u])||[])[1],f=(a[2]||"").split(".").sort(),h){for(d=j.event.special[h]||{},p=l[h=(i?d.delegateType:d.bindType)||h]||[],a=a[2]&&new RegExp("(^|\\.)"+f.
5join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!r&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,d.remove&&d.remove.call(e,c));s&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,f,g.handle)||j.removeEvent(e,h,g.handle),delete l[h]);}else for(h in l)j.event.remove(e,h+t[u],n,i,!0);j.isEmptyObject(l)&&ae.remove(e,"handle events");}},dispatch:function(e){var t,n,i,r,o,s,a=new Array(arguments.length),l=j.event.fix(e),u=(ae.get(this,"events")||Object.create(null))[l.type]||[],c=j.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(s=j.event.handlers.call(this,l,u),t=0;(r=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((j.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result;}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=t[n]).selector+" "]&&(s[r]=i.needsContext?j(r,this).index(u)>-1:j.find(r,this,null,[u]).length),s[r]&&o.push(i);o.length&&a.push({elem:u,handlers:o});}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a;},addProp:function(e,t){Object.defineProperty(j.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent);}:function(){if(this.originalEvent)return this.originalEvent[e];},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t});}});},fix:function(e){return e[j.expando]?e:new j.Event(e);},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return je.test(t.type)&&t.click&&_(t,"input")&&Me(t,"click",!0),!1;},trigger:function(e){var t=this||e;return je.test(t.type)&&t.click&&_(t,"input")&&Me(t,"click"),!0;},_default:function(e){var t=e.target;return je.test(t.type)&&t.click&&_(t,"input")&&ae.get(t,"click")||_(t,"a");}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result);}}}},j.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n);},j.Event=function(e,t){if(!(this instanceof j.Event))return new j.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Pe:Oe,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&j.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[j.expando]=!0;},j.Event.prototype={constructor:j.Event,isDefaultPrevented:Oe,isPropagationStopped:Oe,isImmediatePropagationStopped:Oe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Pe,e&&!this.isSimulated&&e.preventDefault();},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Pe,e&&!this.isSimulated&&e.stopPropagation();},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Pe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation();}},j.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},j.event.addProp),j.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){if(b.documentMode){var n=ae.get(this,"handle"),i=j.event.fix(e);
5i.type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,n(e),i.target===i.currentTarget&&n(i);}else j.event.simulate(t,e.target,j.event.fix(e));}j.event.special[e]={setup:function(){var i;if(Me(this,e,!0),!b.documentMode)return !1;(i=ae.get(this,t))||this.addEventListener(t,n),ae.set(this,t,(i||0)+1);},trigger:function(){return Me(this,e),!0;},teardown:function(){var e;if(!b.documentMode)return !1;(e=ae.get(this,t)-1)?ae.set(this,t,e):(this.removeEventListener(t,n),ae.remove(this,t));},_default:function(t){return ae.get(t.target,e);},delegateType:t},j.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=b.documentMode?this:i,o=ae.get(r,t);o||(b.documentMode?this.addEventListener(t,n):i.addEventListener(e,n,!0)),ae.set(r,t,(o||0)+1);},teardown:function(){var i=this.ownerDocument||this.document||this,r=b.documentMode?this:i,o=ae.get(r,t)-1;o?ae.set(r,t,o):(b.documentMode?this.removeEventListener(t,n):i.removeEventListener(e,n,!0),ae.remove(r,t));}};}),j.each({mouseenter:"mouseover",mouseleave:"mou
5seout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){j.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,r=e.handleObj;return i&&(i===this||j.contains(this,i))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n;}};}),j.fn.extend({on:function(e,t,n,i){return Qe(this,e,t,n,i);},one:function(e,t,n,i){return Qe(this,e,t,n,i,1);},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,j(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this;}return !1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Oe),this.each(function(){j.event.remove(this,e,n,t);});}});var He=/<script|<style|<link/i,Ie=/checked\s*(?:[^=]|=\s*.checked.)/i,Fe=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Re(e,t){return _(e,"table")&&_(11!==t.nodeType?t:t.firstChild,"tr")&&j(e).children("tbody")[0]||e;}function $e(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e;}function Ve(e){return "true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e;}function Be(e,t){var n,i,r,o,s,a;if(1===t.nodeType){if(ae.hasData(e)&&(a=ae.get(e).events))for(r in ae.remove(t,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)j.event.add(t,r,a[r][n]);le.hasData(e)&&(o=le.access(e),s=j.extend({},o),le.set(t,s));}}function We(e,t){var n=t.nodeName.toLowerCase();"input"===n&&je.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue);}function Ue(e,t,n,i){t=l(t);var r,o,s,a,u,c,d=0,p=e.length,h=p-1,f=t[0],m=v(f);if(m||p>1&&"string"==typeof f&&!g.checkClone&&Ie.test(f))return e.each(function(r){var o=e.eq(r);m&&(t[0]=f.call(this,r,o.html())),Ue(o,t,n,i);});if(p&&(o=(r=qe(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=(s=j.map(Ae(r,"script"),$e)).length;d<p;d++)u=r,d!==h&&(u=j.clone(u,!0,!0),a&&j.merge(s,Ae(u,"script"))),n.call(e[d],u,d);if(a)for(c=s[s.length-1].ownerDocument,j.map(s,Ve),d=0;d<a;d++)u=s[d],_e.test(u.type||"")&&!ae.access(u,"globalEval")&&j.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?j._evalUrl&&!u.noModule&&j._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):C(u.textContent.replace(Fe,""),u,c));}return e;}function ze(e,t,n){for(var i,r=t?j.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||j.cleanData(Ae(i)),i.parentNode&&(n&&ge(i)&&De(Ae(i,"script")),i.parentNode.removeChild(i));return e;}j.extend({htmlPrefilter:function(e){return e;},clone:function(e,t,n){var i,r,o,s,a=e.cloneNode(!0),l=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||j.isXMLDoc(e)))for(s=Ae(a),i=0,r=(o=Ae(e)).length;i<r;i++)We(o[i],s[i]);if(t)if(n)for(o=o||Ae(e),s=s||Ae(a),i=0,r=o.length;i<r;i++)Be(o[i],s[i]);else Be(e,a);return (s=Ae(a,"script")).length>0&&De(s,!l&&Ae(e,"script")),a;},cleanData:function(e){for(var t,n,i,r=j.event.special,o=0;void 0!==(n=e[o]);o++)if(oe(n)){if(t=n[ae.expando]){if(t.events)for(i in t.events)r[i]?j.event.remove(n,i):j.removeEvent(n,i,t.handle);n[ae.expando]=void 0;}n[le.expando]&&(n[le.expando]=void 0);}}}),j.fn.extend({detach:function(e){return ze(this,e,!0);},remove:function(e){return ze(this,e);},text:function(e){return ee(this,function(e){return void 0===e?j.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e);});},null,e,arguments.length);},append:function(){return Ue(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Re(this,e).appendChild(e);});},prepend:function(){return Ue(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Re(this,e);t.insertBefore(e,t.firstChild);}});},before:function(){return Ue(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this);});},after:function(){return Ue(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling);});},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(j.cleanData(Ae(e,!1)),e.textContent="");return this;},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return j.clone(this,e,t);});},html:function(e){return ee(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!He.test(e)&&!Ee[(Se.exec(e)||["",""])[1].toLowerCase()]){e=j.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(j.cleanData(Ae(t,!1)),t.innerHTML=e);t=0;}catch(e){}}t&&this.empty().append(e);},null,e,arguments.length);},replaceWith:function(){var e=[];return Ue(this,arguments,function(t){var n=this.parentNode;j.inArray(this,e)<0&&(j.cleanData(Ae(this)),n&&n.replaceChild(t,this));},e);}}),j.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){j.fn[e]=function(e){for(var n,i=[],r=j(e),o=r.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),j(r[s])[t](n),u.apply(i,n.get());return this.pushStack(i);};});var Xe=new RegExp("^("+pe+")(?!px)[a-z%]+$","i"),Ge=/^--/,Ye=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=i),t.getComputedStyle(e);},Je=function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i;},Ke=new RegExp(fe.join("|"),"i");function Ze(e,t,n){var i,r,o,s,a=Ge.test(t),l=e.style;return (n=n||Ye(e))&&(s=n.getPropertyValue(t)||n[t],a&&s&&(s=s.replace(q,"$1")||void 0),""!==s||ge(e)||(s=j.style(e,t)),!g.pixelBoxStyles()&&Xe.test(s)&&Ke.test(t)&&(i=l.width,r=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=n.width,l.width=i,l.minWidth=r,l.maxWidth=o)),void 0!==s?s+"":s;}function et(e,t){return {get:function(){if(!e())return (this.get=t).apply(this,arguments);delete this.get;}};}!function(){function e(){if(c){u.style.cssText="position:absolute;
5left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",me.appendChild(u).appendChild(c);var e=i.getComputedStyle(c);n="1%"!==e.top,l=12===t(e.marginLeft),c.style.right="60%",s=36===t(e.right),r=36===t(e.width),c.style.position="absolute",o=12===t(c.offsetWidth/3),me.removeChild(u),c=null;}}function t(e){return Math.round(parseFloat(e));}var n,r,o,s,a,l,u=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,j.extend(g,{boxSizingReliable:function(){return e(),r;},pixelBoxStyles:function(){return e(),s;},pixelPosition:function(){return e(),n;},reliableMarginLeft:function(){return e(),l;},scrollboxSize:function(){return e(),o;},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",me.appendChild(e).appendChild(t).appendChild(n),r=i.getComputedStyle(t),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===t.offsetHeight,me.removeChild(e)),a;}}));}();var tt=["Webkit","Moz","ms"],nt=b.createElement("div").style,it={};function rt(e){var t=j.cssProps[e]||it[e];return t||(e in nt?e:it[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=tt.length;n--;)if((e=tt[n]+t) in nt)return e;}(e)||e);}var ot=/^(none|table(?!-c[ea]).+)/,st={position:"absolute",visibility:"hidden",display:"block"},at={letterSpacing:"0",fontWeight:"400"};function lt(e,t,n){var i=he.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t;}function ut(e,t,n,i,r,o){var s="width"===t?1:0,a=0,l=0,u=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(u+=j.css(e,n+fe[s],!0,r)),i?("content"===n&&(l-=j.css(e,"padding"+fe[s],!0,r)),"margin"!==n&&(l-=j.css(e,"border"+fe[s]+"Width",!0,r))):(l+=j.css(e,"padding"+fe[s],!0,r),"padding"!==n?l+=j.css(e,"border"+fe[s]+"Width",!0,r):a+=j.css(e,"border"+fe[s]+"Width",!0,r));return !i&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l+u;}function ct(e,t,n){var i=Ye(e),r=(!g.boxSizingReliable()||n)&&"border-box"===j.css(e,"boxSizing",!1,i),o=r,s=Ze(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(Xe.test(s)){if(!n)return s;s="auto";}return (!g.boxSizingReliable()&&r||!g.reliableTrDimensions()&&_(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===j.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===j.css(e,"boxSizing",!1,i),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+ut(e,t,n||(r?"border":"content"),o,i,s)+"px";}function dt(e,t,n,i,r){return new dt.prototype.init(e,t,n,i,r);}j.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ze(e,"opacity");return ""===n?"1":n;}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=re(t),l=Ge.test(t),u=e.style;if(l||(t=rt(a)),s=j.cssHooks[t]||j.cssHooks[a],void 0===n)return s&&"get" in s&&void 0!==(r=s.get(e,!1,i))?r:u[t];"string"===(o=typeof n)&&(r=he.exec(n))&&r[1]&&(n=be(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(j.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set" in s&&void 0===(n=s.set(e,n,i))||(l?u.setProperty(t,n):u[t]=n));}},css:function(e,t,n,i){var r,o,s,a=re(t);return Ge.test(t)||(t=rt(a)),(s=j.cssHooks[t]||j.cssHooks[a])&&"get" in s&&(r=s.get(e,!0,n)),void 0===r&&(r=Ze(e,t,i)),"normal"===r&&t in at&&(r=at[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r;}}),j.each(["height","width"],function(e,t){j.cssHooks[t]={get:function(e,n,i){if(n)return !ot.test(j.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?ct(e,t,i):Je
5(e,st,function(){return ct(e,t,i);});},set:function(e,n,i){var r,o=Ye(e),s=!g.scrollboxSize()&&"absolute"===o.position,a=(s||i)&&"border-box"===j.css(e,"boxSizing",!1,o),l=i?ut(e,t,i,a,o):0;return a&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-ut(e,t,"border",!1,o)-.5)),l&&(r=he.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=j.css(e,t)),lt(0,n,l);}};}),j.cssHooks.marginLeft=et(g.reliableMarginLeft,function(e,t){if(t)return (parseFloat(Ze(e,"marginLeft"))||e.getBoundingClientRect().left-Je(e,{marginLeft:0},function(){return e.getBoundingClientRect().left;}))+"px";}),j.each({margin:"",padding:"",border:"Width"},function(e,t){j.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+fe[i]+t]=o[i]||o[i-2]||o[0];return r;}},"margin"!==e&&(j.cssHooks[e+t].set=lt);}),j.fn.extend({css:function(e,t){return ee(this,function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=Ye(e),r=t.length;s<r;s++)o[t[s]]=j.css(e,t[s],!1,i);return o;}return void 0!==n?j.style(e,t,n):j.css(e,t);},e,t,arguments.length>1);}}),j.Tween=dt,dt.prototype={constructor:dt,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||j.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(j.cssNumber[n]?"":"px");},cur:function(){var e=dt.propHooks[this.prop];return e&&e.get?e.get(this):dt.propHooks._default.get(this);},run:function(e){var t,n=dt.propHooks[this.prop];return this.options.duration?this.pos=t=j.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):dt.propHooks._default.set(this),this;}},dt.prototype.init.prototype=dt.prototype,dt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=j.css(e.elem,e.prop,""))&&"auto"!==t?t:0;},set:function(e){j.fx.step[e.prop]?j.fx.step[e.prop](e):1!==e.elem.nodeType||!j.cssHooks[e.prop]&&null==e.elem.style[rt(e.prop)]?e.elem[e.prop]=e.now:j.style(e.elem,e.prop,e.now+e.unit);}}},dt.propHooks.scrollTop=dt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now);}},j.easing={linear:function(e){return e;},swing:function(e){return .5-Math.cos(e*Math.PI)/2;},_default:"swing"},j.fx=dt.prototype.init,j.fx.step={};var pt,ht,ft=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;function gt(){ht&&(!1===b.hidden&&i.requestAnimationFrame?i.requestAnimationFrame(gt):i.setTimeout(gt,j.fx.interval),j.fx.tick());}function vt(){return i.setTimeout(function(){pt=void 0;}),pt=Date.now();}function yt(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=fe[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r;}function bt(e,t,n){for(var i,r=(xt.tweeners[t]||[]).concat(xt.tweeners["*"]),o=0,s=r.length;o<s;o++)if(i=r[o].call(n,t,e))return i;}function xt(e,t,n){var i,r,o=0,s=xt.prefilters.length,a=j.Deferred().always(function(){delete l.elem;}),l=function(){if(r)return !1;for(var t=pt||vt(),n=Math.max(0,u.startTime+u.duration-t),i=1-(n/u.duration||0),o=0,s=u.tweens.length;o<s;o++)u.tweens[o].run(i);return a.notifyWith(e,[u,i,n]),i<1&&s?n:(s||a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u]),!1);},u=a.promise({elem:e,props:j.extend({},t),opts:j.extend(!0,{specialEasing:{},easing:j.easing._default},n),originalProperties:t,originalOptions:n,startTime:pt||vt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=j.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(i),i;},stop:function(t){var n=0,i=t?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this;}}),c=u.props;for(!function(e,t){var n,i,r,o,s;for(n in e)if(r=t[i=re(n)],o=e[n],Array.isArray(o)&&(r=o[1],o=e[n]=o[0]),n!==i&&(e[i]=o,delete e[n]),(s=j.cssHooks[i])&&"expand" in s)for(n in o=s.expand(o),delete e[i],o)n in e||(e[n]=o[n],t[n]=r);else t[i]=r;}(c,u.opts.specialEasing);o<s;
vendor: 4,318 bytes, line 5
5o++)if(i=xt.prefilters[o].call(u,e,c,u.opts))return v(i.stop)&&(j._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return j.map(c,bt,u),v(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),j.fx.timer(j.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u;}j.Animation=j.extend(xt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return be(n.elem,e,he.exec(t),n),n;}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(z);for(var n,i=0,r=e.length;i<r;i++)n=e[i],xt.tweeners[n]=xt.tweeners[n]||[],xt.tweeners[n].unshift(t);},prefilters:[function(e,t,n){var i,r,o,s,a,l,u,c,d="width" in t||"height" in t,p=this,h={},f=e.style,m=e.nodeType&&ye(e),g=ae.get(e,"fxshow");for(i in n.queue||(null==(s=j._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a();}),s.unqueued++,p.always(function(){p.always(function(){s.unqueued--,j.queue(e,"fx").length||s.empty.fire();});})),t)if(r=t[i],ft.test(r)){if(delete t[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0;}h[i]=g&&g[i]||j.style(e,i);}if((l=!j.isEmptyObject(t))||!j.isEmptyObject(h))for(i in d&&1===e.nodeType&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],null==(u=g&&g.display)&&(u=ae.get(e,"display")),"none"===(c=j.css(e,"display"))&&(u?c=u:(we([e],!0),u=e.style.display||u,c=j.css(e,"display"),we([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===j.css(e,"float")&&(l||(p.done(function(){f.display=u;}),null==u&&(c=f.display,u="none"===c?"":c)),f.display="inline-block")),n.overflow&&(f.overflow="hidden",p.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2];})),l=!1,h)l||(g?"hidden" in g&&(m=g.hidden):g=ae.access(e,"fxshow",{display:u}),o&&(g.hidden=!m),m&&we([e],!0),p.done(function(){for(i in m||we([e]),ae.remove(e,"fxshow"),h)j.style(e,i,h[i]);})),l=bt(m?g[i]:0,i,p),i in g||(g[i]=l.start,m&&(l.end=l.start,l.start=0));}],prefilter:function(e,t){t?xt.prefilters.unshift(e):xt.prefilters.push(e);}}),j.speed=function(e,t,n){var i=e&&"object"==typeof e?j.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return j.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in j.fx.speeds?i.duration=j.fx.speeds[i.duration]:i.duration=j.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v(i.old)&&i.old.call(this),i.queue&&j.dequeue(this,i.queue);},i;},j.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ye).css("opacity",0).show().end().animate({opacity:t},e,n,i);},animate:function(e,t,n,i){var r=j.isEmptyObject(e),o=j.speed(t,n,i),s=function(){var t=xt(this,j.extend({},e),o);(r||ae.get(this,"finish"))&&t.stop(!0);};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s);},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n);};return "string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",o=j.timers,s=ae.get(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&mt.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=e&&o[r].queue!==e||(o[r].anim.stop(n),t=!1,o.splice(r,1));!t&&n||j.dequeue(this,e);});},finish:function(e){return !1!==e&&(e=e||"fx"),this.each(function(){var t,n=ae.get(this),i=n[e+"queue"],r=n[e+"queueHooks"],o=j.timers,s=i?i.length:0;for(n.finish=!0,j.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish;});}}),j.each(["toggle","show","hide"],function(e,t){var n=j.fn[t];j.fn[t]=function(e,i,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(yt(t,!0),e,i,r);};}),j.each({slideDown:yt("show"),slideUp:yt("hide"),slideToggle:yt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){j.fn[e]=function(e,n,i){return this.animate(t,e,n,i);};}),j.timers=[],j.fx.tick=function(){var e,t=0,n=j.timers;for(pt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||j.fx.stop(),pt=void 0;},j.fx.timer=function(e){j.timers.push(e),j.fx.start();}
5,j.fx.interval=13,j.fx.start=function(){ht||(ht=!0,gt());},j.fx.stop=function(){ht=null;},j.fx.speeds={slow:600,fast:200,_default:400},j.fn.delay=function(e,t){return e=j.fx&&j.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,n){var r=i.setTimeout(t,e);n.stop=function(){i.clearTimeout(r);};});},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value;}();var Ct,wt=j.expr.attrHandle;j.fn.extend({attr:function(e,t){return ee(this,j.attr,e,t,arguments.length>1);},removeAttr:function(e){return this.each(function(){j.removeAttr(this,e);});}}),j.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?j.prop(e,t,n):(1===o&&j.isXMLDoc(e)||(r=j.attrHooks[t.toLowerCase()]||(j.expr.match.bool.test(t)?Ct:void 0)),void 0!==n?null===n?void j.removeAttr(e,t):r&&"set" in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get" in r&&null!==(i=r.get(e,t))?i:null==(i=j.find.attr(e,t))?void 0:i);},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&_(e,"
5input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t;}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(z);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n);}}),Ct={set:function(e,t,n){return !1===t?j.removeAttr(e,n):e.setAttribute(n,n),n;}},j.each(j.expr.match.bool.source.match(/\w+/g),function(e,t){var n=wt[t]||j.find.attr;wt[t]=function(e,t,i){var r,o,s=t.toLowerCase();return i||(o=wt[s],wt[s]=r,r=null!=n(e,t,i)?s:null,wt[s]=o),r;};});var Tt=/^(?:input|select|textarea|button)$/i,kt=/^(?:a|area)$/i;function jt(e){return (e.match(z)||[]).join(" ");}function St(e){return e.getAttribute&&e.getAttribute("class")||"";}function _t(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(z)||[];}j.fn.extend({prop:function(e,t){return ee(this,j.prop,e,t,arguments.length>1);},removeProp:function(e){return this.each(function(){delete this[j.propFix[e]||e];});}}),j.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&j.isXMLDoc(e)||(t=j.propFix[t]||t,r=j.propHooks[t]),void 0!==n?r&&"set" in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get" in r&&null!==(i=r.get(e,t))?i:e[t];},propHooks:{tabIndex:{get:function(e){var t=j.find.attr(e,"tabindex");return t?parseInt(t,10):Tt.test(e.nodeName)||kt.test(e.nodeName)&&e.href?0:-1;}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(j.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null;},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex);}}),j.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){j.propFix[this.toLowerCase()]=this;}),j.fn.extend({addClass:function(e){var t,n,i,r,o,s;return v(e)?this.each(function(t){j(this).addClass(e.call(this,t,St(this)));}):(t=_t(e)).length?this.each(function(){if(i=St(this),n=1===this.nodeType&&" "+jt(i)+" "){for(o=0;o<t.length;o++)r=t[o],n.indexOf(" "+r+" ")<0&&(n+=r+" ");s=jt(n),i!==s&&this.setAttribute("class",s);}}):this;},removeClass:function(e){var t,n,i,r,o,s;return v(e)?this.each(function(t){j(this).removeClass(e.call(this,t,St(this)));}):arguments.length?(t=_t(e)).length?this.each(function(){if(i=St(this),n=1===this.nodeType&&" "+jt(i)+" "){for(o=0;o<t.length;o++)for(r=t[o];n.indexOf(" "+r+" ")>-1;)n=n.replace(" "+r+" "," ");s=jt(n),i!==s&&this.setAttribute("class",s);}}):this:this.attr("class","");},toggleClass:function(e,t){var n,i,r,o,s=typeof e,a="string"===s||Array.isArray(e);return v(e)?this.each(function(n){j(this).toggleClass(e.call(this,n,St(this),t),t);}):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(n=_t(e),this.each(function(){if(a)for(o=j(this),r=0;r<n.length;r++)i=n[r],o.hasClass(i)?o.removeClass(i):o.addClass(i);else void 0!==e&&"boolean"!==s||((i=St(this))&&ae.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":ae.get(this,"__className__")||""));}));},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+jt(St(n))+" ").indexOf(t)>-1)return !0;return !1;}});var Et=/\r/g;j.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=v(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,j(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=j.map(r,function(e){return null==e?"":e+"";})),(t=j.valHooks[this.type]||j.valHooks[this.nodeName.toLowerCase()])&&"set" in t&&void 0!==t.set(this,r,"value")||(this.value=r));})):r?(t=j.valHooks[r.type]||j.valHooks[r.nodeName.toLowerCase()])&&"get" in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof (n=r.value)?n.replace(Et,""):null==n?"":n:void 0;}}),j.extend({valHooks:{option:{get:function(e){var t=j.find.attr(e,"value");return null!=t?t:jt(j.text(e));}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:r.length;for(i=o<0?l:s?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!_(n.parentNode,"optgroup"))){if(t=j(n).val(),s)return t;a.push(t);}return a;},set:function(e,t){for(var n,i,r=e.options,o=j.makeArray(t),s=r.length;s--;)((i=r[s]).selected=j.inArray(j.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o;}}}}),j.each(["radio","checkbox"],function(){j.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=j.inArray(j(e).val(),t)>-1;}},g.checkOn||(j.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value;});});var At=i.location,Dt={guid:Date.now()},Nt=/\?/;j.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new i.DOMParser()).parseFromString(e,"text/xml");}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||j.error("Invalid XML: "+(n?
5j.map(n.childNodes,function(e){return e.textContent;}).join("\n"):e)),t;};var qt=/^(?:focusinfocus|focusoutblur)$/,Lt=function(e){e.stopPropagation();};j.extend(j.event,{trigger:function(e,t,n,r){var o,s,a,l,u,c,d,p,f=[n||b],m=h.call(e,"type")?e.type:e,g=h.call(e,"namespace")?e.namespace.split("."):[];if(s=p=a=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!qt.test(m+j.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[j.expando]?e:new j.Event(m,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:j.makeArray(t,[e]),d=j.event.special[m]||{},r||!d.trigger||!1!==d.trigger.apply(n,t))){if(!r&&!d.noBubble&&!y(n)){for(l=d.delegateType||m,qt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)f.push(s),a=s;a===(n.ownerDocument||b)&&f.push(a.defaultView||a.parentWindow||i);}for(o=0;(s=f[o++])&&!e.isPropagationStopped();)p=s,e.type=o>1?l:d.bindType||m,(c=(ae.get(s,"events")||Object.create(null))[e.type]&&ae.get(s,"handle"))&&c.apply(s,t),(c=u&&s[u])&&c.apply&&oe(s)&&(e.result=c.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,r||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),t)||!oe(n)||u&&v(n[m])&&!y(n)&&((a=n[u])&&(n[u]=null),j.event.triggered=m,e.isPropagationStopped()&&p.addEventListener(m,Lt),n[m](),e.isPropagationStopped()&&p.removeEventListener(m,Lt),j.event.triggered=void 0,a&&(n[u]=a)),e.result;}},simulate:function(e,t,n){var i=j.extend(new j.Event(),n,{type:e,isSimulated:!0});j.event.trigger(i,null,t);}}),j.fn.extend({trigger:function(e,t){return this.each(function(){j.event.trigger(e,t,this);});},triggerHandler:function(e,t){var n=this[0];if(n)return j.event.trigger(e,t,n,!0);}});var Pt=/\[\]$/,Ot=/\r?\n/g,Qt=/^(?:submit|button|image|reset|file)$/i,Mt=/^(?:input|select|textarea|keygen)/i;function Ht(e,t,n,i){var r;if(Array.isArray(t))j.each(t,function(t,r){n||Pt.test(e)?i(e,r):Ht(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i);});else if(n||"object"!==w(t))i(e,t);else for(r in t)Ht(e+"["+r+"]",t[r],n,i);}j.param=function(e,t){var n,i=[],r=function(e,t){var n=v(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n);};if(null==e)return "";if(Array.isArray(e)||e.jquery&&!j.isPlainObject(e))j.each(e,function(){r(this.name,this.value);});else for(n in e)Ht(n,e[n],t,r);return i.join("&");},j.fn.extend({serialize:function(){return j.param(this.serializeArray());},serializeArray:function(){return this.map(function(){var e=j.prop(this,"elements");return e?j.makeArray(e):this;}).filter(function(){var e=this.type;return this.name&&!j(this).is(":disabled")&&Mt.test(this.nodeName)&&!Qt.test(e)&&(this.checked||!je.test(e));}).map(function(e,t){var n=j(this).val();return null==n?null:Array.isArray(n)?j.map(n,function(e){return {name:t.name,value:e.replace(Ot,"\r\n")};}):{name:t.name,value:n.replace(Ot,"\r\n")};}).get();}});var It=/%20/g,Ft=/#.*$/,Rt=/([?&])_=[^&]*/,$t=/^(.*?):[ \t]*([^\r\n]*)$/gm,Vt=/^(?:GET|HEAD)$/,Bt=/^\/\//,Wt={},Ut={},zt="*/".concat("*"),Xt=b.createElement("a");function Gt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,r=0,o=t.toLowerCase().match(z)||[];if(v(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n);};}function Yt(e,t,n,i){var r={},o=e===Ut;function s(a){var l;return r[a]=!0,j.each(e[a]||[],function(e,a){var u=a(t,n,i);return "string"!=typeof u||o||r[u]?o?!(l=u):void 0:(t.dataTypes.unshift(u),s(u),!1);}),l;}return s(t.dataTypes[0])||!r["*"]&&s("*");}function Jt(e,t){var n,i,r=j.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&j.extend(!0,e,i),e;}Xt.href=At.href,j.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:At.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(At.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":j.parseXML}
5,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,j.ajaxSettings),t):Jt(j.ajaxSettings,e);},ajaxPrefilter:Gt(Wt),ajaxTransport:Gt(Ut),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r,o,s,a,l,u,c,d,p,h=j.ajaxSetup({},t),f=h.context||h,m=h.context&&(f.nodeType||f.jquery)?j(f):j.event,g=j.Deferred(),v=j.Callbacks("once memory"),y=h.statusCode||{},x={},C={},w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=$t.exec(o);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "];}return null==t?null:t.join(", ");},getAllResponseHeaders:function(){return u?o:null;},setRequestHeader:function(e,t){return null==u&&(e=C[e.toLowerCase()]=C[e.toLowerCase()]||e,x[e]=t),this;},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this;},statusCode:function(e){var t;if(e)if(u)T.always(e[T.status]);else for(t in e)y[t]=[y[t],e[t]];return this;},abort:function(e){var t=e||w;return n&&n.abort(t),k(0,t),this;}};if(g.promise(T),h.url=((e||h.url||At.href)+"").replace(Bt,At.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(z)||[""],null==h.crossDomain){l=b.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Xt.protocol+"//"+Xt.host!=l.protocol+"//"+l.host;}catch(e){h.crossDomain=!0;}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=j.param(h.data,h.traditional)),Yt(Wt,h,t,T),u)return T;for(d in (c=j.event&&h.global)&&0===j.active++&&j.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Vt.test(h.type),r=h.url.replace(Ft,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(It,"+")):(p=h.url.slice(r.length),h.data&&(h.processData||"string"==typeof h.data)&&(r+=(Nt.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(r=r.replace(Rt,"$1"),p=(Nt.test(r)?"&":"?")+"_="+Dt.guid++ +p),h.url=r+p),h.ifModified&&(j.lastModified[r]&&T.setRequestHeader("If-Modified-Since",j.lastModified[r]),j.etag[r]&&T.setRequestHeader("If-None-Match",j.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&T.setRequestHeader("Content-Type",h.contentType),T.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+zt+"; q=0.01":""):h.accepts["*"]),h.headers)T.setRequestHeader(d,h.headers[d]);if(h.beforeSend&&(!1===h.beforeSend.call(f,T,h)||u))return T.abort();if(w="abort",v.add(h.complete),T.done(h.success),T.fail(h.error),n=Yt(Ut,h,t,T)){if(T.readyState=1,c&&m.trigger("ajaxSend",[T,h]),u)return T;h.async&&h.timeout>0&&(a=i.setTimeout(function(){T.abort("timeout");},h.timeout));try{u=!1,n.send(x,k);}catch(e){if(u)throw e;k(-1,e);}}else k(-1,"No Transport");function k(e,t,s,l){var d,p,b,x,C,w=t;u||(u=!0,a&&i.clearTimeout(a),n=void 0,o=l||"",T.readyState=e>0?4:0,d=e>=200&&e<300||304===e,s&&(x=function(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break;}if(l[0] in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){o=r;break;}s||(s=r);}o=o||s;}if(o)return o!==l[0]&&l.unshift(o),n[o];}(h,T,s)),!d&&j.inArray("script",h.dataTypes)>-1&&j.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),x=function(e,t,n,i){var r,o,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else{if("*"!==l&&l!==o){if(!(s=u[l+" "+o]||u["* "+o]))for(r in u)if((a=r.split(" "))[1]===o&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[r]:!0!==u[r]&&(o=a[0],c.unshift(a[1]));break;}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t);}catch(e){return {state:"parsererror",error:s?e:"No conversion from "+l+" to "+o};}}}return {state:"success",data:t};}(h,x,T,d),d?(h.ifModified&&((C=T.getResponseHeader("Last-Modified"))&&(j.lastModified[r]=C),(C=T.getResponseHeader("etag"))&&(j.etag[r]=C)),204===e||"HEAD"===h.type?w="nocontent":304===e?w="notmodified":(w=x.state,p=x.data,d=!(b=x.error))):(b=w,!e&&w||(w="error",e<0&&(e=0))),T.status=e,T.statusText=(t||w)+"",d?g.resolveWith(f,[p,w,T]):g.rejectWith(f,[T,w,b]),T.statusCode(y),y=void 0,c&&m.trigger(d?"ajaxSuccess":"ajaxError",[T,h,d?p:b]),v.fireWith(f,[T,w]),c&&(m.trigger("ajaxComplete",[T,h]),--j.active||j.event.trigger("ajaxStop")));}return T;},getJSON:function(e,t,n){return j.get(e,t,n,"json");},getScript:function(e,t){return j.get(e,void 0,t,"script");}}),j.each(["get","post"],function(e,t){j[t]=function(e,n,i,r){return v(n)&&(r=r||i,i=n,n=void 0),j.ajax(j.extend({url:e,type:t,dataType:r,data:n,success:i},j.isPlainObject(e)&&e));};}),j.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"");}),j._evalUrl=function(e,t,n){return j.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){j.globalEval(e,t,n);}});},j.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=j(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e;}).append(this)),this;},wrapInner:function(e){return v(e)?this.each(function(t){j(this).wrapInner(e.call(this,t));}):this.each(function(){var t=j(this),n=t.contents();n.length?n.wrapAll(e):t.append(e);});},wrap:function(e){var t=v(e);return this.each(function(n){j(this).wrapAll(t?e.call(this,n):e);});},unwrap:function(e){return this.parent(e).not("body").each(function(){j(this).replaceWith(this.childNodes);}),this;}}),j.expr.pseudos.hidden=function(e){return !j.expr.pseudos.visible(e);},j.expr.pseudos.visible=function(e){return !!(e.offsetWidth||e.offsetHeight||e.getClientRects().length);},j.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest();}catch(e){}};var Kt={0:200,1223:204},Zt=j.ajaxSettings.xhr();g.cors=!!Zt&&"withCredentials" in Zt,g.ajax=Zt=!!Zt,j.ajaxTransport(function(e){var t,n;if(g.cors||Zt&&!e.crossDomain)return {send:function(r,o){var s,a=e.xhr(
vendor: 5,148 bytes, line 5
5);if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)a[s]=e.xhrFields[s];for(s in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(s,r[s]);t=function(e){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Kt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()));};},a.onload=t(),n=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&i.setTimeout(function(){t&&n();});},t=t("abort");try{a.send(e.hasContent&&e.data||null);}catch(e){if(t)throw e;}},abort:function(){t&&t();}};}),j.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1);}),j.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return j.globalEval(e),e;}}}),j.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET");}),j.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return {send:function(i,r){t=j("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type);}),b.head.appendChild(t[0]);},abort:function(){n&&n();}};});var en,tn=[],nn=/(=)\?(?=&|$)|\?\?/;j.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||j.expando+"_"+Dt.guid++;return this[e]=!0,e;}}),j.ajaxPrefilter("json jsonp",function(e,t,n){var r,o,s,a=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(nn,"$1"+r):!1!==e.jsonp&&(e.url+=(Nt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||j.error(r+" was not called"),s[0];},e.dataTypes[0]="json",o=i[r],i[r]=function(){s=arguments;},n.always(function(){void 0===o?j(i).removeProp(r):i[r]=o,e[r]&&(e.jsonpCallback=t.jsonpCallback,tn.push(r)),s&&v(o)&&o(s[0]),s=o=void 0;}),"script";}),g.createHTMLDocument=((en=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===en.childNodes.length),j.parseHTML=function(e,t,n){return "string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((i=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(i)):t=b),o=!n&&[],(r=F.exec(e))?[t.createElement(r[1])]:(r=qe([e],t,o),o&&o.length&&j(o).remove(),j.merge([],r.childNodes)));var i,r,o;},j.fn.load=function(e,t,n){var i,r,o,s=this,a=e.indexOf(" ");return a>-1&&(i=jt(e.slice(a)),e=e.slice(0,a)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&j.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(i?j("<div>").append(j.parseHTML(e)).find(i):e);}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e]);});}),this;},j.expr.pseudos.animated=function(e){return j.grep(j.timers,function(t){return e===t.elem;}).length;},j.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,u=j.css(e,"position"),c=j(e),d={};"static"===u&&(e.style.position="relative"),a=c.offset(),o=j.css(e,"top"),l=j.css(e,"left"),("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1?(s=(i=c.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),v(t)&&(t=t.call(e,n,j.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+r),"using" in t?t.using.call(e,d):c.css(d);}},j.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){j.offset.setOffset(this,e,t);});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0;},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===j.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===j.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=j(e).offset()).top+=j.css(e,"borderTopWidth",!0),r.left+=j.css(e,"borderLeftWidth",!0));}return {top:t.top-r.top-j.css(i,"marginTop",!0),left:t.left-r.left-j.css(i,"marginLeft",!0)};}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===j.css(e,"position");)e=e.offsetParent;return e||me;});}}),j.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;j.fn[e]=function(i){return ee(this,function(e,i,r){var o;
5if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r;},e,i,arguments.length);};}),j.each(["top","left"],function(e,t){j.cssHooks[t]=et(g.pixelPosition,function(e,n){if(n)return n=Ze(e,t),Xe.test(n)?j(e).position()[t]+"px":n;});}),j.each({Height:"height",Width:"width"},function(e,t){j.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){j.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return ee(this,function(t,n,r){var o;return y(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?j.css(t,n,a):j.style(t,n,r,a);},t,s?r:void 0,s);};});}),j.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){j.fn[t]=function(e){return this.on(t,e);};}),j.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n);},unbind:function(e,t){return this.off(e,null,t);},delegate:function(e,t,n,i){return this.on(t,e,n,i);},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n);},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e);}}),j.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){j.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t);};});var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;j.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return i=a.call(arguments,2),r=function(){return e.apply(t||this,i.concat(a.call(arguments)));},r.guid=e.guid=e.guid||j.guid++,r;},j.holdReady=function(e){e?j.readyWait++:j.ready(!0);},j.isArray=Array.isArray,j.parseJSON=JSON.parse,j.nodeName=_,j.isFunction=v,j.isWindow=y,j.camelCase=re,j.type=w,j.now=Date.now,j.isNumeric=function(e){var t=j.type(e);return ("number"===t||"string"===t)&&!isNaN(e-parseFloat(e));},j.trim=function(e){return null==e?"":(e+"").replace(rn,"$1");},void 0===(n=function(){return j;}.apply(t,[]))||(e.exports=n);var on=i.jQuery,sn=i.$;return j.noConflict=function(e){return i.$===j&&(i.$=sn),e&&i.jQuery===j&&(i.jQuery=on),j;},void 0===r&&(i.jQuery=i.$=j),j;});}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,n),o.exports;}n.n=(e)=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t;},n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]});},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")();}catch(e){if("object"==typeof window)return window;}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=function(){return e=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e;},e.apply(this,arguments);},t=function(){function t(t,n,i){var r=this;this.endVal=n,this.options=i,this.version="2.10.0",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",autoAnimate:!1,autoAnimateDelay:200,autoAnimateOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(e){r.startTime||(r.startTime=e);var t=e-r.startTime;r.remaining=r.duration-t,r.useEasing?r.countDown?r.frameVal=r.startVal-r.easingFn(t,0,r.startVal-r.endVal,r.duration):r.frameVal=r.easingFn(t,r.startVal,r.endVal-r.startVal,r.duration):r.frameVal=r.startVal+(r.endVal-r.startVal)*(t/r.duration);var n=r.countDown?r.frameVal<r.endVal:r.frameVal>r.endVal;r.frameVal=n?r.endVal:r.frameVal,r.frameVal=Number(r.frameVal.toFixed(r.options.decimalPlaces)),r.printValue(r.frameVal),t<r.duration?r.rAF=requestAnimationFrame(r.count):null!==r.finalEndVal?r.update(r.finalEndVal):r.options.onCompleteCallback&&r.options.onCompleteCallback();},this.formatNumber=function(e){var t,n,i,o,s=e<0?"-":"";t=Math.abs(e).toFixed(r.options.decimalPlaces);
5var a=(t+="").split(".");if(n=a[0],i=a.length>1?r.options.decimal+a[1]:"",r.options.useGrouping){o="";for(var l=3,u=0,c=0,d=n.length;c<d;++c)r.options.useIndianSeparators&&4===c&&(l=2,u=1),0!==c&&u%l==0&&(o=r.options.separator+o),u++,o=n[d-c-1]+o;n=o;}return r.options.numerals&&r.options.numerals.length&&(n=n.replace(/[0-9]/g,function(e){return r.options.numerals[+e];}),i=i.replace(/[0-9]/g,function(e){return r.options.numerals[+e];})),s+r.options.prefix+n+i+r.options.suffix;},this.easeOutExpo=function(e,t,n,i){return n*(1-Math.pow(2,-10*e/i))*1024/1023+t;},this.options=e(e({},this.defaults),i),this.options.enableScrollSpy&&(this.options.autoAnimate=!0),void 0!==this.options.scrollSpyDelay&&(this.options.autoAnimateDelay=this.options.scrollSpyDelay),this.options.scrollSpyOnce&&(this.options.autoAnimateOnce=!0),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.el="string"==typeof t?document.getElementById(t):t,n=null==n?this.parse(this.el.innerHTML):n,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(n),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,""===this.options.separator&&(this.options.useGrouping=!1),this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined","undefined"!=typeof window&&this.options.autoAnimate&&(this.error||"undefined"==typeof IntersectionObserver?this.error?console.error(this.error,t):console.error("IntersectionObserver is not supported by this browser"):this.setupObserver());}return t.prototype.setupObserver=function(){var e=this,n=t.observedElements.get(this.el);n&&n.unobserve(),t.observedElements.set(this.el,this),this.observer=new IntersectionObserver(function(t){for(var n=0,i=t;n<i.length;n++){var r=i[n];r.isIntersecting&&e.paused&&!e.once?(e.paused=!1,e.autoAnimateTimeout=setTimeout(function(){return e.start();},e.options.autoAnimateDelay),e.options.autoAnimateOnce&&(e.once=!0,e.observer.disconnect())):r.isIntersecting||e.paused||(clearTimeout(e.autoAnimateTimeout),e.reset());}},{threshold:0}),this.observer.observe(this.el);},t.prototype.unobserve=function(){var e;clearTimeout(this.autoAnimateTimeout),null===(e=this.observer)||void 0===e||e.disconnect(),t.observedElements.delete(this.el);},t.prototype.onDestroy=function(){clearTimeout(this.autoAnimateTimeout),cancelAnimationFrame(this.rAF),this.paused=!0,this.unobserve(),this.options.onCompleteCallback=null,this.options.onStartCallback=null;},t.prototype.determineDirectionAndSmartEasing=function(){var e=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>e;var t=e-this.startVal;if(Math.abs(t)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=e;var n=this.countDown?1:-1;this.endVal=e+n*this.options.smartEasingAmount,this.duration=this.duration/2;}else this.endVal=e,this.finalEndVal=null;null!==this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing;},t.prototype.start=function(e){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),e&&(this.options.onCompleteCallback=e),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal));},t.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused;},t.prototype.reset=function(){clearTimeout(this.autoAnimateTimeout),cancelAnimationFrame(this.rAF),this.paused=!0,this.once=!1,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal);},t.prototype.update=function(e){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(e),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,null==this.finalEndVal&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count));},t.prototype.printValue=function(e){var t;if(this.el){var n=this.formattingFn(e);(null===(t=this.options.plugin)||void 0===t?void 0:t.render)?this.options.plugin.render(this.el,n):"INPUT"===this.el.tagName?this.el.value=n:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=n:this.el.
5innerHTML=n;}},t.prototype.ensureNumber=function(e){return "number"==typeof e&&!isNaN(e);},t.prototype.validateValue=function(e){var t=Number(e);return this.ensureNumber(t)?t:(this.error="[CountUp] invalid start or end value: ".concat(e),null);},t.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration;},t.prototype.parse=function(e){var t=function(e){return e.replace(/([.,'Â ])/g,"\\$1");},n=t(this.options.separator),i=t(this.options.decimal),r=e.replace(new RegExp(n,"g"),"").replace(new RegExp(i,"g"),".");return parseFloat(r);},t.observedElements=new WeakMap(),t;}();!function(e,t){var n=n||{};n.CommonClasses={active:"js-active",open:"js-open",push:"js-pushed",whiteBackground:"bg-white"},n.breakpoints={xs:"480px",sm:"768px",md:"1024px",lg:"1200px"},n.helpers={transitiontime:500},n.articlesSlider={built:!1,component:function(){this.c=jQuery(".js-articles-slider");},dom:function(){},init:function(){this.component(),this.c&&(this.dom(),this.binds());},_buildSlider:function(){this.c.owlCarousel({stagePadding:25,margin:8,dots:!1,autoHeight:!0,responsive:{0:{items:1}}}),this.built=!0;},_destroySlider:function(){this.c.data("owlCarousel").destroy(),this.built=!1;},binds:function(){"matchMedia" in globalThis&&(globalThis.matchMedia("(min-width:"+n.breakpoints.sm+")").matches||this._buildSlider());let e=function(e,t,n){let i;return function(){let r=arguments,o=n&&!i;clearTimeout(i),i=setTimeout(function(){i=null,n||e.apply(this,r);},t),o&&e.apply(this,r);};}(function(){"matchMedia" in globalThis&&(globalThis.matchMedia("(min-width:"+n.breakpoints.sm+")").matches?jQuery(".js-articles-slider").owlCarousel("destroy"):n.articlesSlider._buildSlider());},500);globalThis.addEventListener("resize",e,!1);}},n.cardsSlider={built:!1,component:function(){this.c=jQuery(".js-cards-slider");},dom:function(){},init:function(){this.component(),this.c&&(this.dom(),this.binds());},_buildSlider:function(){this.c.owlCarousel({stagePadding:25,margin:8,dots:!1,responsive:{0:{items:1}}}),this.built=!0;},_destroySlider:function(){this.c.data("owlCarousel").destroy(),this.built=!1;},binds:function(){"matchMedia" in globalThis&&(globalThis.matchMedia("(min-width:"+n.breakpoints.xs+")").matches||this._buildSlider());}},n.tilesSlider={built:!1,component:function(){this.c=jQuery(".js-tiles-slider");},dom:function(){},init:function(){this.component(),this.c&&(this.dom(),this.binds());},_buildSlider:function(){this.c.owlCarousel({stagePadding:30,margin:0,dots:!1,responsive:{0:{items:1},481:{items:2}}}),this.built=!0;},_destroySlider:function(){this.c.data("owlCarousel").destroy(),this.built=!1;},binds:function(){"matchMedia" in globalThis&&(globalThis.matchMedia("(min-width:"+n.breakpoints.sm+")").matches||this._buildSlider());}},n.desktopNavCDPQ={dom:function(){this.body=jQuery("body:not(.cdpqinfra)"),this.component=jQuery("body:not(.cdpqinfra) .main-header"),this.nav=this.component.find(".header-primarynav"),this.mainmenu=this.nav.find(".main--menu > .menu--parent"),this.submenu=this.nav.find(".main--menu > .menu--parent > .submenu"),this.buttons=this.nav.find(".submenu > ul > .menu--parent");},init:function(){this.dom(),this.binds();},binds:function(){this.mainmenu.on("click",function(t){e(this).hasClass(n.CommonClasses.open)?(e(this).parent().find("."+n.CommonClasses.open).removeClass(n.CommonClasses.open).closest(".submenu").removeAttr("style"),e(this).parent().find(".menu-item-toggle").attr({tabindex:"-1","aria-expanded":"false"}),e(".main-header").removeClass(n.CommonClasses.whiteBackground),e(this).parent().find("."+n.CommonClasses.open).removeClass(n.CommonClasses.open).closest(".submenu").removeAttr("style"),e(this).parent().find(".menu-item-toggle").attr({tabindex:"-1","aria-expanded":"false"})):(e(this).parent().find("."+n.CommonClasses.open).removeClass(n.CommonClasses.open).closest(".submenu").removeAttr("style"),e(this).parent().find(".menu-item-toggle").attr({tabindex:"-1","aria-expanded":"false"}),e(".main-header").addClass(n.CommonClasses.whiteBackground),e(this).addClass(n.CommonClasse
5s.open).children(".menu-item-toggle").addClass(n.CommonClasses.open).attr({tabindex:0,"aria-expanded":"true"}));}),this.submenu.on("click",function(e){e.stopPropagation();}),this.body.on("click focusin",function(t){e(t.target).closest(".main--menu").length||(e(".main-header").removeClass(n.CommonClasses.whiteBackground),e(this).find(".main--menu ."+n.CommonClasses.open).removeClass(n.CommonClasses.open),e(this).find(".menu-item-toggle").attr({tabindex:-1,"aria-expanded":"false"}),e(this).find(".submenu").removeAttr("style"));});}},n.mobileNavCDPQ={active:!1,dom:function(){this.panel=jQuery("body:not(.cdpqinfra) #mobile-navigation"),this.submenus=this.panel.find(".main--menu").find("> .menu--parent > *:first-child"),this.submenuPanel=this.panel.find(".submenu"),this.backbtns=jQuery("body:not(.cdpqinfra) .mobile-primarynav--backbtn"),this.hamburgerbtn=jQuery("body:not(.cdpqinfra) #mobilenav-hamburger"),this.menuItemToggle=jQuery("body:not(.cdpqinfra) #mobile-navigation .menu-item-toggle");},init:function(){this.dom(),this.binds();},_hamburger:function(e){e.preventDefault(),this.panel.toggleClass(n.CommonClasses.active),this.hamburgerbtn.toggleClass(n.CommonClasses.active),setTimeout(function(){this.submenuPanel.removeClass(n.CommonClasses.active).find("a").attr("tabindex","-1");}.bind(this),500),jQuery(this).hasClass(n.CommonClasses.active)||jQuery("#mobile-navigation div:first-child").removeClass(n.CommonClasses.open);const t=jQuery("body");t.hasClass("hamburger-opened")?setTimeout(function(){t.removeClass("hamburger-opened");},400):t.addClass("hamburger-opened"),this.panel.hasClass(n.CommonClasses.active)&&this.panel.scrollTop(0);},_openMenus:function(e){let t=jQuery(e.target);e.preventDefault(),t.parent().children("div").addClass(n.CommonClasses.active).find(">a,>ul>li>a").attr("tabindex",""),t.parent().hasClass("menu--parent")&&(t.closest(".submenu").animate({scrollTop:"0"}),t.closest(".submenu").addClass(n.CommonClasses.open)),this.panel.animate({scrollTop:"0"});},_closeMenus:function(e){let t=jQuery(e.target);e.preventDefault(),t.parent().removeClass(n.CommonClasses.active).find("a").attr("tabindex","-1"),t.parent().find("button").removeClass(n.CommonClasses.open),t.closest("."+n.CommonClasses.open).length>0&&t.closest("."+n.CommonClasses.open).find("button."+n.CommonClasses.open).removeClass(n.CommonClasses.open);},binds:function(){this.submenus.on("click",this._openMenus.bind(this)),this.backbtns.on("click",this._closeMenus.bind(this)),this.hamburgerbtn.on("click",this._hamburger.bind(this)),this.panel.on("click",function(){let e=jQuery("#mobile-navigation div:first-child");e.find("."+n.CommonClasses.active).length>0?e.addClass(n.CommonClasses.open):e.removeClass(n.CommonClasses.open);}),this.menuItemToggle.on("click",function(){jQuery(this).prev().trigger("click");});}},n.desktopNavInfra={dom:function(){this.body=jQuery("body.cdpqinfra"),this.component=jQuery("body.cdpqinfra .main-header"),this.nav=this.component.find(".header-primarynav"),this.mainmenu=this.nav.find(".main--menu > .menu--parent"),this.buttons=this.nav.find(".submenu > ul > .menu--parent");},init:function(){this.dom(),this.binds();},binds:function(){this.mainmenu.on("click",function(t){e(this).hasClass(n.CommonClasses.open)||(jQuery(".main-header").addClass(n.CommonClasses.whiteBackground),t.stopPropagation(),t.preventDefault(),e(this).parent().find("."+n.CommonClasses.open).removeClass(n.CommonClasses.open).closest(".submenu").removeAttr("style"),e(this).parent().find(".menu-item-toggle").attr({tabindex:"-1","aria-expanded":"false"}),e(this).addClass(n.CommonClasses.open).children(".menu-item-toggle").addClass(n.CommonClasses.open).attr({tabindex:0,"aria-expanded":"true"}));}),this.buttons.on("click",function(t){if(!e(this).hasClass(n.CommonClasses.open)){t.stopPropagation(),t.preventDefault();let i,r=e(this).closest(".submenu"),o=r.height(),s=r.offset().top,a=e(this).find(".subsubmenu").height(),l=e(this).find(".subsubmenu").offset().top-s+a;l>o&&(i=l),e(this).parent().find("."+n.CommonClasses.open).removeClass(n.CommonClasses.open).closest(".submenu").removeAttr("style"),e(this).parent().find(".menu-item-toggle").attr({tabindex:-1,"aria-expanded":"false"}
5),e(this).addClass(n.CommonClasses.open).children(".menu-item-toggle").addClass(n.CommonClasses.open).attr({tabindex:0,"aria-expanded":"true"}).parents(".submenu").animate({height:i+40});}}),this.body.on("click",".menu-item-toggle",function(){e(this).hasClass(n.CommonClasses.open)?(e(this).parents(".submenu").length||jQuery(".main-header").removeClass(n.CommonClasses.whiteBackground),e(this).removeClass(n.CommonClasses.open).attr({tabindex:-1,"aria-expanded":"false"}).closest(".menu--parent").removeClass(n.CommonClasses.open),e(this).parents(".submenu").removeAttr("style")):e(this).addClass(n.CommonClasses.open).attr({tabindex:0,"aria-expanded":"true"}).closest(".menu--parent").addClass(n.CommonClasses.open);}),this.body.on("click focusin",function(t){e(t.target).closest(".main--menu").length||(jQuery(".main-header").removeClass(n.CommonClasses.whiteBackground),e(this).find(".main--menu ."+n.CommonClasses.open).removeClass(n.CommonClasses.open),e(this).find(".menu-item-toggle").attr({tabindex:-1,"aria-expanded":"false"}),e(this).find(".submenu").removeAttr("style"));});}},n.mobileNavInfra={active:!1,dom:function(){this.panel=jQuery("body.cdpqinfra #mobile-navigation"),this.submenus=this.panel.find(".main--menu").find("> .menu--parent > a"),this.subsubmenus=this.panel.find(".submenu ul").find("> .menu--parent > a"),this.submenuPanel=this.panel.find(".submenu"),this.subsubmenuPanel=this.panel.find(".subsubmenu"),this.backbtns=jQuery("body.cdpqinfra .mobile-primarynav--backbtn"),this.hamburgerbtn=jQuery("body.cdpqinfra #mobilenav-hamburger"),this.menuItemToggle=jQuery("body.cdpqinfra #mobile-navigation .menu-item-toggle");},init:function(){this.dom(),this.binds();},_hamburger:function(e){e.preventDefault(),this.panel.toggleClass(n.CommonClasses.active),this.hamburgerbtn.toggleClass(n.CommonClasses.active),this.submenuPanel.delay(500).removeClass(n.CommonClasses.active).find("a").attr("tabindex","-1"),this.subsubmenuPanel.delay(500).removeClass(n.CommonClasses.active).find("a").attr("tabindex","-1"),jQuery(this).hasClass(n.CommonClasses.active)||jQuery("#mobile-navigation div:first-child").removeClass(n.CommonClasses.open),jQuery("body").toggleClass("hamburger-opened"),this.panel.hasClass(n.CommonClasses.active)&&this.panel.scrollTop(0);},_openMenus:function(e){let t=jQuery(e.target);e.preventDefault(),t.parent().children("div").addClass(n.CommonClasses.active).find(">a,>ul>li>a").attr("tabindex",""),t.parent().hasClass("menu--parent")&&(t.closest(".submenu").animate({scrollTop:"0"}),t.closest(".submenu").addClass(n.CommonClasses.open)),this.panel.animate({scrollTop:"0"});},_closeMenus:function(e){let t=jQuery(e.target);e.preventDefault(),t.parent().removeClass(n.CommonClasses.active).find("a").attr("tabindex","-1"),t.parent().find("button").removeClass(n.CommonClasses.open),t.closest(".subsubmenu").length>0&&t.closest("."+n.CommonClasses.open).removeClass(n.CommonClasses.open),t.closest("."+n.CommonClasses.open).length>0&&t.closest("."+n.CommonClasses.open).find("button."+n.CommonClasses.open).removeClass(n.CommonClasses.open);},binds:function(){this.submenus.on("click",this._openMenus.bind(this)),this.subsubmenus.on("click",this._openMenus.bind(this)),this.backbtns.on("click",this._closeMenus.bind(this)),this.hamburgerbtn.on("click",this._hamburger.bind(this)),this.panel.on("click",function(){let e=jQuery("#mobile-navigation div:first-child");e.find("."+n.CommonClasses.active).length>0?e.addClass(n.CommonClasses.open):e.removeClass(n.CommonClasses.open);}),this.menuItemToggle.on("click",function(){jQuery(this).prev().trigger("click");});}},n.mobileHeaderScroll={dom:function(){this.header=e(".main-header"),this.headerScrollClass="scrolled",this.toolbarAdministration=e("div#toolbar-administration"),this.mobileNavigation=e("div.mobile-navigation"),this.headerScrollClassAdmin="scrolled-admin",this.lastScrollTop=0;},init:function(){this.dom(),this.binds();},binds:function(){0===e(globalThis).scrollTop()&&this.toolbarAdministration.is(":visible")&&(this.header.addClass(this.headerScrollClassAdmin),this.mobileNavigation.css("margin-top","40px")),e(globalThis).scroll(function(){let t=e(globalThis).scrollTop();t<=0||t<this.lastScrollTop?(this.header.hasClass(this.headerScrollClass)&&this.header.removeClass(this.headerScrollClass),0===t&&this.toolbarAdministration.is(":visible")&&(this.header.addClass(this.headerScrollClassAdmin),this.mobileNavigation.css("margin-top","40px"))):(this.header.hasClass(this.headerScrollClass)||(this.header.addClass(this.headerScrollClass),this.mobileNavigation.css("margin-top","0")),this.toolbarAdministration.is(":visible")&&this.header.removeClass(this.headerScrollClassAdmin)),this.lastScrollTop=t;}.bind(this));}},n.cardsLink={dom:function(){this.cards=jQuery(".js-cards-link, .classic-cards-link");},init:function(){this.dom(),this.binds();},binds:function(){this.cards.find("img").length>0?this.cards.find("img").on("click",this.fakeClick.bind(this)):this.cards.on("click",this.fakeClick.bind(this)),this.cards.find(".link--read-more").length>0&&this.cards.find(".link--read-more").on("click",this.fakeClick.bind(this));},fakeClick:function(e){let t=jQuery(e.currentTarget);
5(t.is("img")||t.hasClass("link--read-more"))&&(t=t.closest(".js-cards-link, .classic-cards-link"));let n=t.find(".js-link a"),i=n.attr("href"),r=n.attr("target")||"_self";if(i.indexOf("youtube")>0)return jQuery.fancybox.open({src:i,width:1280,height:720}),!1;"A"!==e.target.nodeName&&globalThis.open(i,r);}},n.toggleEmbed={dom:function(){this.embedImage=jQuery(".toggle-embed");},init:function(){this.dom(),this.bind();},bind:function(){this.embedImage.on("click",this.fakeClick.bind(this));},fakeClick:function(e){e.preventDefault();let t=jQuery(e.currentTarget),n=t.find("figcaption.legend").text(),i=function(e){try{const t=new URL(e);if(t.searchParams.has("v"))return t.searchParams.get("v");const n=t.pathname.split("/").filter(Boolean);if(["embed","v","shorts","e"].includes(n[0]))return n[1]||"";if("youtu.be"===t.hostname)return n[0]||"";}catch(e){console.error(e);}return "";}(jQuery(t.parent(".yt-container").children(".yt-src")[0]).attr("value")),r="https://www.youtube.com/embed/"+i+"?autoplay=1";t.parent(".yt-container").append('<iframe class="yt-player" type="text/html" src="'+r+'" frameborder="0" allow="autoplay"></iframe>').append('<div class="legend-video">'+n+"</div>"),t.fadeOut();}},n.backToTop={dom:function(){this.cta=jQuery("#back-to-top"),this.w=jQuery(globalThis),this.d=jQuery(document),this.footer=jQuery(".footer-wrapper .footer-secondary-links"),this.footnote=jQuery(".footer-wrapper .copyright-footnote"),this.footerCities=jQuery(".menu--pied-de-page---villes");},init:function(){this.dom(),this.bind();},bind:function(){this.cta.on("click",this._click.bind(this)),this.w.on("scroll",this._show.bind(this));},_show:function(){let e;this.w.scrollTop()>=600?this.cta.addClass("active"):this.cta.removeClass("active"),e=this.d.width()>=516?this.footnote.outerHeight()+this.footer.outerHeight()+this.footerCities.outerHeight()+20:this.footnote.outerHeight()+this.footer.outerHeight()+20;const t=this.d.height()-e,n=this.d.scrollTop()+this.w.height();t-n<=-50?this.cta.css({bottom:-1*(t-n)+"px"}):t-n>0&&this.cta.css({bottom:""});},_click:function(e){e.preventDefault(),jQuery("html, body").animate({scrollTop:0},500,"swing");}},n.headerSearch={open:!1,dom:function(){this.searchInput=jQuery("#edit-search"),this.searchContainer=jQuery(".component-searchheader"),this.searchBtn=jQuery(".main-header .main--menu > li:last-child > a");},init:function(){this.dom(),this.binds();},binds:function(){this.searchBtn.on("click",this.toggleSearch.bind(this));},toggleSearch:function(e){e.preventDefault(),this.searchContainer.slideToggle(),this.searchBtn.toggleClass("is-active-search"),this.open?this.open=!1:(this.searchInput.focus(),this.open=!0);}}
5,n.randomizeBackgroundImages={dom:function(){this.module=jQuery("[data-random-bg]");},init:function(){this.dom(),this.binds();},binds:function(){this.module.each(function(){let e=jQuery(this).find(".pc__item__link"),t=Math.floor(Math.random()*e.length),n=jQuery(this).data("delay"),i=this.image;e.length>=t+1&&(jQuery(e[t]).parent().addClass("active"),i=jQuery(globalThis).width()<768?jQuery(e[t]).next().data("imgmobile"):jQuery(e[t]).next().data("img"),jQuery(e[t]).next().css("background-image","url("+i+")")),n>=1&&setInterval(function(){t+=1,t>=e.length&&(t=0),jQuery(e).parent().removeClass("active"),jQuery(e[t]).parent().addClass("active"),i=jQuery(globalThis).width()<768?jQuery(e[t]).next().data("imgmobile"):jQuery(e[t]).next().data("img"),jQuery(e[t]).next().css("background-image","url("+i+")");},1e3*n);});}},n.officeMap={dom:function(){this.mapOffices=e("#map .office-link"),this.inner=e("#map"),this.mapSvg=e("#map > svg");},init:function(){this.dom(),this.bind();},bind:function(){this.mapOffices.on("click keydown",(e)=>{"click"!==e.type&&"Enter"!==e.key||this.fakeClick(e);}),this.scrollMap();},fakeClick:function(t){const n=globalThis.open(e(t.currentTarget).data("src"),"_self");n&&n.focus();},scrollMap:function(){globalThis.innerHeight<globalThis.innerWidth&&e(globalThis).width()>=768&&e(globalThis).width()<=1180?(e(this.inner).scrollLeft(350),e(this.inner).scrollTop(270)):globalThis.innerHeight>globalThis.innerWidth&&e(globalThis).width()>=768&&e(globalThis).width()<=1180?(e(this.inner).scrollLeft(160),e(this.inner).scrollTop(166)):e(globalThis).width()>375&&e(globalThis).width()<768?(e(this.inner).scrollLeft(380),e(this.inner).scrollTop(200)):e(globalThis).width()<=375&&(e(this.inner).scrollLeft(400),e(this.inner).scrollTop(240));}},n.popupNotTranslatable={dom:function(){this.p=jQuery("#popup-not-translatable"),this.l=jQuery(".language-link"),this.w=jQuery(globalThis),this.d=jQuery(document),this.b=jQuery("body");},init:function(){this.dom(),this.generate();},generate:function(){this.p.length>0?this.b.on("click","#popup-not-translatable .close-fancybox",function(){jQuery("#popup-not-translatable .carousel__button").trigger("click");}):(this.l.removeAttr("data-src"),this.l.removeAttr("data-fancybox"));}},n.init=function(){n.cardsSlider.init(),n.tilesSlider.init(),n.articlesSlider.init(),n.mobileHeaderScroll.init(),n.cardsLink.init(),n.toggleEmbed.init(),n.headerSearch.init(),n.randomizeBackgroun
5dImages.init(),n.officeMap.init(),n.backToTop.init(),n.popupNotTranslatable.init(),n.desktopNavCDPQ.init(),n.mobileNavCDPQ.init(),n.desktopNavInfra.init(),n.mobileNavInfra.init();},t.behaviors.cdpqMainBehavior={attach:function(){globalThis.onload=function(){n.init();},e(document).ajaxComplete(function(){n.cardsSlider.init(),n.tilesSlider.init(),n.articlesSlider.init();});}};}(jQuery,Drupal),function(e,t){t.behaviors.cdpq={attach:function(n){let i=t.t("No results found");e(n).find(".form-select").select2({language:{noResults:function(){return i;}}});}};}(jQuery,Drupal),function(e,t,n){function i(e){let t=0;setTimeout(function(){e.find(".tile").each(function(){const n=e.find(".tile").outerHeight();n>t&&(t=n);}),e.find(".owl-stage").css("height",t+"px");},500);}t.behaviors.owlTilesSlider={attach:function(){e(n("owlTilesSlider",".js-tiles-slider")).each(function(){const t=e(this);if(!e.isEmptyObject(t.data("slider-options"))){const e=t.data("slider-options");e.dots||(e.dots=!1),e.desktop?t.addClass("slider-desktop"):e.desktop=!1,"cursor"==e.type&&t.addClass("js-tiles-slider--cursor"),!e.desktop&&globalThis.matchMedia("(min-width:768px)").matches||t.owlCarousel({stagePadding:30,margin:0,dots:e.dots,dotsEach:1,nav:!1,responsive:{0:{items:1},481:{items:2},1024:{items:3},1200:{items:4},1900:{items:5}},onInitialized:i(t),onResized:i(t)});}});}};}(jQuery,Drupal,once),document.addEventListener("DOMContentLoaded",function(){const e=document.querySelectorAll(".carriere-banner ");if(e)(()=>{e.forEach((e)=>{e.classList.add("anim");});})();}),jQuery(globalThis).ready(function(){jQuery("#actifs-carousel").owlCarousel({nav:!0,navText:["<img class='move-left' src='/themes/custom/cdpq/dist/img/special_project/annual_repport_2016/arrow-left.svg' alt='Précédent'>","<img class='move-right' src='/themes/custom/cdpq/dist/img/special_project/annual_repport_2016/arrow-right.svg' alt='Suivant'>"],items:1,loop:!1,center:!0,margin:10,URLhashListener:!0,startPosition:"URLHash"}),jQuery("a[target='_blank']").each(function(){jQuery(this).attr("rel","noopener noreferrer");}),jQuery(".url-link").on("click",function(){$(".url-link").removeClass("current-link"),$(this).addClass("current-link");}),jQuery(globalThis).on("hashchange",function(){let e=location.hash;e=e.replace("#",""),jQuery(".url-link").removeClass("current-link"),jQuery("."+e).addClass("current-link");}),jQuery("#real-carousel, #neweco-carousel").owlCarousel({nav:!0,navText:["<img alt='' src='/themes/custom/cdpq/dist/img/special_project/annual_repport_2016/arrow-left.svg'>","<img alt='' src='/themes/custom/cdpq/dist/img/special_project/annual_repport_2016/arrow-right.svg'>"],center:!0,loop:!0,items:4,autoWidth:!0,responsiveClass:!0,responsive:{0:{items:1,nav:!0}}}),globalThis.scrollY>5&&jQuery(".main-header").addClass("bg-white-mobile"),jQuery(globalThis).scroll(function(){jQuery(globalThis).scrollTop()>=5?jQuery(".main-header").addClass("bg-white-mobile"):jQuery(".main-header").removeClass("bg-white-mobile");});});let i={init:function(){this.browser=this.searchString(this.dataBrowser)||"Other",this.version=this.searchVersion(navigator.userAgent)||"Unknown";},searchString:function(e){for(let t of e){let e=t.string;if(this.versionSearchString=t.subString,e.includes(t.subString))return t.identity;}},searchVersion:function(e){let t=e.indexOf(this.versionSearchString);if(-1===t)return;let n=e.indexOf("rv:");return "Trident"===this.versionSearchString&&-1!==n?Number.parseFloat(e.substring(n+3)):Number.parseFloat(e.substring(t+this.versionSearchString.length+1));},dataBrowser:[{string:navigator.userAgent,subString:"Edge",identity:"edge"},{string:navigator.userAgent,subString:"MSIE",identity:"explorer"},{string:navigator.userAgent,subString:"Trident",identity:"explorer"},{string:navigator.userAgent,subString:"Firefox",identity:"firefox"},{string:navigator.userAgent,subString:"Opera",identity:"opera"},{string:navigator.userAgent,subString:"OPR",identity:"opera"},{string:navigator.userAgent,subString:"Chrome",identity:"chrome"},{string:navigator.userAgent,subString:"Safari",identity:"safari"}]};i.init(),jQuery("body").addClass(i.browser),"explorer"!==i.browser&&"edge"!==i.browser||jQuery(".component-block-mosaic--block__bgimg").each(function(){let e=jQuery(this),t=e.find("img").prop("src");t&&e.prepend('<div class="alternate" style="background-image:url('+t+')"></div>').addClass("compat-object-fit");}),jQuery(document).ready(function(){jQuery("a[target='_blank']").each(function(){jQuery(this).attr("rel","noopener noreferrer");});}),jQuery(globalThis).bind("pageshow",function(e){e.originalEvent.persisted&&document.activeElement.blur();}),jQuery(document).ready(function(){jQuery("body").on("click",".paragraph__onglets .po__buttons .po__cta",function(e){jQuery(this).hasClass("collapsed")||jQuery(this).parents(".paragraph__onglets").hasClass("paragraph__onglets--mode-menu")||e.stopPropagation();});}),jQuery(document).ready(function(){jQuery("body").on("click",".paragraph__tuiles-rotatives .tuile-rotative",function(){jQuery(this).toggleClass("flipped");});}),function(e,t){t.behaviors.appelDoffre={attach:function(t){const n=e(".view-id-infra_appel_doffre.view-display-id-block_1");0==n.find(".appel-container").length&&(n.addClass("no-offer"),n.find(".view-empty .vao__no-offer").removeClass("d-none")),n.hasClass("no-offer")||0==n.find(".appel-container").length&&n.find(".view-empty .vao__no-result").removeClass("d-none");}};}(jQuery,Drupal),document.addEventListener("DOMContentLoaded",function(){const e=document.querySelectorAll(".countup");e.length>0&&e.forEach((e)=>{const n=document.documentElement.lang,i="en"===n?"":".",r=e.textContent.replaceAll(",",i),o=Math.floor(.8*Number.parseFloat(r));let s=0;r.includes(".")&&(s=r.split(".")[1].length);new t(e,Number.parseFloat(r),{enableScrollSpy:!0,startVal:o<10?0:o,decimal
5:"fr"===n?",":".",decimalPlaces:s,separator:"fr"===n?" ":",",scrollSpyOnce:!0});});document.querySelectorAll(".link-with-delay").forEach(function(e){e.addEventListener("click",function(e){e.preventDefault();let t=this.getAttribute("href");setTimeout(function(){globalThis.location.href=t;},300);});});}),document.querySelectorAll('a[href^="http"]').forEach(function(e){let t=e.getAttribute("href"),n=globalThis.location.hostname;t.includes(n)&&e.setAttribute("target","_blank");}),function(e){const t=e("div.btn.btn-large-cta");t.is(":visible")&&t.on("click",function(){let t=e(this);globalThis.open(t.attr("data-href"),t.attr("data-target"));}),e(".se-links-container").find(".se-link a").each(function(){e(this).on("click",function(e){e.preventDefault(),globalThis.open(this.href,"popup","width=630,height=500");});});}(jQuery);n(160),n(686),n(90);var r=n(435),o=n.n(r);const s="transitionend";function a(e){return null==e?`${e}`:{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase();}function l(e){let t=!1;return o()(this).one(u.TRANSITION_END,()=>{t=!0;}),setTimeout(()=>{t||u.triggerTransitionEnd(this);},e),this;}const u={TRANSITION_END:"bsTransitionEnd",getUID(e){do e+=~~(1e6*Math.random());while(document.getElementById(e));return e;},getSelectorFromElement(e){let t=e.getAttribute("data-target");if(!t||"#"===t){const n=e.getAttribute("href");t=n&&"#"!==n?n.trim():"";}try{return document.querySelector(t)?t:null;}catch(e){return null;}},getTransitionDurationFromElement(e){if(!e)return 0;let t=o()(e).css("transition-duration"),n=o()(e).css("transition-delay");const i=parseFloat(t),r=parseFloat(n);return i||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0;},reflow:(e)=>e.offsetHeight,triggerTransitionEnd(e){o()(e).trigger(s);},supportsTransitionEnd:()=>Boolean(s),isElement:(e)=>(e[0]||e).nodeType,typeCheckConfig(e,t,n){for(const i in n)if(Object.prototype.hasOwnProperty.call(n,i)){const r=n[i],o=t[i],s=o&&u.isElement(o)?"element":a(o);if(!new RegExp(r).test(s))throw new Error(`${e.toUpperCase()}: Option "${i}" provided type "${s}" but expected type "${r}".`);}},findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null;}return e instanceof ShadowRoot?e:e.parentNode?u.findShadowRoot(e.parentNode):null;},jQueryDetection(){if(void 0===o())throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");const e=o().fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0");}};u.jQueryDetection(),o().fn.emulateTransitionEnd=l,o().event.special[u.TRANSITION_END]={bindType:s,delegateType:s,handle(e){if(o()(e.target).is(this))return e.handleObj.handler.apply(this,arguments);}};const c=u,d="collapse",p="bs.collapse",h=`.${p}`,f=o().fn[d],m={toggle:!0,parent:""},g={toggle:"boolean",parent:"(string|element)"},v=`show${h}`,y=`shown${h}`,b=`hide${h}`,x=`hidden${h}`,C=`click${h}.data-api`,w="show",T="collapse",k="collapsing",j="collapsed",S="width",_='[data-toggle="collapse"]';class E{constructor(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll(`[data-toggle="collapse"][href="#${e.id}"],[data-toggle="collapse"][data-target="#${e.id}"]`));const n=[].slice.call(document.querySelectorAll(_));for(let t=0,i=n.length;t<i;t++){const i=n[t],r=c.getSelectorFromElement(i),o=[].slice.call(document.querySelectorAll(r)).filter((t)=>t===e);null!==r&&o.length>0&&(this._selector=r,this._triggerArray.push(i));}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle();}static get VERSION(){return "4.6.0";}static get Default(){return m;}toggle(){o()(this._element).hasClass(w)?this.hide():this.show();}show(){if(this._isTransitioning||o()(this._element).hasClass(w))return;let e,t;if(this._parent&&(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((e)=>
5"string"==typeof this._config.parent?e.getAttribute("data-parent")===this._config.parent:e.classList.contains(T)),0===e.length&&(e=null)),e&&(t=o()(e).not(this._selector).data(p),t&&t._isTransitioning))return;const n=o().Event(v);if(o()(this._element).trigger(n),n.isDefaultPrevented())return;e&&(E._jQueryInterface.call(o()(e).not(this._selector),"hide"),t||o()(e).data(p,null));const i=this._getDimension();o()(this._element).removeClass(T).addClass(k),this._element.style[i]=0,this._triggerArray.length&&o()(this._triggerArray).removeClass(j).attr("aria-expanded",!0),this.setTransitioning(!0);const r=`scroll${i[0].toUpperCase()+i.slice(1)}`,s=c.getTransitionDurationFromElement(this._element);o()(this._element).one(c.TRANSITION_END,()=>{o()(this._element).removeClass(k).addClass(`${T} ${w}`),this._element.style[i]="",this.setTransitioning(!1),o()(this._element).trigger(y);}).emulateTransitionEnd(s),this._element.style[i]=`${this._element[r]}px`;}hide(){if(this._isTransitioning||!o()(this._element).hasClass(w))return;const e=o().Event(b);if(o()(this._element).trigger(e),e.isDefaultPrevented())return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,c.reflow(this._element),o()(this._element).addClass(k).removeClass(`${T} ${w}`);const n=this._triggerArray.length;if(n>0){for(let e=0;e<n;e++){const t=this._triggerArray[e],n=c.getSelectorFromElement(t);if(null!==n)o()([].slice.call(document.querySelectorAll(n))).hasClass(w)||o()(t).addClass(j).attr("aria-expanded",!1);}}this.setTransitioning(!0);this._element.style[t]="";const i=c.getTransitionDurationFromElement(this._element);o()(this._element).one(c.TRANSITION_END,()=>{this.setTransitioning(!1),o()(this._element).removeClass(k).addClass(T).trigger(x);}).emulateTransitionEnd(i);}setTransitioning(e){this._isTransitioning=e;}dispose(){o().removeData(this._element,p),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null;}_getConfig(e){return (e={...m,...e}).toggle=Boolean(e.toggle),c.typeCheckConfig(d,e,g),e;}_getDimension(){return o()(this._element).hasClass(S)?S:"height";}_getParent(){let e;c.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);const t=`[data-toggle="collapse"][data-parent="${this._config.parent}"]`,n=[].slice.call(e.querySelectorAll(t));return o()(n).each((e,t)=>{this._addAriaAndCollapsedClass(E._getTargetFromElement(t),[t]);}),e;}_addAriaAndCollapsedClass(e,t){const n=o()(e).hasClass(w);t.length&&o()(t).toggleClass(j,!n).attr("aria-expanded",n);}static _getTargetFromElement(e){const t=c.getSelectorFromElement(e);return t?document.querySelector(t):null;}static _jQueryInterface(e){return this.each(function(){const t=o()(this);let n=t.data(p);const i={...m,...t.data(),..."object"==typeof e&&e?e:{}};if(!n&&i.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(i.toggle=!1),n||(n=new E(this,i),t.data(p,n)),"string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]();}});}}o()(document).on(C,_,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();const t=o()(this),n=c.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(n));o()(i).each(function(){const e=o()(this),n=e.data(p)?"toggle":t.data();E._jQueryInterface.call(e,n);});}),o().fn[d]=E._jQueryInterface,o().fn[d].Constructor=E,o().fn[d].noConflict=()=>(o().fn[d]=f,E._jQueryInterface);n(900),n(177),n(64),n(729);})();})();;
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.