"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery('#') is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass(boolean) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!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,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css("'+e+'", value)')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.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,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});
jQuery(document).ready(function(i){i(".elementor-image-carousel").each(function(){var e=i(this).find("a").attr("href");if(null!=e&&0<=e.indexOf(",")){linkImages=e.split(",");for(var t,n=0;n<=linkImages.length;n++)null!=linkImages[n]&&(t=linkImages[n].trim(),i(this).find(".swiper-slide").eq(n).find("a").attr("href",t))}})});var pafePJS=function(e,t){var n=document.querySelector(e+" > .particles-js-canvas-el"),u=(this.pafePJS={canvas:{el:n,w:n.offsetWidth,h:n.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#2a802b"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}},this.pafePJS);t&&Object.deepExtend(u,t),u.tmp.obj={size_value:u.particles.size.value,size_anim_speed:u.particles.size.anim.speed,move_speed:u.particles.move.speed,line_linked_distance:u.particles.line_linked.distance,line_linked_width:u.particles.line_linked.width,mode_grab_distance:u.interactivity.modes.grab.distance,mode_bubble_distance:u.interactivity.modes.bubble.distance,mode_bubble_size:u.interactivity.modes.bubble.size,mode_repulse_distance:u.interactivity.modes.repulse.distance},u.fn.retinaInit=function(){u.retina_detect&&1<window.devicePixelRatio?(u.canvas.pxratio=window.devicePixelRatio,u.tmp.retina=!0):(u.canvas.pxratio=1,u.tmp.retina=!1),u.canvas.w=u.canvas.el.offsetWidth*u.canvas.pxratio,u.canvas.h=u.canvas.el.offsetHeight*u.canvas.pxratio,u.particles.size.value=u.tmp.obj.size_value*u.canvas.pxratio,u.particles.size.anim.speed=u.tmp.obj.size_anim_speed*u.canvas.pxratio,u.particles.move.speed=u.tmp.obj.move_speed*u.canvas.pxratio,u.particles.line_linked.distance=u.tmp.obj.line_linked_distance*u.canvas.pxratio,u.interactivity.modes.grab.distance=u.tmp.obj.mode_grab_distance*u.canvas.pxratio,u.interactivity.modes.bubble.distance=u.tmp.obj.mode_bubble_distance*u.canvas.pxratio,u.particles.line_linked.width=u.tmp.obj.line_linked_width*u.canvas.pxratio,u.interactivity.modes.bubble.size=u.tmp.obj.mode_bubble_size*u.canvas.pxratio,u.interactivity.modes.repulse.distance=u.tmp.obj.mode_repulse_distance*u.canvas.pxratio},u.fn.canvasInit=function(){u.canvas.ctx=u.canvas.el.getContext("2d")},u.fn.canvasSize=function(){u.canvas.el.width=u.canvas.w,u.canvas.el.height=u.canvas.h,u&&u.interactivity.events.resize&&window.addEventListener("resize",function(){u.canvas.w=u.canvas.el.offsetWidth,u.canvas.h=u.canvas.el.offsetHeight,u.tmp.retina&&(u.canvas.w*=u.canvas.pxratio,u.canvas.h*=u.canvas.pxratio),u.canvas.el.width=u.canvas.w,u.canvas.el.height=u.canvas.h,u.particles.move.enable||(u.fn.particlesEmpty(),u.fn.particlesCreate(),u.fn.particlesDraw(),u.fn.vendors.densityAutoParticles()),u.fn.vendors.densityAutoParticles()})},u.fn.canvasPaint=function(){u.canvas.ctx.fillRect(0,0,u.canvas.w,u.canvas.h)},u.fn.canvasClear=function(){u.canvas.ctx.clearRect(0,0,u.canvas.w,u.canvas.h)},u.fn.particle=function(e,t,n){this.radius=(u.particles.size.random?Math.random():1)*u.particles.size.value,u.particles.size.anim.enable&&(this.size_status=!1,this.vs=u.particles.size.anim.speed/100,u.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=n?n.x:Math.random()*u.canvas.w,this.y=n?n.y:Math.random()*u.canvas.h,this.x>u.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>u.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),u.particles.move.bounce&&u.fn.vendors.checkOverlap(this,n),this.color={},"object"==typeof e.value?e.value instanceof Array?(n=e.value[Math.floor(Math.random()*u.particles.color.value.length)],this.color.rgb=hexToRgb(n)):(null!=e.value.r&&null!=e.value.g&&null!=e.value.b&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),null!=e.value.h&&null!=e.value.s&&null!=e.value.l&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l})):"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=hexToRgb(this.color.value)),this.opacity=(u.particles.opacity.random?Math.random():1)*u.particles.opacity.value,u.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=u.particles.opacity.anim.speed/100,u.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var i={};switch(u.particles.move.direction){case"top":i={x:0,y:-1};break;case"top-right":i={x:.5,y:-.5};break;case"right":i={x:1,y:-0};break;case"bottom-right":i={x:.5,y:.5};break;case"bottom":i={x:0,y:1};break;case"bottom-left":i={x:-.5,y:1};break;case"left":i={x:-1,y:0};break;case"top-left":i={x:-.5,y:-.5};break;default:i={x:0,y:0}}u.particles.move.straight?(this.vx=i.x,this.vy=i.y,u.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=i.x+Math.random()-.5,this.vy=i.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;n=u.particles.shape.type;"object"==typeof n?n instanceof Array&&(e=n[Math.floor(Math.random()*n.length)],this.shape=e):this.shape=n,"image"==this.shape&&(e=u.particles.shape,this.img={src:e.image.src,ratio:e.image.width/e.image.height},this.img.ratio||(this.img.ratio=1),"svg"==u.tmp.img_type&&null!=u.tmp.source_svg&&(u.fn.vendors.createSvgImg(this),u.tmp.pushing&&(this.img.loaded=!1)))},u.fn.particle.prototype.draw=function(){var e,t,n,i=this;switch(e=null!=i.radius_bubble?i.radius_bubble:i.radius,t=null!=i.opacity_bubble?i.opacity_bubble:i.opacity,t=i.color.rgb?"rgba("+i.color.rgb.r+","+i.color.rgb.g+","+i.color.rgb.b+","+t+")":"hsla("+i.color.hsl.h+","+i.color.hsl.s+"%,"+i.color.hsl.l+"%,"+t+")",u.canvas.ctx.fillStyle=t,u.canvas.ctx.beginPath(),i.shape){case"circle":u.canvas.ctx.arc(i.x,i.y,e,0,2*Math.PI,!1);break;case"edge":u.canvas.ctx.rect(i.x-e,i.y-e,2*e,2*e);break;case"triangle":u.fn.vendors.drawShape(u.canvas.ctx,i.x-e,i.y+e/1.66,2*e,3,2);break;case"polygon":u.fn.vendors.drawShape(u.canvas.ctx,i.x-e/(u.particles.shape.polygon.nb_sides/3.5),i.y-e/.76,2.66*e/(u.particles.shape.polygon.nb_sides/3),u.particles.shape.polygon.nb_sides,1);break;case"star":u.fn.vendors.drawShape(u.canvas.ctx,i.x-2*e/(u.particles.shape.polygon.nb_sides/4),i.y-e/1.52,2*e*2.66/(u.particles.shape.polygon.nb_sides/3),u.particles.shape.polygon.nb_sides,2);break;case"image":(n="svg"==u.tmp.img_type?i.img.obj:u.tmp.img_obj)&&u.canvas.ctx.drawImage(n,i.x-e,i.y-e,2*e,2*e/i.img.ratio)}u.canvas.ctx.closePath(),0<u.particles.shape.stroke.width&&(u.canvas.ctx.strokeStyle=u.particles.shape.stroke.color,u.canvas.ctx.lineWidth=u.particles.shape.stroke.width,u.canvas.ctx.stroke()),u.canvas.ctx.fill()},u.fn.particlesCreate=function(){for(var e=0;e<u.particles.number.value;e++)u.particles.array.push(new u.fn.particle(u.particles.color,u.particles.opacity.value))},u.fn.particlesUpdate=function(){for(var e=0;e<u.particles.array.length;e++){var t,n=u.particles.array[e];if(u.particles.move.enable&&(t=u.particles.move.speed/2,n.x+=n.vx*t,n.y+=n.vy*t),u.particles.opacity.anim.enable&&(1==n.opacity_status?(n.opacity>=u.particles.opacity.value&&(n.opacity_status=!1),n.opacity+=n.vo):(n.opacity<=u.particles.opacity.anim.opacity_min&&(n.opacity_status=!0),n.opacity-=n.vo),n.opacity<0&&(n.opacity=0)),u.particles.size.anim.enable&&(1==n.size_status?(n.radius>=u.particles.size.value&&(n.size_status=!1),n.radius+=n.vs):(n.radius<=u.particles.size.anim.size_min&&(n.size_status=!0),n.radius-=n.vs),n.radius<0&&(n.radius=0)),t="bounce"==u.particles.move.out_mode?{x_left:n.radius,x_right:u.canvas.w,y_top:n.radius,y_bottom:u.canvas.h}:{x_left:-n.radius,x_right:u.canvas.w+n.radius,y_top:-n.radius,y_bottom:u.canvas.h+n.radius},n.x-n.radius>u.canvas.w?(n.x=t.x_left,n.y=Math.random()*u.canvas.h):n.x+n.radius<0&&(n.x=t.x_right,n.y=Math.random()*u.canvas.h),n.y-n.radius>u.canvas.h?(n.y=t.y_top,n.x=Math.random()*u.canvas.w):n.y+n.radius<0&&(n.y=t.y_bottom,n.x=Math.random()*u.canvas.w),"bounce"===u.particles.move.out_mode&&((n.x+n.radius>u.canvas.w||n.x-n.radius<0)&&(n.vx=-n.vx),(n.y+n.radius>u.canvas.h||n.y-n.radius<0)&&(n.vy=-n.vy)),isInArray("grab",u.interactivity.events.onhover.mode)&&u.fn.modes.grabParticle(n),(isInArray("bubble",u.interactivity.events.onhover.mode)||isInArray("bubble",u.interactivity.events.onclick.mode))&&u.fn.modes.bubbleParticle(n),(isInArray("repulse",u.interactivity.events.onhover.mode)||isInArray("repulse",u.interactivity.events.onclick.mode))&&u.fn.modes.repulseParticle(n),u.particles.line_linked.enable||u.particles.move.attract.enable)for(var i=e+1;i<u.particles.array.length;i++){var r=u.particles.array[i];u.particles.line_linked.enable&&u.fn.interact.linkParticles(n,r),u.particles.move.attract.enable&&u.fn.interact.attractParticles(n,r),u.particles.move.bounce&&u.fn.interact.bounceParticles(n,r)}}},u.fn.particlesDraw=function(){u.canvas.ctx.clearRect(0,0,u.canvas.w,u.canvas.h),u.fn.particlesUpdate();for(var e=0;e<u.particles.array.length;e++)u.particles.array[e].draw()},u.fn.particlesEmpty=function(){u.particles.array=[]},u.fn.particlesRefresh=function(){cancelRequestAnimFrame(u.fn.checkAnimFrame),cancelRequestAnimFrame(u.fn.drawAnimFrame),u.tmp.source_svg=void 0,u.tmp.img_obj=void 0,u.tmp.count_svg=0,u.fn.particlesEmpty(),u.fn.canvasClear(),u.fn.vendors.start()},u.fn.interact.linkParticles=function(e,t){var n=e.x-t.x,i=e.y-t.y,n=Math.sqrt(n*n+i*i);n<=u.particles.line_linked.distance&&(0<(i=u.particles.line_linked.opacity-n/(1/u.particles.line_linked.opacity)/u.particles.line_linked.distance)&&(n=u.particles.line_linked.color_rgb_line,u.canvas.ctx.strokeStyle="rgba("+n.r+","+n.g+","+n.b+","+i+")",u.canvas.ctx.lineWidth=u.particles.line_linked.width,u.canvas.ctx.beginPath(),u.canvas.ctx.moveTo(e.x,e.y),u.canvas.ctx.lineTo(t.x,t.y),u.canvas.ctx.stroke(),u.canvas.ctx.closePath()))},u.fn.interact.attractParticles=function(e,t){var n=e.x-t.x,i=e.y-t.y;Math.sqrt(n*n+i*i)<=u.particles.line_linked.distance&&(n=n/(1e3*u.particles.move.attract.rotateX),i=i/(1e3*u.particles.move.attract.rotateY),e.vx-=n,e.vy-=i,t.vx+=n,t.vy+=i)},u.fn.interact.bounceParticles=function(e,t){var n=e.x-t.x,i=e.y-t.y;Math.sqrt(n*n+i*i)<=e.radius+t.radius&&(e.vx=-e.vx,e.vy=-e.vy,t.vx=-t.vx,t.vy=-t.vy)},u.fn.modes.pushParticles=function(e,t){u.tmp.pushing=!0;for(var n=0;n<e;n++)u.particles.array.push(new u.fn.particle(u.particles.color,u.particles.opacity.value,{x:t?t.pos_x:Math.random()*u.canvas.w,y:t?t.pos_y:Math.random()*u.canvas.h})),n==e-1&&(u.particles.move.enable||u.fn.particlesDraw(),u.tmp.pushing=!1)},u.fn.modes.removeParticles=function(e){u.particles.array.splice(0,e),u.particles.move.enable||u.fn.particlesDraw()},u.fn.modes.bubbleParticle=function(a){function e(){a.opacity_bubble=a.opacity,a.radius_bubble=a.radius}function t(e,t,n,i,r){var o;e!=t&&(u.tmp.bubble_duration_end?null!=n&&(o=e+(e-(i-l*(i-e)/u.interactivity.modes.bubble.duration)),"size"==r&&(a.radius_bubble=o),"opacity"==r&&(a.opacity_bubble=o)):p<=u.interactivity.modes.bubble.distance?(null!=n?n:i)!=e&&(o=i-l*(i-e)/u.interactivity.modes.bubble.duration,"size"==r&&(a.radius_bubble=o),"opacity"==r&&(a.opacity_bubble=o)):("size"==r&&(a.radius_bubble=void 0),"opacity"==r&&(a.opacity_bubble=void 0)))}var n,i,r,o,s,c,p,l;u.interactivity.events.onhover.enable&&isInArray("bubble",u.interactivity.events.onhover.mode)?(s=a.x-u.interactivity.mouse.pos_x,c=a.y-u.interactivity.mouse.pos_y,n=1-(p=Math.sqrt(s*s+c*c))/u.interactivity.modes.bubble.distance,p<=u.interactivity.modes.bubble.distance?0<=n&&"mousemove"==u.interactivity.status&&(u.interactivity.modes.bubble.size!=u.particles.size.value&&(u.interactivity.modes.bubble.size>u.particles.size.value?0<=(r=a.radius+u.interactivity.modes.bubble.size*n)&&(a.radius_bubble=r):(i=a.radius-u.interactivity.modes.bubble.size,r=a.radius-i*n,a.radius_bubble=0<r?r:0)),u.interactivity.modes.bubble.opacity!=u.particles.opacity.value&&(u.interactivity.modes.bubble.opacity>u.particles.opacity.value?(o=u.interactivity.modes.bubble.opacity*n)>a.opacity&&o<=u.interactivity.modes.bubble.opacity&&(a.opacity_bubble=o):(o=a.opacity-(u.particles.opacity.value-u.interactivity.modes.bubble.opacity)*n)<a.opacity&&o>=u.interactivity.modes.bubble.opacity&&(a.opacity_bubble=o))):e(),"mouseleave"==u.interactivity.status&&e()):u.interactivity.events.onclick.enable&&isInArray("bubble",u.interactivity.events.onclick.mode)&&(u.tmp.bubble_clicking&&(s=a.x-u.interactivity.mouse.click_pos_x,c=a.y-u.interactivity.mouse.click_pos_y,p=Math.sqrt(s*s+c*c),(l=((new Date).getTime()-u.interactivity.mouse.click_time)/1e3)>u.interactivity.modes.bubble.duration&&(u.tmp.bubble_duration_end=!0),l>2*u.interactivity.modes.bubble.duration&&(u.tmp.bubble_clicking=!1,u.tmp.bubble_duration_end=!1)),u.tmp.bubble_clicking&&(t(u.interactivity.modes.bubble.size,u.particles.size.value,a.radius_bubble,a.radius,"size"),t(u.interactivity.modes.bubble.opacity,u.particles.opacity.value,a.opacity_bubble,a.opacity,"opacity")))},u.fn.modes.repulseParticle=function(n){var e,t,i,r,o,a,s;u.interactivity.events.onhover.enable&&isInArray("repulse",u.interactivity.events.onhover.mode)&&"mousemove"==u.interactivity.status?(e=n.x-u.interactivity.mouse.pos_x,a=n.y-u.interactivity.mouse.pos_y,t=e/(e=Math.sqrt(e*e+a*a)),a=a/e,e=clamp(1/(i=u.interactivity.modes.repulse.distance)*(-1*Math.pow(e/i,2)+1)*i*100,0,50),t={x:n.x+t*e,y:n.y+a*e},"bounce"==u.particles.move.out_mode?(0<t.x-n.radius&&t.x+n.radius<u.canvas.w&&(n.x=t.x),0<t.y-n.radius&&t.y+n.radius<u.canvas.h&&(n.y=t.y)):(n.x=t.x,n.y=t.y)):u.interactivity.events.onclick.enable&&isInArray("repulse",u.interactivity.events.onclick.mode)&&(u.tmp.repulse_finish||(u.tmp.repulse_count++,u.tmp.repulse_count==u.particles.array.length&&(u.tmp.repulse_finish=!0)),u.tmp.repulse_clicking?(i=Math.pow(u.interactivity.modes.repulse.distance/6,3),r=u.interactivity.mouse.click_pos_x-n.x,o=u.interactivity.mouse.click_pos_y-n.y,s=-i/(a=r*r+o*o)*1,a<=i&&function(){var e,t=Math.atan2(o,r);n.vx=s*Math.cos(t),n.vy=s*Math.sin(t),"bounce"==u.particles.move.out_mode&&(t=n.x+n.vx,e=n.y+n.vy,(t+n.radius>u.canvas.w||t-n.radius<0)&&(n.vx=-n.vx),(e+n.radius>u.canvas.h||e-n.radius<0)&&(n.vy=-n.vy))}()):0==u.tmp.repulse_clicking&&(n.vx=n.vx_i,n.vy=n.vy_i))},u.fn.modes.grabParticle=function(e){var t,n;u.interactivity.events.onhover.enable&&"mousemove"==u.interactivity.status&&(n=e.x-u.interactivity.mouse.pos_x,t=e.y-u.interactivity.mouse.pos_y,(n=Math.sqrt(n*n+t*t))<=u.interactivity.modes.grab.distance&&(0<(t=u.interactivity.modes.grab.line_linked.opacity-n/(1/u.interactivity.modes.grab.line_linked.opacity)/u.interactivity.modes.grab.distance)&&(n=u.particles.line_linked.color_rgb_line,u.canvas.ctx.strokeStyle="rgba("+n.r+","+n.g+","+n.b+","+t+")",u.canvas.ctx.lineWidth=u.particles.line_linked.width,u.canvas.ctx.beginPath(),u.canvas.ctx.moveTo(e.x,e.y),u.canvas.ctx.lineTo(u.interactivity.mouse.pos_x,u.interactivity.mouse.pos_y),u.canvas.ctx.stroke(),u.canvas.ctx.closePath())))},u.fn.vendors.eventsListeners=function(){"window"==u.interactivity.detect_on?u.interactivity.el=window:u.interactivity.el=u.canvas.el,(u.interactivity.events.onhover.enable||u.interactivity.events.onclick.enable)&&(u.interactivity.el.addEventListener("mousemove",function(e){var t;e=u.interactivity.el==window?(t=e.clientX,e.clientY):(t=e.offsetX||e.clientX,e.offsetY||e.clientY),u.interactivity.mouse.pos_x=t,u.interactivity.mouse.pos_y=e,u.tmp.retina&&(u.interactivity.mouse.pos_x*=u.canvas.pxratio,u.interactivity.mouse.pos_y*=u.canvas.pxratio),u.interactivity.status="mousemove"}),u.interactivity.el.addEventListener("mouseleave",function(e){u.interactivity.mouse.pos_x=null,u.interactivity.mouse.pos_y=null,u.interactivity.status="mouseleave"})),u.interactivity.events.onclick.enable&&u.interactivity.el.addEventListener("click",function(){if(u.interactivity.mouse.click_pos_x=u.interactivity.mouse.pos_x,u.interactivity.mouse.click_pos_y=u.interactivity.mouse.pos_y,u.interactivity.mouse.click_time=(new Date).getTime(),u.interactivity.events.onclick.enable)switch(u.interactivity.events.onclick.mode){case"push":u.particles.move.enable||1==u.interactivity.modes.push.particles_nb?u.fn.modes.pushParticles(u.interactivity.modes.push.particles_nb,u.interactivity.mouse):1<u.interactivity.modes.push.particles_nb&&u.fn.modes.pushParticles(u.interactivity.modes.push.particles_nb);break;case"remove":u.fn.modes.removeParticles(u.interactivity.modes.remove.particles_nb);break;case"bubble":u.tmp.bubble_clicking=!0;break;case"repulse":u.tmp.repulse_clicking=!0,u.tmp.repulse_count=0,u.tmp.repulse_finish=!1,setTimeout(function(){u.tmp.repulse_clicking=!1},1e3*u.interactivity.modes.repulse.duration)}})},u.fn.vendors.densityAutoParticles=function(){var e;u.particles.number.density.enable&&(e=u.canvas.el.width*u.canvas.el.height/1e3,u.tmp.retina&&(e/=2*u.canvas.pxratio),e=e*u.particles.number.value/u.particles.number.density.value_area,(e=u.particles.array.length-e)<0?u.fn.modes.pushParticles(Math.abs(e)):u.fn.modes.removeParticles(e))},u.fn.vendors.checkOverlap=function(e,t){for(var n=0;n<u.particles.array.length;n++){var i=u.particles.array[n],r=e.x-i.x,o=e.y-i.y;Math.sqrt(r*r+o*o)<=e.radius+i.radius&&(e.x=t?t.x:Math.random()*u.canvas.w,e.y=t?t.y:Math.random()*u.canvas.h,u.fn.vendors.checkOverlap(e))}},u.fn.vendors.createSvgImg=function(r){var e=u.tmp.source_svg.replace(/#([0-9A-F]{3,6})/gi,function(e,t,n,i){return r.color.rgb?"rgba("+r.color.rgb.r+","+r.color.rgb.g+","+r.color.rgb.b+","+r.opacity+")":"hsla("+r.color.hsl.h+","+r.color.hsl.s+"%,"+r.color.hsl.l+"%,"+r.opacity+")"}),e=new Blob([e],{type:"image/svg+xml;charset=utf-8"}),t=window.URL||window.webkitURL||window,n=t.createObjectURL(e),i=new Image;i.addEventListener("load",function(){r.img.obj=i,r.img.loaded=!0,t.revokeObjectURL(n),u.tmp.count_svg++}),i.src=n},u.fn.vendors.destroypJS=function(){cancelAnimationFrame(u.fn.drawAnimFrame),n.remove(),pJSDom=null},u.fn.vendors.drawShape=function(e,t,n,i,r,o){var a=r*o,r=r/o,s=Math.PI-Math.PI*(180*(r-2)/r)/180;e.save(),e.beginPath(),e.translate(t,n),e.moveTo(0,0);for(var c=0;c<a;c++)e.lineTo(i,0),e.translate(i,0),e.rotate(s);e.fill(),e.restore()},u.fn.vendors.exportImg=function(){window.open(u.canvas.el.toDataURL("image/png"),"_blank")},u.fn.vendors.loadImg=function(e){var t,n;u.tmp.img_error=void 0,""!=u.particles.shape.image.src?"svg"==e?((t=new XMLHttpRequest).open("GET",u.particles.shape.image.src),t.onreadystatechange=function(e){4==t.readyState&&(200==t.status?(u.tmp.source_svg=e.currentTarget.response,u.fn.vendors.checkBeforeDraw()):(console.log("Error pafePJS - Image not found"),u.tmp.img_error=!0))},t.send()):((n=new Image).addEventListener("load",function(){u.tmp.img_obj=n,u.fn.vendors.checkBeforeDraw()}),n.src=u.particles.shape.image.src):(console.log("Error pafePJS - No image.src"),u.tmp.img_error=!0)},u.fn.vendors.draw=function(){"image"==u.particles.shape.type?"svg"==u.tmp.img_type?u.tmp.count_svg>=u.particles.number.value?(u.fn.particlesDraw(),u.particles.move.enable?u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw):cancelRequestAnimFrame(u.fn.drawAnimFrame)):u.tmp.img_error||(u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw)):null!=u.tmp.img_obj?(u.fn.particlesDraw(),u.particles.move.enable?u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw):cancelRequestAnimFrame(u.fn.drawAnimFrame)):u.tmp.img_error||(u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw)):(u.fn.particlesDraw(),u.particles.move.enable?u.fn.drawAnimFrame=requestAnimFrame(u.fn.vendors.draw):cancelRequestAnimFrame(u.fn.drawAnimFrame))},u.fn.vendors.checkBeforeDraw=function(){"image"==u.particles.shape.type?"svg"==u.tmp.img_type&&null==u.tmp.source_svg?u.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(u.tmp.checkAnimFrame),u.tmp.img_error||(u.fn.vendors.init(),u.fn.vendors.draw())):(u.fn.vendors.init(),u.fn.vendors.draw())},u.fn.vendors.init=function(){u.fn.retinaInit(),u.fn.canvasInit(),u.fn.canvasSize(),u.fn.canvasPaint(),u.fn.particlesCreate(),u.fn.vendors.densityAutoParticles(),u.particles.line_linked.color_rgb_line=hexToRgb(u.particles.line_linked.color)},u.fn.vendors.start=function(){isInArray("image",u.particles.shape.type)?(u.tmp.img_type=u.particles.shape.image.src.substr(u.particles.shape.image.src.length-3),u.fn.vendors.loadImg(u.tmp.img_type)):u.fn.vendors.checkBeforeDraw()},u.fn.vendors.eventsListeners(),u.fn.vendors.start()};function hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,n,i){return t+t+n+n+i+i});e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}function clamp(e,t,n){return Math.min(Math.max(e,t),n)}function isInArray(e,t){return-1<t.indexOf(e)}Object.deepExtend=function(e,t){for(var n in t)t[n]&&t[n].constructor&&t[n].constructor===Object?(e[n]=e[n]||{},arguments.callee(e[n],t[n])):e[n]=t[n];return e},window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},window.cancelRequestAnimFrame=window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout,window.pJSDom=[],window.pafeParticlesJS=function(e,t){"string"!=typeof e&&(t=e,e="particles-js"),e=e||"particles-js";var n=document.querySelector(e),i="particles-js-canvas-el",r=n.getElementsByClassName(i);if(r.length)for(;0<r.length;)n.removeChild(r[0]);var o=document.createElement("canvas");o.className=i,o.style.width="100%",o.style.height="100%",null!=document.querySelector(e).appendChild(o)&&pJSDom.push(new pafePJS(e,t))},window.pafeParticlesJS.load=function(t,e,n){var i=new XMLHttpRequest;i.open("GET",e),i.onreadystatechange=function(e){4==i.readyState&&(200==i.status?(e=JSON.parse(e.currentTarget.response),window.pafeParticlesJS(t,e),n&&n()):(console.log("Error pafePJS - XMLHttpRequest status: "+i.status),console.log("Error pafePJS - File config not found")))},i.send()},jQuery(document).ready(function(d){d("[data-pafe-particles]").each(function(){var e=d(this).attr("data-pafe-particles"),t=JSON.parse(this.getAttribute("data-pafe-particles-options")),n=t.quantity,i=t.particles_color,r=t.linked_color,o=t.hover_effect,a=t.click_effect,s=t.particles_shape,c=t.particles_size,p=t.particles_speed,l=t.particles_image,u=t.particles_opacity;linked_opacity=t.linked_opacity,pafeParticlesJS("[data-pafe-particles='"+e+"']",{particles:{number:{value:n,density:{enable:!0,value_area:800}},color:{value:i},shape:{type:s,stroke:{width:0,color:"#000000"},polygon:{nb_sides:5},image:{src:l,width:100,height:100}},opacity:{value:u,random:!1,anim:{enable:!1,speed:1,opacity_min:0,sync:!1}},size:{value:c,random:!0,anim:{enable:!1,speed:40,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:100,color:r,opacity:linked_opacity,width:1},move:{enable:!0,speed:p,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:o},onclick:{enable:!0,mode:a},resize:!0},modes:{grab:{distance:140,line_linked:{opacity:1}},bubble:{distance:400,size:10,duration:2,opacity:8,speed:3},repulse:{distance:50,duration:.4},push:{particles_nb:10},remove:{particles_nb:10}}},retina_detect:!0})})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Popper={})}(this,function(e){"use strict";function g(e){return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e;var t}function h(e){return e instanceof g(e).Element||e instanceof Element}function y(e){return e instanceof g(e).HTMLElement||e instanceof HTMLElement}function r(e){return"undefined"!=typeof ShadowRoot&&(e instanceof g(e).ShadowRoot||e instanceof ShadowRoot)}var T=Math.max,E=Math.min,w=Math.round;function b(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),i=1,r=1;return y(e)&&t&&(t=e.offsetHeight,0<(e=e.offsetWidth)&&(i=w(n.width)/e||1),0<t&&(r=w(n.height)/t||1)),{width:n.width/i,height:n.height/r,top:n.top/r,right:n.right/i,bottom:n.bottom/r,left:n.left/i,x:n.left/i,y:n.top/r}}function x(e){e=g(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function _(e){return e?(e.nodeName||"").toLowerCase():null}function O(e){return((h(e)?e.ownerDocument:e.document)||window.document).documentElement}function k(e){return b(O(e)).left+x(e).scrollLeft}function A(e){return g(e).getComputedStyle(e)}function M(e){var e=A(e),t=e.overflow,n=e.overflowX,e=e.overflowY;return/auto|scroll|overlay|hidden/.test(t+e+n)}function P(e){var t=b(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function m(e){return"html"===_(e)?e:e.assignedSlot||e.parentNode||(r(e)?e.host:null)||O(e)}function j(e,t){void 0===t&&(t=[]);var n=function e(t){return 0<=["html","body","#document"].indexOf(_(t))?t.ownerDocument.body:y(t)&&M(t)?t:e(m(t))}(e),e=n===(null==(e=e.ownerDocument)?void 0:e.body),i=g(n),i=e?[i].concat(i.visualViewport||[],M(n)?n:[]):n,n=t.concat(i);return e?n:n.concat(j(m(i)))}function o(e){return y(e)&&"fixed"!==A(e).position?e.offsetParent:null}function C(e){for(var t,n=g(e),i=o(e);i&&(t=i,0<=["table","td","th"].indexOf(_(t)))&&"static"===A(i).position;)i=o(i);return(!i||"html"!==_(i)&&("body"!==_(i)||"static"!==A(i).position))&&(i||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&y(e)&&"fixed"===A(e).position)return null;var n=m(e);for(r(n)&&(n=n.host);y(n)&&["html","body"].indexOf(_(n))<0;){var i=A(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e))||n}var S="top",L="bottom",D="right",R="left",q="auto",z=[S,L,D,R],I="start",F="end",X="viewport",v="popper",Y=z.reduce(function(e,t){return e.concat([t+"-"+I,t+"-"+F])},[]),$=[].concat(z,[q]).reduce(function(e,t){return e.concat([t,t+"-"+I,t+"-"+F])},[]),l=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function u(e){var n=new Map,i=new Set,r=[];return e.forEach(function(e){n.set(e.name,e)}),e.forEach(function(e){i.has(e.name)||function t(e){i.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){i.has(e)||(e=n.get(e))&&t(e)}),r.push(e)}(e)}),r}function H(e){return e.split("-")[0]}function Q(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&r(n)){var i=t;do{if(i&&e.isSameNode(i))return!0}while(i=i.parentNode||i.host)}return!1}function B(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function G(e,t){return t===X?B((i=g(n=e),r=O(n),i=i.visualViewport,o=r.clientWidth,r=r.clientHeight,s=a=0,i&&(o=i.width,r=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=i.offsetLeft,s=i.offsetTop)),{width:o,height:r,x:a+k(n),y:s})):h(t)?((o=b(i=t)).top=o.top+i.clientTop,o.left=o.left+i.clientLeft,o.bottom=o.top+i.clientHeight,o.right=o.left+i.clientWidth,o.width=i.clientWidth,o.height=i.clientHeight,o.x=o.left,o.y=o.top,o):B((r=O(e),a=O(r),n=x(r),s=null==(s=r.ownerDocument)?void 0:s.body,t=T(a.scrollWidth,a.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),e=T(a.scrollHeight,a.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),r=-n.scrollLeft+k(r),n=-n.scrollTop,"rtl"===A(s||a).direction&&(r+=T(a.clientWidth,s?s.clientWidth:0)-t),{width:t,height:e,x:r,y:n}));var n,i,r,o,a,s}function V(e){return e.split("-")[1]}function W(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function K(e){var t,n=e.reference,i=e.element,e=e.placement,r=e?H(e):null,e=e?V(e):null,o=n.x+n.width/2-i.width/2,a=n.y+n.height/2-i.height/2;switch(r){case S:t={x:o,y:n.y-i.height};break;case L:t={x:o,y:n.y+n.height};break;case D:t={x:n.x+n.width,y:a};break;case R:t={x:n.x-i.width,y:a};break;default:t={x:n.x,y:n.y}}var s=r?W(r):null;if(null!=s){var c="y"===s?"height":"width";switch(e){case I:t[s]=t[s]-(n[c]/2-i[c]/2);break;case F:t[s]=t[s]+(n[c]/2-i[c]/2)}}return t}function Z(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ee(n,e){return e.reduce(function(e,t){return e[t]=n,e},{})}function N(e,t){var n,i,r,o,a,t=t=void 0===t?{}:t,s=t.placement,s=void 0===s?e.placement:s,c=t.boundary,c=void 0===c?"clippingParents":c,p=t.rootBoundary,p=void 0===p?X:p,l=t.elementContext,l=void 0===l?v:l,u=t.altBoundary,u=void 0!==u&&u,t=t.padding,t=void 0===t?0:t,t=Z("number"!=typeof t?t:ee(t,z)),d=e.rects.popper,u=e.elements[u?l===v?"reference":v:l],c=(n=h(u)?u:u.contextElement||O(e.elements.popper),u=p,r="clippingParents"===(p=c)?(o=j(m(r=n)),h(i=0<=["absolute","fixed"].indexOf(A(r).position)&&y(r)?C(r):r)?o.filter(function(e){return h(e)&&Q(e,i)&&"body"!==_(e)}):[]):[].concat(p),o=[].concat(r,[u]),p=o[0],(u=o.reduce(function(e,t){t=G(n,t);return e.top=T(t.top,e.top),e.right=E(t.right,e.right),e.bottom=E(t.bottom,e.bottom),e.left=T(t.left,e.left),e},G(n,p))).width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u),p=b(e.elements.reference),u=K({reference:p,element:d,strategy:"absolute",placement:s}),d=B(Object.assign({},d,u)),u=l===v?d:p,f={top:c.top-u.top+t.top,bottom:u.bottom-c.bottom+t.bottom,left:c.left-u.left+t.left,right:u.right-c.right+t.right},d=e.modifiersData.offset;return l===v&&d&&(a=d[s],Object.keys(f).forEach(function(e){var t=0<=[D,L].indexOf(e)?1:-1,n=0<=[S,L].indexOf(e)?"y":"x";f[e]+=a[n]*t})),f}var d={placement:"bottom",modifiers:[],strategy:"absolute"};function te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function t(e){var e=e=void 0===e?{}:e,t=e.defaultModifiers,c=void 0===t?[]:t,t=e.defaultOptions,p=void 0===t?d:t;return function(i,r,t){void 0===t&&(t=p);var n,o,f={placement:"bottom",orderedModifiers:[],options:Object.assign({},d,p),modifiersData:{},elements:{reference:i,popper:r},attributes:{},styles:{}},a=[],m=!1,v={state:f,setOptions:function(e){e="function"==typeof e?e(f.options):e;s(),f.options=Object.assign({},p,f.options,e),f.scrollParents={reference:h(i)?j(i):i.contextElement?j(i.contextElement):[],popper:j(r)};e=[].concat(c,f.options.modifiers),t=e.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),n=u(Object.keys(t).map(function(e){return t[e]}));var t,n,e=l.reduce(function(e,t){return e.concat(n.filter(function(e){return e.phase===t}))},[]);return f.orderedModifiers=e.filter(function(e){return e.enabled}),f.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,e=e.effect;"function"==typeof e&&(e=e({state:f,name:t,instance:v,options:void 0===n?{}:n}),a.push(e||function(){}))}),v.update()},forceUpdate:function(){if(!m){var e=f.elements,t=e.reference,e=e.popper;if(te(t,e)){f.rects={reference:(t=t,a=C(e),void 0===(s="fixed"===f.options.strategy)&&(s=!1),c=y(a),p=y(a)&&(u=(p=a).getBoundingClientRect(),l=w(u.width)/p.offsetWidth||1,u=w(u.height)/p.offsetHeight||1,1!==l||1!==u),l=O(a),u=b(t,p),t={scrollLeft:0,scrollTop:0},d={x:0,y:0},!c&&s||("body"===_(a)&&!M(l)||(t=(c=a)!==g(c)&&y(c)?{scrollLeft:c.scrollLeft,scrollTop:c.scrollTop}:x(c)),y(a)?((d=b(a,!0)).x+=a.clientLeft,d.y+=a.clientTop):l&&(d.x=k(l))),{x:u.left+t.scrollLeft-d.x,y:u.top+t.scrollTop-d.y,width:u.width,height:u.height}),popper:P(e)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(e){return f.modifiersData[e.name]=Object.assign({},e.data)});for(var n,i,r,o=0;o<f.orderedModifiers.length;o++)!0!==f.reset?(n=(r=f.orderedModifiers[o]).fn,i=r.options,r=r.name,"function"==typeof n&&(f=n({state:f,options:void 0===i?{}:i,name:r,instance:v})||f)):(f.reset=!1,o=-1)}}var a,s,c,p,l,u,d},update:(n=function(){return new Promise(function(e){v.forceUpdate(),e(f)})},function(){return o=o||new Promise(function(e){Promise.resolve().then(function(){o=void 0,e(n())})})}),destroy:function(){s(),m=!0}};return te(i,r)&&v.setOptions(t).then(function(e){!m&&t.onFirstUpdate&&t.onFirstUpdate(e)}),v;function s(){a.forEach(function(e){return e()}),a=[]}}}var c={passive:!0},n={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,e=e.options,i=e.scroll,r=void 0===i||i,i=e.resize,o=void 0===i||i,a=g(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&s.forEach(function(e){e.addEventListener("scroll",n.update,c)}),o&&a.addEventListener("resize",n.update,c),function(){r&&s.forEach(function(e){e.removeEventListener("scroll",n.update,c)}),o&&a.removeEventListener("resize",n.update,c)}},data:{}},i={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,e=e.name;t.modifiersData[e]=K({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},ne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function a(e){var t,n=e.popper,i=e.popperRect,r=e.placement,o=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,p=e.adaptive,l=e.roundOffsets,e=e.isFixed,u=a.x,u=void 0===u?0:u,d=a.y,d=void 0===d?0:d,f="function"==typeof l?l({x:u,y:d}):{x:u,y:d},u=f.x,d=f.y,f=a.hasOwnProperty("x"),a=a.hasOwnProperty("y"),m=R,v=S,h=window;p&&(b="clientHeight",t="clientWidth",(y=C(n))===g(n)&&"static"!==A(y=O(n)).position&&"absolute"===s&&(b="scrollHeight",t="scrollWidth"),r!==S&&(r!==R&&r!==D||o!==F)||(v=L,d=(d-((e&&y===h&&h.visualViewport?h.visualViewport.height:y[b])-i.height))*(c?1:-1)),r!==R&&(r!==S&&r!==L||o!==F)||(m=D,u=(u-((e&&y===h&&h.visualViewport?h.visualViewport.width:y[t])-i.width))*(c?1:-1)));var y,b,n=Object.assign({position:s},p&&ne),e=!0===l?(r=(b={x:u,y:d}).y,o=window.devicePixelRatio||1,{x:w(b.x*o)/o||0,y:w(r*o)/o||0}):{x:u,y:d};return u=e.x,d=e.y,c?Object.assign({},n,((y={})[v]=a?"0":"",y[m]=f?"0":"",y.transform=(h.devicePixelRatio||1)<=1?"translate("+u+"px, "+d+"px)":"translate3d("+u+"px, "+d+"px, 0)",y)):Object.assign({},n,((t={})[v]=a?d+"px":"",t[m]=f?u+"px":"",t.transform="",t))}var s={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,e=e.options,n=e.gpuAcceleration,n=void 0===n||n,i=e.adaptive,i=void 0===i||i,e=e.roundOffsets,e=void 0===e||e,n={placement:H(t.placement),variation:V(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:n,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,a(Object.assign({},n,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:e})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,a(Object.assign({},n,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},p={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var r=e.state;Object.keys(r.elements).forEach(function(e){var t=r.styles[e]||{},n=r.attributes[e]||{},i=r.elements[e];y(i)&&_(i)&&(Object.assign(i.style,t),Object.keys(n).forEach(function(e){var t=n[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var i=e.state,r={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,r.popper),i.styles=r,i.elements.arrow&&Object.assign(i.elements.arrow.style,r.arrow),function(){Object.keys(i.elements).forEach(function(e){var t=i.elements[e],n=i.attributes[e]||{},e=Object.keys((i.styles.hasOwnProperty(e)?i.styles:r)[e]).reduce(function(e,t){return e[t]="",e},{});y(t)&&_(t)&&(Object.assign(t.style,e),Object.keys(n).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]},f={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var a=e.state,t=e.options,e=e.name,t=t.offset,s=void 0===t?[0,0]:t,t=$.reduce(function(e,t){return e[t]=(t=t,n=a.rects,i=s,r=H(t),o=0<=[R,S].indexOf(r)?-1:1,n="function"==typeof i?i(Object.assign({},n,{placement:t})):i,t=n[0]||0,i=(n[1]||0)*o,0<=[R,D].indexOf(r)?{x:i,y:t}:{x:t,y:i}),e;var n,i,r,o},{}),n=t[a.placement],i=n.x,n=n.y;null!=a.modifiersData.popperOffsets&&(a.modifiersData.popperOffsets.x+=i,a.modifiersData.popperOffsets.y+=n),a.modifiersData[e]=t}},ie={left:"right",right:"left",bottom:"top",top:"bottom"};function U(e){return e.replace(/left|right|bottom|top/g,function(e){return ie[e]})}var re={start:"end",end:"start"};function oe(e){return e.replace(/start|end/g,function(e){return re[e]})}var ae={name:"flip",enabled:!0,phase:"main",fn:function(e){var u=e.state,t=e.options,e=e.name;if(!u.modifiersData[e]._skip){for(var n=t.mainAxis,i=void 0===n||n,n=t.altAxis,r=void 0===n||n,n=t.fallbackPlacements,d=t.padding,f=t.boundary,m=t.rootBoundary,o=t.altBoundary,a=t.flipVariations,v=void 0===a||a,h=t.allowedAutoPlacements,a=u.options.placement,t=H(a),n=n||(t!==a&&v?function(e){if(H(e)===q)return[];var t=U(e);return[oe(e),t,oe(t)]}(a):[U(a)]),s=[a].concat(n).reduce(function(e,t){return e.concat(H(t)===q?(n=u,i=(e=e=void 0===(e={placement:t,boundary:f,rootBoundary:m,padding:d,flipVariations:v,allowedAutoPlacements:h})?{}:e).placement,r=e.boundary,o=e.rootBoundary,a=e.padding,s=e.flipVariations,c=void 0===(e=e.allowedAutoPlacements)?$:e,p=V(i),e=p?s?Y:Y.filter(function(e){return V(e)===p}):z,l=(i=0===(i=e.filter(function(e){return 0<=c.indexOf(e)})).length?e:i).reduce(function(e,t){return e[t]=N(n,{placement:t,boundary:r,rootBoundary:o,padding:a})[H(t)],e},{}),Object.keys(l).sort(function(e,t){return l[e]-l[t]})):t);var n,i,r,o,a,s,c,p,l},[]),c=u.rects.reference,p=u.rects.popper,l=new Map,y=!0,b=s[0],g=0;g<s.length;g++){var w=s[g],x=H(w),_=V(w)===I,O=0<=[S,L].indexOf(x),k=O?"width":"height",A=N(u,{placement:w,boundary:f,rootBoundary:m,altBoundary:o,padding:d}),O=O?_?D:R:_?L:S,_=(c[k]>p[k]&&(O=U(O)),U(O)),k=[];if(i&&k.push(A[x]<=0),r&&k.push(A[O]<=0,A[_]<=0),k.every(function(e){return e})){b=w,y=!1;break}l.set(w,k)}if(y)for(var T=v?3:1;0<T&&"break"!==function(t){var e=s.find(function(e){e=l.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return b=e,"break"}(T);T--);u.placement!==b&&(u.modifiersData[e]._skip=!0,u.placement=b,u.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function J(e,t,n){return T(e,E(t,n))}var se={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,n,i,r,o,a,s,c,p,l=e.state,u=e.options,e=e.name,d=u.mainAxis,d=void 0===d||d,f=u.altAxis,f=void 0!==f&&f,m=u.boundary,v=u.rootBoundary,h=u.altBoundary,y=u.padding,b=u.tether,b=void 0===b||b,u=u.tetherOffset,u=void 0===u?0:u,m=N(l,{boundary:m,rootBoundary:v,padding:y,altBoundary:h}),v=H(l.placement),y=V(l.placement),h=!y,g=W(v),w="x"===g?"y":"x",x=l.modifiersData.popperOffsets,_=l.rects.reference,O=l.rects.popper,u="function"==typeof u?u(Object.assign({},l.rects,{placement:l.placement})):u,u="number"==typeof u?{mainAxis:u,altAxis:u}:Object.assign({mainAxis:0,altAxis:0},u),k=l.modifiersData.offset?l.modifiersData.offset[l.placement]:null,A={x:0,y:0};x&&(d&&(d="y"===g?"height":"width",a=(s=x[g])+m[n="y"===g?S:R],c=s-m[p="y"===g?L:D],t=b?-O[d]/2:0,r=(y===I?_:O)[d],y=y===I?-O[d]:-_[d],o=l.elements.arrow,o=b&&o?P(o):{width:0,height:0},n=(i=l.modifiersData["arrow#persistent"]?l.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0})[n],i=i[p],p=J(0,_[d],o[d]),o=h?_[d]/2-t-p-n-u.mainAxis:r-p-n-u.mainAxis,r=h?-_[d]/2+t+p+i+u.mainAxis:y+p+i+u.mainAxis,h=(n=l.elements.arrow&&C(l.elements.arrow))?"y"===g?n.clientTop||0:n.clientLeft||0:0,y=s+r-(t=null!=(d=null==k?void 0:k[g])?d:0),p=J(b?E(a,s+o-t-h):a,s,b?T(c,y):c),x[g]=p,A[g]=p-s),f&&(i="y"==w?"height":"width",r=(n=x[w])+m["x"===g?S:R],d=n-m["x"===g?L:D],o=-1!==[S,R].indexOf(v),h=null!=(t=null==k?void 0:k[w])?t:0,a=o?r:n-_[i]-O[i]-h+u.altAxis,y=o?n+_[i]+O[i]-h-u.altAxis:d,s=b&&o?(p=J(a,n,c=y),c<p?c:p):J(b?a:r,n,b?y:d),x[w]=s,A[w]=s-n),l.modifiersData[e]=A)},requiresIfExists:["offset"]},ce={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,i,r,o=e.state,a=e.name,e=e.options,s=o.elements.arrow,c=o.modifiersData.popperOffsets,p=H(o.placement),l=W(p),p=0<=[R,D].indexOf(p)?"height":"width";s&&c&&(e=Z("number"!=typeof(e="function"==typeof(e=e.padding)?e(Object.assign({},o.rects,{placement:o.placement})):e)?e:ee(e,z)),t=P(s),r="y"===l?S:R,i="y"===l?L:D,n=o.rects.reference[p]+o.rects.reference[l]-c[l]-o.rects.popper[p],c=c[l]-o.rects.reference[l],s=(s=C(s))?"y"===l?s.clientHeight||0:s.clientWidth||0:0,r=e[r],e=s-t[p]-e[i],r=J(r,i=s/2-t[p]/2+(n/2-c/2),e),o.modifiersData[a]=((s={})[l]=r,s.centerOffset=r-i,s))},effect:function(e){var t=e.state,e=e.options.element,e=void 0===e?"[data-popper-arrow]":e;null!=e&&("string"!=typeof e||(e=t.elements.popper.querySelector(e)))&&Q(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function pe(e,t,n){return{top:e.top-t.height-(n=void 0===n?{x:0,y:0}:n).y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function le(t){return[S,D,L,R].some(function(e){return 0<=t[e]})}var ue={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,e=e.name,n=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,o=N(t,{elementContext:"reference"}),a=N(t,{altBoundary:!0}),o=pe(o,n),n=pe(a,i,r),a=le(o),i=le(n);t.modifiersData[e]={referenceClippingOffsets:o,popperEscapeOffsets:n,isReferenceHidden:a,hasPopperEscaped:i},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":a,"data-popper-escaped":i})}},de=t({defaultModifiers:[n,i,s,p]}),fe=[n,i,s,p,f,ae,se,ce,ue],me=t({defaultModifiers:fe});e.applyStyles=p,e.arrow=ce,e.computeStyles=s,e.createPopper=me,e.createPopperLite=de,e.defaultModifiers=fe,e.detectOverflow=N,e.eventListeners=n,e.flip=ae,e.hide=ue,e.offset=f,e.popperGenerator=t,e.popperOffsets=i,e.preventOverflow=se,Object.defineProperty(e,"__esModule",{value:!0})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@popperjs/core")):"function"==typeof define&&define.amd?define(["@popperjs/core"],t):(e=e||self).tippy=t(e.Popper)}(this,function(ee){"use strict";var e="undefined"!=typeof window&&"undefined"!=typeof document,ke=!!e&&!!window.msCrypto,te={passive:!0,capture:!0},ne=function(){return document.body};function ie(e,t,n){var i;return Array.isArray(e)?null==(i=e[t])?Array.isArray(n)?n[t]:n:i:e}function r(e,t){e={}.toString.call(e);return 0===e.indexOf("[object")&&-1<e.indexOf(t+"]")}function re(e,t){return"function"==typeof e?e.apply(void 0,t):e}function oe(t,n){return 0===n?t:function(e){clearTimeout(i),i=setTimeout(function(){t(e)},n)};var i}function y(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}function ae(e){return[].concat(e)}function se(e,t){-1===e.indexOf(t)&&e.push(t)}function ce(e){return e.split("-")[0]}function pe(e){return[].slice.call(e)}function le(n){return Object.keys(n).reduce(function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e},{})}function ue(){return document.createElement("div")}function o(t){return["Element","Fragment"].some(function(e){return r(t,e)})}function de(e){return r(e,"MouseEvent")}function a(e){return e&&e._tippy&&e._tippy.reference===e}function fe(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function me(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function ve(e){var t,e=ae(e)[0];return null!=e&&null!=(t=e.ownerDocument)&&t.body?e.ownerDocument:document}function he(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(e){t[i](e,n)})}function ye(e,t){for(var n,i=t;i;){if(e.contains(i))return!0;i=null==i.getRootNode||null==(n=i.getRootNode())?void 0:n.host}return!1}var be={isTouch:!1},t=0;function c(){be.isTouch||(be.isTouch=!0,window.performance&&document.addEventListener("mousemove",n))}function n(){var e=performance.now();e-t<20&&(be.isTouch=!1,document.removeEventListener("mousemove",n)),t=e}function p(){var e,t=document.activeElement;a(t)&&(e=t._tippy,t.blur&&!e.state.isVisible&&t.blur())}var ge=Object.assign({appendTo:ne,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),l=Object.keys(ge);function we(i){var e=(i.plugins||[]).reduce(function(e,t){var n=t.name,t=t.defaultValue;return n&&(e[n]=void 0!==i[n]?i[n]:null!=(n=ge[n])?n:t),e},{});return Object.assign({},i,e)}function Ae(e,t){var r,e=Object.assign({},t,{content:re(t.content,[e])},t.ignoreAttributes?{}:(r=e,((e=t.plugins)?Object.keys(we(Object.assign({},ge,{plugins:e}))):l).reduce(function(t,n){var i=(r.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t},{})));return e.aria=Object.assign({},ge.aria,e.aria),e.aria={expanded:"auto"===e.aria.expanded?t.interactive:e.aria.expanded,content:"auto"===e.aria.content?t.interactive?null:"describedby":e.aria.content},e}function i(e,t){e.innerHTML=t}function u(e){var t=ue();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",o(e)?t.appendChild(e):i(t,e)),t}function d(e,t){o(t.content)?(i(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?i(e,t.content):e.textContent=t.content)}function xe(e){var e=e.firstElementChild,t=pe(e.children);return{box:e,content:t.find(function(e){return e.classList.contains("tippy-content")}),arrow:t.find(function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")}),backdrop:t.find(function(e){return e.classList.contains("tippy-backdrop")})}}function f(o){var a=ue(),e=ue(),t=(e.className="tippy-box",e.setAttribute("data-state","hidden"),e.setAttribute("tabindex","-1"),ue());function n(e,t){var n=xe(a),i=n.box,r=n.content,n=n.arrow;t.theme?i.setAttribute("data-theme",t.theme):i.removeAttribute("data-theme"),"string"==typeof t.animation?i.setAttribute("data-animation",t.animation):i.removeAttribute("data-animation"),t.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof t.maxWidth?t.maxWidth+"px":t.maxWidth,t.role?i.setAttribute("role",t.role):i.removeAttribute("role"),e.content===t.content&&e.allowHTML===t.allowHTML||d(r,o.props),t.arrow?n?e.arrow!==t.arrow&&(i.removeChild(n),i.appendChild(u(t.arrow))):i.appendChild(u(t.arrow)):n&&i.removeChild(n)}return t.className="tippy-content",t.setAttribute("data-state","hidden"),d(t,o.props),a.appendChild(e),e.appendChild(t),n(o.props,o.props),{popper:a,onUpdate:n}}f.$$tippy=!0;var Te=1,_e=[],Oe=[];function h(a,e){var i,t,n,r,o,s,c,p,l=Ae(a,Object.assign({},ge,we(le(e)))),u=!1,d=!1,f=!1,m=!1,v=[],h=oe(X,l.interactiveDebounce),e=Te++,y=(p=l.plugins).filter(function(e,t){return p.indexOf(e)===t}),b={id:e,reference:a,popper:ue(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(t),cancelAnimationFrame(n)},setProps:function(e){var t,n;b.state.isDestroyed||(M("onBeforeUpdate",[b,e]),U(),t=b.props,n=Ae(a,Object.assign({},t,le(e),{ignoreAttributes:!0})),b.props=n,N(),t.interactiveDebounce!==n.interactiveDebounce&&(j(),h=oe(X,n.interactiveDebounce)),t.triggerTarget&&!n.triggerTarget?ae(t.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):n.triggerTarget&&a.removeAttribute("aria-expanded"),P(),E(),w&&w(t,n),b.popperInstance&&(G(),D().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),M("onAfterUpdate",[b,e]))},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,i=be.isTouch&&!b.props.touch,r=ie(b.props.duration,0,ge.duration);e||t||n||i||k().hasAttribute("disabled")||(M("onShow",[b],!1),!1!==b.props.onShow(b)&&(b.state.isVisible=!0,O()&&(g.style.visibility="visible"),E(),V(),b.state.isMounted||(g.style.transition="none"),O()&&fe([(e=T()).box,e.content],0),s=function(){var e,t;b.state.isVisible&&!m&&(m=!0,g.offsetHeight,g.style.transition=b.props.moveTransition,O()&&b.props.animation&&(fe([e=(t=T()).box,t=t.content],r),me([e,t],"visible")),F(),P(),se(Oe,b),null!=(e=b.popperInstance)&&e.forceUpdate(),M("onMount",[b]),b.props.animation&&O()&&W(r,function(){b.state.isShown=!0,M("onShown",[b])}))},t=b.props.appendTo,n=k(),(t=b.props.interactive&&t===ne||"parent"===t?n.parentNode:re(t,[n])).contains(g)||t.appendChild(g),b.state.isMounted=!0,G()))},hide:function(){var e,t=!b.state.isVisible,n=b.state.isDestroyed,i=!b.state.isEnabled,r=ie(b.props.duration,1,ge.duration);t||n||i||(M("onHide",[b],!1),!1!==b.props.onHide(b)&&(b.state.isVisible=!1,b.state.isShown=!1,u=m=!1,O()&&(g.style.visibility="hidden"),j(),S(),E(!0),O()&&(n=(t=T()).box,i=t.content,b.props.animation&&(fe([n,i],r),me([n,i],"hidden"))),F(),P(),b.props.animation?O()&&(e=b.unmount,W(r,function(){!b.state.isVisible&&g.parentNode&&g.parentNode.contains(g)&&e()})):b.unmount()))},hideWithInteractivity:function(e){A().addEventListener("mousemove",h),se(_e,h),h(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(K(),D().forEach(function(e){e._tippy.unmount()}),g.parentNode&&g.parentNode.removeChild(g),Oe=Oe.filter(function(e){return e!==b}),b.state.isMounted=!1,M("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),U(),delete a._tippy,b.state.isDestroyed=!0,M("onDestroy",[b]))}};if(!l.render)return b;var e=l.render(b),g=e.popper,w=e.onUpdate,q=(g.setAttribute("data-tippy-root",""),g.id="tippy-"+b.id,b.popper=g,a._tippy=b,g._tippy=b,y.map(function(e){return e.fn(b)})),z=a.hasAttribute("aria-expanded");return N(),P(),E(),M("onCreate",[b]),l.showOnCreate&&Z(),g.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),g.addEventListener("mouseleave",function(){b.props.interactive&&0<=b.props.trigger.indexOf("mouseenter")&&A().addEventListener("mousemove",h)}),b;function x(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function _(){return"hold"===x()[0]}function O(){var e;return null!=(e=b.props.render)&&e.$$tippy}function k(){return c||a}function A(){var e=k().parentNode;return e?ve(e):document}function T(){return xe(g)}function I(e){return b.state.isMounted&&!b.state.isVisible||be.isTouch||r&&"focus"===r.type?0:ie(b.props.delay,e?0:1,ge.delay)}function E(e){void 0===e&&(e=!1),g.style.pointerEvents=b.props.interactive&&!e?"":"none",g.style.zIndex=""+b.props.zIndex}function M(t,n,e){void 0===e&&(e=!0),q.forEach(function(e){e[t]&&e[t].apply(e,n)}),e&&(e=b.props)[t].apply(e,n)}function F(){var n,i,e=b.props.aria;e.content&&(n="aria-"+e.content,i=g.id,ae(b.props.triggerTarget||a).forEach(function(e){var t=e.getAttribute(n);b.state.isVisible?e.setAttribute(n,t?t+" "+i:i):(t=t&&t.replace(i,"").trim())?e.setAttribute(n,t):e.removeAttribute(n)}))}function P(){!z&&b.props.aria.expanded&&ae(b.props.triggerTarget||a).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===k()?"true":"false"):e.removeAttribute("aria-expanded")})}function j(){A().removeEventListener("mousemove",h),_e=_e.filter(function(e){return e!==h})}function C(e){if(!be.isTouch||!f&&"mousedown"!==e.type){var t=e.composedPath&&e.composedPath()[0]||e.target;if(!b.props.interactive||!ye(g,t)){if(ae(b.props.triggerTarget||a).some(function(e){return ye(e,t)})){if(be.isTouch)return;if(b.state.isVisible&&0<=b.props.trigger.indexOf("click"))return}else M("onClickOutside",[b,e]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),d=!0,setTimeout(function(){d=!1}),b.state.isMounted||S())}}}function H(){f=!0}function B(){f=!1}function V(){var e=A();e.addEventListener("mousedown",C,!0),e.addEventListener("touchend",C,te),e.addEventListener("touchstart",B,te),e.addEventListener("touchmove",H,te)}function S(){var e=A();e.removeEventListener("mousedown",C,!0),e.removeEventListener("touchend",C,te),e.removeEventListener("touchstart",B,te),e.removeEventListener("touchmove",H,te)}function W(e,t){var n=T().box;function i(e){e.target===n&&(he(n,"remove",i),t())}if(0===e)return t();he(n,"remove",o),he(n,"add",i),o=i}function L(t,n,i){void 0===i&&(i=!1),ae(b.props.triggerTarget||a).forEach(function(e){e.addEventListener(t,n,i),v.push({node:e,eventType:t,handler:n,options:i})})}function N(){_()&&(L("touchstart",J,{passive:!0}),L("touchend",Y,{passive:!0})),b.props.trigger.split(/\s+/).filter(Boolean).forEach(function(e){if("manual"!==e)switch(L(e,J),e){case"mouseenter":L("mouseleave",Y);break;case"focus":L(ke?"focusout":"blur",$);break;case"focusin":L("focusout",$)}})}function U(){v.forEach(function(e){var t=e.node,n=e.eventType,i=e.handler,e=e.options;t.removeEventListener(n,i,e)}),v=[]}function J(t){var e,n=!1;!b.state.isEnabled||Q(t)||d||(e="focus"===(null==r?void 0:r.type),c=(r=t).currentTarget,P(),!b.state.isVisible&&de(t)&&_e.forEach(function(e){return e(t)}),"click"===t.type&&(b.props.trigger.indexOf("mouseenter")<0||u)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:Z(t),"click"===t.type&&(u=!n),n&&!e&&R(t))}function X(e){var s,c,t=e.target,t=k().contains(t)||g.contains(t);"mousemove"===e.type&&t||(t=D().concat(g).map(function(e){var t=null==(t=e._tippy.popperInstance)?void 0:t.state;return t?{popperRect:e.getBoundingClientRect(),popperState:t,props:l}:null}).filter(Boolean),s=e.clientX,c=e.clientY,t.every(function(e){var t=e.popperRect,n=e.popperState,e=e.props.interactiveBorder,i=ce(n.placement),n=n.modifiersData.offset;if(!n)return!0;var r="bottom"===i?n.top.y:0,o="top"===i?n.bottom.y:0,a="right"===i?n.left.x:0,i="left"===i?n.right.x:0,n=t.top-c+r>e,r=c-t.bottom-o>e,o=t.left-s+a>e,a=s-t.right-i>e;return n||r||o||a})&&(j(),R(e)))}function Y(e){Q(e)||0<=b.props.trigger.indexOf("click")&&u||(b.props.interactive?b.hideWithInteractivity(e):R(e))}function $(e){b.props.trigger.indexOf("focusin")<0&&e.target!==k()||b.props.interactive&&e.relatedTarget&&g.contains(e.relatedTarget)||R(e)}function Q(e){return be.isTouch&&_()!==0<=e.type.indexOf("touch")}function G(){K();var e=b.props,t=e.popperOptions,n=e.placement,i=e.offset,r=e.getReferenceClientRect,e=e.moveTransition,o=O()?xe(g).arrow:null,r=r?{getBoundingClientRect:r,contextElement:r.contextElement||k()}:a,i=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!e}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state;O()&&(t=T().box,["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?t.setAttribute("data-placement",n.placement):n.attributes.popper["data-popper-"+e]?t.setAttribute("data-"+e,""):t.removeAttribute("data-"+e)}),n.attributes.popper={})}}];O()&&o&&i.push({name:"arrow",options:{element:o,padding:3}}),i.push.apply(i,(null==t?void 0:t.modifiers)||[]),b.popperInstance=ee.createPopper(r,g,Object.assign({},t,{placement:n,onFirstUpdate:s,modifiers:i}))}function K(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function D(){return pe(g.querySelectorAll("[data-tippy-root]"))}function Z(e){b.clearDelayTimeouts(),e&&M("onTrigger",[b,e]),V();var e=I(!0),t=x(),n=t[0],t=t[1];(e=be.isTouch&&"hold"===n&&t?t:e)?i=setTimeout(function(){b.show()},e):b.show()}function R(e){b.clearDelayTimeouts(),M("onUntrigger",[b,e]),b.state.isVisible?0<=b.props.trigger.indexOf("mouseenter")&&0<=b.props.trigger.indexOf("click")&&0<=["mouseleave","mousemove"].indexOf(e.type)&&u||((e=I(!1))?t=setTimeout(function(){b.state.isVisible&&b.hide()},e):n=requestAnimationFrame(function(){b.hide()})):S()}}function b(e,t){var n=ge.plugins.concat((t=void 0===t?{}:t).plugins||[]),i=(document.addEventListener("touchstart",c,te),window.addEventListener("blur",p),Object.assign({},t,{plugins:n})),n=(o(t=e)?[t]:r(t,"NodeList")?pe(t):Array.isArray(t)?t:pe(document.querySelectorAll(t))).reduce(function(e,t){t=t&&h(t,i);return t&&e.push(t),e},[]);return o(e)?n[0]:n}b.defaultProps=ge,b.setDefaultProps=function(t){Object.keys(t).forEach(function(e){ge[e]=t[e]})},b.currentInput=be;var g=Object.assign({},ee.applyStyles,{effect:function(e){var e=e.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow)}}),w={mouseover:"mouseenter",focusin:"focus",click:"click"},x={name:"animateFill",defaultValue:!1,fn:function(e){if(null==(t=e.props.render)||!t.$$tippy)return{};var t=xe(e.popper),n=t.box,i=t.content,r=e.props.animateFill?((t=ue()).className="tippy-backdrop",me([t],"hidden"),t):null;return{onCreate:function(){r&&(n.insertBefore(r,n.firstElementChild),n.setAttribute("data-animatefill",""),n.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){var e,t;r&&(e=n.style.transitionDuration,t=Number(e.replace("ms","")),i.style.transitionDelay=Math.round(t/10)+"ms",r.style.transitionDuration=e,me([r],"visible"))},onShow:function(){r&&(r.style.transitionDuration="0ms")},onHide:function(){r&&me([r],"hidden")}}}},m={clientX:0,clientY:0},v=[];function _(e){var t=e.clientX,e=e.clientY;m={clientX:t,clientY:e}}var s,O,k={name:"followCursor",defaultValue:!1,fn:function(n){var l=n.reference,t=ve(n.props.triggerTarget||l),i=!1,r=!1,e=!0,o=n.props;function a(){return"initial"===n.props.followCursor&&n.state.isVisible}function s(){t.addEventListener("mousemove",u)}function c(){t.removeEventListener("mousemove",u)}function p(){i=!0,n.setProps({getReferenceClientRect:null}),i=!1}function u(e){var t=!e.target||l.contains(e.target),o=n.props.followCursor,a=e.clientX,s=e.clientY,e=l.getBoundingClientRect(),c=a-e.left,p=s-e.top;!t&&n.props.interactive||n.setProps({getReferenceClientRect:function(){var e=l.getBoundingClientRect(),t=a,n=s,i=("initial"===o&&(t=e.left+c,n=e.top+p),"horizontal"===o?e.top:n),r="vertical"===o?e.right:t,n="horizontal"===o?e.bottom:n,e="vertical"===o?e.left:t;return{width:r-e,height:n-i,top:i,right:r,bottom:n,left:e}}})}function d(){n.props.followCursor&&(v.push({instance:n,doc:t}),t.addEventListener("mousemove",_))}function f(){0===(v=v.filter(function(e){return e.instance!==n})).filter(function(e){return e.doc===t}).length&&t.removeEventListener("mousemove",_)}return{onCreate:d,onDestroy:f,onBeforeUpdate:function(){o=n.props},onAfterUpdate:function(e,t){t=t.followCursor;i||void 0!==t&&o.followCursor!==t&&(f(),t?(d(),!n.state.isMounted||r||a()||s()):(c(),p()))},onMount:function(){n.props.followCursor&&!r&&(e&&(u(m),e=!1),a()||s())},onTrigger:function(e,t){de(t)&&(m={clientX:t.clientX,clientY:t.clientY}),r="focus"===t.type},onHidden:function(){n.props.followCursor&&(p(),c(),e=!0)}}}},A={name:"inlinePositioning",defaultValue:!1,fn:function(r){var t,f=r.reference,m=-1,n=!1,i=[],o={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(e){var d=e.state;r.props.inlinePositioning&&(-1!==i.indexOf(d.placement)&&(i=[]),t!==d.placement&&-1===i.indexOf(d.placement)&&(i.push(d.placement),r.setProps({getReferenceClientRect:function(){var t=ce(d.placement),e=f.getBoundingClientRect(),n=pe(f.getClientRects()),i=m;if(n.length<2||null===t)return e;if(2===n.length&&0<=i&&n[0].left>n[1].right)return n[i]||e;switch(t){case"top":case"bottom":var r=n[0],o=n[n.length-1],a="top"===t,s=r.top,c=o.bottom,p=(a?r:o).left,a=(a?r:o).right;return{top:s,bottom:c,left:p,right:a,width:a-p,height:c-s};case"left":case"right":var l=Math.min.apply(Math,n.map(function(e){return e.left})),u=Math.max.apply(Math,n.map(function(e){return e.right})),r=n.filter(function(e){return"left"===t?e.left===l:e.right===u}),o=r[0].top,a=r[r.length-1].bottom;return{top:o,bottom:a,left:l,right:u,width:u-l,height:a-o};default:return e}}})),t=d.placement)}};function e(){var e,t;n||(e=r.props,t=o,e={popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(e=e.popperOptions)?void 0:e.modifiers)||[]).filter(function(e){return e.name!==t.name}),[t])})},n=!0,r.setProps(e),n=!1)}return{onCreate:e,onAfterUpdate:e,onTrigger:function(e,t){var n,i;de(t)&&(n=(i=pe(r.reference.getClientRects())).find(function(e){return e.left-2<=t.clientX&&e.right+2>=t.clientX&&e.top-2<=t.clientY&&e.bottom+2>=t.clientY}),i=i.indexOf(n),m=-1<i?i:m)},onHidden:function(){m=-1}}}},T={name:"sticky",defaultValue:!1,fn:function(n){var i=n.reference,r=n.popper;function o(e){return!0===n.props.sticky||n.props.sticky===e}var a=null,s=null;function c(){var e=o("reference")?(n.popperInstance?n.popperInstance.state.elements.reference:i).getBoundingClientRect():null,t=o("popper")?r.getBoundingClientRect():null;(e&&E(a,e)||t&&E(s,t))&&n.popperInstance&&n.popperInstance.update(),a=e,s=t,n.state.isMounted&&requestAnimationFrame(c)}return{onMount:function(){n.props.sticky&&c()}}}};function E(e,t){return!e||!t||e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left}return e&&((e=document.createElement("style")).textContent='.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}',e.setAttribute("data-tippy-stylesheet",""),s=document.head,(O=document.querySelector("head>style,head>link"))?s.insertBefore(e,O):s.appendChild(e)),b.setDefaultProps({plugins:[x,k,A,T],render:f}),b.createSingleton=function(e,t){var r,o=e,i=[],a=[],s=(t=void 0===t?{}:t).overrides,n=[],c=!1;function p(){a=o.map(function(e){return ae(e.props.triggerTarget||e.reference)}).reduce(function(e,t){return e.concat(t)},[])}function l(){i=o.map(function(e){return e.reference})}function u(t){o.forEach(function(e){t?e.enable():e.disable()})}function d(i){return o.map(function(t){var n=t.setProps;return t.setProps=function(e){n(e),t.reference===r&&i.setProps(e)},function(){t.setProps=n}})}function f(e,t){var n=a.indexOf(t);t!==r&&(r=t,t=(s||[]).concat("content").reduce(function(e,t){return e[t]=o[n].props[t],e},{}),e.setProps(Object.assign({},t,{getReferenceClientRect:"function"==typeof t.getReferenceClientRect?t.getReferenceClientRect:function(){var e;return null==(e=i[n])?void 0:e.getBoundingClientRect()}})))}u(!1),l(),p();var e={fn:function(){return{onDestroy:function(){u(!0)},onHidden:function(){r=null},onClickOutside:function(e){e.props.showOnCreate&&!c&&(c=!0,r=null)},onShow:function(e){e.props.showOnCreate&&!c&&(c=!0,f(e,i[0]))},onTrigger:function(e,t){f(e,t.currentTarget)}}}},m=b(ue(),Object.assign({},y(t,["overrides"]),{plugins:[e].concat(t.plugins||[]),triggerTarget:a,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(e=t.popperOptions)?void 0:e.modifiers)||[],[g])})})),v=m.show,h=(m.show=function(e){return v(),r||null!=e?r&&null==e?void 0:"number"==typeof e?i[e]&&f(m,i[e]):0<=o.indexOf(e)?(t=e.reference,f(m,t)):0<=i.indexOf(e)?f(m,e):void 0:f(m,i[0]);var t},m.showNext=function(){var e=i[0];if(!r)return m.show(0);var t=i.indexOf(r);m.show(i[t+1]||e)},m.showPrevious=function(){var e=i[i.length-1];if(!r)return m.show(e);var t=i.indexOf(r),t=i[t-1]||e;m.show(t)},m.setProps);return m.setProps=function(e){s=e.overrides||s,h(e)},m.setInstances=function(e){u(!0),n.forEach(function(e){return e()}),o=e,u(!1),l(),p(),n=d(m),m.setProps({triggerTarget:a})},n=d(m),m},b.delegate=function(e,i){var r=[],o=[],a=!1,s=i.target,t=y(i,["target"]),n=Object.assign({},t,{trigger:"manual",touch:!1}),c=Object.assign({touch:ge.touch},t,{showOnCreate:!0}),t=b(e,n);function p(e){var t,n;e.target&&!a&&(t=e.target.closest(s))&&(n=t.getAttribute("data-tippy-trigger")||i.trigger||ge.trigger,t._tippy||"touchstart"===e.type&&"boolean"==typeof c.touch||"touchstart"!==e.type&&n.indexOf(w[e.type])<0||(n=b(t,c))&&(o=o.concat(n)))}function l(e,t,n,i){e.addEventListener(t,n,i=void 0===i?!1:i),r.push({node:e,eventType:t,handler:n,options:i})}return ae(t).forEach(function(e){var t=e.destroy,n=e.enable,i=e.disable;e.destroy=function(e){(e=void 0===e?!0:e)&&o.forEach(function(e){e.destroy()}),o=[],r.forEach(function(e){var t=e.node,n=e.eventType,i=e.handler,e=e.options;t.removeEventListener(n,i,e)}),r=[],t()},e.enable=function(){n(),o.forEach(function(e){return e.enable()}),a=!1},e.disable=function(){i(),o.forEach(function(e){return e.disable()}),a=!0},l(e=e.reference,"touchstart",p,te),l(e,"mouseover",p),l(e,"focusin",p),l(e,"click",p)}),t},b.hideAll=function(e){var e=void 0===e?{}:e,n=e.exclude,i=e.duration;Oe.forEach(function(e){var t=!1;(t=n?a(n)?e.reference===n:e.popper===n.popper:t)||(t=e.props.duration,e.setProps({duration:i}),e.hide(),e.state.isDestroyed||e.setProps({duration:t}))})},b.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',b}),jQuery(document).ready(function(f){function m(e){let t=f("<div></div>").append(e);return t.find("*").each(function(){f(this).removeAttr("onerror")}),t.html()}f("[data-tippy-content]").each(function(){var e,t=this.querySelector(".elementor-button"),n=this.querySelectorAll(".elementor-icon"),i=this.querySelectorAll(".elementor-heading-title"),r=this.querySelectorAll(".elementor-image > img"),o=this.querySelectorAll(".elementor-video-iframe"),a=this.querySelectorAll(".elementor-text-editor"),s=JSON.parse(this.getAttribute("data-pafe-tippy-options")),c=f(this).attr("data-tippy-content");s.content=m(c),screen.width<768&&s.placement&&delete s.placement,f(this).hasClass("elementor-section")?(e=this.querySelector(".elementor-container"),s.appendTo=e,tippy(this,s)):f(this).hasClass("elementor-column")?(s.appendTo=e=this,tippy(this,s)):null!==t&&void 0!==t[0]?(s.appendTo="parent",tippy(t,s)):null!==i&&void 0!==i[0]?(c=f(this).find(".elementor-heading-title").html(),f(this).find(".elementor-heading-title").html("<span>"+c+"</span>"),t=this.querySelectorAll(".elementor-heading-title > span"),s.appendTo="parent",tippy(t,s)):null!==n&&void 0!==n[0]?(s.appendTo="parent",tippy(n,s)):null!==r&&void 0!==r[0]?(s.appendTo="parent",tippy(r,s)):null!==o&&void 0!==o[0]?(s.appendTo="parent",tippy(o,s)):null!==a&&void 0!==a[0]?(s.appendTo="parent",tippy(a,s)):(s.appendTo=e=this,tippy(this,s))}),jQuery(document).on("elementor/popup/show",function(){jQuery("[data-tippy-content]").each(function(){var e,t=this.querySelector(".elementor-button"),n=this.querySelectorAll(".elementor-icon"),i=this.querySelectorAll(".elementor-heading-title"),r=this.querySelectorAll(".elementor-image > img"),o=this.querySelectorAll(".elementor-video-iframe"),a=this.querySelectorAll(".elementor-text-editor"),s=f(this).closest("[data-elementor-type]").attr("data-elementor-type"),c=JSON.parse(this.getAttribute("data-pafe-tippy-options")),p=c.animation,l=c.duration,u=c.distance,c=c.placement,d=m(f(this).attr("data-tippy-content"));"popup"==s&&(f(this).hasClass("elementor-section")?(e=this.querySelector(".elementor-container"),tippy(this,{content:d,animation:p,duration:l,offset:[0,u],allowHTML:!0,placement:c,arrow:!0,appendTo:e})):f(this).hasClass("elementor-column")?(e=this.querySelector(".elementor-column-wrap"),tippy(this,{content:d,animation:p,duration:l,offset:[0,u],allowHTML:!0,placement:c,arrow:!0,appendTo:e})):null!==t&&void 0!==t[0]?tippy(t,{content:d,animation:p,duration:l,offset:[0,u],allowHTML:!0,placement:c,arrow:!0,appendTo:"parent"}):null!==i&&void 0!==i[0]?(s=f(this).find(".elementor-heading-title").html(),f(this).find(".elementor-heading-title").html("<span>"+s+"</span>"),t=this.querySelectorAll(".elementor-heading-title > span"),tippy(t,{content:d,animation:p,duration:l,placement:c,offset:[0,u],allowHTML:!0,arrow:!0,appendTo:"parent"})):null!==n&&void 0!==n[0]?tippy(n,{content:d,animation:p,offset:[0,u],allowHTML:!0,placement:c,duration:l,arrow:!0,appendTo:"parent"}):null!==r&&void 0!==r[0]?tippy(r,{content:d,animation:p,duration:l,placement:c,offset:[0,u],allowHTML:!0,appendTo:"parent",arrow:!0}):null!==o&&void 0!==o[0]?tippy(o,{content:d,animation:p,placement:c,offset:[0,u],allowHTML:!0,appendTo:"parent",duration:l,arrow:!0}):null!==a&&void 0!==a[0]?tippy(a,{content:d,animation:p,placement:c,offset:[0,u],allowHTML:!0,appendTo:"parent",duration:l,arrow:!0}):(e=this.querySelector(".elementor-widget-container"),tippy(this,{content:d,animation:p,offset:[0,u],allowHTML:!0,placement:c,duration:l,appendTo:e,arrow:!0})))})})});
!function(){"use strict";function e(e){e.fn._fadeIn=e.fn.fadeIn;var t=e.noop||function(){},o=/MSIE/.test(navigator.userAgent),n=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),i=(document.documentMode,"function"==typeof document.createElement("div").style.setExpression&&document.createElement("div").style.setExpression);e.blockUI=function(e){d(window,e)},e.unblockUI=function(e){a(window,e)},e.growlUI=function(t,o,n,i){var s=e('<div class="growlUI"></div>');t&&s.append("<h1>"+t+"</h1>"),o&&s.append("<h2>"+o+"</h2>"),n===undefined&&(n=3e3);var l=function(t){t=t||{},e.blockUI({message:s,fadeIn:"undefined"!=typeof t.fadeIn?t.fadeIn:700,fadeOut:"undefined"!=typeof t.fadeOut?t.fadeOut:1e3,timeout:"undefined"!=typeof t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:i,css:e.blockUI.defaults.growlCSS})};l();s.css("opacity");s.on("mouseover",function(){l({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).on("mouseout",function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(t){if(this[0]===window)return e.blockUI(t),this;var o=e.extend({},e.blockUI.defaults,t||{});return this.each(function(){var t=e(this);o.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,d(this,t)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){a(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var s=null,l=[];function d(d,c){var u,b,h=d==window,k=c&&c.message!==undefined?c.message:undefined;if(!(c=e.extend({},e.blockUI.defaults,c||{})).ignoreIfBlocked||!e(d).data("blockUI.isBlocked")){if(c.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,c.overlayCSS||{}),u=e.extend({},e.blockUI.defaults.css,c.css||{}),c.onOverlayClick&&(c.overlayCSS.cursor="pointer"),b=e.extend({},e.blockUI.defaults.themedCSS,c.themedCSS||{}),k=k===undefined?c.message:k,h&&s&&a(window,{fadeOut:0}),k&&"string"!=typeof k&&(k.parentNode||k.jquery)){var y=k.jquery?k[0]:k,m={};e(d).data("blockUI.history",m),m.el=y,m.parent=y.parentNode,m.display=y.style.display,m.position=y.style.position,m.parent&&m.parent.removeChild(y)}e(d).data("blockUI.onUnblock",c.onUnblock);var g,v,I,w,U=c.baseZ;g=o||c.forceIframe?e('<iframe class="blockUI" style="z-index:'+U+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+c.iframeSrc+'"></iframe>'):e('<div class="blockUI" style="display:none"></div>'),v=c.theme?e('<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+U+++';display:none"></div>'):e('<div class="blockUI blockOverlay" style="z-index:'+U+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),c.theme&&h?(w='<div class="blockUI '+c.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(U+10)+';display:none;position:fixed">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):c.theme?(w='<div class="blockUI '+c.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(U+10)+';display:none;position:absolute">',c.title&&(w+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(c.title||"&nbsp;")+"</div>"),w+='<div class="ui-widget-content ui-dialog-content"></div>',w+="</div>"):w=h?'<div class="blockUI '+c.blockMsgClass+' blockPage" style="z-index:'+(U+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+c.blockMsgClass+' blockElement" style="z-index:'+(U+10)+';display:none;position:absolute"></div>',I=e(w),k&&(c.theme?(I.css(b),I.addClass("ui-widget-content")):I.css(u)),c.theme||v.css(c.overlayCSS),v.css("position",h?"fixed":"absolute"),(o||c.forceIframe)&&g.css("opacity",0);var x=[g,v,I],C=e(h?"body":d);e.each(x,function(){this.appendTo(C)}),c.theme&&c.draggable&&e.fn.draggable&&I.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var S=i&&(!e.support.boxModel||e("object,embed",h?null:d).length>0);if(n||S){if(h&&c.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(n||!e.support.boxModel)&&!h)var E=p(d,"borderTopWidth"),O=p(d,"borderLeftWidth"),T=E?"(0 - "+E+")":0,M=O?"(0 - "+O+")":0;e.each(x,function(e,t){var o=t[0].style;if(o.position="absolute",e<2)h?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+c.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),h?o.setExpression("width",'jQuery.support.boxModel&&document.documentElement.clientWidth||document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),M&&o.setExpression("left",M),T&&o.setExpression("top",T);else if(c.centerY)h&&o.setExpression("top",'(document.documentElement.clientHeight||document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah=document.documentElement.scrollTop ? document.documentElement.scrollTop:document.body.scrollTop) + "px"'),o.marginTop=0;else if(!c.centerY&&h){var n="((document.documentElement.scrollTop ? document.documentElement.scrollTop:document.body.scrollTop) + "+(c.css&&c.css.top?parseInt(c.css.top,10):0)+') + "px"';o.setExpression("top",n)}})}if(k&&(c.theme?I.find(".ui-widget-content").append(k):I.append(k),(k.jquery||k.nodeType)&&e(k).show()),(o||c.forceIframe)&&c.showOverlay&&g.show(),c.fadeIn){var B=c.onBlock?c.onBlock:t,j=c.showOverlay&&!k?B:t,H=k?B:t;c.showOverlay&&v._fadeIn(c.fadeIn,j),k&&I._fadeIn(c.fadeIn,H)}else c.showOverlay&&v.show(),k&&I.show(),c.onBlock&&c.onBlock.bind(I)();if(r(1,d,c),h?(s=I[0],l=e(c.focusableElements,s),c.focusInput&&setTimeout(f,20)):function(e,t,o){var n=e.parentNode,i=e.style,s=(n.offsetWidth-e.offsetWidth)/2-p(n,"borderLeftWidth"),l=(n.offsetHeight-e.offsetHeight)/2-p(n,"borderTopWidth");t&&(i.left=s>0?s+"px":"0");o&&(i.top=l>0?l+"px":"0")}(I[0],c.centerX,c.centerY),c.timeout){var z=setTimeout(function(){h?e.unblockUI(c):e(d).unblock(c)},c.timeout);e(d).data("blockUI.timeout",z)}}}function a(t,o){var n,i,d=t==window,a=e(t),u=a.data("blockUI.history"),f=a.data("blockUI.timeout");f&&(clearTimeout(f),a.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),r(0,t,o),null===o.onUnblock&&(o.onUnblock=a.data("blockUI.onUnblock"),a.removeData("blockUI.onUnblock")),i=d?e(document.body).children().filter(".blockUI").add("body > .blockUI"):a.find(">.blockUI"),o.cursorReset&&(i.length>1&&(i[1].style.cursor=o.cursorReset),i.length>2&&(i[2].style.cursor=o.cursorReset)),d&&(s=l=null),o.fadeOut?(n=i.length,i.stop().fadeOut(o.fadeOut,function(){0==--n&&c(i,u,o,t)})):c(i,u,o,t)}function c(t,o,n,i){var s=e(i);if(!s.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(i,n);var l=e(document.body),d=l.width(),a=l[0].style.width;l.width(d-1).width(d),l[0].style.width=a}}function r(t,o,n){var i=o==window,l=e(o);if((t||(!i||s)&&(i||l.data("blockUI.isBlocked")))&&(l.data("blockUI.isBlocked",t),i&&n.bindEvents&&(!t||n.showOverlay))){var d="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).on(d,n,u):e(document).off(d,u)}}function u(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&s&&t.data.constrainTabKey){var o=l,n=!t.shiftKey&&t.target===o[o.length-1],i=t.shiftKey&&t.target===o[0];if(n||i)return setTimeout(function(){f(i)},10),!1}var d=t.data,a=e(t.target);return a.hasClass("blockOverlay")&&d.onOverlayClick&&d.onOverlayClick(t),a.parents("div."+d.blockMsgClass).length>0||0===a.parents().children().filter("div.blockUI").length}function f(e){if(l){var t=l[!0===e?l.length-1:0];t&&t.trigger("focus")}}function p(t,o){return parseInt(e.css(t,o),10)||0}}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}();
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o}}())}(this,function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}return function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+c}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),c=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(o[u]=n.read(c,u),e===u)break}catch(f){}}return e?o[e]:o}},remove:function(t,n){r(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})});
function on_keydown_remove_from_cart(e){" "===e.key&&(e.preventDefault(),e.currentTarget.click())}function focus_populate_live_region(){var e=["woocommerce-message","woocommerce-error","wc-block-components-notice-banner"].map(function(e){return"."+e+'[role="alert"]'}).join(", "),o=document.querySelectorAll(e);if(0!==o.length){var t=o[0];t.setAttribute("tabindex","-1");var n=setTimeout(function(){t.focus(),clearTimeout(n)},500)}}function refresh_sorted_by_live_region(){var e=document.querySelector(".woocommerce-result-count");if(e){var o=e.innerHTML;e.setAttribute("aria-hidden","true");var t=setTimeout(function(){e.setAttribute("aria-hidden","false"),e.innerHTML="",e.innerHTML=o,clearTimeout(t)},2e3)}}function on_document_ready(){focus_populate_live_region(),refresh_sorted_by_live_region()}jQuery(function(e){e(".woocommerce-ordering").on("change","select.orderby",function(){e(this).closest("form").trigger("submit")}),e("input.qty:not(.product-quantity input.qty)").each(function(){var o=parseFloat(e(this).attr("min"));o>=0&&parseFloat(e(this).val())<o&&e(this).val(o)});var o="store_notice"+(e(".woocommerce-store-notice").data("noticeId")||"");if("hidden"===Cookies.get(o))e(".woocommerce-store-notice").hide();else{function t(o){["Enter"," "].includes(o.key)&&(o.preventDefault(),e(".woocommerce-store-notice__dismiss-link").click())}e(".woocommerce-store-notice").show(),e(".woocommerce-store-notice__dismiss-link").on("click",function n(r){Cookies.set(o,"hidden",{path:"/"}),e(".woocommerce-store-notice").hide(),r.preventDefault(),e(".woocommerce-store-notice__dismiss-link").off("click",n).off("keydown",t)}).on("keydown",t)}e(".woocommerce-input-wrapper span.description").length&&e(document.body).on("click",function(){e(".woocommerce-input-wrapper span.description:visible").prop("aria-hidden",!0).slideUp(250)}),e(".woocommerce-input-wrapper").on("click",function(e){e.stopPropagation()}),e(".woocommerce-input-wrapper :input").on("keydown",function(o){var t=e(this).parent().find("span.description");if(27===o.which&&t.length&&t.is(":visible"))return t.prop("aria-hidden",!0).slideUp(250),o.preventDefault(),!1}).on("click focus",function(){var o=e(this).parent(),t=o.find("span.description");o.addClass("currentTarget"),e(".woocommerce-input-wrapper:not(.currentTarget) span.description:visible").prop("aria-hidden",!0).slideUp(250),t.length&&t.is(":hidden")&&t.prop("aria-hidden",!1).slideDown(250),o.removeClass("currentTarget")}),e.scroll_to_notices=function(o){o.length&&e("html, body").animate({scrollTop:o.offset().top-100},1e3)},e('.woocommerce form .woocommerce-Input[type="password"]').wrap('<span class="password-input"></span>'),e(".woocommerce form input").filter(":password").parent("span").addClass("password-input"),e(".password-input").each(function(){const o=e(this).find("input").attr("id");e(this).append('<button type="button" class="show-password-input" aria-label="'+woocommerce_params.i18n_password_show+'" aria-describedBy="'+o+'"></button>')}),e(".show-password-input").on("click",function(o){o.preventDefault(),e(this).hasClass("display-password")?(e(this).removeClass("display-password"),e(this).attr("aria-label",woocommerce_params.i18n_password_show)):(e(this).addClass("display-password"),e(this).attr("aria-label",woocommerce_params.i18n_password_hide)),e(this).hasClass("display-password")?e(this).siblings(['input[type="password"]']).prop("type","text"):e(this).siblings('input[type="text"]').prop("type","password"),e(this).siblings("input").focus()}),e("a.coming-soon-footer-banner-dismiss").on("click",function(o){var t=e(o.target);e.ajax({type:"post",url:t.data("rest-url"),data:{woocommerce_meta:{coming_soon_banner_dismissed:"yes"}},beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",t.data("rest-nonce"))},complete:function(){e("#coming-soon-footer-banner").hide()}})}),"undefined"==typeof wc_add_to_cart_params&&e(document.body).on("keydown",".remove_from_cart_button",on_keydown_remove_from_cart),e(document.body).on("item_removed_from_classic_cart updated_wc_div",focus_populate_live_region)}),document.addEventListener("DOMContentLoaded",on_document_ready);
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):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,i,o,r;return t&&t.requirejs||(t?i=t:t={},function(e){var t,r,s,a,l={},c={},u={},d={},p=Object.prototype.hasOwnProperty,h=[].slice,f=/\.js$/;function g(e,t){return p.call(e,t)}function m(e,t){var n,i,o,r,s,a,l,c,d,p,h,g=t&&t.split("/"),m=u.map,v=m&&m["*"]||{};if(e&&"."===e.charAt(0))if(t){for(s=(e=e.split("/")).length-1,u.nodeIdCompat&&f.test(e[s])&&(e[s]=e[s].replace(f,"")),e=g.slice(0,g.length-1).concat(e),d=0;d<e.length;d+=1)if("."===(h=e[d]))e.splice(d,1),d-=1;else if(".."===h){if(1===d&&(".."===e[2]||".."===e[0]))break;d>0&&(e.splice(d-1,2),d-=2)}e=e.join("/")}else 0===e.indexOf("./")&&(e=e.substring(2));if((g||v)&&m){for(d=(n=e.split("/")).length;d>0;d-=1){if(i=n.slice(0,d).join("/"),g)for(p=g.length;p>0;p-=1)if((o=m[g.slice(0,p).join("/")])&&(o=o[i])){r=o,a=d;break}if(r)break;!l&&v&&v[i]&&(l=v[i],c=d)}!r&&l&&(r=l,a=c),r&&(n.splice(0,a,r),e=n.join("/"))}return e}function v(t,n){return function(){var i=h.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),r.apply(e,i.concat([t,n]))}}function y(e){return function(t){l[e]=t}}function _(n){if(g(c,n)){var i=c[n];delete c[n],d[n]=!0,t.apply(e,i)}if(!g(l,n)&&!g(d,n))throw new Error("No "+n);return l[n]}function w(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}s=function(e,t){var n,i=w(e),o=i[0];return e=i[1],o&&(n=_(o=m(o,t))),o?e=n&&n.normalize?n.normalize(e,function(e){return function(t){return m(t,e)}}(t)):m(e,t):(o=(i=w(e=m(e,t)))[0],e=i[1],o&&(n=_(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},a={require:function(e){return v(e)},exports:function(e){var t=l[e];return void 0!==t?t:l[e]={}},module:function(e){return{id:e,uri:"",exports:l[e],config:function(e){return function(){return u&&u.config&&u.config[e]||{}}}(e)}}},t=function(t,n,i,o){var r,u,p,h,f,m,w=[],$=typeof i;if(o=o||t,"undefined"===$||"function"===$){for(n=!n.length&&i.length?["require","exports","module"]:n,f=0;f<n.length;f+=1)if("require"===(u=(h=s(n[f],o)).f))w[f]=a.require(t);else if("exports"===u)w[f]=a.exports(t),m=!0;else if("module"===u)r=w[f]=a.module(t);else if(g(l,u)||g(c,u)||g(d,u))w[f]=_(u);else{if(!h.p)throw new Error(t+" missing "+u);h.p.load(h.n,v(o,!0),y(u),{}),w[f]=l[u]}p=i?i.apply(l[t],w):undefined,t&&(r&&r.exports!==e&&r.exports!==l[t]?l[t]=r.exports:p===e&&m||(l[t]=p))}else t&&(l[t]=i)},n=i=r=function(n,i,o,l,c){if("string"==typeof n)return a[n]?a[n](i):_(s(n,i).f);if(!n.splice){if((u=n).deps&&r(u.deps,u.callback),!i)return;i.splice?(n=i,i=o,o=null):n=e}return i=i||function(){},"function"==typeof o&&(o=l,l=c),l?t(e,n,i,o):setTimeout(function(){t(e,n,i,o)},4),r},r.config=function(e){return r(e)},n._defined=l,(o=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=[]),g(l,e)||g(c,e)||(c[e]=[e,t,n])}).amd={jQuery:!0}}(),t.requirejs=n,t.require=i,t.define=o),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 i in t){"function"==typeof t[i]&&("constructor"!==i&&n.push(i))}return n}t.Extend=function(e,t){var n={}.hasOwnProperty;function i(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},t.Decorate=function(e,t){var i=n(t),o=n(e);function r(){var n=Array.prototype.unshift,i=t.prototype.constructor.length,o=e.prototype.constructor;i>0&&(n.call(arguments,e.prototype.constructor),o=t.prototype.constructor),o.apply(this,arguments)}t.displayName=e.displayName,r.prototype=new function(){this.constructor=r};for(var s=0;s<o.length;s++){var a=o[s];r.prototype[a]=e.prototype[a]}for(var l=function(e){var n=function(){};e in r.prototype&&(n=r.prototype[e]);var i=t.prototype[e];return function(){return Array.prototype.unshift.call(arguments,n),i.apply(this,arguments)}},c=0;c<i.length;c++){var u=i[c];r.prototype[u]=l(u)}return r};var i=function(){this.listeners={}};return i.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},i.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},t.Observable=i,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("-"),i=e;if(1!==n.length){for(var o=0;o<n.length;o++){var r=n[o];(r=r.substring(0,1).toLowerCase()+r.substring(1))in i||(i[r]={}),o==n.length-1&&(i[r]=e[t]),i=i[r]}delete e[t]}}return e},t.hasScroll=function(t,n){var i=e(n),o=n.style.overflowX,r=n.style.overflowY;return(o!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===o||"scroll"===r||(i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth))},t.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};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 i=e();e.map(n,function(e){i=i.add(e)}),n=i}t.append(n)},t}),t.define("select2/results",["jquery","./utils"],function(e,t){function n(e,t,i){this.$element=e,this.data=i,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="tree"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=e('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),o=this.options.get("translations").get(t.message);i.append(n(o(t.args))),i[0].className+=" select2-results__message",this.$results.append(i)},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 i=e.results[n],o=this.option(i);t.push(o)}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]");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var t=this;this.data.current(function(n){var i=e.map(n,function(e){return e.id.toString()});t.$results.find(".select2-results__option[aria-selected]").each(function(){var t=e(this),n=e.data(this,"data"),o=""+n.id;null!=n.element&&n.element.selected||null==n.element&&e.inArray(o,i)>-1?t.attr("aria-selected","true"):t.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(t){var n=document.createElement("li");n.className="select2-results__option";var i={role:"treeitem","aria-selected":"false"};for(var o in t.disabled&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==t.id&&delete i["aria-selected"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(i.role="group",i["aria-label"]=t.text,delete i["aria-selected"]),i){var r=i[o];n.setAttribute(o,r)}if(t.children){var s=e(n),a=document.createElement("strong");a.className="select2-results__group";e(a);this.template(t,a);for(var l=[],c=0;c<t.children.length;c++){var u=t.children[c],d=this.option(u);l.push(d)}var p=e("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});p.append(l),s.append(a),s.append(p)}else this.template(t,n);return e.data(n,"data",t),n},n.prototype.bind=function(t,n){var i=this,o=t.id+"-results";this.$results.attr("id",o),t.on("results:all",function(e){i.clear(),i.append(e.data),t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on("results:append",function(e){i.append(e.data),t.isOpen()&&i.setClasses()}),t.on("query",function(e){i.hideMessages(),i.showLoading(e)}),t.on("select",function(){t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),t.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e=i.getHighlightedResults();if(0!==e.length){var t=e.data("data");"true"==e.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:t})}}),t.on("results:previous",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e);if(0!==n){var o=n-1;0===e.length&&(o=0);var r=t.eq(o);r.trigger("mouseenter");var s=i.$results.offset().top,a=r.offset().top,l=i.$results.scrollTop()+(a-s);0===o?i.$results.scrollTop(0):a-s<0&&i.$results.scrollTop(l)}}),t.on("results:next",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var o=t.eq(n);o.trigger("mouseenter");var r=i.$results.offset().top+i.$results.outerHeight(!1),s=o.offset().top+o.outerHeight(!1),a=i.$results.scrollTop()+s-r;0===n?i.$results.scrollTop(0):s>r&&i.$results.scrollTop(a)}}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.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,o=e.deltaY>0&&t-e.deltaY<=0,r=e.deltaY<0&&n<=i.$results.height();o?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(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(t){var n=e(this),o=n.data("data");"true"!==n.attr("aria-selected")?i.trigger("select",{originalEvent:t,data:o}):i.options.get("multiple")?i.trigger("unselect",{originalEvent:t,data:o}):i.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(t){var n=e(this).data("data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:n,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,i=e.offset().top,o=this.$results.scrollTop()+(i-n),r=i-n;o-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(r>this.$results.outerHeight()||r<0)&&this.$results.scrollTop(o)}},n.prototype.template=function(t,n){var i=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),r=i(t,n);null==r?n.style.display="none":"string"==typeof r?n.innerHTML=o(r):e(n).append(r)},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 i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),this.$selection=t,t},i.prototype.bind=function(e,t){var i=this,o=(e.id,e.id+"-results");this.container=e,this.$selection.on("focus",function(e){i.trigger("focus",e)}),this.$selection.on("blur",function(e){i._handleBlur(e)}),this.$selection.on("keydown",function(e){i.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){i.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){i.update(e.data)}),e.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",o),i._attachCloseHandler(e)}),e.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.focus(),i._detachCloseHandler(e)}),e.on("enable",function(){i.$selection.attr("tabindex",i._tabindex)}),e.on("disable",function(){i.$selection.attr("tabindex","-1")})},i.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)},i.prototype._attachCloseHandler=function(t){e(document.body).on("mousedown.select2."+t.id,function(t){var n=e(t.target).closest(".select2");e(".select2.select2-container--open").each(function(){var t=e(this);this!=n[0]&&t.data("element").select2("close")})})},i.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},i.prototype.position=function(e,t){t.find(".selection").append(e)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},i}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,i){function o(){o.__super__.constructor.apply(this,arguments)}return n.Extend(o,t),o.prototype.render=function(){var e=o.__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},o.prototype.bind=function(e,t){var n=this;o.__super__.bind.apply(this,arguments);var i=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",i),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.focus()}),e.on("selection:update",function(e){n.update(e.data)})},o.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},o.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},o.prototype.selectionContainer=function(){return e("<span></span>")},o.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(t,n);n.empty().append(i),n.prop("title",t.title||t.text)}else this.clear()},o}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(e,t,n){function i(e,t){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--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},i.prototype.bind=function(t,n){var o=this;i.__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.options.get("disabled")){var n=e(this).parent().data("data");o.trigger("unselect",{originalEvent:t,data:n})}})},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},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('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],i=0;i<e.length;i++){var o=e[i],r=this.selectionContainer(),s=this.display(o,r);r.append(s),r.prop("title",o.title||o.text),r.data("data",o),t.push(r)}var a=this.$selection.find(".select2-selection__rendered");n.appendMany(a,t)}},i}),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(t.length>1||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},t}),t.define("select2/selection/allowClear",["jquery","../keys"],function(e,t){function n(){}return n.prototype.bind=function(e,t,n){var i=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){i._handleClear(e)}),t.on("keypress",function(e){i._handleKeyboardClear(e,t)})},n.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();for(var i=n.data("data"),o=0;o<i.length;o++){var r={data:i[o]};if(this.trigger("unselect",r),r.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},n.prototype._handleKeyboardClear=function(e,n,i){i.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},n.prototype.update=function(t,n){if(t.call(this,n),!(this.$selection.find(".select2-selection__placeholder").length>0||0===n.length)){var i=e('<span class="select2-selection__clear">&times;</span>');i.data("data",n),this.$selection.find(".select2-selection__rendered").prepend(i)}},n}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(e,t,n){function i(e,t,n){e.call(this,t,n)}return i.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="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=t.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(e,t,i){var o=this;e.call(this,t,i),t.on("open",function(){o.$search.trigger("focus")}),t.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),t.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),t.on("disable",function(){o.$search.prop("disabled",!0)}),t.on("focus",function(e){o.$search.trigger("focus")}),t.on("results:focus",function(e){o.$search.attr("aria-activedescendant",e.id)}),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 t=o.$searchContainer.prev(".select2-selection__choice");if(t.length>0){var i=t.data("data");o.searchRemoveChoice(i),e.preventDefault()}}});var r=document.documentMode,s=r&&r<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){s?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(s&&"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)}})},i.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},i.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.focus()},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";""!==this.$search.attr("placeholder")?e=this.$selection.find(".select2-selection__rendered").innerWidth():e=.75*(this.$search.val().length+1)+"em";this.$search.css("width",e)},i}),t.define("select2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,n,i){var o=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting"],s=["opening","closing","selecting","unselecting"];t.call(this,n,i),n.on("*",function(t,n){if(-1!==e.inArray(t,r)){n=n||{};var i=e.Event("select2:"+t,{params:n});o.$element.trigger(i),-1!==e.inArray(t,s)&&(n.prevented=i.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={},n.loadPath=function(e){if(!(e in n._cache)){var i=t(e);n._cache[e]=i}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","Ꜳ":"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","Ǳ":"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","Ⓖ":"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","Ⓘ":"I","Ｉ":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","Ｊ":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"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","Ǉ":"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","Ƣ":"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","Ⓨ":"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","ⓐ":"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","ⓔ":"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","ⓛ":"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","ƣ":"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 i=t.id+"-result-";return i+=e.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+e.generateChars(4),i},t}),t.define("select2/data/select",["./base","../utils","jquery"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,e),i.prototype.current=function(e){var t=[],i=this;this.$element.find(":selected").each(function(){var e=n(this),o=i.item(e);t.push(o)}),e(t)},i.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("change");if(this.$element.prop("multiple"))this.current(function(i){var o=[];(e=[e]).push.apply(e,i);for(var r=0;r<e.length;r++){var s=e[r].id;-1===n.inArray(s,o)&&o.push(s)}t.$element.val(o),t.$element.trigger("change")});else{var i=e.id;this.$element.val(i),this.$element.trigger("change")}},i.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("change");this.current(function(i){for(var o=[],r=0;r<i.length;r++){var s=i[r].id;s!==e.id&&-1===n.inArray(s,o)&&o.push(s)}t.$element.val(o),t.$element.trigger("change")})}},i.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){n.removeData(this,"data")})},i.prototype.query=function(e,t){var i=[],o=this;this.$element.children().each(function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var r=o.item(t),s=o.matches(e,r);null!==s&&i.push(s)}}),t({results:i})},i.prototype.addOptions=function(e){t.appendMany(this.$element,e)},i.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:(t=document.createElement("option")).textContent!==undefined?t.textContent=e.text:t.innerText=e.text,e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var i=n(t),o=this._normalizeItem(e);return o.element=t,n.data(t,"data",o),i},i.prototype.item=function(e){var t={};if(null!=(t=n.data(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),o=[],r=0;r<i.length;r++){var s=n(i[r]),a=this.item(s);o.push(a)}t.children=o}return(t=this._normalizeItem(t)).element=e[0],n.data(e[0],"data",t),t},i.prototype._normalizeItem=function(e){n.isPlainObject(e)||(e={id:e,text:e});return 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)},i.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},i}),t.define("select2/data/array",["./select","../utils","jquery"],function(e,t,n){function i(e,t){var n=t.get("data")||[];i.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(i,e),i.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)),i.__super__.select.call(this,e)},i.prototype.convertToOptions=function(e){var i=this,o=this.$element.find("option"),r=o.map(function(){return i.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(n.inArray(c.id,r)>=0){var u=o.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},i}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,n){function i(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,i){var o=n.ajax(e);return o.then(t),o.fail(i),o}};return n.extend({},t,e,!0)},i.prototype.processResults=function(e){return e},i.prototype.query=function(e,t){var i=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var o=n.extend({type:"GET"},this.ajaxOptions);function r(){var r=o.transport(o,function(o){var r=i.processResults(o,e);i.options.get("debug")&&window.console&&console.error&&(r&&r.results&&n.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(r)},function(){r.status&&"0"===r.status||i.trigger("results:message",{message:"errorLoading"})});i._request=r}"function"==typeof o.url&&(o.url=o.url.call(this.$element,e)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(r,this.ajaxOptions.delay)):r()},i}),t.define("select2/data/tags",["jquery"],function(e){function t(t,n,i){var o=i.get("tags"),r=i.get("createTag");r!==undefined&&(this.createTag=r);var s=i.get("insertTag");if(s!==undefined&&(this.insertTag=s),t.call(this,n,i),e.isArray(o))for(var a=0;a<o.length;a++){var l=o[a],c=this._normalizeItem(l),u=this.option(c);this.$element.append(u)}}return t.prototype.query=function(e,t,n){var i=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,function o(e,r){for(var s=e.results,a=0;a<s.length;a++){var l=s[a],c=null!=l.children&&!o({results:l.children},!0);if(l.text===t.term||c)return!r&&(e.data=s,void n(e))}if(r)return!0;var u=i.createTag(t);if(null!=u){var d=i.option(u);d.attr("data-select2-tag",!0),i.addOptions([d]),i.insertTag(s,u)}e.results=s,n(e)}):e.call(this,t,n)},t.prototype.createTag=function(t,n){var i=e.trim(n.term);return""===i?null:{id:i,text:i}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this._lastTag;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 i=n.get("tokenizer");i!==undefined&&(this.tokenizer=i),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,i){var o=this;n.term=n.term||"";var r=this.tokenizer(n,this.options,function(t){var n=o._normalizeItem(t);if(!o.$element.find("option").filter(function(){return e(this).val()===n.id}).length){var i=o.option(n);i.attr("data-select2-tag",!0),o._removeOldTags(),o.addOptions([i])}!function(e){o.trigger("select",{data:e})}(n)});r.term!==n.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.focus()),n.term=r.term),t.call(this,n,i)},t.prototype.tokenizer=function(t,n,i,o){for(var r=i.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,r)){var u=s.substr(0,a),d=l(e.extend({},n,{term:u}));null!=d?(o(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||"",this.maximumInputLength>0&&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.query=function(e,t,n){var i=this;this.current(function(o){var r=null!=o?o.length:0;i.maximumSelectionLength>0&&r>=i.maximumSelectionLength?i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):e.call(i,t,n)})},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,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),i=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},n.prototype.bind=function(t,n,i){var o=this;t.call(this,n,i),this.$search.on("keydown",function(e){o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(t){e(this).off("keyup")}),this.$search.on("keyup input",function(e){o.handleSearch(e)}),n.on("open",function(){o.$search.attr("tabindex",0),o.$search.focus(),window.setTimeout(function(){o.$search.focus()},0)}),n.on("close",function(){o.$search.attr("tabindex",-1),o.$search.val("")}),n.on("focus",function(){n.isOpen()&&o.$search.focus()}),n.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(o.showSearch(e)?o.$searchContainer.removeClass("select2-search--hide"):o.$searchContainer.addClass("select2-search--hide"))})},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,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}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),i=t.length-1;i>=0;i--){var o=t[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},e}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,n,i){this.lastParams={},e.call(this,t,n,i),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)},t.prototype.bind=function(t,n,i){var o=this;t.call(this,n,i),n.on("query",function(e){o.lastParams=e,o.loading=!0}),n.on("query:append",function(e){o.lastParams=e,o.loading=!0}),this.$results.on("scroll",function(){var t=e.contains(document.documentElement,o.$loadingMore[0]);!o.loading&&t&&(o.$results.offset().top+o.$results.outerHeight(!1)+50>=o.$loadingMore.offset().top+o.$loadingMore.outerHeight(!1)&&o.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="treeitem" 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,i){this.$dropdownParent=i.get("dropdownParent")||e(document.body),t.call(this,n,i)}return n.prototype.bind=function(e,t,n){var i=this,o=!1;e.call(this,t,n),t.on("open",function(){i._showDropdown(),i._attachPositioningHandler(t),o||(o=!0,t.on("results:all",function(){i._positionDropdown(),i._resizeDropdown()}),t.on("results:append",function(){i._positionDropdown(),i._resizeDropdown()}))}),t.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",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>"),i=t.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n,i){var o=this,r="scroll.select2."+i.id,s="resize.select2."+i.id,a="orientationchange.select2."+i.id,l=this.$container.parents().filter(t.hasScroll);l.each(function(){e(this).data("select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),l.on(r,function(t){var n=e(this).data("select2-scroll-position");e(this).scrollTop(n.y)}),e(window).on(r+" "+s+" "+a,function(e){o._positionDropdown(),o._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var o="scroll.select2."+i.id,r="resize.select2."+i.id,s="orientationchange.select2."+i.id;this.$container.parents().filter(t.hasScroll).off(o),e(window).off(o+" "+r+" "+s)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),o=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=r.top,s.bottom=r.top+s.height;var a=this.$dropdown.outerHeight(!1),l=t.scrollTop(),c=t.scrollTop()+t.height(),u=l<r.top-a,d=c>r.bottom+a,p={left:r.left,top:s.bottom},h=this.$dropdownParent;"static"===h.css("position")&&(h=h.offsetParent());var f=h.offset();p.top-=f.top,p.left-=f.left,n||i||(o="below"),d||!u||n?!u&&d&&n&&(o="below"):o="above",("above"==o||n&&"below"!==o)&&(p.top=s.top-f.top-a),null!=o&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+o),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+o)),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,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=Infinity),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function n(e){for(var t=0,i=0;i<e.length;i++){var o=e[i];o.children?t+=n(o.children):t++}return t}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),t.define("select2/dropdown/selectOnClose",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",function(e){i._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var o=i.data("data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},e}),t.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",function(e){i._selectTriggered(e)}),t.on("unselect",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&n.ctrlKey||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…"}}}),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,i,o,r,s,a,l,c,u,d,p,h,f,g,m,v,y,_,w,$,b,x,A,C,S,O,E){function D(){this.reset()}return D.prototype.apply=function(d){if(null==(d=e.extend(!0,{},this.defaults,d)).dataAdapter){if(null!=d.ajax?d.dataAdapter=f:null!=d.data?d.dataAdapter=h:d.dataAdapter=p,d.minimumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,v)),d.maximumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,y)),d.maximumSelectionLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,_)),d.tags&&(d.dataAdapter=c.Decorate(d.dataAdapter,g)),null==d.tokenSeparators&&null==d.tokenizer||(d.dataAdapter=c.Decorate(d.dataAdapter,m)),null!=d.query){var E=t(d.amdBase+"compat/query");d.dataAdapter=c.Decorate(d.dataAdapter,E)}if(null!=d.initSelection){var D=t(d.amdBase+"compat/initSelection");d.dataAdapter=c.Decorate(d.dataAdapter,D)}}if(null==d.resultsAdapter&&(d.resultsAdapter=n,null!=d.ajax&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,x)),null!=d.placeholder&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,b)),d.selectOnClose&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,S))),null==d.dropdownAdapter){if(d.multiple)d.dropdownAdapter=w;else{var T=c.Decorate(w,$);d.dropdownAdapter=T}if(0!==d.minimumResultsForSearch&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,C)),d.closeOnSelect&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,O)),null!=d.dropdownCssClass||null!=d.dropdownCss||null!=d.adaptDropdownCssClass){var q=t(d.amdBase+"compat/dropdownCss");d.dropdownAdapter=c.Decorate(d.dropdownAdapter,q)}d.dropdownAdapter=c.Decorate(d.dropdownAdapter,A)}if(null==d.selectionAdapter){if(d.multiple?d.selectionAdapter=o:d.selectionAdapter=i,null!=d.placeholder&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,r)),d.allowClear&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,s)),d.multiple&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,a)),null!=d.containerCssClass||null!=d.containerCss||null!=d.adaptContainerCssClass){var j=t(d.amdBase+"compat/containerCss");d.selectionAdapter=c.Decorate(d.selectionAdapter,j)}d.selectionAdapter=c.Decorate(d.selectionAdapter,l)}if("string"==typeof d.language)if(d.language.indexOf("-")>0){var L=d.language.split("-")[0];d.language=[d.language,L]}else d.language=[d.language];if(e.isArray(d.language)){var k=new u;d.language.push("en");for(var P=d.language,I=0;I<P.length;I++){var M=P[I],R={};try{R=u.loadPath(M)}catch(U){try{M=this.defaults.amdLanguageBase+M,R=u.loadPath(M)}catch(N){d.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+M+'" could not be automatically loaded. A fallback will be used instead.');continue}}k.extend(R)}d.translations=k}else{var z=u.loadPath(this.defaults.amdLanguageBase+"en"),H=new u(d.language);H.extend(z),d.translations=H}return d},D.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:E,matcher:function n(i,o){if(""===e.trim(i.term))return o;if(o.children&&o.children.length>0){for(var r=e.extend(!0,{},o),s=o.children.length-1;s>=0;s--)null==n(i,o.children[s])&&r.children.splice(s,1);return r.children.length>0?r:n(i,r)}var a=t(o.text).toUpperCase(),l=t(i.term).toUpperCase();return a.indexOf(l)>-1?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},D.prototype.set=function(t,n){var i={};i[e.camelCase(t)]=n;var o=c._convertData(i);e.extend(this.defaults,o)},new D}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(e,t,n,i){function o(t,o){if(this.options=t,null!=o&&this.fromElement(o),this.options=n.apply(this.options),o&&o.is("input")){var r=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,r)}}return o.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.language&&(e.prop("lang")?this.options.language=e.prop("lang").toLowerCase():e.closest("[lang]").prop("lang")&&(this.options.language=e.closest("[lang]").prop("lang"))),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),e.data("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.'),e.data("data",e.data("select2Tags")),e.data("tags",!0)),e.data("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",e.data("ajaxUrl")),e.data("ajax--url",e.data("ajaxUrl")));var o={};o=t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,e.data()):e.data();var r=t.extend(!0,{},o);for(var s in r=i._convertData(r))t.inArray(s,n)>-1||(t.isPlainObject(this.options[s])?t.extend(this.options[s],r[s]):this.options[s]=r[s]);return this},o.prototype.get=function(e){return this.options[e]},o.prototype.set=function(e,t){this.options[e]=t},o}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(e,t,n,i){var o=function(e,n){null!=e.data("select2")&&e.data("select2").destroy(),this.$element=e,this.id=this._generateId(e),n=n||{},this.options=new t(n,e),o.__super__.constructor.call(this);var i=e.attr("tabindex")||0;e.data("old-tabindex",i),e.attr("tabindex","-1");var r=this.options.get("dataAdapter");this.dataAdapter=new r(e,this.options);var s=this.render();this._placeContainer(s);var a=this.options.get("selectionAdapter");this.selection=new a(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var l=this.options.get("dropdownAdapter");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var c=this.options.get("resultsAdapter");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){u.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),e.data("select2",this)};return n.Extend(o,n.Observable),o.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,"")},o.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},o.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 i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var o=e.outerWidth(!1);return o<=0?"auto":o+"px"}if("style"==t){var r=e.attr("style");if("string"!=typeof r)return null;for(var s=r.split(";"),a=0,l=s.length;a<l;a+=1){var c=s[a].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return t},o.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)},o.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),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 i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=i?(this._observer=new i(function(n){e.each(n,t._syncA),e.each(n,t._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},o.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,n){e.trigger(t,n)})},o.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(i,o){-1===e.inArray(i,n)&&t.trigger(i,o)})},o.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,n){e.trigger(t,n)})},o.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,n){e.trigger(t,n)})},o.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})})}),this.on("keypress",function(t){var n=t.which;e.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&t.altKey?(e.close(),t.preventDefault()):n===i.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===i.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===i.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===i.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype._syncSubtree=function(e,t){var n=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&t.addedNodes.length>0)for(var o=0;o<t.addedNodes.length;o++){t.addedNodes[o].selected&&(n=!0)}else t.removedNodes&&t.removedNodes.length>0&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(e){i.trigger("selection:update",{data:e})})}},o.prototype.trigger=function(e,t){var n=o.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};if(t===undefined&&(t={}),e in i){var r=i[e],s={prevented:!1,name:e,args:t};if(n.call(this,r,s),s.prevented)return void(t.prevented=!0)}n.call(this,e,t)},o.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.trigger("query",{})},o.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},o.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},o.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},o.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},o.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)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&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},o.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("change")},o.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",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),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},o.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")),t.data("element",this.$element),t},o}),t.define("select2/compat/utils",["jquery"],function(e){return{syncCssClasses:function(t,n,i){var o,r,s=[];(o=e.trim(t.attr("class")))&&e((o=""+o).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&s.push(this)}),(o=e.trim(n.attr("class")))&&e((o=""+o).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(r=i(this))&&s.push(r)}),t.attr("class",s.join(" "))}}}),t.define("select2/compat/containerCss",["jquery","./utils"],function(e,t){function n(e){return null}function i(){}return i.prototype.render=function(i){var o=i.call(this),r=this.options.get("containerCssClass")||"";e.isFunction(r)&&(r=r(this.$element));var s=this.options.get("adaptContainerCssClass");if(s=s||n,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var a=s;s=function(e){var t=a(e);return null!=t?t+" "+e:e}}var l=this.options.get("containerCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(o,this.$element,s),o.css(l),o.addClass(r),o},i}),t.define("select2/compat/dropdownCss",["jquery","./utils"],function(e,t){function n(e){return null}function i(){}return i.prototype.render=function(i){var o=i.call(this),r=this.options.get("dropdownCssClass")||"";e.isFunction(r)&&(r=r(this.$element));var s=this.options.get("adaptDropdownCssClass");if(s=s||n,-1!==r.indexOf(":all:")){r=r.replace(":all:","");var a=s;s=function(e){var t=a(e);return null!=t?t+" "+e:e}}var l=this.options.get("dropdownCss")||{};return e.isFunction(l)&&(l=l(this.$element)),t.syncCssClasses(o,this.$element,s),o.css(l),o.addClass(r),o},i}),t.define("select2/compat/initSelection",["jquery"],function(e){function t(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=n.get("initSelection"),this._isInitialized=!1,e.call(this,t,n)}return t.prototype.current=function(t,n){var i=this;this._isInitialized?t.call(this,n):this.initSelection.call(null,this.$element,function(t){i._isInitialized=!0,e.isArray(t)||(t=[t]),n(t)})},t}),t.define("select2/compat/inputData",["jquery"],function(e){function t(e,t,n){this._currentData=[],this._valueSeparator=n.get("valueSeparator")||",","hidden"===t.prop("type")&&n.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,n)}return t.prototype.current=function(t,n){function i(t,n){var o=[];return t.selected||-1!==e.inArray(t.id,n)?(t.selected=!0,o.push(t)):t.selected=!1,t.children&&o.push.apply(o,i(t.children,n)),o}for(var o=[],r=0;r<this._currentData.length;r++){var s=this._currentData[r];o.push.apply(o,i(s,this.$element.val().split(this._valueSeparator)))}n(o)},t.prototype.select=function(t,n){if(this.options.get("multiple")){var i=this.$element.val();i+=this._valueSeparator+n.id,this.$element.val(i),this.$element.trigger("change")}else this.current(function(t){e.map(t,function(e){e.selected=!1})}),this.$element.val(n.id),this.$element.trigger("change")},t.prototype.unselect=function(e,t){var n=this;t.selected=!1,this.current(function(e){for(var i=[],o=0;o<e.length;o++){var r=e[o];t.id!=r.id&&i.push(r.id)}n.$element.val(i.join(n._valueSeparator)),n.$element.trigger("change")})},t.prototype.query=function(e,t,n){for(var i=[],o=0;o<this._currentData.length;o++){var r=this._currentData[o],s=this.matches(t,r);null!==s&&i.push(s)}n({results:i})},t.prototype.addOptions=function(t,n){var i=e.map(n,function(t){return e.data(t[0],"data")});this._currentData.push.apply(this._currentData,i)},t}),t.define("select2/compat/matcher",["jquery"],function(e){return function(t){return function(n,i){var o=e.extend(!0,{},i);if(null==n.term||""===e.trim(n.term))return o;if(i.children){for(var r=i.children.length-1;r>=0;r--){var s=i.children[r];t(n.term,s.text,s)||o.children.splice(r,1)}if(o.children.length>0)return o}return t(n.term,i.text,i)?o:null}}}),t.define("select2/compat/query",[],function(){function e(e,t,n){n.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get("query").call(null,t)},e}),t.define("select2/dropdown/attachContainer",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),n.addClass("select2-container--below")},e}),t.define("select2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),t.define("select2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),
r=function(e){var t,n,i=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],o="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(e.event.fixHooks)for(var s=i.length;s;)e.event.fixHooks[i[--s]]=e.event.mouseHooks;var a=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=o.length;t;)this.addEventListener(o[--t],l,!1);else this.onmousewheel=l;e.data(this,"mousewheel-line-height",a.getLineHeight(this)),e.data(this,"mousewheel-page-height",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=o.length;t;)this.removeEventListener(o[--t],l,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),i=n["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(i){var o,s=i||window.event,l=r.call(arguments,1),d=0,p=0,h=0,f=0,g=0;if((i=e.event.fix(s)).type="mousewheel","detail"in s&&(h=-1*s.detail),"wheelDelta"in s&&(h=s.wheelDelta),"wheelDeltaY"in s&&(h=s.wheelDeltaY),"wheelDeltaX"in s&&(p=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(p=-1*h,h=0),d=0===h?p:h,"deltaY"in s&&(d=h=-1*s.deltaY),"deltaX"in s&&(p=s.deltaX,0===h&&(d=-1*p)),0!==h||0!==p){if(1===s.deltaMode){var m=e.data(this,"mousewheel-line-height");d*=m,h*=m,p*=m}else if(2===s.deltaMode){var v=e.data(this,"mousewheel-page-height");d*=v,h*=v,p*=v}if(o=Math.max(Math.abs(h),Math.abs(p)),(!n||o<n)&&(n=o,u(s,o)&&(n/=40)),u(s,o)&&(d/=40,p/=40,h/=40),d=Math[d>=1?"floor":"ceil"](d/n),p=Math[p>=1?"floor":"ceil"](p/n),h=Math[h>=1?"floor":"ceil"](h/n),a.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();f=i.clientX-y.left,g=i.clientY-y.top}return i.deltaX=p,i.deltaY=h,i.deltaFactor=n,i.offsetX=f,i.offsetY=g,i.deltaMode=0,l.unshift(i,d,p,h),t&&clearTimeout(t),t=setTimeout(c,200),(e.event.dispatch||e.event.handle).apply(this,l)}}function c(){n=null}function u(e,t){return a.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof t.define&&t.define.amd?t.define("jquery-mousewheel",["jquery"],r):"object"==typeof exports?module.exports=r:r(e),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(e,t,n,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 i=e.extend(!0,{},t);new n(e(this),i)}),this;if("string"==typeof t){var i,r=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=e(this).data("select2");null==n&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),i=n[t].apply(n,r)}),e.inArray(t,o)>-1?this:i}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=i),n}),{define:t.define,require:t.require}}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n});
!function(n,t){var r,e;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define("underscore",t):(n="undefined"!=typeof globalThis?globalThis:n||self,r=n._,(e=n._=t()).noConflict=function(){return n._=r,e})}(this,function(){var n="1.13.7",t="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},e=Array.prototype,V=Object.prototype,F="undefined"!=typeof Symbol?Symbol.prototype:null,P=e.push,f=e.slice,s=V.toString,q=V.hasOwnProperty,r="undefined"!=typeof ArrayBuffer,u="undefined"!=typeof DataView,U=Array.isArray,W=Object.keys,z=Object.create,L=r&&ArrayBuffer.isView,$=isNaN,C=isFinite,K=!{toString:null}.propertyIsEnumerable("toString"),J=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],G=Math.pow(2,53)-1;function l(u,o){return o=null==o?u.length-1:+o,function(){for(var n=Math.max(arguments.length-o,0),t=Array(n),r=0;r<n;r++)t[r]=arguments[r+o];switch(o){case 0:return u.call(this,t);case 1:return u.call(this,arguments[0],t);case 2:return u.call(this,arguments[0],arguments[1],t)}for(var e=Array(o+1),r=0;r<o;r++)e[r]=arguments[r];return e[o]=t,u.apply(this,e)}}function o(n){var t=typeof n;return"function"==t||"object"==t&&!!n}function H(n){return void 0===n}function Q(n){return!0===n||!1===n||"[object Boolean]"===s.call(n)}function i(n){var t="[object "+n+"]";return function(n){return s.call(n)===t}}var X=i("String"),Y=i("Number"),Z=i("Date"),nn=i("RegExp"),tn=i("Error"),rn=i("Symbol"),en=i("ArrayBuffer"),a=i("Function"),t=t.document&&t.document.childNodes,p=a="function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof t?function(n){return"function"==typeof n||!1}:a,t=i("Object"),un=u&&(!/\[native code\]/.test(String(DataView))||t(new DataView(new ArrayBuffer(8)))),a="undefined"!=typeof Map&&t(new Map),u=i("DataView");var h=un?function(n){return null!=n&&p(n.getInt8)&&en(n.buffer)}:u,v=U||i("Array");function y(n,t){return null!=n&&q.call(n,t)}var on=i("Arguments"),an=(!function(){on(arguments)||(on=function(n){return y(n,"callee")})}(),on);function fn(n){return Y(n)&&$(n)}function cn(n){return function(){return n}}function ln(t){return function(n){n=t(n);return"number"==typeof n&&0<=n&&n<=G}}function sn(t){return function(n){return null==n?void 0:n[t]}}var d=sn("byteLength"),pn=ln(d),hn=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;var vn=r?function(n){return L?L(n)&&!h(n):pn(n)&&hn.test(s.call(n))}:cn(!1),g=sn("length");function yn(n,t){t=function(t){for(var r={},n=t.length,e=0;e<n;++e)r[t[e]]=!0;return{contains:function(n){return!0===r[n]},push:function(n){return r[n]=!0,t.push(n)}}}(t);var r=J.length,e=n.constructor,u=p(e)&&e.prototype||V,o="constructor";for(y(n,o)&&!t.contains(o)&&t.push(o);r--;)(o=J[r])in n&&n[o]!==u[o]&&!t.contains(o)&&t.push(o)}function b(n){if(!o(n))return[];if(W)return W(n);var t,r=[];for(t in n)y(n,t)&&r.push(t);return K&&yn(n,r),r}function dn(n,t){var r=b(t),e=r.length;if(null==n)return!e;for(var u=Object(n),o=0;o<e;o++){var i=r[o];if(t[i]!==u[i]||!(i in u))return!1}return!0}function m(n){return n instanceof m?n:this instanceof m?void(this._wrapped=n):new m(n)}function gn(n){return new Uint8Array(n.buffer||n,n.byteOffset||0,d(n))}m.VERSION=n,m.prototype.valueOf=m.prototype.toJSON=m.prototype.value=function(){return this._wrapped},m.prototype.toString=function(){return String(this._wrapped)};var bn="[object DataView]";function mn(n,t,r,e){var u;return n===t?0!==n||1/n==1/t:null!=n&&null!=t&&(n!=n?t!=t:("function"==(u=typeof n)||"object"==u||"object"==typeof t)&&function n(t,r,e,u){t instanceof m&&(t=t._wrapped);r instanceof m&&(r=r._wrapped);var o=s.call(t);if(o!==s.call(r))return!1;if(un&&"[object Object]"==o&&h(t)){if(!h(r))return!1;o=bn}switch(o){case"[object RegExp]":case"[object String]":return""+t==""+r;case"[object Number]":return+t!=+t?+r!=+r:0==+t?1/+t==1/r:+t==+r;case"[object Date]":case"[object Boolean]":return+t==+r;case"[object Symbol]":return F.valueOf.call(t)===F.valueOf.call(r);case"[object ArrayBuffer]":case bn:return n(gn(t),gn(r),e,u)}o="[object Array]"===o;if(!o&&vn(t)){var i=d(t);if(i!==d(r))return!1;if(t.buffer===r.buffer&&t.byteOffset===r.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof t||"object"!=typeof r)return!1;var i=t.constructor,a=r.constructor;if(i!==a&&!(p(i)&&i instanceof i&&p(a)&&a instanceof a)&&"constructor"in t&&"constructor"in r)return!1}e=e||[];u=u||[];var f=e.length;for(;f--;)if(e[f]===t)return u[f]===r;e.push(t);u.push(r);if(o){if((f=t.length)!==r.length)return!1;for(;f--;)if(!mn(t[f],r[f],e,u))return!1}else{var c,l=b(t);if(f=l.length,b(r).length!==f)return!1;for(;f--;)if(c=l[f],!y(r,c)||!mn(t[c],r[c],e,u))return!1}e.pop();u.pop();return!0}(n,t,r,e))}function c(n){if(!o(n))return[];var t,r=[];for(t in n)r.push(t);return K&&yn(n,r),r}function jn(e){var u=g(e);return function(n){if(null==n)return!1;var t=c(n);if(g(t))return!1;for(var r=0;r<u;r++)if(!p(n[e[r]]))return!1;return e!==_n||!p(n[wn])}}var wn="forEach",t=["clear","delete"],u=["get","has","set"],U=t.concat(wn,u),_n=t.concat(u),r=["add"].concat(t,wn,"has"),u=a?jn(U):i("Map"),t=a?jn(_n):i("WeakMap"),U=a?jn(r):i("Set"),a=i("WeakSet");function j(n){for(var t=b(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e}function An(n){for(var t={},r=b(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t}function xn(n){var t,r=[];for(t in n)p(n[t])&&r.push(t);return r.sort()}function Sn(f,c){return function(n){var t=arguments.length;if(c&&(n=Object(n)),!(t<2||null==n))for(var r=1;r<t;r++)for(var e=arguments[r],u=f(e),o=u.length,i=0;i<o;i++){var a=u[i];c&&void 0!==n[a]||(n[a]=e[a])}return n}}var On=Sn(c),w=Sn(b),Mn=Sn(c,!0);function En(n){var t;return o(n)?z?z(n):((t=function(){}).prototype=n,n=new t,t.prototype=null,n):{}}function Bn(n){return v(n)?n:[n]}function _(n){return m.toPath(n)}function Nn(n,t){for(var r=t.length,e=0;e<r;e++){if(null==n)return;n=n[t[e]]}return r?n:void 0}function In(n,t,r){n=Nn(n,_(t));return H(n)?r:n}function Tn(n){return n}function A(t){return t=w({},t),function(n){return dn(n,t)}}function kn(t){return t=_(t),function(n){return Nn(n,t)}}function x(u,o,n){if(void 0===o)return u;switch(null==n?3:n){case 1:return function(n){return u.call(o,n)};case 3:return function(n,t,r){return u.call(o,n,t,r)};case 4:return function(n,t,r,e){return u.call(o,n,t,r,e)}}return function(){return u.apply(o,arguments)}}function Dn(n,t,r){return null==n?Tn:p(n)?x(n,t,r):(o(n)&&!v(n)?A:kn)(n)}function Rn(n,t){return Dn(n,t,1/0)}function S(n,t,r){return m.iteratee!==Rn?m.iteratee(n,t):Dn(n,t,r)}function Vn(){}function Fn(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))}m.toPath=Bn,m.iteratee=Rn;var O=Date.now||function(){return(new Date).getTime()};function Pn(t){function r(n){return t[n]}var n="(?:"+b(t).join("|")+")",e=RegExp(n),u=RegExp(n,"g");return function(n){return e.test(n=null==n?"":""+n)?n.replace(u,r):n}}var r={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},qn=Pn(r),r=Pn(An(r)),Un=m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Wn=/(.)^/,zn={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Ln=/\\|'|\r|\n|\u2028|\u2029/g;function $n(n){return"\\"+zn[n]}var Cn=/^\s*(\w|\$)+\s*$/;var Kn=0;function Jn(n,t,r,e,u){return e instanceof t?(e=En(n.prototype),o(t=n.apply(e,u))?t:e):n.apply(r,u)}var M=l(function(u,o){function i(){for(var n=0,t=o.length,r=Array(t),e=0;e<t;e++)r[e]=o[e]===a?arguments[n++]:o[e];for(;n<arguments.length;)r.push(arguments[n++]);return Jn(u,i,this,this,r)}var a=M.placeholder;return i}),Gn=(M.placeholder=m,l(function(t,r,e){var u;if(p(t))return u=l(function(n){return Jn(t,u,r,this,e.concat(n))});throw new TypeError("Bind must be called on a function")})),E=ln(g);function B(n,t,r,e){if(e=e||[],t||0===t){if(t<=0)return e.concat(n)}else t=1/0;for(var u=e.length,o=0,i=g(n);o<i;o++){var a=n[o];if(E(a)&&(v(a)||an(a)))if(1<t)B(a,t-1,r,e),u=e.length;else for(var f=0,c=a.length;f<c;)e[u++]=a[f++];else r||(e[u++]=a)}return e}var Hn=l(function(n,t){var r=(t=B(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var e=t[r];n[e]=Gn(n[e],n)}return n});var Qn=l(function(n,t,r){return setTimeout(function(){return n.apply(null,r)},t)}),Xn=M(Qn,m,1);function Yn(n){return function(){return!n.apply(this,arguments)}}function Zn(n,t){var r;return function(){return 0<--n&&(r=t.apply(this,arguments)),n<=1&&(t=null),r}}var nt=M(Zn,2);function tt(n,t,r){t=S(t,r);for(var e,u=b(n),o=0,i=u.length;o<i;o++)if(t(n[e=u[o]],e,n))return e}function rt(o){return function(n,t,r){t=S(t,r);for(var e=g(n),u=0<o?0:e-1;0<=u&&u<e;u+=o)if(t(n[u],u,n))return u;return-1}}var et=rt(1),ut=rt(-1);function ot(n,t,r,e){for(var u=(r=S(r,e,1))(t),o=0,i=g(n);o<i;){var a=Math.floor((o+i)/2);r(n[a])<u?o=a+1:i=a}return o}function it(o,i,a){return function(n,t,r){var e=0,u=g(n);if("number"==typeof r)0<o?e=0<=r?r:Math.max(r+u,e):u=0<=r?Math.min(r+1,u):r+u+1;else if(a&&r&&u)return n[r=a(n,t)]===t?r:-1;if(t!=t)return 0<=(r=i(f.call(n,e,u),fn))?r+e:-1;for(r=0<o?e:u-1;0<=r&&r<u;r+=o)if(n[r]===t)return r;return-1}}var at=it(1,et,ot),ft=it(-1,ut);function ct(n,t,r){t=(E(n)?et:tt)(n,t,r);if(void 0!==t&&-1!==t)return n[t]}function N(n,t,r){if(t=x(t,r),E(n))for(u=0,o=n.length;u<o;u++)t(n[u],u,n);else for(var e=b(n),u=0,o=e.length;u<o;u++)t(n[e[u]],e[u],n);return n}function I(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=Array(u),i=0;i<u;i++){var a=e?e[i]:i;o[i]=t(n[a],a,n)}return o}function lt(f){return function(n,t,r,e){var u=3<=arguments.length;return function(n,t,r,e){var u=!E(n)&&b(n),o=(u||n).length,i=0<f?0:o-1;for(e||(r=n[u?u[i]:i],i+=f);0<=i&&i<o;i+=f){var a=u?u[i]:i;r=t(r,n[a],a,n)}return r}(n,x(t,e,4),r,u)}}var st=lt(1),pt=lt(-1);function T(n,e,t){var u=[];return e=S(e,t),N(n,function(n,t,r){e(n,t,r)&&u.push(n)}),u}function ht(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(!t(n[i],i,n))return!1}return!0}function vt(n,t,r){t=S(t,r);for(var e=!E(n)&&b(n),u=(e||n).length,o=0;o<u;o++){var i=e?e[o]:o;if(t(n[i],i,n))return!0}return!1}function k(n,t,r,e){return E(n)||(n=j(n)),0<=at(n,t,r="number"==typeof r&&!e?r:0)}var yt=l(function(n,r,e){var u,o;return p(r)?o=r:(r=_(r),u=r.slice(0,-1),r=r[r.length-1]),I(n,function(n){var t=o;if(!t){if(null==(n=u&&u.length?Nn(n,u):n))return;t=n[r]}return null==t?t:t.apply(n,e)})});function dt(n,t){return I(n,kn(t))}function gt(n,e,t){var r,u,o=-1/0,i=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&o<r&&(o=r);else e=S(e,t),N(n,function(n,t,r){u=e(n,t,r),(i<u||u===-1/0&&o===-1/0)&&(o=n,i=u)});return o}var bt=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function mt(n){return n?v(n)?f.call(n):X(n)?n.match(bt):E(n)?I(n,Tn):j(n):[]}function jt(n,t,r){if(null==t||r)return(n=E(n)?n:j(n))[Fn(n.length-1)];for(var e=mt(n),r=g(e),u=(t=Math.max(Math.min(t,r),0),r-1),o=0;o<t;o++){var i=Fn(o,u),a=e[o];e[o]=e[i],e[i]=a}return e.slice(0,t)}function D(o,t){return function(r,e,n){var u=t?[[],[]]:{};return e=S(e,n),N(r,function(n,t){t=e(n,t,r);o(u,n,t)}),u}}var wt=D(function(n,t,r){y(n,r)?n[r].push(t):n[r]=[t]}),_t=D(function(n,t,r){n[r]=t}),At=D(function(n,t,r){y(n,r)?n[r]++:n[r]=1}),xt=D(function(n,t,r){n[r?0:1].push(t)},!0);function St(n,t,r){return t in r}var Ot=l(function(n,t){var r={},e=t[0];if(null!=n){p(e)?(1<t.length&&(e=x(e,t[1])),t=c(n)):(e=St,t=B(t,!1,!1),n=Object(n));for(var u=0,o=t.length;u<o;u++){var i=t[u],a=n[i];e(a,i,n)&&(r[i]=a)}}return r}),Mt=l(function(n,r){var t,e=r[0];return p(e)?(e=Yn(e),1<r.length&&(t=r[1])):(r=I(B(r,!1,!1),String),e=function(n,t){return!k(r,t)}),Ot(n,e,t)});function Et(n,t,r){return f.call(n,0,Math.max(0,n.length-(null==t||r?1:t)))}function Bt(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[0]:Et(n,n.length-t)}function R(n,t,r){return f.call(n,null==t||r?1:t)}var Nt=l(function(n,t){return t=B(t,!0,!0),T(n,function(n){return!k(t,n)})}),It=l(function(n,t){return Nt(n,t)});function Tt(n,t,r,e){Q(t)||(e=r,r=t,t=!1),null!=r&&(r=S(r,e));for(var u=[],o=[],i=0,a=g(n);i<a;i++){var f=n[i],c=r?r(f,i,n):f;t&&!r?(i&&o===c||u.push(f),o=c):r?k(o,c)||(o.push(c),u.push(f)):k(u,f)||u.push(f)}return u}var kt=l(function(n){return Tt(B(n,!0,!0))});function Dt(n){for(var t=n&&gt(n,g).length||0,r=Array(t),e=0;e<t;e++)r[e]=dt(n,e);return r}var Rt=l(Dt);function Vt(n,t){return n._chain?m(t).chain():t}function Ft(r){return N(xn(r),function(n){var t=m[n]=r[n];m.prototype[n]=function(){var n=[this._wrapped];return P.apply(n,arguments),Vt(this,t.apply(m,n))}}),m}N(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=e[t];m.prototype[t]=function(){var n=this._wrapped;return null!=n&&(r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),Vt(this,n)}}),N(["concat","join","slice"],function(n){var t=e[n];m.prototype[n]=function(){var n=this._wrapped;return Vt(this,n=null!=n?t.apply(n,arguments):n)}});n=Ft({__proto__:null,VERSION:n,restArguments:l,isObject:o,isNull:function(n){return null===n},isUndefined:H,isBoolean:Q,isElement:function(n){return!(!n||1!==n.nodeType)},isString:X,isNumber:Y,isDate:Z,isRegExp:nn,isError:tn,isSymbol:rn,isArrayBuffer:en,isDataView:h,isArray:v,isFunction:p,isArguments:an,isFinite:function(n){return!rn(n)&&C(n)&&!isNaN(parseFloat(n))},isNaN:fn,isTypedArray:vn,isEmpty:function(n){var t;return null==n||("number"==typeof(t=g(n))&&(v(n)||X(n)||an(n))?0===t:0===g(b(n)))},isMatch:dn,isEqual:function(n,t){return mn(n,t)},isMap:u,isWeakMap:t,isSet:U,isWeakSet:a,keys:b,allKeys:c,values:j,pairs:function(n){for(var t=b(n),r=t.length,e=Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e},invert:An,functions:xn,methods:xn,extend:On,extendOwn:w,assign:w,defaults:Mn,create:function(n,t){return n=En(n),t&&w(n,t),n},clone:function(n){return o(n)?v(n)?n.slice():On({},n):n},tap:function(n,t){return t(n),n},get:In,has:function(n,t){for(var r=(t=_(t)).length,e=0;e<r;e++){var u=t[e];if(!y(n,u))return!1;n=n[u]}return!!r},mapObject:function(n,t,r){t=S(t,r);for(var e=b(n),u=e.length,o={},i=0;i<u;i++){var a=e[i];o[a]=t(n[a],a,n)}return o},identity:Tn,constant:cn,noop:Vn,toPath:Bn,property:kn,propertyOf:function(t){return null==t?Vn:function(n){return In(t,n)}},matcher:A,matches:A,times:function(n,t,r){var e=Array(Math.max(0,n));t=x(t,r,1);for(var u=0;u<n;u++)e[u]=t(u);return e},random:Fn,now:O,escape:qn,unescape:r,templateSettings:Un,template:function(o,n,t){n=Mn({},n=!n&&t?t:n,m.templateSettings);var r,t=RegExp([(n.escape||Wn).source,(n.interpolate||Wn).source,(n.evaluate||Wn).source].join("|")+"|$","g"),i=0,a="__p+='";if(o.replace(t,function(n,t,r,e,u){return a+=o.slice(i,u).replace(Ln,$n),i=u+n.length,t?a+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?a+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(a+="';\n"+e+"\n__p+='"),n}),a+="';\n",t=n.variable){if(!Cn.test(t))throw new Error("variable is not a bare identifier: "+t)}else a="with(obj||{}){\n"+a+"}\n",t="obj";a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{r=new Function(t,"_",a)}catch(n){throw n.source=a,n}function e(n){return r.call(this,n,m)}return e.source="function("+t+"){\n"+a+"}",e},result:function(n,t,r){var e=(t=_(t)).length;if(!e)return p(r)?r.call(n):r;for(var u=0;u<e;u++){var o=null==n?void 0:n[t[u]];void 0===o&&(o=r,u=e),n=p(o)?o.call(n):o}return n},uniqueId:function(n){var t=++Kn+"";return n?n+t:t},chain:function(n){return(n=m(n))._chain=!0,n},iteratee:Rn,partial:M,bind:Gn,bindAll:Hn,memoize:function(e,u){function o(n){var t=o.cache,r=""+(u?u.apply(this,arguments):n);return y(t,r)||(t[r]=e.apply(this,arguments)),t[r]}return o.cache={},o},delay:Qn,defer:Xn,throttle:function(r,e,u){function o(){l=!1===u.leading?0:O(),i=null,c=r.apply(a,f),i||(a=f=null)}function n(){var n=O(),t=(l||!1!==u.leading||(l=n),e-(n-l));return a=this,f=arguments,t<=0||e<t?(i&&(clearTimeout(i),i=null),l=n,c=r.apply(a,f),i||(a=f=null)):i||!1===u.trailing||(i=setTimeout(o,t)),c}var i,a,f,c,l=0;return u=u||{},n.cancel=function(){clearTimeout(i),l=0,i=a=f=null},n},debounce:function(t,r,e){function u(){var n=O()-i;n<r?o=setTimeout(u,r-n):(o=null,e||(f=t.apply(c,a)),o||(a=c=null))}var o,i,a,f,c,n=l(function(n){return c=this,a=n,i=O(),o||(o=setTimeout(u,r),e&&(f=t.apply(c,a))),f});return n.cancel=function(){clearTimeout(o),o=a=c=null},n},wrap:function(n,t){return M(t,n)},negate:Yn,compose:function(){var r=arguments,e=r.length-1;return function(){for(var n=e,t=r[e].apply(this,arguments);n--;)t=r[n].call(this,t);return t}},after:function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}},before:Zn,once:nt,findKey:tt,findIndex:et,findLastIndex:ut,sortedIndex:ot,indexOf:at,lastIndexOf:ft,find:ct,detect:ct,findWhere:function(n,t){return ct(n,A(t))},each:N,forEach:N,map:I,collect:I,reduce:st,foldl:st,inject:st,reduceRight:pt,foldr:pt,filter:T,select:T,reject:function(n,t,r){return T(n,Yn(S(t)),r)},every:ht,all:ht,some:vt,any:vt,contains:k,includes:k,include:k,invoke:yt,pluck:dt,where:function(n,t){return T(n,A(t))},max:gt,min:function(n,e,t){var r,u,o=1/0,i=1/0;if(null==e||"number"==typeof e&&"object"!=typeof n[0]&&null!=n)for(var a=0,f=(n=E(n)?n:j(n)).length;a<f;a++)null!=(r=n[a])&&r<o&&(o=r);else e=S(e,t),N(n,function(n,t,r){((u=e(n,t,r))<i||u===1/0&&o===1/0)&&(o=n,i=u)});return o},shuffle:function(n){return jt(n,1/0)},sample:jt,sortBy:function(n,e,t){var u=0;return e=S(e,t),dt(I(n,function(n,t,r){return{value:n,index:u++,criteria:e(n,t,r)}}).sort(function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(e<r||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index}),"value")},groupBy:wt,indexBy:_t,countBy:At,partition:xt,toArray:mt,size:function(n){return null==n?0:(E(n)?n:b(n)).length},pick:Ot,omit:Mt,first:Bt,head:Bt,take:Bt,initial:Et,last:function(n,t,r){return null==n||n.length<1?null==t||r?void 0:[]:null==t||r?n[n.length-1]:R(n,Math.max(0,n.length-t))},rest:R,tail:R,drop:R,compact:function(n){return T(n,Boolean)},flatten:function(n,t){return B(n,t,!1)},without:It,uniq:Tt,unique:Tt,union:kt,intersection:function(n){for(var t=[],r=arguments.length,e=0,u=g(n);e<u;e++){var o=n[e];if(!k(t,o)){for(var i=1;i<r&&k(arguments[i],o);i++);i===r&&t.push(o)}}return t},difference:Nt,unzip:Dt,transpose:Dt,zip:Rt,object:function(n,t){for(var r={},e=0,u=g(n);e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},range:function(n,t,r){null==t&&(t=n||0,n=0),r=r||(t<n?-1:1);for(var e=Math.max(Math.ceil((t-n)/r),0),u=Array(e),o=0;o<e;o++,n+=r)u[o]=n;return u},chunk:function(n,t){if(null==t||t<1)return[];for(var r=[],e=0,u=n.length;e<u;)r.push(f.call(n,e,e+=t));return r},mixin:Ft,default:m});return n._=n});
window.wp=window.wp||{},function(r){var t="undefined"==typeof _wpUtilSettings?{}:_wpUtilSettings;wp.template=_.memoize(function(a){var n,s={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"};return function(t){var e=document.querySelector("script#tmpl-"+a);if(e)return(n=n||_.template(r(e).html(),s))(t);throw new Error("Template not found: #tmpl-"+a)}}),wp.ajax={settings:t.ajax||{},post:function(t,e){return wp.ajax.send({data:_.isObject(t)?t:_.extend(e||{},{action:t})})},send:function(n,t){var e,a;return _.isObject(n)?t=n:(t=t||{}).data=_.extend(t.data||{},{action:n}),t=_.defaults(t||{},{type:"POST",url:wp.ajax.settings.url,context:this}),(e=(a=r.Deferred(function(a){t.success&&a.done(t.success),t.error&&a.fail(t.error),delete t.success,delete t.error,a.jqXHR=r.ajax(t).done(function(t){var e;"1"!==t&&1!==t||(t={success:!0}),_.isObject(t)&&!_.isUndefined(t.success)?(e=this,a.done(function(){n&&n.data&&"query-attachments"===n.data.action&&a.jqXHR.hasOwnProperty("getResponseHeader")&&a.jqXHR.getResponseHeader("X-WP-Total")?e.totalAttachments=parseInt(a.jqXHR.getResponseHeader("X-WP-Total"),10):e.totalAttachments=0}),a[t.success?"resolveWith":"rejectWith"](this,[t.data])):a.rejectWith(this,[t])}).fail(function(){a.rejectWith(this,arguments)})})).promise()).abort=function(){return a.jqXHR.abort(),this},e}}}(jQuery);
!function(t,a,i,e){var r=function(t){var a=this;a.$form=t,a.$attributeFields=t.find(".variations select"),a.$singleVariation=t.find(".single_variation"),a.$singleVariationWrap=t.find(".single_variation_wrap"),a.$resetVariations=t.find(".reset_variations"),a.$resetAlert=t.find(".reset_variations_alert"),a.$product=t.closest(".product"),a.variationData=t.data("product_variations"),a.useAjax=!1===a.variationData,a.xhr=!1,a.loading=!0,a.$singleVariationWrap.show(),a.$form.off(".wc-variation-form"),a.getChosenAttributes=a.getChosenAttributes.bind(a),a.findMatchingVariations=a.findMatchingVariations.bind(a),a.isMatch=a.isMatch.bind(a),a.toggleResetLink=a.toggleResetLink.bind(a),a.showNoMatchingVariationsMsg=a.showNoMatchingVariationsMsg.bind(a),t.on("click.wc-variation-form",".reset_variations",{variationForm:a},a.onReset),t.on("reload_product_variations",{variationForm:a},a.onReload),t.on("hide_variation",{variationForm:a},a.onHide),t.on("show_variation",{variationForm:a},a.onShow),t.on("click",".single_add_to_cart_button",{variationForm:a},a.onAddToCart),t.on("reset_data",{variationForm:a},a.onResetDisplayedVariation),t.on("reset_focus",{variationForm:a},a.onResetVariationFocus),t.on("announce_reset",{variationForm:a},a.onAnnounceReset),t.on("clear_reset_announcement",{variationForm:a},a.onClearResetAnnouncement),t.on("reset_image",{variationForm:a},a.onResetImage),t.on("change.wc-variation-form",".variations select",{variationForm:a},a.onChange),t.on("found_variation.wc-variation-form",{variationForm:a},a.onFoundVariation),t.on("check_variations.wc-variation-form",{variationForm:a},a.onFindVariation),t.on("update_variation_values.wc-variation-form",{variationForm:a},a.onUpdateAttributes),t.on("keydown.wc-variation-form",".reset_variations",{variationForm:a},a.onResetKeyDown),setTimeout(function(){t.trigger("check_variations"),t.trigger("wc_variation_form",a),a.loading=!1},100)};r.prototype.onReset=function(t){t.preventDefault(),t.data.variationForm.$attributeFields.val("").trigger("change"),t.data.variationForm.$form.trigger("announce_reset"),t.data.variationForm.$form.trigger("reset_data"),t.data.variationForm.$form.trigger("reset_focus")},r.prototype.onReload=function(t){var a=t.data.variationForm;a.variationData=a.$form.data("product_variations"),a.useAjax=!1===a.variationData,a.$form.trigger("check_variations")},r.prototype.onHide=function(t){t.preventDefault(),t.data.variationForm.$form.find(".single_add_to_cart_button").removeClass("wc-variation-is-unavailable").addClass("disabled wc-variation-selection-needed"),t.data.variationForm.$form.find(".woocommerce-variation-add-to-cart").removeClass("woocommerce-variation-add-to-cart-enabled").addClass("woocommerce-variation-add-to-cart-disabled")},r.prototype.onShow=function(a,i,e){a.preventDefault(),e?(a.data.variationForm.$form.find(".single_add_to_cart_button").removeClass("disabled wc-variation-selection-needed wc-variation-is-unavailable"),a.data.variationForm.$form.find(".woocommerce-variation-add-to-cart").removeClass("woocommerce-variation-add-to-cart-disabled").addClass("woocommerce-variation-add-to-cart-enabled")):(a.data.variationForm.$form.find(".single_add_to_cart_button").removeClass("wc-variation-selection-needed").addClass("disabled wc-variation-is-unavailable"),a.data.variationForm.$form.find(".woocommerce-variation-add-to-cart").removeClass("woocommerce-variation-add-to-cart-enabled").addClass("woocommerce-variation-add-to-cart-disabled")),wp.mediaelement&&a.data.variationForm.$form.find(".wp-audio-shortcode, .wp-video-shortcode").not(".mejs-container").filter(function(){return!t(this).parent().hasClass("mejs-mediaelement")}).mediaelementplayer(wp.mediaelement.settings)},r.prototype.onAddToCart=function(i){t(this).is(".disabled")&&(i.preventDefault(),t(this).is(".wc-variation-is-unavailable")?a.alert(wc_add_to_cart_variation_params.i18n_unavailable_text):t(this).is(".wc-variation-selection-needed")&&a.alert(wc_add_to_cart_variation_params.i18n_make_a_selection_text))},r.prototype.onResetDisplayedVariation=function(t){var a=t.data.variationForm;a.$product.find(".product_meta").find(".sku").wc_reset_content(),a.$product.find(".product_weight, .woocommerce-product-attributes-item--weight .woocommerce-product-attributes-item__value").wc_reset_content(),a.$product.find(".product_dimensions, .woocommerce-product-attributes-item--dimensions .woocommerce-product-attributes-item__value").wc_reset_content(),a.$form.trigger("reset_image"),a.$singleVariation.slideUp(200).trigger("hide_variation")},r.prototype.onAnnounceReset=function(t){t.data.variationForm.$resetAlert.text(wc_add_to_cart_variation_params.i18n_reset_alert_text)},r.prototype.onResetVariationFocus=function(t){t.data.variationForm.$attributeFields[0].focus()},r.prototype.onClearResetAnnouncement=function(t){t.data.variationForm.$resetAlert.text("")},r.prototype.onResetImage=function(t){t.data.variationForm.$form.wc_variations_image_update(!1)},r.prototype.onFindVariation=function(a,i){var e=a.data.variationForm,r=void 0!==i?i:e.getChosenAttributes(),o=r.data;if(r.count&&r.count===r.chosenCount)if(e.useAjax)e.xhr&&e.xhr.abort(),e.$form.block({message:null,overlayCSS:{background:"#fff",opacity:.6}}),o.product_id=parseInt(e.$form.data("product_id"),10),o.custom_data=e.$form.data("custom_data"),e.xhr=t.ajax({url:wc_add_to_cart_variation_params.wc_ajax_url.toString().replace("%%endpoint%%","get_variation"),type:"POST",data:o,success:function(t){t?e.$form.trigger("found_variation",[t]):(e.$form.trigger("reset_data"),r.chosenCount=0,e.loading||e.showNoMatchingVariationsMsg())},complete:function(){e.$form.unblock()}});else{e.$form.trigger("update_variation_values");var n=e.findMatchingVariations(e.variationData,o).shift();n?e.$form.trigger("found_variation",[n]):(e.$form.trigger("reset_data"),r.chosenCount=0,e.loading||e.showNoMatchingVariationsMsg())}else e.$form.trigger("update_variation_values"),e.$form.trigger("reset_data");e.toggleResetLink(r.chosenCount>0)},r.prototype.onFoundVariation=function(a,i){var e=a.data.variationForm,r=e.$product.find(".product_meta").find(".sku"),n=e.$product.find(".product_weight, .woocommerce-product-attributes-item--weight .woocommerce-product-attributes-item__value"),s=e.$product.find(".product_dimensions, .woocommerce-product-attributes-item--dimensions .woocommerce-product-attributes-item__value"),c=e.$singleVariationWrap.find('.quantity input.qty[name="quantity"]'),_=c.closest(".quantity"),d=!0,m=!1,v="";if(i.sku?r.wc_set_content(i.sku):r.wc_reset_content(),i.weight?n.wc_set_content(i.weight_html):n.wc_reset_content(),i.dimensions?s.wc_set_content(t.parseHTML(i.dimensions_html)[0].data):s.wc_reset_content(),e.$form.wc_variations_image_update(i),i.variation_is_visible?(m=o("variation-template"),i.variation_id):m=o("unavailable-variation-template"),v=(v=(v=m({variation:i})).replace("/*<![CDATA[*/","")).replace("/*]]>*/",""),e.$form.find('input[name="variation_id"], input.variation_id').val(i.variation_id).trigger("change"),"yes"===i.is_sold_individually)c.val("1").attr("min","1").attr("max","").trigger("change"),_.hide();else{var l=parseFloat(c.val());l=isNaN(l)?i.min_qty:(l=l>parseFloat(i.max_qty)?i.max_qty:l)<parseFloat(i.min_qty)?i.min_qty:l,c.attr("min",i.min_qty).attr("max",i.max_qty).val(l).trigger("change"),_.show()}i.is_purchasable&&i.is_in_stock&&i.variation_is_visible||(d=!1),setTimeout(function(){e.$singleVariation.html(v),e.$singleVariation.text().trim()?e.$singleVariation.slideDown(200).trigger("show_variation",[i,d]):e.$singleVariation.show().trigger("show_variation",[i,d])},300)},r.prototype.onChange=function(t){var a=t.data.variationForm;a.$form.find('input[name="variation_id"], input.variation_id').val("").trigger("change"),a.$form.trigger("clear_reset_announcement"),a.$form.find(".wc-no-matching-variations").parent().remove(),a.useAjax?a.$form.trigger("check_variations"):(a.$form.trigger("woocommerce_variation_select_change"),a.$form.trigger("check_variations")),a.$form.trigger("woocommerce_variation_has_changed")},r.prototype.addSlashes=function(t){return t=(t=t.replace(/'/g,"\\'")).replace(/"/g,'\\"')},r.prototype.onUpdateAttributes=function(a){var i=a.data.variationForm,e=i.getChosenAttributes().data;i.useAjax||(i.$attributeFields.each(function(a,r){var o,n=t(r),s=n.data("attribute_name")||n.attr("name"),c=t(r).data("show_option_none"),_=":gt(0)",d=t("<select/>"),m=n.val()||"",v=!0;if(!n.data("attribute_html")){var l=n.clone();l.find("option").removeAttr("attached").prop("disabled",!1).prop("selected",!1),n.data("attribute_options",l.find("option"+_).get()),n.data("attribute_html",l.html())}d.html(n.data("attribute_html"));var g=t.extend(!0,{},e);g[s]="";var u=i.findMatchingVariations(i.variationData,g);for(var f in u)if("undefined"!=typeof u[f]){var h=u[f].attributes;for(var p in h)if(h.hasOwnProperty(p)){var w=h[p],b="";if(p===s)if(u[f].variation_is_active&&(b="enabled"),w){w=t("<div/>").html(w).text();var $=d.find("option");if($.length)for(var y=0,F=$.length;y<F;y++){var x=t($[y]);if(w===x.val()){x.addClass("attached "+b);break}}}else d.find("option:gt(0)").addClass("attached "+b)}}o=d.find("option.attached").length,m&&(v=!1,0!==o&&d.find("option.attached.enabled").each(function(){var a=t(this).val();if(m===a)return v=!0,!1})),o>0&&m&&v&&"no"===c&&(d.find("option:first").remove(),_=""),d.find("option"+_+":not(.attached)").remove(),n.html(d.html()),n.find("option"+_+":not(.enabled)").prop("disabled",!0),m?v?n.val(m):n.val("").trigger("change"):n.val("")}),i.$form.trigger("woocommerce_update_variation_values"))},r.prototype.getChosenAttributes=function(){var a={},i=0,e=0;return this.$attributeFields.each(function(){var r=t(this).data("attribute_name")||t(this).attr("name"),o=t(this).val()||"";o.length>0&&e++,i++,a[r]=o}),{count:i,chosenCount:e,data:a}},r.prototype.findMatchingVariations=function(t,a){for(var i=[],e=0;e<t.length;e++){var r=t[e];this.isMatch(r.attributes,a)&&i.push(r)}return i},r.prototype.isMatch=function(t,a){var i=!0;for(var e in t)if(t.hasOwnProperty(e)){var r=t[e],o=a[e];void 0!==r&&void 0!==o&&0!==r.length&&0!==o.length&&r!==o&&(i=!1)}return i},r.prototype.toggleResetLink=function(t){t?"hidden"===this.$resetVariations.css("visibility")&&this.$resetVariations.css("visibility","visible").hide().fadeIn():this.$resetVariations.css("visibility","hidden")},r.prototype.showNoMatchingVariationsMsg=function(){this.$form.find(".single_variation").after('<div role="alert"><p class="wc-no-matching-variations woocommerce-info">'+wc_add_to_cart_variation_params.i18n_no_matching_variations_text+"</p></div>").next("div").find(".wc-no-matching-variations").slideDown(200)},r.prototype.onResetKeyDown=function(t){"Enter"!==t.code&&"Space"!==t.code||(t.preventDefault(),t.data.variationForm.onReset(t))},t.fn.wc_variation_form=function(){return new r(this),this},t.fn.wc_set_content=function(t){void 0===this.attr("data-o_content")&&this.attr("data-o_content",this.text()),this.text(t)},t.fn.wc_reset_content=function(){void 0!==this.attr("data-o_content")&&this.text(this.attr("data-o_content"))},t.fn.wc_set_variation_attr=function(t,a){void 0===this.attr("data-o_"+t)&&this.attr("data-o_"+t,this.attr(t)?this.attr(t):""),!1===a?this.removeAttr(t):this.attr(t,a)},t.fn.wc_reset_variation_attr=function(t){void 0!==this.attr("data-o_"+t)&&this.attr(t,this.attr("data-o_"+t))},t.fn.wc_maybe_trigger_slide_position_reset=function(a){var i=t(this),e=i.closest(".product").find(".images"),r=!1,o=a&&a.image_id?a.image_id:"";i.attr("current-image")!==o&&(r=!0),i.attr("current-image",o),r&&e.trigger("woocommerce_gallery_reset_slide_position")},t.fn.wc_variations_image_update=function(i){var e=this,r=e.closest(".product"),o=r.find(".images"),n=r.find(".flex-control-nav"),s=n.find("li:eq(0) img"),c=o.find(".woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder").eq(0),_=c.find(".wp-post-image"),d=c.find("a").eq(0);if(i&&i.image&&i.image.src&&i.image.src.length>1){n.find('li img[data-o_src="'+i.image.gallery_thumbnail_src+'"]').length>0&&e.wc_variations_image_reset();var m=n.find('li img[src="'+i.image.gallery_thumbnail_src+'"]');if(m.length>0)return m.trigger("flexslider-click"),e.attr("current-image",i.image_id),void a.setTimeout(function(){t(a).trigger("resize"),o.trigger("woocommerce_gallery_init_zoom")},20);_.wc_set_variation_attr("src",i.image.src),_.wc_set_variation_attr("height",i.image.src_h),_.wc_set_variation_attr("width",i.image.src_w),_.wc_set_variation_attr("srcset",i.image.srcset),_.wc_set_variation_attr("sizes",i.image.sizes),_.wc_set_variation_attr("title",i.image.title),_.wc_set_variation_attr("data-caption",i.image.caption),_.wc_set_variation_attr("alt",i.image.alt),_.wc_set_variation_attr("data-src",i.image.full_src),_.wc_set_variation_attr("data-large_image",i.image.full_src),_.wc_set_variation_attr("data-large_image_width",i.image.full_src_w),_.wc_set_variation_attr("data-large_image_height",i.image.full_src_h),c.wc_set_variation_attr("data-thumb",i.image.src),s.wc_set_variation_attr("src",i.image.gallery_thumbnail_src),d.wc_set_variation_attr("href",i.image.full_src)}else e.wc_variations_image_reset();a.setTimeout(function(){t(a).trigger("resize"),e.wc_maybe_trigger_slide_position_reset(i),o.trigger("woocommerce_gallery_init_zoom")},20)},t.fn.wc_variations_image_reset=function(){var t=this.closest(".product"),a=t.find(".images"),i=t.find(".flex-control-nav").find("li:eq(0) img"),e=a.find(".woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder").eq(0),r=e.find(".wp-post-image"),o=e.find("a").eq(0);r.wc_reset_variation_attr("src"),r.wc_reset_variation_attr("width"),r.wc_reset_variation_attr("height"),r.wc_reset_variation_attr("srcset"),r.wc_reset_variation_attr("sizes"),r.wc_reset_variation_attr("title"),r.wc_reset_variation_attr("data-caption"),r.wc_reset_variation_attr("alt"),r.wc_reset_variation_attr("data-src"),r.wc_reset_variation_attr("data-large_image"),r.wc_reset_variation_attr("data-large_image_width"),r.wc_reset_variation_attr("data-large_image_height"),e.wc_reset_variation_attr("data-thumb"),i.wc_reset_variation_attr("src"),o.wc_reset_variation_attr("href")},t(function(){"undefined"!=typeof wc_add_to_cart_variation_params&&t(".variations_form").each(function(){t(this).wc_variation_form()})});var o=function(t){var e=i.getElementById("tmpl-"+t).textContent,r=!1;return(r=(r=(r=r||/<#\s?data\./.test(e))||/{{{?\s?data\.(?!variation\.).+}}}?/.test(e))||/{{{?\s?data\.variation\.[\w-]*[^\s}]/.test(e))?wp.template(t):function(t){var i=t.variation||{};return e.replace(/({{{?)\s?data\.variation\.([\w-]*)\s?(}}}?)/g,function(t,e,r,o){if(e.length!==o.length)return"";var n=i[r]||"";return 2===e.length?a.escape(n):n})}}}(jQuery,window,document);
!function(t){"function"==typeof define&&define.amd?define([],t):"undefined"!=typeof module&&null!==module&&module.exports?module.exports=t:t()}(function(){var i=Object.assign||window.jQuery&&jQuery.extend,c=8,r=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t,e){return window.setTimeout(function(){t()},25)};function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}"function"!=typeof window.CustomEvent&&(t.prototype=window.Event.prototype,window.CustomEvent=t);var o,n={textarea:!0,input:!0,select:!0,button:!0},a={move:"mousemove",cancel:"mouseup dragstart",end:"mouseup"},s={move:"touchmove",cancel:"touchend",end:"touchend"},u=/\s+/,l={bubbles:!0,cancelable:!0},e="function"==typeof Symbol?Symbol("events"):{};function f(t){return t[e]||(t[e]={})}function h(t,e,n,i){e=e.split(u);var o,r=f(t),a=e.length;function s(t){n(t,i)}for(;a--;)(r[o=e[a]]||(r[o]=[])).push([n,s]),t.addEventListener(o,s)}function p(t,e,n){e=e.split(u);var i,o,r,a=f(t),s=e.length;if(a)for(;s--;)if(o=a[i=e[s]])for(r=o.length;r--;)o[r][0]===n&&(t.removeEventListener(i,o[r][1]),o.splice(r,1))}function d(t,e,n){e=new CustomEvent(e,l);n&&i(e,n),t.dispatchEvent(e)}function m(t){var n=t,i=!1,o=!1;function e(t){i?(n(),r(e),i=!(o=!0)):o=!1}this.kick=function(t){i=!0,o||e()},this.end=function(t){var e=n;t&&(o?(n=i?function(){e(),t()}:t,i=!0):t())}}function v(){}function y(t){t.preventDefault()}function g(t,e){var n,i;if(t.identifiedTouch)return t.identifiedTouch(e);for(n=-1,i=t.length;++n<i;)if(t[n].identifier===e)return t[n]}function w(t,e){t=g(t.changedTouches,e.identifier);if(t&&(t.pageX!==e.pageX||t.pageY!==e.pageY))return t}function _(t,e){x(t,e,t,k)}function b(t,e){k()}function k(){p(document,a.move,_),p(document,a.cancel,b)}function S(t){p(document,s.move,t.touchmove),p(document,s.cancel,t.touchend)}function x(t,e,n,i){var o,r,a,s=n.pageX-e.pageX,u=n.pageY-e.pageY;s*s+u*u<c*c||(e=e,r=n,i=i,t=(o=t).targetTouches,a=o.timeStamp-e.timeStamp,r={altKey:o.altKey,ctrlKey:o.ctrlKey,shiftKey:o.shiftKey,startX:e.pageX,startY:e.pageY,distX:s,distY:u,deltaX:s,deltaY:u,pageX:n.pageX,pageY:n.pageY,velocityX:s/a,velocityY:u/a,identifier:e.identifier,targetTouches:t,finger:t?t.length:1,enableMove:function(){this.moveEnabled=!0,this.enableMove=v,o.preventDefault()}},d(e.target,"movestart",r),i(e))}function T(t,e){var n=e.timer;e.touch=t,e.timeStamp=t.timeStamp,n.kick()}function C(t,e){var n=e.target,i=e.event,e=e.timer;p(document,a.move,T),p(document,a.end,C),j(n,i,e,function(){setTimeout(function(){p(n,"click",y)},0)})}function O(t,e){var n=e.target,i=e.event,o=e.timer;g(t.changedTouches,i.identifier)&&(t=e,p(document,s.move,t.activeTouchmove),p(document,s.end,t.activeTouchend),j(n,i,o))}function j(t,e,n,i){n.end(function(){return d(t,"moveend",e),i&&i()})}function A(t){t.enableMove()}function P(t){t.enableMove()}function E(t){t.enableMove()}function M(t){var i=t.handler;t.handler=function(t){for(var e,n=o.length;n--;)t[e=o[n]]=t.originalEvent[e];i.apply(this,arguments)}}h(document,"mousedown",function(t){var e;1!==(e=t).which||e.ctrlKey||e.altKey||n[t.target.tagName.toLowerCase()]||(h(document,a.move,_,t),h(document,a.cancel,b,t))}),h(document,"touchstart",function(t){n[t.target.tagName.toLowerCase()]||(t={target:(t=t.changedTouches[0]).target,pageX:t.pageX,pageY:t.pageY,identifier:t.identifier,touchmove:function(t,e){var n;(n=w(t=t,e=e))&&x(t,e,n,S)},touchend:function(t,e){e=e,g(t.changedTouches,e.identifier)&&S(e)}},h(document,s.move,t.touchmove,t),h(document,s.cancel,t.touchend,t))}),h(document,"movestart",function(t){var e,n;t.defaultPrevented||t.moveEnabled&&(e={startX:t.startX,startY:t.startY,pageX:t.pageX,pageY:t.pageY,distX:t.distX,distY:t.distY,deltaX:t.deltaX,deltaY:t.deltaY,velocityX:t.velocityX,velocityY:t.velocityY,identifier:t.identifier,targetTouches:t.targetTouches,finger:t.finger},n={target:t.target,event:e,timer:new m(function(t){(function(t,e,n){n-=t.timeStamp,t.distX=e.pageX-t.startX,t.distY=e.pageY-t.startY,t.deltaX=e.pageX-t.pageX,t.deltaY=e.pageY-t.pageY,t.velocityX=.3*t.velocityX+.7*t.deltaX/n,t.velocityY=.3*t.velocityY+.7*t.deltaY/n,t.pageX=e.pageX,t.pageY=e.pageY})(e,n.touch,n.timeStamp),d(n.target,"move",e)}),touch:void 0,timeStamp:t.timeStamp},void 0===t.identifier?(h(t.target,"click",y),h(document,a.move,T,n),h(document,a.end,C,n)):(n.activeTouchmove=function(t,e){var n,i,o;t=t,n=(e=e).event,i=e.timer,(o=w(t,n))&&(t.preventDefault(),n.targetTouches=t.targetTouches,e.touch=o,e.timeStamp=t.timeStamp,i.kick())},n.activeTouchend=function(t,e){O(t,e)},h(document,s.move,n.activeTouchmove,n),h(document,s.end,n.activeTouchend,n)))}),window.jQuery&&(o="startX startY pageX pageY distX distY deltaX deltaY velocityX velocityY".split(" "),jQuery.event.special.movestart={setup:function(){return h(this,"movestart",A),!1},teardown:function(){return p(this,"movestart",A),!1},add:M},jQuery.event.special.move={setup:function(){return h(this,"movestart",P),!1},teardown:function(){return p(this,"movestart",P),!1},add:M},jQuery.event.special.moveend={setup:function(){return h(this,"movestart",E),!1},teardown:function(){return p(this,"movestart",E),!1},add:M})}),!function(k){k.fn.twentytwenty=function(b){b=k.extend({default_offset_pct:.5,orientation:"horizontal",before_label:"Before",after_label:"After",no_overlay:!1,move_slider_on_hover:!1,move_with_handle_only:!0,click_to_move:!1},b);return this.each(function(){function t(t){((t.distX>t.distY&&t.distX<-t.distY||t.distX<t.distY&&t.distX>-t.distY)&&"vertical"!==r||(t.distX<t.distY&&t.distX<-t.distY||t.distX>t.distY&&t.distX>-t.distY)&&"vertical"===r)&&t.preventDefault(),o.addClass("active"),v=o.offset().left,y=o.offset().top,g=u.width(),w=u.height()}function e(t){o.hasClass("active")&&(i=m(t.pageX,t.pageY),p(i))}function n(){o.removeClass("active")}var i=b.default_offset_pct,o=k(this),r=b.orientation,a="vertical"===r?"down":"left",s="vertical"===r?"up":"right",u=(o.wrap("<div class='twentytwenty-wrapper twentytwenty-"+r+"'></div>"),b.no_overlay||(o.append("<div class='twentytwenty-overlay'></div>"),(_=o.find(".twentytwenty-overlay")).append("<div class='twentytwenty-before-label' data-content='"+b.before_label+"'></div>"),_.append("<div class='twentytwenty-after-label' data-content='"+b.after_label+"'></div>")),o.find("img:first")),c=o.find("img:last"),l=(o.append("<div class='twentytwenty-handle'></div>"),o.find(".twentytwenty-handle")),f=(l.append("<span class='twentytwenty-"+a+"-arrow'></span>"),l.append("<span class='twentytwenty-"+s+"-arrow'></span>"),o.addClass("twentytwenty-container"),u.addClass("twentytwenty-before"),c.addClass("twentytwenty-after"),function(t){var e=u.width(),n=u.height();return{w:e+"px",h:n+"px",cw:t*e+"px",ch:t*n+"px"}}),h=function(t){"vertical"===r?(u.css("clip","rect(0,"+t.w+","+t.ch+",0)"),c.css("clip","rect("+t.ch+","+t.w+","+t.h+",0)")):(u.css("clip","rect(0,"+t.cw+","+t.h+",0)"),c.css("clip","rect(0,"+t.w+","+t.h+","+t.cw+")")),o.css("height",t.h)},p=function(t){t=f(t);l.css("vertical"===r?"top":"left","vertical"===r?t.ch:t.cw),h(t)},d=function(t,e,n){return Math.max(e,Math.min(n,t))},m=function(t,e){return d("vertical"===r?(e-y)/w:(t-v)/g,0,1)},v=(k(window).on("resize.twentytwenty",function(t){p(i)}),0),y=0,g=0,w=0,_=b.move_with_handle_only?l:o;_.on("movestart",t),_.on("move",e),_.on("moveend",n),b.move_slider_on_hover&&(o.on("mouseenter",t),o.on("mousemove",e),o.on("mouseleave",n)),l.on("touchmove",function(t){t.preventDefault()}),o.find("img").on("mousedown",function(t){t.preventDefault()}),b.click_to_move&&o.on("click",function(t){v=o.offset().left,y=o.offset().top,g=u.width(),w=u.height(),i=m(t.pageX,t.pageY),p(i)}),k(window).trigger("resize.twentytwenty")})}}(jQuery),!function(t){function e(t,a){(t=t.find("[data-pafe-before-after-image-comparison-slider]")).length&&a.each(t,function(t,e){var n="yes"!=(n=a(e).attr("data-pafe-before-after-image-overlay")),i="yes"==(i=a(e).attr("data-pafe-before-after-image-move-slider-on-hover")),o="yes"==(o=a(e).attr("data-pafe-before-after-image-move-with-handle-only")),r="yes"==(r=a(e).attr("data-pafe-before-after-image-click-to-move"));a(e).twentytwenty({default_offset_pct:a(e).attr("data-pafe-before-after-image-percent"),orientation:a(e).attr("data-pafe-before-after-image-orientation"),before_label:a(e).attr("data-pafe-before-after-image-before-label"),after_label:a(e).attr("data-pafe-before-after-image-after-label"),no_overlay:n,move_slider_on_hover:i,move_with_handle_only:o,click_to_move:r})})}t(window).on("load",function(){t("body").resize()}),t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-before-after-image-comparison-slider.default",e)})}(jQuery),jQuery(document).ready(function(t){}),jQuery(document).ready(function(t){t(document).on("click",".pafe-hotspot__marker-icon",function(){"click"==t(this).attr("data-pafe-hotspot-trigger")&&t(this).children(".pafe-hotspot__tooltip").toggleClass("active")}),t(".pafe-hotspot__marker-icon").hover(function(){"hover"==t(this).attr("data-pafe-hotspot-trigger")&&t(this).children(".pafe-hotspot__tooltip").toggleClass("active")})}),jQuery(document).ready(function(e){e("[data-pafe-image-accordion-list]").each(function(){var t=e(this).attr("data-pafe-image-accordion-option");$item=e(this).find("[data-pafe-image-accordion-item]"),"hover"==t?$item.hover(function(){e(this).closest("[data-pafe-image-accordion-list]").find("[data-pafe-image-accordion-item]").removeClass("active"),e(this).addClass("active")}):$item.click(function(){e(this).closest("[data-pafe-image-accordion-list]").find("[data-pafe-image-accordion-item]").removeClass("active"),e(this).addClass("active")})})}),!function(t){function e(t,e){($listItem=t.find("[data-pafe-image-accordion-list]")).each(function(){var t=e(this).attr("data-pafe-image-accordion-option");$item=e(this).find("[data-pafe-image-accordion-item]"),"hover"==t?$item.hover(function(){e(this).closest("[data-pafe-image-accordion-list]").find("[data-pafe-image-accordion-item]").removeClass("active"),e(this).addClass("active")}):$item.click(function(){e(this).closest("[data-pafe-image-accordion-list]").find("[data-pafe-image-accordion-item]").removeClass("active"),e(this).addClass("active")})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-image-accordion.default",e)})}(jQuery),jQuery(document).ready(function(i){i(".elementor-image-carousel").each(function(){var t=i(this).find("a[data-elementor-lightbox-index]").attr("href");if(null!=t&&0<=t.indexOf(",")){linkImages=t.split(",");for(var e,n=0;n<=linkImages.length;n++)null!=linkImages[n]&&(e=linkImages[n].trim(),i(this).find('a[data-elementor-lightbox-index="'+n+'"]').attr("href",e))}})}),!function(t){function e(t,i){($items=t.find("[data-pafe-posts-list-filter-item]")).click(function(){var t=i(this).closest("[data-pafe-posts-list]"),e=t.find("[data-pafe-tab-content-post]"),t=JSON.parse(t.attr("data-pafe-posts-list-option")),n=i(this).attr("data-id"),t=(post_type=t.post_type,taxonomy=t.taxonomy,posts_per_page=t.post_per_pages,author=t.author,date=t.date,excerpt=t.excerpt,layout=t.layout_type,e.css("opacity","0.5"),{action:"pafe_posts_list",post_type:post_type,taxonomy:taxonomy,posts_per_page:posts_per_page,term_id:n,author:author,date:date,excerpt:excerpt,layout:layout});i(this).addClass("actives"),i("[data-pafe-posts-list-filter-item]").not(this).removeClass("actives"),i.post(i("[data-pafe-ajax-url]").data("pafe-ajax-url"),t,function(t){e.html(t),e.css("opacity","1")})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-posts-list.default",e)})}(jQuery),!function(t){function e(t,i){($items=t.find("[data-pafe-product-tabs-filter-item]")).click(function(){var t=i(this).closest("[data-pafe-product-tabs]"),e=t.find("[data-pafe-product-tabs-result]"),t=JSON.parse(t.attr("data-pafe-product-tabs-option")),n=i(this).attr("data-pafe-product-tabs-id"),t=(posts_per_page=t.post_per_pages,console.log(n),e.css("opacity","0.5"),{action:"pafe_product_tabs",posts_per_page:posts_per_page,term_id:n});i(this).addClass("actives"),i("[pafe-product-tabs__filter-item]").not(this).removeClass("actives"),i.post(i("[data-pafe-ajax-url]").data("pafe-ajax-url"),t,function(t){e.html(t),e.css("opacity","1")})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-product-tabs.default",e)})}(jQuery),!function(t){!function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).ProgressBar=t()}(function(){return function i(o,r,a){function s(e,t){if(!r[e]){if(!o[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(u)return u(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}n=r[e]={exports:{}},o[e][0].call(n.exports,function(t){return s(o[e][1][t]||t)},n,n.exports,i,o,r,a)}return r[e].exports}for(var u="function"==typeof require&&require,t=0;t<a.length;t++)s(a[t]);return s}({1:[function(t,e,n){var i,o;i=window,o=function(){return n=[function(t,w,_){"use strict";!function(t){function e(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(i){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},e=Object.keys(o);(e="function"==typeof Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(o).filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable})):e).forEach(function(t){var e,n;e=i,n=o[t=t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return i}function n(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=new y,t=e.tween(t);return t.tweenable=e,t}_.d(w,"e",function(){return d}),_.d(w,"c",function(){return m}),_.d(w,"b",function(){return v}),_.d(w,"a",function(){return y}),_.d(w,"d",function(){return n});function p(){}function i(t,e){var n=t._attachment,i=t._currentState,o=t._delay,r=t._easing,a=t._originalState,s=t._duration,u=t._step,c=t._targetState,l=t._timestamp,f=l+o+s,h=s-(f-(e=f<e?f:e));f<=e?(u(c,n,h),t.stop(!0)):(t._applyFilter("beforeTween"),e<l+o?l=s=e=1:l+=o,d(e,i,a,c,s,l,r),t._applyFilter("afterTween"),u(i,n,h))}function s(t){var e,n;t===c?(c=t._next)?c._previous=null:l=null:t===l?(l=t._previous)?l._next=null:c=null:(e=t._previous,n=t._next,(e._next=n)._previous=e),t._previous=t._next=null}var o=_(1),r="undefined"!=typeof window?window:t,u=r.requestAnimationFrame||r.webkitRequestAnimationFrame||r.oRequestAnimationFrame||r.msRequestAnimationFrame||r.mozCancelRequestAnimationFrame&&r.mozRequestAnimationFrame||setTimeout,c=null,l=null,f=h({},o),d=function(t,e,n,i,o,r,a){var s,u=t<r?0:(t-r)/o;for(s in e){var c=a[s],c=c.call?c:f[c],l=n[s];e[s]=l+(i[s]-l)*c(u)}return e},m=function(){for(var t=y.now(),e=c;e;){var n=e._next;i(e,t),e=n}},v=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"linear",n={},i=a(e);if("string"===i||"function"===i)for(var o in t)n[o]=e;else for(var r in t)n[r]=e[r]||"linear";return n},y=(e(g.prototype,[{key:"_applyFilter",value:function(t){var e=!0,n=!1,i=void 0;try{for(var o,r=this._filters[Symbol.iterator]();!(e=(o=r.next()).done);e=!0){var a=o.value[t];a&&a(this)}}catch(t){n=!0,i=t}finally{try{e||null==r.return||r.return()}finally{if(n)throw i}}}},{key:"tween",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:void 0,e=this._attachment,n=this._configured;return!t&&n||this.setConfig(t),this._pausedAtTime=null,this._timestamp=g.now(),this._start(this.get(),e),this.resume()}},{key:"setConfig",value:function(){var t,n=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=e.attachment,o=e.delay,o=void 0===o?0:o,r=e.duration,r=void 0===r?500:r,a=e.easing,s=e.from,u=e.promise,u=void 0===u?Promise:u,c=e.start,c=void 0===c?p:c,l=e.step,l=void 0===l?p:l,e=e.to,i=(this._configured=!0,this._attachment=i,this._isPlaying=!1,this._pausedAtTime=null,this._scheduleId=null,this._delay=o,this._start=c,this._step=l,this._duration=r,this._currentState=h({},s||this.get()),this._originalState=this.get(),this._targetState=h({},e||this.get()),this._currentState),f=(this._targetState=h({},i,this._targetState),this._easing=v(i,a),g.filters);for(t in this._filters.length=0,f)f[t].doesApply(this)&&this._filters.push(f[t]);return this._applyFilter("tweenCreated"),this._promise=new u(function(t,e){n._resolve=t,n._reject=e}),this._promise.catch(p),this}},{key:"get",value:function(){return h({},this._currentState)}},{key:"set",value:function(t){this._currentState=t}},{key:"pause",value:function(){if(this._isPlaying)return this._pausedAtTime=g.now(),this._isPlaying=!1,s(this),this}},{key:"resume",value:function(){if(null===this._timestamp)return this.tween();if(this._isPlaying)return this._promise;var t=g.now();return this._pausedAtTime&&(this._timestamp+=t-this._pausedAtTime,this._pausedAtTime=null),this._isPlaying=!0,null===c?(l=c=this,function t(){c&&(u.call(r,t,1e3/60),m())}()):((this._previous=l)._next=this,l=this),this._promise}},{key:"seek",value:function(t){t=Math.max(t,0);var e=g.now();return this._timestamp+t===0||(this._timestamp=e-t,this._isPlaying||i(this,e)),this}},{key:"stop",value:function(){var t=0<arguments.length&&void 0!==arguments[0]&&arguments[0],e=this._attachment,n=this._currentState,i=this._easing,o=this._originalState,r=this._targetState;if(this._isPlaying)return this._isPlaying=!1,s(this),t?(this._applyFilter("beforeTween"),d(1,n,o,r,1,0,i),this._applyFilter("afterTween"),this._applyFilter("afterTweenEnd"),this._resolve(n,e)):this._reject(n,e),this}},{key:"isPlaying",value:function(){return this._isPlaying}},{key:"setScheduleFunction",value:function(t){g.setScheduleFunction(t)}},{key:"dispose",value:function(){for(var t in this)delete this[t]}}]),g);function g(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:void 0,n=this;if(!(n instanceof g))throw new TypeError("Cannot call a class as a function");this._currentState=t,this._configured=!1,this._filters=[],this._timestamp=null,this._next=null,this._previous=null,e&&this.setConfig(e)}y.setScheduleFunction=function(t){return u=t},y.formulas=f,y.filters={},y.now=Date.now||function(){return+new Date}}.call(this,_(2))},function(W,t,e){"use strict";e.r(t),e.d(t,"linear",function(){return n}),e.d(t,"easeInQuad",function(){return i}),e.d(t,"easeOutQuad",function(){return o}),e.d(t,"easeInOutQuad",function(){return r}),e.d(t,"easeInCubic",function(){return a}),e.d(t,"easeOutCubic",function(){return s}),e.d(t,"easeInOutCubic",function(){return u}),e.d(t,"easeInQuart",function(){return c}),e.d(t,"easeOutQuart",function(){return l}),e.d(t,"easeInOutQuart",function(){return f}),e.d(t,"easeInQuint",function(){return h}),e.d(t,"easeOutQuint",function(){return p}),e.d(t,"easeInOutQuint",function(){return d}),e.d(t,"easeInSine",function(){return m}),e.d(t,"easeOutSine",function(){return v}),e.d(t,"easeInOutSine",function(){return y}),e.d(t,"easeInExpo",function(){return g}),e.d(t,"easeOutExpo",function(){return w}),e.d(t,"easeInOutExpo",function(){return _}),e.d(t,"easeInCirc",function(){return b}),e.d(t,"easeOutCirc",function(){return k}),e.d(t,"easeInOutCirc",function(){return S}),e.d(t,"easeOutBounce",function(){return x}),e.d(t,"easeInBack",function(){return T}),e.d(t,"easeOutBack",function(){return C}),e.d(t,"easeInOutBack",function(){return O}),e.d(t,"elastic",function(){return j}),e.d(t,"swingFromTo",function(){return A}),e.d(t,"swingFrom",function(){return P}),e.d(t,"swingTo",function(){return E}),e.d(t,"bounce",function(){return M}),e.d(t,"bouncePast",function(){return F}),e.d(t,"easeFromTo",function(){return X}),e.d(t,"easeFrom",function(){return Y}),e.d(t,"easeTo",function(){return L});var n=function(t){return t},i=function(t){return Math.pow(t,2)},o=function(t){return-(Math.pow(t-1,2)-1)},r=function(t){return(t/=.5)<1?.5*Math.pow(t,2):-.5*((t-=2)*t-2)},a=function(t){return Math.pow(t,3)},s=function(t){return Math.pow(t-1,3)+1},u=function(t){return(t/=.5)<1?.5*Math.pow(t,3):.5*(Math.pow(t-2,3)+2)},c=function(t){return Math.pow(t,4)},l=function(t){return-(Math.pow(t-1,4)-1)},f=function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},h=function(t){return Math.pow(t,5)},p=function(t){return Math.pow(t-1,5)+1},d=function(t){return(t/=.5)<1?.5*Math.pow(t,5):.5*(Math.pow(t-2,5)+2)},m=function(t){return 1-Math.cos(t*(Math.PI/2))},v=function(t){return Math.sin(t*(Math.PI/2))},y=function(t){return-.5*(Math.cos(Math.PI*t)-1)},g=function(t){return 0===t?0:Math.pow(2,10*(t-1))},w=function(t){return 1===t?1:1-Math.pow(2,-10*t)},_=function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},b=function(t){return-(Math.sqrt(1-t*t)-1)},k=function(t){return Math.sqrt(1-Math.pow(t-1,2))},S=function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},x=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},T=function(t){return t*t*(2.70158*t-1.70158)},C=function(t){return--t*t*(2.70158*t+1.70158)+1},O=function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},j=function(t){return-1*Math.pow(4,-8*t)*Math.sin((6*t-1)*(2*Math.PI)/2)+1},A=function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},P=function(t){return t*t*(2.70158*t-1.70158)},E=function(t){return--t*t*(2.70158*t+1.70158)+1},M=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},F=function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?2-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?2-(7.5625*(t-=2.25/2.75)*t+.9375):2-(7.5625*(t-=2.625/2.75)*t+.984375)},X=function(t){return(t/=.5)<1?.5*Math.pow(t,4):-.5*((t-=2)*Math.pow(t,3)-2)},Y=function(t){return Math.pow(t,4)},L=function(t){return Math.pow(t,.25)}},function(t,e){var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(W,t,e){"use strict";function n(t){return parseInt(t,16)}function i(t){var e=t._currentState;[e,t._originalState,t._targetState].forEach(C),t._tokenData=O(e)}function o(t){var e=t._currentState,n=t._originalState,i=t._targetState,o=t._easing,r=t._tokenData;P(o,r),[e,n,i].forEach(function(t){return j(t,r)})}function r(t){var e=t._currentState,n=t._originalState,i=t._targetState,o=t._easing,r=t._tokenData;[e,n,i].forEach(function(t){return A(t,r)}),E(o,r)}function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");e=e.get(t);return e.get?e.get.call(t):e.value}function l(t,e,n,i,o,r){function u(t){return((h*t+l)*t+f)*t}function c(t){return 0<=t?t:0-t}var l,f,h=1-(f=3*e)-(l=3*(i-e)-f),o=1-(i=3*n)-(e=3*(o-n)-i);return n=function(t,e){for(var n,i,o,r,a=t,s=0;s<8;s++){if(o=u(a)-t,c(o)<e)return a;if(c(r=(3*h*a+2*l)*a+f)<1e-6)break;a-=o/r}if((a=t)<(n=0))return n;if(a>(i=1))return i;for(;n<i;){if(o=u(a),c(o-t)<e)return a;o<t?n=a:i=a,a=.5*(i-n)+n}return a}(t,function(t){return 1/(200*t)}(r)),((o*n+e)*n+i)*n}e.r(t);var u={};e.r(u),e.d(u,"doesApply",function(){return L}),e.d(u,"tweenCreated",function(){return i}),e.d(u,"beforeTween",function(){return o}),e.d(u,"afterTween",function(){return r});function c(t){return"rgb(".concat([n((t=3===(t=(t=t).replace(/#/,"")).length?(t=t.split(""))[0]+t[0]+t[1]+t[1]+t[2]+t[2]:t).substr(0,2)),n(t.substr(2,2)),n(t.substr(4,2))].join(","),")")}function f(t,e,n){var i=e.match(t),o=e.replace(t,"VAL");return i&&i.forEach(function(t){return o=o.replace("VAL",n(t))}),o}function h(t){var e=t.match(k).map(Math.floor);return"".concat(t.match(x)[0]).concat(e.join(","),")")}function p(t){return t.match(k)}function d(t,e,n,i){var o,r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,a=function(i){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},e=Object.keys(o);(e="function"==typeof Object.getOwnPropertySymbols?e.concat(Object.getOwnPropertySymbols(o).filter(function(t){return Object.getOwnPropertyDescriptor(o,t).enumerable})):e).forEach(function(t){var e,n;e=i,n=o[t=t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return i}({},t),i=Object(w.b)(t,i);for(o in M._filters.length=0,M.set({}),M._currentState=a,M._originalState=t,M._targetState=e,M._easing=i,F)F[o].doesApply(M)&&M._filters.push(F[o]);return M._applyFilter("tweenCreated"),M._applyFilter("beforeTween"),n=Object(w.e)(n,a,t,e,1,r,i),M._applyFilter("afterTween"),n}function m(t,e,n,i,o){r=e,a=n,s=i,u=o;var r,a,s,u,c=function(t){return l(t,r,a,s,u,1)};return c.displayName=t,c.x1=e,c.y1=n,c.x2=i,c.y2=o,w.a.formulas[t]=c}function v(t){return delete w.a.formulas[t]}var y,g,w=e(0),_=/(\d|-|\.)/,b=/([^\-0-9.]+)/g,k=/[0-9.-]+/g,S=(y=k.source,g=/,\s*/.source,new RegExp("rgb\\(".concat(y).concat(g).concat(y).concat(g).concat(y,"\\)"),"g")),x=/^.*\(/,T=/#([0-9]|[a-f]){3,6}/gi,C=function(t){for(var e in t){var n=t[e];"string"==typeof n&&n.match(T)&&(t[e]=f(T,n,c))}},O=function(t){var e,n,i,o={};for(i in t){var r=t[i];"string"==typeof r&&(o[i]={formatString:(n=void 0,(n=(e=r).match(b))?1!==n.length&&!e.charAt(0).match(_)||n.unshift(""):n=["",""],n.join("VAL")),chunkNames:function(t,n){return t.map(function(t,e){return"_".concat(n,"_").concat(e)})}(p(r),i)})}return o},j=function(i,o){for(var t in o)!function(n){p(i[n]).forEach(function(t,e){return i[o[n].chunkNames[e]]=+t}),delete i[n]}(t)},A=function(t,e){for(var n in e){var i=e[n],o=i.chunkNames,i=function(e,t){return t.forEach(function(t){return e=e.replace("VAL",+t.toFixed(4))}),e}(i.formatString,function(e,t){return t.map(function(t){return e[t]})}(function(e,t){var n={};return t.forEach(function(t){n[t]=e[t],delete e[t]}),n}(t,o),o));t[n]=f(S,i,h)}},P=function(r,a){for(var t in a)!function(t){var n,i,e=a[t].chunkNames,o=r[t];"string"==typeof o?(n=o.split(" "),i=n[n.length-1],e.forEach(function(t,e){return r[t]=n[e]||i})):e.forEach(function(t){return r[t]=o}),delete r[t]}(t)},E=function(n,t){for(var e in t){var i=t[e].chunkNames,o=n[i[0]];n[e]="string"==typeof o?i.map(function(t){var e=n[t];return delete n[t],e}).join(" "):o}},L=function(t){var e=t._currentState;return Object.keys(e).some(function(t){return"string"==typeof e[t]})},M=new w.a,F=w.a.filters,I=(a(Y.prototype,[{key:"add",value:function(t){return s(this,X).push(t),t}},{key:"remove",value:function(t){var e=s(this,X).indexOf(t);return~e&&s(this,X).splice(e,1),t}},{key:"empty",value:function(){return this.tweenables.map(this.remove.bind(this))}},{key:"isPlaying",value:function(){return s(this,X).some(function(t){return t.isPlaying()})}},{key:"play",value:function(){return s(this,X).forEach(function(t){return t.tween()}),this}},{key:"pause",value:function(){return s(this,X).forEach(function(t){return t.pause()}),this}},{key:"resume",value:function(){return s(this,X).forEach(function(t){return t.resume()}),this}},{key:"stop",value:function(e){return s(this,X).forEach(function(t){return t.stop(e)}),this}},{key:"tweenables",get:function(){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t=s(this,X))||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}();var t}},{key:"promises",get:function(){return s(this,X).map(function(t){return t._promise})}}]),Y),X=new WeakMap;function Y(){var t=this;if(!(t instanceof Y))throw new TypeError("Cannot call a class as a function");X.set(this,{writable:!0,value:[]});for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];n.forEach(this.add.bind(this))}e.d(t,"processTweens",function(){return w.c}),e.d(t,"Tweenable",function(){return w.a}),e.d(t,"tween",function(){return w.d}),e.d(t,"interpolate",function(){return d}),e.d(t,"Scene",function(){return I}),e.d(t,"setBezierFunction",function(){return m}),e.d(t,"unsetBezierFunction",function(){return v}),w.a.filters.token=u}],i={},o.m=n,o.c=i,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=3);function o(t){if(i[t])return i[t].exports;var e=i[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,o),e.l=!0,e.exports}var n,i},"object"==typeof n&&"object"==typeof e?e.exports=o():"object"==typeof n?n.shifty=o():i.shifty=o()},{}],2:[function(t,e,n){function i(t,e){this._pathTemplate="M 50,50 m 0,-{radius} a {radius},{radius} 0 1 1 0,{2radius} a {radius},{radius} 0 1 1 0,-{2radius}",this.containerAspectRatio=1,o.apply(this,arguments)}var o=t("./shape"),r=t("./utils");((i.prototype=new o).constructor=i).prototype._pathString=function(t){var e=t.strokeWidth,t=50-(e=t.trailWidth&&t.trailWidth>t.strokeWidth?t.trailWidth:e)/2;return r.render(this._pathTemplate,{radius:t,"2radius":2*t})},i.prototype._trailString=function(t){return this._pathString(t)},e.exports=i},{"./shape":7,"./utils":9}],3:[function(t,e,n){function i(t,e){this._pathTemplate="M 0,{center} L 100,{center}",o.apply(this,arguments)}var o=t("./shape"),r=t("./utils");((i.prototype=new o).constructor=i).prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 "+e.strokeWidth),t.setAttribute("preserveAspectRatio","none")},i.prototype._pathString=function(t){return r.render(this._pathTemplate,{center:t.strokeWidth/2})},i.prototype._trailString=function(t){return this._pathString(t)},e.exports=i},{"./shape":7,"./utils":9}],4:[function(t,e,n){e.exports={Line:t("./line"),Circle:t("./circle"),SemiCircle:t("./semicircle"),Square:t("./square"),Path:t("./path"),Shape:t("./shape"),utils:t("./utils")}},{"./circle":2,"./line":3,"./path":5,"./semicircle":6,"./shape":7,"./square":8,"./utils":9}],5:[function(t,e,n){function i(t,e){if(!(this instanceof i))throw new Error("Constructor was called without new keyword");e=s.extend({delay:0,duration:800,easing:"linear",from:{},to:{},step:function(){}},e),t=s.isString(t)?document.querySelector(t):t,this.path=t,this._opts=e,this._tweenable=null,t=this.path.getTotalLength(),this.path.style.strokeDasharray=t+" "+t,this.set(0)}var o=t("shifty"),s=t("./utils"),u=o.Tweenable,r={easeIn:"easeInCubic",easeOut:"easeOutCubic",easeInOut:"easeInOutCubic"};i.prototype.value=function(){var t=this._getComputedDashOffset(),e=this.path.getTotalLength();return parseFloat((1-t/e).toFixed(6),10)},i.prototype.set=function(t){this.stop(),this.path.style.strokeDashoffset=this._progressToOffset(t);var e,n=this._opts.step;s.isFunction(n)&&(e=this._easing(this._opts.easing),n(this._calculateTo(t,e),this._opts.shape||this,this._opts.attachment))},i.prototype.stop=function(){this._stopTween(),this.path.style.strokeDashoffset=this._getComputedDashOffset()},i.prototype.animate=function(t,n,e){n=n||{},s.isFunction(n)&&(e=n,n={});var i=s.extend({},n),o=s.extend({},this._opts),o=(n=s.extend(o,n),this._easing(n.easing)),i=this._resolveFromAndTo(t,o,i),r=(this.stop(),this.path.getBoundingClientRect(),this._getComputedDashOffset()),t=this._progressToOffset(t),a=this;this._tweenable=new u,this._tweenable.tween({from:s.extend({offset:r},i.from),to:s.extend({offset:t},i.to),duration:n.duration,delay:n.delay,easing:o,step:function(t){a.path.style.strokeDashoffset=t.offset;var e=n.shape||a;n.step(t,e,n.attachment)}}).then(function(t){s.isFunction(e)&&e()})},i.prototype._getComputedDashOffset=function(){var t=window.getComputedStyle(this.path,null);return parseFloat(t.getPropertyValue("stroke-dashoffset"),10)},i.prototype._progressToOffset=function(t){var e=this.path.getTotalLength();return e-t*e},i.prototype._resolveFromAndTo=function(t,e,n){return n.from&&n.to?{from:n.from,to:n.to}:{from:this._calculateFrom(e),to:this._calculateTo(t,e)}},i.prototype._calculateFrom=function(t){return o.interpolate(this._opts.from,this._opts.to,this.value(),t)},i.prototype._calculateTo=function(t,e){return o.interpolate(this._opts.from,this._opts.to,t,e)},i.prototype._stopTween=function(){null!==this._tweenable&&(this._tweenable.stop(),this._tweenable=null)},i.prototype._easing=function(t){return r.hasOwnProperty(t)?r[t]:t},e.exports=i},{"./utils":9,shifty:1}],6:[function(t,e,n){function i(t,e){this._pathTemplate="M 50,50 m -{radius},0 a {radius},{radius} 0 1 1 {2radius},0",this.containerAspectRatio=2,o.apply(this,arguments)}var o=t("./shape"),r=t("./circle"),a=t("./utils");((i.prototype=new o).constructor=i).prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 50")},i.prototype._initializeTextContainer=function(t,e,n){t.text.style&&(n.style.top="auto",n.style.bottom="0",t.text.alignToBottom?a.setStyle(n,"transform","translate(-50%, 0)"):a.setStyle(n,"transform","translate(-50%, 50%)"))},i.prototype._pathString=r.prototype._pathString,i.prototype._trailString=r.prototype._trailString,e.exports=i},{"./circle":2,"./shape":7,"./utils":9}],7:[function(t,e,n){function o(t,e){if(!(this instanceof o))throw new Error("Constructor was called without new keyword");if(0!==arguments.length){this._opts=a.extend({color:"#555",strokeWidth:1,trailColor:null,trailWidth:null,fill:null,text:{style:{color:null,position:"absolute",left:"50%",top:"50%",padding:0,margin:0,transform:{prefix:!0,value:"translate(-50%, -50%)"}},autoStyleContainer:!0,alignToBottom:!0,value:null,className:"progressbar-text"},svgStyle:{display:"block",width:"100%"},warnings:!1},e,!0),a.isObject(e)&&void 0!==e.svgStyle&&(this._opts.svgStyle=e.svgStyle),a.isObject(e)&&a.isObject(e.text)&&void 0!==e.text.style&&(this._opts.text.style=e.text.style);var n=this._createSvgView(this._opts);if(!(i=a.isString(t)?document.querySelector(t):t))throw new Error("Container does not exist: "+t);this._container=i,this._container.appendChild(n.svg),this._opts.warnings&&this._warnContainerAspectRatio(this._container),this._opts.svgStyle&&a.setStyles(n.svg,this._opts.svgStyle),this.svg=n.svg,this.path=n.path,this.trail=n.trail,this.text=null;var i=a.extend({attachment:void 0,shape:this},this._opts);this._progressPath=new r(n.path,i),a.isObject(this._opts.text)&&null!==this._opts.text.value&&this.setText(this._opts.text.value)}}var r=t("./path"),a=t("./utils"),i="Object is destroyed";o.prototype.animate=function(t,e,n){if(null===this._progressPath)throw new Error(i);this._progressPath.animate(t,e,n)},o.prototype.stop=function(){if(null===this._progressPath)throw new Error(i);void 0!==this._progressPath&&this._progressPath.stop()},o.prototype.pause=function(){if(null===this._progressPath)throw new Error(i);void 0!==this._progressPath&&this._progressPath._tweenable&&this._progressPath._tweenable.pause()},o.prototype.resume=function(){if(null===this._progressPath)throw new Error(i);void 0!==this._progressPath&&this._progressPath._tweenable&&this._progressPath._tweenable.resume()},o.prototype.destroy=function(){if(null===this._progressPath)throw new Error(i);this.stop(),this.svg.parentNode.removeChild(this.svg),this.svg=null,this.path=null,this.trail=null,(this._progressPath=null)!==this.text&&(this.text.parentNode.removeChild(this.text),this.text=null)},o.prototype.set=function(t){if(null===this._progressPath)throw new Error(i);this._progressPath.set(t)},o.prototype.value=function(){if(null===this._progressPath)throw new Error(i);return void 0===this._progressPath?0:this._progressPath.value()},o.prototype.setText=function(t){if(null===this._progressPath)throw new Error(i);null===this.text&&(this.text=this._createTextContainer(this._opts,this._container),this._container.appendChild(this.text)),a.isObject(t)?(a.removeChildren(this.text),this.text.appendChild(t)):this.text.innerHTML=t},o.prototype._createSvgView=function(t){var e=document.createElementNS("http://www.w3.org/2000/svg","svg"),n=(this._initializeSvg(e,t),null),t=((t.trailColor||t.trailWidth)&&(n=this._createTrail(t),e.appendChild(n)),this._createPath(t));return e.appendChild(t),{svg:e,path:t,trail:n}},o.prototype._initializeSvg=function(t,e){t.setAttribute("viewBox","0 0 100 100")},o.prototype._createPath=function(t){var e=this._pathString(t);return this._createPathElement(e,t)},o.prototype._createTrail=function(t){var e=this._trailString(t),t=a.extend({},t);return t.trailColor||(t.trailColor="#eee"),t.trailWidth||(t.trailWidth=t.strokeWidth),t.color=t.trailColor,t.strokeWidth=t.trailWidth,t.fill=null,this._createPathElement(e,t)},o.prototype._createPathElement=function(t,e){var n=document.createElementNS("http://www.w3.org/2000/svg","path");return n.setAttribute("d",t),n.setAttribute("stroke",e.color),n.setAttribute("stroke-width",e.strokeWidth),e.fill?n.setAttribute("fill",e.fill):n.setAttribute("fill-opacity","0"),n},o.prototype._createTextContainer=function(t,e){var n=document.createElement("div"),i=(n.className=t.text.className,t.text.style);return i&&(t.text.autoStyleContainer&&(e.style.position="relative"),a.setStyles(n,i),i.color||(n.style.color=t.color)),this._initializeTextContainer(t,e,n),n},o.prototype._initializeTextContainer=function(t,e,n){},o.prototype._pathString=function(t){throw new Error("Override this function for each progress bar")},o.prototype._trailString=function(t){throw new Error("Override this function for each progress bar")},o.prototype._warnContainerAspectRatio=function(t){var e,n,i;this.containerAspectRatio&&(e=window.getComputedStyle(t,null),n=parseFloat(e.getPropertyValue("width"),10),i=parseFloat(e.getPropertyValue("height"),10),a.floatEquals(this.containerAspectRatio,n/i)||(console.warn("Incorrect aspect ratio of container","#"+t.id,"detected:",e.getPropertyValue("width")+"(width)","/",e.getPropertyValue("height")+"(height)","=",n/i),console.warn("Aspect ratio of should be",this.containerAspectRatio)))},e.exports=o},{"./path":5,"./utils":9}],8:[function(t,e,n){function i(t,e){this._pathTemplate="M 0,{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{strokeWidth}",this._trailTemplate="M {startMargin},{halfOfStrokeWidth} L {width},{halfOfStrokeWidth} L {width},{width} L {halfOfStrokeWidth},{width} L {halfOfStrokeWidth},{halfOfStrokeWidth}",o.apply(this,arguments)}var o=t("./shape"),r=t("./utils");((i.prototype=new o).constructor=i).prototype._pathString=function(t){var e=100-t.strokeWidth/2;return r.render(this._pathTemplate,{width:e,strokeWidth:t.strokeWidth,halfOfStrokeWidth:t.strokeWidth/2})},i.prototype._trailString=function(t){var e=100-t.strokeWidth/2;return r.render(this._trailTemplate,{width:e,strokeWidth:t.strokeWidth,halfOfStrokeWidth:t.strokeWidth/2,startMargin:t.strokeWidth/2-t.trailWidth/2})},e.exports=i},{"./shape":7,"./utils":9}],9:[function(t,e,n){function i(t,e,n){for(var i=t.style,o=0;o<a.length;++o)i[a[o]+r(e)]=n;i[e]=n}function r(t){return t.charAt(0).toUpperCase()+t.slice(1)}function s(t){return!("[object Array]"===Object.prototype.toString.call(t)||"object"!=typeof t||!t)}function o(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}var a="Webkit Moz O ms".split(" ");e.exports={extend:function t(e,n,i){for(var o in e=e||{},i=i||!1,n=n||{}){var r,a;n.hasOwnProperty(o)&&(r=e[o],a=n[o],i&&s(r)&&s(a)?e[o]=t(r,a,i):e[o]=a)}return e},render:function(t,e){var n,i,o,r=t;for(n in e)e.hasOwnProperty(n)&&(i=e[n],o=new RegExp("\\{"+n+"\\}","g"),r=r.replace(o,i));return r},setStyle:i,setStyles:function(n,t){o(t,function(t,e){null!=t&&(s(t)&&!0===t.prefix?i(n,e,t.value):n.style[e]=t)})},capitalize:r,isString:function(t){return"string"==typeof t||t instanceof String},isFunction:function(t){return"function"==typeof t},isObject:s,forEachObject:o,floatEquals:function(t,e){return Math.abs(t-e)<.001},removeChildren:function(t){for(;t.firstChild;)t.removeChild(t.firstChild)}}},{}]},{},[4])(4)});function e(t,r){(t=t.find(".pafe-progressbar")).length&&r.each(t,function(t,e){var n=JSON.parse(r(e).attr("data-pafe-progressbar-option")),i=n.value,o=n.unit,n=n.duration;console.log(i),r(e).find(".pafe-progressbar-percentage-content").prop("Counter",0).animate({Counter:i},{duration:n,easing:"swing",step:function(t){r(this).text(Math.ceil(t)+o)}})})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-progressbar.default",e)})}(jQuery),!function($){$.timer=function(func,time,autostart){return this.set=function(func,time,autostart){if(this.init=!0,"object"==typeof func){var paramList=["autostart","time"],arg;for(arg in paramList)null!=func[paramList[arg]]&&eval(paramList[arg]+"=func[paramList[arg]]");func=func.action}return"function"==typeof func&&(this.action=func),isNaN(time)||(this.intervalTime=time),autostart&&!this.isActive&&(this.isActive=!0,this.setTimer()),this},this.once=function(t){var e=this;return isNaN(t)&&(t=0),window.setTimeout(function(){e.action()},t),this},this.play=function(t){return this.isActive||(t?this.setTimer():this.setTimer(this.remaining),this.isActive=!0),this},this.pause=function(){return this.isActive&&(this.isActive=!1,this.remaining-=new Date-this.last,this.clearTimer()),this},this.stop=function(){return this.isActive=!1,this.remaining=this.intervalTime,this.clearTimer(),this},this.toggle=function(t){return this.isActive?this.pause():t?this.play(!0):this.play(),this},this.reset=function(){return this.isActive=!1,this.play(!0),this},this.clearTimer=function(){window.clearTimeout(this.timeoutObject)},this.setTimer=function(t){var e=this;"function"==typeof this.action&&(isNaN(t)&&(t=this.intervalTime),this.remaining=t,this.last=new Date,this.clearTimer(),this.timeoutObject=window.setTimeout(function(){e.go()},t))},this.go=function(){this.isActive&&(this.action(),this.setTimer())},this.init?new $.timer(func,time,autostart):(this.set(func,time,autostart),this)}}(jQuery),jQuery(document).ready(function(e){var t,n,i,o,r,a=e("[data-pafe-sales-pop-list]");e("[data-pafe-sales-pop-close]").click(function(){e("[data-pafe-sales-pop-item]").remove()}),0<a.length&&(t=(a=JSON.parse(a.attr("data-pafe-sales-pop-option"))).min_time,i=a.max_time,n=a.random,a=a.times,i=Math.floor(Math.random()*(i-t+1)+t),o=e("[data-pafe-sales-pop-list]").find("[data-pafe-sales-pop-item]").length,"yes"==n?(r=e.timer(function(){e("[data-pafe-sales-pop-list]").find("[data-pafe-sales-pop-item].active").remove();var t=Math.floor(Math.random()*(o-1+1)+1);e("[data-pafe-sales-pop-item]").eq(t-1).fadeIn(400).addClass("active")})).set({time:1e3*i,autostart:!0}):(r=e.timer(function(){e("[data-pafe-sales-pop-list]").find("[data-pafe-sales-pop-item].active").remove();var t=e("[data-pafe-sales-pop-item]").index();e("[data-pafe-sales-pop-item]").eq(t).fadeIn(400).addClass("active")})).set({time:1e3*a,autostart:!0})),e(document).on("mouseover","[data-pafe-sales-pop-item].active",function(){r.toggle()}),e(document).on("mouseout","[data-pafe-sales-pop-item].active",function(){r.toggle()})}),jQuery(document).ready(function(n){n(document).on("change","[data-pafe-switch-content-button-checkbox]",function(){var t=n(this).closest("[data-pafe-switch-content]").find("[data-pafe-switch-content-primary]"),e=n(this).closest("[data-pafe-switch-content]").find("[data-pafe-switch-content-secondary]");n(this).is(":checked")?(t.hide(0),e.show(0)):(t.show(0),e.hide(0))})}),!function(t){function e(t,n){($switch=t.find("[data-pafe-switch-content-button-checkbox]")).on("change",function(){var t=n(this).closest("[data-pafe-switch-content]").find("[data-pafe-switch-content-primary]"),e=n(this).closest("[data-pafe-switch-content]").find("[data-pafe-switch-content-secondary]");n(this).is(":checked")?(t.hide(0),e.show(0)):(t.show(0),e.hide(0))})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-switch-content.default",e)})}(jQuery),jQuery(document).ready(function(t){function e(t){this.element=t,this.blocks=this.element.getElementsByClassName("cd-timeline__block"),this.images=this.element.getElementsByClassName("cd-timeline__img"),this.contents=this.element.getElementsByClassName("cd-timeline__content"),this.offset=1,this.hideBlocks()}e.prototype.hideBlocks=function(){if(!(!1 in document.documentElement))for(var t,e=this,n=0;n<this.blocks.length;n++)t=n,e.blocks[t].getBoundingClientRect().top>window.innerHeight*e.offset&&(e.images[t].classList.add("cd-timeline__img--hidden"),e.contents[t].classList.add("cd-timeline__content--hidden"))},e.prototype.showBlocks=function(){if(!(!1 in document.documentElement))for(var t,e=this,n=0;n<this.blocks.length;n++)t=n,e.contents[t].classList.contains("cd-timeline__content--hidden")&&e.blocks[t].getBoundingClientRect().top<=window.innerHeight*e.offset&&(e.images[t].classList.add("cd-timeline__img--bounce-in"),e.contents[t].classList.add("cd-timeline__content--bounce-in"),e.images[t].classList.remove("cd-timeline__img--hidden"),e.contents[t].classList.remove("cd-timeline__content--hidden"))};var n,i=t("[data-pafe-vertical-timeline]"),o=[],r=!1;if(0<i.length){for(var a=0;a<i.length;a++)n=a,o.push(new e(i[n]));window.addEventListener("scroll",function(t){r||(r=!0,window.requestAnimationFrame?window.requestAnimationFrame(s):setTimeout(s,250))})}function s(){o.forEach(function(t){t.showBlocks()}),r=!1}}),jQuery(document).ready(function(n){function i(){n('[data-pafe-video-playlist] iframe[src*="youtube"],[data-pafe-video-playlist] iframe[src*="vimeo"]').each(function(){var t=9*n(this).width()/16;n(this).css({height:t+"px"}),n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-list]").css({height:t+"px"});t=t-n("[data-pafe-video-playlist-list-title]").height()-30;n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-list-video]").css({"max-height":t+"px"})})}i(),n(window).resize(function(t){i()}),n("[data-pafe-video-playlist-item]").click(function(){var t=n(this).attr("data-pafe-video-playlist-item"),e=n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-video]");n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-item]").removeClass("active"),n(this).addClass("active"),e.html(t),i()})}),!function(t){function e(t,n){function i(){n('[data-pafe-video-playlist] iframe[src*="youtube"],[data-pafe-video-playlist] iframe[src*="vimeo"]').each(function(){var t=9*n(this).width()/16;n(this).css({height:t+"px"}),n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-list]").css({height:t+"px"});t=t-n("[data-pafe-video-playlist-list-title]").height()-30;n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-list-video]").css({"max-height":t+"px"})})}i(),n(window).resize(function(t){i()}),($item=t.find("[data-pafe-video-playlist-item]")).click(function(){var t=n(this).attr("data-pafe-video-playlist-item"),e=n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-video]");n(this).closest("[data-pafe-video-playlist]").find("[data-pafe-video-playlist-item]").removeClass("active"),n(this).addClass("active"),e.html(t),i()})}t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/pafe-video-playlist.default",e)})}(jQuery);