1/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 2"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}
2,"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={}
2,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}) 3;(function(){window.mc4wp=window.mc4wp||{listeners:[],forms:{on:function(evt,cb){window.mc4wp.listeners.push({event:evt,callback:cb})}}}})() 4;(function(){function maybePrefixUrlField(){const value=this.value.trim() 5if(value!==''&&value.indexOf('http')!==0){this.value='http://'+value}} 6const urlFields=document.querySelectorAll('.mc4wp-form input[type="url"]') 7for(let j=0;j<urlFields.length;j++){urlFields[j].addEventListener('blur',maybePrefixUrlField)}})() 8;jQuery.uiBackCompat=!0 9;/*! jQuery UI - v1.14.2 - 2026-07-15 10* https://jqueryui.com 11* Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js 12* Copyright OpenJS Foundation and other contributors; Licensed MIT */ 13!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";x.ui=x.ui||{};x.ui.version="1.14.2"; 14/*! 15 * jQuery UI Widget 1.14.2 16 * https://jqueryui.com 17 * 18 * Copyright OpenJS Foundation and other contributors 19 * Released under the MIT license. 20 * https://jquery.org/license 21 */var o,n,W,C,s,r,l,a,h,i,f=0,c=Array.prototype.hasOwnProperty,u=Array.prototype.slice;x.cleanData=(o=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");o(t)}),x.widget=function(t,i,e){var n,o,s,r,l={},a=t.split(".")[0];return"__proto__"===(t=t.split(".")[1])||"constructor"===t?x.error("Invalid widget name: "+t):(r=a+"-"+t,e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[r.toLowerCase()]=function(t){return!!x.data(t,r)},x[a]=x[a]||{},n=x[a][t],o=x[a][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}l[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},l,{constructor:o,namespace:a,widgetName:t,widgetFullName:r}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o)}
vendor: 16,216 bytes, lines 21-59
21,x.widget.extend=function(t){for(var e,i,n=u.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],c.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=u.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=f++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}}),x.widget;function E(t,e,i){return[parseFloat(t[0])*(h.test(t[0])?e/100:1),parseFloat(t[1])*(h.test(t[1])?i/100:1)]}function P(t,e){return parseInt(x.css(t,e),10)||0}function H(t){return null!=t&&t===t.window} 22/*! 23 * jQuery UI Position 1.14.2 24 * https://jqueryui.com 25 * 26 * Copyright OpenJS Foundation and other contributors 27 * Released under the MIT license. 28 * https://jquery.org/license 29 * 30 * https://api.jqueryui.com/position/ 31 */ 32W=Math.max,C=Math.abs,s=/left|center|right/,r=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,a=/^\w+/,h=/%$/,i=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=H(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(c){var u,d,p,g,m,v,w,y,b,_,t,e;return c&&c.of?(v="string"==typeof(c=x.extend({},c)).of?x(document).find(c.of):x(c.of),w=x.position.getWithinInfo(c.within),y=x.position.getScrollInfo(w),b=(c.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:H(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(c.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(c[this]||"").split(" ");(i=1===i.length?s.test(i[0])?i.concat(["center"]):r.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=s.test(i[0])?i[0]:"center",i[1]=r.test(i[1])?i[1]:"center",t=l.exec(i[0]),e=l.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],c[this]=[a.exec(i[0])[0],a.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===c.at[0]?m.left+=d:"center"===c.at[0]&&(m.left+=d/2),"bottom"===c.at[1]?m.top+=p:"center"===c.at[1]&&(m.top+=p/2),u=E(_.at,d,p),m.left+=u[0],m.top+=u[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=P(this,"marginLeft"),n=P(this,"marginTop"),o=l+e+P(this,"marginRight")+y.width,s=a+n+P(this,"marginBottom")+y.height,h=x.extend({},m),f=E(_.my,r.outerWidth(),r.outerHeight());"right"===c.my[0]?h.left-=l:"center"===c.my[0]&&(h.left-=l/2),"bottom"===c.my[1]?h.top-=a:"center"===c.my[1]&&(h.top-=a/2),h.left+=f[0],h.top+=f[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[u[0]+f[0],u[1]+f[1]],my:c.my,at:c.at,within:w,elem:r})}),c.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",c.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):i.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;n<e.collisionWidth?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;o<e.collisionHeight?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}};var t,e; 33/*! 34 * jQuery UI :data 1.14.2 35 * https://jqueryui.com 36 * 37 * Copyright OpenJS Foundation and other contributors 38 * Released under the MIT license. 39 * https://jquery.org/license 40 */x.ui.position,x.extend(x.expr.pseudos,{data:x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}})}),x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}), 41/*! 42 * jQuery UI Focusable 1.14.2 43 * https://jqueryui.com 44 * 45 * Copyright OpenJS Foundation and other contributors 46 * Released under the MIT license. 47 * https://jquery.org/license 48 */ 49x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&"visible"===x(t).css("visibility"))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.ui.focusable,x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=x(this.element.prop("form")),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}}, 50/*! 51 * jQuery UI Legacy jQuery Core patches 1.14.2 52 * https://jqueryui.com 53 * 54 * Copyright OpenJS Foundation and other contributors 55 * Released under the MIT license. 56 * https://jquery.org/license 57 * 58 */ 59x.escapeSelector||(x.escapeSelector=function(t){return CSS.escape(t+"")}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+CSS.escape(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),x.fn.extend({uniqueId:(e=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++e)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id
59)&&x(this).removeAttr("id")})}});x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}}}); 60;(function(){var b,f;b=this.jQuery||window.jQuery;f=b(window);b.fn.stick_in_parent=function(d){var A,w,J,n,B,K,p,q,k,E,t;null==d&&(d={});t=d.sticky_class;B=d.inner_scrolling;E=d.recalc_every;k=d.parent;q=d.offset_top;p=d.spacer;w=d.bottoming;null==q&&(q=0);null==k&&(k=void 0);null==B&&(B=!0);null==t&&(t="is_stuck");A=b(document);null==w&&(w=!0);J=function(a,d,n,C,F,u,r,G){var v,H,m,D,I,c,g,x,y,z,h,l;if(!a.data("sticky_kit")){a.data("sticky_kit",!0);I=A.height();g=a.parent();null!=k&&(g=g.closest(k));if(!g.length)throw"failed to find stick parent";v=m=!1;(h=null!=p?p&&a.closest(p):b("<div />"))&&h.css("position",a.css("position"));x=function(){var c,f,e;if(!G&&(I=A.height(),c=parseInt(g.css("border-top-width"),10),f=parseInt(g.css("padding-top"),10),d=parseInt(g.css("padding-bottom"),10),n=g.offset().top+c+f,C=g.height(),m&&(v=m=!1,null==p&&(a.insertAfter(h),h.detach()),a.css({position:"",top:"",width:"",bottom:""}).removeClass(t),e=!0),F=a.offset().top-(parseInt(a.css("margin-top"),10)||0)-q,u=a.outerHeight(!0),r=a.css("float"),h&&h.css({width:a.outerWidth(!0),height:u,display:a.css("display"),"vertical-align":a.css("vertical-align"),"float":r}),e))return l()};x();if(u!==C)return D=void 0,c=q,z=E,l=function(){var b,l,e,k;if(!G&&(e=!1,null!=z&&(--z,0>=z&&(z=E,x(),e=!0)),e||A.height()===I||x(),e=f.scrollTop(),null!=D&&(l=e-D),D=e,m?(w&&(k=e+u+c>C+n,v&&!k&&(v=!1,a.css({position:"fixed",bottom:"",top:c}).trigger("sticky_kit:unbottom"))),e<F&&(m=!1,c=q,null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),h.detach()),b={position:"",width:"",top:""},a.css(b).removeClass(t).trigger("sticky_kit:unstick")),B&&(b=f.height(),u+q>b&&!v&&(c-=l,c=Math.max(b-u,c),c=Math.min(q,c),m&&a.css({top:c+"px"})))):e>F&&(m=!0,b={position:"fixed",top:c},b.width="border-box"===a.css("box-sizing")?a.outerWidth()+"px":a.width()+"px",a.css(b).addClass(t),null==p&&(a.after(h),"left"!==r&&"right"!==r||h.append(a)),a.trigger("sticky_kit:stick")),m&&w&&(null==k&&(k=e+u+c>C+n),!v&&k)))return v=!0,"static"===g.css("position")&&g.css({position:"relative"}),a.css({position:"absolute",bottom:d,top:"auto"}).trigger("sticky_kit:bottom")},y=function(){x();return l()},H=function(){G=!0;f.off("touchmove",l);f.off("scroll",l);f.off("resize",y);b(document.body).off("sticky_kit:recalc",y);a.off("sticky_kit:detach",H);a.removeData("sticky_kit");a.css({position:"",bottom:"",top:"",width:""});g.position("position","");if(m)return null==p&&("left"!==r&&"right"!==r||a.insertAfter(h),h.remove()),a.removeClass(t)},f.on("touchmove",l),f.on("scroll",l),f.on("resize",y),b(document.body).on("sticky_kit:recalc",y),a.on("sticky_kit:detach",H),setTimeout(l,0)}};n=0;for(K=this.length;n<K;n++)d=this[n],J(b(d));return this}}).call(this) 61;/*! 62Waypoints - 4.0.1 63Copyright © 2011-2016 Caleb Troughton 64Licensed under the MIT license. 65https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 66*/ 67!function(){"use strict";function t(n){if(!n)throw new Error("No options passed to Waypoint constructor");if(!n.element)throw new Error("No element option passed to Waypoint constructor");if(!n.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.options=t.Adapter.extend({},t.defaults,n),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=n.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var n in i)e.push(i[n]);for(var o=0,r=e.length;r>o;o++)e[o][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.Context.refreshAll();for(var e in i)i[e].enabled=!0;return this},t.refreshAll=function(){t.Context.refreshAll()}
vendor: 5,257 bytes, line 67
67,t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,n[t.waypointContextKey]=this,i+=1,o.windowContext||(o.windowContext=!0,o.windowContext=new e(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,n={},o=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),i=this.element==this.element.window;t&&e&&!i&&(this.adapter.off(".waypoints"),delete n[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,o.requestAnimationFrame(t))})},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){(!e.didScroll||o.isTouch)&&(e.didScroll=!0,o.requestAnimationFrame(t))})},e.prototype.handleResize=function(){o.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var n=e[i],o=n.newScroll>n.oldScroll,r=o?n.forward:n.backward;for(var s in this.waypoints[i]){var l=this.waypoints[i][s];if(null!==l.triggerPoint){var a=n.oldScroll<l.triggerPoint,h=n.newScroll>=l.triggerPoint,p=a&&h,u=!a&&!h;(p||u)&&(l.queueTrigger(r),t[l.group.id]=l.group)}}}for(var d in t)t[d].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var n=0,o=t.length;o>n;n++)t[n].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),n={};this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var r in t){var s=t[r];for(var l in this.waypoints[r]){var a,h,p,u,d,f=this.waypoints[r][l],c=f.options.offset,w=f.triggerPoint,y=0,g=null==w;f.element!==f.element.window&&(y=f.adapter.offset()[s.offsetProp]),"function"==typeof c?c=c.apply(f):"string"==typeof c&&(c=parseFloat(c),f.options.offset.indexOf("%")>-1&&(c=Math.ceil(s.contextDimension*c/100))),a=s.contextScroll-s.contextOffset,f.triggerPoint=Math.floor(y+a-c),h=w<s.oldScroll,p=f.triggerPoint>=s.oldScroll,u=h&&p,d=!h&&!p,!g&&u?(f.queueTrigger(s.backward),n[f.group.id]=f.group):!g&&d?(f.queueTrigger(s.forward),n[f.group.id]=f.group):g&&s.oldScroll>=f.triggerPoint&&(f.queueTrigger(s.forward),n[f.group.id]=f.group)}}return o.requestAnimationFrame(function(){for(var t in n)n[t].flushTriggers()}),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in n)n[t].refresh()},e.findByElement=function(t){return n[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},o.requestAnimationFrame=function(e){var i=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t;i.call(window,e)},o.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}var n={vertical:{},horizontal:{}},o=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],r
67ight:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var n=this.triggerQueues[i],o="up"===i||"left"===i;n.sort(o?e:t);for(var r=0,s=n.length;s>r;r+=1){var l=n[r];(l.options.continuous||r===n.length-1)&&l.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints),n=i===this.waypoints.length-1;return n?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return n[t.axis][t.name]||new i(t)},o.Group=i}(),function(){"use strict";function t(t){return t===t.window}function e(e){return t(e)?e:e.defaultView}function i(t){this.element=t,this.handlers={}}var n=window.Waypoint;i.prototype.innerHeight=function(){var e=t(this.element);return e?this.element.innerHeight:this.element.clientHeight},i.prototype.innerWidth=function(){var e=t(this.element);return e?this.element.innerWidth:this.element.clientWidth},i.prototype.off=function(t,e){function i(t,e,i){for(var n=0,o=e.length-1;o>n;n++){var r=e[n];i&&i!==r||t.removeEventListener(r)}}var n=t.split("."),o=n[0],r=n[1],s=this.element;if(r&&this.handlers[r]&&o)i(s,this.handlers[r][o],e),this.handlers[r][o]=[];else if(o)for(var l in this.handlers)i(s,this.handlers[l][o]||[],e),this.handlers[l][o]=[];else if(r&&this.handlers[r]){for(var a in this.handlers[r])i(s,this.handlers[r][a],e);this.handlers[r]={}}},i.prototype.offset=function(){if(!this.element.ownerDocument)return null;var t=this.element.ownerDocument.documentElement,i=e(this.element.ownerDocument),n={top:0,left:0};return this.element.getBoundingClientRect&&(n=this.element.getBoundingClientRect()),{top:n.top+i.pageYOffset-t.clientTop,left:n.left+i.pageXOffset-t.clientLeft}},i.prototype.on=function(t,e){var i=t.split("."),n=i[0],o=i[1]||"__default",r=this.handlers[o]=this.handlers[o]||{},s=r[n]=r[n]||[];s.push(e),this.element.addEventListener(n,e)},i.prototype.outerHeight=function(e){var i,n=this.innerHeight();return e&&!t(this.element)&&(i=window.getComputedStyle(this.element),n+=parseInt(i.marginTop,10),n+=parseInt(i.marginBottom,10)),n},i.prototype.outerWidth=function(e){var i,n=this.innerWidth();return e&&!t(this.element)&&(i=window.getComputedStyle(this.element),n+=parseInt(i.marginLeft,10),n+=parseInt(i.marginRight,10)),n},i.prototype.scrollLeft=function(){var t=e(this.element);return t?t.pageXOffset:this.element.scrollLeft},i.prototype.scrollTop=function(){var t=e(this.element);return t?t.pageYOffset:this.element.scrollTop},i.extend=function(){function t(t,e){if("object"==typeof t&&"object"==typeof e)for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}for(var e=Array.prototype.slice.call(arguments),i=1,n=e.length;n>i;i++)t(e[0],e[i]);return e[0]},i.inArray=function(t,e,i){return null==e?-1:e.indexOf(t,i)},i.isEmptyObject=function(t){for(var e in t)return!1;return!0},n.adapters.push({name:"noframework",Adapter:i}),n.Adapter=i}() 68;/*! noUiSlider - 7.0.9 - 2014-10-08 16:49:45 */ 69!function(){"use strict";function a(a){return a.split("").reverse().join("")}function b(a,b){return a.substring(0,b.length)===b}function c(a,b){return a.slice(-1*b.length)===b}function d(a,b,c){if((a[b]||a[c])&&a[b]===a[c])throw new Error(b)}function e(a){return"number"==typeof a&&isFinite(a)}function f(a,b){var c=Math.pow(10,b);return(Math.round(a*c)/c).toFixed(b)}function g(b,c,d,g,h,i,j,k,l,m,n,o){var p,q,r,s=o,t="",u="";return i&&(o=i(o)),e(o)?(b&&0===parseFloat(o.toFixed(b))&&(o=0),0>o&&(p=!0,o=Math.abs(o)),b!==!1&&(o=f(o,b)),o=o.toString(),-1!==o.indexOf(".")?(q=o.split("."),r=q[0],d&&(t=d+q[1])):r=o,c&&(r=a(r).match(/.{1,3}/g),r=a(r.join(a(c)))),p&&k&&(u+=k),g&&(u+=g),p&&l&&(u+=l),u+=r,u+=t,h&&(u+=h),m&&(u=m(u,s)),u):!1}function h(a,d,f,g,h,i,j,k,l,m,n,o){var p,q="";return n&&(o=n(o)),o&&"string"==typeof o?(k&&b(o,k)&&(o=o.replace(k,""),p=!0),g&&b(o,g)&&(o=o.replace(g,"")),l&&b(o,l)&&(o=o.replace(l,""),p=!0),h&&c(o,h)&&(o=o.slice(0,-1*h.length)),d&&(o=o.split(d).join("")),f&&(o=o.replace(f,".")),p&&(q+="-"),q+=o,q=q.replace(/[^0-9\.\-.]/g,""),""===q?!1:(q=Number(q),j&&(q=j(q)),e(q)?q:!1)):!1}function i(a){var b,c,e,f={};for(b=0;b<l.length;b+=1)if(c=l[b],e=a[c],void 0===e)f[c]="negative"!==c||f.negativeBefore?"mark"===c&&"."!==f.thous
69and?".":!1:"-";else if("decimals"===c){if(!(e>=0&&8>e))throw new Error(c);f[c]=e}else if("encoder"===c||"decoder"===c||"edit"===c||"undo"===c){if("function"!=typeof e)throw new Error(c);f[c]=e}else{if("string"!=typeof e)throw new Error(c);f[c]=e}return d(f,"mark","thousand"),d(f,"prefix","negative"),d(f,"prefix","negativeBefore"),f}function j(a,b,c){var d,e=[];for(d=0;d<l.length;d+=1)e.push(a[l[d]]);return e.push(c),b.apply("",e)}function k(a){return this instanceof k?void("object"==typeof a&&(a=i(a),this.to=function(b){return j(a,g,b)},this.from=function(b){return j(a,h,b)})):new k(a)}var l=["decimals","thousand","mark","prefix","postfix","encoder","decoder","negativeBefore","negative","edit","undo"];window.wNumb=k}(),function(a){"use strict";function b(b){return b instanceof a||a.zepto&&a.zepto.isZ(b)}function c(b,c){return"string"==typeof b&&0===b.indexOf("-inline-")?(this.method=c||"html",this.target=this.el=a(b.replace("-inline-","")||"<div/>"),!0):void 0}function d(b){if("string"==typeof b&&0!==b.indexOf("-")){this.method="val";var c=document.createElement("input");return c.name=b,c.type="hidden",this.target=this.el=a(c),!0}}function e(a){return"function"==typeof a?(this.target=!1,this.method=a,!0):void 0}function f(a,c){return b(a)&&!c?(a.is("input, select, textarea")?(this.method="val",this.target=a.on("change.liblink",this.changeHandler)):(this.target=a,this.method="html"),!0):void 0}function g(a,c){return b(a)&&("function"==typeof c||"string"==typeof c&&a[c])?(this.method=c,this.target=a,!0):void 0}function h(b,c,d){var e=this,f=!1;if(this.changeHandler=function(b){var c=e.formatInstance.from(a(this).val());return c===!1||isNaN(c)?(a(this).val(e.lastSetValue),!1):void e.changeHandlerMethod.call("",b,c)},this.el=!1,this.formatInstance=d,a.each(k,function(a,d){return f=d.call(e,b,c),!f}),!f)throw new RangeError("(Link) Invalid Link.")}function i(a){this.items=[],this.elements=[],this.origin=a}function j(b,c,d,e){0===b&&(b=this.LinkDefaultFlag),this.linkAPI||(this.linkAPI={}),this.linkAPI[b]||(this.linkAPI[b]=new i(this));var f=new h(c,d,e||this.LinkDefaultFormatter);f.target||(f.target=a(this)),f.changeHandlerMethod=this.LinkConfirm(b,f.el),this.linkAPI[b].push(f,f.el),this.LinkUpdate(b)}var k=[c,d,e,f,g];h.prototype.set=function(a){var b=Array.prototype.slice.call(arguments),c=b.slice(1);this.lastSetValue=this.formatInstance.to(a),c.unshift(this.lastSetValue),("function"==typeof this.method?this.method:this.target[this.method]).apply(this.target,c)},i.prototype.push=function(a,b){this.items.push(a),b&&this.elements.push(b)},i.prototype.reconfirm=function(a){var b;for(b=0;b<this.elements.length;b+=1)this.origin.LinkConfirm(a,this.elements[b])},i.prototype.remove=function(){var a;for(a=0;a<this.items.length;a+=1)this.items[a].target.off(".liblink");for(a=0;a<this.elements.length;a+=1)this.elements[a].remove()},i.prototype.change=function(a){if(this.origin.LinkIsEmitting)return!1;this.origin.LinkIsEmitting=!0;var b,c=Array.prototype.slice.call(arguments,1);for(c.unshift(a),b=0;b<this.items.length;b+=1)this.items[b].set.apply(this.items[b],c);this.origin.LinkIsEmitting=!1},a.fn.Link=function(b){var c=this;if(b===!1)return c.each(function(){this.linkAPI&&(a.map(this.linkAPI,function(a){a.remove()}),delete this.linkAPI)});if(void 0===b)b=0;else if("string"!=typeof b)throw new Error("Flag must be string.");return{to:function(a,d,e){return c.each(function(){j.call(this,b,a,d,e)})}}}}(window.jQuery||window.Zepto),function(a){"use strict";function b(b){return a.grep(b,function(c,d){return d===a.inArray(c,b)})}function c(a,b){return Math.round(a/b)*b}function d(a){return"number"==typeof a&&!isNaN(a)&&isFinite(a)}function e(a){var b=Math.pow(10,7);return Number((Math.round(a*b)/b).toFixed(7))}function f(a,b,c){a.addClass(b),setTimeout(function(){a.removeClass(b)},c)}function g(a){return Math.max(Math.min(a,100),0)}function h(b){return a.isArray(b)?b:[b]}function i(a,b){return 100/(b-a)}function j(a,b){return 100*b/(a[1]-a[0])}function k(a,b){return j(a,a[0]<0?b+Math.abs(a[0]):b-a[0])}function l(a,b){return b*(a[1]-a[0])/100+a[0]}function m(a,b){for(var c=1;a>=b[c];)c+=1;return c}function n(a,b,c){if(c>=a.slice(-1)[0])return 100;var d,e,f,g,h=m(c,a);return d=a[h-1],e=a[h],f=b[h-1],g=b[h],f+k([d,e],c)/i(f,g)}function o(a,b,c){if(c>=100)return a.slice(-1)[0];var d,e,f,g,h=m(c,b);return d=a[h-1],e=a[h],f=b[h-1],g=b[h],l([d,e],(c-f)*i(f,g))}function p(a,b,d,e){if(100===e)return e;var f,g,h=m(e,a);return d?(f=a[h-1],g=a[h],e-f>(g-f)/2?g:f):b[h-1]?a[h-1]+c(e-a[h-1],b[h-1]):e}function q(a,b,c){var e;if("number"==typeof b&&(b=[b]),"[object Array]"!==Object.prototype.toString.call(b))throw new Error("noUiSlider: 'range' contains invali
69d value.");if(e="min"===a?0:"max"===a?100:parseFloat(a),!d(e)||!d(b[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");c.xPct.push(e),c.xVal.push(b[0]),e?c.xSteps.push(isNaN(b[1])?!1:b[1]):isNaN(b[1])||(c.xSteps[0]=b[1])}function r(a,b,c){return b?void(c.xSteps[a]=j([c.xVal[a],c.xVal[a+1]],b)/i(c.xPct[a],c.xPct[a+1])):!0}function s(a,b,c,d){this.xPct=[],this.xVal=[],this.xSteps=[d||!1],this.xNumSteps=[!1],this.snap=b,this.direction=c;var e,f=this;for(e in a)a.hasOwnProperty(e)&&q(e,a[e],f);f.xNumSteps=f.xSteps.slice(0);for(e in f.xNumSteps)f.xNumSteps.hasOwnProperty(e)&&r(Number(e),f.xNumSteps[e],f)}function t(a,b){if(!d(b))throw new Error("noUiSlider: 'step' is not numeric.");a.singleStep=b}function u(b,c){if("object"!=typeof c||a.isArray(c))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===c.min||void 0===c.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");b.spectrum=new s(c,b.snap,b.dir,b.singleStep)}function v(b,c){if(c=h(c),!a.isArray(c)||!c.length||c.length>2)throw new Error("noUiSlider: 'start' option is incorrect.");b.handles=c.length,b.start=c}function w(a,b){if(a.snap=b,"boolean"!=typeof b)throw new Error("noUiSlider: 'snap' option must be a boolean.")}function x(a,b){if(a.animate=b,"boolean"!=typeof b)throw new Error("noUiSlider: 'animate' option must be a boolean.")}function y(a,b){if("lower"===b&&1===a.handles)a.connect=1;else if("upper"===b&&1===a.handles)a.connect=2;else if(b===!0&&2===a.handles)a.connect=3;else{if(b!==!1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");a.connect=0}}function z(a,b){switch(b){case"horizontal":a.ort=0;break;case"vertical":a.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function A(a,b){if(!d(b))throw new Error("noUiSlider: 'margin' option must be numeric.");if(a.margin=a.spectrum.getMargin(b),!a.margin)throw new Error("noUiSlider: 'margin' option is only supported on linear sliders.")}function B(a,b){if(!d(b))throw new Error("noUiSlider: 'limit' option must be numeric.");if(a.limit=a.spectrum.getMargin(b),!a.limit)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders.")}function C(a,b){switch(b){case"ltr":a.dir=0;break;case"rtl":a.dir=1,a.connect=[0,2,1,3][a.connect];break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function D(a,b){if("string"!=typeof b)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var c=b.indexOf("tap")>=0,d=b.indexOf("drag")>=0,e=b.indexOf("fixed")>=0,f=b.indexOf("snap")>=0;a.events={tap:c||f,drag:d,fixed:e,snap:f}}function E(a,b){if(a.format=b,"function"==typeof b.to&&"function"==typeof b.from)return!0;throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.")}function F(b){var c,d={margin:0,limit:0,animate:!0,format:Y};return c={step:{r:!1,t:t},start:{r:!0,t:v},connect:{r:!0,t:y},direction:{r:!0,t:C},snap:{r:!1,t:w},animate:{r:!1,t:x},range:{r:!0,t:u},orientation:{r:!1,t:z},margin:{r:!1,t:A},limit:{r:!1,t:B},behaviour:{r:!0,t:D},format:{r:!1,t:E}},b=a.extend({connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal"},b),a.each(c,function(a,c){if(void 0===b[a]){if(c.r)throw new Error("noUiSlider: '"+a+"' is required.");return!0}c.t(d,b[a])}),d.style=d.ort?"top":"left",d}function G(a,b,c){var d=a+b[0],e=a+b[1];return c?(0>d&&(e+=Math.abs(d)),e>100&&(d-=e-100),[g(d),g(e)]):[d,e]}function H(a){a.preventDefault();var b,c,d=0===a.type.indexOf("touch"),e=0===a.type.indexOf("mouse"),f=0===a.type.indexOf("pointer"),g=a;return 0===a.type.indexOf("MSPointer")&&(f=!0),a.originalEvent&&(a=a.originalEvent),d&&(b=a.changedTouches[0].pageX,c=a.changedTouches[0].pageY),(e||f)&&(f||void 0!==window.pageXOffset||(window.pageXOffset=document.documentElement.scrollLeft,window.pageYOffset=document.documentElement.scrollTop),b=a.clientX+window.pageXOffset,c=a.clientY+window.pageYOffset),g.points=[b,c],g.cursor=e,g}function I(b,c){var d=a("<div><div/></div>").addClass(X[2]),e=["-lower","-upper"];return b&&e.reverse(),d.children().addClass(X[3]+" "+X[3]+e[c]),d}function J(a,b,c){switch(a){case 1:b.addClass(X[7]),c[0].addClass(X[6]);break;case 3:c[1].addClass(X[6]);case 2:c[0].addClass(X[7]);case 0:b.addClass(X[6])}}function K(a,b,c){var d,e=[];for(d=0;a>d;
69d+=1)e.push(I(b,d).appendTo(c));return e}function L(b,c,d){return d.addClass([X[0],X[8+b],X[4+c]].join(" ")),a("<div/>").appendTo(d).addClass(X[1])}function M(b,c,d){function e(){return B[["width","height"][c.ort]]()}function i(a){var b,c=[D.val()];for(b=0;b<a.length;b+=1)D.trigger(a[b],c)}function j(a){return 1===a.length?a[0]:c.dir?a.reverse():a}function k(a){return function(b,c){D.val([a?null:c,a?c:null],!0)}}function l(b){var c=a.inArray(b,M);D[0].linkAPI&&D[0].linkAPI[b]&&D[0].linkAPI[b].change(I[c],C[c].children(),D)}function m(b,d){var e=a.inArray(b,M);return d&&d.appendTo(C[e].children()),c.dir&&c.handles>1&&(e=1===e?0:1),k(e)}function n(){var a,b;for(a=0;a<M.length;a+=1)this.linkAPI&&this.linkAPI[b=M[a]]&&this.linkAPI[b].reconfirm(b)}function o(a,b,d,e){return a=a.replace(/\s/g,V+" ")+V,b.on(a,function(a){return D.attr("disabled")?!1:D.hasClass(X[14])?!1:(a=H(a),a.calcPoint=a.points[c.ort],void d(a,e))})}function p(a,b){var c,d=b.handles||C,f=!1,g=100*(a.calcPoint-b.start)/e(),h=d[0][0]!==C[0][0]?1:0;c=G(g,b.positions,d.length>1),f=u(d[0],c[h],1===d.length),d.length>1&&(f=u(d[1],c[h?0:1],!1)||f),f&&i(["slide"])}function q(b){a("."+X[15]).removeClass(X[15]),b.cursor&&a("body").css("cursor","").off(V),T.off(V),D.removeClass(X[12]),i(["set","change"])}function r(b,c){1===c.handles.length&&c.handles[0].children().addClass(X[15]),b.stopPropagation(),o(W.move,T,p,{start:b.calcPoint,handles:c.handles,positions:[E[0],E[C.length-1]]}
69),o(W.end,T,q,null),b.cursor&&(a("body").css("cursor",a(b.target).css("cursor")),C.length>1&&D.addClass(X[12]),a("body").on("selectstart"+V,!1))}function s(b){var d,g=b.calcPoint,h=0;b.stopPropagation(),a.each(C,function(){h+=this.offset()[c.style]}),h=h/2>g||1===C.length?0:1,g-=B.offset()[c.style],d=100*g/e(),c.events.snap||f(D,X[14],300),u(C[h],d),i(["slide","set","change"]),c.events.snap&&r(b,{handles:[C[h]]})}function t(a){var b,c;if(!a.fixed)for(b=0;b<C.length;b+=1)o(W.start,C[b].children(),r,{handles:[C[b]]});a.tap&&o(W.start,B,s,{handles:C}),a.drag&&(c=B.find("."+X[7]).addClass(X[10]),a.fixed&&(c=c.add(B.children().not(c).children())),o(W.start,c,r,{handles:C}))}function u(a,b,d){var e=a[0]!==C[0][0]?1:0,f=E[0]+c.margin,h=E[1]-c.margin,i=E[0]+c.limit,j=E[1]-c.limit;return C.length>1&&(b=e?Math.max(b,f):Math.min(b,h)),d!==!1&&c.limit&&C.length>1&&(b=e?Math.min(b,i):Math.max(b,j)),b=F.getStep(b),b=g(parseFloat(b.toFixed(7))),b===E[e]?!1:(a.css(c.style,b+"%"),a.is(":first-child")&&a.toggleClass(X[17],b>50),E[e]=b,I[e]=F.fromStepping(b),l(M[e]),!0)}function v(a,b){var d,e,f;for(c.limit&&(a+=1),d=0;a>d;d+=1)e=d%2,f=b[e],null!==f&&f!==!1&&("number"==typeof f&&(f=String(f)),f=c.format.from(f),(f===!1||isNaN(f)||u(C[e],F.toStepping(f),d===3-c.dir)===!1)&&l(M[e]))}function w(a){if(D[0].LinkIsEmitting)return this;var b,d=h(a);return c.dir&&c.handles>1&&d.reverse(),c.animate&&-1!==E[0]&&f(D,X[14],300),b=C.length>1?3:1,1===d.length&&(b=1),v(b,d),i(["set"]),this}function x(){var a,b=[];for(a=0;a<c.handles;a+=1)b[a]=c.format.to(I[a]);return j(b)}function y(){return a(this).off(V).removeClass(X.join(" ")).empty(),delete this.LinkUpdate,delete this.LinkConfirm,delete this.LinkDefaultFormatter,delete this.LinkDefaultFlag,delete this.reappend,delete this.vGet,delete this.vSet,delete this.getCurrentStep,delete this.getInfo,delete this.destroy,d}function z(){var b=a.map(E,function(a,b){var c=F.getApplicableStep(a),d=I[b],e=c[2],f=d-c[2]>=c[1]?c[2]:c[0];return[[f,e]]});return j(b)}function A(){return d}var B,C,D=a(b),E=[-1,-1],F=c.spectrum,I=[],M=["lower","upper"].slice(0,c.handles);if(c.dir&&M.reverse(),b.LinkUpdate=l,b.LinkConfirm=m,b.LinkDefaultFormatter=c.format,b.LinkDefaultFlag="lower",b.reappend=n,D.hasClass(X[0]))throw new Error("Slider was already initialized.");B=L(c.dir,c.ort,D),C=K(c.handles,c.dir,B),J(c.connect,D,C),t(c.events),b.vSet=w,b.vGet=x,b.destroy=y,b.getCurrentStep=z,b.getOriginalOptions=A,b.getInfo=function(){return[F,c.style,c.ort]},D.val(c.start)}function N(a){if(!this.length)throw new Error("noUiSlider: Can't initialize slider on empty selection.");var b=F(a,this);return this.each(function(){M(this,b,a)})}function O(b){return this.each(function(){if(!this.destroy)return void a(this).noUiSlider(b);var c=a(this).val(),d=this.destroy(),e=a.extend({},d,b);a(this).noUiSlider(e),this.reappend(),d.start===e.start&&a(this).val(c)})}function P(){return this[0][arguments.length?"vSet":"vGet"].apply(this[0],arguments)}function Q(b,c,d,e){if("range"===c||"steps"===c)return b.xVal;if("count"===c){var f,g=100/(d-1),h=0;for(d=[];(f=h++*g)<=100;)d.push(f);c="positions"}return"positions"===c?a.map(d,function(a){return b.fromStepping(e?b.getStep(a):a)}):"values"===c?e?a.map(d,function(a){return b.fromStepping(b.getStep(b.toStepping(a)))}):d:void 0}function R(c,d,e,f){var g=c.direction,h={},i=c.xVal[0],j=c.xVal[c.xVal.length-1],k=!1,l=!1,m=0;return c.direction=0,f=b(f.slice().sort(function(a,b){return a-b})),f[0]!==i&&(f.unshift(i),k=!0),f[f.length-1]!==j&&(f.push(j),l=!0),a.each(f,function(b){var g,i,j,n,o,p,q,r,s,t,u=f[b],v=f[b+1];if("steps"===e&&(g=c.xNumSteps[b]),g||(g=v-u),u!==!1&&void 0!==v)for(i=u;v>=i;i+=g){for(n=c.toStepping(i),o=n-m,r=o/d,s=Math.round(r),t=o/s,j=1;s>=j;j+=1)p=m+j*t,h[p.toFixed(5)]=["x",0];q=a.inArray(i,f)>-1?1:"steps"===e?2:0,!b&&k&&(q=0),i===v&&l||(h[n.toFixed(5)]=[i,q]),m=n}}),c.direction=g,h}function S(b,c,d,e,f,g){function h(a,b){return["-normal","-large","-sub"][a&&f?f(b,a):a]}function i(a,c,d){return'class="'+c+" "+c+"-"+k+" "+c+h(d[1],d[0])+'" style="'+b+": "+a+'%"'}function j(a,b){d&&(a=100-a),l.append("<div "+i(a,"noUi-marker",b)+"></div>"),b[1]&&l.append("<div "+i(a,"noUi-value",b)+">"+g.to(b[0])+"</div>")}var k=["horizontal","vertical"][c],l=a("<div/>");return l.addClass("noUi-pips noUi-pips-"+k),a.each(e,j),l}var T=a(document),U=a.fn.val,V=".nui",W=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}
69:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},X=["noUi-target","noUi-base","noUi-origin","noUi-handle","noUi-horizontal","noUi-vertical","noUi-background","noUi-connect","noUi-ltr","noUi-rtl","noUi-dragable","","noUi-state-drag","","noUi-state-tap","noUi-active","","noUi-stacking"];s.prototype.getMargin=function(a){return 2===this.xPct.length?j(this.xVal,a):!1},s.prototype.toStepping=function(a){return a=n(this.xVal,this.xPct,a),this.direction&&(a=100-a),a},s.prototype.fromStepping=function(a){return this.direction&&(a=100-a),e(o(this.xVal,this.xPct,a))},s.prototype.getStep=function(a){return this.direction&&(a=100-a),a=p(this.xPct,this.xSteps,this.snap,a),this.direction&&(a=100-a),a},s.prototype.getApplicableStep=function(a){var b=m(a,this.xPct),c=100===a?2:1;return[this.xNumSteps[b-2],this.xVal[b-c],this.xNumSteps[b-c]]},s.prototype.convert=function(a){return this.getStep(this.toStepping(a))};var Y={to:function(a){return a.toFixed(2)},from:Number};a.fn.val=function(b){function c(a){return a.hasClass(X[0])?P:U}if(void 0===b){var d=a(this[0]);return c(d).call(d)}var e=a.isFunction(b);return this.each(function(d){var f=b,g=a(this);e&&(f=b.call(this,d,g.val())),c(g).call(g,f)})},a.fn.noUiSlider=function(a,b){switch(a){case"step":return this[0].getCurrentStep();case"options":return this[0].getOriginalOptions()}return(b?O:N).call(this,a)},a.fn.noUiSlider_pips=function(b){var c=b.mode,d=b.density||1,e=b.filter||!1,f=b.values||!1,g=b.format||{to:Math.round},h=b.stepped||!1;return this.each(function(){var b=this.getInfo(),i=Q(b[0],c,f,h),j=R(b[0],d,c,i);return a(this).append(S(b[1],b[2],b[0].direction,j,e,g))})}}(window.jQuery||window.Zepto) 70;!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.PhotoSwipe=t()}(this,function(){"use strict";var e=function(e,t,n,o){var i={features:null,bind:function(e,t,n,o){var i=(o?"remove":"add")+"EventListener";t=t.split(" ");for(var a=0;a<t.length;a++)t[a]&&e[i](t[a],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){i.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){i.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(i.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var o=e.length;o--;)if(e[o][n]===t)return o;return-1},extend:function(e,t,n){for(var o in t)if(t.hasOwnProperty(o)){if(n&&e.hasOwnProperty(o))continue;e[o]=t[o]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(i.features)return i.features;var e=i.createEl(),t=e.style,n="",o={};if(o.oldIE=document.all&&!document.addEventListener,o.touch="ontouchstart"in window,window.requestAnimationFrame&&(o.raf=window.requestAnimationFrame,o.caf=window.cancelAnimationFrame),o.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,!o.pointerEvent){var a=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var r=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);r&&r.length>0&&(r=parseInt(r[1],10),r>=1&&8>r&&(o.isOldIOSPhone=!0))}var l=a.match(/Android\s([0-9\.]*)/),s=l?l[1]:0;s=parseFloat(s),s>=1&&(4.4>s&&(o.isOldAndroid=!0),o.androidVersion=s),o.isMobileOpera=/opera mini|o
70pera mobi/i.test(a)}for(var u,c,d=["transform","perspective","animationName"],p=["","webkit","Moz","ms","O"],m=0;4>m;m++){n=p[m];for(var f=0;3>f;f++)u=d[f],c=n+(n?u.charAt(0).toUpperCase()+u.slice(1):u),!o[u]&&c in t&&(o[u]=c);n&&!o.raf&&(n=n.toLowerCase(),o.raf=window[n+"RequestAnimationFrame"],o.raf&&(o.caf=window[n+"CancelAnimationFrame"]||window[n+"CancelRequestAnimationFrame"]))}if(!o.raf){var h=0;o.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-h)),o=window.setTimeout(function(){e(t+n)},n);return h=t+n,o},o.caf=function(e){clearTimeout(e)}}return o.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i.features=o,o}};i.detectFeatures(),i.features.oldIE&&(i.bind=function(e,t,n,o){t=t.split(" ");for(var i,a=(o?"detach":"attach")+"Event",r=function(){n.handleEvent.call(n)},l=0;l<t.length;l++)if(i=t[l])if("object"==typeof n&&n.handleEvent){if(o){if(!n["oldIE"+i])return!1}else n["oldIE"+i]=r;e[a]("on"+i,n["oldIE"+i])}else e[a]("on"+i,n)});var a=this,r=25,l=3,s={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e?1:t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};i.extend(s,o);var u,c,d,p,m,f,h,v,g,x,y,w,b,C,I,T,E,D,S,_,M,F,O,k,A,R,L,Z,P,z,N,U,K,H,B,W,Y,G,q,V,X,j,$,J,Q,ee,te,ne,oe,ie,ae,re,le,se,ue,ce,de=function(){return{x:0,y:0}},pe=de(),me=de(),fe=de(),he={},ve=0,ge={},xe=de(),ye=0,we=!0,be=[],Ce={},Ie=!1,Te=function(e,t){i.extend(a,t.publicMethods),be.push(e)},Ee=function(e){var t=Qt();return e>t-1?e-t:0>e?t+e:e},De={},Se=function(e,t){return De[e]||(De[e]=[]),De[e].push(t)},_e=function(e){var t=De[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var o=0;o<t.length;o++)t[o].apply(a,n)}},Me=function(){return(new Date).getTime()},Fe=function(e){se=e,a.bg.style.opacity=e*s.bgOpacity},Oe=function(e,t,n,o,i){(!Ie||i&&i!==a.currItem)&&(o/=i?i.fitRatio:a.currItem.fitRatio),e[F]=w+t+"px, "+n+"px"+b+" scale("+o+")"},ke=function(e){oe&&(e&&(x>a.currItem.fitRatio?Ie||(pn(a.currItem,!1,!0),Ie=!0):Ie&&(pn(a.currItem),Ie=!1)),Oe(oe,fe.x,fe.y,x))},Ae=function(e){e.container&&Oe(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Re=function(e,t){t[F]=w+e+"px, 0px"+b},Le=function(e,t){if(!s.loop&&t){var n=p+(xe.x*ve-e)/xe.x,o=Math.round(e-xt.x);(0>n&&o>0||n>=Qt()-1&&0>o)&&(e=xt.x+o*s.mainScrollEndFriction)}xt.x=e,Re(e,m)},Ze=function(e,t){var n=yt[e]-ge[e];return me[e]+pe[e]+n-n*(t/y)},Pe=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},ze=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},Ne=null,Ue=function(){Ne&&(i.unbind(document,"mousemove",Ue),i.addClass(e,"pswp--has_mouse"),s.mouseUsed=!0,_e("mouseUsed")),Ne=setTimeout(function(){Ne=null},100)},Ke=function(){i.bind(document,"keydown",a),N.transform&&i.bind(a.scrollWrap,"click",a),s.mouseUsed||i.bind(document,"mousemove",Ue),i.bind(window,"resize scroll",a),_e("bindEvents")},He=function(){i.unbind(window,"resize",a),i.unbind(window,"scroll",g.scroll),i.unbind(document,"keydown",a),i.unbind(document,"mousemove",Ue),N.transform&&i.unbind(a.scrollWrap,"click",a),G&&i.unbind(window,h,a),_e("unbindEvents")},Be=function(e,t){var n=sn(a.currItem,he,e);return t&&(ne=n),n},We=function(e){return e||(e=a.currItem),e.initialZoomLevel},Ye=function(e){return e||(e=a.currItem),e.w>0?s.maxSpreadZoom:1},Ge=function(e,t,n,o){return o===a.currItem.initialZoomLevel?(n[e]=a.currItem.initialPosition[e],!0):(n[e]=Ze(e,o),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},qe=function(){if(F){var t=N.perspective&&!k;return w="translate"+(t?"3d(":"("),void(b=N.perspective?", 0px)":")")}F="left",i.addClass(e,"pswp--ie"),Re=function(e,t){t.left=e+"px"},Ae=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,o=t*e.w,i=t*e.h;n.width=o+"px",n.height=i+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"}
70,ke=function(){if(oe){var e=oe,t=a.currItem,n=t.fitRatio>1?1:t.fitRatio,o=n*t.w,i=n*t.h;e.width=o+"px",e.height=i+"px",e.left=fe.x+"px",e.top=fe.y+"px"}}},Ve=function(e){var t="";s.escKey&&27===e.keyCode?t="close":s.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),t&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,a[t]()))},Xe=function(e){e&&(X||V||ie||W)&&(e.preventDefault(),e.stopPropagation())},je=function(){a.setScrollOffset(0,i.getScrollY())},$e={},Je=0,Qe=function(e){$e[e]&&($e[e].raf&&R($e[e].raf),Je--,delete $e[e])},et=function(e){$e[e]&&Qe(e),$e[e]||(Je++,$e[e]={})},tt=function(){for(var e in $e)$e.hasOwnProperty(e)&&Qe(e)},nt=function(e,t,n,o,i,a,r){var l,s=Me();et(e);var u=function(){if($e[e]){if(l=Me()-s,l>=o)return Qe(e),a(n),void(r&&r());a((n-t)*i(l/o)+t),$e[e].raf=A(u)}};u()},ot={shout:_e,listen:Se,viewportSize:he,options:s,isMainScrollAnimating:function(){return ie},getZoomLevel:function(){return x},getCurrentIndex:function(){return p},isDragging:function(){return G},isZooming:function(){return Q},setScrollOffset:function(e,t){ge.x=e,z=ge.y=t,_e("updateScrollOffset",ge)},applyZoomPan:function(e,t,n,o){fe.x=t,fe.y=n,x=e,ke(o)},init:function(){if(!u&&!c){var n;a.framework=i,a.template=e,a.bg=i.getChildByClass(e,"pswp__bg"),L=e.className,u=!0,N=i.detectFeatures(),A=N.raf,R=N.caf,F=N.transform,P=N.oldIE,a.scrollWrap=i.getChildByClass(e,"pswp__scroll-wrap"),a.container=i.getChildByClass(a.scrollWrap,"pswp__container"),m=a.container.style,a.itemHolders=T=[{el:a.container.children[0],wrap:0,index:-1},{el:a.container.children[1],wrap:0,index:-1},{el:a.container.children[2],wrap:0,index:-1}],T[0].el.style.display=T[2].el.style.display="none",qe(),g={resize:a.updateSize,scroll:je,keydown:Ve,click:Xe};var o=N.isOldIOSPhone||N.isOldAndroid||N.isMobileOpera;for(N.animationName&&N.transform&&!o||(s.showAnimationDuration=s.hideAnimationDuration=0),n=0;n<be.length;n++)a["init"+be[n]]();if(t){var r=a.ui=new t(a,i);r.init()}_e("firstUpdate"),p=p||s.index||0,(isNaN(p)||0>p||p>=Qt())&&(p=0),a.currItem=Jt(p),(N.isOldIOSPhone||N.isOldAndroid)&&(we=!1),e.setAttribute("aria-hidden","false"),s.modal&&(we?e.style.position="fixed":(e.style.position="absolute",e.style.top=i.getScrollY()+"px")),void 0===z&&(_e("initialLayout"),z=Z=i.getScrollY());var d="pswp--open ";for(s.mainClass&&(d+=s.mainClass+" "),s.showHideOpacity&&(d+="pswp--animate_opacity "),d+=k?"pswp--touch":"pswp--notouch",d+=N.animationName?" pswp--css_animation":"",d+=N.svg?" pswp--svg":"",i.addClass(e,d),a.updateSize(),f=-1,ye=null,n=0;l>n;n++)Re((n+f)*xe.x,T[n].el.style);P||i.bind(a.scrollWrap,v,a),Se("initialZoomInEnd",function(){a.setContent(T[0],p-1),a.setContent(T[2],p+1),T[0].el.style.display=T[2].el.style.display="block",s.focus&&e.focus(),Ke()}),a.setContent(T[1],p),a.updateCurrItem(),_e("afterInit"),we||(C=setInterval(function(){Je||G||Q||x!==a.currItem.initialZoomLevel||a.updateSize()},1e3)),i.addClass(e,"pswp--visible")}},close:function(){u&&(u=!1,c=!0,_e("close"),He(),tn(a.currItem,null,!0,a.destroy))},destroy:function(){_e("destroy"),Vt&&clearTimeout(Vt),e.setAttribute("aria-hidden","true"),e.className=L,C&&clearInterval(C),i.unbind(a.scrollWrap,v,a),i.unbind(window,"scroll",a),Tt(),tt(),De=null},panTo:function(e,t,n){n||(e>ne.min.x?e=ne.min.x:e<ne.max.x&&(e=ne.max.x),t>ne.min.y?t=ne.min.y:t<ne.max.y&&(t=ne.max.y)),fe.x=e,fe.y=t,ke()},handleEvent:function(e){e=e||window.event,g[e.type]&&g[e.type](e)},goTo:function(e){e=Ee(e);var t=e-p;ye=t,p=e,a.currItem=Jt(p),ve-=t,Le(xe.x*ve),tt(),ie=!1,a.updateCurrItem()},next:function(){a.goTo(p+1)},prev:function(){a.goTo(p-1)},updateCurrZoomItem:function(e){if(e&&_e("beforeChange",0),T[1].el.children.length){var t=T[1].el.children[0];oe=i.hasClass(t,"pswp__zoom-wrap")?t.style:null}else oe=null;ne=a.currItem.bounds,y=x=a.currItem.initialZoomLevel,fe.x=ne.center.x,fe.y=ne.center.y,e&&_e("afterChange")},invalidateCurrItems:function(){I=!0;for(var e=0;l>e;e++)T[e].item&&(T[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==ye){var t,n=Math.abs(ye);if(!(e&&2>n)){a.currItem=Jt(p),Ie=!1,_e("beforeChange",ye),n>=l&&(f+=ye+(ye>0?-l:l),n=l);for(var o=0;n>o;o++)ye>0?(t=T.shift(),T[l-1]=t,f++,Re((f+2)*xe.x,t.el.style),a.setContent(t,p-n+o+1+1)):(t=T.pop(),T.unshift(t),f
70--,Re(f*xe.x,t.el.style),a.setContent(t,p+n-o-1-1));if(oe&&1===Math.abs(ye)){var i=Jt(E);i.initialZoomLevel!==x&&(sn(i,he),pn(i),Ae(i))}ye=0,a.updateCurrZoomItem(),E=p,_e("afterChange")}}},updateSize:function(t){if(!we&&s.modal){var n=i.getScrollY();if(z!==n&&(e.style.top=n+"px",z=n),!t&&Ce.x===window.innerWidth&&Ce.y===window.innerHeight)return;Ce.x=window.innerWidth,Ce.y=window.innerHeight,e.style.height=Ce.y+"px"}if(he.x=a.scrollWrap.clientWidth,he.y=a.scrollWrap.clientHeight,je(),xe.x=he.x+Math.round(he.x*s.spacing),xe.y=he.y,Le(xe.x*ve),_e("beforeResize"),void 0!==f){for(var o,r,u,c=0;l>c;c++)o=T[c],Re((c+f)*xe.x,o.el.style),u=p+c-1,s.loop&&Qt()>2&&(u=Ee(u)),r=Jt(u),r&&(I||r.needsUpdate||!r.bounds)?(a.cleanSlide(r),a.setContent(o,u),1===c&&(a.currItem=r,a.updateCurrZoomItem(!0)),r.needsUpdate=!1):-1===o.index&&u>=0&&a.setContent(o,u),r&&r.container&&(sn(r,he),pn(r),Ae(r));I=!1}y=x=a.currItem.initialZoomLevel,ne=a.currItem.bounds,ne&&(fe.x=ne.center.x,fe.y=ne.center.y,ke(!0)),_e("resize")},zoomTo:function(e,t,n,o,a){t&&(y=x,yt.x=Math.abs(t.x)-fe.x,yt.y=Math.abs(t.y)-fe.y,Pe(me,fe));var r=Be(e,!1),l={};Ge("x",r,l,e),Ge("y",r,l,e);var s=x,u={x:fe.x,y:fe.y};ze(l);var c=function(t){1===t?(x=e,fe.x=l.x,fe.y=l.y):(x=(e-s)*t+s,fe.x=(l.x-u.x)*t+u.x,fe.y=(l.y-u.y)*t+u.y),a&&a(t),ke(1===t)};n?nt("customZoomTo",0,1,n,o||i.easing.sine.inOut,c):c(1)}},it=30,at=10,rt={},lt={},st={},ut={},ct={},dt=[],pt={},mt=[],ft={},ht=0,vt=de(),gt=0,xt=de(),yt=de(),wt=de(),bt=function(e,t){return e.x===t.x&&e.y===t.y},Ct=function(e,t){return Math.abs(e.x-t.x)<r&&Math.abs(e.y-t.y)<r},It=function(e,t){return ft.x=Math.abs(e.x-t.x),ft.y=Math.abs(e.y-t.y),Math.sqrt(ft.x*ft.x+ft.y*ft.y)},Tt=function(){j&&(R(j),j=null)},Et=function(){G&&(j=A(Et),Kt())},Dt=function(){return!("fit"===s.scaleMode&&x===a.currItem.initialZoomLevel)},St=function(e,t){return!(!e||e===document)&&(!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:St(e.parentNode,t)))},_t={},Mt=function(e,t){return _t.prevent=!St(e.target,s.isClickableElement),_e("preventDragEvent",e,t,_t),_t.prevent},Ft=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},Ot=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},kt=function(e,t,n){if(e-K>50){var o=mt.length>2?mt.shift():{};o.x=t,o.y=n,mt.push(o),K=e}},At=function(){var e=fe.y-a.currItem.initialPosition.y;return 1-Math.abs(e/(he.y/2))},Rt={},Lt={},Zt=[],Pt=function(e){for(;Zt.length>0;)Zt.pop();return O?(ce=0,dt.forEach(function(e){0===ce?Zt[0]=e:1===ce&&(Zt[1]=e),ce++})):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(Zt[0]=Ft(e.touches[0],Rt),e.touches.length>1&&(Zt[1]=Ft(e.touches[1],Lt))):(Rt.x=e.pageX,Rt.y=e.pageY,Rt.id="",Zt[0]=Rt),Zt},zt=function(e,t){var n,o,i,r,l=0,u=fe[e]+t[e],c=t[e]>0,d=xt.x+t.x,p=xt.x-pt.x;return n=u>ne.min[e]||u<ne.max[e]?s.panEndFriction:1,u=fe[e]+t[e]*n,!s.allowPanToNext&&x!==a.currItem.initialZoomLevel||(oe?"h"!==ae||"x"!==e||V||(c?(u>ne.min[e]&&(n=s.panEndFriction,l=ne.min[e]-u,o=ne.min[e]-me[e]),(0>=o||0>p)&&Qt()>1?(r=d,0>p&&d>pt.x&&(r=pt.x)):ne.min.x!==ne.max.x&&(i=u)):(u<ne.max[e]&&(n=s.panEndFriction,l=u-ne.max[e],o=me[e]-ne.max[e]),(0>=o||p>0)&&Qt()>1?(r=d,p>0&&d<pt.x&&(r=pt.x)):ne.min.x!==ne.max.x&&(i=u))):r=d,"x"!==e)?void(ie||$||x>a.currItem.fitRatio&&(fe[e]+=t[e]*n)):(void 0!==r&&(Le(r,!0),$=r!==pt.x),ne.min.x!==ne.max.x&&(void 0!==i?fe.x=i:$||(fe.x+=t.x*n)),void 0!==r)},Nt=function(e){if(!("mousedown"===e.type&&e.button>0)){if($t)return void e.preventDefault();if(!Y||"mousedown"!==e.type){if(Mt(e,!0)&&e.preventDefault(),_e("pointerDown"),O){var t=i.arraySearch(dt,e.pointerId,"id");0>t&&(t=dt.length),dt[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=Pt(e),o=n.length;J=null,tt(),G&&1!==o||(G=re=!0,i.bind(window,h,a),B=ue=le=W=$=X=q=V=!1,ae=null,_e("firstTouchStart",n),Pe(me,fe),pe.x=pe.y=0,Pe(ut,n[0]),Pe(ct,ut),pt.x=xe.x*ve,mt=[{x:ut.x,y:ut.y}],K=U=Me(),Be(x,!0),Tt(),Et()),!Q&&o>1&&!ie&&!$&&(y=x,V=!1,Q=q=!0,pe.y=pe.x=0,Pe(me,fe),Pe(rt,n[0]),Pe(lt,n[1]),Ot(rt,lt,wt),yt.x=Math.abs(wt.x)-fe.x,yt.y=Math.abs(wt.y)-fe.y,ee=te=It(rt,lt))}}},Ut=function(e){if(e.preventDefault(),O){var t=i.arraySearch(dt,e.pointerId,"id");if(t>-1){var n=dt[t];n.x=e.pageX,n.y=e.pageY}}if(G){var o=Pt(e);if(ae||X||Q)J=o;else if(xt.x!==xe.x*ve)ae="h";else{var a=Math.abs(o[0].x-ut.x)-Math.abs(o[0].y-ut.y);Math.abs(a)>=at&&(ae=a>0?"h":"v",J=o)}}},Kt=function(){if(J){var e=J.length;if(0!==e)if(Pe(rt,J[0]),st.x=rt.x-ut.x,st.y=rt.y-ut.y,Q&&e>1){if(ut.x=rt.x,ut.y=rt.y,!st.x&&!st.y&&bt(J[1],lt))return;Pe(lt,J[1]),V||(V=!0,_e("zoomGestureStarted"));var t=It(rt,lt),n=Gt(t);n>a.currItem.initialZoomLevel+a.currItem.initialZoomLevel/15&&(ue=!0);var o=1,i=We(),r=Ye();if(i>n)if(s.pinchToClose&&!ue&&y<=a.currItem.initialZoomLevel){var l=i-n,u=1-l/(i/1.2);Fe(u),_e("onPinchClose",u),le=!0}else o=(i-n)/i,o>1&&(o=1),n=i-o*(i/3);else n>r&&(o=(n-r)/(6*i),o>1&&(o=1),n=r+o*i);0>o&&(o=0),ee=t,Ot(rt,lt,vt),pe.x+=vt.x-wt.x,pe.y+=vt.y-wt.y,Pe(wt,vt),fe.x=Ze("x",n),fe.y=Ze("y",n),B=n>x,x=n,ke()}else{if(!ae)return;if(re&&(re=!1,Math.abs(st.x)>=at&&(st.x-=J[0].x-ct.x),Math.abs(st.y)>=at&&(st.y-=J[0].y-ct.y)),ut.x=rt.x,ut.y=rt.y,0===st.x&&0===st.y)return;if("v"===ae&&s.closeOnVerticalDrag&&!Dt()){pe.y+=st.y,fe.y+=st.y;var c=At();return W=!0,_e("onVerticalDrag",c),Fe(c),void ke()}kt(Me(),rt.x,rt.y),X=!0,ne=a.currItem.bounds;var d=zt("x",st);d||(zt("y",st),ze(fe),ke())}}},Ht=function(e){if(N.isOldAndroid){if(Y&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(Y),Y=setTimeout(function(){Y=0},600))}_e("pointerUp"),Mt(e,!1)&&e.preventDefault();var t;if(O){var n=i.arraySearch(dt,e.pointerId,"id");if(n>-1)if(t=dt.splice(n,1)[0],navigator.pointerEnabled)t.type=e.pointerType||"mouse";else{var o={4:"mouse",2:"touch",3:"pen"};t.type=o[e.pointerType],t.type||(t.type=e.pointerType||"mouse")}}var r,l=Pt(e),u=l.length;if("mouseup"===e.type&&(u=0),2===u)return J=null,!0;1===u&&Pe(ct,l[0]),0!==u||ae||ie||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),_e("touchRelease",e,t));var c=-1;if(0===u&&(G=!1,i.unbind(window,h,a),Tt(),Q?c=0:-1!==gt&&(c=Me()-gt)),gt=1===u?Me():-1,r=-1!==c&&150>c?"zoom":"swipe",Q&&2>u&&(Q=!1,1===u&&(r="zoomPointerUp"),_e("zoomGestureEnded")),J=null,X||V||ie||W)if(tt(),H||(H=Bt()),H.calculateSwipeSpeed("x"),W){var d=At();if(d<s.verticalDragRange)a.close();else{var p=fe.y,m=se;nt("verticalDrag",0,1,300,i.easing.cubic.out,function(e){fe.y=(a.currItem.initialPosition.y-p)*e+p,Fe((1-m)*e+m),ke()}),_e("onVerticalDrag",1)}}else{if(($||ie)&&0===u){var f=Yt(r,H);if(f)return;r="zoomPointerUp"}if(!ie)return"swipe"!==r?void qt():void(!$&&x>a.currItem.fitRatio&&Wt(H))}},Bt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{}
70,backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(o){mt.length>1?(e=Me()-K+50,t=mt[mt.length-2][o]):(e=Me()-U,t=ct[o]),n.lastFlickOffset[o]=ut[o]-t,n.lastFlickDist[o]=Math.abs(n.lastFlickOffset[o]),n.lastFlickDist[o]>20?n.lastFlickSpeed[o]=n.lastFlickOffset[o]/e:n.lastFlickSpeed[o]=0,Math.abs(n.lastFlickSpeed[o])<.1&&(n.lastFlickSpeed[o]=0),n.slowDownRatio[o]=.95,n.slowDownRatioReverse[o]=1-n.slowDownRatio[o],n.speedDecelerationRatio[o]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(fe[e]>ne.min[e]?n.backAnimDestination[e]=ne.min[e]:fe[e]<ne.max[e]&&(n.backAnimDestination[e]=ne.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,nt("bounceZoomPan"+e,fe[e],n.backAnimDestination[e],t||300,i.easing.sine.out,function(t){fe[e]=t,ke()}))))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,fe[e]+=n.distanceOffset[e])},panAnimLoop:function(){return $e.zoomPan&&($e.zoomPan.raf=A(n.panAnimLoop),n.now=Me(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),ke(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05)?(fe.x=Math.round(fe.x),fe.y=Math.round(fe.y),ke(),void Qe("zoomPan")):void 0}};return n},Wt=function(e){return e.calculateSwipeSpeed("y"),ne=a.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05?(e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0):(et("zoomPan"),e.lastNow=Me(),void e.panAnimLoop())},Yt=function(e,t){var n;ie||(ht=p);var o;if("swipe"===e){var r=ut.x-ct.x,l=t.lastFlickDist.x<10;r>it&&(l||t.lastFlickOffset.x>20)?o=-1:-it>r&&(l||t.lastFlickOffset.x<-20)&&(o=1)}var u;o&&(p+=o,0>p?(p=s.loop?Qt()-1:0,u=!0):p>=Qt()&&(p=s.loop?0:Qt()-1,u=!0),(!u||s.loop)&&(ye+=o,ve-=o,n=!0));var c,d=xe.x*ve,m=Math.abs(d-xt.x);return n||d>xt.x==t.lastFlickSpeed.x>0?(c=Math.abs(t.lastFlickSpeed.x)>0?m/Math.abs(t.lastFlickSpeed.x):333,c=Math.min(c,400),c=Math.max(c,250)):c=333,ht===p&&(n=!1),ie=!0,_e("mainScrollAnimStart"),nt("mainScroll",xt.x,d,c,i.easing.cubic.out,Le,function(){tt(),ie=!1,ht=-1,(n||ht!==p)&&a.updateCurrItem(),_e("mainScrollAnimComplete")}),n&&a.updateCurrItem(!0),n},Gt=function(e){return 1/te*e*y},qt=function(){var e=x,t=We(),n=Ye();t>x?e=t:x>n&&(e=n);var o,r=1,l=se;return le&&!B&&!ue&&t>x?(a.close(),!0):(le&&(o=function(e){Fe((r-l)*e+l)}),a.zoomTo(e,0,200,i.easing.cubic.out,o),!0)};Te("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,o,i){D=e+t,S=e+n,_=e+o,M=i?e+i:""};O=N.pointerEvent,O&&N.touch&&(N.touch=!1),O?navigator.pointerEnabled?e("pointer","down","move","up","cancel"):e("MSPointer","Down","Move","Up","Cancel"):N.touch?(e("touch","start","move","end","cancel"),k=!0):e("mouse","down","move","up"),h=S+" "+_+" "+M,v=D,O&&!k&&(k=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),a.likelyTouchDevice=k,g[D]=Nt,g[S]=Ut,g[_]=Ht,M&&(g[M]=g[_]),N.touch&&(v+=" mousedown",h+=" mousemove mouseup",g.mousedown=g[D],g.mousemove=g[S],g.mouseup=g[_]),k||(s.allowPanToNext=!1)}}});var Vt,Xt,jt,$t,Jt,Qt,en,tn=function(t,n,o,r){Vt&&clearTimeout(Vt),$t=!0,jt=!0;var l;t.initialLayout?(l=t.initialLayout,t.initialLayout=null):l=s.getThumbBoundsFn&&s.getThumbBoundsFn(p);var u=o?s.hideAnimationDuration:s.showAnimationDuration,c=function(){Qe("initialZoom"),o?(a.template.removeAttribute("style"),a.bg.removeAttribute("style")):(Fe(1),n&&(n.style.display="block"),i.addClass(e,"pswp--animated-in"),_e("initialZoom"+(o?"OutEnd":"InEnd"))),r&&r(),$t=!1};if(!u||!l||void 0===l.x)return _e("initialZoom"+(o?"Out":"In")),x=t.initialZoomLevel,Pe(fe,t.initialPosition),ke(),e.style.opacity=o?0:1,Fe(1),void(u?setTimeout(function(){c()},u):c());var m=function(){var n=d,r=!a.currItem.src||a.currItem.loadError||s.showHideOpacity;t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),o||(x=l.w/t.w,fe.x=l.x,fe.y=l.y-Z,a[r?"template":"bg"].style.opacity=.001,ke()),et("initialZoom"),o&&!n&&i.removeClass(e,"pswp--animated-in"),r&&(o?i[(n?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout(function(){i.addClass(e,"pswp--animate_opacity")},30)),Vt=setTimeout(function(){if(_e("initialZoom"+(o?"Out":"In")),o){var a=l.w/t.w,s={x:fe.x,y:fe.y},d=x,p=se,m=function(t){1===t?(x=a,fe.x=l.x,fe.y=l.y-z):(x=(a-d)*t+d,fe.x=(l.x-s.x)*t+s.x,fe.y=(l.y-z-s.y)*t+s.y),ke(),r?e.style.opacity=1-t:Fe(p-t*p)};n?nt("initialZoom",0,1,u,i.easing.cubic.out,m,c):(m(1),Vt=setTimeout(c,u+20))}else x=t.initialZoomLevel,Pe(fe,t.initialPosition),ke(),Fe(1),r?e.style.opacity=1:Fe(1),Vt=setTimeout(c,u+20)},o?25:90)};m()},nn={},on=[],an={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Xt.length}},rn=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},ln=function(e,t,n){var o=e.bounds;o.center.x=Math.round((nn.x-t)/2),o.center.y=Math.round((nn.y-n)/2)+e.vGap.top,o.max.x=t>nn.x?Math.round(nn.x-t):o.center.x,o.max.y=n>nn.y?Math.round(nn.y-n)+e.vGap.top:o.center.y,o.min.x=t>nn.x?0:o.center.x,o.min.y=n>nn.y?e.vGap.top:o.center.y},sn=function(e,t,n){if(e.src&&!e.loadError){var o=!n;if(o&&(e.vGap||(e.vGap={top:0,bottom:0}),_e("parseVerticalMargin",e)),nn.x=t.x,nn.y=t.y-e.vGap.top-e.vGap.bottom,o){var i=nn.x/e.w,a=nn.y/e.h;e.fitRatio=a>i?i:a;var r=s.scaleMode;"orig"===r?n=1:"fit"===r&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds=rn())}if(!n)return;return ln(e,e.w*n,e.h*n),o&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds=rn(),e.initialPosition=e.bounds.center,e.boun
70ds},un=function(e,t,n,o,i,r){t.loadError||o&&(t.imageAppended=!0,pn(t,o,t===a.currItem&&Ie),n.appendChild(o),r&&setTimeout(function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)},500))},cn=function(e){e.loading=!0,e.loaded=!1;var t=e.img=i.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},dn=function(e,t){return e.src&&e.loadError&&e.container?(t&&(e.container.innerHTML=""),e.container.innerHTML=s.errorMsg.replace("%url%",e.src),!0):void 0},pn=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var o=n?e.w:Math.round(e.w*e.fitRatio),i=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=o+"px",e.placeholder.style.height=i+"px"),t.style.width=o+"px",t.style.height=i+"px"}},mn=function(){if(on.length){for(var e,t=0;t<on.length;t++)e=on[t],e.holder.index===e.index&&un(e.index,e.item,e.baseDiv,e.img,!1,e.clearPlaceholder);on=[]}};Te("Controller",{publicMethods:{lazyLoadItem:function(e){e=Ee(e);var t=Jt(e);t&&(!t.loaded&&!t.loading||I)&&(_e("gettingData",e,t),t.src&&cn(t))},initController:function(){i.extend(s,an,!0),a.items=Xt=n,Jt=a.getItemAt,Qt=s.getNumItemsFn,en=s.loop,Qt()<3&&(s.loop=!1),Se("beforeChange",function(e){var t,n=s.preload,o=null===e||e>=0,i=Math.min(n[0],Qt()),r=Math.min(n[1],Qt());for(t=1;(o?r:i)>=t;t++)a.lazyLoadItem(p+t);for(t=1;(o?i:r)>=t;t++)a.lazyLoadItem(p-t)}),Se("initialLayout",function(){a.currItem.initialLayout=s.getThumbBoundsFn&&s.getThumbBoundsFn(p)}),Se("mainScrollAnimComplete",mn),Se("initialZoomInEnd",mn),Se("destroy",function(){for(var e,t=0;t<Xt.length;t++)e=Xt[t],e.container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);on=null})},getItemAt:function(e){return e>=0&&void 0!==Xt[e]&&Xt[e]},allowProgressiveImg:function(){return s.forceProgressiveLoading||!k||s.mouseUsed||screen.width>1200},setContent:function(e,t){s.loop&&(t=Ee(t));var n=a.getItemAt(e.index);n&&(n.container=null);var o,r=a.getItemAt(t);if(!r)return void(e.el.innerHTML="");_e("gettingData",t,r),e.index=t,e.item=r;var l=r.container=i.createEl("pswp__zoom-wrap");if(!r.src&&r.html&&(r.html.tagName?l.appendChild(r.html):l.innerHTML=r.html),dn(r),sn(r,he),!r.src||r.loadError||r.loaded)r.src&&!r.loadError&&(o=i.createEl("pswp__img","img"),o.style.opacity=1,o.src=r.src,pn(r,o),un(t,r,l,o,!0));else{if(r.loadComplete=function(n){if(u){if(e&&e.index===t){if(dn(n,!0))return n.loadComplete=n.img=null,sn(n,he),Ae(n),void(e.index===p&&a.updateCurrZoomItem());n.imageAppended?!$t&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):N.transform&&(ie||$t)?on.push({item:n,baseDiv:l,img:n.img,index:t,holder:e,clearPlaceholder:!0}):un(t,n,l,n.img,ie||$t,!0)}n.loadComplete=null,n.img=null,_e("imageLoadComplete",t,n)}},i.features.transform){var c="pswp__img pswp__img--placeholder";c+=r.msrc?"":" pswp__img--placeholder--blank";var d=i.createEl(c,r.msrc?"img":"");
70r.msrc&&(d.src=r.msrc),pn(r,d),l.appendChild(d),r.placeholder=d}r.loading||cn(r),a.allowProgressiveImg()&&(!jt&&N.transform?on.push({item:r,baseDiv:l,img:r.img,index:t,holder:e}):un(t,r,l,r.img,!0,!0))}jt||t!==p?Ae(r):(oe=l.style,tn(r,o||r.img)),e.el.innerHTML="",e.el.appendChild(l)},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var fn,hn={},vn=function(e,t,n){var o=document.createEvent("CustomEvent"),i={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};o.initCustomEvent("pswpTap",!0,!0,i),e.target.dispatchEvent(o)};Te("Tap",{publicMethods:{initTap:function(){Se("firstTouchStart",a.onTapStart),Se("touchRelease",a.onTapRelease),Se("destroy",function(){hn={},fn=null})},onTapStart:function(e){e.length>1&&(clearTimeout(fn),fn=null)},onTapRelease:function(e,t){if(t&&!X&&!q&&!Je){var n=t;if(fn&&(clearTimeout(fn),fn=null,Ct(n,hn)))return void _e("doubleTap",n);if("mouse"===t.type)return void vn(e,t,"mouse");var o=e.target.tagName.toUpperCase();if("BUTTON"===o||i.hasClass(e.target,"pswp__single-tap"))return void vn(e,t);Pe(hn,n),fn=setTimeout(function(){vn(e,t),fn=null},300)}}}});var gn;Te("DesktopZoom",{publicMethods:{initDesktopZoom:function(){P||(k?Se("mouseUsed",function(){a.setupDesktopZoom()}):a.setupDesktopZoom(!0))},setupDesktopZoom:function(t){gn={};var n="wheel mousewheel DOMMouseScroll";Se("bindEvents",function(){i.bind(e,n,a.handleMouseWheel)}),Se("unbindEvents",function(){gn&&i.unbind(e,n,a.handleMouseWheel)}),a.mouseZoomedIn=!1;var o,r=function(){a.mouseZoomedIn&&(i.removeClass(e,"pswp--zoomed-in"),a.mouseZoomedIn=!1),1>x?i.addClass(e,"pswp--zoom-allowed"):i.removeClass(e,"pswp--zoom-allowed"),l()},l=function(){o&&(i.removeClass(e,"pswp--dragging"),o=!1)};Se("resize",r),Se("afterChange",r),Se("pointerDown",function(){a.mouseZoomedIn&&(o=!0,i.addClass(e,"pswp--dragging"))}),Se("pointerUp",l),t||r()},handleMouseWheel:function(e){if(x<=a.currItem.fitRatio)return s.modal&&(!s.closeOnScroll||Je||G?e.preventDefault():F&&Math.abs(e.deltaY)>2&&(d=!0,a.close())),!0;if(e.stopPropagation(),gn.x=0,"deltaX"in e)1===e.deltaMode?(gn.x=18*e.deltaX,gn.y=18*e.deltaY):(gn.x=e.deltaX,gn.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(gn.x=-.16*e.wheelDeltaX),e.wheelDeltaY?gn.y=-.16*e.wheelDeltaY:gn.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;gn.y=e.detail}Be(x,!0);var t=fe.x-gn.x,n=fe.y-gn.y;(s.modal||t<=ne.min.x&&t>=ne.max.x&&n<=ne.min.y&&n>=ne.max.y)&&e.preventDefault(),a.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:he.x/2+ge.x,y:he.y/2+ge.y};var n=s.getDoubleTapZoom(!0,a.currItem),o=x===n;a.mouseZoomedIn=!o,a.zoomTo(o?a.currItem.initialZoomLevel:n,t,333),i[(o?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var xn,yn,wn,bn,Cn,In,Tn,En,Dn,Sn,_n,Mn,Fn={history:!0,galleryUID:1},On=function(){return _n.hash.substring(1)},kn=function(){xn&&clearTimeout(xn),wn&&clearTimeout(wn)},An=function(){var e=On(),t={};if(e.length<5)return t;var n,o=e.split("&");for(n=0;n<o.length;n++)if(o[n]){var i=o[n].split("=");i.length<2||(t[i[0]]=i[1])}if(s.galleryPIDs){var a=t.pid;for(t.pid=0,n=0;n<Xt.length;n++)if(Xt[n].pid===a){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},Rn=function(){if(wn&&clearTimeout(wn),Je||G)return void(wn=setTimeout(Rn,500));bn?clearTimeout(yn):bn=!0;var e=p+1,t=Jt(p);t.hasOwnProperty("pid")&&(e=t.pid);var n=Tn+"&gid="+s.galleryUID+"&pid="+e;En||-1===_n.hash.indexOf(n)&&(Sn=!0);var o=_n.href.split("#")[0]+"#"+n;Mn?"#"+n!==window.location.hash&&history[En?"replaceState":"pushState"]("",document.title,o):En?_n.replace(o):_n.hash=n,En=!0,yn=setTimeout(function(){bn=!1},60)};Te("History",{publicMethods:{initHistory:function(){if(i.extend(s,Fn,!0),s.history){_n=window.location,Sn=!1,Dn=!1,En=!1,Tn=On(),Mn="pushState"in history,Tn.indexOf("gid=")>-1&&(Tn=Tn.split("&gid=")[0],Tn=Tn.split("?gid=")[0]),Se("afterChange",a.updateURL),Se("unbindEvents",function(){i.unbind(window,"hashchange",a.onHashChange)});var e=function(){In=!0,Dn||(Sn?history.back():Tn?_n.hash=Tn:Mn?history.pushState("",document.title,_n.pathname+_n.search):_n.hash=""),kn()};Se("unbindEvents",function(){d&&e()}
70),Se("destroy",function(){In||e()}),Se("firstUpdate",function(){p=An().pid});var t=Tn.indexOf("pid=");t>-1&&(Tn=Tn.substring(0,t),"&"===Tn.slice(-1)&&(Tn=Tn.slice(0,-1))),setTimeout(function(){u&&i.bind(window,"hashchange",a.onHashChange)},40)}},onHashChange:function(){return On()===Tn?(Dn=!0,void a.close()):void(bn||(Cn=!0,a.goTo(An().pid),Cn=!1))},updateURL:function(){kn(),Cn||(En?xn=setTimeout(Rn,800):Rn())}}}),i.extend(a,ot)};return e}),!function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.PhotoSwipeUI_Default=t()}(this,function(){"use strict";var e=function(e,t){var n,o,i,a,r,l,s,u,c,d,p,m,f,h,v,g,x,y,w,b=this,C=!1,I=!0,T=!0,E={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},D=function(e){if(g)return!0;e=e||window.event,v.timeToIdle&&v.mouseUsed&&!c&&Z();for(var n,o,i=e.target||e.srcElement,a=i.getAttribute("class")||"",r=0;r<W.length;r++)n=W[r],n.onTap&&a.indexOf("pswp__"+n.name)>-1&&(n.onTap(),o=!0);if(o){e.stopPropagation&&e.stopPropagation(),g=!0;var l=t.features.isOldAndroid?600:30;x=setTimeout(function(){g=!1},l)}},S=function(){return!e.likelyTouchDevice||v.mouseUsed||screen.width>v.fitControlsWidth},_=function(e,n,o){t[(o?"add":"remove")+"Class"](e,"pswp__"+n)},M=function(){var e=1===v.getNumItemsFn();e!==h&&(_(o,"ui--one-slide",e),h=e)},F=function(){_(s,"share-modal--hidden",T)},O=function(){return T=!T,T?(t.removeClass(s,"pswp__share-modal--fade-in"),setTimeout(function(){T&&F()},300)):(F(),setTimeout(function(){T||t.addClass(s,"pswp__share-modal--fade-in")},30)),T||A(),!1},k=function(t){t=t||window.event;var n=t.target||t.srcElement;return e.shout("shareLinkClick",t,n),!!n.href&&(!!n.hasAttribute("download")||(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),T||O(),!1))},A=function(){for(var e,t,n,o,i,a="",r=0;r<v.shareButtons.length;r++)e=v.shareButtons[r],n=v.getImageURLForShare(e),o=v.getPageURLForShare(e),i=v.getTextForShare(e),t=e.url.replace("{{url}}",encodeURIComponent(o)).replace("{{image_url}}",encodeURIComponent(n)).replace("{{raw_image_url}}",n).replace("{{text}}",encodeURIComponent(i)),a+='<a href="'+t+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",v.parseShareButtonOut&&(a=v.parseShareButtonOut(e,a));s.children[0].innerHTML=a,s.children[0].onclick=k},R=function(e){for(var n=0;n<v.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+v.closeElClasses[n]))return!0},L=0,Z=function(){clearTimeout(w),L=0,c&&b.setIdle(!1)},P=function(e){e=e?e:window.event;var t=e.relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(w),w=setTimeout(function(){b.setIdle(!0)},v.timeToIdleOutside))},z=function(){v.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=b.getFullscreenAPI()),n?(t.bind(document,n.eventK,b.updateFullscreen),b.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs"))},N=function(){v.preloaderEl&&(U(!0),d("beforeChange",function(){clearTimeout(f),f=setTimeout(function(){e.currItem&&e.currItem.loading?(!e.allowProgressiveImg()||e.currItem.img&&!e.currItem.img.naturalWi
70dth)&&U(!1):U(!0)},v.loadingIndicatorDelay)}),d("imageLoadComplete",function(t,n){e.currItem===n&&U(!0)}))},U=function(e){m!==e&&(_(p,"preloader--active",!e),m=e)},K=function(e){var n=e.vGap;if(S()){var r=v.barsSize;if(v.captionEl&&"auto"===r.bottom)if(a||(a=t.createEl("pswp__caption pswp__caption--fake"),a.appendChild(t.createEl("pswp__caption__center")),o.insertBefore(a,i),t.addClass(o,"pswp__ui--fit")),v.addCaptionHTMLFn(e,a,!0)){var l=a.clientHeight;n.bottom=parseInt(l,10)||44}else n.bottom=r.top;else n.bottom="auto"===r.bottom?0:r.bottom;n.top=r.top}else n.top=n.bottom=0},H=function(){v.timeToIdle&&d("mouseUsed",function(){t.bind(document,"mousemove",Z),t.bind(document,"mouseout",P),y=setInterval(function(){L++,2===L&&b.setIdle(!0)},v.timeToIdle/2)})},B=function(){d("onVerticalDrag",function(e){I&&.95>e?b.hideControls():!I&&e>=.95&&b.showControls()});var e;d("onPinchClose",function(t){I&&.9>t?(b.hideControls(),e=!0):e&&!I&&t>.9&&b.showControls()}),d("zoomGestureEnded",function(){e=!1,e&&!I&&b.showControls()})},W=[{name:"caption",option:"captionEl",onInit:function(e){i=e}},{name:"share-modal",option:"shareEl",onInit:function(e){s=e},onTap:function(){O()}},{name:"button--share",option:"shareEl",onInit:function(e){l=e},onTap:function(){O()}},{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){r=e}},{name:"button--close",option:"closeEl",onTap:e.close},{name:"button--arrow--left",option:"arrowEl",onTap:e.prev},{name:"button--arrow--right",option:"arrowEl",onTap:e.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){p=e}}],Y=function(){var e,n,i,a=function(o){if(o)for(var a=o.length,r=0;a>r;r++){e=o[r],n=e.className;for(var l=0;l<W.length;l++)i=W[l],n.indexOf("pswp__"+i.name)>-1&&(v[i.option]?(t.removeClass(e,"pswp__element--disabled"),i.onInit&&i.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};a(o.children);var r=t.getChildByClass(o,"pswp__top-bar");r&&a(r.children)};b.init=function(){t.extend(e.options,E,!0),v=e.options,o=t.getChildByClass(e.scrollWrap,"pswp__ui"),d=e.listen,B(),d("beforeChange",b.update),d("doubleTap",function(t){var n=e.currItem.initialZoomLevel;e.getZoomLevel()!==n?e.zoomTo(n,t,333):e.zoomTo(v.getDoubleTapZoom(!1,e.currItem),t,333)}),d("preventDragEvent",function(e,t,n){var o=e.target||e.srcElement;o&&o.getAttribute("class")&&e.type.indexOf("mouse")>-1&&(o.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(o.tagName))&&(n.prevent=!1)}),d("bindEvents",function(){t.bind(o,"pswpTap click",D),t.bind(e.scrollWrap,"pswpTap",b.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",b.onMouseOver)}),d("unbindEvents",function(){T||O(),y&&clearInterval(y),t.unbind(document,"mouseout",P),t.unbind(document,"mousemove",Z),t.unbind(o,"pswpTap click",D),t.unbind(e.scrollWrap,"pswpTap",b.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",b.onMouseOver),n&&(t.unbind(document,n.eventK,b.updateFullscreen),n.isFullscreen()&&(v.hideAnimationDuration=0,n.exit()),n=null)}),d("destroy",function(){v.captionEl&&(a&&o.removeChild(a),t.removeClass(i,"pswp__caption--empty")),s&&(s.children[0].onclick=null),t.removeClass(o,"pswp__ui--over-close"),t.addClass(o,"pswp__ui--hidden"),b.setIdle(!1)}),v.showAnimationDuration||t.removeClass(o,"pswp__ui--hidden"),d("initialZoomIn",function(){v.showAnimationDuration&&t.removeClass(o,"pswp__ui--hidden")}),d("initialZoomOut",function(){t.addClass(o,"pswp__ui--hidden")}),d("parseVerticalMargin",K),Y(),v.shareEl&&l&&s&&(T=!0),M(),H(),z(),N()},b.setIdle=function(e){c=e,_(o,"ui--idle",e)},b.update=function(){I&&e.currItem?(b.updateIndexIndicator(),v.captionEl&&(v.addCaptionHTMLFn(e.currItem,i),_(i,"caption--empty",!e.currItem.title)),C=!0):C=!1,T||O(),M()},b.updateFullscreen=function(o){o&&setTimeout(function(){e.setScrollOffset(0,t.getScrollY())},50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},b.updateIndexIndicator=function(){v.counterEl&&(r.innerHTML=e.getCurrentIndex()+1+v.indexIndicatorSep+v.getNumItemsFn())},b.onGlobalTap=function(n){n=n||window.event;var o=n.target||n.srcElement;if(!g)if(n.detail&&"mouse"===n.detail.pointerType){if(R(o))return void e.close();t.hasClass(o,"pswp__img")&&(1===e.getZoomLevel()&&e.getZoomLevel()<=e.currItem.fitRatio?v.clickToCloseNonZoomable&&e.close():e.toggleDesktopZoom(n.detail.releasePoint))}else if(v.tapToToggleControls&&(I?b.hideControls():b.showControls()),v.tapToClose&&(t.hasClass(o,"pswp__img")||R(o)))return void e.close()},b.onMouseOver=function(e){e=e||window.event;var t=e.target||e.srcElement;_(o,"ui--over-close",R(t))},b.hideControls=function(){t.addClass(o,"pswp__ui--hidden"),I=!1}
70,b.showControls=function(){I=!0,C||b.update(),t.removeClass(o,"pswp__ui--hidden")},b.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},b.getFullscreenAPI=function(){var t,n=document.documentElement,o="fullscreenchange";return n.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:o}:n.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+o}:n.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+o}:n.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),t&&(t.enter=function(){return u=v.closeOnScroll,v.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK?e.template[this.enterK]():void e.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return v.closeOnScroll=u,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}};return e}) 71;/*!jQuery Knob*/ 72(function($){"use strict";var k={},max=Math.max,min=Math.min;k.c={};k.c.d=$(document);k.c.t=function(e){return e.originalEvent.touches.length-1};k.o=function(){var s=this;this.o=null;this.$=null;this.i=null;this.g=null;this.v=null;this.cv=null;this.x=0;this.y=0;this.w=0;this.h=0;this.$c=null;this.c=null;this.t=0;this.isInit=!1;this.fgColor=null;this.pColor=null;this.dH=null;this.cH=null;this.eH=null;this.rH=null;this.scale=1;this.relative=!1;this.relativeWidth=!1;this.relativeHeight=!1;this.$div=null;this.run=function(){var cf=function(e,conf){var k;for(k in conf){s.o[k]=conf[k]} 73s._carve().init();s._configure()._draw()};if(this.$.data('kontroled'))return;this.$.data('kontroled',!0);this.extend();this.o=$.extend({min:this.$.data('min')!==undefined?this.$.data('min'):0,max:this.$.data('max')!==undefined?this.$.data('max'):100,stopper:!0,readOnly:this.$.data('readonly')||(this.$.attr('readonly')==='readonly'),cursor:(this.$.data('cursor')===!0&&30)||this.$.data('cursor')||0,thickness:(this.$.data('thickness')&&Math.max(Math.min(this.$.data('thickness'),1),0.01))||0.35,lineCap:this.$.data('linecap')||'butt',width:this.$.data('width')||200,height:this.$.data('height')||200,displayInput:this.$.data('displayinput')==null||this.$.data('displayinput'),displayPrevious:this.$.data('displayprevious'),fgColor:this.$.data('fgcolor')||'#87CEEB',inputColor:this.$.data('inputcolor'),font:this.$.data('font')||'Arial',fontWeight:this.$.data('font-weight')||'bold',inline:!1,step:this.$.data('step')||1,draw:null,change:null,cancel:null,release:null},this.o);if(!this.o.inputColor){this.o.inputColor=this.o.fgColor} 74if(this.$.is('fieldset')){this.v={};this.i=this.$.find('input');this.i.each(function(k){var $this=$(this);s.i[k]=$this;s.v[k]=$this.val();$this.bind('change blur',function(){var val={};val[k]=$this.val();s.val(val)})});this.$.find('legend').remove()}else{this.i=this.$;this.v=this.$.val();(this.v==='')&&(this.v=this.o.min);this.$.bind('change blur',function(){s.val(s._validate(s.$.val()))})}(!this.o.displayInput)&&this.$.hide();this.$c=$(document.createElement('canvas')).attr({width:this.o.width,height:this.o.height});this.$div=$('<div style="'+(this.o.inline?'display:inline;':'')+'width:'+this.o.width+'px;height:'+this.o.height+'px;'+'"></div>');this.$.wrap(this.$div).before(this.$c);this.$div=this.$.parent();if(typeof G_vmlCanvasManager!=='undefined'){G_vmlCanvasManager.initElement(this.$c[0])} 75this.c=this.$c[0].getContext?this.$c[0].getContext('2d'):null;if(!this.c){throw{name:"CanvasNotSupportedException",message:"Canvas not supported. Please use excanvas on IE8.0.",toString:function(){return this.name+": "+this.message}}} 76this.scale=(window.devicePixelRatio||1)/(this.c.webkitBackingStorePixelRatio||this.c.mozBackingStorePixelRatio||this.c.msBackingStorePixelRatio||this.c.oBackingStorePixelRatio||this.c.backingStorePixelRatio||1);this.relativeWidth=((this.o.width%1!==0)&&this.o.width.indexOf('%'));this.relativeHeight=((this.o.height%1!==0)&&this.o.height.indexOf('%'));this.relative=(this.relativeWidth||this.relativeHeight);this._carve();if(this.v instanceof Object){this.cv={};this.copy(this.v,this.cv)}else{this.cv=this.v} 77this.$.bind("configure",cf).parent().bind("configure",cf);this._listen()._configure()._xy().init();this.isInit=!0;this._draw();return this};this._carve=function(){if(this.relative){var w=this.relativeWidth?this.$div.parent().width()*parseInt(this.o.width)/100:this.$div.parent().width(),h=this.relativeHeight?this.$div.parent().height()*parseInt(this.o.height)/100:this.$div.parent().height();this.w=this.h=Math.min(w,h)}else{this.w=this.o.width;this.h=this.o.height} 78this.$div.css({'width':this.w+'px','height':this.h+'px'});this.$c.attr({width:this.w,height:this.h});if(this.scale!==1){this.$c[0].width=this.$c[0].width*this.scale;this.$c[0].height=this.$c[0].height*this.scale;this.$c.width(this.w);this.$c.height(this.h)} 79return this} 80this._draw=function(){var d=!0;s.g=s.c;s.clear();s.dH&&(d=s.dH());(d!==!1)&&s.draw()};this._touch=function(e){var touchMove=function(e){var v=s.xy2val(e.originalEvent.touches[s.t].pageX,e.originalEvent.touches[s.t].pageY);if(v==s.cv)return;if(s.cH&&(s.cH(v)===!1))return;s.change(s._validate(v));s._draw()};this.t=k.c.t(e);touchMove(e);k.c.d.bind("touchmove.k",touchMove).bind("touchend.k",function(){k.c.d.unbind('touchmove.k touchend.k');s.val(s.cv)});return this};this._mouse=function(e){var mouseMove=function(e){var v=s.xy2val(e.pageX,e.pageY);if(v==s.cv)return;if(s.cH&&(s.cH(v)===!1))return;s.change(s._validate(v));s._draw()};mouseMove(e);k.c.d.bind("mousemove.k",mouseMove).bind("keyup.k",function(e){if(e.keyCode===27){k.c.d.unbind("mouseup.k mousemove.k keyup.k");if(s.eH&&(s.eH()===!1))return;s.cancel()}}).bind("mouseup.k",function(e){k.c.d.unbind('mousemove.k mouseup.k keyup.k');s.val(s.cv)});return this};this._xy=function(){var o=this.$c.offset();this.x=o.left;this.y=o.top;return this};this._listen=function(){if(!this.o.readOnly){this.$c.bind("mousedown",function(e){e.preventDefault();s._xy()._mouse(e)}).bind("touchstart",function(e){e.preventDefault();s._xy()._touch(e)});this.listen()}else{this.$.attr('readonly','readonly')} 81if(this.relative){$(window).resize(function(){s._carve().init();s._draw()})} 82return this};this._configure=function(){if(this.o.draw)this.dH=this.o.draw;if(this.o.change)this.cH=this.o.change;if(this.o.cancel)this.eH=this.o.cancel;if(this.o.release)this.rH=this.o.release;if(this.o.displayPrevious){this.pColor=this.h2rgba(this.o.fgColor,"0.4");this.fgColor=this.h2rgba(this.o.fgColor,"0.6")}else{this.fgColor=this.o.fgColor} 83return this};this._clear=function(){this.$c[0].width=this.$c[0].width};
83this._validate=function(v){return(~~(((v<0)?-0.5:0.5)+(v/this.o.step)))*this.o.step};this.listen=function(){};this.extend=function(){};this.init=function(){};this.change=function(v){};this.val=function(v){};this.xy2val=function(x,y){};this.draw=function(){};this.clear=function(){this._clear()};this.h2rgba=function(h,a){var rgb;h=h.substring(1,7) 84rgb=[parseInt(h.substring(0,2),16),parseInt(h.substring(2,4),16),parseInt(h.substring(4,6),16)];return"rgba("+rgb[0]+","+rgb[1]+","+rgb[2]+","+a+")"};this.copy=function(f,t){for(var i in f){t[i]=f[i]}}};k.Dial=function(){k.o.call(this);this.startAngle=null;this.xy=null;this.radius=null;this.lineWidth=null;this.cursorExt=null;this.w2=null;this.PI2=2*Math.PI;this.extend=function(){this.o=$.extend({bgColor:this.$.data('bgcolor')||'#EEEEEE',angleOffset:this.$.data('angleoffset')||0,angleArc:this.$.data('anglearc')||360,inline:!0},this.o)};this.val=function(v,triggerRelease){if(null!=v){if(triggerRelease!==!1&&(v!=this.v)&&this.rH&&(this.rH(v)===!1))return;this.cv=this.o.stopper?max(min(v,this.o.max),this.o.min):v;this.v=this.cv;this.$.val(this.v);this._draw()}else{return this.v}};this.xy2val=function(x,y){var a,ret;a=Math.atan2(x-(this.x+this.w2),-(y-this.y-this.w2))-this.angleOffset;if(this.angleArc!=this.PI2&&(a<0)&&(a>-0.5)){a=0}else if(a<0){a+=this.PI2} 85ret=~~(0.5+(a*(this.o.max-this.o.min)/this.angleArc))+this.o.min;this.o.stopper&&(ret=max(min(ret,this.o.max),this.o.min));return ret};this.listen=function(){var s=this,mwTimerStop,mwTimerRelease,mw=function(e){e.preventDefault();var ori=e.originalEvent,deltaX=ori.detail||ori.wheelDeltaX,deltaY=ori.detail||ori.wheelDeltaY,v=s._validate(s.$.val())+(deltaX>0||deltaY>0?s.o.step:deltaX<0||deltaY<0?-s.o.step:0);v=max(min(v,s.o.max),s.o.min);s.val(v,!1);if(s.rH){clearTimeout(mwTimerStop);mwTimerStop=setTimeout(function(){s.rH(v);mwTimerStop=null},100);if(!mwTimerRelease){mwTimerRelease=setTimeout(function(){if(mwTimerStop)s.rH(v);mwTimerRelease=null},200)}}},kval,to,m=1,kv={37:-s.o.step,38:s.o.step,39:s.o.step,40:-s.o.step};
85this.$.bind("keydown",function(e){var kc=e.keyCode;if(kc>=96&&kc<=105){kc=e.keyCode=kc-48} 86kval=parseInt(String.fromCharCode(kc));if(isNaN(kval)){(kc!==13)&&(kc!==8)&&(kc!==9)&&(kc!==189)&&(kc!==190||s.$.val().match(/\./))&&e.preventDefault();if($.inArray(kc,[37,38,39,40])>-1){e.preventDefault();var v=parseFloat(s.$.val())+kv[kc]*m;s.o.stopper&&(v=max(min(v,s.o.max),s.o.min));s.change(v);s._draw();to=window.setTimeout(function(){m*=2},30)}}}).bind("keyup",function(e){if(isNaN(kval)){if(to){window.clearTimeout(to);to=null;m=1;s.val(s.$.val())}}else{(s.$.val()>s.o.max&&s.$.val(s.o.max))||(s.$.val()<s.o.min&&s.$.val(s.o.min))}});this.$c.bind("mousewheel DOMMouseScroll",mw);this.$.bind("mousewheel DOMMouseScroll",mw)};this.init=function(){if(this.v<this.o.min||this.v>this.o.max)this.v=this.o.min;this.$.val(this.v);this.w2=this.w/2;this.cursorExt=this.o.cursor/100;this.xy=this.w2*this.scale;this.lineWidth=this.xy*this.o.thickness;this.lineCap=this.o.lineCap;this.radius=this.xy-this.lineWidth/2;this.o.angleOffset&&(this.o.angleOffset=isNaN(this.o.angleOffset)?0:this.o.angleOffset);this.o.angleArc&&(this.o.angleArc=isNaN(this.o.angleArc)?this.PI2:this.o.angleArc);this.angleOffset=this.o.angleOffset*Math.PI/180;this.angleArc=this.o.angleArc*Math.PI/180;this.startAngle=1.5*Math.PI+this.angleOffset;this.endAngle=1.5*Math.PI+this.angleOffset+this.angleArc;var s=max(String(Math.abs(this.o.max)).length,String(Math.abs(this.o.min)).length,2)+2;this.o.displayInput&&this.i.css({'width':((this.w/2+4)>>0)+'px','height':((this.w/3)>>0)+'px','position':'absolute','vertical-align':'middle','margin-top':((this.w/3)>>0)+'px','margin-left':'-'+((this.w*3/4+2)>>0)+'px','border':0,'background':'none','font':this.o.fontWeight+' '+((this.w/s)>>0)+'px '+this.o.font,'text-align':'center','color':this.o.inputColor||this.o.fgColor,'padding':'0px','-webkit-appearance':'none'})||this.i.css({'width':'0px','visibility':'hidden'})};this.change=function(v){this.cv=v;this.$.val(v)};this.angle=function(v){return(v-this.o.min)*this.angleArc/(this.o.max-this.o.min)};this.draw=function(){var c=this.g,a=this.angle(this.cv),sat=this.startAngle,eat=sat+a,sa,ea,r=1;c.lineWidth=this.lineWidth;c.lineCap=this.lineCap;this.o.cursor&&(sat=eat-this.cursorExt)&&(eat=eat+this.cursorExt);c.beginPath();c.strokeStyle=this.o.bgColor;c.arc(this.xy,this.xy,this.radius,this.endAngle-0.00001,this.startAngle+0.00001,!0);c.stroke();if(this.o.displayPrevious){ea=this.startAngle+this.angle(this.v);sa=this.startAngle;this.o.cursor&&(sa=ea-this.cursorExt)&&(ea=ea+this.cursorExt);c.beginPath();c.strokeStyle=this.pColor;c.arc(this.xy,this.xy,this.radius,sa-0.00001,ea+0.00001,!1);c.stroke();r=(this.cv==this.v)} 87c.beginPath();c.strokeStyle=r?this.o.fgColor:this.fgColor;c.arc(this.xy,this.xy,this.radius,sat-0.00001,eat+0.00001,!1);c.stroke()};this.cancel=function(){this.val(this.v)}};$.fn.dial=$.fn.knob=function(o){return this.each(function(){var d=new k.Dial();d.o=o;d.$=$(this);d.run()}).parent()}})(jQuery) 88;function rwpReCaptchaLoad(){var e,a,t;jQuery(".rwp-recaptcha").each(function(n){e=jQuery(this).data("sitekey"),a=jQuery(this).attr("id"),t=grecaptcha.render(a,{sitekey:e}),jQuery("#"+a).data("grcid",t)})}!function(e){"use strict";e(function(){function a(){e(".rwp-knob").knob({readOnly:!0,thickness:.2,width:100,height:100,bgColor:"#e5e5e5",inputColor:"#3b3c3e",fontWeight:"bold"})}function t(){e(".rwp-knob-table").knob({readOnly:!0,thickness:.25,width:50,height:50,bgColor:"#e5e5e5",inputColor:"#3b3c3e",fontWeight:"bold",inline:!1})}function n(){var a;e(".rwp-slider").each(function(t){a=r(e(this).data("step")),e(this).noUiSlider({step:e(this).data("step"),start:e(this).data("val"),connect:"lower",range:{min:e(this).data("min"),max:e(this).data("max")},format:wNumb({decimals:a})}),e(this).Link("lower").to(e(this).parent().find("input"),null,wNumb({decimals:a}))})}function r(e){var a=parseFloat(e),t=(""+a).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}e(".rwp-scores-sliders").length>0&&n(),e(".rwp-knob").length>0&&a(),e(".rwp-knob-table").length>0&&t(),e(".rwp-submit-ur").click(function(t){t.preventDefault();var n=e(this),r=e(this).parent().parent(),i=r.find('input[name="rwp-ur[review-id]"]').val(),d=r.find('input[name="rwp-ur[post-id]"]').val(),s=r.find('input[name="rwp-ur[user-id]"]').val(),p=r.find('input[name="rwp-ur[mode]"]').val(),c=r.find('input[name="rwp-ur[template]"]').val(),u=r.find('input[name="rwp-ur[
88name]"]').val();u="undefined"==typeof u?"":u;var o=r.find('input[name="rwp-ur[review_title]"]').val();o="undefined"==typeof o?"":o;var f=r.find('textarea[name="rwp-ur[comment]"]').val();f="undefined"==typeof f?"":f;var l="#rwp-recaptcha-"+d+"-"+i,h=r.find(l),w=!(h.length<=0)&&grecaptcha.getResponse(h.data("grcid")),m=h.length<=0?null:h.data("grcid"),v=r.find('input[name="rwp-ur[email]"]').val();v="undefined"==typeof v?"":v;var g;switch(p){case"five_stars":var b=r.find("input.rwp-rating:checked").val();g="undefined"==typeof b?0:b;break;case"full_five_stars":g=[];var k=r.find("input.rwp-rating:checked");0!=k.length&&k.each(function(a){var t={};t.i=e(this).data("index"),t.val=e(this).val(),g.push(t)});break;default:g=[];var k=r.find(".rwp-slider");0!=k.length&&k.each(function(a){var t={};t.i=e(this).data("index"),t.val=e(this).val(),g.push(t)})}var y={action:reviewerRatingObj.action,security:reviewerRatingObj.ajax_nonce,review_id:i,post_id:d,scores:g,user_id:s,user_name:u,user_email:v,title:o,comment:f,method:p,template:c,captcha:w},j=r.find(".rwp-loader");j.fadeIn("fast"),e.post(reviewerRatingObj.ajax_url,y,function(t){var s=r.find(".rwp-notification");switch(s.html(""),t.code){case 405:j.fadeOut("fast"),e.each(t.data,function(e,a){s.append(a+"<br/>")}),t.captcha&&grecaptcha.reset(m);break;case 400:j.fadeOut("fast"),s.html(t.data.msg);break;case 401:j.fadeOut("fast"),s.html(t.data.msg),t.data.captcha&&grecaptcha.reset(m);break;case 200:s.addClass("rwp-success"),s.html(t.data.msg);var p=r.find('input[name="rwp-ur[branch]"]').val();p="undefined"!=typeof p,p?setTimeout(function(){location.reload()},1e3):e.ajax({url:"",cache:!1,context:document.body,success:function(t,n){j.fadeOut("fast");var s=e(t),p=s.find("#rwp-review-"+d+"-"+i+" .rwp-review"),c=r.parent().parent().parent().parent();c.find(".rwp-review").remove(),c.hide().append(p).fadeIn("fast"),c.find(".rwp-knob").length>0&&a()}});break;case 201:j.fadeOut("fast"),s.addClass("rwp-success"),s.html(t.data.msg);var c=n.parent();c.find("input").remove();var u=e("#rwp-ratings-form-"+d+"-"+i);u.find(".rwp-ratings-form").slideUp("fast"),u.append(c)}},"json").fail(function(e){j.fadeOut("fast"),alert("Error during rating process!")})})})}(jQuery) 89;var rwpConstants={"debugVue":""};var reviewerRatingObj={"ajax_nonce":"e6d29e4542","ajax_url":"https://horrorpress.com/wp-admin/admin-ajax.php","action":"rwp_ajax_action_rating"};var reviewerJudgeObj={"ajax_nonce":"77bf7751b6","ajax_url":"https://horrorpress.com/wp-admin/admin-ajax.php","action":"rwp_ajax_action_like"};var reviewerQueryURs={"ajax_nonce":"a66bc74763","ajax_url":"https://horrorpress.com/wp-admin/admin-ajax.php","action":"rwp_reviews_box_query_users_reviews"} 90;!function e(t,i,n){function r(o,a){if(!i[o]){if(!t[o]){var l="function"==typeof require&&require;if(!a&&l)return l(o,!0);if(s)return s(o,!0);var h=new Error("Cannot find module '"+o+"'");throw h.code="MODULE_NOT_FOUND",h}var u=i[o]={exports:{}};t[o][0].call(u.exports,function(e){var i=t[o][1][e];return r(i?i:e)},u,u.exports,e,t,i,n)}return i[o].exports}for(var s="function"==typeof require&&require,o=0;o<n.length;o++)r(n[o]);return r}({1:[function(e,t,i){(function(){var e,i,n,r,s,o,a,l,h=[].slice,u={}.hasOwnProperty,c=function(e,t){function i(){this.constructor=e}for(var n in t)u.call(t,n)&&(e[n]=t[n]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e};a=function(){},i=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,i,n,r,s;if(n=arguments[0],e=2<=arguments.length?h.call(arguments,1):[],this._callbacks=this._callbacks||{},i=this._callbacks[n])for(r=0,s=i.length;r<s;r++)t=i[r],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var i,n,r,s,o;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(n=this._callbacks[e],!n)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(r=s=0,o=n.length;s<o;r=++s)if(i=n[r],i===t){n.splice(r,1);break}return this},e}(),e=function(e){function t(e,i){var r,s,o;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,r=null!=(o=t.optionsForElement(this.element))?o:{},this.options=n({},this.defaultOptions,r,null!=i?i:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(s=this.getExistingFallback())&&s.parentNode&&s.parentNode.removeChild(s),this.options.previewsContainer!==!1&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(this.options.clickable===!0?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var n,r;return c(t,e),t.prototype.Emitter=i,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olde
90n days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return a},forceFallback:!1,fallback:function(){var e,i,n,r,s,o;for(this.element.className=""+this.element.className+" dz-browser-not-supported",o=this.element.getElementsByTagName("div"),r=0,s=o.length;r<s;r++)e=o[r],/(^| )dz-message($| )/.test(e.className)&&(i=e,e.className="dz-message");return i||(i=t.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(i)),n=i.getElementsByTagName("span")[0],n&&(null!=n.textContent?n.textContent=this.options.dictFallbackMessage:null!=n.innerText&&(n.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,i,n;return t={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},i=e.width/e.height,t.optWidth=this.options.thumbnailWidth,t.optHeight=this.options.thumbnailHeight,null==t.optWidth&&null==t.optHeight?(t.optWidth=t.srcWidth,t.optHeight=t.srcHeight):null==t.optWidth?t.optWidth=i*t.optHeight:null==t.optHeight&&(t.optHeight=1/i*t.optWidth),n=t.optWidth/t.optHeight,e.height<t.optHeight||e.width<t.o
vendor: 23,262 bytes, line 90
90ptWidth?(t.trgHeight=t.srcHeight,t.trgWidth=t.srcWidth):i>n?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*n):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/n),t.srcX=(e.width-t.srcWidth)/2,t.srcY=(e.height-t.srcHeight)/2,t},drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:a,dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:a,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var i,n,r,s,o,a,l,h,u,c,p,d,f;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){for(e.previewElement=t.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement),c=e.previewElement.querySelectorAll("[data-dz-name]"),s=0,l=c.length;s<l;s++)i=c[s],i.textContent=this._renameFilename(e.name);for(p=e.previewElement.querySelectorAll("[data-dz-size]"),o=0,h=p.length;o<h;o++)i=p[o],i.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'+this.options.dictRemoveFile+"</a>"),e.previewElement.appendChild(e._removeLink)),n=function(i){return function(n){return n.preventDefault(),n.stopPropagation(),e.status===t.UPLOADING?t.confirm(i.options.dictCancelUploadConfirmation,function(){return i.removeFile(e)}):i.options.dictRemoveFileConfirmation?t.confirm(i.options.dictRemoveFileConfirmation,function(){return i.removeFile(e)}):i.removeFile(e)}}(this),d=e.previewElement.querySelectorAll("[data-dz-remove]"),f=[],a=0,u=d.length;a<u;a++)r=d[a],f.push(r.addEventListener("click",n));return f}},removedfile:function(e){var t;return e.previewElement&&null!=(t=e.previewElement)&&t.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){var i,n,r,s;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),s=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),n=0,r=s.length;n<r;n++)i=s[n],i.alt=e.name,i.src=t;return setTimeout(function(t){return function(){return e.previewElement.classList.add("dz-image-preview")}}(this),1)}},error:function(e,t){var i,n,r,s,o;if(e.previewElement){for(e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error),s=e.previewElement.querySelectorAll("[data-dz-errormessage]"),o=[],n=0,r=s.length;n<r;n++)i=s[n],o.push(i.textContent=t);return o}},errormultiple:a,processing:function(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.textContent=this.options.dictCancelUpload},processingmultiple:a,uploadprogress:function(e,t,i){var n,r,s,o,a;if(e.previewElement){for(o=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),a=[],r=0,s=o.length;r<s;r++)n=o[r],"PROGRESS"===n.nodeName?a.push(n.value=t):a.push(n.style.width=""+t+"%");return a}},totaluploadprogress:a,sending:a,sendingmultiple:a,success:function(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple:a,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:a,complete:function(e){if(e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple:a,maxfilesexceeded:a,maxfilesreached:a,queuecomplete:a,addedfiles:a,previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Check</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF" sketch:type="MSShapeGroup"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">\n <title>Error</title>\n <defs></defs>\n <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">\n <g id="Check-+-Oval-2" sketch:type="MSLayerGroup" stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" id="Oval-2" sketch:type="MSShapeGroup"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>'},n=function(){var e,t,i,n,r,s,o;for(n=arguments[0],i=2<=arguments.length?h.call(arguments,1):[],s=0,o=i.length;s<o;s++){t=i[s];for(e in t)r=t[e],n[e]=r}return n},t.prototype.getAcceptedFiles=function(){var e,t,i,n,r;for(n=this.files,r=[],t=0,i=n.length;t<i;t++)e=n[t],e.accepted&&r.push(e);return r},t.prototype.getRejectedFiles=function(){var e,t,i,n,r;for(n=this.files,r=[],t=0,i=n.length;t<i;t++)e=n[t],e.accepted||r.push(e);return r},t.prototype.getFilesWithStatus=function(e){var t,i,n,r,s;for(r=this.files,s=[],i=0,n=r.length;i<n;i++)t=r[i],t.status===e&&s.push(t);return s},t.prototype.getQueuedFiles=function(){return this.getFilesWithStatus(t.QUEUED)},t.prototype.getUploadingFiles=function(){return this.getFilesWithStatus(t.UPLOADING)},t.prototype.getAddedFiles=function(){return this.getFilesWithStatus(t.ADDED)},t.prototype.getActiveFiles=function(){var e,i,n,r,s;for(r=this.files,s=[],i=0,n=r.length;i<n;i++)e=r[i],e.status!==t.UPLOADING&&e.status!==t.QUEUED||s.push(e);return s},t.prototype.init=function(){var e,i,n,r,s,o,a;for("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(t.createElement('<div class="dz-default dz-message"><span>'+this.options.dictDefaultMessage+"</span></div>")),this.clickableElements.length&&(n=function(e){return function(){return e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null==e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!=e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!=e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",document.querySelector(e.options.hiddenInputContainer).appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",function(){var t,i,r,s;if(i=e.hiddenFileInput.files,i.length)for(r=0,s=i.length;r<s;r++)t=i[r],e.addFile(t);return e.emit("addedfiles",i),n()})}}(this))(),this.URL=null!=(o=window.URL)?o:window.webkitURL,a=this.events,r=0,s=a.length;r<s;r++)e=a[r],this.on(e,this.options[e]);return this.on("uploadprogress",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("removedfile",function(e){return function(){return e.updateTotalUploadProgress()}}(this)),this.on("canceled",function(e){return function(t){return e.emit("complete",t)}}(this)),this.on("complete",function(e){return function(t){if(0===e.getAddedFiles().length&&0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length)return setTimeout(function(){return e.emit("queuecomplete")},0)}}(this)),i=function(e){return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1},this.listeners=[{element:this.element,events:{dragstart:function(e){return function(t){return e.emit("dragstart",t)}}(this),dragenter:function(e){return function(t){return i(t),e.emit("dragenter",t)}}(this),dragover:function(e){return function(t){var n;try{n=t.dataTransfer.effectAllowed}catch(r){}return t.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",i(t),e.emit("dragover",t)}}(this),dragleave:function(e){return function(t){return e.emit("dragleave",t)}}(this),drop:function(e){return function(t){return i(t),e.drop(t)}}(this),dragend:function(e){return function(t){return e.emit("dragend",t)}}(this)}}],this.clickableElements.forEach(function(e){return function(i){return e.listeners.push({element:i,events:{click:function(n){return(i!==e.element||n.target===e.element||t.elementInside(n.target,e.element.querySelector(".dz-message")))&&e.hiddenFileInput.click(),!0}}})}}(this)),this.enable(),this.options.init.call(this)},t.prototype.destroy=function(){var e;return this.disable(),this.removeAllFiles(!0),(null!=(e=this.hiddenFileInput)?e.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,t.instances.splice(t.instances.indexOf(this),1)},t.prototype.updateTotalUploadProgress=function(){var e,t,i,n,r,s,o,a;if(n=0,i=0,e=this.getActiveFiles(),e.length){for(a=this.getActiveFiles(),s=0,o=a.length;s<o;s++)t=a[s],n+=t.upload.bytesSent,i+=t.upload.total;r=100*n/i}else r=100;return this.emit("totaluploadprogress",r,i,n)},t.prototype._getParamName=function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):""+this.options.paramName+(this.options.uploadMultiple?"["+e+"]":"")},t.prototype._renameFilename=function(e){return"function"!=typeof this.options.renameFilename?e:this.options.renameFilename(e)},t.prototype.getFallbackForm=function(){var e,i,n,r;return(e=this.getExistingFallback())?e:(n='<div class="dz-fallback">',this.options.dictFallbackText&&(n+="<p>"+this.options.dictFallbackText+"</p>"),n+='<input type="file" name="'+this._getParamName(0)+'" '+(this.options.uploadMultiple?'multiple="multiple"':void 0)+' /><input type="submit" value="Upload!"></div>',i=t.createElement(n),"FORM"!==this.element.tagName?(r=t.createElement('<form action="'+this.options.url+'" enctype="multipart/form-data" method="'+this.options.method+'"></form>'),r.appendChild(i)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=r?r:i)},t.prototype.getExistingFallback=function(){var e,t,i,n,r,s;for(t=function(e){var t,i,n;for(i=0,n=e.length;i<n;i++)if(t=e[i],/(^| )fallback($| )/.test(t.className))return t},s=["div","form"],n=0,r=s.length;n<r;n++)if(i=s[n],e=t(this.element.getElementsByTagName(i)))return e},t.prototype.setupEventListeners=function(){var e,t,i,n,r,s,o;for(s=this.listeners,o=[],n=0,r=s.length;n<r;n++)e=s[n],o.push(function(){var n,r;n=e.events,r=[];for(t in n)i=n[t],r.push(e.element.addEventListener(t,i,!1));return r}());return o},t.prototype.removeEventListeners=function(){var e,t,i,n,r,s,o;for(s=this.listeners,o=[],n=0,r=s.length;n<r;n++)e=s[n],o.push(function(){var n,r;n=e.events,r=[];for(t in n)i=n[t],r.push(e.element.removeEventListener(t,i,!1));return r}());return o},t.prototype.disable=function(){var e,t,i,n,r;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),n=this.files,r=[],t=0,i=n.length;t<i;t++)e=n[t],r.push(this.cancelUpload(e));return r},t.prototype.enable=function(){return this.clickableElements.forEach(function(e){return e.classList.add("dz-clickable")}),this.setupEventListeners()},t.prototype.filesize=function(e){var t,i,n,r,s,o,a,l;if(n=0,r="b",e>0){for(o=["TB","GB","MB","KB","b"],i=a=0,l=o.length;a<l;i=++a)if(s=o[i],t=Math.pow(this.options.filesizeBase,4-i)/10,e>=t){n=e/Math.pow(this.options.filesizeBase,4-i),r=s;break}n=Math.round(10*n)/10}return"<strong>"+n+"</strong> "+r},t.prototype._updateMaxFilesReachedClass=function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")},t.prototype.drop=function(e){var t,i;e.dataTransfer&&(this.emit("drop",e),t=e.dataTransfer.files,this.emit("addedfiles",t),t.length&&(i=e.dataTransfer.items,i&&i.length&&null!=i[0].webkitGetAsEntry?this._addFilesFromItems(i):this.handleFiles(t)))},t.prototype.paste=function(e){var t,i;if(null!=(null!=e&&null!=(i=e.clipboardData)?i.items:void 0))return this.emit("paste",e),t=e.clipboardData.items,t.length?this._addFilesFromItems(t):void 0},t.prototype.handleFiles=function(e){var t,i,n,r;for(r=[],i=0,n=e.length;i<n;i++)t=e[i],r.push(this.addFile(t));return r},t.prototype._addFilesFromItems=function(e){var t,i,n,r,s;for(s=[],n=0,r=e.length;n<r;n++)i=e[n],null!=i.webkitGetAsEntry&&(t=i.webkitGetAsEntry())?t.isFile?s.push(this.addFile(i.getAsFile())):t.isDirectory?s.push(this._addFilesFromDirectory(t,t.name)):s.push(void 0):null!=i.getAsFile&&(null==i.kind||"file"===i.kind)?s.push(this.addFile(i.getAsFile())):s.push(void 0);return s},t.prototype._addFilesFromDirectory=function(e,t){var i,n,r;return i=e.createReader(),n=function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0},(r=function(e){return function(){return i.readEntries(function(i){var n,s,o;if(i.length>0){for(s=0,o=i.length;s<o;s++)n=i[s],n.isFile?n.file(function(i){if(!e.options.ignoreHiddenFiles||"."!==i.name.substring(0,1))return i.fullPath=""+t+"/"+i.name,e.addFile(i)}):n.isDirectory&&e._addFilesFromDirectory(n,""+t+"/"+n.name);r()}return null},n)}}(this))()},t.prototype.accept=function(e,i){return e.size>1024*this.options.maxFilesize*1024?i(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(i(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,i):i(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(i){return i?(e.accepted=!1,t._errorProcessing([e],i)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,i,n;for(i=0,n=e.length;i<n;i++)t=e[i],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||e.accepted!==!0)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(e.status=t.QUEUED,this.options.autoProcessQueue)return setTimeout(function(e){return function(){return e.processQueue()}}(this),0)},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)},t.prototype._processThumbnailQueue=function(){if(!this._processingThumbnail&&0!==this._thumbnailQueue.length)return this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this))},t.prototype.removeFile=function(e){if(e.status===t.UPLOADING&&this.cancelUpload(e),this.files=l(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")},t.prototype.removeAllFiles=function(e){var i,n,r,s;for(null==e&&(e=!1),s=this.files.slice(),n=0,r=s.length;n<r;n++)i=s[n],(i.status!==t.UPLOADING||e)&&this.removeFile(i);return null},t.prototype.createThumbnail=function(e,t){var i;return i=new FileReader,i.onload=function(n){return function(){return"image/svg+xml"===e.type?(n.emit("thumbnail",e,i.result),void(null!=t&&t())):n.createThumbnailFromUrl(e,i.result,t)}}(this),i.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,i,n){var r;return r=document.createElement("img"),n&&(r.crossOrigin=n),r.onload=function(t){return function(){var n,s,a,l,h,u,c,p;if(e.width=r.width,e.height=r.height,a=t.options.resize.call(t,e),null==a.trgWidth&&(a.trgWidth=a.optWidth),null==a.trgHeight&&(a.trgHeight=a.optHeight),n=document.createElement("canvas"),s=n.getContext("2d"),n.width=a.trgWidth,n.height=a.trgHeight,o(s,r,null!=(h=a.srcX)?h:0,null!=(u=a.srcY)?u:0,a.srcWidth,a.srcHeight,null!=(c=a.trgX)?c:0,null!=(p=a.trgY)?p:0,a.trgWidth,a.trgHeight),l=n.toDataURL("image/png"),t.emit("thumbnail",e,l),null!=i)return i()}}(this),null!=i&&(r.onerror=i),r.src=t},t.prototype.processQueue=function(){var e,t,i,n;if(t=this.options.parallelUploads,i=this.getUploadingFiles().length,e=i,!(i>=t)&&(n=this.getQueuedFiles(),n.length>0)){if(this.options.uploadMultiple)return this.processFiles(n.slice(0,t-i));for(;e<t;){if(!n.length)return;this.processFile(n.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var i,n,r;for(n=0,r=e.length;n<r;n++)i=e[n],i.processing=!0,i.status=t.UPLOADING,this.emit("processing",i);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},t.prototype._getFilesWithXhr=function(e){var t,i;return i=function(){var i,n,r,s;for(r=this.files,s=[],i=0,n=r.length;i<n;i++)t=r[i],t.xhr===e&&s.push(t);return s}.call(this)},t.prototype.cancelUpload=function(e){var i,n,r,s,o,a,l;if(e.status===t.UPLOADING){for(n=this._getFilesWithXhr(e.xhr),r=0,o=n.length;r<o;r++)i=n[r],i.status=t.CANCELED;for(e.xhr.abort(),s=0,a=n.length;s<a;s++)i=n[s],this.emit("canceled",i);this.options.uploadMultiple&&this.emit("canceledmultiple",n)}else(l=e.status)!==t.ADDED&&l!==t.QUEUED||(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));if(this.options.autoProcessQueue)return this.processQueue()},r=function(){var e,t;return t=arguments[0],e=2<=arguments.length?h.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var i,s,o,a,l,h,u,c,p,d,f,v,m,g,y,b,_,w,E,C,k,x,N,F,$,O,A,D,T,S,z,L,j,R;for(E=new XMLHttpRequest,C=0,F=e.length;C<F;C++)i=e[C],i.xhr=E;v=r(this.options.method,e),_=r(this.options.url,e),E.open(v,_,!0),E.withCredentials=!!this.options.withCredentials,y=null,o=function(t){return function(){var n,r,s;for(s=[],n=0,r=e.length;n<r;n++)i=e[n],s.push(t._errorProcessing(e,y||t.options.dictResponseError.replace("{{statusCode}}",E.status),E));return s}}(this),b=function(t){return function(n){var r,s,o,a,l,h,u,c,p;if(null!=n)for(s=100*n.loaded/n.total,o=0,h=e.length;o<h;o++)i=e[o],i.upload={progress:s,total:n.total,bytesSent:n.loaded};else{for(r=!0,s=100,a=0,u=e.length;a<u;a++)i=e[a],100===i.upload.progress&&i.upload.bytesSent===i.upload.total||(r=!1),i.upload.progress=s,i.upload.bytesSent=i.upload.total;if(r)return}for(p=[],l=0,c=e.length;l<c;l++)i=e[l],p.push(t.emit("uploadprogress",i,s,i.upload.bytesSent));return p}}(this),E.onload=function(i){return function(n){var r;if(e[0].status!==t.CANCELED&&4===E.readyState){if(y=E.responseText,E.getResponseHeader("content-type")&&~E.getResponseHeader("content-type").indexOf("application/json"))try{y=JSON.parse(y)}catch(s){n=s,y="Invalid JSON response from server."}return b(),200<=(r=E.status)&&r<300?i._finished(e,y,n):o()}}}(this),E.onerror=function(i){return function(){if(e[0].status!==t.CANCELED)return o()}}(this),g=null!=(T=E.upload)?T:E,g.onprogress=b,h={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&n(h,this.options.headers);for(a in h)l=h[a],l&&E.setRequestHeader(a,l);if(s=new FormData,this.options.params){S=this.options.params;for(f in S)w=S[f],s.append(f,w)}for(k=0,$=e.length;k<$;k++)i=e[k],this.emit("sending",i,E,s);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,E,s),"FORM"===this.element.tagName)for(z=this.element.querySelectorAll("input, textarea, select, button"),x=0,O=z.length;x<O;x++)if(c=z[x],p=c.getAttribute("name"),d=c.getAttribute("type"),"SELECT"===c.tagName&&c.hasAttribute("multiple"))for(L=c.options,N=0,A=L.length;N<A;N++)m=L[N],m.selected&&s.append(p,m.value);else(!d||"checkbox"!==(j=d.toLowerCase())&&"radio"!==j||c.checked)&&s.append(p,c.value);for(u=D=0,R=e.length-1;0<=R?D<=R:D>=R;u=0<=R?++D:--D)s.append(this._getParamName(u),e[u],this._renameFilename(e[u].name));return this.submitRequest(E,s,e)},t.prototype.submitRequest=function(e,t,i){return e.send(t)},t.prototype._finished=function(e,i,n){var r,s,o;for(s=0,o=e.length;s<o;s++)r=e[s],r.status=t.SUCCESS,this.emit("success",r,i,n),this.emit("complete",r);
90if(this.options.uploadMultiple&&(this.emit("successmultiple",e,i,n),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()},t.prototype._errorProcessing=function(e,i,n){var r,s,o;for(s=0,o=e.length;s<o;s++)r=e[s],r.status=t.ERROR,this.emit("error",r,i,n),this.emit("complete",r);if(this.options.uploadMultiple&&(this.emit("errormultiple",e,i,n),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()},t}(i),e.version="4.3.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[n(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,i,n,r,s,o;for(document.querySelectorAll?n=document.querySelectorAll(".dropzone"):(n=[],t=function(e){var t,i,r,s;for(s=[],i=0,r=e.length;i<r;i++)t=e[i],/(^| )dropzone($| )/.test(t.className)?s.push(n.push(t)):s.push(void 0);return s},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),o=[],r=0,s=n.length;r<s;r++)i=n[r],e.optionsForElement(i)!==!1?o.push(new e(i)):o.push(void 0);return o},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,i,n,r,s;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(s=e.blacklistedBrowsers,n=0,r=s.length;n<r;n++)i=s[n],i.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},l=function(e,t){var i,n,r,s;for(s=[],n=0,r=e.length;n<r;n++)i=e[n],i!==t&&s.push(i);return s},n=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var i;if("string"==typeof e?i=document.querySelector(e):null!=e.nodeType&&(i=e),null==i)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return i},e.getElements=function(e,t){var i,n,r,s,o,a,l,h;if(e instanceof Array){r=[];try{for(s=0,a=e.length;s<a;s++)n=e[s],r.push(this.getElement(n,t))}catch(u){i=u,r=null}}else if("string"==typeof e)for(r=[],h=document.querySelectorAll(e),o=0,l=h.length;o<l;o++)n=h[o],r.push(n);else null!=e.nodeType&&(r=[e]);if(null==r||!r.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},e.confirm=function(e,t,i){return window.confirm(e)?t():null!=i?i():void 0},e.isValidFile=function(e,t){var i,n,r,s,o;if(!t)return!0;for(t=t.split(","),n=e.type,i=n.replace(/\/.*$/,""),s=0,o=t.length;s<o;s++)if(r=t[s],r=r.trim(),"."===r.charAt(0)){if(e.name.toLowerCase().indexOf(r.toLowerCase(),e.name.length-r.length)!==-1)return!0}else if(/\/\*$/.test(r)){if(i===r.replace(/\/.*$/,""))return!0}else if(n===r)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),"undefined"!=typeof t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",s=function(e){var t,i,n,r,s,o,a,l,h,u;for(a=e.naturalWidth,o=e.naturalHeight,i=document.createElement("canvas"),i.width=1,i.height=o,n=i.getContext("2d"),n.drawImage(e,0,0),r=n.getImageData(0,0,1,o).data,u=0,s=o,l=o;l>u;)t=r[4*(l-1)+3],0===t?s=l:u=l,l=s+u>>1;return h=l/o,0===h?1:h},o=function(e,t,i,n,r,o,a,l,h,u){var c;return c=s(t),e.drawImage(t,i,n,r,o,a,l,h,u/c)},r=function(e,t){var i,n,r,s,o,a,l,h,u;if(r=!1,u=!0,n=e.document,h=n.documentElement,i=n.addEventListener?"addEventListener":"attachEvent",l=n.addEventListener?"removeEventListener":"detachEvent",a=n.addEventListener?"":"on",s=function(i){if("readystatechange"!==i.type||"complete"===n.readyState)return("load"===i.type?e:n)[l](a+i.type,s,!1),!r&&(r=!0)?t.call(e,i.type||i):void 0},o=function(){var e;try{h.doScroll("left")}catch(t){return e=t,void setTimeout(o,50)}return s("poll")},"complete"!==n.readyState){if(n.createEventObject&&h.doScroll){try{u=!e.frameElement}catch(c){}u&&o()}return n[i](a+"DOMContentLoaded",s,!1),n[i](a+"readystatechange",s,!1),e[i](a+"load",s,!1)}},e._autoDiscoverFunction=function(){if(e.autoDiscover)return e.discover()},r(window,e._autoDiscoverFunction)}).call(this)},{}],2:[function(e,t,i){function n(){p&&u&&(p=!1,u.length?c=u.concat(c):d=-1,c.length&&r())}function r(){if(!p){var e=a(n);p=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,p=!1,l(e)}}function s(e,t){this.fun=e,this.array=t}function o(){}var a,l,h=t.exports={};!function(){try{a=setTimeout}catch(e){a=function(){throw new Error("setTimeout is not defined")}}try{l=clearTimeout}catch(e){l=function(){throw new Error("clearTimeout is not defined")}}}();var u,c=[],p=!1,d=-1;h.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];c.push(new s(e,t)),1!==c.length||p||a(r,0)},s.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=o,h.addListener=o,h.once=o,h.off=o,h.removeListener=o,h.removeAllListeners=o,h.emit=o,h.binding=function(e){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(e){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},{}],3:[function(e,t,i){(function(e,i){"use strict";function n(e,t,i){if(s(e,t))return void(e[t]=i);if(e._isVue)return void n(e._data,t,i);var r=e.__ob__;if(!r)return void(e[t]=i);if(r.convert(t,i),r.dep.notify(),r.vms)for(var o=r.vms.length;o--;){var a=r.vms[o];a._proxy(t),a._digest()}return i}function r(e,t){if(s(e,t)){delete e[t];var i=e.__ob__;if(!i)return void(e._isVue&&(delete e._data[t],e._digest()));if(i.dep.notify(),i.vms)for(var n=i.vms.length;n--;){var r=i.vms[n];r._unproxy(t),r._digest()}}}function s(e,t){return Ti.call(e,t)}function o(e){return Si.test(e)}function a(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function l(e){return null==e?"":e.toString()}function h(e){if("string"!=typeof e)return e;var t=Number(e);return isNaN(t)?e:t}function u(e){return"true"===e||"false"!==e&&e}function c(e){var t=e.charCodeAt(0),i=e.charCodeAt(e.length-1);return t!==i||34!==t&&39!==t?e:e.slice(1,-1)}function p(e){return e.replace(zi,d)}function d(e,t){return t?t.toUpperCase():""}function f(e){return e.replace(Li,"$1-$2").toLowerCase()}function v(e){return e.replace(ji,d)}function m(e,t){return function(i){var n=arguments.length;return n?n>1?e.apply(t,arguments):e.call(t,i):e.call(t)}}function g(e,t){t=t||0;for(var i=e.length-t,n=new Array(i);i--;)n[i]=e[i+t];return n}function y(e,t){for(var i=Object.keys(t),n=i.length;n--;)e[i[n]]=t[i[n]];return e}function b(e){return null!==e&&"object"==typeof e}function _(e){return Ri.call(e)===Ii}function w(e,t,i,n){Object.defineProperty(e,t,{value:i,enumerable:!!n,writable:!0,configurable:!0})}function E(e,t){var i,n,r,s,o,a=function l(){var a=Date.now()-s;a<t&&a>=0?i=setTimeout(l,t-a):(i=null,o=e.apply(r,n),i||(r=n=null))};return function(){return r=this,n=arguments,s=Date.now(),i||(i=setTimeout(a,t)),o}}function C(e,t){for(var i=e.length;i--;)if(e[i]===t)return i;return-1}function k(e){var t=function i(){if(!i.cancelled)return e.apply(this,arguments)};return t.cancel=function(){t.cancelled=!0},t}function x(e,t){return e==t||!(!b(e)||!b(t))&&JSON.stringify(e)===JSON.stringify(t)}function N(e){this.size=0,this.limit=e,this.head=this.tail=void 0,this._keymap=Object.create(null)}function F(){var e,t=an.slice(dn,cn).trim();if(t){e={};var i=t.match(_n);e.name=i[0],i.length>1&&(e.args=i.slice(1).map($))}e&&(ln.filters=ln.filters||[]).push(e),dn=cn+1}function $(e){if(wn.test(e))return{value:h(e),dynamic:!1}
90;var t=c(e),i=t===e;return{value:i?e:t,dynamic:i}}function O(e){var t=bn.get(e);if(t)return t;for(an=e,fn=vn=!1,mn=gn=yn=0,dn=0,ln={},cn=0,pn=an.length;cn<pn;cn++)if(un=hn,hn=an.charCodeAt(cn),fn)39===hn&&92!==un&&(fn=!fn);else if(vn)34===hn&&92!==un&&(vn=!vn);else if(124===hn&&124!==an.charCodeAt(cn+1)&&124!==an.charCodeAt(cn-1))null==ln.expression?(dn=cn+1,ln.expression=an.slice(0,cn).trim()):F();else switch(hn){case 34:vn=!0;break;case 39:fn=!0;break;case 40:yn++;break;case 41:yn--;break;case 91:gn++;break;case 93:gn--;break;case 123:mn++;break;case 125:mn--}return null==ln.expression?ln.expression=an.slice(0,cn).trim():0!==dn&&F(),bn.put(e,ln),ln}function A(e){return e.replace(Cn,"\\$&")}function D(){var e=A(Dn.delimiters[0]),t=A(Dn.delimiters[1]),i=A(Dn.unsafeDelimiters[0]),n=A(Dn.unsafeDelimiters[1]);xn=new RegExp(i+"((?:.|\\n)+?)"+n+"|"+e+"((?:.|\\n)+?)"+t,"g"),Nn=new RegExp("^"+i+"((?:.|\\n)+?)"+n+"$"),kn=new N(1e3)}function T(e){kn||D();var t=kn.get(e);if(t)return t;if(!xn.test(e))return null;for(var i,n,r,s,o,a,l=[],h=xn.lastIndex=0;i=xn.exec(e);)n=i.index,n>h&&l.push({value:e.slice(h,n)}),r=Nn.test(i[0]),s=r?i[1]:i[2],o=s.charCodeAt(0),a=42===o,s=a?s.slice(1):s,l.push({tag:!0,value:s.trim(),html:r,oneTime:a}),h=n+i[0].length;return h<e.length&&l.push({value:e.slice(h)}),kn.put(e,l),l}function S(e,t){return e.length>1?e.map(function(e){return z(e,t)}).join("+"):z(e[0],t,!0)}function z(e,t,i){return e.tag?e.oneTime&&t?'"'+t.$eval(e.value)+'"':L(e.value,i):'"'+e.value+'"'}function L(e,t){if(Fn.test(e)){var i=O(e);return i.filters?"this._applyFilters("+i.expression+",null,"+JSON.stringify(i.filters)+",false)":"("+e+")"}return t?e:"("+e+")"}function j(e,t,i,n){P(e,1,function(){t.appendChild(e)},i,n)}function R(e,t,i,n){P(e,1,function(){B(e,t)},i,n)}function I(e,t,i){P(e,-1,function(){Q(e)},t,i)}function P(e,t,i,n,r){var s=e.__v_trans;if(!s||!s.hooks&&!Zi||!n._isCompiled||n.$parent&&!n.$parent._isCompiled)return i(),void(r&&r());var o=t>0?"enter":"leave";s[o](i,r)}function M(t){if("string"==typeof t){var i=t;t=document.querySelector(t),t||"production"!==e.env.NODE_ENV&&Tn("Cannot find element: "+i)}return t}function V(e){if(!e)return!1;var t=e.ownerDocument.documentElement,i=e.parentNode;return t===e||t===i||!(!i||1!==i.nodeType||!t.contains(i))}function U(e,t){var i=e.getAttribute(t);return null!==i&&e.removeAttribute(t),i}function H(e,t){var i=U(e,":"+t);return null===i&&(i=U(e,"v-bind:"+t)),i}function W(e,t){return e.hasAttribute(t)||e.hasAttribute(":"+t)||e.hasAttribute("v-bind:"+t)}function B(e,t){t.parentNode.insertBefore(e,t)}function q(e,t){t.nextSibling?B(e,t.nextSibling):t.parentNode.appendChild(e)}function Q(e){e.parentNode.removeChild(e)}function J(e,t){t.firstChild?B(e,t.firstChild):t.appendChild(e)}function G(e,t){var i=e.parentNode;i&&i.replaceChild(t,e)}function Y(e,t,i,n){e.addEventListener(t,i,n)}function X(e,t,i){e.removeEventListener(t,i)}function Z(e){var t=e.className;return"object"==typeof t&&(t=t.baseVal||""),t}function K(e,t){Bi&&!/svg$/.test(e.namespaceURI)?e.className=t:e.setAttribute("class",t)}function ee(e,t){if(e.classList)e.classList.add(t);else{var i=" "+Z(e)+" ";i.indexOf(" "+t+" ")<0&&K(e,(i+t).trim())}}function te(e,t){if(e.classList)e.classList.remove(t);else{for(var i=" "+Z(e)+" ",n=" "+t+" ";i.indexOf(n)>=0;)i=i.replace(n," ");K(e,i.trim())}e.className||e.removeAttribute("class")}function ie(e,t){var i,n;if(se(e)&&ue(e.content)&&(e=e.content),e.hasChildNodes())for(ne(e),n=t?document.createDocumentFragment():document.createElement("div");i=e.firstChild;)n.appendChild(i);return n}function ne(e){for(var t;t=e.firstChild,re(t);)e.removeChild(t);for(;t=e.lastChild,re(t);)e.removeChild(t)}function re(e){return e&&(3===e.nodeType&&!e.data.trim()||8===e.nodeType)}function se(e){return e.tagName&&"template"===e.tagName.toLowerCase()}function oe(e,t){var i=Dn.debug?document.createComment(e):document.createTextNode(t?" ":"");return i.__v_anchor=!0,i}function ae(e){if(e.hasAttributes())for(var t=e.attributes,i=0,n=t.length;i<n;i++){var r=t[i].name;if(Ln.test(r))return p(r.replace(Ln,""))}}function le(e,t,i){for(var n;e!==t;)n=e.nextSibling,i(e),e=n;i(t)}function he(e,t,i,n,r){function s(){if(a++,o&&a>=l.length){for(var e=0;e<l.length;e++)n.appendChild(l[e]);r&&r()}}var o=!1,a=0,l=[];le(e,t,function(e){e===t&&(o=!0),l.push(e),I(e,i,s)})}function ue(e){return e&&11===e.nodeType}function ce(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}function pe(t,i){var n=t.tagName.toLowerCase(),r=t.hasAttributes();
90if(jn.test(n)||Rn.test(n)){if(r)return de(t,i)}else{if(_e(i,"components",n))return{id:n};var s=r&&de(t,i);if(s)return s;if("production"!==e.env.NODE_ENV){var o=i._componentNameMap&&i._componentNameMap[n];o?Tn("Unknown custom element: <"+n+"> - did you mean <"+o+">? HTML is case-insensitive, remember to use kebab-case in templates."):In(t,n)&&Tn("Unknown custom element: <"+n+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.')}}}function de(e,t){var i=e.getAttribute("is");if(null!=i){if(_e(t,"components",i))return e.removeAttribute("is"),{id:i}}else if(i=H(e,"is"),null!=i)return{id:i,dynamic:!0}}function fe(e,t){var i,r,o;for(i in t)r=e[i],o=t[i],s(e,i)?b(r)&&b(o)&&fe(r,o):n(e,i,o);return e}function ve(e,t){var i=Object.create(e||null);return t?y(i,ye(t)):i}function me(t){if(t.components){var i,n=t.components=ye(t.components),r=Object.keys(n);if("production"!==e.env.NODE_ENV)var s=t._componentNameMap={};for(var o=0,a=r.length;o<a;o++){var l=r[o];jn.test(l)||Rn.test(l)?"production"!==e.env.NODE_ENV&&Tn("Do not use built-in or reserved HTML elements as component id: "+l):("production"!==e.env.NODE_ENV&&(s[l.replace(/-/g,"").toLowerCase()]=f(l)),i=n[l],_(i)&&(n[l]=Ni.extend(i)))}}}function ge(e){var t,i,n=e.props;if(Pi(n))for(e.props={},t=n.length;t--;)i=n[t],"string"==typeof i?e.props[i]=null:i.name&&(e.props[i.name]=i);else if(_(n)){var r=Object.keys(n);for(t=r.length;t--;)i=n[r[t]],"function"==typeof i&&(n[r[t]]={type:i})}}function ye(t){if(Pi(t)){for(var i,n={},r=t.length;r--;){i=t[r];var s="function"==typeof i?i.options&&i.options.name||i.id:i.name||i.id;s?n[s]=i:"production"!==e.env.NODE_ENV&&Tn('Array-syntax assets must provide a "name" or "id" field.')}return n}return t}function be(t,i,n){function r(e){var r=Pn[e]||Mn;a[e]=r(t[e],i[e],n,e)}me(i),ge(i),"production"!==e.env.NODE_ENV&&i.propsData&&!n&&Tn("propsData can only be used as an instantiation option.");var o,a={};if(i["extends"]&&(t="function"==typeof i["extends"]?be(t,i["extends"].options,n):be(t,i["extends"],n)),i.mixins)for(var l=0,h=i.mixins.length;l<h;l++){var u=i.mixins[l],c=u.prototype instanceof Ni?u.options:u;t=be(t,c,n)}for(o in t)r(o);for(o in i)s(t,o)||r(o);return a}function _e(t,i,n,r){if("string"==typeof n){var s,o=t[i],a=o[n]||o[s=p(n)]||o[s.charAt(0).toUpperCase()+s.slice(1)];return"production"!==e.env.NODE_ENV&&r&&!a&&Tn("Failed to resolve "+i.slice(0,-1)+": "+n,t),a}}function we(){this.id=Vn++,this.subs=[]}function Ee(e){Bn=!1,e(),Bn=!0}function Ce(e){if(this.value=e,this.dep=new we,w(e,"__ob__",this),Pi(e)){var t=Mi?ke:xe;t(e,Hn,Wn),this.observeArray(e)}else this.walk(e)}function ke(e,t){e.__proto__=t}function xe(e,t,i){for(var n=0,r=i.length;n<r;n++){var s=i[n];w(e,s,t[s])}}function Ne(e,t){if(e&&"object"==typeof e){var i;return s(e,"__ob__")&&e.__ob__ instanceof Ce?i=e.__ob__:Bn&&(Pi(e)||_(e))&&Object.isExtensible(e)&&!e._isVue&&(i=new Ce(e)),i&&t&&i.addVm(t),i}}function Fe(e,t,i){var n=new we,r=Object.getOwnPropertyDescriptor(e,t);if(!r||r.configurable!==!1){var s=r&&r.get,o=r&&r.set,a=Ne(i);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):i;if(we.target&&(n.depend(),a&&a.dep.depend(),Pi(t)))for(var r,o=0,l=t.length;o<l;o++)r=t[o],r&&r.__ob__&&r.__ob__.dep.depend();return t},set:function(t){var r=s?s.call(e):i;t!==r&&(o?o.call(e,t):i=t,a=Ne(t),n.notify())}})}}function $e(e){e.prototype._init=function(e){e=e||{},this.$el=null,this.$parent=e.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=Qn++,this._isVue=!0,this._events={},this._eventsCount={},this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=this._vForRemoving=!1,this._unlinkFn=null,this._context=e._context||this.$parent,this._scope=e._scope,this._frag=e._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),e=this.$options=be(this.constructor.options,e,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),e.el&&this.$mount(e.el)}}function Oe(e){if(void 0===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:case 48:return e;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return t>=97&&t<=122||t>=65&&t<=90?"ident":t>=49&&t<=57?"number":"else"}function Ae(e){var t=e.trim();
90return("0"!==e.charAt(0)||!isNaN(e))&&(o(t)?c(t):"*"+t)}function De(e){function t(){var t=e[u+1];if(c===rr&&"'"===t||c===sr&&'"'===t)return u++,n="\\"+t,d[Gn](),!0}var i,n,r,s,o,a,l,h=[],u=-1,c=Kn,p=0,d=[];for(d[Yn]=function(){void 0!==r&&(h.push(r),r=void 0)},d[Gn]=function(){void 0===r?r=n:r+=n},d[Xn]=function(){d[Gn](),p++},d[Zn]=function(){if(p>0)p--,c=nr,d[Gn]();else{if(p=0,r=Ae(r),r===!1)return!1;d[Yn]()}};null!=c;)if(u++,i=e[u],"\\"!==i||!t()){if(s=Oe(i),l=lr[c],o=l[s]||l["else"]||ar,o===ar)return;if(c=o[0],a=d[o[1]],a&&(n=o[2],n=void 0===n?i:n,a()===!1))return;if(c===or)return h.raw=e,h}}function Te(e){var t=Jn.get(e);return t||(t=De(e),t&&Jn.put(e,t)),t}function Se(e,t){return Ue(t).get(e)}function ze(t,i,r){var s=t;if("string"==typeof i&&(i=De(i)),!i||!b(t))return!1;for(var o,a,l=0,h=i.length;l<h;l++)o=t,a=i[l],"*"===a.charAt(0)&&(a=Ue(a.slice(1)).get.call(s,s)),l<h-1?(t=t[a],b(t)||(t={},"production"!==e.env.NODE_ENV&&o._isVue&&hr(i,o),n(o,a,t))):Pi(t)?t.$set(a,r):a in t?t[a]=r:("production"!==e.env.NODE_ENV&&t._isVue&&hr(i,t),n(t,a,r));return!0}function Le(){}function je(e,t){var i=Cr.length;return Cr[i]=t?e.replace(gr,"\\n"):e,'"'+i+'"'}function Re(e){var t=e.charAt(0),i=e.slice(1);return dr.test(i)?e:(i=i.indexOf('"')>-1?i.replace(br,Ie):i,t+"scope."+i)}function Ie(e,t){return Cr[t]}function Pe(t){vr.test(t)&&"production"!==e.env.NODE_ENV&&Tn("Avoid using reserved keywords in expression: "+t),Cr.length=0;var i=t.replace(yr,je).replace(mr,"");return i=(" "+i).replace(wr,Re).replace(br,Ie),Me(i)}function Me(t){try{return new Function("scope","return "+t+";")}catch(i){return"production"!==e.env.NODE_ENV&&Tn(i.toString().match(/unsafe-eval|CSP/)?"It seems you are using the default build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. Use the CSP-compliant build instead: http://vuejs.org/guide/installation.html#CSP-compliant-build":"Invalid expression. Generated function body: "+t),Le}}function Ve(t){var i=Te(t);return i?function(e,t){ze(e,i,t)}:void("production"!==e.env.NODE_ENV&&Tn("Invalid setter expression: "+t))}function Ue(e,t){e=e.trim();var i=cr.get(e);if(i)return t&&!i.set&&(i.set=Ve(i.exp)),i;var n={exp:e};return n.get=He(e)&&e.indexOf("[")<0?Me("scope."+e):Pe(e),t&&(n.set=Ve(e)),cr.put(e,n),n}function He(e){return _r.test(e)&&!Er.test(e)&&"Math."!==e.slice(0,5)}function We(){xr.length=0,Nr.length=0,Fr={},$r={},Or=!1}function Be(){for(var e=!0;e;)e=!1,qe(xr),qe(Nr),xr.length?e=!0:(Ui&&Dn.devtools&&Ui.emit("flush"),We())}function qe(t){for(var i=0;i<t.length;i++){var n=t[i],r=n.id;if(Fr[r]=null,n.run(),"production"!==e.env.NODE_ENV&&null!=Fr[r]&&($r[r]=($r[r]||0)+1,$r[r]>Dn._maxUpdateCount)){Tn('You may have an infinite update loop for watcher with expression "'+n.expression+'"',n.vm);break}}t.length=0}function Qe(e){var t=e.id;if(null==Fr[t]){var i=e.user?Nr:xr;Fr[t]=i.length,i.push(e),Or||(Or=!0,rn(Be))}}function Je(e,t,i,n){n&&y(this,n);var r="function"==typeof t;if(this.vm=e,e._watchers.push(this),this.expression=t,this.cb=i,this.id=++Ar,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new sn,this.newDepIds=new sn,this.prevError=null,r)this.getter=t,this.setter=void 0;else{var s=Ue(t,this.twoWay);this.getter=s.get,this.setter=s.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function Ge(e,t){var i=void 0,n=void 0;t||(t=Dr,t.clear());var r=Pi(e),s=b(e);if((r||s)&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(r)for(i=e.length;i--;)Ge(e[i],t);else if(s)for(n=Object.keys(e),i=n.length;i--;)Ge(e[n[i]],t)}}function Ye(e){return se(e)&&ue(e.content)}function Xe(e,t){var i=t?e:e.trim(),n=Sr.get(i);if(n)return n;var r=document.createDocumentFragment(),s=e.match(jr),o=Rr.test(e),a=Ir.test(e);
90if(s||o||a){var l=s&&s[1],h=Lr[l]||Lr.efault,u=h[0],c=h[1],p=h[2],d=document.createElement("div");for(d.innerHTML=c+e+p;u--;)d=d.lastChild;for(var f;f=d.firstChild;)r.appendChild(f)}else r.appendChild(document.createTextNode(e));return t||ne(r),Sr.put(i,r),r}function Ze(e){if(Ye(e))return Xe(e.innerHTML);if("SCRIPT"===e.tagName)return Xe(e.textContent);for(var t,i=Ke(e),n=document.createDocumentFragment();t=i.firstChild;)n.appendChild(t);return ne(n),n}function Ke(e){if(!e.querySelectorAll)return e.cloneNode();var t,i,n,r=e.cloneNode(!0);if(Pr){var s=r;if(Ye(e)&&(e=e.content,s=r.content),i=e.querySelectorAll("template"),i.length)for(n=s.querySelectorAll("template"),t=n.length;t--;)n[t].parentNode.replaceChild(Ke(i[t]),n[t])}if(Mr)if("TEXTAREA"===e.tagName)r.value=e.value;else if(i=e.querySelectorAll("textarea"),i.length)for(n=r.querySelectorAll("textarea"),t=n.length;t--;)n[t].value=i[t].value;return r}function et(e,t,i){var n,r;return ue(e)?(ne(e),t?Ke(e):e):("string"==typeof e?i||"#"!==e.charAt(0)?r=Xe(e,i):(r=zr.get(e),r||(n=document.getElementById(e.slice(1)),n&&(r=Ze(n),zr.put(e,r)))):e.nodeType&&(r=Ze(e)),r&&t?Ke(r):r)}function tt(e,t,i,n,r,s){this.children=[],this.childFrags=[],this.vm=t,this.scope=r,this.inserted=!1,this.parentFrag=s,s&&s.childFrags.push(this),this.unlink=e(t,i,n,r,this);var o=this.single=1===i.childNodes.length&&!i.childNodes[0].__v_anchor;o?(this.node=i.childNodes[0],this.before=it,this.remove=nt):(this.node=oe("fragment-start"),this.end=oe("fragment-end"),this.frag=i,J(this.node,i),i.appendChild(this.end),this.before=rt,this.remove=st),this.node.__v_frag=this}function it(e,t){this.inserted=!0;var i=t!==!1?R:B;i(this.node,e,this.vm),V(this.node)&&this.callHook(ot)}function nt(){this.inserted=!1;var e=V(this.node),t=this;this.beforeRemove(),I(this.node,this.vm,function(){e&&t.callHook(at),t.destroy()})}function rt(e,t){this.inserted=!0;var i=this.vm,n=t!==!1?R:B;le(this.node,this.end,function(t){n(t,e,i)}),V(this.node)&&this.callHook(ot)}function st(){this.inserted=!1;var e=this,t=V(this.node);this.beforeRemove(),he(this.node,this.end,this.vm,this.frag,function(){t&&e.callHook(at),e.destroy()})}function ot(e){!e._isAttached&&V(e.$el)&&e._callHook("attached")}function at(e){e._isAttached&&!V(e.$el)&&e._callHook("detached")}function lt(e,t){this.vm=e;var i,n="string"==typeof t;n||se(t)&&!t.hasAttribute("v-if")?i=et(t,!0):(i=document.createDocumentFragment(),i.appendChild(t)),this.template=i;var r,s=e.constructor.cid;if(s>0){var o=s+(n?t:ce(t));r=Hr.get(o),r||(r=Pt(i,e.$options,!0),Hr.put(o,r))}else r=Pt(i,e.$options,!0);this.linker=r}function ht(e,t,i){var n=e.node.previousSibling;if(n){for(e=n.__v_frag;!(e&&e.forId===i&&e.inserted||n===t);){if(n=n.previousSibling,!n)return;e=n.__v_frag}return e}}function ut(e){var t=e.node;if(e.end)for(;!t.__vue__&&t!==e.end&&t.nextSibling;)t=t.nextSibling;return t.__vue__}function ct(e){for(var t=-1,i=new Array(Math.floor(e));++t<e;)i[t]=t;return i}function pt(e,t,i,n){return n?"$index"===n?e:n.charAt(0).match(/\w/)?Se(i,n):i[n]:t||i}function dt(e,t,i){for(var n,r,s,o=t?[]:null,a=0,l=e.options.length;a<l;a++)if(n=e.options[a],s=i?n.hasAttribute("selected"):n.selected){if(r=n.hasOwnProperty("_value")?n._value:n.value,!t)return r;o.push(r)}return o}function ft(e,t){for(var i=e.length;i--;)if(x(e[i],t))return i;return-1}function vt(e,t){var i=t.map(function(e){var t=e.charCodeAt(0);return t>47&&t<58?parseInt(e,10):1===e.length&&(t=e.toUpperCase().charCodeAt(0),t>64&&t<91)?t:us[e]});return i=[].concat.apply([],i),function(t){if(i.indexOf(t.keyCode)>-1)return e.call(this,t)}}function mt(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function gt(e){return function(t){return t.preventDefault(),e.call(this,t)}}function yt(e){return function(t){if(t.target===t.currentTarget)return e.call(this,t)}}function bt(e){if(vs[e])return vs[e];var t=_t(e);return vs[e]=vs[t]=t,t}function _t(e){e=f(e);var t=p(e),i=t.charAt(0).toUpperCase()+t.slice(1);ms||(ms=document.createElement("div"));var n,r=ps.length;if("filter"!==t&&t in ms.style)return{kebab:e,camel:t};for(;r--;)if(n=ds[r]+i,n in ms.style)return{kebab:ps[r]+e,camel:n}}function wt(e){var t=[];if(Pi(e))for(var i=0,n=e.length;i<n;i++){var r=e[i];if(r)if("string"==typeof r)t.push(r);else for(var s in r)r[s]&&t.push(s)}
90else if(b(e))for(var o in e)e[o]&&t.push(o);return t}function Et(e,t,i){if(t=t.trim(),t.indexOf(" ")===-1)return void i(e,t);for(var n=t.split(/\s+/),r=0,s=n.length;r<s;r++)i(e,n[r])}function Ct(e,t,i){function n(){++s>=r?i():e[s].call(t,n)}var r=e.length,s=0;e[0].call(t,n)}function kt(t,i,n){for(var r,s,a,l,h,u,c,d=[],v=Object.keys(i),m=v.length;m--;)if(s=v[m],r=i[s]||Ts,"production"===e.env.NODE_ENV||"$data"!==s)if(h=p(s),Ss.test(h)){if(c={name:s,path:h,options:r,mode:Ds.ONE_WAY,raw:null},a=f(s),null===(l=H(t,a))&&(null!==(l=H(t,a+".sync"))?c.mode=Ds.TWO_WAY:null!==(l=H(t,a+".once"))&&(c.mode=Ds.ONE_TIME)),null!==l)c.raw=l,u=O(l),l=u.expression,c.filters=u.filters,o(l)&&!u.filters?c.optimizedLiteral=!0:(c.dynamic=!0,"production"===e.env.NODE_ENV||c.mode!==Ds.TWO_WAY||zs.test(l)||(c.mode=Ds.ONE_WAY,Tn("Cannot bind two-way prop with non-settable parent path: "+l,n))),c.parentPath=l,"production"!==e.env.NODE_ENV&&r.twoWay&&c.mode!==Ds.TWO_WAY&&Tn('Prop "'+s+'" expects a two-way binding type.',n);else if(null!==(l=U(t,a)))c.raw=l;else if("production"!==e.env.NODE_ENV){var g=h.toLowerCase();l=/[A-Z\-]/.test(s)&&(t.getAttribute(g)||t.getAttribute(":"+g)||t.getAttribute("v-bind:"+g)||t.getAttribute(":"+g+".once")||t.getAttribute("v-bind:"+g+".once")||t.getAttribute(":"+g+".sync")||t.getAttribute("v-bind:"+g+".sync")),l?Tn("Possible usage error for prop `"+g+"` - did you mean `"+a+"`? HTML is case-insensitive, remember to use kebab-case for props in templates.",n):r.required&&Tn("Missing required prop: "+s,n)}d.push(c)}else"production"!==e.env.NODE_ENV&&Tn('Invalid prop key: "'+s+'". Prop keys must be valid identifiers.',n);else Tn("Do not use $data as prop.",n);return xt(d)}function xt(e){return function(t,i){t._props={};for(var n,r,o,a,l,p=t.$options.propsData,d=e.length;d--;)if(n=e[d],l=n.raw,r=n.path,o=n.options,t._props[r]=n,p&&s(p,r)&&Ft(t,n,p[r]),null===l)Ft(t,n,void 0);else if(n.dynamic)n.mode===Ds.ONE_TIME?(a=(i||t._context||t).$get(n.parentPath),Ft(t,n,a)):t._context?t._bindDir({name:"prop",def:js,prop:n},null,null,i):Ft(t,n,t.$get(n.parentPath));else if(n.optimizedLiteral){var v=c(l);a=v===l?u(h(l)):v,Ft(t,n,a)}else a=o.type===Boolean&&(""===l||l===f(n.name))||l,Ft(t,n,a)}}function Nt(e,t,i,n){var r=t.dynamic&&He(t.parentPath),s=i;void 0===s&&(s=Ot(e,t)),s=Dt(t,s,e);var o=s!==i;At(t,s,e)||(s=void 0),r&&!o?Ee(function(){n(s)}):n(s)}function Ft(e,t,i){Nt(e,t,i,function(i){Fe(e,t.path,i)})}function $t(e,t,i){Nt(e,t,i,function(i){e[t.path]=i})}function Ot(t,i){var n=i.options;if(!s(n,"default"))return n.type!==Boolean&&void 0;var r=n["default"];return b(r)&&"production"!==e.env.NODE_ENV&&Tn('Invalid default value for prop "'+i.name+'": Props with type Object/Array must use a factory function to return the default value.',t),"function"==typeof r&&n.type!==Function?r.call(t):r}function At(t,i,n){if(!t.options.required&&(null===t.raw||null==i))return!0;var r=t.options,s=r.type,o=!s,a=[];if(s){Pi(s)||(s=[s]);for(var l=0;l<s.length&&!o;l++){var h=Tt(i,s[l]);a.push(h.expectedType),o=h.valid}}if(!o)return"production"!==e.env.NODE_ENV&&Tn('Invalid prop: type check failed for prop "'+t.name+'". Expected '+a.map(St).join(", ")+", got "+zt(i)+".",n),!1;var u=r.validator;return!(u&&!u(i))||("production"!==e.env.NODE_ENV&&Tn('Invalid prop: custom validator check failed for prop "'+t.name+'".',n),!1)}function Dt(t,i,n){var r=t.options.coerce;return r?"function"==typeof r?r(i):("production"!==e.env.NODE_ENV&&Tn('Invalid coerce for prop "'+t.name+'": expected function, got '+typeof r+".",n),i):i}function Tt(e,t){var i,n;return t===String?(n="string",i=typeof e===n):t===Number?(n="number",i=typeof e===n):t===Boolean?(n="boolean",i=typeof e===n):t===Function?(n="function",i=typeof e===n):t===Object?(n="object",i=_(e)):t===Array?(n="array",i=Pi(e)):i=e instanceof t,{valid:i,expectedType:n}}function St(e){return e?e.charAt(0).toUpperCase()+e.slice(1):"custom type"}function zt(e){return Object.prototype.toString.call(e).slice(8,-1)}function Lt(e){Rs.push(e),Is||(Is=!0,rn(jt))}function jt(){for(var e=document.documentElement.offsetHeight,t=0;t<Rs.length;t++)Rs[t]();return Rs=[],Is=!1,e}function Rt(t,i,n,r){this.id=i,this.el=t,this.enterClass=n&&n.enterClass||i+"-enter",this.leaveClass=n&&n.leaveClass||i+"-leave",this.hooks=n,this.vm=r,this.pendingCssEvent=this.pendingCssCb=this.cancel=this.pendingJsCb=this.op=this.cb=null,this.justEntered=!1,this.entered=this.left=!1,this.typeCache={},this.type=n&&n.type,"production"!==e.env.NODE_ENV&&this.type&&this.type!==Ps&&this.type!==Ms&&Tn('invalid CSS transition type for transition="'+this.id+'": '+this.type,r);var s=this;["enterNextTick","enterDone","leaveNextTick","leaveDone"].forEach(function(e){s[e]=m(s[e],s)})}function It(e){if(/svg$/.test(e.namespaceURI)){var t=e.getBoundingClientRect();return!(t.width||t.height)}return!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function Pt(e,t,i){var n=i||!t._asComponent?qt(e,t):null,r=n&&n.terminal||hi(e)||!e.hasChildNodes()?null:Zt
90(e.childNodes,t);return function(e,t,i,s,o){var a=g(t.childNodes),l=Mt(function(){n&&n(e,t,i,s,o),r&&r(e,a,i,s,o)},e);return Ut(e,l)}}function Mt(t,i){"production"===e.env.NODE_ENV&&(i._directives=[]);var n=i._directives.length;t();var r=i._directives.slice(n);r.sort(Vt);for(var s=0,o=r.length;s<o;s++)r[s]._bind();return r}function Vt(e,t){return e=e.descriptor.def.priority||Ks,t=t.descriptor.def.priority||Ks,e>t?-1:e===t?0:1}function Ut(e,t,i,n){function r(r){Ht(e,t,r),i&&n&&Ht(i,n)}return r.dirs=t,r}function Ht(t,i,n){for(var r=i.length;r--;)i[r]._teardown(),"production"===e.env.NODE_ENV||n||t._directives.$remove(i[r])}function Wt(e,t,i,n){var r=kt(t,i,e),s=Mt(function(){r(e,n)},e);return Ut(e,s)}function Bt(t,i,n){var r,s,o=i._containerAttrs,a=i._replacerAttrs;if(11!==t.nodeType)i._asComponent?(o&&n&&(r=si(o,n)),a&&(s=si(a,i))):s=si(t.attributes,i);else if("production"!==e.env.NODE_ENV&&o){var l=o.filter(function(e){return e.name.indexOf("_v-")<0&&!Gs.test(e.name)&&"slot"!==e.name}).map(function(e){return'"'+e.name+'"'});if(l.length){var h=l.length>1;Tn("Attribute"+(h?"s ":" ")+l.join(", ")+(h?" are":" is")+" ignored on component <"+i.el.tagName.toLowerCase()+"> because the component is a fragment instance: http://vuejs.org/guide/components.html#Fragment-Instance")}}return i._containerAttrs=i._replacerAttrs=null,function(e,t,i){var n,o=e._context;o&&r&&(n=Mt(function(){r(o,t,null,i)},o));var a=Mt(function(){s&&s(e,t)},e);return Ut(e,a,o,n)}}function qt(e,t){var i=e.nodeType;return 1!==i||hi(e)?3===i&&e.data.trim()?Jt(e,t):null:Qt(e,t)}function Qt(e,t){if("TEXTAREA"===e.tagName){var i=T(e.value);i&&(e.setAttribute(":value",S(i)),e.value="")}var n,r=e.hasAttributes(),s=r&&g(e.attributes);return r&&(n=ii(e,s,t)),n||(n=ei(e,t)),n||(n=ti(e,t)),!n&&r&&(n=si(s,t)),n}function Jt(e,t){if(e._skip)return Gt;var i=T(e.wholeText);if(!i)return null;for(var n=e.nextSibling;n&&3===n.nodeType;)n._skip=!0,n=n.nextSibling;for(var r,s,o=document.createDocumentFragment(),a=0,l=i.length;a<l;a++)s=i[a],r=s.tag?Yt(s,t):document.createTextNode(s.value),o.appendChild(r);return Xt(i,o,t)}function Gt(e,t){Q(t)}function Yt(e,t){function i(t){if(!e.descriptor){var i=O(e.value);e.descriptor={name:t,def:$s[t],expression:i.expression,filters:i.filters}}}var n;return e.oneTime?n=document.createTextNode(e.value):e.html?(n=document.createComment("v-html"),i("html")):(n=document.createTextNode(" "),i("text")),n}function Xt(e,t){return function(i,n,r,s){for(var o,a,h,u=t.cloneNode(!0),c=g(u.childNodes),p=0,d=e.length;p<d;p++)o=e[p],a=o.value,o.tag&&(h=c[p],o.oneTime?(a=(s||i).$eval(a),o.html?G(h,et(a,!0)):h.data=l(a)):i._bindDir(o.descriptor,h,r,s));G(n,u)}}function Zt(e,t){for(var i,n,r,s=[],o=0,a=e.length;o<a;o++)r=e[o],i=qt(r,t),n=i&&i.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:Zt(r.childNodes,t),s.push(i,n);return s.length?Kt(s):null}function Kt(e){return function(t,i,n,r,s){for(var o,a,l,h=0,u=0,c=e.length;h<c;u++){o=i[u],a=e[h++],l=e[h++];var p=g(o.childNodes);a&&a(t,o,n,r,s),l&&l(t,p,n,r,s)}}}function ei(e,t){var i=e.tagName.toLowerCase();if(!jn.test(i)){var n=_e(t,"elementDirectives",i);return n?ri(e,i,"",t,n):void 0}}function ti(e,t){var i=pe(e,t);if(i){var n=ae(e),r={name:"component",ref:n,expression:i.id,def:Qs.component,modifiers:{literal:!i.dynamic}},s=function(e,t,i,s,o){n&&Fe((s||e).$refs,n,null),e._bindDir(r,t,i,s,o)};return s.terminal=!0,s}}function ii(e,t,i){if(null!==U(e,"v-pre"))return ni;if(e.hasAttribute("v-else")){var n=e.previousElementSibling;if(n&&n.hasAttribute("v-if"))return ni}for(var r,s,o,a,l,h,u,c,p,d,f=0,v=t.length;f<v;
90f++)r=t[f],s=r.name.replace(Xs,""),(l=s.match(Ys))&&(p=_e(i,"directives",l[1]),p&&p.terminal&&(!d||(p.priority||eo)>d.priority)&&(d=p,u=r.name,a=oi(r.name),o=r.value,h=l[1],c=l[2]));return d?ri(e,h,o,i,d,u,c,a):void 0}function ni(){}function ri(e,t,i,n,r,s,o,a){var l=O(i),h={name:t,arg:o,expression:l.expression,filters:l.filters,raw:i,attr:s,modifiers:a,def:r};"for"!==t&&"router-view"!==t||(h.ref=ae(e));var u=function(e,t,i,n,r){h.ref&&Fe((n||e).$refs,h.ref,null),e._bindDir(h,t,i,n,r)};return u.terminal=!0,u}function si(t,i){function n(e,t,i){var n=i&&li(i),r=!n&&O(o);m.push({name:e,attr:a,raw:l,def:t,arg:u,modifiers:c,expression:r&&r.expression,filters:r&&r.filters,interp:i,hasOneTime:n})}for(var r,s,o,a,l,h,u,c,p,d,f,v=t.length,m=[];v--;)if(r=t[v],s=a=r.name,o=l=r.value,d=T(o),u=null,c=oi(s),s=s.replace(Xs,""),d)o=S(d),u=s,n("bind",$s.bind,d),"production"!==e.env.NODE_ENV&&"class"===s&&Array.prototype.some.call(t,function(e){return":class"===e.name||"v-bind:class"===e.name})&&Tn('class="'+l+'": Do not mix mustache interpolation and v-bind for "class" on the same element. Use one or the other.',i);else if(Zs.test(s))c.literal=!Js.test(s),n("transition",Qs.transition);else if(Gs.test(s))u=s.replace(Gs,""),n("on",$s.on);else if(Js.test(s))h=s.replace(Js,""),"style"===h||"class"===h?n(h,Qs[h]):(u=h,n("bind",$s.bind));else if(f=s.match(Ys)){if(h=f[1],u=f[2],"else"===h)continue;p=_e(i,"directives",h,!0),p&&n(h,p)}if(m.length)return ai(m)}function oi(e){var t=Object.create(null),i=e.match(Xs);if(i)for(var n=i.length;n--;)t[i[n].slice(1)]=!0;return t}function ai(e){return function(t,i,n,r,s){for(var o=e.length;o--;)t._bindDir(e[o],i,n,r,s)}}function li(e){for(var t=e.length;t--;)if(e[t].oneTime)return!0}function hi(e){return"SCRIPT"===e.tagName&&(!e.hasAttribute("type")||"text/javascript"===e.getAttribute("type"))}function ui(e,t){return t&&(t._containerAttrs=pi(e)),se(e)&&(e=et(e)),t&&(t._asComponent&&!t.template&&(t.template="<slot></slot>"),t.template&&(t._content=ie(e),e=ci(e,t))),ue(e)&&(J(oe("v-start",!0),e),e.appendChild(oe("v-end",!0))),e}function ci(t,i){var n=i.template,r=et(n,!0);if(r){var s=r.firstChild,o=s.tagName&&s.tagName.toLowerCase();return i.replace?(t===document.body&&"production"!==e.env.NODE_ENV&&Tn("You are mounting an instance with a template to <body>. This will replace <body> entirely. You should probably use `replace: false` here."),r.childNodes.length>1||1!==s.nodeType||"component"===o||_e(i,"components",o)||W(s,"is")||_e(i,"elementDirectives",o)||s.hasAttribute("v-for")||s.hasAttribute("v-if")?r:(i._replacerAttrs=pi(s),di(t,s),s)):(t.appendChild(r),t)}"production"!==e.env.NODE_ENV&&Tn("Invalid template option: "+n)}function pi(e){if(1===e.nodeType&&e.hasAttributes())return g(e.attributes)}function di(e,t){for(var i,n,r=e.attributes,s=r.length;s--;)i=r[s].name,n=r[s].value,t.hasAttribute(i)||to.test(i)?"class"===i&&!T(n)&&(n=n.trim())&&n.split(/\s+/).forEach(function(e){ee(t,e)}):t.setAttribute(i,n)}function fi(t,i){if(i){for(var n,r,s=t._slotContents=Object.create(null),o=0,a=i.children.length;o<a;o++)n=i.children[o],(r=n.getAttribute("slot"))&&(s[r]||(s[r]=[])).push(n),"production"!==e.env.NODE_ENV&&H(n,"slot")&&Tn('The "slot" attribute must be static.',t.$parent);for(r in s)s[r]=vi(s[r],i);if(i.hasChildNodes()){var l=i.childNodes;if(1===l.length&&3===l[0].nodeType&&!l[0].data.trim())return;s["default"]=vi(i.childNodes,i)}}}function vi(e,t){var i=document.createDocumentFragment();e=g(e);for(var n=0,r=e.length;n<r;n++){var s=e[n];!se(s)||s.hasAttribute("v-if")||s.hasAttribute("v-for")||(t.removeChild(s),s=et(s,!0)),i.appendChild(s)}return i}function mi(t){function i(){}function n(e,t){var i=new Je(t,e,null,{lazy:!0});return function(){return i.dirty&&i.evaluate(),we.target&&i.depend(),i.value}}Object.defineProperty(t.prototype,"$data",{get:function(){return this._data},set:function(e){e!==this._data&&this._setData(e)}}),t.prototype._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},t.prototype._initProps=function(){var t=this.$options,i=t.el,n=t.props;n&&!i&&"production"!==e.env.NODE_ENV&&Tn("Props will not be compiled if no `el` option is provided at instantiation.",this),i=t.el=M(i),this._propsUnlinkFn=i&&1===i.nodeType&&n?Wt(this,i,n,this._scope):null},t.prototype._initData=function(){var t=this.$options.data,i=this._data=t?t():{};_(i)||(i={},"production"!==e.env.NODE_ENV&&Tn("data functions should return an object.",this));var n,r,o=this._props,a=Object.keys(i);for(n=a.length;n--;)r=a[n],o&&s(o,r)?"production"!==e.env.NODE_ENV&&Tn('Data field "'+r+'" is already defined as a prop. To provide default value for a prop, use the "default" prop option; if you want to pass prop values to an instantiation call, use the "propsData" option.',this):this._proxy(r);Ne(i,this)},t.prototype._setData=function(e){e=e||{};var t=this._data;this._data=e;var i,n,r;for(i=Object.keys(t),r=i.length;r--;)n=i[r],n in e||this._unproxy(n);for(i=Object.keys(e),r=i.length;r--;)n=i[r],s(this,n)||this._proxy(n);t.__ob__.removeVm(this),Ne(e,this),this._digest()},t.prototype._proxy=function(e){if(!a(e)){var t=this;Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(i){t._data[e]=i}})}},t.prototype._unproxy=function(e){a(e)||delete this[e]},t.prototype._digest=function(){for(var e=0,t=this._watchers.length;e<t;e++)this._watchers[e].update(!0)},t.prototype._initComputed=function(){var e=this.$options.computed;if(e)for(var t in e){var r=e[t],s={enumerable:!0,configurable:!0};"function"==typeof r?(s.get=n(r,this),s.set=i):(s.get=r.get?r.cache!==!1?n(r.get,this):m(r.get,this):i,s.set=r.set?m(r.set,this):i),Object.defineProperty(this,t,s)}},t.prototype._initMethods=function(){var e=this.$options.methods;if(e)for(var t in e)this[t]=m(e[t],this)},t.prototype._initMeta=function(){var e=this.$options._meta;
90if(e)for(var t in e)Fe(this,t,e[t])}}function gi(t){function i(e,t){for(var i,n,r,s=t.attributes,o=0,a=s.length;o<a;o++)i=s[o].name,no.test(i)&&(i=i.replace(no,""),n=s[o].value,He(n)&&(n+=".apply(this, $arguments)"),r=(e._scope||e._context).$eval(n,!0),r._fromParent=!0,e.$on(i.replace(no),r))}function n(e,t,i){if(i){var n,s,o,a;for(s in i)if(n=i[s],Pi(n))for(o=0,a=n.length;o<a;o++)r(e,t,s,n[o]);else r(e,t,s,n)}}function r(t,i,n,s,o){var a=typeof s;if("function"===a)t[i](n,s,o);else if("string"===a){var l=t.$options.methods,h=l&&l[s];h?t[i](n,h,o):"production"!==e.env.NODE_ENV&&Tn('Unknown method: "'+s+'" when registering callback for '+i+': "'+n+'".',t)}else s&&"object"===a&&r(t,i,n,s.handler,s)}function s(){this._isAttached||(this._isAttached=!0,this.$children.forEach(o))}function o(e){!e._isAttached&&V(e.$el)&&e._callHook("attached")}function a(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(l))}function l(e){e._isAttached&&!V(e.$el)&&e._callHook("detached")}t.prototype._initEvents=function(){var e=this.$options;e._asComponent&&i(this,e.el),n(this,"$on",e.events),n(this,"$watch",e.watch)},t.prototype._initDOMHooks=function(){this.$on("hook:attached",s),this.$on("hook:detached",a)},t.prototype._callHook=function(e){this.$emit("pre-hook:"+e);var t=this.$options[e];if(t)for(var i=0,n=t.length;i<n;i++)t[i].call(this);this.$emit("hook:"+e)}}function yi(){}function bi(t,i,n,r,s,o){this.vm=i,this.el=n,this.descriptor=t,this.name=t.name,this.expression=t.expression,this.arg=t.arg,this.modifiers=t.modifiers,this.filters=t.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=r,this._scope=s,this._frag=o,"production"!==e.env.NODE_ENV&&this.el&&(this.el._vue_directives=this.el._vue_directives||[],this.el._vue_directives.push(this))}function _i(e){e.prototype._updateRef=function(e){var t=this.$options._ref;if(t){var i=(this._scope||this._context).$refs;e?i[t]===this&&(i[t]=null):i[t]=this}},e.prototype._compile=function(e){var t=this.$options,i=e;if(e=ui(e,t),this._initElement(e),1!==e.nodeType||null===U(e,"v-pre")){var n=this._context&&this._context.$options,r=Bt(e,t,n);fi(this,t._content);var s,o=this.constructor;t._linkerCachable&&(s=o.linker,s||(s=o.linker=Pt(e,t)));var a=r(this,e,this._scope),l=s?s(this,e):Pt(e,t)(this,e);this._unlinkFn=function(){a(),l(!0)},t.replace&&G(i,e),this._isCompiled=!0,this._callHook("compiled")}},e.prototype._initElement=function(e){ue(e)?(this._isFragment=!0,this.$el=this._fragmentStart=e.firstChild,this._fragmentEnd=e.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=e):this.$el=e,this.$el.__vue__=this,this._callHook("beforeCompile")},e.prototype._bindDir=function(e,t,i,n,r){this._directives.push(new bi(e,this,t,i,n,r))},e.prototype._destroy=function(e,t){if(this._isBeingDestroyed)return void(t||this._cleanup());var i,n,r=this,s=function(){!i||n||t||r._cleanup()};e&&this.$el&&(n=!0,this.$remove(function(){n=!1,s()})),this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var o,a=this.$parent;for(a&&!a._isBeingDestroyed&&(a.$children.$remove(this),this._updateRef(!0)),o=this.$children.length;o--;)this.$children[o].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),o=this._watchers.length;o--;)this._watchers[o].teardown();this.$el&&(this.$el.__vue__=null),i=!0,s()},e.prototype._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data&&this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}}function wi(t){t.prototype._applyFilters=function(e,t,i,n){var r,s,o,a,l,h,u,c,p;for(h=0,u=i.length;h<u;h++)if(r=i[n?u-h-1:h],s=_e(this.$options,"filters",r.name,!0),s&&(s=n?s.write:s.read||s,"function"==typeof s)){if(o=n?[e,t]:[e],l=n?2:1,r.args)for(c=0,p=r.args.length;c<p;c++)a=r.args[c],o[c+l]=a.dynamic?this.$get(a.value):a.value;e=s.apply(this,o)}return e},t.prototype._resolveComponent=function(i,n){var r;if(r="function"==typeof i?i:_e(this.$options,"components",i,!0))if(r.options)n(r);else if(r.resolved)n(r.resolved);else if(r.requested)r.pendingCallbacks.push(n);else{r.requested=!0;var s=r.pendingCallbacks=[n];r.call(this,function(e){_(e)&&(e=t.extend(e)),r.resolved=e;for(var i=0,n=s.length;i<n;i++)s[i](e)},function(t){"production"!==e.env.NODE_ENV&&Tn("Failed to resolve async component"+("string"==typeof i?": "+i:"")+". "+(t?"\nReason: "+t:""))})}}}function Ei(e){function t(e){return JSON.parse(JSON.stringify(e))}e.prototype.$get=function(e,t){var i=Ue(e);if(i){if(t){var n=this;return function(){n.$arguments=g(arguments);var e=i.get.call(n,n);return n.$arguments=null,e}}try{return i.get.call(this,this)}catch(r){}}},e.prototype.$set=function(e,t){var i=Ue(e,!0);i&&i.set&&i.set.call(this,this,t)},e.prototype.$delete=function(e){r(this._data,e)},e.prototype.$watch=function(e,t,i){var n,r=this;"string"==typeof e&&(n=O(e),e=n.expression);var s=new Je(r,e,t,{deep:i&&i.deep,sync:i&&i.sync,filters:n&&n.filters,user:!i||i.user!==!1});return i&&i.immediate&&t.call(r,s.value),function(){s.teardown()}},e.prototype.$eval=function(e,t){if(ro.test(e)){var i=O(e),n=this.$get(i.expression,t);return i.filters?this._applyFilters(n,null,i.filters):n}return this.$get(e,t)},e.prototype.$interpolate=function(e){var t=T(e),i=this;
90return t?1===t.length?i.$eval(t[0].value)+"":t.map(function(e){return e.tag?i.$eval(e.value):e.value}).join(""):e},e.prototype.$log=function(e){var i=e?Se(this._data,e):this._data;if(i&&(i=t(i)),!e){var n;for(n in this.$options.computed)i[n]=t(this[n]);if(this._props)for(n in this._props)i[n]=t(this[n])}console.log(i)}}function Ci(e){function t(e,t,n,r,s,o){t=i(t);var a=!V(t),l=r===!1||a?s:o,h=!a&&!e._isAttached&&!V(e.$el);return e._isFragment?(le(e._fragmentStart,e._fragmentEnd,function(i){l(i,t,e)}),n&&n()):l(e.$el,t,e,n),h&&e._callHook("attached"),e}function i(e){return"string"==typeof e?document.querySelector(e):e}function n(e,t,i,n){t.appendChild(e),n&&n()}function r(e,t,i,n){B(e,t),n&&n()}function s(e,t,i){Q(e),i&&i()}e.prototype.$nextTick=function(e){rn(e,this)},e.prototype.$appendTo=function(e,i,r){return t(this,e,i,r,n,j)},e.prototype.$prependTo=function(e,t,n){return e=i(e),e.hasChildNodes()?this.$before(e.firstChild,t,n):this.$appendTo(e,t,n),this},e.prototype.$before=function(e,i,n){return t(this,e,i,n,r,R)},e.prototype.$after=function(e,t,n){return e=i(e),e.nextSibling?this.$before(e.nextSibling,t,n):this.$appendTo(e.parentNode,t,n),this},e.prototype.$remove=function(e,t){if(!this.$el.parentNode)return e&&e();var i=this._isAttached&&V(this.$el);i||(t=!1);var n=this,r=function(){i&&n._callHook("detached"),e&&e()};if(this._isFragment)he(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var o=t===!1?s:I;o(this.$el,this,r)}return this}}function ki(e){function t(e,t,n){var r=e.$parent;if(r&&n&&!i.test(t))for(;r;)r._eventsCount[t]=(r._eventsCount[t]||0)+n,r=r.$parent}e.prototype.$on=function(e,i){return(this._events[e]||(this._events[e]=[])).push(i),t(this,e,1),this},e.prototype.$once=function(e,t){function i(){n.$off(e,i),t.apply(this,arguments)}var n=this;return i.fn=t,this.$on(e,i),this},e.prototype.$off=function(e,i){var n;if(!arguments.length){if(this.$parent)for(e in this._events)n=this._events[e],n&&t(this,e,-n.length);return this._events={},this}if(n=this._events[e],!n)return this;if(1===arguments.length)return t(this,e,-n.length),this._events[e]=null,this;for(var r,s=n.length;s--;)if(r=n[s],r===i||r.fn===i){t(this,e,-1),n.splice(s,1);break}return this},e.prototype.$emit=function(e){var t="string"==typeof e;e=t?e:e.name;var i=this._events[e],n=t||!i;if(i){i=i.length>1?g(i):i;var r=t&&i.some(function(e){return e._fromParent});r&&(n=!1);for(var s=g(arguments,1),o=0,a=i.length;o<a;o++){var l=i[o],h=l.apply(this,s);h!==!0||r&&!l._fromParent||(n=!0)}}return n},e.prototype.$broadcast=function(e){var t="string"==typeof e;if(e=t?e:e.name,this._eventsCount[e]){var i=this.$children,n=g(arguments);t&&(n[0]={name:e,source:this});for(var r=0,s=i.length;r<s;r++){var o=i[r],a=o.$emit.apply(o,n);a&&o.$broadcast.apply(o,n)}return this}},e.prototype.$dispatch=function(e){var t=this.$emit.apply(this,arguments);if(t){var i=this.$parent,n=g(arguments);for(n[0]={name:e,source:this};i;)t=i.$emit.apply(i,n),i=t?i.$parent:null;return this}};var i=/^hook:/}function xi(t){function i(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}t.prototype.$mount=function(t){return this._isCompiled?void("production"!==e.env.NODE_ENV&&Tn("$mount() should be called only once.",this)):(t=M(t),t||(t=document.createElement("div")),this._compile(t),this._initDOMHooks(),V(this.$el)?(this._callHook("attached"),i.call(this)):this.$once("hook:attached",i),this)},t.prototype.$destroy=function(e,t){this._destroy(e,t)},t.prototype.$compile=function(e,t,i,n){return Pt(e,this.$options,!0)(this,e,t,i,n)}}function Ni(e){this._init(e)}function Fi(e,t,i){return i=i?parseInt(i,10):0,t=h(t),"number"==typeof t?e.slice(i,i+t):e}function $i(e,t,i){if(e=lo(e),null==t)return e;if("function"==typeof t)return e.filter(t);t=(""+t).toLowerCase();for(var n,r,s,o,a="in"===i?3:2,l=Array.prototype.concat.apply([],g(arguments,a)),h=[],u=0,c=e.length;u<c;u++)if(n=e[u],s=n&&n.$value||n,o=l.length){for(;o--;)if(r=l[o],"$key"===r&&Ai(n.$key,t)||Ai(Se(s,r),t)){h.push(n);break}}else Ai(n,t)&&h.push(n);return h}function Oi(e){function t(e,t,i){var r=n[i];return r&&("$key"!==r&&(b(e)&&"$value"in e&&(e=e.$value),b(t)&&"$value"in t&&(t=t.$value)),e=b(e)?Se(e,r):e,t=b(t)?Se(t,r):t),e===t?0:e>t?s:-s}var i=null,n=void 0;e=lo(e);
90var r=g(arguments,1),s=r[r.length-1];"number"==typeof s?(s=s<0?-1:1,r=r.length>1?r.slice(0,-1):r):s=1;var o=r[0];return o?("function"==typeof o?i=function(e,t){return o(e,t)*s}:(n=Array.prototype.concat.apply([],r),i=function(e,r,s){return s=s||0,s>=n.length-1?t(e,r,s):t(e,r,s)||i(e,r,s+1)}),e.slice().sort(i)):e}function Ai(e,t){var i;if(_(e)){var n=Object.keys(e);for(i=n.length;i--;)if(Ai(e[n[i]],t))return!0}else if(Pi(e)){for(i=e.length;i--;)if(Ai(e[i],t))return!0}else if(null!=e)return e.toString().toLowerCase().indexOf(t)>-1}function Di(t){function i(e){return new Function("return function "+v(e)+" (options) { this._init(options) }")()}t.options={directives:$s,elementDirectives:ao,filters:uo,transitions:{},components:{},partials:{},replace:!0},t.util=qn,t.config=Dn,t.set=n,t["delete"]=r,t.nextTick=rn,t.compiler=io,t.FragmentFactory=lt,t.internalDirectives=Qs,t.parsers={path:ur,text:$n,template:Vr,directive:En,expression:kr},t.cid=0;var s=1;t.extend=function(t){t=t||{};var n=this,r=0===n.cid;if(r&&t._Ctor)return t._Ctor;var o=t.name||n.options.name;
90"production"!==e.env.NODE_ENV&&(/^[a-zA-Z][\w-]*$/.test(o)||(Tn('Invalid component name: "'+o+'". Component names can only contain alphanumeric characaters and the hyphen.'),o=null));var a=i(o||"VueComponent");return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=s++,a.options=be(n.options,t),a["super"]=n,a.extend=n.extend,Dn._assetTypes.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),r&&(t._Ctor=a),a},t.use=function(e){if(!e.installed){var t=g(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):e.apply(null,t),e.installed=!0,this}},t.mixin=function(e){t.options=be(t.options,e)},Dn._assetTypes.forEach(function(i){t[i]=function(n,r){return r?("production"!==e.env.NODE_ENV&&"component"===i&&(jn.test(n)||Rn.test(n))&&Tn("Do not use built-in or reserved HTML elements as component id: "+n),"component"===i&&_(r)&&(r.name||(r.name=n),r=t.extend(r)),this.options[i+"s"][n]=r,r):this.options[i+"s"][n]}}),y(t.transition,zn)}var Ti=Object.prototype.hasOwnProperty,Si=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,zi=/-(\w)/g,Li=/([a-z\d])([A-Z])/g,ji=/(?:^|[-_\/])(\w)/g,Ri=Object.prototype.toString,Ii="[object Object]",Pi=Array.isArray,Mi="__proto__"in{},Vi="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Ui=Vi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Hi=Vi&&window.navigator.userAgent.toLowerCase(),Wi=Hi&&Hi.indexOf("trident")>0,Bi=Hi&&Hi.indexOf("msie 9.0")>0,qi=Hi&&Hi.indexOf("android")>0,Qi=Hi&&/(iphone|ipad|ipod|ios)/i.test(Hi),Ji=Qi&&Hi.match(/os ([\d_]+)/),Gi=Ji&&Ji[1].split("_"),Yi=Gi&&Number(Gi[0])>=9&&Number(Gi[1])>=3&&!window.indexedDB,Xi=void 0,Zi=void 0,Ki=void 0,en=void 0;if(Vi&&!Bi){var tn=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,nn=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;Xi=tn?"WebkitTransition":"transition",Zi=tn?"webkitTransitionEnd":"transitionend",Ki=nn?"WebkitAnimation":"animation",en=nn?"webkitAnimationEnd":"animationend"}var rn=function(){function e(){r=!1;var e=n.slice(0);n=[];for(var t=0;t<e.length;t++)e[t]()}var t,n=[],r=!1;if("undefined"==typeof MutationObserver||Yi){var s=Vi?window:"undefined"!=typeof i?i:{};t=s.setImmediate||setTimeout}else{var o=1,a=new MutationObserver(e),l=document.createTextNode(o);a.observe(l,{characterData:!0}),t=function(){o=(o+1)%2,l.data=o}}return function(i,s){var o=s?function(){i.call(s)}:i;n.push(o),r||(r=!0,t(e,0))}}(),sn=void 0;"undefined"!=typeof Set&&Set.toString().match(/native code/)?sn=Set:(sn=function(){this.set=Object.create(null)},sn.prototype.has=function(e){return void 0!==this.set[e]},sn.prototype.add=function(e){this.set[e]=1},sn.prototype.clear=function(){this.set=Object.create(null)});var on=N.prototype;on.put=function(e,t){var i,n=this.get(e,!0);return n||(this.size===this.limit&&(i=this.shift()),n={key:e},this._keymap[e]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size++),n.value=t,i},on.shift=function(){var e=this.head;return e&&(this.head=this.head.newer,this.head.older=void 0,e.newer=e.older=void 0,this._keymap[e.key]=void 0,this.size--),e},on.get=function(e,t){var i=this._keymap[e];if(void 0!==i)return i===this.tail?t?i:i.value:(i.newer&&(i===this.head&&(this.head=i.newer),i.newer.older=i.older),i.older&&(i.older.newer=i.newer),i.newer=void 0,i.older=this.tail,this.tail&&(this.tail.newer=i),this.tail=i,t?i:i.value)};var an,ln,hn,un,cn,pn,dn,fn,vn,mn,gn,yn,bn=new N(1e3),_n=/[^\s'"]+|'[^']*'|"[^"]*"/g,wn=/^in$|^-?\d+/,En=Object.freeze({parseDirective:O}),Cn=/[-.*+?^${}()|[\]\/\\]/g,kn=void 0,xn=void 0,Nn=void 0,Fn=/[^|]\|[^|]/,$n=Object.freeze({compileRegex:D,parseText:T,tokensToExp:S}),On=["{{","}}"],An=["{{{","}}}"],Dn=Object.defineProperties({debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,devtools:"production"!==e.env.NODE_ENV,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100},{delimiters:{get:function(){return On},set:function(e){On=e,D()},configurable:!0,enumerable:!0},unsafeDelimiters:{get:function(){return An},set:function(e){An=e,D()},configurable:!0,enumerable:!0}}),Tn=void 0,Sn=void 0;"production"!==e.env.NODE_ENV&&!function(){var e="undefined"!=typeof console;Tn=function(t,i){e&&!Dn.silent&&console.error("[Vue warn]: "+t+(i?Sn(i):""))},Sn=function(e){var t=e._isVue?e.$options.name:e.name;return t?" (found in component: <"+f(t)+">)":""}}();var zn=Object.freeze({appendWithTransition:j,beforeWithTransition:R,removeWithTransition:I,applyTransition:P}),Ln=/^v-ref:/,jn=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/i,Rn=/^(slot|partial|component)$/i,In=void 0;"production"!==e.env.NODE_ENV&&(In=function(e,t){return t.indexOf("-")>-1?e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:/HTMLUnknownElement/.test(e.toString())&&!/^(data|time|rtc|rb|details|dialog|summary)$/.test(t)});var Pn=Dn.optionMergeStrategies=Object.create(null);Pn.data=function(t,i,n){return n?t||i?function(){var e="function"==typeof i?i.call(n):i,r="function"==typeof t?t.call(n):void 0;return e?fe(e,r):r}:void 0:i?"function"!=typeof i?("production"!==e.env.NODE_ENV&&Tn('The "data" option should be a function that returns a per-instance value in component definitions.',n),t):t?function(){return fe(i.call(this),t.call(this))}:i:t},Pn.el=function(t,i,n){if(!n&&i&&"function"!=typeof i)return void("production"!==e.env.NODE_ENV&&Tn('The "el" option should be a function that returns a per-instance value in component definitions.',n));var r=i||t;return n&&"function"==typeof r?r.call(n):r},Pn.init=Pn.created=Pn.ready=Pn.attached=Pn.detached=Pn.beforeCompile=Pn.compiled=Pn.beforeDestroy=Pn.destroyed=Pn.activate=function(e,t){return t?e?e.concat(t):Pi(t)?t:[t]:e}
90,Dn._assetTypes.forEach(function(e){Pn[e+"s"]=ve}),Pn.watch=Pn.events=function(e,t){if(!t)return e;if(!e)return t;var i={};y(i,e);for(var n in t){var r=i[n],s=t[n];r&&!Pi(r)&&(r=[r]),i[n]=r?r.concat(s):[s]}return i},Pn.props=Pn.methods=Pn.computed=function(e,t){if(!t)return e;if(!e)return t;var i=Object.create(null);return y(i,e),y(i,t),i};var Mn=function(e,t){return void 0===t?e:t},Vn=0;we.target=null,we.prototype.addSub=function(e){this.subs.push(e)},we.prototype.removeSub=function(e){this.subs.$remove(e)},we.prototype.depend=function(){we.target.addDep(this)},we.prototype.notify=function(){for(var e=g(this.subs),t=0,i=e.length;t<i;t++)e[t].update()};var Un=Array.prototype,Hn=Object.create(Un);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Un[e];w(Hn,e,function(){for(var i=arguments.length,n=new Array(i);i--;)n[i]=arguments[i];var r,s=t.apply(this,n),o=this.__ob__;switch(e){case"push":r=n;break;case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&o.observeArray(r),o.dep.notify(),s})}),w(Un,"$set",function(e,t){return e>=this.length&&(this.length=Number(e)+1),this.splice(e,1,t)[0]}),w(Un,"$remove",function(e){if(this.length){var t=C(this,e);return t>-1?this.splice(t,1):void 0}});var Wn=Object.getOwnPropertyNames(Hn),Bn=!0;Ce.prototype.walk=function(e){for(var t=Object.keys(e),i=0,n=t.length;i<n;i++)this.convert(t[i],e[t[i]])},Ce.prototype.observeArray=function(e){for(var t=0,i=e.length;t<i;t++)Ne(e[t])},Ce.prototype.convert=function(e,t){Fe(this.value,e,t)},Ce.prototype.addVm=function(e){(this.vms||(this.vms=[])).push(e)},Ce.prototype.removeVm=function(e){this.vms.$remove(e)};var qn=Object.freeze({defineReactive:Fe,set:n,del:r,hasOwn:s,isLiteral:o,isReserved:a,_toString:l,toNumber:h,toBoolean:u,stripQuotes:c,camelize:p,hyphenate:f,classify:v,bind:m,toArray:g,extend:y,isObject:b,isPlainObject:_,def:w,debounce:E,indexOf:C,cancellable:k,looseEqual:x,isArray:Pi,hasProto:Mi,inBrowser:Vi,devtools:Ui,isIE:Wi,isIE9:Bi,isAndroid:qi,isIos:Qi,iosVersionMatch:Ji,iosVersion:Gi,hasMutationObserverBug:Yi,get transitionProp(){return Xi},get transitionEndEvent(){return Zi},get animationProp(){return Ki},get animationEndEvent(){return en},nextTick:rn,get _Set(){return sn},query:M,inDoc:V,getAttr:U,getBindAttr:H,hasBindAttr:W,before:B,after:q,remove:Q,prepend:J,replace:G,on:Y,off:X,setClass:K,addClass:ee,removeClass:te,extractContent:ie,trimNode:ne,isTemplate:se,createAnchor:oe,findRef:ae,mapNodeRange:le,removeNodeRange:he,isFragment:ue,getOuterHTML:ce,mergeOptions:be,resolveAsset:_e,checkComponentAttr:pe,commonTagRE:jn,reservedTagRE:Rn,get warn(){return Tn}}),Qn=0,Jn=new N(1e3),Gn=0,Yn=1,Xn=2,Zn=3,Kn=0,er=1,tr=2,ir=3,nr=4,rr=5,sr=6,or=7,ar=8,lr=[];lr[Kn]={ws:[Kn],ident:[ir,Gn],"[":[nr],eof:[or]},lr[er]={ws:[er],".":[tr],"[":[nr],eof:[or]},lr[tr]={ws:[tr],ident:[ir,Gn]},lr[ir]={ident:[ir,Gn],0:[ir,Gn],number:[ir,Gn],ws:[er,Yn],".":[tr,Yn],"[":[nr,Yn],eof:[or,Yn]},lr[nr]={"'":[rr,Gn],'"':[sr,Gn],"[":[nr,Xn],"]":[er,Zn],eof:ar,"else":[nr,Gn]},lr[rr]={"'":[nr,Gn],eof:ar,"else":[rr,Gn]},lr[sr]={'"':[nr,Gn],eof:ar,"else":[sr,Gn]};var hr;"production"!==e.env.NODE_ENV&&(hr=function(e,t){Tn('You are setting a non-existent path "'+e.raw+'" on a vm instance. Consider pre-initializing the property with the "data" option for more reliable reactivity and better performance.',t)});var ur=Object.freeze({parsePath:Te,getPath:Se,setPath:ze}),cr=new N(1e3),pr="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",dr=new RegExp("^("+pr.replace(/,/g,"\\b|")+"\\b)"),fr="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,protected,static,interface,private,public",vr=new RegExp("^("+fr.replace(/,/g,"\\b|")+"\\b)"),mr=/\s/g,gr=/\n/g,yr=/[\{,]\s*[\w\$_]+\s*:|('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`)|new |typeof |void /g,br=/"(\d+)"/g,_r=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,wr=/[^\w$\.](?:[A-Za-z_$][\w$]*)/g,Er=/^(?:true|false|null|undefined|Infinity|NaN)$/,Cr=[],kr=Object.freeze({parseExpression:Ue,isSimplePath:He}),xr=[],Nr=[],Fr={},$r={},Or=!1,Ar=0;Je.prototype.get=function(){this.beforeGet();var t,i=this.scope||this.vm;try{t=this.getter.call(i,i)}catch(n){"production"!==e.env.NODE_ENV&&Dn.warnExpressionErrors&&Tn('Error when evaluating expression "'+this.expression+'": '+n.toString(),this.vm)}return this.deep&&Ge(t),this.preProcess&&(t=this.preProcess(t)),this.filters&&(t=i._applyFilters(t,null,this.filters,!1)),this.postProcess&&(t=this.postProcess(t)),this.afterGet(),t},Je.prototype.set=function(t){var i=this.scope||this.vm;this.filters&&(t=i._applyFilters(t,this.value,this.filters,!0));try{this.setter.call(i,i,t)}catch(n){"production"!==e.env.NODE_ENV&&Dn.warnExpressionErrors&&Tn('Error when evaluating setter "'+this.expression+'": '+n.toString(),this.vm)}var r=i.$forContext;if(r&&r.alias===this.expression){if(r.filters)return void("production"!==e.env.NODE_ENV&&Tn("It seems you are using two-way binding on a v-for alias ("+this.expression+"), and the v-for has filters. This will not work properly. Either remove the filters or use an array of objects and bind to object properties instead.",this.vm));r._withLock(function(){i.$key?r.rawValue[i.$key]=t:r.rawValue.$set(i.$index,t)})}},Je.prototype.beforeGet=function(){we.target=this},Je.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Je.prototype.afterGet=function(){we.target=null;for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var i=this.depIds;this.depIds=this.newDepIds,this.newDepIds=i,this.newDepIds.clear(),i=this.deps,this.deps=this.newDeps,this.newDeps=i,this.newDeps.length=0},Je.prototype.update=function(t){this.lazy?this.dirty=!0:this.sync||!Dn.async?this.run():(this.shallow=this.queued?!!t&&this.shallow:!!t,this.queued=!0,"production"!==e.env.NODE_ENV&&Dn.debug&&(this.prevError=new Error("[vue] async stack trace")),Qe(this))},Je.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||(b(t)||this.deep)&&!this.shallow){var i=this.value;this.value=t;var n=this.prevError;if("production"!==e.env.NODE_ENV&&Dn.debug&&n){this.prevError=null;try{this.cb.call(this.vm,t,i)}catch(r){throw rn(function(){throw n},0),r}}else this.cb.call(this.vm,t,i)}this.queued=this.shallow=!1}},Je.prototype.evaluate=function(){var e=we.target;this.value=this.get(),this.dirty=!1,we.target=e}
90,Je.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Je.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||this.vm._watchers.$remove(this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}};var Dr=new sn,Tr={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(e){this.el[this.attr]=l(e)}},Sr=new N(1e3),zr=new N(1e3),Lr={efault:[0,"",""],legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]};Lr.td=Lr.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],Lr.option=Lr.optgroup=[1,'<select multiple="multiple">',"</select>"],Lr.thead=Lr.tbody=Lr.colgroup=Lr.caption=Lr.tfoot=[1,"<table>","</table>"],Lr.g=Lr.defs=Lr.symbol=Lr.use=Lr.image=Lr.text=Lr.circle=Lr.ellipse=Lr.line=Lr.path=Lr.polygon=Lr.polyline=Lr.rect=[1,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"version="1.1">',"</svg>"];var jr=/<([\w:-]+)/,Rr=/&#?\w+?;/,Ir=/<!--/,Pr=function(){if(Vi){var e=document.createElement("div");return e.innerHTML="<template>1</template>",!e.cloneNode(!0).firstChild.innerHTML}return!1}(),Mr=function(){if(Vi){var e=document.createElement("textarea");return e.placeholder="t","t"===e.cloneNode(!0).value}return!1}(),Vr=Object.freeze({cloneNode:Ke,parseTemplate:et}),Ur={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=oe("v-html"),G(this.el,this.anchor))},update:function(e){e=l(e),this.nodes?this.swap(e):this.el.innerHTML=e},swap:function(e){for(var t=this.nodes.length;t--;)Q(this.nodes[t]);var i=et(e,!0,!0);this.nodes=g(i.childNodes),B(i,this.anchor)}};tt.prototype.callHook=function(e){var t,i;for(t=0,i=this.childFrags.length;t<i;t++)this.childFrags[t].callHook(e);for(t=0,i=this.children.length;t<i;t++)e(this.children[t])},tt.prototype.beforeRemove=function(){var e,t;for(e=0,t=this.childFrags.length;e<t;e++)this.childFrags[e].beforeRemove(!1);for(e=0,t=this.children.length;e<t;e++)this.children[e].$destroy(!1,!0);var i=this.unlink.dirs;for(e=0,t=i.length;e<t;e++)i[e]._watcher&&i[e]._watcher.teardown()},tt.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.node.__v_frag=null,this.unlink()};var Hr=new N(5e3);lt.prototype.create=function(e,t,i){var n=Ke(this.template);return new tt(this.linker,this.vm,n,e,t,i)};var Wr=700,Br=800,qr=850,Qr=1100,Jr=1500,Gr=1500,Yr=1750,Xr=2100,Zr=2200,Kr=2300,es=0,ts={priority:Zr,terminal:!0,params:["track-by","stagger","enter-stagger","leave-stagger"],bind:function(){var t=this.expression.match(/(.*) (?:in|of) (.*)/);if(t){var i=t[1].match(/\((.*),(.*)\)/);i?(this.iterator=i[1].trim(),this.alias=i[2].trim()):this.alias=t[1].trim(),this.expression=t[2]}if(!this.alias)return void("production"!==e.env.NODE_ENV&&Tn('Invalid v-for expression "'+this.descriptor.raw+'": alias is required.',this.vm));this.id="__v-for__"+ ++es;var n=this.el.tagName;this.isOption=("OPTION"===n||"OPTGROUP"===n)&&"SELECT"===this.el.parentNode.tagName,this.start=oe("v-for-start"),this.end=oe("v-for-end"),G(this.el,this.end),B(this.start,this.end),this.cache=Object.create(null),this.factory=new lt(this.vm,this.el)},update:function(e){this.diff(e),this.updateRef(),this.updateModel()},diff:function(e){var t,i,n,r,o,a,l=e[0],h=this.fromObject=b(l)&&s(l,"$key")&&s(l,"$value"),u=this.params.trackBy,c=this.frags,p=this.frags=new Array(e.length),d=this.alias,f=this.iterator,v=this.start,m=this.end,g=V(v),y=!c;for(t=0,i=e.length;t<i;t++)l=e[t],r=h?l.$key:null,o=h?l.$value:l,a=!b(o),n=!y&&this.getCachedFrag(o,t,r),n?(n.reused=!0,n.scope.$index=t,r&&(n.scope.$key=r),f&&(n.scope[f]=null!==r?r:t),(u||h||a)&&Ee(function(){n.scope[d]=o})):(n=this.create(o,d,t,r),n.fresh=!y),p[t]=n,y&&n.before(m);if(!y){var _=0,w=c.length-p.length;for(this.vm._vForRemoving=!0,t=0,i=c.length;t<i;
90t++)n=c[t],n.reused||(this.deleteCachedFrag(n),this.remove(n,_++,w,g));this.vm._vForRemoving=!1,_&&(this.vm._watchers=this.vm._watchers.filter(function(e){return e.active}));var E,C,k,x=0;for(t=0,i=p.length;t<i;t++)n=p[t],E=p[t-1],C=E?E.staggerCb?E.staggerAnchor:E.end||E.node:v,n.reused&&!n.staggerCb?(k=ht(n,v,this.id),k===E||k&&ht(k,v,this.id)===E||this.move(n,C)):this.insert(n,x++,C,g),n.reused=n.fresh=!1}},create:function(e,t,i,n){var r=this._host,s=this._scope||this.vm,o=Object.create(s);o.$refs=Object.create(s.$refs),o.$els=Object.create(s.$els),o.$parent=s,o.$forContext=this,Ee(function(){Fe(o,t,e)}),Fe(o,"$index",i),n?Fe(o,"$key",n):o.$key&&w(o,"$key",null),this.iterator&&Fe(o,this.iterator,null!==n?n:i);var a=this.factory.create(r,o,this._frag);return a.forId=this.id,this.cacheFrag(e,a,i,n),a},updateRef:function(){var e=this.descriptor.ref;if(e){var t,i=(this._scope||this.vm).$refs;this.fromObject?(t={},this.frags.forEach(function(e){t[e.scope.$key]=ut(e)})):t=this.frags.map(ut),i[e]=t}},updateModel:function(){if(this.isOption){var e=this.start.parentNode,t=e&&e.__v_model;t&&t.forceUpdate()}},insert:function(e,t,i,n){e.staggerCb&&(e.staggerCb.cancel(),e.staggerCb=null);var r=this.getStagger(e,t,null,"enter");if(n&&r){var s=e.staggerAnchor;s||(s=e.staggerAnchor=oe("stagger-anchor"),s.__v_frag=e),q(s,i);var o=e.staggerCb=k(function(){e.staggerCb=null,e.before(s),Q(s)});setTimeout(o,r)}else{var a=i.nextSibling;a||(q(this.end,i),a=this.end),e.before(a)}},remove:function(e,t,i,n){if(e.staggerCb)return e.staggerCb.cancel(),void(e.staggerCb=null);var r=this.getStagger(e,t,i,"leave");if(n&&r){var s=e.staggerCb=k(function(){e.staggerCb=null,e.remove()});setTimeout(s,r)}else e.remove()},move:function(e,t){t.nextSibling||this.end.parentNode.appendChild(this.end),e.before(t.nextSibling,!1)},cacheFrag:function(t,i,n,r){var o,a=this.params.trackBy,l=this.cache,h=!b(t);r||a||h?(o=pt(n,r,t,a),l[o]?"$index"!==a&&"production"!==e.env.NODE_ENV&&this.warnDuplicate(t):l[o]=i):(o=this.id,s(t,o)?null===t[o]?t[o]=i:"production"!==e.env.NODE_ENV&&this.warnDuplicate(t):Object.isExtensible(t)?w(t,o,i):"production"!==e.env.NODE_ENV&&Tn("Frozen v-for objects cannot be automatically tracked, make sure to provide a track-by key.")),i.raw=t},getCachedFrag:function(t,i,n){var r,s=this.params.trackBy,o=!b(t);if(n||s||o){var a=pt(i,n,t,s);r=this.cache[a]}else r=t[this.id];return r&&(r.reused||r.fresh)&&"production"!==e.env.NODE_ENV&&this.warnDuplicate(t),r},deleteCachedFrag:function(e){var t=e.raw,i=this.params.trackBy,n=e.scope,r=n.$index,o=s(n,"$key")&&n.$key,a=!b(t);if(i||o||a){var l=pt(r,o,t,i);this.cache[l]=null}else t[this.id]=null,e.raw=null},getStagger:function(e,t,i,n){n+="Stagger";var r=e.node.__v_trans,s=r&&r.hooks,o=s&&(s[n]||s.stagger);return o?o.call(e,t,i):t*parseInt(this.params[n]||this.params.stagger,10)},_preProcess:function(e){return this.rawValue=e,e},_postProcess:function(e){if(Pi(e))return e;if(_(e)){for(var t,i=Object.keys(e),n=i.length,r=new Array(n);n--;)t=i[n],r[n]={$key:t,$value:e[t]};return r}return"number"!=typeof e||isNaN(e)||(e=ct(e)),e||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var e,t=this.frags.length;t--;)e=this.frags[t],this.deleteCachedFrag(e),e.destroy()}};"production"!==e.env.NODE_ENV&&(ts.warnDuplicate=function(e){Tn('Duplicate value found in v-for="'+this.descriptor.raw+'": '+JSON.stringify(e)+'. Use track-by="$index" if you are expecting duplicate values.',this.vm)});var is={priority:Xr,terminal:!0,bind:function(){var t=this.el;if(t.__vue__)"production"!==e.env.NODE_ENV&&Tn('v-if="'+this.expression+'" cannot be used on an instance root element.',this.vm),this.invalid=!0;else{var i=t.nextElementSibling;i&&null!==U(i,"v-else")&&(Q(i),this.elseEl=i),this.anchor=oe("v-if"),G(t,this.anchor)}},update:function(e){this.invalid||(e?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.factory||(this.factory=new lt(this.vm,this.el)),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseEl&&!this.elseFrag&&(this.elseFactory||(this.elseFactory=new lt(this.elseEl._context||this.vm,this.elseEl)),this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy(),this.elseFrag&&this.elseFrag.destroy()}},ns={bind:function(){var e=this.el.nextElementSibling;e&&null!==U(e,"v-else")&&(this.elseEl=e)},update:function(e){this.apply(this.el,e),this.elseEl&&this.apply(this.elseEl,!e)},apply:function(e,t){function i(){e.style.display=t?"":"none"}V(e)?P(e,t?1:-1,i,this.vm):i()}},rs={bind:function(){var e=this,t=this.el,i="range"===t.type,n=this.params.lazy,r=this.params.number,s=this.params.debounce,o=!1;if(qi||i||(this.on("compositionstart",function(){o=!0}),this.on("compositionend",function(){o=!1,n||e.listener()})),this.focused=!1,i||n||(this.on("focus",function(){e.focused=!0}
90),this.on("blur",function(){e.focused=!1,e._frag&&!e._frag.inserted||e.rawListener()})),this.listener=this.rawListener=function(){if(!o&&e._bound){var n=r||i?h(t.value):t.value;e.set(n),rn(function(){e._bound&&!e.focused&&e.update(e._watcher.value)})}},s&&(this.listener=E(this.listener,s)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery){var a=jQuery.fn.on?"on":"bind";jQuery(t)[a]("change",this.rawListener),n||jQuery(t)[a]("input",this.listener)}else this.on("change",this.rawListener),n||this.on("input",this.listener);!n&&Bi&&(this.on("cut",function(){rn(e.listener)}),this.on("keyup",function(t){46!==t.keyCode&&8!==t.keyCode||e.listener()})),(t.hasAttribute("value")||"TEXTAREA"===t.tagName&&t.value.trim())&&(this.afterBind=this.listener)},update:function(e){e=l(e),e!==this.el.value&&(this.el.value=e)},unbind:function(){var e=this.el;if(this.hasjQuery){var t=jQuery.fn.off?"off":"unbind";jQuery(e)[t]("change",this.listener),jQuery(e)[t]("input",this.listener)}}},ss={bind:function(){var e=this,t=this.el;this.getValue=function(){if(t.hasOwnProperty("_value"))return t._value;var i=t.value;return e.params.number&&(i=h(i)),i},this.listener=function(){e.set(e.getValue())},this.on("change",this.listener),t.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(e){this.el.checked=x(e,this.getValue())}},os={bind:function(){var e=this,t=this,i=this.el;this.forceUpdate=function(){t._watcher&&t.update(t._watcher.get())};var n=this.multiple=i.hasAttribute("multiple");this.listener=function(){var e=dt(i,n);e=t.params.number?Pi(e)?e.map(h):h(e):e,t.set(e)},this.on("change",this.listener);var r=dt(i,n,!0);(n&&r.length||!n&&null!==r)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",function(){rn(e.forceUpdate)}),V(i)||rn(this.forceUpdate)},update:function(e){var t=this.el;t.selectedIndex=-1;for(var i,n,r=this.multiple&&Pi(e),s=t.options,o=s.length;o--;)i=s[o],n=i.hasOwnProperty("_value")?i._value:i.value,i.selected=r?ft(e,n)>-1:x(e,n)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}},as={bind:function(){function e(){var e=i.checked;return e&&i.hasOwnProperty("_trueValue")?i._trueValue:!e&&i.hasOwnProperty("_falseValue")?i._falseValue:e}var t=this,i=this.el;this.getValue=function(){return i.hasOwnProperty("_value")?i._value:t.params.number?h(i.value):i.value},this.listener=function(){var n=t._watcher.value;if(Pi(n)){var r=t.getValue();i.checked?C(n,r)<0&&n.push(r):n.$remove(r)}else t.set(e())},this.on("change",this.listener),i.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(e){var t=this.el;Pi(e)?t.checked=C(e,this.getValue())>-1:t.hasOwnProperty("_trueValue")?t.checked=x(e,t._trueValue):t.checked=!!e}},ls={text:rs,radio:ss,select:os,checkbox:as},hs={priority:Br,twoWay:!0,handlers:ls,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite&&"production"!==e.env.NODE_ENV&&Tn('It seems you are using a read-only filter with v-model="'+this.descriptor.raw+'". You might want to use a two-way filter to ensure correct behavior.',this.vm);var t,i=this.el,n=i.tagName;if("INPUT"===n)t=ls[i.type]||ls.text;else if("SELECT"===n)t=ls.select;else{if("TEXTAREA"!==n)return void("production"!==e.env.NODE_ENV&&Tn("v-model does not support element type: "+n,this.vm));t=ls.text}i.__v_model=this,t.bind.call(this),this.update=t.update,this._unbind=t.unbind},checkFilters:function(){var e=this.filters;if(e)for(var t=e.length;t--;){var i=_e(this.vm.$options,"filters",e[t].name);("function"==typeof i||i.read)&&(this.hasRead=!0),i.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}},us={esc:27,tab:9,enter:13,space:32,"delete":[8,46],up:38,left:37,right:39,down:40},cs={priority:Wr,acceptStatement:!0,keyCodes:us,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var e=this;this.iframeBind=function(){Y(e.el.contentWindow,e.arg,e.handler,e.modifiers.capture)},this.on("load",this.iframeBind)}},update:function(t){if(this.descriptor.raw||(t=function(){}),"function"!=typeof t)return void("production"!==e.env.NODE_ENV&&Tn("v-on:"+this.arg+'="'+this.expression+'" expects a function value, got '+t,this.vm));this.modifiers.stop&&(t=mt(t)),this.modifiers.prevent&&(t=gt(t)),this.modifiers.self&&(t=yt(t));var i=Object.keys(this.modifiers).filter(function(e){return"stop"!==e&&"prevent"!==e&&"self"!==e&&"capture"!==e});i.length&&(t=vt(t,i)),this.reset(),this.handler=t,this.iframeBind?this.iframeBind():Y(this.el,this.arg,this.handler,this.modifiers.capture)},reset:function(){var e=this.iframeBind?this.el.contentWindow:this.el;this.handler&&X(e,this.arg,this.handler)},unbind:function(){this.reset()}},ps=["-webkit-","-moz-","-ms-"],ds=["Webkit","Moz","ms"],fs=/!important;?$/,vs=Object.create(null),ms=null,gs={deep:!0,update:function(e){"string"==typeof e?this.el.style.cssText=e:Pi(e)?this.handleObject(e.reduce(y,{})):this.handleObject(e||{})},handleObject:function(e){var t,i,n=this.cache||(this.cache={});for(t in n)t in e||(this.handleSingle(t,null),delete n[t]);for(t in e)i=e[t],i!==n[t]&&(n[t]=i,this.handleSingle(t,i))},handleSingle:function(t,i){if(t=bt(t))if(null!=i&&(i+=""),i){var n=fs.test(i)?"important":"";n?("production"!==e.env.NODE_ENV&&Tn("It's probably a bad idea to use !important with inline rules. This feature will be deprecated
90in a future version of Vue."),i=i.replace(fs,"").trim(),this.el.style.setProperty(t.kebab,i,n)):this.el.style[t.camel]=i}else this.el.style[t.camel]=""}},ys="http://www.w3.org/1999/xlink",bs=/^xlink:/,_s=/^v-|^:|^@|^(?:is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/,ws=/^(?:value|checked|selected|muted)$/,Es=/^(?:draggable|contenteditable|spellcheck)$/,Cs={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},ks={priority:qr,bind:function(){var t=this.arg,i=this.el.tagName;t||(this.deep=!0);var n=this.descriptor,r=n.interp;if(r&&(n.hasOneTime&&(this.expression=S(r,this._scope||this.vm)),(_s.test(t)||"name"===t&&("PARTIAL"===i||"SLOT"===i))&&("production"!==e.env.NODE_ENV&&Tn(t+'="'+n.raw+'": attribute interpolation is not allowed in Vue.js directives and special attributes.',this.vm),this.el.removeAttribute(t),this.invalid=!0),"production"!==e.env.NODE_ENV)){var s=t+'="'+n.raw+'": ';"src"===t&&Tn(s+'interpolation in "src" attribute will cause a 404 request. Use v-bind:src instead.',this.vm),"style"===t&&Tn(s+'interpolation in "style" attribute will cause the attribute to be discarded in Internet Explorer. Use v-bind:style instead.',this.vm)}},update:function(e){if(!this.invalid){var t=this.arg;this.arg?this.handleSingle(t,e):this.handleObject(e||{})}},handleObject:gs.handleObject,handleSingle:function(e,t){var i=this.el,n=this.descriptor.interp;if(this.modifiers.camel&&(e=p(e)),!n&&ws.test(e)&&e in i){var r="value"===e&&null==t?"":t;i[e]!==r&&(i[e]=r)}var s=Cs[e];if(!n&&s){i[s]=t;var o=i.__v_model;o&&o.listener()}return"value"===e&&"TEXTAREA"===i.tagName?void i.removeAttribute(e):void(Es.test(e)?i.setAttribute(e,t?"true":"false"):null!=t&&t!==!1?"class"===e?(i.__v_trans&&(t+=" "+i.__v_trans.id+"-transition"),K(i,t)):bs.test(e)?i.setAttributeNS(ys,e,t===!0?"":t):i.setAttribute(e,t===!0?"":t):i.removeAttribute(e))}},xs={priority:Jr,bind:function(){if(this.arg){var e=this.id=p(this.arg),t=(this._scope||this.vm).$els;s(t,e)?t[e]=this.el:Fe(t,e,this.el)}},unbind:function(){var e=(this._scope||this.vm).$els;e[this.id]===this.el&&(e[this.id]=null)}},Ns={bind:function(){"production"!==e.env.NODE_ENV&&Tn("v-ref:"+this.arg+" must be used on a child component. Found on <"+this.el.tagName.toLowerCase()+">.",this.vm)}},Fs={bind:function(){var e=this.el;this.vm.$once("pre-hook:compiled",function(){e.removeAttribute("v-cloak")})}},$s={text:Tr,html:Ur,"for":ts,"if":is,show:ns,model:hs,on:cs,bind:ks,el:xs,ref:Ns,cloak:Fs},Os={deep:!0,update:function(e){e?"string"==typeof e?this.setClass(e.trim().split(/\s+/)):this.setClass(wt(e)):this.cleanup()},setClass:function(e){this.cleanup(e);for(var t=0,i=e.length;t<i;t++){var n=e[t];n&&Et(this.el,n,ee)}this.prevKeys=e},cleanup:function(e){var t=this.prevKeys;if(t)for(var i=t.length;i--;){var n=t[i];(!e||e.indexOf(n)<0)&&Et(this.el,n,te)}}},As={priority:Gr,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__?"production"!==e.env.NODE_ENV&&Tn('cannot mount component "'+this.expression+'" on already mounted element: '+this.el):(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=ie(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=oe("v-component"),G(this.el,this.anchor),this.el.removeAttribute("is"),this.el.removeAttribute(":is"),this.descriptor.ref&&this.el.removeAttribute("v-ref:"+f(this.descriptor.ref)),this.literal&&this.setComponent(this.expression))},update:function(e){this.literal||this.setComponent(e)},setComponent:function(e,t){if(this.invalidatePending(),e){var i=this;this.resolveComponent(e,function(){i.mountComponent(t)})}else this.unbuild(!0),this.remove(this.childVM,t),this.childVM=null},resolveComponent:function(e,t){var i=this;this.pendingComponentCb=k(function(n){i.ComponentName=n.options.name||("string"==typeof e?e:null),i.Component=n,t()}),this.vm._resolveComponent(e,this.pendingComponentCb)},mountComponent:function(e){this.unbuild(!0);var t=this,i=this.Component.options.activate,n=this.getCached(),r=this.build();i&&!n?(this.waitingFor=r,Ct(i,r,function(){t.waitingFor===r&&(t.waitingFor=null,t.transition(r,e))})):(n&&r._updateRef(),this.transition(r,e))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(t){var i=this.getCached();if(i)return i;if(this.Component){var n={name:this.ComponentName,el:Ke(this.el),template:this.inl
90ineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};t&&y(n,t);var r=new this.Component(n);return this.keepAlive&&(this.cache[this.Component.cid]=r),"production"!==e.env.NODE_ENV&&this.el.hasAttribute("transition")&&r._isFragment&&Tn("Transitions will not work on a fragment instance. Template: "+r.$options.template,r),r}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(e){this.waitingFor&&(this.keepAlive||this.waitingFor.$destroy(),this.waitingFor=null);var t=this.childVM;return!t||this.keepAlive?void(t&&(t._inactive=!0,t._updateRef(!0))):void t.$destroy(!1,e)},remove:function(e,t){var i=this.keepAlive;if(e){this.pendingRemovals++,this.pendingRemovalCb=t;var n=this;e.$remove(function(){n.pendingRemovals--,i||e._cleanup(),!n.pendingRemovals&&n.pendingRemovalCb&&(n.pendingRemovalCb(),n.pendingRemovalCb=null)})}else t&&t()},transition:function(e,t){var i=this,n=this.childVM;switch(n&&(n._inactive=!0),e._inactive=!1,this.childVM=e,i.params.transitionMode){case"in-out":e.$before(i.anchor,function(){i.remove(n,t)});break;case"out-in":i.remove(n,function(){e.$before(i.anchor,t)});break;default:i.remove(n),e.$before(i.anchor,t)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var e in this.cache)this.cache[e].$destroy();this.cache=null}}},Ds=Dn._propBindingModes,Ts={},Ss=/^[$_a-zA-Z]+[\w$]*$/,zs=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/,Ls=Dn._propBindingModes,js={bind:function(){var e=this.vm,t=e._context,i=this.descriptor.prop,n=i.path,r=i.parentPath,s=i.mode===Ls.TWO_WAY,o=this.parentWatcher=new Je(t,r,function(t){$t(e,i,t)},{twoWay:s,filters:i.filters,scope:this._scope});if(Ft(e,i,o.value),s){var a=this;e.$once("pre-hook:created",function(){a.childWatcher=new Je(e,n,function(e){o.set(e)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}},Rs=[],Is=!1,Ps="transition",Ms="animation",Vs=Xi+"Duration",Us=Ki+"Duration",Hs=Vi&&window.requestAnimationFrame,Ws=Hs?function(e){Hs(function(){Hs(e)})}:function(e){setTimeout(e,50)},Bs=Rt.prototype;Bs.enter=function(e,t){this.cancelPending(),this.callHook("beforeEnter"),this.cb=t,ee(this.el,this.enterClass),e(),this.entered=!1,this.callHookWithCb("enter"),this.entered||(this.cancel=this.hooks&&this.hooks.enterCancelled,Lt(this.enterNextTick))},Bs.enterNextTick=function(){var e=this;this.justEntered=!0,Ws(function(){e.justEntered=!1});var t=this.enterDone,i=this.getCssTransitionType(this.enterClass);this.pendingJsCb?i===Ps&&te(this.el,this.enterClass):i===Ps?(te(this.el,this.enterClass),this.setupCssCb(Zi,t)):i===Ms?this.setupCssCb(en,t):t()},Bs.enterDone=function(){this.entered=!0,this.cancel=this.pendingJsCb=null,te(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},Bs.leave=function(e,t){this.cancelPending(),this.callHook("beforeLeave"),this.op=e,this.cb=t,ee(this.el,this.leaveClass),this.left=!1,this.callHookWithCb("leave"),this.left||(this.cancel=this.hooks&&this.hooks.leaveCancelled,this.op&&!this.pendingJsCb&&(this.justEntered?this.leaveDone():Lt(this.leaveNextTick)))},Bs.leaveNextTick=function(){var e=this.getCssTransitionType(this.leaveClass);if(e){var t=e===Ps?Zi:en;this.setupCssCb(t,this.leaveDone)}else this.leaveDone()},Bs.leaveDone=function(){this.left=!0,this.cancel=this.pendingJsCb=null,this.op(),te(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb(),this.op=null},Bs.cancelPending=function(){this.op=this.cb=null;var e=!1;this.pendingCssCb&&(e=!0,X(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(e=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),e&&(te(this.el,this.enterClass),te(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},Bs.callHook=function(e){this.hooks&&this.hooks[e]&&this.hooks[e].call(this.vm,this.el)},Bs.callHookWithCb=function(e){var t=this.hooks&&this.hooks[e];t&&(t.length>1&&(this.pendingJsCb=k(this[e+"Done"])),t.call(this.vm,this.el,this.pendingJsCb))},Bs.getCssTransitionType=function(e){if(!(!Zi||document.hidden||this.hooks&&this.hooks.css===!1||It(this.el))){var t=this.t
90ype||this.typeCache[e];if(t)return t;var i=this.el.style,n=window.getComputedStyle(this.el),r=i[Vs]||n[Vs];if(r&&"0s"!==r)t=Ps;else{var s=i[Us]||n[Us];s&&"0s"!==s&&(t=Ms)}return t&&(this.typeCache[e]=t),t}},Bs.setupCssCb=function(e,t){this.pendingCssEvent=e;var i=this,n=this.el,r=this.pendingCssCb=function(s){s.target===n&&(X(n,e,r),i.pendingCssEvent=i.pendingCssCb=null,!i.pendingJsCb&&t&&t())};Y(n,e,r)};var qs={priority:Qr,update:function(e,t){var i=this.el,n=_e(this.vm.$options,"transitions",e);e=e||"v",t=t||"v",i.__v_trans=new Rt(i,e,n,this.vm),te(i,t+"-transition"),ee(i,e+"-transition")}},Qs={style:gs,"class":Os,component:As,prop:js,transition:qs},Js=/^v-bind:|^:/,Gs=/^v-on:|^@/,Ys=/^v-([^:]+)(?:$|:(.*)$)/,Xs=/\.[^\.]+/g,Zs=/^(v-bind:|:)?transition$/,Ks=1e3,eo=2e3;ni.terminal=!0;var to=/[^\w\-:\.]/,io=Object.freeze({compile:Pt,compileAndLinkProps:Wt,compileRoot:Bt,transclude:ui,resolveSlots:fi}),no=/^v-on:|^@/;bi.prototype._bind=function(){var e=this.name,t=this.descriptor;if(("cloak"!==e||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var i=t.attr||"v-"+e;this.el.removeAttribute(i)}var n=t.def;if("function"==typeof n?this.update=n:y(this,n),this._setupParams(),this.bind&&this.bind(),this._bound=!0,this.literal)this.update&&this.update(t.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var r=this;this.update?this._update=function(e,t){r._locked||r.update(e,t)}:this._update=yi;var s=this._preProcess?m(this._preProcess,this):null,o=this._postProcess?m(this._postProcess,this):null,a=this._watcher=new Je(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:s,postProcess:o,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(a.value)}},bi.prototype._setupParams=function(){if(this.params){var e=this.params;this.params=Object.create(null);for(var t,i,n,r=e.length;r--;)t=f(e[r]),n=p(t),i=H(this.el,t),null!=i?this._setupParamWatcher(n,i):(i=U(this.el,t),null!=i&&(this.params[n]=""===i||i))}},bi.prototype._setupParamWatcher=function(e,t){var i=this,n=!1,r=(this._scope||this.vm).$watch(t,function(t,r){if(i.params[e]=t,n){var s=i.paramWatchers&&i.paramWatchers[e];s&&s.call(i,t,r)}else n=!0},{immediate:!0,user:!1});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},bi.prototype._checkStatement=function(){var e=this.expression;if(e&&this.acceptStatement&&!He(e)){var t=Ue(e).get,i=this._scope||this.vm,n=function(e){i.$event=e,t.call(i,i),i.$event=null};return this.filters&&(n=i._applyFilters(n,null,this.filters)),this.update(n),!0}},bi.prototype.set=function(t){this.twoWay?this._withLock(function(){this._watcher.set(t)}):"production"!==e.env.NODE_ENV&&Tn("Directive.set() can only be used inside twoWaydirectives.")},bi.prototype._withLock=function(e){var t=this;t._locked=!0,e.call(t),rn(function(){t._locked=!1})},bi.prototype.on=function(e,t,i){Y(this.el,e,t,i),(this._listeners||(this._listeners=[])).push([e,t])},bi.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var t,i=this._listeners;if(i)for(t=i.length;t--;)X(this.el,i[t][0],i[t][1]);var n=this._paramUnwatchFns;if(n)for(t=n.length;t--;)n[t]();"production"!==e.env.NODE_ENV&&this.el&&this.el._vue_directives.$remove(this),this.vm=this.el=this._watcher=this._listeners=null}};var ro=/[^|]\|[^|]/;$e(Ni),mi(Ni),gi(Ni),_i(Ni),wi(Ni),Ei(Ni),Ci(Ni),ki(Ni),xi(Ni);var so={priority:Kr,params:["name"],bind:function(){var e=this.params.name||"default",t=this.vm._slotContents&&this.vm._slotContents[e];t&&t.hasChildNodes()?this.compile(t.cloneNode(!0),this.vm._context,this.vm):this.fallback()},compile:function(e,t,i){if(e&&t){if(this.el.hasChildNodes()&&1===e.childNodes.length&&1===e.childNodes[0].nodeType&&e.childNodes[0].hasAttribute("v-if")){var n=document.createElement("template");n.setAttribute("v-else",""),n.innerHTML=this.el.innerHTML,n._context=this.vm,e.appendChild(n)}var r=i?i._scope:this._scope;this.unlink=t.$compile(e,i,r,this._frag)}e?G(this.el,e):Q(this.el)},fallback:function(){this.compile(ie(this.el,!0),this.vm)},unbind:function(){this.unlink&&this.unlink()}},oo={priority:Yr,params:["name"],paramWatchers:{name:function(e){is.remove.call(this),e&&this.insert(e)}},bind:function(){this.anchor=oe("v-partial"),G(this.el,this.anchor),this.insert(this.params.name)},insert:function(e){var t=_e(this.vm.$options,"partials",e,!0);t&&(this.factory=new lt(this.vm,t),is.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}},ao={slot:so,partial:oo},lo=ts._postProcess,ho=/(\d{3})(?=\d)/g,uo={orderBy:Oi,filterBy:$i,limitBy:Fi,json:{read:function(e,t){return"string"==typeof e?e:JSON.stringify(e,null,arguments.length>1?t:2)},write:function(e){try{return JSON.parse(e)}catch(t){return e}}},capitalize:function(e){return e||0===e?(e=e.toString(),e.charAt(0).toUpperCase()+e.slice(1)):""},uppercase:function(e){return e||0===e?e.toString().toUpperCase():""},lowercase:function(e){return e||0===e?e.toString().toLowerCase():""},currency:function(e,t,i){if(e=parseFloat(e),!isFinite(e)||!e&&0!==e)return"";t=null!=t?t:"$",i=null!=i?i:2;var n=Math.abs(e).toFixed(i),r=i?n.slice(0,-1-i):n,s=r.length%3,o=s>0?r.slice(0,s)+(r.length>3?",":""):"",a=i?n.slice(-1-i):"",l=e<0?"-":"";return l+t+o+r.slice(s).replace(ho,"$1,")+a}
90,pluralize:function(e){var t=g(arguments,1),i=t.length;if(i>1){var n=e%10-1;return n in t?t[n]:t[i-1]}return t[0]+(1===e?"":"s")},debounce:function(e,t){if(e)return t||(t=300),E(e,t)}};Di(Ni),Ni.version="1.0.26",setTimeout(function(){Dn.devtools&&(Ui?Ui.emit("init",Ni):"production"!==e.env.NODE_ENV&&Vi&&/Chrome\/\d+/.test(window.navigator.userAgent)&&console.log("Download the Vue Devtools for a better development experience:\nhttps://github.com/vuejs/vue-devtools"))},0),t.exports=Ni}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:2}],4:[function(e,t,i){t.exports='<div class="rwp-five-stars --rwp-ss" v-bind:style="baseStyle">\n\t<div v-bind:style="fillStyle"></div>\n</div>\t\n'},{}],5:[function(e,t,i){"use strict";t.exports={template:e("./score-5-star.html"),props:["score","min","max","icon"],ready:function(){this.score=isNaN(this.score)?this.min:this.score,this.newScore=this.mapRange(this.score,this.min,this.max,0,this.stars),this.calculateStyles()},data:function(){return{stars:5,width:20,baseStyle:{backgroundImage:"",width:"",height:"",backgroundSize:"",backgroundPosition:""},fillStyle:{width:"",backgroundSize:"",height:""},baseWidth:0,fillWidth:0,newScore:0}},methods:{calculateStyles:function(){this.baseWidth=this.width*this.stars,this.fillWidth=this.width*this.newScore,this.baseStyle.backgroundImage="url("+this.icon+")",this.baseStyle.width=this.baseWidth+"px",this.fillStyle.width=this.fillWidth+"px",16!=this.width&&(this.baseStyle.height=this.width+"px",this.baseStyle.backgroundSize=this.width+"px",this.baseStyle.backgroundPosition="0 -"+this.width+"px",this.fillStyle.backgroundSize=this.width+"px",this.fillStyle.height=this.width+"px")},mapRange:function(e,t,i,n,r){return(e-t)*(r-n)/(i-t)+n}}}},{"./score-5-star.html":4}],6:[function(e,t,i){t.exports='<div class="rwp-review-criterion --rwp-bs">\n\t<div class="rwp-review-criterion__labels">\n\t\t<span class="rwp-review-criterion__label" v-text="label"></span>\n\t\t<span class="rwp-review-criterion__score" v-text="score"></span>\n\t</div><!-- /labels -->\n\n\t<div class="rwp-review-criterion__bar">\n\t\t<span class="rwp-review-criterion__base"><span class="rwp-review-criterion__value" v-bind:style="{ width: pct + \'%\', backgroundColor: color}"></span></span>\n\t</div><!-- /bar -->\t\n</div><!-- /review criterion -->\t\t\t\t\n'},{}],7:[function(e,t,i){"use strict";t.exports={template:e("./score-bar.html"),props:["score","label","min","max","low","high","colorLow","colorMedium","colorHigh"],ready:function(){this.score=isNaN(this.score)?this.min:this.score,this.pct=this.score/this.max*100,this.pct<this.low?this.color=this.colorLow:this.pct>this.high?this.color=this.colorHigh:this.color=this.colorMedium},data:function(){return{color:"#2196f3",pct:0}},methods:{}}},{"./score-bar.html":6}],8:[function(e,t,i){t.exports='<div class="rwp-review-criterion">\n\t<div class="rwp-review-criterion__labels">\n\t\t<span class="rwp-review-criterion__label" v-text="label"></span>\n\t</div><!-- /labels -->\n\n\t<div class="rwp-review-criterion__">\n\t\t<div class="rwp-five-stars" v-bind:style="baseStyle">\n\t\t\t <div v-bind:style="fillStyle"></div>\n\t \t</div>\n\t</div><!-- /bar -->\t\n</div><!-- /review criterion -->\t\n'},{}],9:[function(e,t,i){"use strict";t.exports={template:e("./score-star.html"),props:["score","label","min","max","icon"],ready:function(){this.score=isNaN(this.score)?this.min:this.score,this.newScore=this.mapRange(this.score,this.min,this.max,0,this.stars),this.calculateStyles()},data:function(){return{stars:5,width:16,baseStyle:{backgroundImage:"",width:""},fillStyle:{width:""},baseWidth:0,fillWidth:0,newScore:0}},methods:{calculateStyles:function(){this.baseWidth=this.width*this.stars,this.fillWidth=this.width*this.newScore,this.baseStyle.backgroundImage="url("+this.icon+")",this.baseStyle.width=this.baseWidth+"px",this.fillStyle.width=this.fillWidth+"px"},mapRange:function(e,t,i,n,r){return(e-t)*(r-n)/(i-t)+n}}}},{"./score-star.html":8}],10:[function(e,t,i){"use strict";
90var n=jQuery,r=e("vue"),s=e("dropzone");if(s.autoDiscover=!1,1!=parseInt(rwpConstants.debugVue)&&(r.config.devtools=!1,r.config.debug=!1,r.config.silent=!0),n(".rwp-review-wrap").length>0){var o=r.extend({template:"<div></div>",props:["highlighted"],ready:function(){this.highlighted&&n("html, body").animate({scrollTop:n(this.$el).offset().top+"px"},"fast")}});n(".rwp-review-wrap").each(function(){var t="#"+n(this).attr("id");new r({el:t,ready:function(){this.$set("nonce",reviewerQueryURs.ajax_nonce),this.$set("nonceJudgeReview",reviewerJudgeObj.ajax_nonce),this.$set("url",reviewerQueryURs.ajax_url),this.$set("action",reviewerQueryURs.action),this.$set("actionJudgeReview",reviewerJudgeObj.action),this.$set("postId",this.$el.getAttribute("data-post-id")),this.$set("boxId",this.$el.getAttribute("data-box-id")),this.$set("templateId",this.$el.getAttribute("data-template-id")),this.$set("disabled",parseInt(this.$el.getAttribute("data-disabled"))),this.$set("shareReviewLinkLabel",this.$el.getAttribute("data-sharing-review-link-label")),this.$set("itemsPerPage",parseInt(this.$el.getAttribute("data-per-page"))),this.$set("toShow",this.itemsPerPage),this.disabled||this.queryReviews(!0),this.dropzoneSettings=rwpDropzone,this.photoSwipe=document.querySelectorAll(".pswp")[0],this.initDropzone()},components:{"rwp-score-bar":e("./components/score-bar.js"),"rwp-score-star":e("./components/score-star.js"),"rwp-score-5-star":e("./components/score-5-star.js"),"rwp-tracker":o},data:{nonce:"",nonceJudgeReview:"",url:"",action:"",actionJudgeReview:"",boxId:0,postId:0,templateId:"",disabled:0,errorMsg:"",success:!0,sorting:"mostRecent",sortingField:"rating_date",sortingReversed:-1,reviews:[],reviewsOverall:0,reviewsCount:0,reviewsCriteria:[],loading:!0,shareReviewLinkLabel:"",toShow:0,currentPage:0,itemsPerPage:3,resultCount:0,totalPages:5,formImages:[],photoSwipe:null},computed:{totalPages:function(){return Math.ceil(this.resultCount/this.itemsPerPage)}},filters:{paginate:function(e){this.resultCount=e.length,this.currentPage>=this.totalPages&&(this.currentPage=this.totalPages-1);var t=this.currentPage*this.itemsPerPage;return e.slice(t,t+this.itemsPerPage)},nl2br:function(e){return(e+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1<br/>$2")}},methods:{openPhotoSwipeGallery:function(e,t){var i=new PhotoSwipe(this.photoSwipe,PhotoSwipeUI_Default,e,{index:t,bgOpacity:.9,history:!1});i.init()},setPage:function(e,t){e&&e.preventDefault(),this.currentPage=t},changePage:function(e,t){this.setPage(e,t)},showMore:function(){this.toShow+=this.itemsPerPage},judgeReview:function(e,t,i){var r={action:this.actionJudgeReview,security:this.nonceJudgeReview,box_id:this.boxId,post_id:this.postId,rating_id:e.rating_id,method:parseInt(t)?"like":"dislike",user_id:i};e.judging_ok=!1,e.judging_failed=!1,e.judging_loading=!0,e.judging_msg="",n.post(this.url,r,function(t){e.judging_loading=!1,t.success?(e.judging_ok=!0,e.rating_helpful=t.data.helpful,e.rating_unhelpful=t.data.unhelpful):(e.judging_failed=!0,e.judging_msg=t.data)},"json").fail(function(t){e.judging_loading=!1,e.judging_failed=!0,e.judging_msg="Internal error :("})},queryReviews:function(e){var t={action:this.action,security:this.nonce,box_id:this.boxId,post_id:this.postId,template_id:this.templateId},i=this;i.loading=!0,n.post(this.url,t,function(t){i.loading=!1,t.success?(i.reviews=t.data.reviews,i.reviewsCount=t.data.count,i.reviewsCriteria=t.data.criteria,i.reviewsOverall=t.data.overall,i.success=!0,e&&i.highlightReview()):(i.errorMsg=t.data,i.success=!1)},"json").fail(function(e){i.loading=!1,i.errorMsg="Unable to get users reviews: Internal error",i.success=!1})},highlightReview:function(){for(var e="rwpurid",t=!1,i=window.location.search.substring(1),n=i.split("&"),r=0;r<n.length;r++){var s=n[r].split("=");s[0]==e&&(t=s[1])}if(t!==!1)for(var r=0;r<this.reviews.length;r++)if(t==this.reviews[r].rating_id){this.toShow=this.reviews.length,this.reviews[r].rating_highlighted=!0;break}},sortReviews:function(e){switch(this.sorting){case"topScore":this.sortingField="rating_overall",this.sortingReversed=-1;break;case"mostHelpful":this.sortingField="rating_helpful",this.sortingRever
90sed=-1;break;case"worstScore":this.sortingField="rating_overall",this.sortingReversed=0;break;case"mostRecent":default:this.sortingField="rating_date",this.sortingReversed=-1}this.setPage(null,0)},shareReview:function(e,t){if("email"!=t)if(e.preventDefault(),"link"==t){prompt(this.shareReviewLinkLabel,e.target.href)}else{var i=n(window).height(),r=n(window).width(),s=e.target.href;if(r<=768)window.open(s);else{var o=670,a=360,l=(i-a)/2,h=(r-o)/2;window.open(s,"_blank","height="+a+", width="+o+", top="+l+", left="+h+", menubar=no, resizable=yes, scrollbars=yes, status=no, titlebar=no, toolbar=no")}}},submitUserReview:function(e){var t=n(e.target).parent().parent(),i=t.find('input[name="rwp-ur[review-id]"]').val(),r=t.find('input[name="rwp-ur[post-id]"]').val(),s=t.find('input[name="rwp-ur[user-id]"]').val(),o=t.find('input[name="rwp-ur[mode]"]').val(),a=t.find('input[name="rwp-ur[template]"]').val(),l=t.find('input[name="rwp-ur[name]"]').val();l="undefined"==typeof l?"":l;var h=t.find('input[name="rwp-ur[review_title]"]').val();h="undefined"==typeof h?"":h;var u=t.find('textarea[name="rwp-ur[comment]"]').val();u="undefined"==typeof u?"":u;var c="#rwp-recaptcha-"+r+"-"+i,p=t.find(c),d=!(p.length<=0)&&grecaptcha.getResponse(p.data("grcid")),f=p.length<=0?null:p.data("grcid"),v=t.find('input[name="rwp-ur[email]"]').val();v="undefined"==typeof v?"":v;var m;switch(o){case"five_stars":var g=t.find("input.rwp-rating:checked").val();"undefined"==typeof g&&(g=t.find("input.rwp-rating2:checked").val()),m="undefined"==typeof g?0:g;break;case"full_five_stars":m=[];var y=t.find("input.rwp-rating:checked");0==y.length&&(y=t.find("input.rwp-rating2:checked")),0!=y.length&&y.each(function(e){var t={};t.i=n(this).data("index"),t.val=n(this).val(),m.push(t)});break;default:m=[];var y=t.find(".rwp-slider");0!=y.length&&y.each(function(e){var t={};t.i=n(this).data("index"),t.val=n(this).val(),m.push(t)})}var b={action:reviewerRatingObj.action,security:reviewerRatingObj.ajax_nonce,review_id:i,post_id:r,scores:m,user_id:s,user_name:l,user_email:v,title:h,comment:u,method:o,template:a,captcha:d,images:this.formImages},_=t.find(".rwp-loader");_.fadeIn("fast");var w=this,E=t.parent().parent().find(".rwp-notification");E.hide(),E.html(""),n.post(reviewerRatingObj.ajax_url,b,function(e){_.fadeOut("fast"),e.success?(E.removeClass("--rwp-notice-with-error").html(e.data.msg).slideDown("fast"),setTimeout(function(){t.parent().slideUp("slow")},1e3),200==e.data.code&&(w.queryReviews(!1),w.sorting="mostRecent",w.sortingField="rating_date",w.sortingReversed=-1)):("string"==typeof e.data?E.html(e.data).slideDown("fast"):(n.each(e.data,function(e,t){E.append(t+"<br/>")}),E.slideDown("fast")),d&&grecaptcha.reset(f))},"json").fail(function(e){_.fadeOut("fast"),alert("Error during rating process!")})},initDropzone:function(){var e=t+"-dropzone";!parseInt(this.dropzoneSettings.field_enabled)||n(e).length<1||(this.dropzone=new s(e,{url:reviewerRatingObj.ajax_url,maxFilesize:parseFloat(this.dropzoneSettings.field_size),maxThumbnailFilesize:parseFloat(this.dropzoneSettings.field_size),filesizeBase:1024,paramName:"review_image",uploadMultiple:!1,clickable:!0,maxFiles:parseInt(this.dropzoneSettings.field_bound),acceptedFiles:"image/jpeg, image/png, image/bmp, image/tiff",addRemoveLinks:!0,dictDefaultMessage:this.dropzoneSettings.dictDefaultMessage,dictFallbackMessage:this.dropzoneSettings.dictFallbackMessage,dictInvalidFileType:this.dropzoneSettings.dictInvalidFileType,dictFileTooBig:this.dropzoneSettings.dictFileTooBig,dictResponseError:this.dropzoneSettings.dictResponseError,dictCancelUpload:this.dropzoneSettings.dictCancelUpload,dictCancelUploadConfirmation:this.dropzoneSettings.dictCancelUploadConfirmation,dictRemoveFile:this.dropzoneSettings.dictRemoveFile,dictMaxFilesExceeded:this.dropzoneSettings.dictMaxFilesExceeded}),this.dropzone.on("sending",function(e,t,i){var n="rwp_reviews_box_upload_image";i.append("action",n),i.append("security",this.dropzoneSettings.actions[n])}.bind(this)),this.dropzone.on("success",function(e,t){this.addImage(t.data),e.attachmentId=t.data}.bind(this)),this.dropzone.on("removedfile",function(e){this.removeImage(e.attachmentId)}.bind(this)))},addImage:function(e){this.formImages.push(parseInt(e))},removeImage:function(e){var t=this.formImages.indexOf(e),i=this.formImages[t];this.formImages.$remove(i)}}})})}},{"./components/score-5-star.js":5,"./components/score-bar.js":7,"./components/score-star.js":9,dropzone:1,vue:3}]},{},[10]) 91;var rwpConstants={"debugVue":""};var reviewerQueryAllURs={"ajax_nonce":"bfde1ebab6","ajax_url":"https://horrorpress.com/w
91p-admin/admin-ajax.php","action":"rwp_reviews_box_query_all_users_reviews"} 92;!function t(e,i,n){function r(o,a){if(!i[o]){if(!e[o]){var h="function"==typeof require&&require;if(!a&&h)return h(o,!0);if(s)return s(o,!0);var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}var c=i[o]={exports:{}};e[o][0].call(c.exports,function(t){var i=e[o][1][t];return r(i?i:t)},c,c.exports,t,e,i,n)}return i[o].exports}for(var s="function"==typeof require&&require,o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,i){function n(){f&&c&&(f=!1,c.length?u=c.concat(u):p=-1,u.length&&r())}function r(){if(!f){var t=a(n);f=!0;for(var e=u.length;e;){for(c=u,u=[];++p<e;)c&&c[p].run();p=-1,e=u.length}c=null,f=!1,h(t)}}function s(t,e){this.fun=t,this.array=e}function o(){}var a,h,l=e.exports={};!function(){try{a=setTimeout}catch(t){a=function(){throw new Error("setTimeout is not defined")}}try{h=clearTimeout}catch(t){h=function(){throw new Error("clearTimeout is not defined")}}}();var c,u=[],f=!1,p=-1;l.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];u.push(new s(t,e)),1!==u.length||f||a(r,0)},s.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={}
92,l.on=o,l.addListener=o,l.once=o,l.off=o,l.removeListener=o,l.removeAllListeners=o,l.emit=o,l.binding=function(t){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(t){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},{}],2:[function(t,e,i){(function(t,i){"use strict";function n(t,e,i){if(s(t,e))return void(t[e]=i);if(t._isVue)return void n(t._data,e,i);var r=t.__ob__;if(!r)return void(t[e]=i);if(r.convert(e,i),r.dep.notify(),r.vms)for(var o=r.vms.length;o--;){var a=r.vms[o];a._proxy(e),a._digest()}return i}function r(t,e){if(s(t,e)){delete t[e];var i=t.__ob__;if(!i)return void(t._isVue&&(delete t._data[e],t._digest()));if(i.dep.notify(),i.vms)for(var n=i.vms.length;n--;){var r=i.vms[n];r._unproxy(e),r._digest()}}}function s(t,e){return ji.call(t,e)}function o(t){return Vi.test(t)}function a(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function h(t){return null==t?"":t.toString()}function l(t){if("string"!=typeof t)return t;var e=Number(t);return isNaN(e)?t:e}function c(t){return"true"===t||"false"!==t&&t}function u(t){var e=t.charCodeAt(0),i=t.charCodeAt(t.length-1);return e!==i||34!==e&&39!==e?t:t.slice(1,-1)}function f(t){return t.replace(Si,p)}function p(t,e){return e?e.toUpperCase():""}function d(t){return t.replace(Fi,"$1-$2").toLowerCase()}function v(t){return t.replace(Pi,p)}function m(t,e){return function(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}}function g(t,e){e=e||0;for(var i=t.length-e,n=new Array(i);i--;)n[i]=t[i+e];return n}function _(t,e){for(var i=Object.keys(e),n=i.length;n--;)t[i[n]]=e[i[n]];return t}function b(t){return null!==t&&"object"==typeof t}function y(t){return Ri.call(t)===Li}function w(t,e,i,n){Object.defineProperty(t,e,{value:i,enumerable:!!n,writable:!0,configurable:!0})}function N(t,e){var i,n,r,s,o,a=function h(){var a=Date.now()-s;a<e&&a>=0?i=setTimeout(h,e-a):(i=null,o=t.apply(r,n),i||(r=n=null))};return function(){return r=this,n=arguments,s=Date.now(),i||(i=setTimeout(a,e)),o}}function C(t,e){for(var i=t.length;i--;)if(t[i]===e)return i;return-1}function $(t){var e=function i(){if(!i.cancelled)return t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}function E(t,e){return t==e||!(!b(t)||!b(e))&&JSON.stringify(t)===JSON.stringify(e)}function k(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap=Object.create(null)}function x(){var t,e=an.slice(pn,un).trim();if(e){t={};var i=e.match(yn);t.name=i[0],i.length>1&&(t.args=i.slice(1).map(O))}t&&(hn.filters=hn.filters||[]).push(t),pn=un+1}function O(t){if(wn.test(t))return{value:l(t),dynamic:!1}
92;var e=u(t),i=e===t;return{value:i?t:e,dynamic:i}}function A(t){var e=bn.get(t);if(e)return e;for(an=t,dn=vn=!1,mn=gn=_n=0,pn=0,hn={},un=0,fn=an.length;un<fn;un++)if(cn=ln,ln=an.charCodeAt(un),dn)39===ln&&92!==cn&&(dn=!dn);else if(vn)34===ln&&92!==cn&&(vn=!vn);else if(124===ln&&124!==an.charCodeAt(un+1)&&124!==an.charCodeAt(un-1))null==hn.expression?(pn=un+1,hn.expression=an.slice(0,un).trim()):x();else switch(ln){case 34:vn=!0;break;case 39:dn=!0;break;case 40:_n++;break;case 41:_n--;break;case 91:gn++;break;case 93:gn--;break;case 123:mn++;break;case 125:mn--}return null==hn.expression?hn.expression=an.slice(0,un).trim():0!==pn&&x(),bn.put(t,hn),hn}function D(t){return t.replace(Cn,"\\$&")}function T(){var t=D(Tn.delimiters[0]),e=D(Tn.delimiters[1]),i=D(Tn.unsafeDelimiters[0]),n=D(Tn.unsafeDelimiters[1]);En=new RegExp(i+"((?:.|\\n)+?)"+n+"|"+t+"((?:.|\\n)+?)"+e,"g"),kn=new RegExp("^"+i+"((?:.|\\n)+?)"+n+"$"),$n=new k(1e3)}function j(t){$n||T();var e=$n.get(t);if(e)return e;if(!En.test(t))return null;for(var i,n,r,s,o,a,h=[],l=En.lastIndex=0;i=En.exec(t);)n=i.index,n>l&&h.push({value:t.slice(l,n)}),r=kn.test(i[0]),s=r?i[1]:i[2],o=s.charCodeAt(0),a=42===o,s=a?s.slice(1):s,h.push({tag:!0,value:s.trim(),html:r,oneTime:a}),l=n+i[0].length;return l<t.length&&h.push({value:t.slice(l)}),$n.put(t,h),h}function V(t,e){return t.length>1?t.map(function(t){return S(t,e)}).join("+"):S(t[0],e,!0)}function S(t,e,i){return t.tag?t.oneTime&&e?'"'+e.$eval(t.value)+'"':F(t.value,i):'"'+t.value+'"'}function F(t,e){if(xn.test(t)){var i=A(t);return i.filters?"this._applyFilters("+i.expression+",null,"+JSON.stringify(i.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}function P(t,e,i,n){I(t,1,function(){e.appendChild(t)},i,n)}function R(t,e,i,n){I(t,1,function(){B(t,e)},i,n)}function L(t,e,i){I(t,-1,function(){J(t)},e,i)}function I(t,e,i,n,r){var s=t.__v_trans;if(!s||!s.hooks&&!Xi||!n._isCompiled||n.$parent&&!n.$parent._isCompiled)return i(),void(r&&r());var o=e>0?"enter":"leave";s[o](i,r)}function M(e){if("string"==typeof e){var i=e;e=document.querySelector(e),e||"production"!==t.env.NODE_ENV&&jn("Cannot find element: "+i)}return e}function H(t){if(!t)return!1;var e=t.ownerDocument.documentElement,i=t.parentNode;return e===t||e===i||!(!i||1!==i.nodeType||!e.contains(i))}function W(t,e){var i=t.getAttribute(e);return null!==i&&t.removeAttribute(e),i}function U(t,e){var i=W(t,":"+e);return null===i&&(i=W(t,"v-bind:"+e)),i}function z(t,e){return t.hasAttribute(e)||t.hasAttribute(":"+e)||t.hasAttribute("v-bind:"+e)}function B(t,e){e.parentNode.insertBefore(t,e)}function q(t,e){e.nextSibling?B(t,e.nextSibling):e.parentNode.appendChild(t)}function J(t){t.parentNode.removeChild(t)}function Q(t,e){e.firstChild?B(t,e.firstChild):e.appendChild(t)}function Y(t,e){var i=t.parentNode;i&&i.replaceChild(e,t)}function Z(t,e,i,n){t.addEventListener(e,i,n)}function G(t,e,i){t.removeEventListener(e,i)}function X(t){var e=t.className;return"object"==typeof e&&(e=e.baseVal||""),e}function K(t,e){Bi&&!/svg$/.test(t.namespaceURI)?t.className=e:t.setAttribute("class",e)}function tt(t,e){if(t.classList)t.classList.add(e);else{var i=" "+X(t)+" ";i.indexOf(" "+e+" ")<0&&K(t,(i+e).trim())}}function et(t,e){if(t.classList)t.classList.remove(e);else{for(var i=" "+X(t)+" ",n=" "+e+" ";i.indexOf(n)>=0;)i=i.replace(n," ");K(t,i.trim())}t.className||t.removeAttribute("class")}function it(t,e){var i,n;if(st(t)&&ct(t.content)&&(t=t.content),t.hasChildNodes())for(nt(t),n=e?document.createDocumentFragment():document.createElement("div");i=t.firstChild;)n.appendChild(i);return n}function nt(t){for(var e;e=t.firstChild,rt(e);)t.removeChild(e);for(;e=t.lastChild,rt(e);)t.removeChild(e)}function rt(t){return t&&(3===t.nodeType&&!t.data.trim()||8===t.nodeType)}function st(t){return t.tagName&&"template"===t.tagName.toLowerCase()}function ot(t,e){var i=Tn.debug?document.createComment(t):document.createTextNode(e?" ":"");return i.__v_anchor=!0,i}function at(t){if(t.hasAttributes())for(var e=t.attributes,i=0,n=e.length;i<n;i++){var r=e[i].name;if(Fn.test(r))return f(r.replace(Fn,""))}}function ht(t,e,i){for(var n;t!==e;)n=t.nextSibling,i(t),t=n;i(e)}function lt(t,e,i,n,r){function s(){if(a++,o&&a>=h.length){for(var t=0;t<h.length;t++)n.appendChild(h[t]);r&&r()}}var o=!1,a=0,h=[];ht(t,e,function(t){t===e&&(o=!0),h.push(t),L(t,i,s)})}function ct(t){return t&&11===t.nodeType}function ut(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}
92function ft(e,i){var n=e.tagName.toLowerCase(),r=e.hasAttributes();if(Pn.test(n)||Rn.test(n)){if(r)return pt(e,i)}else{if(yt(i,"components",n))return{id:n};var s=r&&pt(e,i);if(s)return s;if("production"!==t.env.NODE_ENV){var o=i._componentNameMap&&i._componentNameMap[n];o?jn("Unknown custom element: <"+n+"> - did you mean <"+o+">? HTML is case-insensitive, remember to use kebab-case in templates."):Ln(e,n)&&jn("Unknown custom element: <"+n+'> - did you register the component correctly? For recursive components, make sure to provide the "name" option.')}}}function pt(t,e){var i=t.getAttribute("is");if(null!=i){if(yt(e,"components",i))return t.removeAttribute("is"),{id:i}}else if(i=U(t,"is"),null!=i)return{id:i,dynamic:!0}}function dt(t,e){var i,r,o;for(i in e)r=t[i],o=e[i],s(t,i)?b(r)&&b(o)&&dt(r,o):n(t,i,o);return t}function vt(t,e){var i=Object.create(t||null);return e?_(i,_t(e)):i}function mt(e){if(e.components){var i,n=e.components=_t(e.components),r=Object.keys(n);if("production"!==t.env.NODE_ENV)var s=e._componentNameMap={};for(var o=0,a=r.length;o<a;o++){var h=r[o];
92Pn.test(h)||Rn.test(h)?"production"!==t.env.NODE_ENV&&jn("Do not use built-in or reserved HTML elements as component id: "+h):("production"!==t.env.NODE_ENV&&(s[h.replace(/-/g,"").toLowerCase()]=d(h)),i=n[h],y(i)&&(n[h]=ki.extend(i)))}}}function gt(t){var e,i,n=t.props;if(Ii(n))for(t.props={},e=n.length;e--;)i=n[e],"string"==typeof i?t.props[i]=null:i.name&&(t.props[i.name]=i);else if(y(n)){var r=Object.keys(n);for(e=r.length;e--;)i=n[r[e]],"function"==typeof i&&(n[r[e]]={type:i})}}function _t(e){if(Ii(e)){for(var i,n={},r=e.length;r--;){i=e[r];var s="function"==typeof i?i.options&&i.options.name||i.id:i.name||i.id;s?n[s]=i:"production"!==t.env.NODE_ENV&&jn('Array-syntax assets must provide a "name" or "id" field.')}return n}return e}function bt(e,i,n){function r(t){var r=In[t]||Mn;a[t]=r(e[t],i[t],n,t)}mt(i),gt(i),"production"!==t.env.NODE_ENV&&i.propsData&&!n&&jn("propsData can only be used as an instantiation option.");var o,a={};if(i["extends"]&&(e="function"==typeof i["extends"]?bt(e,i["extends"].options,n):bt(e,i["extends"],n)),i.mixins)for(var h=0,l=i.mixins.length;h<l;h++){var c=i.mixins[h],u=c.prototype instanceof ki?c.options:c;e=bt(e,u,n)}for(o in e)r(o);for(o in i)s(e,o)||r(o);return a}function yt(e,i,n,r){if("string"==typeof n){var s,o=e[i],a=o[n]||o[s=f(n)]||o[s.charAt(0).toUpperCase()+s.slice(1)];return"production"!==t.env.NODE_ENV&&r&&!a&&jn("Failed to resolve "+i.slice(0,-1)+": "+n,e),a}}function wt(){this.id=Hn++,this.subs=[]}function Nt(t){Bn=!1,t(),Bn=!0}function Ct(t){if(this.value=t,this.dep=new wt,w(t,"__ob__",this),Ii(t)){var e=Mi?$t:Et;e(t,Un,zn),this.observeArray(t)}else this.walk(t)}function $t(t,e){t.__proto__=e}function Et(t,e,i){for(var n=0,r=i.length;n<r;n++){var s=i[n];w(t,s,e[s])}}function kt(t,e){if(t&&"object"==typeof t){var i;return s(t,"__ob__")&&t.__ob__ instanceof Ct?i=t.__ob__:Bn&&(Ii(t)||y(t))&&Object.isExtensible(t)&&!t._isVue&&(i=new Ct(t)),i&&e&&i.addVm(e),i}}function xt(t,e,i){var n=new wt,r=Object.getOwnPropertyDescriptor(t,e);if(!r||r.configurable!==!1){var s=r&&r.get,o=r&&r.set,a=kt(i);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):i;if(wt.target&&(n.depend(),a&&a.dep.depend(),Ii(e)))for(var r,o=0,h=e.length;o<h;o++)r=e[o],r&&r.__ob__&&r.__ob__.dep.depend();return e},set:function(e){var r=s?s.call(t):i;e!==r&&(o?o.call(t,e):i=e,a=kt(e),n.notify())}})}}function Ot(t){t.prototype._init=function(t){t=t||{},this.$el=null,this.$parent=t.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=Jn++,this._isVue=!0,this._events={},this._eventsCount={},this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=this._vForRemoving=!1,this._unlinkFn=null,this._context=t._context||this.$parent,this._scope=t._scope,this._frag=t._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),t=this.$options=bt(this.constructor.options,t,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),t.el&&this.$mount(t.el)}}function At(t){if(void 0===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:case 48:return t;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return e>=97&&e<=122||e>=65&&e<=90?"ident":e>=49&&e<=57?"number":"else"}function Dt(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(o(e)?u(e):"*"+e)}function Tt(t){function e(){var e=t[c+1];if(u===rr&&"'"===e||u===sr&&'"'===e)return c++,n="\\"+e,p[Yn](),!0}var i,n,r,s,o,a,h,l=[],c=-1,u=Kn,f=0,p=[];for(p[Zn]=function(){void 0!==r&&(l.push(r),r=void 0)},p[Yn]=function(){void 0===r?r=n:r+=n},p[Gn]=function(){p[Yn](),f++},p[Xn]=function(){if(f>0)f--,u=nr,p[Yn]();else{if(f=0,r=Dt(r),r===!1)return!1;p[Zn]()}};null!=u;)if(c++,i=t[c],"\\"!==i||!e()){if(s=At(i),h=hr[u],o=h[s]||h["else"]||ar,o===ar)return;if(u=o[0],a=p[o[1]],a&&(n=o[2],n=void 0===n?i:n,a()===!1))return;if(u===or)return l.raw=t,l}}function jt(t){var e=Qn.get(t);return e||(e=Tt(t),e&&Qn.put(t,e)),e}function Vt(t,e){return Wt(e).get(t)}function St(e,i,r){var s=e;if("string"==typeof i&&(i=Tt(i)),!i||!b(e))return!1;for(var o,a,h=0,l=i.length;h<l;h++)o=e,a=i[h],"*"===a.charAt(0)&&(a=Wt(a.slice(1)).get.call(s,s)),h<l-1?(e=e[a],b(e)||(e={},"production"!==t.env.NODE_ENV&&o._isVue&&lr(i,o),n(o,a,e))):Ii(e)?e.$set(a,r):a in e?e[a]=r:("production"!==t.env.NODE_ENV&&e._isVue&&lr(i,e),n(e,a,r));return!0}function Ft(){}function Pt(t,e){var i=Cr.length;return Cr[i]=e?t.replace(gr,"\\n"):t,'"'+i+'"'}function Rt(t){var e=t.charAt(0),i=t.slice(1);return pr.test(i)?t:(i=i.indexOf('"')>-1?i.replace(br,Lt):i,e+"scope."+i)}function Lt(t,e){return Cr[e]}function It(e){vr.test(e)&&"production"!==t.env.NODE_ENV&&jn("Avoid using reserved keywords in expression: "+e),Cr.length=0;var i=e.replace(_r,Pt).replace(mr,"");return i=(" "+i).replace(wr,Rt).replace(br,Lt),Mt(i)}function Mt(e){try{return new Function("scope","return "+e+";")}catch(i){return"production"!==t.env.NODE_ENV&&jn(i.toString().match(/unsafe-eval|CSP/)?"It seems you are using the default build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. Use the CSP-compliant build instead: http://vuejs.org/guide/installation.html#CSP-compliant-build":"Invalid expression. Generated function body: "+e),Ft}}function Ht(e){var i=jt(e);return i?function(t,e){St(t,i,e)}:void("production"!==t.env.NODE_ENV&&jn("Invalid setter expression: "+e))}function Wt(t,e){t=t.trim();var i=ur.get(t);if(i)return e&&!i.set&&(i.set=Ht(i.exp)),i;var n={exp:t};return n.get=Ut(t)&&t.indexOf("[")<0?Mt("scope."+t):It(t),e&&(n.set=Ht(t)),ur.put(t,n),n}function Ut(t){return yr.test(t)&&!Nr.test(t)&&"Math."!==t.slice(0,5)}function zt(){Er.length=0,kr.length=0,xr={},Or={},Ar=!1}function Bt(){for(var t=!0;t;)t=!1,qt(Er),qt(kr),Er.length?t=!0:(Wi&&Tn.devtools&&Wi.emit("flush"),zt()
92)}function qt(e){for(var i=0;i<e.length;i++){var n=e[i],r=n.id;if(xr[r]=null,n.run(),"production"!==t.env.NODE_ENV&&null!=xr[r]&&(Or[r]=(Or[r]||0)+1,Or[r]>Tn._maxUpdateCount)){jn('You may have an infinite update loop for watcher with expression "'+n.expression+'"',n.vm);break}}e.length=0}function Jt(t){var e=t.id;if(null==xr[e]){var i=t.user?kr:Er;xr[e]=i.length,i.push(t),Ar||(Ar=!0,rn(Bt))}}function Qt(t,e,i,n){n&&_(this,n);var r="function"==typeof e;if(this.vm=t,t._watchers.push(this),this.expression=e,this.cb=i,this.id=++Dr,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new sn,this.newDepIds=new sn,this.prevError=null,r)this.getter=e,this.setter=void 0;else{var s=Wt(e,this.twoWay);this.getter=s.get,this.setter=s.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function Yt(t,e){var i=void 0,n=void 0;e||(e=Tr,e.clear());var r=Ii(t),s=b(t);if((r||s)&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(r)for(i=t.length;i--;)Yt(t[i],e);else if(s)for(n=Object.keys(t),i=n.length;i--;)Yt(t[n[i]],e)}}function Zt(t){return st(t)&&ct(t.content)}function Gt(t,e){var i=e?t:t.trim(),n=Vr.get(i);if(n)return n;var r=document.createDocumentFragment(),s=t.match(Pr),o=Rr.test(t),a=Lr.test(t);if(s||o||a){var h=s&&s[1],l=Fr[h]||Fr.efault,c=l[0],u=l[1],f=l[2],p=document.createElement("div");for(p.innerHTML=u+t+f;c--;)p=p.lastChild;for(var d;d=p.firstChild;)r.appendChild(d)}else r.appendChild(document.createTextNode(t));return e||nt(r),Vr.put(i,r),r}function Xt(t){if(Zt(t))return Gt(t.innerHTML);if("SCRIPT"===t.tagName)return Gt(t.textContent);for(var e,i=Kt(t),n=document.createDocumentFragment();e=i.firstChild;)n.appendChild(e);return nt(n),n}function Kt(t){if(!t.querySelectorAll)return t.cloneNode();var e,i,n,r=t.cloneNode(!0);if(Ir){var s=r;if(Zt(t)&&(t=t.content,s=r.content),i=t.querySelectorAll("template"),i.length)for(n=s.querySelectorAll("template"),e=n.length;e--;)n[e].parentNode.replaceChild(Kt(i[e]),n[e])}if(Mr)if("TEXTAREA"===t.tagName)r.value=t.value;else if(i=t.querySelectorAll("textarea"),i.length)for(n=r.querySelectorAll("textarea"),e=n.length;e--;)n[e].value=i[e].value;return r}function te(t,e,i){var n,r;return ct(t)?(nt(t),e?Kt(t):t):("string"==typeof t?i||"#"!==t.charAt(0)?r=Gt(t,i):(r=Sr.get(t),r||(n=document.getElementById(t.slice(1)),n&&(r=Xt(n),Sr.put(t,r)))):t.nodeType&&(r=Xt(t)),r&&e?Kt(r):r)}function ee(t,e,i,n,r,s){this.children=[],this.childFrags=[],this.vm=e,this.scope=r,this.inserted=!1,this.parentFrag=s,s&&s.childFrags.push(this),this.unlink=t(e,i,n,r,this);var o=this.single=1===i.childNodes.length&&!i.childNodes[0].__v_anchor;o?(this.node=i.childNodes[0],this.before=ie,this.remove=ne):(this.node=ot("fragment-start"),this.end=ot("fragment-end"),this.frag=i,Q(this.node,i),i.appendChild(this.end),this.before=re,this.remove=se),this.node.__v_frag=this}function ie(t,e){this.inserted=!0;var i=e!==!1?R:B;i(this.node,t,this.vm),H(this.node)&&this.callHook(oe)}function ne(){this.inserted=!1;var t=H(this.node),e=this;this.beforeRemove(),L(this.node,this.vm,function(){t&&e.callHook(ae),e.destroy()})}function re(t,e){this.inserted=!0;var i=this.vm,n=e!==!1?R:B;ht(this.node,this.end,function(e){n(e,t,i)}),H(this.node)&&this.callHook(oe)}function se(){this.inserted=!1;var t=this,e=H(this.node);this.beforeRemove(),lt(this.node,this.end,this.vm,this.frag,function(){e&&t.callHook(ae),t.destroy()})}function oe(t){!t._isAttached&&H(t.$el)&&t._callHook("attached")}function ae(t){t._isAttached&&!H(t.$el)&&t._callHook("detached")}function he(t,e){this.vm=t;var i,n="string"==typeof e;n||st(e)&&!e.hasAttribute("v-if")?i=te(e,!0):(i=document.createDocumentFragment(),i.appendChild(e)),this.template=i;var r,s=t.constructor.cid;if(s>0){var o=s+(n?e:ut(e));r=Ur.get(o),r||(r=Ie(i,t.$options,!0),Ur.put(o,r))}else r=Ie(i,t.$options,!0);this.linker=r}function le(t,e,i){var n=t.node.previousSibling;if(n){for(t=n.__v_frag;!(t&&t.forId===i&&t.inserted||n===e);){if(n=n.previousSibling,!n)return;t=n.__v_frag}return t}}function ce(t){var e=t.node;if(t.end)for(;!e.__vue__&&e!==t.end&&e.nextSibling;)e=e.nextSibling;return e.__vue__}function ue(t){for(var e=-1,i=new Array(Math.floor(t));++e<t;)i[e]=e;return i}function fe(t,e,i,n){return n?"$index"===n?t:n.charAt(0).match(/\w/)?Vt(i,n):i[n]:e||i}function pe(t,e,i){for(var n,r,s,o=e?[]:null,a=0,h=t.options.length;a<h;a++)if(n=t.options[a],s=i?n.hasAttribute("selected"):n.selected){if(r=n.hasOwnProperty("_value")?n._value:n.value,!e)return r;o.push(r)}return o}function de(t,e){for(var i=t.length;i--;)if(E(t[i],e))return i;return-1}function ve(t,e){var i=e.map(function(t){var e=t.charCodeAt(0);return e>
9247&&e<58?parseInt(t,10):1===t.length&&(e=t.toUpperCase().charCodeAt(0),e>64&&e<91)?e:cs[t]});return i=[].concat.apply([],i),function(e){if(i.indexOf(e.keyCode)>-1)return t.call(this,e)}}function me(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function ge(t){return function(e){return e.preventDefault(),t.call(this,e)}}function _e(t){return function(e){if(e.target===e.currentTarget)return t.call(this,e)}}function be(t){if(vs[t])return vs[t];var e=ye(t);return vs[t]=vs[e]=e,e}function ye(t){t=d(t);var e=f(t),i=e.charAt(0).toUpperCase()+e.slice(1);ms||(ms=document.createElement("div"));var n,r=fs.length;if("filter"!==e&&e in ms.style)return{kebab:t,camel:e};for(;r--;)if(n=ps[r]+i,n in ms.style)return{kebab:fs[r]+t,camel:n}}function we(t){var e=[];if(Ii(t))for(var i=0,n=t.length;i<n;i++){var r=t[i];if(r)if("string"==typeof r)e.push(r);else for(var s in r)r[s]&&e.push(s)}else if(b(t))for(var o in t)t[o]&&e.push(o);return e}function Ne(t,e,i){if(e=e.trim(),e.indexOf(" ")===-1)return void i(t,e);for(var n=e.split(/\s+/),r=0,s=n.length;r<s;r++)i(t,n[r])}function Ce(t,e,i){function n(){++s>=r?i():t[s].call(e,n)}var r=t.length,s=0;t[0].call(e,n)}function $e(e,i,n){for(var r,s,a,h,l,c,u,p=[],v=Object.keys(i),m=v.length;m--;)if(s=v[m],r=i[s]||js,"production"===t.env.NODE_ENV||"$data"!==s)if(l=f(s),Vs.test(l)){if(u={name:s,path:l,options:r,mode:Ts.ONE_WAY,raw:null},a=d(s),null===(h=U(e,a))&&(null!==(h=U(e,a+".sync"))?u.mode=Ts.TWO_WAY:null!==(h=U(e,a+".once"))&&(u.mode=Ts.ONE_TIME)),null!==h)u.raw=h,c=A(h),h=c.expression,u.filters=c.filters,o(h)&&!c.filters?u.optimizedLiteral=!0:(u.dynamic=!0,"production"===t.env.NODE_ENV||u.mode!==Ts.TWO_WAY||Ss.test(h)||(u.mode=Ts.ONE_WAY,jn("Cannot bind two-way prop with non-settable parent path: "+h,n))),u.parentPath=h,"production"!==t.env.NODE_ENV&&r.twoWay&&u.mode!==Ts.TWO_WAY&&jn('Prop "'+s+'" expects a two-way binding type.',n);else if(null!==(h=W(e,a)))u.raw=h;else if("production"!==t.env.NODE_ENV){var g=l.toLowerCase();h=/[A-Z\-]/.test(s)&&(e.getAttribute(g)||e.getAttribute(":"+g)||e.getAttribute("v-bind:"+g)||e.getAttribute(":"+g+".once")||e.getAttribute("v-bind:"+g+".once")||e.getAttribute(":"+g+".sync")||e.getAttribute("v-bind:"+g+".sync")),h?jn("Possible usage error for prop `"+g+"` - did you mean `"+a+"`? HTML is case-insensitive, remember to use kebab-case for props in templates.",n):r.required&&jn("Missing required prop: "+s,n)}p.push(u)}else"production"!==t.env.NODE_ENV&&jn('Invalid prop key: "'+s+'". Prop keys must be valid identifiers.',n);else jn("Do not use $data as prop.",n);return Ee(p)}function Ee(t){return function(e,i){e._props={};for(var n,r,o,a,h,f=e.$options.propsData,p=t.length;p--;)if(n=t[p],h=n.raw,r=n.path,o=n.options,e._props[r]=n,f&&s(f,r)&&xe(e,n,f[r]),null===h)xe(e,n,void 0);else if(n.dynamic)n.mode===Ts.ONE_TIME?(a=(i||e._context||e).$get(n.parentPath),xe(e,n,a)):e._context?e._bindDir({name:"prop",def:Ps,prop:n},null,null,i):xe(e,n,e.$get(n.parentPath));else if(n.optimizedLiteral){var v=u(h);a=v===h?c(l(h)):v,xe(e,n,a)}else a=o.type===Boolean&&(""===h||h===d(n.name))||h,xe(e,n,a)}}function ke(t,e,i,n){var r=e.dynamic&&Ut(e.parentPath),s=i;
92void 0===s&&(s=Ae(t,e)),s=Te(e,s,t);var o=s!==i;De(e,s,t)||(s=void 0),r&&!o?Nt(function(){n(s)}):n(s)}function xe(t,e,i){ke(t,e,i,function(i){xt(t,e.path,i)})}function Oe(t,e,i){ke(t,e,i,function(i){t[e.path]=i})}function Ae(e,i){var n=i.options;if(!s(n,"default"))return n.type!==Boolean&&void 0;var r=n["default"];return b(r)&&"production"!==t.env.NODE_ENV&&jn('Invalid default value for prop "'+i.name+'": Props with type Object/Array must use a factory function to return the default value.',e),"function"==typeof r&&n.type!==Function?r.call(e):r}function De(e,i,n){if(!e.options.required&&(null===e.raw||null==i))return!0;var r=e.options,s=r.type,o=!s,a=[];if(s){Ii(s)||(s=[s]);for(var h=0;h<s.length&&!o;h++){var l=je(i,s[h]);a.push(l.expectedType),o=l.valid}}if(!o)return"production"!==t.env.NODE_ENV&&jn('Invalid prop: type check failed for prop "'+e.name+'". Expected '+a.map(Ve).join(", ")+", got "+Se(i)+".",n),!1;var c=r.validator;return!(c&&!c(i))||("production"!==t.env.NODE_ENV&&jn('Invalid prop: custom validator check failed for prop "'+e.name+'".',n),!1)}function Te(e,i,n){var r=e.options.coerce;return r?"function"==typeof r?r(i):("production"!==t.env.NODE_ENV&&jn('Invalid coerce for prop "'+e.name+'": expected function, got '+typeof r+".",n),i):i}function je(t,e){var i,n;return e===String?(n="string",i=typeof t===n):e===Number?(n="number",i=typeof t===n):e===Boolean?(n="boolean",i=typeof t===n):e===Function?(n="function",i=typeof t===n):e===Object?(n="object",i=y(t)):e===Array?(n="array",i=Ii(t)):i=t instanceof e,{valid:i,expectedType:n}}function Ve(t){return t?t.charAt(0).toUpperCase()+t.slice(1):"custom type"}function Se(t){return Object.prototype.toString.call(t).slice(8,-1)}function Fe(t){Rs.push(t),Ls||(Ls=!0,rn(Pe))}function Pe(){for(var t=document.documentElement.offsetHeight,e=0;e<Rs.length;e++)Rs[e]();return Rs=[],Ls=!1,t}function Re(e,i,n,r){this.id=i,this.el=e,this.enterClass=n&&n.enterClass||i+"-enter",this.leaveClass=n&&n.leaveClass||i+"-leave",this.hooks=n,this.vm=r,this.pendingCssEvent=this.pendingCssCb=this.cancel=this.pendingJsCb=this.op=this.cb=null,this.justEntered=!1,this.entered=this.left=!1,this.typeCache={},this.type=n&&n.type,"production"!==t.env.NODE_ENV&&this.type&&this.type!==Is&&this.type!==Ms&&jn('invalid CSS transition type for transition="'+this.id+'": '+this.type,r);var s=this;["enterNextTick","enterDone","leaveNextTick","leaveDone"].forEach(function(t){s[t]=m(s[t],s)})}function Le(t){if(/svg$/.test(t.namespaceURI)){var e=t.getBoundingClientRect();return!(e.width||e.height)}return!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}function Ie(t,e,i){var n=i||!e._asComponent?qe(t,e):null,r=n&&n.terminal||li(t)||!t.hasChildNodes()?null:Xe(t.childNodes,e);return function(t,e,i,s,o){var a=g(e.childNodes),h=Me(function(){n&&n(t,e,i,s,o),r&&r(t,a,i,s,o)},t);return We(t,h)}}function Me(e,i){"production"===t.env.NODE_ENV&&(i._directives=[]);var n=i._directives.length;e();var r=i._directives.slice(n);r.sort(He);for(var s=0,o=r.length;s<o;s++)r[s]._bind();return r}function He(t,e){return t=t.descriptor.def.priority||Ks,e=e.descriptor.def.priority||Ks,t>e?-1:t===e?0:1}function We(t,e,i,n){function r(r){Ue(t,e,r),i&&n&&Ue(i,n)}return r.dirs=e,r}function Ue(e,i,n){for(var r=i.length;r--;)i[r]._teardown(),"production"===t.env.NODE_ENV||n||e._directives.$remove(i[r])}function ze(t,e,i,n){var r=$e(e,i,t),s=Me(function(){r(t,n)},t);return We(t,s)}function Be(e,i,n){var r,s,o=i._containerAttrs,a=i._replacerAttrs;if(11!==e.nodeType)i._asComponent?(o&&n&&(r=si(o,n)),a&&(s=si(a,i))):s=si(e.attributes,i);else if("production"!==t.env.NODE_ENV&&o){var h=o.filter(function(t){return t.name.indexOf("_v-")<0&&!Ys.test(t.name)&&"slot"!==t.name}).map(function(t){return'"'+t.name+'"'});if(h.length){var l=h.length>1;jn("Attribute"+(l?"s ":" ")+h.join(", ")+(l?" are":" is")+" ignored on component <"+i.el.tagName.toLowerCase()+"> because the component is a fragment instance: http://vuejs.org/guide/components.html#Fragment-Instance")}}return i._containerAttrs=i._replacerAttrs=null,function(t,e,i){var n,o=t._context;o&&r&&(n=Me(function(){r(o,e,null,i)},o));var a=Me(function(){s&&s(t,e)},t);return We(t,a,o,n)}}function qe(t,e){var i=t.nodeType;return 1!==i||li(t)?3===i&&t.data.trim()?Qe(t,e):null:Je(t,e)}function Je(t,e){if("TEXTAREA"===t.tagName){var i=j(t.value);i&&(t.setAttribute(":value",V(i)),t.value="")}var n,r=t.hasAttributes(),s=r&&g(t.attributes);return r&&(n=ii(t,s,e)),n||(n=ti(t,e)),n||(n=ei(t,e)),!n&&r&&(n=si(s,e)),n}function Qe(t,e){if(t._skip)return Ye;var i=j(t.wholeText);if(!i)return null;for(var n=t.nextSibling;n&&3===n.nodeType;)n._skip=!0,n=n.nextSibling;for(var r,s,o=document.createDocumentFragment(),a=0,h=i.length;a<h;a++)s=i[a],r=s.tag?Ze(s,e):document.createTextNode(s.value),o.appendChild(r);return Ge(i,o,e)}function Ye(t,e){J(e)}function Ze(t,e){function i(e){if(!t.descriptor){var i=A(t.value);t.descriptor={name:e,def:Os[e],expression:i.expression,filters:i.filters}}}var n;return t.oneTime?n=document.createTextNode(t.value):t.html?(n=document.createComment("v-html"),i("html")):(n=document.createTextNode(" "),i("text")),n}function Ge(t,e){return function(i,n,r,s){for(var o,a,l,c=e.cloneNode(!0),u=g(c.childNodes),f=0,p=t.length;f<p;f++)o=t[f],a=o.value,o.tag&&(l=u[f],o.oneTime?(a=(s||i).$eval(a),o.html?Y(l,te(a,!0)):l.data=h(a)):i._bindDir(o.descriptor,l,r,s));Y(n,c)}}function Xe(t,e){for(var i,n,r,s=[],o=0,a=t.length;o<a;o++)r=t[o],i=qe(r,e),n=i&&i.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:Xe(r.childNodes,e),s.push(i,n);return s.length?Ke(s):null}function Ke(t){return function(e,i,n,r,s){for(var o,a,h,l=0,c=0,u=t.length;l<u;c++){o=i[c],a=t[l++],h=t[l++];var f=g(o.childNodes);
92a&&a(e,o,n,r,s),h&&h(e,f,n,r,s)}}}function ti(t,e){var i=t.tagName.toLowerCase();if(!Pn.test(i)){var n=yt(e,"elementDirectives",i);return n?ri(t,i,"",e,n):void 0}}function ei(t,e){var i=ft(t,e);if(i){var n=at(t),r={name:"component",ref:n,expression:i.id,def:Js.component,modifiers:{literal:!i.dynamic}},s=function(t,e,i,s,o){n&&xt((s||t).$refs,n,null),t._bindDir(r,e,i,s,o)};return s.terminal=!0,s}}function ii(t,e,i){if(null!==W(t,"v-pre"))return ni;if(t.hasAttribute("v-else")){var n=t.previousElementSibling;if(n&&n.hasAttribute("v-if"))return ni}for(var r,s,o,a,h,l,c,u,f,p,d=0,v=e.length;d<v;d++)r=e[d],s=r.name.replace(Gs,""),(h=s.match(Zs))&&(f=yt(i,"directives",h[1]),f&&f.terminal&&(!p||(f.priority||to)>p.priority)&&(p=f,c=r.name,a=oi(r.name),o=r.value,l=h[1],u=h[2]));return p?ri(t,l,o,i,p,c,u,a):void 0}function ni(){}function ri(t,e,i,n,r,s,o,a){var h=A(i),l={name:e,arg:o,expression:h.expression,filters:h.filters,raw:i,attr:s,modifiers:a,def:r};"for"!==e&&"router-view"!==e||(l.ref=at(t));var c=function(t,e,i,n,r){l.ref&&xt((n||t).$refs,l.ref,null),t._bindDir(l,e,i,n,r)};return c.terminal=!0,c}function si(e,i){function n(t,e,i){var n=i&&hi(i),r=!n&&A(o);m.push({name:t,attr:a,raw:h,def:e,arg:c,modifiers:u,expression:r&&r.expression,filters:r&&r.filters,interp:i,hasOneTime:n})}for(var r,s,o,a,h,l,c,u,f,p,d,v=e.length,m=[];v--;)if(r=e[v],s=a=r.name,o=h=r.value,p=j(o),c=null,u=oi(s),s=s.replace(Gs,""),p)o=V(p),c=s,n("bind",Os.bind,p),"production"!==t.env.NODE_ENV&&"class"===s&&Array.prototype.some.call(e,function(t){return":class"===t.name||"v-bind:class"===t.name})&&jn('class="'+h+'": Do not mix mustache interpolation and v-bind for "class" on the same element. Use one or the other.',i);else if(Xs.test(s))u.literal=!Qs.test(s),n("transition",Js.transition);else if(Ys.test(s))c=s.replace(Ys,""),n("on",Os.on);else if(Qs.test(s))l=s.replace(Qs,""),"style"===l||"class"===l?n(l,Js[l]):(c=l,n("bind",Os.bind));else if(d=s.match(Zs)){if(l=d[1],c=d[2],"else"===l)continue;f=yt(i,"directives",l,!0),f&&n(l,f)}if(m.length)return ai(m)}function oi(t){var e=Object.create(null),i=t.match(Gs);if(i)for(var n=i.length;n--;)e[i[n].slice(1)]=!0;return e}function ai(t){return function(e,i,n,r,s){for(var o=t.length;o--;)e._bindDir(t[o],i,n,r,s)}}function hi(t){for(var e=t.length;e--;)if(t[e].oneTime)return!0}function li(t){return"SCRIPT"===t.tagName&&(!t.hasAttribute("type")||"text/javascript"===t.getAttribute("type"))}function ci(t,e){return e&&(e._containerAttrs=fi(t)),st(t)&&(t=te(t)),e&&(e._asComponent&&!e.template&&(e.template="<slot></slot>"),e.template&&(e._content=it(t),t=ui(t,e))),ct(t)&&(Q(ot("v-start",!0),t),t.appendChild(ot("v-end",!0))),t}function ui(e,i){var n=i.template,r=te(n,!0);if(r){var s=r.firstChild,o=s.tagName&&s.tagName.toLowerCase();return i.replace?(e===document.body&&"production"!==t.env.NODE_ENV&&jn("You are mounting an instance with a template to <body>. This will replace <body> entirely. You should probably use `replace: false` here."),r.childNodes.length>1||1!==s.nodeType||"component"===o||yt(i,"components",o)||z(s,"is")||yt(i,"elementDirectives",o)||s.hasAttribute("v-for")||s.hasAttribute("v-if")?r:(i._replacerAttrs=fi(s),pi(e,s),s)):(e.appendChild(r),e)}"production"!==t.env.NODE_ENV&&jn("Invalid template option: "+n)}function fi(t){if(1===t.nodeType&&t.hasAttributes())return g(t.attributes)}function pi(t,e){for(var i,n,r=t.attributes,s=r.length;s--;)i=r[s].name,n=r[s].value,e.hasAttribute(i)||eo.test(i)?"class"===i&&!j(n)&&(n=n.trim())&&n.split(/\s+/).forEach(function(t){tt(e,t)}):e.setAttribute(i,n)}function di(e,i){if(i){for(var n,r,s=e._slotContents=Object.create(null),o=0,a=i.children.length;o<a;o++)n=i.children[o],(r=n.getAttribute("slot"))&&(s[r]||(s[r]=[])).push(n),"production"!==t.env.NODE_ENV&&U(n,"slot")&&jn('The "slot" attribute must be static.',e.$parent);for(r in s)s[r]=vi(s[r],i);if(i.hasChildNodes()){var h=i.childNodes;if(1===h.length&&3===h[0].nodeType&&!h[0].data.trim())return;s["default"]=vi(i.childNodes,i)}}}function vi(t,e){var i=document.createDocumentFragment();t=g(t);for(var n=0,r=t.length;n<r;n++){var s=t[n];!st(s)||s.hasAttribute("v-if")||s.hasAttribute("v-for")||(e.removeChild(s),s=te(s,!0)),i.appendChild(s)}return i}function mi(e){function i(){}function n(t,e){var i=new Qt(e,t,null,{lazy:!0});return function(){return i.dirty&&i.evaluate(),wt.target&&i.depend(),i.value}}Object.defineProperty(e.prototype,"$data",{get:function(){return this._data},set:function(t){t!==this._data&&this._setData(t)}}),e.prototype._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},e.prototype._initProps=function(){var e=this.$options,i=e.el,n=e.props;n&&!i&&"production"!==t.env.NODE_ENV&&jn("Props will not be compiled if no `el` option is provided at instantiation.",this),i=e.el=M(i),this._propsUnlinkFn=i&&1===i.nodeType&&n?ze(this,i,n,this._scope):null},e.prototype._initData=function(){var e=this.$options.data,i=this._data=e?e():{};y(i)||(i={},"production"!==t.env.NODE_ENV&&jn("data functions should return an object.",this));var n,r,o=this._props,a=Object.keys(i);for(n=a.length;n--;)r=a[n],o&&s(o,r)?"production"!==t.env.NODE_ENV&&jn('Data field "'+r+'" is already defined as a prop. To provide default value for a prop, use the "default" prop option; if you want to pass prop values to an instantiation call, use the "propsData" option.',this):this._proxy(r);kt(i,this)},e.prototype._setData=function(t){t=t||{};var e=this._data;this._data=t;var i,n,r;for(i=Object.keys(e),r=i.length;r--;)n=i[r],n in t||this._unproxy(n);for(i=Object.keys(t),r=i.length;r--;)n=i[r],s(this,n)||this._proxy(n);
92e.__ob__.removeVm(this),kt(t,this),this._digest()},e.prototype._proxy=function(t){if(!a(t)){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(i){e._data[t]=i}})}},e.prototype._unproxy=function(t){a(t)||delete this[t]},e.prototype._digest=function(){for(var t=0,e=this._watchers.length;t<e;t++)this._watchers[t].update(!0)},e.prototype._initComputed=function(){var t=this.$options.computed;if(t)for(var e in t){var r=t[e],s={enumerable:!0,configurable:!0};"function"==typeof r?(s.get=n(r,this),s.set=i):(s.get=r.get?r.cache!==!1?n(r.get,this):m(r.get,this):i,s.set=r.set?m(r.set,this):i),Object.defineProperty(this,e,s)}},e.prototype._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=m(t[e],this)},e.prototype._initMeta=function(){var t=this.$options._meta;if(t)for(var e in t)xt(this,e,t[e])}}function gi(e){function i(t,e){for(var i,n,r,s=e.attributes,o=0,a=s.length;o<a;o++)i=s[o].name,no.test(i)&&(i=i.replace(no,""),n=s[o].value,Ut(n)&&(n+=".apply(this, $arguments)"),r=(t._scope||t._context).$eval(n,!0),r._fromParent=!0,t.$on(i.replace(no),r))}function n(t,e,i){if(i){var n,s,o,a;for(s in i)if(n=i[s],Ii(n))for(o=0,a=n.length;o<a;o++)r(t,e,s,n[o]);else r(t,e,s,n)}}function r(e,i,n,s,o){var a=typeof s;if("function"===a)e[i](n,s,o);else if("string"===a){var h=e.$options.methods,l=h&&h[s];l?e[i](n,l,o):"production"!==t.env.NODE_ENV&&jn('Unknown method: "'+s+'" when registering callback for '+i+': "'+n+'".',e)}else s&&"object"===a&&r(e,i,n,s.handler,s)}function s(){this._isAttached||(this._isAttached=!0,this.$children.forEach(o))}function o(t){!t._isAttached&&H(t.$el)&&t._callHook("attached")}function a(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(h))}function h(t){t._isAttached&&!H(t.$el)&&t._callHook("detached")}e.prototype._initEvents=function(){var t=this.$options;t._asComponent&&i(this,t.el),n(this,"$on",t.events),n(this,"$watch",t.watch)},e.prototype._initDOMHooks=function(){this.$on("hook:attached",s),this.$on("hook:detached",a)},e.prototype._callHook=function(t){this.$emit("pre-hook:"+t);var e=this.$options[t];if(e)for(var i=0,n=e.length;i<n;i++)e[i].call(this);this.$emit("hook:"+t)}}function _i(){}function bi(e,i,n,r,s,o){this.vm=i,this.el=n,this.descriptor=e,this.name=e.name,this.expression=e.expression,this.arg=e.arg,this.modifiers=e.modifiers,this.filters=e.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=r,this._scope=s,this._frag=o,"production"!==t.env.NODE_ENV&&this.el&&(this.el._vue_directives=this.el._vue_directives||[],this.el._vue_directives.push(this))}function yi(t){t.prototype._updateRef=function(t){var e=this.$options._ref;if(e){var i=(this._scope||this._context).$refs;t?i[e]===this&&(i[e]=null):i[e]=this}},t.prototype._compile=function(t){var e=this.$options,i=t;if(t=ci(t,e),this._initElement(t),1!==t.nodeType||null===W(t,"v-pre")){var n=this._context&&this._context.$options,r=Be(t,e,n);di(this,e._content);var s,o=this.constructor;e._linkerCachable&&(s=o.linker,s||(s=o.linker=Ie(t,e)));var a=r(this,t,this._scope),h=s?s(this,t):Ie(t,e)(this,t);this._unlinkFn=function(){a(),h(!0)},e.replace&&Y(i,t),this._isCompiled=!0,this._callHook("compiled")}},t.prototype._initElement=function(t){ct(t)?(this._isFragment=!0,this.$el=this._fragmentStart=t.firstChild,this._fragmentEnd=t.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=t):this.$el=t,this.$el.__vue__=this,this._callHook("beforeCompile")},t.prototype._bindDir=function(t,e,i,n,r){this._directives.push(new bi(t,this,e,i,n,r))},t.prototype._destroy=function(t,e){if(this._isBeingDestroyed)return void(e||this._cleanup());var i,n,r=this,s=function(){!i||n||e||r._cleanup()};t&&this.$el&&(n=!0,this.$remove(function(){n=!1,s()})),this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var o,a=this.$parent;for(a&&!a._isBeingDestroyed&&(a.$children.$remove(this),this._updateRef(!0)),o=this.$children.length;o--;)this.$children[o].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),o=this._watchers.length;o--;)this._watchers[o].teardown();this.$el&&(this.$el.__vue__=null),i=!0,s()},t.prototype._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data&&this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}}
92function wi(e){e.prototype._applyFilters=function(t,e,i,n){var r,s,o,a,h,l,c,u,f;for(l=0,c=i.length;l<c;l++)if(r=i[n?c-l-1:l],s=yt(this.$options,"filters",r.name,!0),s&&(s=n?s.write:s.read||s,"function"==typeof s)){if(o=n?[t,e]:[t],h=n?2:1,r.args)for(u=0,f=r.args.length;u<f;u++)a=r.args[u],o[u+h]=a.dynamic?this.$get(a.value):a.value;t=s.apply(this,o)}return t},e.prototype._resolveComponent=function(i,n){var r;if(r="function"==typeof i?i:yt(this.$options,"components",i,!0))if(r.options)n(r);else if(r.resolved)n(r.resolved);else if(r.requested)r.pendingCallbacks.push(n);else{r.requested=!0;var s=r.pendingCallbacks=[n];r.call(this,function(t){y(t)&&(t=e.extend(t)),r.resolved=t;for(var i=0,n=s.length;i<n;i++)s[i](t)},function(e){"production"!==t.env.NODE_ENV&&jn("Failed to resolve async component"+("string"==typeof i?": "+i:"")+". "+(e?"\nReason: "+e:""))})}}}function Ni(t){function e(t){return JSON.parse(JSON.stringify(t))}t.prototype.$get=function(t,e){var i=Wt(t);if(i){if(e){var n=this;return function(){n.$arguments=g(arguments);var t=i.get.call(n,n);return n.$arguments=null,t}}try{return i.get.call(this,this)}catch(r){}}},t.prototype.$set=function(t,e){var i=Wt(t,!0);i&&i.set&&i.set.call(this,this,e)},t.prototype.$delete=function(t){r(this._data,t)},t.prototype.$watch=function(t,e,i){var n,r=this;"string"==typeof t&&(n=A(t),t=n.expression);var s=new Qt(r,t,e,{deep:i&&i.deep,sync:i&&i.sync,filters:n&&n.filters,user:!i||i.user!==!1});return i&&i.immediate&&e.call(r,s.value),function(){s.teardown()}},t.prototype.$eval=function(t,e){if(ro.test(t)){var i=A(t),n=this.$get(i.expression,e);return i.filters?this._applyFilters(n,null,i.filters):n}return this.$get(t,e)},t.prototype.$interpolate=function(t){var e=j(t),i=this;return e?1===e.length?i.$eval(e[0].value)+"":e.map(function(t){return t.tag?i.$eval(t.value):t.value}).join(""):t},t.prototype.$log=function(t){var i=t?Vt(this._data,t):this._data;if(i&&(i=e(i)),!t){var n;for(n in this.$options.computed)i[n]=e(this[n]);if(this._props)for(n in this._props)i[n]=e(this[n])}console.log(i)}}function Ci(t){function e(t,e,n,r,s,o){e=i(e);var a=!H(e),h=r===!1||a?s:o,l=!a&&!t._isAttached&&!H(t.$el);return t._isFragment?(ht(t._fragmentStart,t._fragmentEnd,function(i){h(i,e,t)}),n&&n()):h(t.$el,e,t,n),l&&t._callHook("attached"),t}function i(t){return"string"==typeof t?document.querySelector(t):t}function n(t,e,i,n){e.appendChild(t),n&&n()}function r(t,e,i,n){B(t,e),n&&n()}function s(t,e,i){J(t),i&&i()}t.prototype.$nextTick=function(t){rn(t,this)},t.prototype.$appendTo=function(t,i,r){return e(this,t,i,r,n,P)},t.prototype.$prependTo=function(t,e,n){return t=i(t),t.hasChildNodes()?this.$before(t.firstChild,e,n):this.$appendTo(t,e,n),this},t.prototype.$before=function(t,i,n){return e(this,t,i,n,r,R)},t.prototype.$after=function(t,e,n){return t=i(t),t.nextSibling?this.$before(t.nextSibling,e,n):this.$appendTo(t.parentNode,e,n),this},t.prototype.$remove=function(t,e){if(!this.$el.parentNode)return t&&t();var i=this._isAttached&&H(this.$el);i||(e=!1);var n=this,r=function(){i&&n._callHook("detached"),t&&t()};if(this._isFragment)lt(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var o=e===!1?s:L;o(this.$el,this,r)}return this}}function $i(t){function e(t,e,n){var r=t.$parent;if(r&&n&&!i.test(e))for(;r;)r._eventsCount[e]=(r._eventsCount[e]||0)+n,r=r.$parent}t.prototype.$on=function(t,i){return(this._events[t]||(this._events[t]=[])).push(i),e(this,t,1),this},t.prototype.$once=function(t,e){function i(){n.$off(t,i),e.apply(this,arguments)}var n=this;return i.fn=e,this.$on(t,i),this},t.prototype.$off=function(t,i){var n;if(!arguments.length){if(this.$parent)for(t in this._events)n=this._events[t],n&&e(this,t,-n.length);return this._events={},this}if(n=this._events[t],!n)return this;if(1===arguments.length)return e(this,t,-n.length),this._events[t]=null,this;for(var r,s=n.length;s--;)if(r=n[s],r===i||r.fn===i){e(this,t,-1),n.splice(s,1);break}return this},t.prototype.$emit=function(t){var e="string"==typeof t;t=e?t:t.name;var i=this._events[t],n=e||!i;if(i){i=i.length>1?g(i):i;var r=e&&i.some(function(t){return t._fromParent});r&&(n=!1);
92for(var s=g(arguments,1),o=0,a=i.length;o<a;o++){var h=i[o],l=h.apply(this,s);l!==!0||r&&!h._fromParent||(n=!0)}}return n},t.prototype.$broadcast=function(t){var e="string"==typeof t;if(t=e?t:t.name,this._eventsCount[t]){var i=this.$children,n=g(arguments);e&&(n[0]={name:t,source:this});for(var r=0,s=i.length;r<s;r++){var o=i[r],a=o.$emit.apply(o,n);a&&o.$broadcast.apply(o,n)}return this}},t.prototype.$dispatch=function(t){var e=this.$emit.apply(this,arguments);if(e){var i=this.$parent,n=g(arguments);for(n[0]={name:t,source:this};i;)e=i.$emit.apply(i,n),i=e?i.$parent:null;return this}};var i=/^hook:/}function Ei(e){function i(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}e.prototype.$mount=function(e){return this._isCompiled?void("production"!==t.env.NODE_ENV&&jn("$mount() should be called only once.",this)):(e=M(e),e||(e=document.createElement("div")),this._compile(e),this._initDOMHooks(),H(this.$el)?(this._callHook("attached"),i.call(this)):this.$once("hook:attached",i),this)},e.prototype.$destroy=function(t,e){this._destroy(t,e)},e.prototype.$compile=function(t,e,i,n){return Ie(t,this.$options,!0)(this,t,e,i,n)}}function ki(t){this._init(t)}function xi(t,e,i){return i=i?parseInt(i,10):0,e=l(e),"number"==typeof e?t.slice(i,i+e):t}function Oi(t,e,i){if(t=ho(t),null==e)return t;if("function"==typeof e)return t.filter(e);e=(""+e).toLowerCase();for(var n,r,s,o,a="in"===i?3:2,h=Array.prototype.concat.apply([],g(arguments,a)),l=[],c=0,u=t.length;c<u;c++)if(n=t[c],s=n&&n.$value||n,o=h.length){for(;o--;)if(r=h[o],"$key"===r&&Di(n.$key,e)||Di(Vt(s,r),e)){l.push(n);break}}else Di(n,e)&&l.push(n);return l}function Ai(t){function e(t,e,i){var r=n[i];return r&&("$key"!==r&&(b(t)&&"$value"in t&&(t=t.$value),b(e)&&"$value"in e&&(e=e.$value)),t=b(t)?Vt(t,r):t,e=b(e)?Vt(e,r):e),t===e?0:t>e?s:-s}var i=null,n=void 0;t=ho(t);var r=g(arguments,1),s=r[r.length-1];"number"==typeof s?(s=s<0?-1:1,r=r.length>1?r.slice(0,-1):r):s=1;var o=r[0];return o?("function"==typeof o?i=function(t,e){return o(t,e)*s}:(n=Array.prototype.concat.apply([],r),i=function(t,r,s){return s=s||0,s>=n.length-1?e(t,r,s):e(t,r,s)||i(t,r,s+1)}),t.slice().sort(i)):t}function Di(t,e){var i;if(y(t)){var n=Object.keys(t);for(i=n.length;i--;)if(Di(t[n[i]],e))return!0}else if(Ii(t)){for(i=t.length;i--;)if(Di(t[i],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}function Ti(e){function i(t){return new Function("return function "+v(t)+" (options) { this._init(options) }")()}e.options={directives:Os,elementDirectives:ao,filters:co,transitions:{},components:{},partials:{},replace:!0},e.util=qn,e.config=Tn,e.set=n,e["delete"]=r,e.nextTick=rn,e.compiler=io,e.FragmentFactory=he,e.internalDirectives=Js,e.parsers={path:cr,text:On,template:Hr,directive:Nn,expression:$r},e.cid=0;var s=1;e.extend=function(e){e=e||{};var n=this,r=0===n.cid;if(r&&e._Ctor)return e._Ctor;var o=e.name||n.options.name;
92"production"!==t.env.NODE_ENV&&(/^[a-zA-Z][\w-]*$/.test(o)||(jn('Invalid component name: "'+o+'". Component names can only contain alphanumeric characaters and the hyphen.'),o=null));var a=i(o||"VueComponent");return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=s++,a.options=bt(n.options,e),a["super"]=n,a.extend=n.extend,Tn._assetTypes.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),r&&(e._Ctor=a),a},e.use=function(t){if(!t.installed){var e=g(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),t.installed=!0,this}},e.mixin=function(t){e.options=bt(e.options,t)},Tn._assetTypes.forEach(function(i){e[i]=function(n,r){return r?("production"!==t.env.NODE_ENV&&"component"===i&&(Pn.test(n)||Rn.test(n))&&jn("Do not use built-in or reserved HTML elements as component id: "+n),"component"===i&&y(r)&&(r.name||(r.name=n),r=e.extend(r)),this.options[i+"s"][n]=r,r):this.options[i+"s"][n]}}),_(e.transition,Sn)}var ji=Object.prototype.hasOwnProperty,Vi=/^\s?(true|false|-?[\d\.]+|'[^']*'|"[^"]*")\s?$/,Si=/-(\w)/g,Fi=/([a-z\d])([A-Z])/g,Pi=/(?:^|[-_\/])(\w)/g,Ri=Object.prototype.toString,Li="[object Object]",Ii=Array.isArray,Mi="__proto__"in{},Hi="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window),Wi=Hi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ui=Hi&&window.navigator.userAgent.toLowerCase(),zi=Ui&&Ui.indexOf("trident")>0,Bi=Ui&&Ui.indexOf("msie 9.0")>0,qi=Ui&&Ui.indexOf("android")>0,Ji=Ui&&/(iphone|ipad|ipod|ios)/i.test(Ui),Qi=Ji&&Ui.match(/os ([\d_]+)/),Yi=Qi&&Qi[1].split("_"),Zi=Yi&&Number(Yi[0])>=9&&Number(Yi[1])>=3&&!window.indexedDB,Gi=void 0,Xi=void 0,Ki=void 0,tn=void 0;if(Hi&&!Bi){var en=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,nn=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;Gi=en?"WebkitTransition":"transition",Xi=en?"webkitTransitionEnd":"transitionend",Ki=nn?"WebkitAnimation":"animation",tn=nn?"webkitAnimationEnd":"animationend"}var rn=function(){function t(){r=!1;var t=n.slice(0);n=[];for(var e=0;e<t.length;e++)t[e]()}var e,n=[],r=!1;if("undefined"==typeof MutationObserver||Zi){var s=Hi?window:"undefined"!=typeof i?i:{};e=s.setImmediate||setTimeout}else{var o=1,a=new MutationObserver(t),h=document.createTextNode(o);a.observe(h,{characterData:!0}),e=function(){o=(o+1)%2,h.data=o}}return function(i,s){var o=s?function(){i.call(s)}:i;n.push(o),r||(r=!0,e(t,0))}}(),sn=void 0;"undefined"!=typeof Set&&Set.toString().match(/native code/)?sn=Set:(sn=function(){this.set=Object.create(null)},sn.prototype.has=function(t){return void 0!==this.set[t]},sn.prototype.add=function(t){this.set[t]=1},sn.prototype.clear=function(){this.set=Object.create(null)});var on=k.prototype;on.put=function(t,e){var i,n=this.get(t,!0);return n||(this.size===this.limit&&(i=this.shift()),n={key:t},this._keymap[t]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size++),n.value=e,i},on.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0,this.size--),t},on.get=function(t,e){var i=this._keymap[t];if(void 0!==i)return i===this.tail?e?i:i.value:(i.newer&&(i===this.head&&(this.head=i.newer),i.newer.older=i.older),i.older&&(i.older.newer=i.newer),i.newer=void 0,i.older=this.tail,this.tail&&(this.tail.newer=i),this.tail=i,e?i:i.value)};var an,hn,ln,cn,un,fn,pn,dn,vn,mn,gn,_n,bn=new k(1e3),yn=/[^\s'"]+|'[^']*'|"[^"]*"/g,wn=/^in$|^-?\d+/,Nn=Object.freeze({parseDirective:A}),Cn=/[-.*+?^${}()|[\]\/\\]/g,$n=void 0,En=void 0,kn=void 0,xn=/[^|]\|[^|]/,On=Object.freeze({compileRegex:T,parseText:j,tokensToExp:V}),An=["{{","}}"],Dn=["{{{","}}}"],Tn=Object.defineProperties({debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,devtools:"production"!==t.env.NODE_ENV,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100},{delimiters:{get:function(){return An},set:function(t){An=t,T()},configurable:!0,enumerable:!0},unsafeDelimiters:{get:function(){return Dn},set:function(t){Dn=t,T()},configurable:!0,enumerable:!0}}),jn=void 0,Vn=void 0;"production"!==t.env.NODE_ENV&&!function(){var t="undefined"!=typeof console;jn=function(e,i){t&&!Tn.silent&&console.error("[Vue warn]: "+e+(i?Vn(i):""))},Vn=function(t){var e=t._isVue?t.$options.name:t.name;return e?" (found in component: <"+d(e)+">)":""}}();var Sn=Object.freeze({appendWithTransition:P,beforeWithTransition:R,removeWithTransition:L,applyTransition:I}),Fn=/^v-ref:/,Pn=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/i,Rn=/^(slot|partial|component)$/i,Ln=void 0;"production"!==t.env.NODE_ENV&&(Ln=function(t,e){return e.indexOf("-")>-1?t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:/HTMLUnknownElement/.test(t.toString())&&!/^(data|time|rtc|rb|details|dialog|summary)$/.test(e)});var In=Tn.optionMergeStrategies=Object.create(null);In.data=function(e,i,n){return n?e||i?function(){var t="function"==typeof i?i.call(n):i,r="function"==typeof e?e.call(n):void 0;return t?dt(t,r):r}:void 0:i?"function"!=typeof i?("production"!==t.env.NODE_ENV&&jn('The "data" option should be a function that returns a per-instance value in component definitions.',n),e):e?function(){return dt(i.call(this),e.call(this))}:i:e},In.el=function(e,i,n){if(!n&&i&&"function"!=typeof i)return void("production"!==t.env.NODE_ENV&&jn('The "el" option should be a function that returns a per-instance value in component definitions.',n));var r=i||e;return n&&"function"==typeof r?r.call(n):r},In.init=In.created=In.ready=In.attached=In.detached=In.beforeCompile=In.compiled=In.beforeDestroy=In.destroyed=In.activate=function(t,e){return e?t?t.concat(e):Ii(e)?e:[e]:t}
92,Tn._assetTypes.forEach(function(t){In[t+"s"]=vt}),In.watch=In.events=function(t,e){if(!e)return t;if(!t)return e;var i={};_(i,t);for(var n in e){var r=i[n],s=e[n];r&&!Ii(r)&&(r=[r]),i[n]=r?r.concat(s):[s]}return i},In.props=In.methods=In.computed=function(t,e){if(!e)return t;if(!t)return e;var i=Object.create(null);return _(i,t),_(i,e),i};var Mn=function(t,e){return void 0===e?t:e},Hn=0;wt.target=null,wt.prototype.addSub=function(t){this.subs.push(t)},wt.prototype.removeSub=function(t){this.subs.$remove(t)},wt.prototype.depend=function(){wt.target.addDep(this)},wt.prototype.notify=function(){for(var t=g(this.subs),e=0,i=t.length;e<i;e++)t[e].update()};var Wn=Array.prototype,Un=Object.create(Wn);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Wn[t];w(Un,t,function(){for(var i=arguments.length,n=new Array(i);i--;)n[i]=arguments[i];var r,s=e.apply(this,n),o=this.__ob__;switch(t){case"push":r=n;break;case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&o.observeArray(r),o.dep.notify(),s})}),w(Wn,"$set",function(t,e){return t>=this.length&&(this.length=Number(t)+1),this.splice(t,1,e)[0]}),w(Wn,"$remove",function(t){if(this.length){var e=C(this,t);return e>-1?this.splice(e,1):void 0}});var zn=Object.getOwnPropertyNames(Un),Bn=!0;Ct.prototype.walk=function(t){for(var e=Object.keys(t),i=0,n=e.length;i<n;i++)this.convert(e[i],t[e[i]])},Ct.prototype.observeArray=function(t){for(var e=0,i=t.length;e<i;e++)kt(t[e])},Ct.prototype.convert=function(t,e){xt(this.value,t,e)},Ct.prototype.addVm=function(t){(this.vms||(this.vms=[])).push(t)},Ct.prototype.removeVm=function(t){this.vms.$remove(t)};var qn=Object.freeze({defineReactive:xt,set:n,del:r,hasOwn:s,isLiteral:o,isReserved:a,_toString:h,toNumber:l,toBoolean:c,stripQuotes:u,camelize:f,hyphenate:d,classify:v,bind:m,toArray:g,extend:_,isObject:b,isPlainObject:y,def:w,debounce:N,indexOf:C,cancellable:$,looseEqual:E,isArray:Ii,hasProto:Mi,inBrowser:Hi,devtools:Wi,isIE:zi,isIE9:Bi,isAndroid:qi,isIos:Ji,iosVersionMatch:Qi,iosVersion:Yi,hasMutationObserverBug:Zi,get transitionProp(){return Gi},get transitionEndEvent(){return Xi},get animationProp(){return Ki},get animationEndEvent(){return tn},nextTick:rn,get _Set(){return sn},query:M,inDoc:H,getAttr:W,getBindAttr:U,hasBindAttr:z,before:B,after:q,remove:J,prepend:Q,replace:Y,on:Z,off:G,setClass:K,addClass:tt,removeClass:et,extractContent:it,trimNode:nt,isTemplate:st,createAnchor:ot,findRef:at,mapNodeRange:ht,removeNodeRange:lt,isFragment:ct,getOuterHTML:ut,mergeOptions:bt,resolveAsset:yt,checkComponentAttr:ft,commonTagRE:Pn,reservedTagRE:Rn,get warn(){return jn}}),Jn=0,Qn=new k(1e3),Yn=0,Zn=1,Gn=2,Xn=3,Kn=0,tr=1,er=2,ir=3,nr=4,rr=5,sr=6,or=7,ar=8,hr=[];hr[Kn]={ws:[Kn],ident:[ir,Yn],"[":[nr],eof:[or]},hr[tr]={ws:[tr],".":[er],"[":[nr],eof:[or]},hr[er]={ws:[er],ident:[ir,Yn]},hr[ir]={ident:[ir,Yn],0:[ir,Yn],number:[ir,Yn],ws:[tr,Zn],".":[er,Zn],"[":[nr,Zn],eof:[or,Zn]},hr[nr]={"'":[rr,Yn],'"':[sr,Yn],"[":[nr,Gn],"]":[tr,Xn],eof:ar,"else":[nr,Yn]},hr[rr]={"'":[nr,Yn],eof:ar,"else":[rr,Yn]},hr[sr]={'"':[nr,Yn],eof:ar,"else":[sr,Yn]};var lr;"production"!==t.env.NODE_ENV&&(lr=function(t,e){jn('You are setting a non-existent path "'+t.raw+'" on a vm instance. Consider pre-initializing the property with the "data" option for more reliable reactivity and better performance.',e)});var cr=Object.freeze({parsePath:jt,getPath:Vt,setPath:St}),ur=new k(1e3),fr="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",pr=new RegExp("^("+fr.replace(/,/g,"\\b|")+"\\b)"),dr="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,protected,static,interface,private,public",vr=new RegExp("^("+dr.replace(/,/g,"\\b|")+"\\b)"),mr=/\s/g,gr=/\n/g,_r=/[\{,]\s*[\w\$_]+\s*:|('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`)|new |typeof |void /g,br=/"(\d+)"/g,yr=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,wr=/[^\w$\.](?:[A-Za-z_$][\w$]*)/g,Nr=/^(?:true|false|null|undefined|Infinity|NaN)$/,Cr=[],$r=Object.freeze({parseExpression:Wt,isSimplePath:Ut}),Er=[],kr=[],xr={},Or={},Ar=!1,Dr=0;Qt.prototype.get=function(){this.beforeGet();var e,i=this.scope||this.vm;try{e=this.getter.call(i,i)}catch(n){"production"!==t.env.NODE_ENV&&Tn.warnExpressionErrors&&jn('Error when evaluating expression "'+this.expression+'": '+n.toString(),this.vm)}return this.deep&&Yt(e),this.preProcess&&(e=this.preProcess(e)),this.filters&&(e=i._applyFilters(e,null,this.filters,!1)),this.postProcess&&(e=this.postProcess(e)),this.afterGet(),e},Qt.prototype.set=function(e){var i=this.scope||this.vm;this.filters&&(e=i._applyFilters(e,this.value,this.filters,!0));try{this.setter.call(i,i,e)}catch(n){"production"!==t.env.NODE_ENV&&Tn.warnExpressionErrors&&jn('Error when evaluating setter "'+this.expression+'": '+n.toString(),this.vm)}var r=i.$forContext;if(r&&r.alias===this.expression){if(r.filters)return void("production"!==t.env.NODE_ENV&&jn("It seems you are using two-way binding on a v-for alias ("+this.expression+"), and the v-for has filters. This will not work properly. Either remove the filters or use an array of objects and bind to object properties instead.",this.vm));r._withLock(function(){i.$key?r.rawValue[i.$key]=e:r.rawValue.$set(i.$index,e)})}},Qt.prototype.beforeGet=function(){wt.target=this}
92,Qt.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Qt.prototype.afterGet=function(){wt.target=null;for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var i=this.depIds;this.depIds=this.newDepIds,this.newDepIds=i,this.newDepIds.clear(),i=this.deps,this.deps=this.newDeps,this.newDeps=i,this.newDeps.length=0},Qt.prototype.update=function(e){this.lazy?this.dirty=!0:this.sync||!Tn.async?this.run():(this.shallow=this.queued?!!e&&this.shallow:!!e,this.queued=!0,"production"!==t.env.NODE_ENV&&Tn.debug&&(this.prevError=new Error("[vue] async stack trace")),Jt(this))},Qt.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||(b(e)||this.deep)&&!this.shallow){var i=this.value;this.value=e;var n=this.prevError;if("production"!==t.env.NODE_ENV&&Tn.debug&&n){this.prevError=null;try{this.cb.call(this.vm,e,i)}catch(r){throw rn(function(){throw n},0),r}}else this.cb.call(this.vm,e,i)}this.queued=this.shallow=!1}},Qt.prototype.evaluate=function(){var t=wt.target;this.value=this.get(),this.dirty=!1,wt.target=t}
92,Qt.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Qt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._vForRemoving||this.vm._watchers.$remove(this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}};var Tr=new sn,jr={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(t){this.el[this.attr]=h(t)}},Vr=new k(1e3),Sr=new k(1e3),Fr={efault:[0,"",""],legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]};Fr.td=Fr.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],Fr.option=Fr.optgroup=[1,'<select multiple="multiple">',"</select>"],Fr.thead=Fr.tbody=Fr.colgroup=Fr.caption=Fr.tfoot=[1,"<table>","</table>"],Fr.g=Fr.defs=Fr.symbol=Fr.use=Fr.image=Fr.text=Fr.circle=Fr.ellipse=Fr.line=Fr.path=Fr.polygon=Fr.polyline=Fr.rect=[1,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"version="1.1">',"</svg>"];var Pr=/<([\w:-]+)/,Rr=/&#?\w+?;/,Lr=/<!--/,Ir=function(){if(Hi){var t=document.createElement("div");return t.innerHTML="<template>1</template>",!t.cloneNode(!0).firstChild.innerHTML}return!1}(),Mr=function(){if(Hi){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}return!1}(),Hr=Object.freeze({cloneNode:Kt,parseTemplate:te}),Wr={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=ot("v-html"),Y(this.el,this.anchor))},update:function(t){t=h(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this.nodes.length;e--;)J(this.nodes[e]);var i=te(t,!0,!0);this.nodes=g(i.childNodes),B(i,this.anchor)}};ee.prototype.callHook=function(t){var e,i;for(e=0,i=this.childFrags.length;e<i;e++)this.childFrags[e].callHook(t);for(e=0,i=this.children.length;e<i;e++)t(this.children[e])},ee.prototype.beforeRemove=function(){var t,e;for(t=0,e=this.childFrags.length;t<e;t++)this.childFrags[t].beforeRemove(!1);for(t=0,e=this.children.length;t<e;t++)this.children[t].$destroy(!1,!0);var i=this.unlink.dirs;for(t=0,e=i.length;t<e;t++)i[t]._watcher&&i[t]._watcher.teardown()},ee.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.node.__v_frag=null,this.unlink()};var Ur=new k(5e3);he.prototype.create=function(t,e,i){var n=Kt(this.template);return new ee(this.linker,this.vm,n,t,e,i)};var zr=700,Br=800,qr=850,Jr=1100,Qr=1500,Yr=1500,Zr=1750,Gr=2100,Xr=2200,Kr=2300,ts=0,es={priority:Xr,terminal:!0,params:["track-by","stagger","enter-stagger","leave-stagger"],bind:function(){var e=this.expression.match(/(.*) (?:in|of) (.*)/);if(e){var i=e[1].match(/\((.*),(.*)\)/);i?(this.iterator=i[1].trim(),this.alias=i[2].trim()):this.alias=e[1].trim(),this.expression=e[2]}if(!this.alias)return void("production"!==t.env.NODE_ENV&&jn('Invalid v-for expression "'+this.descriptor.raw+'": alias is required.',this.vm));this.id="__v-for__"+ ++ts;var n=this.el.tagName;this.isOption=("OPTION"===n||"OPTGROUP"===n)&&"SELECT"===this.el.parentNode.tagName,this.start=ot("v-for-start"),this.end=ot("v-for-end"),Y(this.el,this.end),B(this.start,this.end),this.cache=Object.create(null),this.factory=new he(this.vm,this.el)},update:function(t){this.diff(t),this.updateRef(),this.updateModel()},diff:function(t){var e,i,n,r,o,a,h=t[0],l=this.fromObject=b(h)&&s(h,"$key")&&s(h,"$value"),c=this.params.trackBy,u=this.frags,f=this.frags=new Array(t.length),p=this.alias,d=this.iterator,v=this.start,m=this.end,g=H(v),_=!u;for(e=0,i=t.length;e<i;e++)h=t[e],r=l?h.$key:null,o=l?h.$value:h,a=!b(o),n=!_&&this.getCachedFrag(o,e,r),n?(n.reused=!0,n.scope.$index=e,r&&(n.scope.$key=r),d&&(n.scope[d]=null!==r?r:e),(c||l||a)&&Nt(function(){n.scope[p]=o})):(n=this.create(o,p,e,r),n.fresh=!_),f[e]=n,_&&n.before(m);if(!_){var y=0,w=u.length-f.length;for(this.vm._vForRemoving=!0,e=0,i=u.length;e<i;
92e++)n=u[e],n.reused||(this.deleteCachedFrag(n),this.remove(n,y++,w,g));this.vm._vForRemoving=!1,y&&(this.vm._watchers=this.vm._watchers.filter(function(t){return t.active}));var N,C,$,E=0;for(e=0,i=f.length;e<i;e++)n=f[e],N=f[e-1],C=N?N.staggerCb?N.staggerAnchor:N.end||N.node:v,n.reused&&!n.staggerCb?($=le(n,v,this.id),$===N||$&&le($,v,this.id)===N||this.move(n,C)):this.insert(n,E++,C,g),n.reused=n.fresh=!1}},create:function(t,e,i,n){var r=this._host,s=this._scope||this.vm,o=Object.create(s);o.$refs=Object.create(s.$refs),o.$els=Object.create(s.$els),o.$parent=s,o.$forContext=this,Nt(function(){xt(o,e,t)}),xt(o,"$index",i),n?xt(o,"$key",n):o.$key&&w(o,"$key",null),this.iterator&&xt(o,this.iterator,null!==n?n:i);var a=this.factory.create(r,o,this._frag);return a.forId=this.id,this.cacheFrag(t,a,i,n),a},updateRef:function(){var t=this.descriptor.ref;if(t){var e,i=(this._scope||this.vm).$refs;this.fromObject?(e={},this.frags.forEach(function(t){e[t.scope.$key]=ce(t)})):e=this.frags.map(ce),i[t]=e}},updateModel:function(){if(this.isOption){var t=this.start.parentNode,e=t&&t.__v_model;e&&e.forceUpdate()}},insert:function(t,e,i,n){t.staggerCb&&(t.staggerCb.cancel(),t.staggerCb=null);var r=this.getStagger(t,e,null,"enter");if(n&&r){var s=t.staggerAnchor;s||(s=t.staggerAnchor=ot("stagger-anchor"),s.__v_frag=t),q(s,i);var o=t.staggerCb=$(function(){t.staggerCb=null,t.before(s),J(s)});setTimeout(o,r)}else{var a=i.nextSibling;a||(q(this.end,i),a=this.end),t.before(a)}},remove:function(t,e,i,n){if(t.staggerCb)return t.staggerCb.cancel(),void(t.staggerCb=null);var r=this.getStagger(t,e,i,"leave");if(n&&r){var s=t.staggerCb=$(function(){t.staggerCb=null,t.remove()});setTimeout(s,r)}else t.remove()},move:function(t,e){e.nextSibling||this.end.parentNode.appendChild(this.end),t.before(e.nextSibling,!1)},cacheFrag:function(e,i,n,r){var o,a=this.params.trackBy,h=this.cache,l=!b(e);r||a||l?(o=fe(n,r,e,a),h[o]?"$index"!==a&&"production"!==t.env.NODE_ENV&&this.warnDuplicate(e):h[o]=i):(o=this.id,s(e,o)?null===e[o]?e[o]=i:"production"!==t.env.NODE_ENV&&this.warnDuplicate(e):Object.isExtensible(e)?w(e,o,i):"production"!==t.env.NODE_ENV&&jn("Frozen v-for objects cannot be automatically tracked, make sure to provide a track-by key.")),i.raw=e},getCachedFrag:function(e,i,n){var r,s=this.params.trackBy,o=!b(e);if(n||s||o){var a=fe(i,n,e,s);r=this.cache[a]}else r=e[this.id];return r&&(r.reused||r.fresh)&&"production"!==t.env.NODE_ENV&&this.warnDuplicate(e),r},deleteCachedFrag:function(t){var e=t.raw,i=this.params.trackBy,n=t.scope,r=n.$index,o=s(n,"$key")&&n.$key,a=!b(e);if(i||o||a){var h=fe(r,o,e,i);this.cache[h]=null}else e[this.id]=null,t.raw=null},getStagger:function(t,e,i,n){n+="Stagger";
92var r=t.node.__v_trans,s=r&&r.hooks,o=s&&(s[n]||s.stagger);return o?o.call(t,e,i):e*parseInt(this.params[n]||this.params.stagger,10)},_preProcess:function(t){return this.rawValue=t,t},_postProcess:function(t){if(Ii(t))return t;if(y(t)){for(var e,i=Object.keys(t),n=i.length,r=new Array(n);n--;)e=i[n],r[n]={$key:e,$value:t[e]};return r}return"number"!=typeof t||isNaN(t)||(t=ue(t)),t||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var t,e=this.frags.length;e--;)t=this.frags[e],this.deleteCachedFrag(t),t.destroy()}};"production"!==t.env.NODE_ENV&&(es.warnDuplicate=function(t){jn('Duplicate value found in v-for="'+this.descriptor.raw+'": '+JSON.stringify(t)+'. Use track-by="$index" if you are expecting duplicate values.',this.vm)});var is={priority:Gr,terminal:!0,bind:function(){var e=this.el;if(e.__vue__)"production"!==t.env.NODE_ENV&&jn('v-if="'+this.expression+'" cannot be used on an instance root element.',this.vm),this.invalid=!0;else{var i=e.nextElementSibling;i&&null!==W(i,"v-else")&&(J(i),this.elseEl=i),this.anchor=ot("v-if"),Y(e,this.anchor)}},update:function(t){this.invalid||(t?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.factory||(this.factory=new he(this.vm,this.el)),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseEl&&!this.elseFrag&&(this.elseFactory||(this.elseFactory=new he(this.elseEl._context||this.vm,this.elseEl)),this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy(),this.elseFrag&&this.elseFrag.destroy()}},ns={bind:function(){var t=this.el.nextElementSibling;t&&null!==W(t,"v-else")&&(this.elseEl=t)},update:function(t){this.apply(this.el,t),this.elseEl&&this.apply(this.elseEl,!t)},apply:function(t,e){function i(){t.style.display=e?"":"none"}H(t)?I(t,e?1:-1,i,this.vm):i()}},rs={bind:function(){var t=this,e=this.el,i="range"===e.type,n=this.params.lazy,r=this.params.number,s=this.params.debounce,o=!1;if(qi||i||(this.on("compositionstart",function(){o=!0}),this.on("compositionend",function(){o=!1,n||t.listener()})),this.focused=!1,i||n||(this.on("focus",function(){t.focused=!0}),this.on("blur",function(){t.focused=!1,t._frag&&!t._frag.inserted||t.rawListener()})),this.listener=this.rawListener=function(){if(!o&&t._bound){var n=r||i?l(e.value):e.value;t.set(n),rn(function(){t._bound&&!t.focused&&t.update(t._watcher.value)})}},s&&(this.listener=N(this.listener,s)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery){var a=jQuery.fn.on?"on":"bind";jQuery(e)[a]("change",this.rawListener),n||jQuery(e)[a]("input",this.listener)}else this.on("change",this.rawListener),n||this.on("input",this.listener);!n&&Bi&&(this.on("cut",function(){rn(t.listener)}),this.on("keyup",function(e){46!==e.keyCode&&8!==e.keyCode||t.listener()})),(e.hasAttribute("value")||"TEXTAREA"===e.tagName&&e.value.trim())&&(this.afterBind=this.listener)},update:function(t){t=h(t),t!==this.el.value&&(this.el.value=t)},unbind:function(){var t=this.el;if(this.hasjQuery){var e=jQuery.fn.off?"off":"unbind";jQuery(t)[e]("change",this.listener),jQuery(t)[e]("input",this.listener)}}},ss={bind:function(){var t=this,e=this.el;this.getValue=function(){if(e.hasOwnProperty("_value"))return e._value;var i=e.value;return t.params.number&&(i=l(i)),i},this.listener=function(){t.set(t.getValue())},this.on("change",this.listener),e.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){this.el.checked=E(t,this.getValue())}},os={bind:function(){var t=this,e=this,i=this.el;this.forceUpdate=function(){e._watcher&&e.update(e._watcher.get())};var n=this.multiple=i.hasAttribute("multiple");this.listener=function(){var t=pe(i,n);t=e.params.number?Ii(t)?t.map(l):l(t):t,e.set(t)},this.on("change",this.listener);var r=pe(i,n,!0);(n&&r.length||!n&&null!==r)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",function(){rn(t.forceUpdate)}),H(i)||rn(this.forceUpdate)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var i,n,r=this.multiple&&Ii(t),s=e.options,o=s.length;o--;)i=s[o],n=i.hasOwnProperty("_value")?i._value:i.value,i.selected=r?de(t,n)>-1:E(t,n)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}},as={bind:function(){function t(){var t=i.checked;return t&&i.hasOwnProperty("_trueValue")?i._trueValue:!t&&i.hasOwnProperty("_falseValue")?i._falseValue:t}var e=this,i=this.el;this.getValue=function(){return i.hasOwnProperty("_value")?i._value:e.params.number?l(i.value):i.value},this.listener=function(){var n=e._watcher.value;if(Ii(n)){var r=e.getValue();i.checked?C(n,r)<0&&n.push(r):n.$remove(r)}else e.set(t())},this.on("change",this.listener),i.hasAttribute("checked")&&(this.afterBind=this.listener)},update:function(t){var e=this.el;Ii(t)?e.checked=C(t,this.getValue())>-1:e.hasOwnProperty("_trueValue")?e.checked=E(t,e._trueValue):e.checked=!!t}},hs={text:rs,radio:ss,select:os,checkbox:as},ls={priority:Br,twoWay:!0,handlers:hs,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite&&"production"!==t.env.NODE_ENV&&jn('It seems you are using a read-only filter with v-model="'+this.descriptor.raw+'". You might want to use a two-way filter to ensure correct behavior.',this.vm);var e,i=this.el,n=i.tagName;if("INPUT"===n)e=hs[i.type]||hs.text;else if("SELECT"===n)e=hs.select;else{if("TEXTAREA"!==n)return void("production"!==t.env.NODE_ENV&&jn("v-model does not support element type: "+n,this.vm));e=hs.text}i.__v_model=this,e.bind.call(this),this.update=e.update,this._unbind=e.unbind},checkFilters:function(){var t=this.filters;if(t)for(var e=t.length;e--;){var i=yt(this.vm.$options,"filters",t[e].name);("function"==typeof i||i.read)&&(this.hasRead=!0),i.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}},cs={esc:27,tab:9,enter:13,space:32,"delete":[8,46],up:38,left:37,right:39,down:40},us={priority:zr,acceptStatement:!0,keyCodes:cs,bind:function(){if("IF
92RAME"===this.el.tagName&&"load"!==this.arg){var t=this;this.iframeBind=function(){Z(t.el.contentWindow,t.arg,t.handler,t.modifiers.capture)},this.on("load",this.iframeBind)}},update:function(e){if(this.descriptor.raw||(e=function(){}),"function"!=typeof e)return void("production"!==t.env.NODE_ENV&&jn("v-on:"+this.arg+'="'+this.expression+'" expects a function value, got '+e,this.vm));this.modifiers.stop&&(e=me(e)),this.modifiers.prevent&&(e=ge(e)),this.modifiers.self&&(e=_e(e));var i=Object.keys(this.modifiers).filter(function(t){return"stop"!==t&&"prevent"!==t&&"self"!==t&&"capture"!==t});i.length&&(e=ve(e,i)),this.reset(),this.handler=e,this.iframeBind?this.iframeBind():Z(this.el,this.arg,this.handler,this.modifiers.capture)},reset:function(){var t=this.iframeBind?this.el.contentWindow:this.el;this.handler&&G(t,this.arg,this.handler)},unbind:function(){this.reset()}},fs=["-webkit-","-moz-","-ms-"],ps=["Webkit","Moz","ms"],ds=/!important;?$/,vs=Object.create(null),ms=null,gs={deep:!0,update:function(t){"string"==typeof t?this.el.style.cssText=t:Ii(t)?this.handleObject(t.reduce(_,{})):this.handleObject(t||{})},handleObject:function(t){var e,i,n=this.cache||(this.cache={});for(e in n)e in t||(this.handleSingle(e,null),delete n[e]);for(e in t)i=t[e],i!==n[e]&&(n[e]=i,this.handleSingle(e,i))},handleSingle:function(e,i){if(e=be(e))if(null!=i&&(i+=""),i){var n=ds.test(i)?"important":"";n?("production"!==t.env.NODE_ENV&&jn("It's probably a bad idea to use !important with inline rules. This feature will be deprecated
92in a future version of Vue."),i=i.replace(ds,"").trim(),this.el.style.setProperty(e.kebab,i,n)):this.el.style[e.camel]=i}else this.el.style[e.camel]=""}},_s="http://www.w3.org/1999/xlink",bs=/^xlink:/,ys=/^v-|^:|^@|^(?:is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/,ws=/^(?:value|checked|selected|muted)$/,Ns=/^(?:draggable|contenteditable|spellcheck)$/,Cs={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},$s={priority:qr,bind:function(){var e=this.arg,i=this.el.tagName;e||(this.deep=!0);var n=this.descriptor,r=n.interp;if(r&&(n.hasOneTime&&(this.expression=V(r,this._scope||this.vm)),(ys.test(e)||"name"===e&&("PARTIAL"===i||"SLOT"===i))&&("production"!==t.env.NODE_ENV&&jn(e+'="'+n.raw+'": attribute interpolation is not allowed in Vue.js directives and special attributes.',this.vm),this.el.removeAttribute(e),this.invalid=!0),"production"!==t.env.NODE_ENV)){var s=e+'="'+n.raw+'": ';"src"===e&&jn(s+'interpolation in "src" attribute will cause a 404 request. Use v-bind:src instead.',this.vm),"style"===e&&jn(s+'interpolation in "style" attribute will cause the attribute to be discarded in Internet Explorer. Use v-bind:style instead.',this.vm)}},update:function(t){if(!this.invalid){var e=this.arg;this.arg?this.handleSingle(e,t):this.handleObject(t||{})}},handleObject:gs.handleObject,handleSingle:function(t,e){var i=this.el,n=this.descriptor.interp;if(this.modifiers.camel&&(t=f(t)),!n&&ws.test(t)&&t in i){var r="value"===t&&null==e?"":e;i[t]!==r&&(i[t]=r)}var s=Cs[t];if(!n&&s){i[s]=e;var o=i.__v_model;o&&o.listener()}return"value"===t&&"TEXTAREA"===i.tagName?void i.removeAttribute(t):void(Ns.test(t)?i.setAttribute(t,e?"true":"false"):null!=e&&e!==!1?"class"===t?(i.__v_trans&&(e+=" "+i.__v_trans.id+"-transition"),K(i,e)):bs.test(t)?i.setAttributeNS(_s,t,e===!0?"":e):i.setAttribute(t,e===!0?"":e):i.removeAttribute(t))}},Es={priority:Qr,bind:function(){if(this.arg){var t=this.id=f(this.arg),e=(this._scope||this.vm).$els;s(e,t)?e[t]=this.el:xt(e,t,this.el)}},unbind:function(){var t=(this._scope||this.vm).$els;t[this.id]===this.el&&(t[this.id]=null)}},ks={bind:function(){"production"!==t.env.NODE_ENV&&jn("v-ref:"+this.arg+" must be used on a child component. Found on <"+this.el.tagName.toLowerCase()+">.",this.vm)}},xs={bind:function(){var t=this.el;this.vm.$once("pre-hook:compiled",function(){t.removeAttribute("v-cloak")})}},Os={text:jr,html:Wr,"for":es,"if":is,show:ns,model:ls,on:us,bind:$s,el:Es,ref:ks,cloak:xs},As={deep:!0,update:function(t){t?"string"==typeof t?this.setClass(t.trim().split(/\s+/)):this.setClass(we(t)):this.cleanup()},setClass:function(t){this.cleanup(t);for(var e=0,i=t.length;e<i;e++){var n=t[e];n&&Ne(this.el,n,tt)}this.prevKeys=t},cleanup:function(t){var e=this.prevKeys;if(e)for(var i=e.length;i--;){var n=e[i];(!t||t.indexOf(n)<0)&&Ne(this.el,n,et)}}},Ds={priority:Yr,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__?"production"!==t.env.NODE_ENV&&jn('cannot mount component "'+this.expression+'" on already mounted element: '+this.el):(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=it(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=ot("v-component"),Y(this.el,this.anchor),this.el.removeAttribute("is"),this.el.removeAttribute(":is"),this.descriptor.ref&&this.el.removeAttribute("v-ref:"+d(this.descriptor.ref)),this.literal&&this.setComponent(this.expression))},update:function(t){this.literal||this.setComponent(t)},setComponent:function(t,e){if(this.invalidatePending(),t){var i=this;this.resolveComponent(t,function(){i.mountComponent(e)})}else this.unbuild(!0),this.remove(this.childVM,e),this.childVM=null},resolveComponent:function(t,e){var i=this;this.pendingComponentCb=$(function(n){i.ComponentName=n.options.name||("string"==typeof t?t:null),i.Component=n,e()}),this.vm._resolveComponent(t,this.pendingComponentCb)},mountComponent:function(t){this.unbuild(!0);var e=this,i=this.Component.options.activate,n=this.getCached(),r=this.build();i&&!n?(this.waitingFor=r,Ce(i,r,function(){e.waitingFor===r&&(e.waitingFor=null,e.transition(r,t))})):(n&&r._updateRef(),this.transition(r,t))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(e){var i=this.getCached();if(i)return i;if(this.Component){var n={name:this.ComponentName,el:Kt(this.el),template:this.inl
92ineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};e&&_(n,e);var r=new this.Component(n);return this.keepAlive&&(this.cache[this.Component.cid]=r),"production"!==t.env.NODE_ENV&&this.el.hasAttribute("transition")&&r._isFragment&&jn("Transitions will not work on a fragment instance. Template: "+r.$options.template,r),r}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(t){this.waitingFor&&(this.keepAlive||this.waitingFor.$destroy(),this.waitingFor=null);var e=this.childVM;return!e||this.keepAlive?void(e&&(e._inactive=!0,e._updateRef(!0))):void e.$destroy(!1,t)},remove:function(t,e){var i=this.keepAlive;if(t){this.pendingRemovals++,this.pendingRemovalCb=e;var n=this;t.$remove(function(){n.pendingRemovals--,i||t._cleanup(),!n.pendingRemovals&&n.pendingRemovalCb&&(n.pendingRemovalCb(),n.pendingRemovalCb=null)})}else e&&e()},transition:function(t,e){var i=this,n=this.childVM;switch(n&&(n._inactive=!0),t._inactive=!1,this.childVM=t,i.params.transitionMode){case"in-out":t.$before(i.anchor,function(){i.remove(n,e)});break;case"out-in":i.remove(n,function(){t.$before(i.anchor,e)});break;default:i.remove(n),t.$before(i.anchor,e)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var t in this.cache)this.cache[t].$destroy();this.cache=null}}},Ts=Tn._propBindingModes,js={},Vs=/^[$_a-zA-Z]+[\w$]*$/,Ss=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/,Fs=Tn._propBindingModes,Ps={bind:function(){var t=this.vm,e=t._context,i=this.descriptor.prop,n=i.path,r=i.parentPath,s=i.mode===Fs.TWO_WAY,o=this.parentWatcher=new Qt(e,r,function(e){Oe(t,i,e)},{twoWay:s,filters:i.filters,scope:this._scope});if(xe(t,i,o.value),s){var a=this;t.$once("pre-hook:created",function(){a.childWatcher=new Qt(t,n,function(t){o.set(t)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}},Rs=[],Ls=!1,Is="transition",Ms="animation",Hs=Gi+"Duration",Ws=Ki+"Duration",Us=Hi&&window.requestAnimationFrame,zs=Us?function(t){Us(function(){Us(t)})}:function(t){setTimeout(t,50)},Bs=Re.prototype;Bs.enter=function(t,e){this.cancelPending(),this.callHook("beforeEnter"),this.cb=e,tt(this.el,this.enterClass),t(),this.entered=!1,this.callHookWithCb("enter"),this.entered||(this.cancel=this.hooks&&this.hooks.enterCancelled,Fe(this.enterNextTick))},Bs.enterNextTick=function(){var t=this;this.justEntered=!0,zs(function(){t.justEntered=!1});var e=this.enterDone,i=this.getCssTransitionType(this.enterClass);this.pendingJsCb?i===Is&&et(this.el,this.enterClass):i===Is?(et(this.el,this.enterClass),this.setupCssCb(Xi,e)):i===Ms?this.setupCssCb(tn,e):e()},Bs.enterDone=function(){this.entered=!0,this.cancel=this.pendingJsCb=null,et(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},Bs.leave=function(t,e){this.cancelPending(),this.callHook("beforeLeave"),this.op=t,this.cb=e,tt(this.el,this.leaveClass),this.left=!1,this.callHookWithCb("leave"),this.left||(this.cancel=this.hooks&&this.hooks.leaveCancelled,this.op&&!this.pendingJsCb&&(this.justEntered?this.leaveDone():Fe(this.leaveNextTick)))},Bs.leaveNextTick=function(){var t=this.getCssTransitionType(this.leaveClass);if(t){var e=t===Is?Xi:tn;this.setupCssCb(e,this.leaveDone)}else this.leaveDone()},Bs.leaveDone=function(){this.left=!0,this.cancel=this.pendingJsCb=null,this.op(),et(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb(),this.op=null},Bs.cancelPending=function(){this.op=this.cb=null;var t=!1;this.pendingCssCb&&(t=!0,G(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(t=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),t&&(et(this.el,this.enterClass),et(this.el,this.leaveClass)),this.cancel&&(this.cancel.call(this.vm,this.el),this.cancel=null)},Bs.callHook=function(t){this.hooks&&this.hooks[t]&&this.hooks[t].call(this.vm,this.el)},Bs.callHookWithCb=function(t){var e=this.hooks&&this.hooks[t];e&&(e.length>1&&(this.pendingJsCb=$(this[t+"Done"])),e.call(this.vm,this.el,this.pendingJsCb))},Bs.getCssTransitionType=function(t){if(!(!Xi||document.hidden||this.hooks&&this.hooks.css===!1||Le(this.el))){var e=this.type||this.typeCache[t];if(e)return e;var i=this.el.style,n=window.getComputedStyle(this.el),r=i[Hs]||n[Hs];if(r&&"0s"!==r)e=Is;else{var s=i[Ws]||n[Ws];s&&"0s"!==s&&(e=Ms)}
92return e&&(this.typeCache[t]=e),e}},Bs.setupCssCb=function(t,e){this.pendingCssEvent=t;var i=this,n=this.el,r=this.pendingCssCb=function(s){s.target===n&&(G(n,t,r),i.pendingCssEvent=i.pendingCssCb=null,!i.pendingJsCb&&e&&e())};Z(n,t,r)};var qs={priority:Jr,update:function(t,e){var i=this.el,n=yt(this.vm.$options,"transitions",t);t=t||"v",e=e||"v",i.__v_trans=new Re(i,t,n,this.vm),et(i,e+"-transition"),tt(i,t+"-transition")}},Js={style:gs,"class":As,component:Ds,prop:Ps,transition:qs},Qs=/^v-bind:|^:/,Ys=/^v-on:|^@/,Zs=/^v-([^:]+)(?:$|:(.*)$)/,Gs=/\.[^\.]+/g,Xs=/^(v-bind:|:)?transition$/,Ks=1e3,to=2e3;ni.terminal=!0;var eo=/[^\w\-:\.]/,io=Object.freeze({compile:Ie,compileAndLinkProps:ze,compileRoot:Be,transclude:ci,resolveSlots:di}),no=/^v-on:|^@/;bi.prototype._bind=function(){var t=this.name,e=this.descriptor;if(("cloak"!==t||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var i=e.attr||"v-"+t;this.el.removeAttribute(i)}var n=e.def;if("function"==typeof n?this.update=n:_(this,n),this._setupParams(),this.bind&&this.bind(),this._bound=!0,this.literal)this.update&&this.update(e.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var r=this;this.update?this._update=function(t,e){r._locked||r.update(t,e)}:this._update=_i;var s=this._preProcess?m(this._preProcess,this):null,o=this._postProcess?m(this._postProcess,this):null,a=this._watcher=new Qt(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:s,postProcess:o,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(a.value)}},bi.prototype._setupParams=function(){if(this.params){var t=this.params;this.params=Object.create(null);for(var e,i,n,r=t.length;r--;)e=d(t[r]),n=f(e),i=U(this.el,e),null!=i?this._setupParamWatcher(n,i):(i=W(this.el,e),null!=i&&(this.params[n]=""===i||i))}},bi.prototype._setupParamWatcher=function(t,e){var i=this,n=!1,r=(this._scope||this.vm).$watch(e,function(e,r){if(i.params[t]=e,n){var s=i.paramWatchers&&i.paramWatchers[t];s&&s.call(i,e,r)}else n=!0},{immediate:!0,user:!1});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},bi.prototype._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!Ut(t)){var e=Wt(t).get,i=this._scope||this.vm,n=function(t){i.$event=t,e.call(i,i),i.$event=null};return this.filters&&(n=i._applyFilters(n,null,this.filters)),this.update(n),!0}},bi.prototype.set=function(e){this.twoWay?this._withLock(function(){this._watcher.set(e)}):"production"!==t.env.NODE_ENV&&jn("Directive.set() can only be used inside twoWaydirectives.")},bi.prototype._withLock=function(t){var e=this;e._locked=!0,t.call(e),rn(function(){e._locked=!1})},bi.prototype.on=function(t,e,i){Z(this.el,t,e,i),(this._listeners||(this._listeners=[])).push([t,e])},bi.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var e,i=this._listeners;if(i)for(e=i.length;e--;)G(this.el,i[e][0],i[e][1]);var n=this._paramUnwatchFns;if(n)for(e=n.length;e--;)n[e]();"production"!==t.env.NODE_ENV&&this.el&&this.el._vue_directives.$remove(this),this.vm=this.el=this._watcher=this._listeners=null}};var ro=/[^|]\|[^|]/;Ot(ki),mi(ki),gi(ki),yi(ki),wi(ki),Ni(ki),Ci(ki),$i(ki),Ei(ki);var so={priority:Kr,params:["name"],bind:function(){var t=this.params.name||"default",e=this.vm._slotContents&&this.vm._slotContents[t];e&&e.hasChildNodes()?this.compile(e.cloneNode(!0),this.vm._context,this.vm):this.fallback()},compile:function(t,e,i){if(t&&e){if(this.el.hasChildNodes()&&1===t.childNodes.length&&1===t.childNodes[0].nodeType&&t.childNodes[0].hasAttribute("v-if")){var n=document.createElement("template");n.setAttribute("v-else",""),n.innerHTML=this.el.innerHTML,n._context=this.vm,t.appendChild(n)}var r=i?i._scope:this._scope;this.unlink=e.$compile(t,i,r,this._frag)}t?Y(this.el,t):J(this.el)},fallback:function(){this.compile(it(this.el,!0),this.vm)},unbind:function(){this.unlink&&this.unlink()}},oo={priority:Zr,params:["name"],paramWatchers:{name:function(t){is.remove.call(this),t&&this.insert(t)}},bind:function(){this.anchor=ot("v-partial"),Y(this.el,this.anchor),this.insert(this.params.name)},insert:function(t){var e=yt(this.vm.$options,"partials",t,!0);e&&(this.factory=new he(this.vm,e),is.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}},ao={slot:so,partial:oo},ho=es._postProcess,lo=/(\d{3})(?=\d)/g,co={orderBy:Ai,filterBy:Oi,limitBy:xi,json:{read:function(t,e){return"string"==typeof t?t:JSON.stringify(t,null,arguments.length>1?e:2)},write:function(t){try{return JSON.parse(t)}catch(e){return t}}},capitalize:function(t){return t||0===t?(t=t.toString(),t.charAt(0).toUpperCase()+t.slice(1)):""},uppercase:function(t){return t||0===t?t.toString().toUpperCase():""},lowercase:function(t){return t||0===t?t.toString().toLowerCase():""}
92,currency:function(t,e,i){if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=null!=e?e:"$",i=null!=i?i:2;var n=Math.abs(t).toFixed(i),r=i?n.slice(0,-1-i):n,s=r.length%3,o=s>0?r.slice(0,s)+(r.length>3?",":""):"",a=i?n.slice(-1-i):"",h=t<0?"-":"";return h+e+o+r.slice(s).replace(lo,"$1,")+a},pluralize:function(t){var e=g(arguments,1),i=e.length;if(i>1){var n=t%10-1;return n in e?e[n]:e[i-1]}return e[0]+(1===t?"":"s")},debounce:function(t,e){if(t)return e||(e=300),N(t,e)}};Ti(ki),ki.version="1.0.26",setTimeout(function(){Tn.devtools&&(Wi?Wi.emit("init",ki):"production"!==t.env.NODE_ENV&&Hi&&/Chrome\/\d+/.test(window.navigator.userAgent)&&console.log("Download the Vue Devtools for a better development experience:\nhttps://github.com/vuejs/vue-devtools"))},0),e.exports=ki}).call(this,t("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:1}],3:[function(t,e,i){e.exports='<div class="rwp-five-stars --rwp-ss" v-bind:style="baseStyle">\n\t<div v-bind:style="fillStyle"></div>\n</div>\t\n'},{}],4:[function(t,e,i){"use strict";e.exports={template:t("./score-5-star.html"),props:["score","min","max","icon"],ready:function(){this.score=isNaN(this.score)?this.min:this.score,this.newScore=this.mapRange(this.score,this.min,this.max,0,this.stars),this.calculateStyles()},data:function(){return{stars:5,width:20,baseStyle:{backgroundImage:"",width:"",height:"",backgroundSize:"",backgroundPosition:""},fillStyle:{width:"",backgroundSize:"",height:""},baseWidth:0,fillWidth:0,newScore:0}},methods:{calculateStyles:function(){this.baseWidth=this.width*this.stars,this.fillWidth=this.width*this.newScore,this.baseStyle.backgroundImage="url("+this.icon+")",this.baseStyle.width=this.baseWidth+"px",this.fillStyle.width=this.fillWidth+"px",16!=this.width&&(this.baseStyle.height=this.width+"px",this.baseStyle.backgroundSize=this.width+"px",this.baseStyle.backgroundPosition="0 -"+this.width+"px",this.fillStyle.backgroundSize=this.width+"px",this.fillStyle.height=this.width+"px")},mapRange:function(t,e,i,n,r){return(t-e)*(r-n)/(i-e)+n}}}},{"./score-5-star.html":3}],5:[function(t,e,i){e.exports='<div class="rwp-criterion">\n\t<div class="rwp-criterion-bar-base">\n\t\t<div class="rwp-score-bar" v-bind:style="{ width: pct + \'%\', backgroundColor: color}"></div>\n\t</div><!-- /criterion-bar -->\n\t<span class="rwp-criterion-score" v-text="score"></span>\n</div><!-- /criterion -->\n'},{}],6:[function(t,e,i){"use strict";e.exports={template:t("./widget-score-bar.html"),props:["score","min","max","low","high","colorLow","colorMedium","colorHigh"],ready:function(){this.score=isNaN(this.score)?this.min:this.score,this.pct=this.score/this.max*100,this.pct<this.low?this.color=this.colorLow:this.pct>this.high?this.color=this.colorHigh:this.color=this.colorMedium},data:function(){return{color:"#2196f3",pct:0}},methods:{}}},{"./widget-score-bar.html":5}],7:[function(t,e,i){"use strict";var n=jQuery,r=t("vue");1!=parseInt(rwpConstants.debugVue)&&(r.config.devtools=!1,r.config.debug=!1,r.config.silent=!0),n(".rwp-widget-ratings-wrap").length>0&&n(".rwp-widget-ratings-wrap").each(function(){var e="#"+n(this).attr("id");new r({el:e,ready:function(){this.$set("templates",this.$el.getAttribute("data-templates")),this.$set("limit",this.$el.getAttribute("data-limit")),this.$set("sorting",this.$el.getAttribute("data-sorting")),this.$set("commentLimit",this.$el.getAttribute("data-comment-limit")),this.$set("action",reviewerQueryAllURs.action),this.$set("nonce",reviewerQueryAllURs.ajax_nonce),this.$set("url",reviewerQueryAllURs.ajax_url),this.queryReviews()},components:{"rwp-widget-score-bar":t("./components/widget-score-bar.js"),"rwp-score-5-star":t("./components/score-5-star.js")},data:{reviews:[],templates:"",limit:null,sorting:null,commentLimit:100,action:"",nonce:"",url:"",errorMsg:"",loading:!0,success:!0},filters:{nl2br:function(t){return(t+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1<br/>$2")},sstr:function(t){var e=t.length>this.commentLimit?"...":"";return t.substr(0,this.commentLimit)+e}},methods:{queryReviews:function(){var t={action:this.action,security:this.nonce,templates:this.templates,limit:this.limit,sorting:this.sorting},e=this;e.loading=!0,n.post(this.url,t,function(t){e.loading=!1,t.success?(e.reviews=t.data,e.success=!0):(e.errorMsg=t.data,e.success=!1)},"json").fail(function(t){e.loading=!1,e.errorMsg="Unable to get users reviews: Internal error",e.success=!1})}}})})},{"./components/score-5-star.js":4,"./components/widget-score-bar.js":6,vue:2}]},{},[7]) 93;jQuery(document).ready(function($){var leaderHeight=$("#mvp-leader-wrap").outerHeight();var logoHeight=$("#mvp-main-nav-top").outerHeight();var botHeight=$("#mvp-main-nav-bot").outerHeight();var navHeight=$("#mvp-main-head-wrap").outerHeight();var headerHeight=navHeight+leaderHeight;var aboveNav=leaderHeight+logoHeight;var totalHeight=logoHeight+botHeight;var previousScroll=0;$(window).scroll(function(event){var scroll=$(this).scrollTop();if(typeof leaderHeight!=="undefined"){if($(window).scrollTop()>aboveNav){$("#mvp-main-nav-top").addClass("mvp-nav-small");$("#mvp-main-nav-bot").css("margin-top",logoHeight)}else{$("#mvp-main-nav-top").removeClass("mvp-nav-small");$("#mvp-main-nav-bot").css("margin-top","0")} 94if($(window).scrollTop()>headerHeight){$("#mvp-main-nav-top").addClass("mvp-fixed");$("#mvp-main-nav-bot").addClass("mvp-fixed1");$("#mvp-main-body-wrap").css("margin-top",totalHeight);$("#mvp-main-nav-top").addClass("mvp-fixed-shadow");$(".mvp-nav-top-mid").addClass("mvp-fixed-post");$(".mvp-drop-nav-title").show();$(".mvp-fly-top").addClass("mvp-to-top");if(scroll<previousScroll){$("#mvp-main-nav-bot").addClass("mvp-fixed2");$("#mvp-main-nav-top").removeClass("mvp-fixed-shadow");$("#mvp-main-nav-top").removeClass("mvp-soc-mob-up");$("#mvp-soc-mob-wrap").removeClass("mvp-soc-mob-up")}else{$("#mvp-main-nav-bot").removeClass("mvp-fixed2");$("#mvp-main-nav-top").addClass("mvp-fixed-shadow");$("#mvp-main-nav-top").addClass("mvp-soc-mob-up");$("#mvp-soc-mob-wrap").addClass("mvp-soc-mob-up")}}else{$("#mvp-main-nav-top").removeClass("mvp-fixed");$("#mvp-main-nav-bot").removeClass("mvp-fixed1");$("#mvp-main-nav-bot").removeClass("mvp-fixed2");$("#mvp-main-body-wrap").css("margin-top","0");$("#mvp-main-nav-top").removeClass("mvp-fixed-shadow");$(".mvp-nav-top-mid").removeClass("mvp-fixed-post");$(".mvp-drop-nav-title").hide();$(".mvp-fly-top").removeClass("mvp-to-top")}}else{if($(window).scrollTop()>logoHeight){$("#mvp-main-nav-top").addClass("mvp-nav-small");$("#mvp-main-nav-bot").css("margin-top",logoHeight)}else{$("#mvp-main-nav-top").removeClass("mvp-nav-small");$("#mvp-main-nav-bot").css("margin-top","0")} 95if($(window).scrollTop()>navHeight){$("#mvp-main-nav-top").addClass("mvp-fixed");$("#mvp-main-nav-bot").addClass("mvp-fixed1");$("#mvp-main-body-wrap").css("margin-top",totalHeight);$("#mvp-main-nav-top").addClass("mvp-fixed-shadow");$(".mvp-nav-top-mid").addClass("mvp-fixed-post");$(".mvp-drop-nav-title").show();$(".mvp-fly-top").addClass("mvp-to-top");if(scroll<previousScroll){$("#mvp-main-nav-bot").addClass("mvp-fixed2");$("#mvp-main-nav-top").removeClass("mvp-fixed-shadow");$("#mvp-main-nav-top").removeClass("mvp-soc-mob-up");$("#mvp-soc-mob-wrap").removeClass("mvp-soc-mob-up")}else{$("#mvp-main-nav-bot").removeClass("mvp-fixed2");$("#mvp-main-nav-top").addClass("mvp-fixed-shadow");$("#mvp-main-nav-top").addClass("mvp-soc-mob-up");$("#mvp-soc-mob-wrap").addClass("mvp-soc-mob-up")}}else{$("#mvp-main-nav-top").removeClass("mvp-fixed");$("#mvp-main-nav-bot").removeClass("mvp-fixed1");$("#mvp-main-nav-bot").removeClass("mvp-fixed2");$("#mvp-main-body-wrap").css("margin-top","0");$("#mvp-main-nav-top").removeClass("mvp-fixed-shadow");$(".mvp-nav-top-mid").removeClass("mvp-fixed-post");$(".mvp-drop-nav-title").hide();$(".mvp-fly-top").removeClass("mvp-to-top")}} 96previousScroll=scroll})});jQuery(document).ready(function($){$(window).on("scroll.video",function(event){var scrollTop=$(window).scrollTop();var elementOffset=$("#mvp-content-wrap").offset().top;var distance=(elementOffset-scrollTop);var aboveHeight=$("#mvp-video-embed-wrap").outerHeight();if($(window).scrollTop()>distance+aboveHeight+screen.height){$("#mvp-video-embed-cont").addClass("mvp-vid-fixed");$("#mvp-video-embed-wrap").addClass("mvp-vid-height");$(".mvp-video-close").show()}else{$("#mvp-video-embed-cont").removeClass("mvp-vid-fixed");$("#mvp-video-embed-wrap").removeClass("mvp-vid-height");$(".mvp-video-close").hide()}});$(".mvp-video-close").on("click",function(){$("#mvp-video-embed-cont").removeClass("mvp-vid-fixed");$("#mvp-video-embed-wrap").removeClass("mvp-vid-height");$(".mvp-video-close").hide();$(window).off("scroll.video")})});jQuery(document).ready(function($){$(".mvp-soc-mob-right").on("click",function(){$("#mvp-soc-mob-wrap").toggleClass("mvp-soc-mob-more")})});jQuery(document).ready(function($){$(".mvp-cont-read-but").on("click",function(){$("#mvp-content-body-top").css("max-height","none");$("#mvp-content-body-top").css("overflow","visible");$(".mvp-cont-read-but-wrap").hide()})});jQuery(document).ready(function($){var leaderHeight=$("#mvp-leader-wrap").outerHeight();$("#mvp-site-main").css("margin-top",leaderHeight);$(window).resize(function(){var leaderHeight=$("#mvp-leader-wrap").outerHeight();$("#mvp-site-main").css("margin-top",leaderHeight)})});jQuery(document).ready(function($){$(".menu-item-has-children a").click(function(event){event.stopPropagation()});$(".menu-item-has-children").click(function(){$(this).addClass("toggled");if($(".menu-item-has-children").hasClass("toggled")){$(this).children("ul").toggle();$(".mvp-fly-nav-menu").getNiceScroll().resize()} 97$(this).toggleClass("tog-minus");return!1});$(".mvp-fly-nav-menu").niceScroll({cursorcolor:"#888",cursorwidth:7,cursorborder:0,zindex:999999})});jQuery(document).ready(function($){$(".infinite-content").infinitescroll({navSelector:".mvp-nav-links",nextSelector:".mvp-nav-links a:first",itemSelector:".infinite-post",errorCallback:function(){$(".mvp-inf-more-but").css("display","none")}});$(window).unbind(".infscr");$(".mvp-inf-more-but").click(function(){$(".infinite-content").infinitescroll("retrieve");return!1});if($(".mvp-nav-links a").length){$(".mvp-inf-more-but").css("display","inline-block")}else{$(".mvp-inf-more-but").css("display","none")}}) 98;jQuery(document).ready(function($){"use strict";$(".mvp-fly-but-click").on('click',function(){$("#mvp-fly-wrap").toggleClass("mvp-fly-menu");$("#mvp-fly-wrap").toggleClass("mvp-fly-shadow");$(".mvp-fly-but-wrap").toggleClass("mvp-fly-open");$(".mvp-fly-fade").toggleClass("mvp-fly-fade-trans")});var duration=500;$('.back-to-top').on('click',function(event){event.preventDefault();$('html, body').animate({scrollTop:0},duration);return!1});$(".mvp-search-click").on('click',function(){$("#mvp-search-wrap").toggleClass("mvp-search-toggle")});$(".mvp-mob-soc-click").on('click',function(){$(".mvp-mob-soc-list").toggleClass("mvp-mob-soc-tog")});$(".mvp-post-trend-but-click").on('click',function(){$("#mvp-post-trend-wrap").toggleClass("mvp-post-trend-tog")});$(".mvp-com-click").on('click',function(){$("#comments").show();$("#disqus_thread").show();$("#mvp-comments-button").hide()});$(".mvp-ad-rel-click").on('click',function(){$("#mvp-content-main").css('max-height','none');$('#mvp-ad-rel-wrap').css('margin-top','20px');$("#mvp-ad-rel-top").hide()});$('.mvp-feat1-right-wrap').each(function(){$(this).find(".mvp-tab-col-cont").hide();$(this).find("ul.mvp-feat1-list-buts li.mvp-feat-col-tab").addClass("active").show();$(this).find(".mvp-tab-col-cont:first").show()});$("ul.mvp-feat1-list-buts li").on('click',function(e){$(this).parents('.mvp-feat1-right-wrap').find("ul.mvp-feat1-list-buts li").removeClass("active");$(this).addClass("active");$(this).parents('.mvp-feat1-right-wrap').find(".mvp-tab-col-cont").hide();var activeTab=$(this).find("a").attr("href");$(this).parents('.mvp-feat1-right-wrap').find(activeTab).fadeIn();e.preventDefault()});$("ul.mvp-feat1-list-buts li a").on('click',function(e){e.preventDefault()});$('.mvp-widget-tab-wrap').each(function(){$(this).find(".mvp-tab-col-cont").hide();$(this).find("ul.mvp-feat1-list-buts li.mvp-feat-col-tab").addClass("active").show();$(this).find(".mvp-tab-col-cont:first").show()});$("ul.mvp-feat1-list-buts li").on('click',function(e){$(this).parents('.mvp-widget-tab-wrap').find("ul.mvp-feat1-list-buts li").removeClass("active");$(this).addClass("active");$(this).parents('.mvp-widget-tab-wrap').find(".mvp-tab-col-cont").hide();var activeTab=$(this).find("a").attr("href");$(this).parents('.mvp-widget-tab-wrap').find(activeTab).fadeIn();e.preventDefault()});$("ul.mvp-feat1-list-buts li a").on('click',function(e){e.preventDefault()})});(function(window,$,undefined){$.fn.touchwipe=function(settings){var config={min_move_x:20,min_move_y:20,wipeLeft:function(){},wipeRight:function(){},wipeUp:function(){},wipeDown:function(){},preventDefaultEvents:!0};if(settings)$.extend(config,settings);this.each(function(){var startX;var startY;var isMoving=!1;function cancelTouch(){this.removeEventListener('touchmove',onTouchMove);startX=null;isMoving=!1} 99function onTouchMove(e){if(config.preventDefaultEvents){e.preventDefault()} 100if(isMoving){var x=e.touches[0].pageX;var y=e.touches[0].pageY;var dx=startX-x;var dy=startY-y;if(Math.abs(dx)>=config.min_move_x){cancelTouch();if(dx>0){config.wipeLeft()}else{config.wipeRight()}}else if(Math.abs(dy)>=config.min_move_y){cancelTouch();if(dy>0){config.wipeDown()}else{config.wipeUp()}}}} 101function onTouchStart(e){if(e.touches.length==1){startX=e.touches[0].pageX;startY=e.touches[0].pageY;isMoving=!0;this.addEventListener('touchmove',onTouchMove,!1)}} 102if('ontouchstart' in document.documentElement){this.addEventListener('touchstart',onTouchStart,!1)}});return this};$.elastislide=function(options,element){this.$el=$(element);this._init(options)};$.elastislide.defaults={speed:450,easing:'',imageW:190,margin:0,border:0,minItems:1,current:0,onClick:function(){return!1}};$.elastislide.prototype={_init:function(options){this.options=$.extend(!0,{},$.elastislide.defaults,options);this.$slider=this.$el.find('ul');this.$items=this.$slider.children('li');this.itemsCount=this.$items.length;this.$esCarousel=this.$slider.parent();
102this._validateOptions();this._configure();this._addControls();this._initEvents();this.$slider.show();this._slideToCurrent(!1)},_validateOptions:function(){if(this.options.speed<0) 103this.options.speed=450;if(this.options.margin<0) 104this.options.margin=4;if(this.options.border<0) 105this.options.border=1;if(this.options.minItems<1||this.options.minItems>this.itemsCount) 106this.options.minItems=1;if(this.options.current>this.itemsCount-1) 107this.options.current=0},_configure:function(){this.current=this.options.current;this.visibleWidth=this.$esCarousel.width();if(this.visibleWidth<this.options.minItems*(this.options.imageW+2*this.options.border)+(this.options.minItems-1)*this.options.margin){this._setDim((this.visibleWidth-(this.options.minItems-1)*this.options.margin)/this.options.minItems);this._setCurrentValues();this.fitCount=this.options.minItems}else{this._setDim();this._setCurrentValues()} 108this.$slider.css({width:this.sliderW})},_setDim:function(elW){this.$items.css({marginRight:this.options.margin,width:(elW)?elW:this.options.imageW+2*this.options.border}).children('a').css({borderWidth:this.options.border})},_setCurrentValues:function(){this.itemW=this.$items.outerWidth(!0);this.sliderW=this.itemW*this.itemsCount;this.visibleWidth=this.$esCarousel.width();this.fitCount=Math.floor(this.visibleWidth/this.itemW)},_addControls:function(){this.$navNext=$('<span class="es-nav-next"><a>></a></span>');this.$navPrev=$('<span class="es-nav-prev"><a><</a></span>');$('<div class="es-nav"/>').append(this.$navPrev).append(this.$navNext).appendTo(this.$el)},_toggleControls:function(dir,status){if(dir&&status){if(status===1)(dir==='right')?this.$navNext.show():this.$navPrev.show();else(dir==='right')?this.$navNext.hide():this.$navPrev.hide()}else if(this.current===this.itemsCount-1||this.fitCount>=this.itemsCount) 109this.$navNext.hide();},_initEvents:function(){var instance=this;$(window).bind('resize.elastislide',function(event){instance._setCurrentValues();if(instance.visibleWidth<instance.options.minItems*(instance.options.imageW+2*instance.options.border)+(instance.options.minItems-1)*instance.options.margin){instance._setDim((instance.visibleWidth-(instance.options.minItems-1)*instance.options.margin)/instance.options.minItems);instance._setCurrentValues();instance.fitCount=instance.options.minItems}else{instance._setDim();instance._setCurrentValues()} 110instance.$slider.css({width:instance.sliderW+10});clearTimeout(instance.resetTimeout);instance.resetTimeout=setTimeout(function(){instance._slideToCurrent()},200)});this.$navNext.bind('click.elastislide',function(event){instance._slide('right')});this.$navPrev.bind('click.elastislide',function(event){instance._slide('left')});this.$items.bind('click.elastislide',function(event){instance.options.onClick($(this))});instance.$slider.touchwipe({wipeLeft:function(){instance._slide('right')},wipeRight:function(){instance._slide('left')}})},_slide:function(dir,val,anim,callback){if(this.$slider.is(':animated')) 111return!1;var ml=parseFloat(this.$slider.css('margin-left'));if(val===undefined){var amount=this.fitCount*this.itemW,val;if(amount<0)return!1;if(dir==='right'&&this.sliderW-(Math.abs(ml)+amount)<this.visibleWidth){amount=this.sliderW-(Math.abs(ml)+this.visibleWidth)-this.options.margin;this._toggleControls('right',-1);this._toggleControls('left',1)}else if(dir==='left'&&Math.abs(ml)-amount<0){amount=Math.abs(ml);this._toggleControls('left',-1);this._toggleControls('right',1)}else{var fml;(dir==='right')?fml=Math.abs(ml)+this.options.margin+Math.abs(amount):fml=Math.abs(ml)-this.options.margin-Math.abs(amount);if(fml>0) 112this._toggleControls('left',1);else this._toggleControls('left',-1);if(fml<this.sliderW-this.visibleWidth) 113this._toggleControls('right',1);else this._toggleControls('right',-1)}(dir==='right')?val='-='+amount:val='+='+amount}else{var fml=Math.abs(val);if(Math.max(this.sliderW,this.visibleWidth)-fml<this.visibleWidth){val=-(Math.max(this.sliderW,this.visibleWidth)-this.visibleWidth);if(val!==0) 114val+=this.options.margin;this._toggleControls('right',-1);fml=Math.abs(val)} 115if(fml>0) 116this._toggleControls('left',1);else this._toggleControls('left',-1);
116if(Math.max(this.sliderW,this.visibleWidth)-this.visibleWidth>fml+this.options.margin) 117this._toggleControls('right',1);else this._toggleControls('right',-1)} 118$.fn.applyStyle=(anim===undefined)?$.fn.animate:$.fn.css;var sliderCSS={marginLeft:val};var instance=this;this.$slider.applyStyle(sliderCSS,$.extend(!0,[],{duration:this.options.speed,easing:this.options.easing,complete:function(){if(callback)callback.call();}}))},_slideToCurrent:function(anim){var amount=this.current*this.itemW;this._slide('',-amount,anim)},add:function($newelems,callback){this.$items=this.$items.add($newelems);this.itemsCount=this.$items.length;this._setDim();this._setCurrentValues();this.$slider.css({width:this.sliderW});this._slideToCurrent();if(callback)callback.call($newelems);},destroy:function(callback){this._destroy(callback)},_destroy:function(callback){this.$el.unbind('.elastislide').removeData('elastislide');$(window).unbind('.elastislide');if(callback)callback.call();}};var logError=function(message){if(this.console){console.error(message)}};$.fn.elastislide=function(options){if(typeof options==='string'){var args=Array.prototype.slice.call(arguments,1);this.each(function(){var instance=$.data(this,'elastislide');if(!instance){logError("cannot call methods on elastislide prior to initialization; "+"attempted to call method '"+options+"'");return} 119if(!$.isFunction(instance[options])||options.charAt(0)==="_"){logError("no such method '"+options+"' for elastislide instance");return} 120instance[options].apply(instance,args)})}else{this.each(function(){var instance=$.data(this,'elastislide');if(!instance){$.data(this,'elastislide',new $.elastislide(options,this))}})} 121return this}})(window,jQuery);(function(jQuery){var domfocus=!1;var mousefocus=!1;var zoomactive=!1;var tabindexcounter=5000;var ascrailcounter=2000;var globalmaxzindex=0;var $=jQuery;function getScriptPath(){var scripts=document.getElementsByTagName('script');var path=scripts[scripts.length-1].src.split('?')[0];return(path.split('/').length>0)?path.split('/').slice(0,-1).join('/')+'/':''} 122var scriptpath=getScriptPath();var vendors=['ms','moz','webkit','o'];var setAnimationFrame=window.requestAnimationFrame||!1;var clearAnimationFrame=window.cancelAnimationFrame||!1;if(!setAnimationFrame){for(var vx in vendors){var v=vendors[vx];if(!setAnimationFrame)setAnimationFrame=window[v+'RequestAnimationFrame'];if(!clearAnimationFrame)clearAnimationFrame=window[v+'CancelAnimationFrame']||window[v+'CancelRequestAnimationFrame']}} 123var clsMutationObserver=window.MutationObserver||window.WebKitMutationObserver||!1;var _globaloptions={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"5px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:60,mousescrollstep:8*3,touchbehavior:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0},disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:0.3,rtlmode:!1,cursordragontouch:!1,oneaxismousemode:"auto"} 124var browserdetected=!1;var getBrowserDetection=function(){if(browserdetected)return browserdetected;var domtest=document.createElement('DIV');var d={};d.haspointerlock="pointerLockElement" in document||"mozPointerLockElement" in document||"webkitPointerLockElement" in document;d.isopera=("opera" in window);d.isopera12=(d.isopera&&("getUserMedia" in navigator));d.isoperamini=(Object.prototype.toString.call(window.operamini)==="[object OperaMini]");d.isie=(("all" in document)&&("attachEvent" in domtest)&&!d.isopera);d.isieold=(d.isie&&!("msInterpolationMode" in domtest.style));
124d.isie7=d.isie&&!d.isieold&&(!("documentMode" in document)||(document.documentMode==7));d.isie8=d.isie&&("documentMode" in document)&&(document.documentMode==8);d.isie9=d.isie&&("performance" in window)&&(document.documentMode>=9);d.isie10=d.isie&&("performance" in window)&&(document.documentMode>=10);d.isie9mobile=/iemobile.9/i.test(navigator.userAgent);if(d.isie9mobile)d.isie9=!1;d.isie7mobile=(!d.isie9mobile&&d.isie7)&&/iemobile/i.test(navigator.userAgent);d.ismozilla=("MozAppearance" in domtest.style);d.iswebkit=("WebkitAppearance" in domtest.style);d.ischrome=("chrome" in window);d.ischrome22=(d.ischrome&&d.haspointerlock);d.ischrome26=(d.ischrome&&("transition" in domtest.style));d.cantouch=("ontouchstart" in document.documentElement)||("ontouchstart" in window);d.hasmstouch=(window.navigator.msPointerEnabled||!1);d.ismac=/^mac$/i.test(navigator.platform);d.isios=(d.cantouch&&/iphone|ipad|ipod/i.test(navigator.platform));d.isios4=((d.isios)&&!("seal" in Object));d.isandroid=(/android/i.test(navigator.userAgent));d.trstyle=!1;d.hastransform=!1;d.hastranslate3d=!1;d.transitionstyle=!1;d.hastransition=!1;d.transitionend=!1;var check=['transform','msTransform','webkitTransform','MozTransform','OTransform'];for(var a=0;a<check.length;a++){if(typeof domtest.style[check[a]]!="undefined"){d.trstyle=check[a];break}} 125d.hastransform=(d.trstyle!=!1);if(d.hastransform){domtest.style[d.trstyle]="translate3d(1px,2px,3px)";d.hastranslate3d=/translate3d/.test(domtest.style[d.trstyle])} 126d.transitionstyle=!1;d.prefixstyle='';d.transitionend=!1;var check=['transition','webkitTransition','MozTransition','OTransition','OTransition','msTransition','KhtmlTransition'];var prefix=['','-webkit-','-moz-','-o-','-o','-ms-','-khtml-'];var evs=['transitionend','webkitTransitionEnd','transitionend','otransitionend','oTransitionEnd','msTransitionEnd','KhtmlTransitionEnd'];for(var a=0;a<check.length;a++){if(check[a]in domtest.style){d.transitionstyle=check[a];d.prefixstyle=prefix[a];d.transitionend=evs[a];break}} 127if(d.ischrome26){d.prefixstyle=prefix[1]} 128d.hastransition=(d.transitionstyle);function detectCursorGrab(){var lst=['-moz-grab','-webkit-grab','grab'];if((d.ischrome&&!d.ischrome22)||d.isie)lst=[];for(var a=0;a<lst.length;a++){var p=lst[a];domtest.style.cursor=p;if(domtest.style.cursor==p)return p} 129return'url(http://www.google.com/intl/en_ALL/mapfiles/openhand.cur),n-resize'} 130d.cursorgrabvalue=detectCursorGrab();d.hasmousecapture=("setCapture" in domtest);d.hasMutationObserver=(clsMutationObserver!==!1);domtest=null;browserdetected=d;return d} 131var NiceScrollClass=function(myopt,me){var self=this;this.version='3.5.0 BETA5';this.name='nicescroll';this.me=me;this.opt={doc:$("body"),win:!1};$.extend(this.opt,_globaloptions);this.opt.snapbackspeed=80;if(myopt||!1){for(var a in self.opt){if(typeof myopt[a]!="undefined")self.opt[a]=myopt[a]}} 132this.doc=self.opt.doc;this.iddoc=(this.doc&&this.doc[0])?this.doc[0].id||'':'';this.ispage=/BODY|HTML/.test((self.opt.win)?self.opt.win[0].nodeName:this.doc[0].nodeName);this.haswrapper=(self.opt.win!==!1);this.win=self.opt.win||(this.ispage?$(window):this.doc);this.docscroll=(this.ispage&&!this.haswrapper)?$(window):this.win;this.body=$("body");this.viewport=!1;this.isfixed=!1;this.iframe=!1;this.isiframe=((this.doc[0].nodeName=='IFRAME')&&(this.win[0].nodeName=='IFRAME'));this.istextarea=(this.win[0].nodeName=='TEXTAREA');this.forcescreen=!1;this.canshowonmouseevent=(self.opt.autohidemode!="scroll");this.onmousedown=!1;this.onmouseup=!1;this.onmousemove=!1;this.onmousewheel=!1;this.onkeypress=!1;this.ongesturezoom=!1;this.onclick=!1;this.onscrollstart=!1;this.onscrollend=!1;this.onscrollcancel=!1;this.onzoomin=!1;this.onzoomout=!1;this.view=!1;this.page=!1;this.scroll={x:0,y:0};this.scrollratio={x:0,y:0};this.cursorheight=20;this.scrollvaluemax=0;this.checkrtlmode=!1;this.scrollrunning=!1;this.scrollmom=!1;this.observer=!1;this.observerremover=!1;do{this.id="ascrail"+(ascrailcounter++)}while(document.getElementById(this.id));this.rail=!1;this.cursor=!1;this.cursorfreezed=!1;this.selectiondrag=!1;this.zoom=!1;this.zoomactive=!1;this.hasfocus=!1;this.hasmousefocus=!1;this.visibility=!0;this.locked=!1;this.hidden=!1;this.cursoractive=!0;this.overflowx=self.opt.overflowx;this.overflowy=self.opt.overflowy;this.nativescrollingarea=!1;this.checkarea=0;this.events=[];this.saved={};this.delaylist={};this.synclist={};this.lastdeltax=0;this.lastdeltay=0;this.detected=getBrowserDetection();var cap=$.extend({},this.detected);this.canhwscroll=(cap.hastransform&&self.opt.hwacceleration);this.ishwscroll=(this.canhwscroll&&self.haswrapper);this.istouchcapable=!1;if(cap.cantouch&&cap.ischrome&&!cap.isios&&!cap.isandroid){this.istouchcapable=!0;cap.cantouch=!1} 133if(cap.cantouch&&cap.ismozilla&&!cap.isios&&!cap.isandroid){this.istouchcapable=!0;cap.cantouch=!1} 134if(!self.opt.enablemouselockapi){cap.hasmousecapture=!1;cap.haspointerlock=!1} 135this.delayed=function(name,fn,tm,lazy){var dd=self.delaylist[name];var nw=(new Date()).getTime();if(!lazy&&dd&&dd.tt)return!1;if(dd&&dd.tt)clearTimeout(dd.tt);if(dd&&dd.last+tm>
135nw&&!dd.tt){self.delaylist[name]={last:nw+tm,tt:setTimeout(function(){self.delaylist[name].tt=0;fn.call()},tm)}}else if(!dd||!dd.tt){self.delaylist[name]={last:nw,tt:0} 136setTimeout(function(){fn.call()},0)}};this.debounced=function(name,fn,tm){var dd=self.delaylist[name];var nw=(new Date()).getTime();self.delaylist[name]=fn;if(!dd){setTimeout(function(){var fn=self.delaylist[name];self.delaylist[name]=!1;fn.call()},tm)}} 137this.synched=function(name,fn){function requestSync(){if(self.onsync)return;setAnimationFrame(function(){self.onsync=!1;for(name in self.synclist){var fn=self.synclist[name];if(fn)fn.call(self);self.synclist[name]=!1}});self.onsync=!0};self.synclist[name]=fn;requestSync();return name};this.unsynched=function(name){if(self.synclist[name])self.synclist[name]=!1} 138this.css=function(el,pars){for(var n in pars){self.saved.css.push([el,n,el.css(n)]);el.css(n,pars[n])}};this.scrollTop=function(val){return(typeof val=="undefined")?self.getScrollTop():self.setScrollTop(val)};this.scrollLeft=function(val){return(typeof val=="undefined")?self.getScrollLeft():self.setScrollLeft(val)};BezierClass=function(st,ed,spd,p1,p2,p3,p4){this.st=st;this.ed=ed;this.spd=spd;this.p1=p1||0;this.p2=p2||1;this.p3=p3||0;this.p4=p4||1;this.ts=(new Date()).getTime();this.df=this.ed-this.st};BezierClass.prototype={B2:function(t){return 3*t*t*(1-t)},B3:function(t){return 3*t*(1-t)*(1-t)},B4:function(t){return(1-t)*(1-t)*(1-t)},getNow:function(){var nw=(new Date()).getTime();var pc=1-((nw-this.ts)/this.spd);var bz=this.B2(pc)+this.B3(pc)+this.B4(pc);return(pc<0)?this.ed:this.st+Math.round(this.df*bz)},update:function(ed,spd){this.st=this.getNow();this.ed=ed;this.spd=spd;this.ts=(new Date()).getTime();this.df=this.ed-this.st;return this}};if(this.ishwscroll){this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"};if(cap.hastranslate3d&&cap.isios)this.doc.css("-webkit-backface-visibility","hidden");function getMatrixValues(){var tr=self.doc.css(cap.trstyle);if(tr&&(tr.substr(0,6)=="matrix")){return tr.replace(/^.*\((.*)\)$/g,"$1").replace(/px/g,'').split(/, +/)} 139return!1} 140this.getScrollTop=function(last){if(!last){var mtx=getMatrixValues();if(mtx)return(mtx.length==16)?-mtx[13]:-mtx[5];if(self.timerscroll&&self.timerscroll.bz)return self.timerscroll.bz.getNow();} 141return self.doc.translate.y};this.getScrollLeft=function(last){if(!last){var mtx=getMatrixValues();if(mtx)return(mtx.length==16)?-mtx[12]:-mtx[4];if(self.timerscroll&&self.timerscroll.bh)return self.timerscroll.bh.getNow();} 142return self.doc.translate.x};if(document.createEvent){this.notifyScrollEvent=function(el){var e=document.createEvent("UIEvents");e.initUIEvent("scroll",!1,!0,window,1);el.dispatchEvent(e)}}else if(document.fireEvent){this.notifyScrollEvent=function(el){var e=document.createEventObject();el.fireEvent("onscroll");e.cancelBubble=!0}}else{this.notifyScrollEvent=function(el,add){}} 143if(cap.hastranslate3d&&self.opt.enabletranslate3d){this.setScrollTop=function(val,silent){self.doc.translate.y=val;self.doc.translate.ty=(val*-1)+"px";self.doc.css(cap.trstyle,"translate3d("+self.doc.translate.tx+","+self.doc.translate.ty+",0px)");if(!silent)self.notifyScrollEvent(self.win[0]);};this.setScrollLeft=function(val,silent){self.doc.translate.x=val;self.doc.translate.tx=(val*-1)+"px";self.doc.css(cap.trstyle,"translate3d("+self.doc.translate.tx+","+self.doc.translate.ty+",0px)");if(!silent)self.notifyScrollEvent(self.win[0]);}}else{this.setScrollTop=function(val,silent){self.doc.translate.y=val;self.doc.translate.ty=(val*-1)+"px";self.doc.css(cap.trstyle,"translate("+self.doc.translate.tx+","+self.doc.translate.ty+")");if(!silent)self.notifyScrollEvent(self.win[0]);};this.setScrollLeft=function(val,silent){self.doc.translate.x=val;self.doc.translate.tx=(val*-1)+"px";self.doc.css(cap.trstyle,"translate("+self.doc.translate.tx+","+self.doc.translate.ty+")");if(!silent)self.notifyScrollEvent(self.win[0]);}}}else{this.getScrollTop=function(){return self.docscroll.scrollTop()};this.setScrollTop=function(val){return self.docscroll.scrollTop(val)};this.getScrollLeft=function(){return self.docscroll.scrollLeft()};this.setScrollLeft=function(val){return self.docscroll.scrollLeft(val)}} 144this.getTarget=function(e){if(!e)return!1;if(e.target)return e.target;if(e.srcElement)return e.srcElement;return!1};this.hasParent=function(e,id){if(!e)return!1;var el=e.target||e.srcElement||e||!1;while(el&&el.id!=id){el=el.parentNode||!1} 145return(el!==!1)};function getZIndex(){var dom=self.win;if("zIndex" in dom)return dom.zIndex();while(dom.length>0){if(dom[0].nodeType==9)return!1;var zi=dom.css('zIndex');if(!isNaN(zi)&&zi!=0)return parseInt(zi);dom=dom.parent()} 146return!1};var _convertBorderWidth={"thin":1,"medium":3,"thick":5};function getWidthToPixel(dom,prop,chkheight){var wd=dom.css(prop);var px=parseFloat(wd);if(isNaN(px)){px=_convertBorderWidth[wd]||0;var brd=(px==3)?((chkheight)?(self.win.outerHeight()-self.win.innerHeight()):(self.win.outerWidth()-self.win.innerWidth())):1;if(self.isie8&&px)px+=1;return(brd)?px:0} 147return px};this.getOffset=function(){if(self.isfixed)return{top:parseFloat(self.win.css('top')),left:parseFloat(self.win.css('left'))};if(!self.viewport)return self.win.offset();var ww=self.win.offset();var vp=self.viewport.offset();return{top:ww.top-vp.top+self.viewport.scrollTop(),left:ww.left-vp.left+self.viewport.scrollLeft()}};this.updateScrollBar=function(len){if(self.ishwscroll){self.rail.css({height:self.win.innerHeight()});if(self.railh)self.railh.css({width:self.win.innerWidth()})}else{var wpos=self.getOffset();
147var pos={top:wpos.top,left:wpos.left};pos.top+=getWidthToPixel(self.win,'border-top-width',!0);var brd=(self.win.outerWidth()-self.win.innerWidth())/2;pos.left+=(self.rail.align)?self.win.outerWidth()-getWidthToPixel(self.win,'border-right-width')-self.rail.width:getWidthToPixel(self.win,'border-left-width');var off=self.opt.railoffset;if(off){if(off.top)pos.top+=off.top;if(self.rail.align&&off.left)pos.left+=off.left} 148if(!self.locked)self.rail.css({top:pos.top,left:pos.left,height:(len)?len.h:self.win.innerHeight()});if(self.zoom){self.zoom.css({top:pos.top+1,left:(self.rail.align==1)?pos.left-20:pos.left+self.rail.width+4})} 149if(self.railh&&!self.locked){var pos={top:wpos.top,left:wpos.left};var y=(self.railh.align)?pos.top+getWidthToPixel(self.win,'border-top-width',!0)+self.win.innerHeight()-self.railh.height:pos.top+getWidthToPixel(self.win,'border-top-width',!0);var x=pos.left+getWidthToPixel(self.win,'border-left-width');self.railh.css({top:y,left:x,width:self.railh.width})}}};this.doRailClick=function(e,dbl,hr){var fn,pg,cur,pos;if(self.locked)return;self.cancelEvent(e);if(dbl){fn=(hr)?self.doScrollLeft:self.doScrollTop;cur=(hr)?((e.pageX-self.railh.offset().left-(self.cursorwidth/2))*self.scrollratio.x):((e.pageY-self.rail.offset().top-(self.cursorheight/2))*self.scrollratio.y);fn(cur)}else{fn=(hr)?self.doScrollLeftBy:self.doScrollBy;cur=(hr)?self.scroll.x:self.scroll.y;pos=(hr)?e.pageX-self.railh.offset().left:e.pageY-self.rail.offset().top;pg=(hr)?self.view.w:self.view.h;(cur>=pos)?fn(pg):fn(-pg)}} 150self.hasanimationframe=(setAnimationFrame);self.hascancelanimationframe=(clearAnimationFrame);if(!self.hasanimationframe){setAnimationFrame=function(fn){return setTimeout(fn,15-Math.floor((+new Date)/1000)%16)};clearAnimationFrame=clearInterval}else if(!self.hascancelanimationframe)clearAnimationFrame=function(){self.cancelAnimationFrame=!0};this.init=function(){self.saved.css=[];if(cap.isie7mobile)return!0;if(cap.isoperamini)return!0;if(cap.hasmstouch)self.css((self.ispage)?$("html"):self.win,{'-ms-touch-action':'none'});self.zindex="auto";if(!self.ispage&&self.opt.zindex=="auto"){self.zindex=getZIndex()||"auto"}else{self.zindex=self.opt.zindex} 151if(!self.ispage&&self.zindex!="auto"){if(self.zindex>globalmaxzindex)globalmaxzindex=self.zindex} 152if(self.isie&&self.zindex==0&&self.opt.zindex=="auto"){self.zindex="auto"} 153if(!self.ispage||(!cap.cantouch&&!cap.isieold&&!cap.isie9mobile)){var cont=self.docscroll;if(self.ispage)cont=(self.haswrapper)?self.win:self.doc;if(!cap.isie9mobile)self.css(cont,{'overflow-y':'hidden'});if(self.ispage&&cap.isie7){if(self.doc[0].nodeName=='BODY')self.css($("html"),{'overflow-y':'hidden'});else if(self.doc[0].nodeName=='HTML')self.css($("body"),{'overflow-y':'hidden'})} 154if(cap.isios&&!self.ispage&&!self.haswrapper)self.css($("body"),{"-webkit-overflow-scrolling":"touch"});var cursor=$(document.createElement('div'));cursor.css({position:"relative",top:0,"float":"right",width:self.opt.cursorwidth,height:"0px",'background-color':self.opt.cursorcolor,border:self.opt.cursorborder,'background-clip':'padding-box','-webkit-border-radius':self.opt.cursorborderradius,'-moz-border-radius':self.opt.cursorborderradius,'border-radius':self.opt.cursorborderradius});
154cursor.hborder=parseFloat(cursor.outerHeight()-cursor.innerHeight());self.cursor=cursor;var rail=$(document.createElement('div'));rail.attr('id',self.id);rail.addClass('nicescroll-rails');var v,a,kp=["left","right"];for(var n in kp){a=kp[n];v=self.opt.railpadding[a];(v)?rail.css("padding-"+a,v+"px"):self.opt.railpadding[a]=0} 155rail.append(cursor);rail.width=Math.max(parseFloat(self.opt.cursorwidth),cursor.outerWidth())+self.opt.railpadding.left+self.opt.railpadding.right;rail.css({width:rail.width+"px",'zIndex':self.zindex,"background":self.opt.background,cursor:"default"});rail.visibility=!0;rail.scrollable=!0;rail.align=(self.opt.railalign=="left")?0:1;self.rail=rail;self.rail.drag=!1;var zoom=!1;if(self.opt.boxzoom&&!self.ispage&&!cap.isieold){zoom=document.createElement('div');self.bind(zoom,"click",self.doZoom);self.zoom=$(zoom);self.zoom.css({"cursor":"pointer",'z-index':self.zindex,'backgroundImage':'url('+scriptpath+'zoomico.png)','height':18,'width':18,'backgroundPosition':'0px 0px'});if(self.opt.dblclickzoom)self.bind(self.win,"dblclick",self.doZoom);if(cap.cantouch&&self.opt.gesturezoom){self.ongesturezoom=function(e){if(e.scale>1.5)self.doZoomIn(e);if(e.scale<0.8)self.doZoomOut(e);return self.cancelEvent(e)};self.bind(self.win,"gestureend",self.ongesturezoom)}} 156self.railh=!1;if(self.opt.horizrailenabled){self.css(cont,{'overflow-x':'hidden'});var cursor=$(document.createElement('div'));cursor.css({position:"relative",top:0,height:self.opt.cursorwidth,width:"0px",'background-color':self.opt.cursorcolor,border:self.opt.cursorborder,'background-clip':'padding-box','-webkit-border-radius':self.opt.cursorborderradius,'-moz-border-radius':self.opt.cursorborderradius,'border-radius':self.opt.cursorborderradius});cursor.wborder=parseFloat(cursor.outerWidth()-cursor.innerWidth());self.cursorh=cursor;var railh=$(document.createElement('div'));railh.attr('id',self.id+'-hr');railh.addClass('nicescroll-rails');railh.height=Math.max(parseFloat(self.opt.cursorwidth),cursor.outerHeight());railh.css({height:railh.height+"px",'zIndex':self.zindex,"background":self.opt.background});railh.append(cursor);railh.visibility=!0;railh.scrollable=!0;railh.align=(self.opt.railvalign=="top")?0:1;self.railh=railh;self.railh.drag=!1} 157if(self.ispage){rail.css({position:"fixed",top:"0px",height:"100%"});(rail.align)?rail.css({right:"0px"}):rail.css({left:"0px"});self.body.append(rail);if(self.railh){railh.css({position:"fixed",left:"0px",width:"100%"});(railh.align)?railh.css({bottom:"0px"}):railh.css({top:"0px"});self.body.append(railh)}}else{if(self.ishwscroll){if(self.win.css('position')=='static')self.css(self.win,{'position':'relative'});var bd=(self.win[0].nodeName=='HTML')?self.body:self.win;if(self.zoom){self.zoom.css({position:"absolute",top:1,right:0,"margin-right":rail.width+4});bd.append(self.zoom)} 158rail.css({position:"absolute",top:0});(rail.align)?rail.css({right:0}):rail.css({left:0});bd.append(rail);if(railh){railh.css({position:"absolute",left:0,bottom:0});(railh.align)?railh.css({bottom:0}):railh.css({top:0});bd.append(railh)}}else{self.isfixed=(self.win.css("position")=="fixed");var rlpos=(self.isfixed)?"fixed":"absolute";if(!self.isfixed)self.viewport=self.getViewport(self.win[0]);if(self.viewport){self.body=self.viewport;if((/relative|absolute/.test(self.viewport.css("position")))==!1)self.css(self.viewport,{"position":"relative"})} 159rail.css({position:rlpos});if(self.zoom)self.zoom.css({position:rlpos});self.updateScrollBar();self.body.append(rail);if(self.zoom)self.body.append(self.zoom);if(self.railh){railh.css({position:rlpos});self.body.append(railh)}} 160if(cap.isios)self.css(self.win,{'-webkit-tap-highlight-color':'rgba(0,0,0,0)','-webkit-touch-callout':'none'});if(cap.isie&&self.opt.disableoutline)self.win.attr("hideFocus","true");if(cap.iswebkit&&self.opt.disableoutline)self.win.css({"outline":"none"})} 161if(self.opt.autohidemode===!1){self.autohidedom=!1;self.rail.css({opacity:self.opt.cursoropacitymax});if(self.railh)self.railh.css({opacity:self.opt.cursoropacitymax})}else if(self.opt.autohidemode===!0){self.autohidedom=$().add(self.rail);if(cap.isie8)self.autohidedom=self.autohidedom.add(self.cursor);if(self.railh)self.autohidedom=self.autohidedom.add(self.railh);if(self.railh&&cap.isie8)self.autohidedom=self.autohidedom.add(self.cursorh);}else if(self.opt.autohidemode=="scroll"){self.autohidedom=$().add(self.rail);if(self.railh)self.autohidedom=self.autohidedom.add(self.railh);}else if(self.opt.autohidemode=="cursor"){self.autohidedom=$().add(self.cursor);if(self.railh)self.autohidedom=self.autohidedom.add(self.cursorh);}else if(self.opt.autohidemode=="hidden"){self.autohidedom=!1;self.hide();self.locked=!1} 162if(cap.isie9mobile){self.scrollmom=new ScrollMomentumClass2D(self);self.onmangotouch=function(e){var py=self.getScrollTop();var px=self.getScrollLeft();if((py==self.scrollmom.lastscrolly)&&(px==self.scrollmom.lastscrollx))return!0;var dfy=py-self.mangotouch.sy;var dfx=px-self.mangotouch.sx;var df=Math.round(Math.sqrt(Math.pow(dfx,2)+Math.pow(dfy,2)));if(df==0)return;var dry=(dfy<0)?-1:1;var drx=(dfx<0)?-1:1;var tm=+new Date();if(self.mangotouch.lazy)clearTimeout(self.mangotouch.lazy);if(((tm-self.mangotouch.tm)>80)||(self.mangotouch.dry!=dry)||(self.mangotouch.drx!=drx)){self.scrollmom.stop();self.scrollmom.reset(px,py);self.mangotouch.sy=py;self.mangotouch.ly=py;self.mangotouch.sx=px;self.mangotouch.lx=px;self.mangotouch.dry=dry;self.mangotouch.drx=drx;self.mangotouch.tm=tm}else{self.scrollmom.stop();self.scrollmom.update(self.mangotouch.sx-dfx,self.mangotouch.sy-dfy);var gap=tm-self.mangotouch.tm;self.mangotouch.tm=tm;var ds=Math.max(Math.abs(self.mangotouch.ly-py),Math.abs(self.mangotouch.lx-px));self.mangotouch.ly=py;self.mangotouch.lx=px;if(ds>2){self.mangotouch.lazy=setTimeout(function(){self.mangotouch.lazy=!1;self.mangotouch.dry=0;self.mangotouch.drx=0;self.mangotouch.tm=0;self.scrollmom.doMomentum(30)},100)}}} 163var top=self.getScrollTop();var lef=self.getScrollLeft();self.mangotouch={sy:top,ly:top,dry:0,sx:lef,lx:lef,drx:0,lazy:!1,tm:0};self.bind(self.docscroll,"scroll",self.onmangotouch)}else{if(cap.cantouch||self.istouchcapable||self.opt.touchbehavior||cap.hasmstouch){self.scrollmom=new ScrollMomentumClass2D(self);self.ontouchstart=function(e){if(e.pointerType&&e.pointerType!=2)return!1;if(!self.locked){if(cap.hasmstouch){var tg=(e.target)?e.target:!1;while(tg){var nc=$(tg).getNiceScroll();if((nc.length>0)&&(nc[0].me==self.me))break;if(nc.length>0)return!1;if((tg.nodeName=='DIV')&&(tg.id==self.id))break;tg=(tg.parentNode)?tg.parentNode:!1}} 164self.cancelScroll();var tg=self.getTarget(e);
164if(tg){var skp=(/INPUT/i.test(tg.nodeName))&&(/range/i.test(tg.type));if(skp)return self.stopPropagation(e);} 165if(!("clientX" in e)&&("changedTouches" in e)){e.clientX=e.changedTouches[0].clientX;e.clientY=e.changedTouches[0].clientY} 166if(self.forcescreen){var le=e;var e={"original":(e.original)?e.original:e};e.clientX=le.screenX;e.clientY=le.screenY} 167self.rail.drag={x:e.clientX,y:e.clientY,sx:self.scroll.x,sy:self.scroll.y,st:self.getScrollTop(),sl:self.getScrollLeft(),pt:2,dl:!1};if(self.ispage||!self.opt.directionlockdeadzone){self.rail.drag.dl="f"}else{var view={w:$(window).width(),h:$(window).height()};var page={w:Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),h:Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)} 168var maxh=Math.max(0,page.h-view.h);var maxw=Math.max(0,page.w-view.w);if(!self.rail.scrollable&&self.railh.scrollable)self.rail.drag.ck=(maxh>0)?"v":!1;else if(self.rail.scrollable&&!self.railh.scrollable)self.rail.drag.ck=(maxw>0)?"h":!1;else self.rail.drag.ck=!1;if(!self.rail.drag.ck)self.rail.drag.dl="f"} 169if(self.opt.touchbehavior&&self.isiframe&&cap.isie){var wp=self.win.position();self.rail.drag.x+=wp.left;self.rail.drag.y+=wp.top} 170self.hasmoving=!1;self.lastmouseup=!1;self.scrollmom.reset(e.clientX,e.clientY);if(!cap.cantouch&&!this.istouchcapable&&!cap.hasmstouch){var ip=(tg)?/INPUT|SELECT|TEXTAREA/i.test(tg.nodeName):!1;if(!ip){if(!self.ispage&&cap.hasmousecapture)tg.setCapture();return(self.opt.touchbehavior)?self.cancelEvent(e):self.stopPropagation(e)} 171if(/SUBMIT|CANCEL|BUTTON/i.test($(tg).attr('type'))){pc={"tg":tg,"click":!1};self.preventclick=pc}}}};self.ontouchend=function(e){if(e.pointerType&&e.pointerType!=2)return!1;if(self.rail.drag&&(self.rail.drag.pt==2)){self.scrollmom.doMomentum();self.rail.drag=!1;if(self.hasmoving){self.hasmoving=!1;self.lastmouseup=!0;self.hideCursor();if(cap.hasmousecapture)document.releaseCapture();if(!cap.cantouch)return self.cancelEvent(e);}}};var moveneedoffset=(self.opt.touchbehavior&&self.isiframe&&!cap.hasmousecapture);self.ontouchmove=function(e,byiframe){if(e.pointerType&&e.pointerType!=2)return!1;if(self.rail.drag&&(self.rail.drag.pt==2)){if(cap.cantouch&&(typeof e.original=="undefined"))return!0;self.hasmoving=!0;if(self.preventclick&&!self.preventclick.click){self.preventclick.click=self.preventclick.tg.onclick||!1;self.preventclick.tg.onclick=self.onpreventclick} 172var ev=$.extend({"original":e},e);e=ev;if(("changedTouches" in e)){e.clientX=e.changedTouches[0].clientX;e.clientY=e.changedTouches[0].clientY} 173if(self.forcescreen){var le=e;var e={"original":(e.original)?e.original:e};e.clientX=le.screenX;e.clientY=le.screenY} 174var ofx=ofy=0;if(moveneedoffset&&!byiframe){var wp=self.win.position();ofx=-wp.left;ofy=-wp.top} 175var fy=e.clientY+ofy;var my=(fy-self.rail.drag.y);var fx=e.clientX+ofx;var mx=(fx-self.rail.drag.x);var ny=self.rail.drag.st-my;if(self.ishwscroll&&self.opt.bouncescroll){if(ny<0){ny=Math.round(ny/2)}else if(ny>self.page.maxh){ny=self.page.maxh+Math.round((ny-self.page.maxh)/2)}}else{if(ny<0){ny=0;fy=0} 176if(ny>self.page.maxh){ny=self.page.maxh;fy=0}} 177if(self.railh&&self.railh.scrollable){var nx=self.rail.drag.sl-mx;if(self.ishwscroll&&self.opt.bouncescroll){if(nx<0){nx=Math.round(nx/2)}else if(nx>self.page.maxw){nx=self.page.maxw+Math.round((nx-self.page.maxw)/2)}}else{if(nx<0){nx=0;fx=0} 178if(nx>self.page.maxw){nx=self.page.maxw;fx=0}}} 179var grabbed=!1;if(self.rail.drag.dl){grabbed=!0;if(self.rail.drag.dl=="v")nx=self.rail.drag.sl;else if(self.rail.drag.dl=="h")ny=self.rail.drag.st}else{var ay=Math.abs(my);var ax=Math.abs(mx);var dz=self.opt.directionlockdeadzone;if(self.rail.drag.ck=="v"){if(ay>dz&&(ax<=(ay*0.3))){self.rail.drag=!1;return!0}else if(ax>dz){self.rail.drag.dl="f";$("body").scrollTop($("body").scrollTop())}}else if(self.rail.drag.ck=="h"){if(ax>dz&&(ay<=(ax*0.3))){self.rail.drag=!1;return!0}else if(ay>dz){self.rail.drag.dl="f";$("body").scrollLeft($("body").scrollLeft())}}} 180self.synched("touchmove",function(){if(self.rail.drag&&(self.rail.drag.pt==2)){if(self.prepareTransition)self.prepareTransition(0);if(self.rail.scrollable)self.setScrollTop(ny);self.scrollmom.update(fx,fy);if(self.railh&&self.railh.scrollable){self.setScrollLeft(nx);self.showCursor(ny,nx)}else{self.showCursor(ny)} 181if(cap.isie10)document.selection.clear();}});if(cap.ischrome&&self.istouchcapable)grabbed=!1;if(grabbed)return self.cancelEvent(e);}}}
182self.onmousedown=function(e,hronly){if(self.rail.drag&&self.rail.drag.pt!=1)return;if(self.locked)return self.cancelEvent(e);self.cancelScroll();self.rail.drag={x:e.clientX,y:e.clientY,sx:self.scroll.x,sy:self.scroll.y,pt:1,hr:(!!hronly)};var tg=self.getTarget(e);if(!self.ispage&&cap.hasmousecapture)tg.setCapture();if(self.isiframe&&!cap.hasmousecapture){self.saved.csspointerevents=self.doc.css("pointer-events");self.css(self.doc,{"pointer-events":"none"})} 183return self.cancelEvent(e)};self.onmouseup=function(e){if(self.rail.drag){if(cap.hasmousecapture)document.releaseCapture();if(self.isiframe&&!cap.hasmousecapture)self.doc.css("pointer-events",self.saved.csspointerevents);if(self.rail.drag.pt!=1)return;self.rail.drag=!1;return self.cancelEvent(e)}};self.onmousemove=function(e){if(self.rail.drag){if(self.rail.drag.pt!=1)return;if(cap.ischrome&&e.which==0)return self.onmouseup(e);self.cursorfreezed=!0;if(self.rail.drag.hr){self.scroll.x=self.rail.drag.sx+(e.clientX-self.rail.drag.x);if(self.scroll.x<0)self.scroll.x=0;var mw=self.scrollvaluemaxw;if(self.scroll.x>mw)self.scroll.x=mw}else{self.scroll.y=self.rail.drag.sy+(e.clientY-self.rail.drag.y);if(self.scroll.y<0)self.scroll.y=0;var my=self.scrollvaluemax;if(self.scroll.y>my)self.scroll.y=my} 184self.synched('mousemove',function(){if(self.rail.drag&&(self.rail.drag.pt==1)){self.showCursor();if(self.rail.drag.hr)self.doScrollLeft(Math.round(self.scroll.x*self.scrollratio.x),self.opt.cursordragspeed);else self.doScrollTop(Math.round(self.scroll.y*self.scrollratio.y),self.opt.cursordragspeed)}});return self.cancelEvent(e)}};if(cap.cantouch||self.opt.touchbehavior){self.onpreventclick=function(e){if(self.preventclick){self.preventclick.tg.onclick=self.preventclick.click;self.preventclick=!1;return self.cancelEvent(e)}} 185self.bind(self.win,"mousedown",self.ontouchstart);self.onclick=(cap.isios)?!1:function(e){if(self.lastmouseup){self.lastmouseup=!1;return self.cancelEvent(e)}else{return!0}};if(self.opt.grabcursorenabled&&cap.cursorgrabvalue){self.css((self.ispage)?self.doc:self.win,{'cursor':cap.cursorgrabvalue});self.css(self.rail,{'cursor':cap.cursorgrabvalue})}}else{function checkSelectionScroll(e){if(!self.selectiondrag)return;if(e){var ww=self.win.outerHeight();var df=(e.pageY-self.selectiondrag.top);if(df>0&&df<ww)df=0;if(df>=ww)df-=ww;self.selectiondrag.df=df} 186if(self.selectiondrag.df==0)return;var rt=-Math.floor(self.selectiondrag.df/6)*2;self.doScrollBy(rt);self.debounced("doselectionscroll",function(){checkSelectionScroll()},50)} 187if("getSelection" in document){self.hasTextSelected=function(){return(document.getSelection().rangeCount>0)}}else if("selection" in document){self.hasTextSelected=function(){return(document.selection.type!="None")}}else{self.hasTextSelected=function(){return!1}} 188self.onselectionstart=function(e){if(self.ispage)return;self.selectiondrag=self.win.offset()} 189self.onselectionend=function(e){self.selectiondrag=!1} 190self.onselectiondrag=function(e){if(!self.selectiondrag)return;if(self.hasTextSelected())self.debounced("selectionscroll",function(){checkSelectionScroll(e)},250)}} 191if(cap.hasmstouch){self.css(self.rail,{'-ms-touch-action':'none'});self.css(self.cursor,{'-ms-touch-action':'none'});self.bind(self.win,"MSPointerDown",self.ontouchstart);self.bind(document,"MSPointerUp",self.ontouchend);self.bind(document,"MSPointerMove",self.ontouchmove);self.bind(self.cursor,"MSGestureHold",function(e){e.preventDefault()});self.bind(self.cursor,"contextmenu",function(e){e.preventDefault()})} 192if(this.istouchcapable){self.bind(self.win,"touchstart",self.ontouchstart);self.bind(document,"touchend",self.ontouchend);self.bind(document,"touchcancel",self.ontouchend);self.bind(document,"touchmove",self.ontouchmove)} 193self.bind(self.cursor,"mousedown",self.onmousedown);self.bind(self.cursor,"mouseup",self.onmouseup);if(self.railh){self.bind(self.cursorh,"mousedown",function(e){self.onmousedown(e,!0)});self.bind(self.cursorh,"mouseup",function(e){if(self.rail.drag&&self.rail.drag.pt==2)return;self.rail.drag=!1;self.hasmoving=!1;self.hideCursor();if(cap.hasmousecapture)document.releaseCapture();return self.cancelEvent(e)})} 194if(self.opt.cursordragontouch||!cap.cantouch&&!self.opt.touchbehavior){self.rail.css({"cursor":"default"});self.railh&&self.railh.css({"cursor":"default"});self.jqbind(self.rail,"mouseenter",function(){if(self.canshowonmouseevent)self.showCursor();self.rail.active=!0});self.jqbind(self.rail,"mouseleave",function(){self.rail.active=!1;if(!self.rail.drag)self.hideCursor();});if(self.opt.sensitiverail){self.bind(self.rail,"click",function(e){self.doRailClick(e,!1,!1)});self.bind(self.rail,"dblclick",function(e){self.doRailClick(e,!0,!1)});self.bind(self.cursor,"click",function(e){self.cancelEvent(e)});self.bind(self.cursor,"dblclick",function(e){self.cancelEvent(e)})} 195if(self.railh){self.jqbind(self.railh,"mouseenter",function(){if(self.canshowonmouseevent)self.showCursor();self.rail.active=!0});self.jqbind(self.railh,"mouseleave",function(){self.rail.active=!1;if(!self.rail.drag)self.hideCursor();});if(self.opt.sensitiverail){self.bind(self.railh,"click",function(e){self.doRailClick(e,!1,!0)});self.bind(self.railh,"dblclick",function(e){self.doRailClick(e,!0,!0)});self.bind(self.cursorh,"click",function(e){self.cancelEvent(e)});self.bind(self.cursorh,"dblclick",function(e){self.cancelEvent(e)})}}} 196if(!cap.cantouch&&!self.opt.touchbehavior){self.bind((cap.hasmousecapture)?self.win:document,"mouseup",self.onmouseup);self.bind(document,"mousemove",self.onmousemove);if(self.onclick)self.bind(document,"click",self.onclick);if(!self.ispage&&self.opt.enablescrollonselection){self.bind(self.win[0],"mousedown",self.onselectionstart);self.bind(document,"mouseup",self.onselectionend);self.bind(self.cursor,"mouseup",self.onselectionend);if(self.cursorh)self.bind(self.cursorh,"mouseup",self.onselectionend);self.bind(document,"mousemove",self.onselectiondrag)} 197if(self.zoom){self.jqbind(self.zoom,"mouseenter",function(){if(self.canshowonmouseevent)self.showCursor();self.rail.active=!0});self.jqbind(self.zoom,"mouseleave",function(){self.rail.active=!1;if(!self.rail.drag)self.hideCursor();})}}else{self.bind((cap.hasmousecapture)?self.win:document,"mouseup",self.ontouchend);self.bind(document,"mousemove",self.ontouchmove);if(self.onclick)self.bind(document,"click",self.onclick);if(self.opt.cursordragontouch){self.bind(self.cursor,"mousedown",self.onmousedown);self.bind(self.cursor,"mousemove",self.onmousemove);self.cursorh&&self.bind(self.cursorh,"mousedown",self.onmousedown);self.cursorh&&self.bind(self.cursorh,"mousemove",self.onmousemove)}} 198if(self.opt.enablemousewheel){if(!self.isiframe)self.bind((cap.isie&&self.ispage)?document:self.win,"mousewheel",self.onmousewheel);self.bind(self.rail,"mousewheel",self.onmousewheel);if(self.railh)self.bind(self.railh,"mousewheel",self.onmousewheelhr);} 199if(!self.ispage&&!cap.cantouch&&!(/HTML|BODY/.test(self.win[0].nodeName))){if
199(!self.win.attr("tabindex"))self.win.attr({"tabindex":tabindexcounter++});self.jqbind(self.win,"focus",function(e){domfocus=(self.getTarget(e)).id||!0;self.hasfocus=!0;if(self.canshowonmouseevent)self.noticeCursor();});self.jqbind(self.win,"blur",function(e){domfocus=!1;self.hasfocus=!1});self.jqbind(self.win,"mouseenter",function(e){mousefocus=(self.getTarget(e)).id||!0;self.hasmousefocus=!0;if(self.canshowonmouseevent)self.noticeCursor();});self.jqbind(self.win,"mouseleave",function(){mousefocus=!1;self.hasmousefocus=!1})}} 200self.onkeypress=function(e){if(self.locked&&self.page.maxh==0)return!0;e=(e)?e:window.e;var tg=self.getTarget(e);if(tg&&/INPUT|TEXTAREA|SELECT|OPTION/.test(tg.nodeName)){var tp=tg.getAttribute('type')||tg.type||!1;if((!tp)||!(/submit|button|cancel/i.tp))return!0} 201if(self.hasfocus||(self.hasmousefocus&&!domfocus)||(self.ispage&&!domfocus&&!mousefocus)){var key=e.keyCode;if(self.locked&&key!=27)return self.cancelEvent(e);var ctrl=e.ctrlKey||!1;var shift=e.shiftKey||!1;var ret=!1;switch(key){case 38:case 63233:self.doScrollBy(24*3);ret=!0;break;case 40:case 63235:self.doScrollBy(-24*3);ret=!0;break;case 37:case 63232:if(self.railh){(ctrl)?self.doScrollLeft(0):self.doScrollLeftBy(24*3);ret=!0} 202break;case 39:case 63234:if(self.railh){(ctrl)?self.doScrollLeft(self.page.maxw):self.doScrollLeftBy(-24*3);ret=!0} 203break;case 33:case 63276:self.doScrollBy(self.view.h);ret=!0;break;case 34:case 63277:self.doScrollBy(-self.view.h);ret=!0;break;case 36:case 63273:(self.railh&&ctrl)?self.doScrollPos(0,0):self.doScrollTo(0);ret=!0;break;case 35:case 63275:(self.railh&&ctrl)?self.doScrollPos(self.page.maxw,self.page.maxh):self.doScrollTo(self.page.maxh);ret=!0;break;case 32:if(self.opt.spacebarenabled){(shift)?self.doScrollBy(self.view.h):self.doScrollBy(-self.view.h);ret=!0} 204break;case 27:if(self.zoomactive){self.doZoom();ret=!0} 205break} 206if(ret)return self.cancelEvent(e);}};if(self.opt.enablekeyboard)self.bind(document,(cap.isopera&&!cap.isopera12)?"keypress":"keydown",self.onkeypress);self.bind(window,'resize',self.lazyResize);self.bind(window,'orientationchange',self.lazyResize);self.bind(window,"load",self.lazyResize);if(cap.ischrome&&!self.ispage&&!self.haswrapper){var tmp=self.win.attr("style");var ww=parseFloat(self.win.css("width"))+1;self.win.css('width',ww);self.synched("chromefix",function(){self.win.attr("style",tmp)})} 207self.onAttributeChange=function(e){self.lazyResize(250)} 208if(!self.ispage&&!self.haswrapper){if(clsMutationObserver!==!1){self.observer=new clsMutationObserver(function(mutations){mutations.forEach(self.onAttributeChange)});self.observer.observe(self.win[0],{childList:!0,characterData:!1,attributes:!0,subtree:!1});self.observerremover=new clsMutationObserver(function(mutations){mutations.forEach(function(mo){if(mo.removedNodes.length>0){for(var dd in mo.removedNodes){if(mo.removedNodes[dd]==self.win[0])return self.remove();}}})});self.observerremover.observe(self.win[0].parentNode,{childList:!0,characterData:!1,attributes:!1,subtree:!1})}else{self.bind(self.win,(cap.isie&&!cap.isie9)?"propertychange":"DOMAttrModified",self.onAttributeChange);if(cap.isie9)self.win[0].attachEvent("onpropertychange",self.onAttributeChange);self.bind(self.win,"DOMNodeRemoved",function(e){if(e.target==self.win[0])self.remove();})}} 209if(!self.ispage&&self.opt.boxzoom)self.bind(window,"resize",self.resizeZoom);if(self.istextarea)self.bind(self.win,"mouseup",self.lazyResize);self.checkrtlmode=!0;self.lazyResize(30)} 210if(this.doc[0].nodeName=='IFRAME'){function oniframeload(e){self.iframexd=!1;try{var doc='contentDocument' in this?this.contentDocument:this.contentWindow.document;var a=doc.domain}catch(e){self.iframexd=!0;doc=!1};if(self.iframexd){if("console" in window)console.log('NiceScroll error: policy restriced iframe');return!0} 211self.forcescreen=!0;if(self.isiframe){self.iframe={"doc":$(doc),"html":self.doc.contents().find('html')[0],"body":self.doc.contents().find('body')[0]};self.getContentSize=function(){return{w:Math.max(self.iframe.html.scrollWidth,self.iframe.body.scrollWidth),h:Math.max(self.iframe.html.scrollHeight,self.iframe.body.scrollHeight)}} 212self.docscroll=$(self.iframe.body)} 213if(!cap.isios&&self.opt.iframeautoresize&&!self.isiframe){self.win.scrollTop(0);self.doc.height("");var hh=Math.max(doc.getElementsByTagName('html')[0].scrollHeight,doc.body.scrollHeight);self.doc.height(hh)} 214self.lazyResize(30);if(cap.isie7)self.css($(self.iframe.html),{'overflow-y':'hidden'});self.css($(self.iframe.body),{'overflow-y':'hidden'});if(cap.isios&&self.haswrapper){self.css($(doc.body),{'-webkit-transform':'translate3d(0,
2140,0)'});console.log(1)} 215if('contentWindow' in this){self.bind(this.contentWindow,"scroll",self.onscroll)}else{self.bind(doc,"scroll",self.onscroll)} 216if(self.opt.enablemousewheel){self.bind(doc,"mousewheel",self.onmousewheel)} 217if(self.opt.enablekeyboard)self.bind(doc,(cap.isopera)?"keypress":"keydown",self.onkeypress);if(cap.cantouch||self.opt.touchbehavior){self.bind(doc,"mousedown",self.ontouchstart);self.bind(doc,"mousemove",function(e){self.ontouchmove(e,!0)});if(self.opt.grabcursorenabled&&cap.cursorgrabvalue)self.css($(doc.body),{'cursor':cap.cursorgrabvalue})} 218self.bind(doc,"mouseup",self.ontouchend);if(self.zoom){if(self.opt.dblclickzoom)self.bind(doc,'dblclick',self.doZoom);if(self.ongesturezoom)self.bind(doc,"gestureend",self.ongesturezoom);}};if(this.doc[0].readyState&&this.doc[0].readyState=="complete"){setTimeout(function(){oniframeload.call(self.doc[0],!1)},500)} 219self.bind(this.doc,"load",oniframeload)}};this.showCursor=function(py,px){if(self.cursortimeout){clearTimeout(self.cursortimeout);self.cursortimeout=0} 220if(!self.rail)return;if(self.autohidedom){self.autohidedom.stop().css({opacity:self.opt.cursoropacitymax});self.cursoractive=!0} 221if(!self.rail.drag||self.rail.drag.pt!=1){if((typeof py!="undefined")&&(py!==!1)){self.scroll.y=Math.round(py*1/self.scrollratio.y)} 222if(typeof px!="undefined"){self.scroll.x=Math.round(px*1/self.scrollratio.x)}} 223self.cursor.css({height:self.cursorheight,top:self.scroll.y});if(self.cursorh){(!self.rail.align&&self.rail.visibility)?self.cursorh.css({width:self.cursorwidth,left:self.scroll.x+self.rail.width}):self.cursorh.css({width:self.cursorwidth,left:self.scroll.x});self.cursoractive=!0} 224if(self.zoom)self.zoom.stop().css({opacity:self.opt.cursoropacitymax})};this.hideCursor=function(tm){if(self.cursortimeout)return;if(!self.rail)return;if(!self.autohidedom)return;self.cursortimeout=setTimeout(function(){if(!self.rail.active||!self.showonmouseevent){self.autohidedom.stop().animate({opacity:self.opt.cursoropacitymin});if(self.zoom)self.zoom.stop().animate({opacity:self.opt.cursoropacitymin});self.cursoractive=!1} 225self.cursortimeout=0},tm||self.opt.hidecursordelay)};this.noticeCursor=function(tm,py,px){self.showCursor(py,px);if(!self.rail.active)self.hideCursor(tm);};this.getContentSize=(self.ispage)?function(){return{w:Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),h:Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}}:(self.haswrapper)?function(){return{w:self.doc.outerWidth()+parseInt(self.win.css('paddingLeft'))+parseInt(self.win.css('paddingRight')),h:self.doc.outerHeight()+parseInt(self.win.css('paddingTop'))+parseInt(self.win.css('paddingBottom'))}}:function(){return{w:self.docscroll[0].scrollWidth,h:self.docscroll[0].scrollHeight}};this.onResize=function(e,page){if(!self.win)return!1;if(!self.haswrapper&&!self.ispage){if(self.win.css('display')=='none'){if(self.visibility)self.hideRail().hideRailHr();return!1}else{if(!self.hidden&&!self.visibility)self.showRail().showRailHr();}} 226var premaxh=self.page.maxh;var premaxw=self.page.maxw;var preview={h:self.view.h,w:self.view.w};self.view={w:(self.ispage)?self.win.width():parseInt(self.win[0].clientWidth),h:(self.ispage)?self.win.height():parseInt(self.win[0].clientHeight)};self.page=(page)?page:self.getContentSize();self.page.maxh=Math.max(0,self.page.h-self.view.h);self.page.maxw=Math.max(0,self.page.w-self.view.w);if((self.page.maxh==premaxh)&&(self.page.maxw==premaxw)&&(self.view.w==preview.w)){if(!self.ispage){var pos=self.win.offset();if(self.lastposition){var lst=self.lastposition;if((lst.top==pos.top)&&(lst.left==pos.left))return self} 227self.lastposition=pos}else{return self}} 228if(self.page.maxh==0){self.hideRail();self.scrollvaluemax=0;self.scroll.y=0;self.scrollratio.y=0;self.cursorheight=0;self.setScrollTop(0);self.rail.scrollable=!1}else{self.rail.scrollable=!0} 229if(self.page.maxw==0){self.hideRailHr();self.scrollvaluemaxw=0;self.scroll.x=0;self.scrollratio.x=0;self.cursorwidth=0;self.setScrollLeft(0);self.railh.scrollable=!1}else{self.railh.scrollable=!0} 230self.locked=(self.page.maxh==0)&&(self.page.maxw==0);if(self.locked){if(!self.ispage)self.updateScrollBar(self.view);return!1} 231if(!self.hidden&&!self.visibility){self.showRail().showRailHr()}else if(!self.hidden&&!self.railh.visibility)self.showRailHr();if(self.istextarea&&self.win.css('resize')&&self.win.css('resize')!='none')self.view.h-=20;self.cursorheight=Math.min(self.view.h,Math.round(self.view.h*(self.view.h/self.page.h)));self.cursorheight=(self.opt.cursorfixedheight)?self.opt.cursorfixedheight:Math.max(self.opt.cursorminheight,self.cursorheight);self.cursorwidth=Math.min(self.view.w,Math.round(self.view.w*(self.view.w/self.page.w)));self.cursorwidth=(self.opt.cursorfixedheight)?self.opt.cursorfixedheight:Math.max(self.opt.cursorminheight,self.cursorwidth);self.scrollvaluemax=self.view.h-self.cursorheight-self.cursor.hborder;if(self.railh){self.railh.width=(self.page.maxh>0)?(self.view.w-self.rail.width):self.view.w;self.scrollvaluemaxw=self.railh.width-self.cursorwidth-self.cursorh.wborder} 232if(self.checkrtlmode&&self.railh){self.checkrtlmode=!1;if(self.opt.rtlmode&&self.scroll.x==0)self.setScrollLeft(self.page.maxw);} 233if(!self.ispage)self.updateScrollBar(self.view);self.scrollratio={x:(self.page.maxw/self.scrollvaluemaxw),y:(self.page.maxh/self.scrollvaluemax)};var sy=self.getScrollTop();if(sy>self.page.maxh){self.doScrollTop(self.page.maxh)}else{self.scroll.y=Math.round(self.getScrollTop()*(1/self.scrollratio.y));self.scroll.x=Math.round(self.getScrollLeft()*(1/self.scrollratio.x));if(self.cursoractive)self.noticeCursor();} 234if(self.scroll.y&&(self.getScrollTop()==0))self.doScrollTo(Math.floor(self.scroll.y*self.scrollratio.y));return self};this.resize=self.onResize;this.lazyResize=function(tm){tm=(isNaN(tm))?30:tm;self.delayed('resize',self.resize,tm);return self} 235function _modernWheelEvent(dom,name,fn,bubble){self._bind(dom,name,function(e){var e=(e)?e:window.event;var event={original:e,target:e.target||e.srcElement,type:"wheel",deltaMode:e.type=="MozMousePixelScroll"?0:1,deltaX:0,deltaZ:0,preventDefault:function(){e.preventDefault?e.preventDefault():e.returnValue=!1;return!1},stopImmediatePropagation:function(){(e.stopImmediatePropagation)?e.stopImmediatePropagation():e.cancelBubble=!0}};if(name=="mousewheel"){event.deltaY=-1/40*e.wheelDelta;e.wheelDeltaX&&(event.deltaX=-1/40*e.wheelDeltaX)}else{event.deltaY=e.detail}
236return fn.call(dom,event)},bubble)};this._bind=function(el,name,fn,bubble){self.events.push({e:el,n:name,f:fn,b:bubble,q:!1});if(el.addEventListener){el.addEventListener(name,fn,bubble||!1)}else if(el.attachEvent){el.attachEvent("on"+name,fn)}else{el["on"+name]=fn}};this.jqbind=function(dom,name,fn){self.events.push({e:dom,n:name,f:fn,q:!0});$(dom).bind(name,fn)} 237this.bind=function(dom,name,fn,bubble){var el=("jquery" in dom)?dom[0]:dom;if(name=='mousewheel'){if("onwheel" in self.win){self._bind(el,"wheel",fn,bubble||!1)}else{var wname=(typeof document.onmousewheel!="undefined")?"mousewheel":"DOMMouseScroll";_modernWheelEvent(el,wname,fn,bubble||!1);if(wname=="DOMMouseScroll")_modernWheelEvent(el,"MozMousePixelScroll",fn,bubble||!1);}}else if(el.addEventListener){if(cap.cantouch&&/mouseup|mousedown|mousemove/.test(name)){var tt=(name=='mousedown')?'touchstart':(name=='mouseup')?'touchend':'touchmove';self._bind(el,tt,function(e){if(e.touches){if(e.touches.length<2){var ev=(e.touches.length)?e.touches[0]:e;ev.original=e;fn.call(this,ev)}}else if(e.changedTouches){var ev=e.changedTouches[0];ev.original=e;fn.call(this,ev)}},bubble||!1)} 238self._bind(el,name,fn,bubble||!1);if(cap.cantouch&&name=="mouseup")self._bind(el,"touchcancel",fn,bubble||!1);}else{self._bind(el,name,function(e){e=e||window.event||!1;if(e){if(e.srcElement)e.target=e.srcElement} 239if(!("pageY" in e)){e.pageX=e.clientX+document.documentElement.scrollLeft;e.pageY=e.clientY+document.documentElement.scrollTop} 240return((fn.call(el,e)===!1)||bubble===!1)?self.cancelEvent(e):!0})}};this._unbind=function(el,name,fn,bub){if(el.removeEventListener){el.removeEventListener(name,fn,bub)}else if(el.detachEvent){el.detachEvent('on'+name,fn)}else{el['on'+name]=!1}};this.unbindAll=function(){for(var a=0;a<self.events.length;a++){var r=self.events[a];(r.q)?r.e.unbind(r.n,r.f):self._unbind(r.e,r.n,r.f,r.b)}};this.cancelEvent=function(e){var e=(e.original)?e.original:(e)?e:window.event||!1;if(!e)return!1;if(e.preventDefault)e.preventDefault();if(e.stopPropagation)e.stopPropagation();if(e.preventManipulation)e.preventManipulation();e.cancelBubble=!0;e.cancel=!0;e.returnValue=!1;return!1};this.stopPropagation=function(e){var e=(e.original)?e.original:(e)?e:window.event||!1;if(!e)return!1;if(e.stopPropagation)return e.stopPropagation();if(e.cancelBubble)e.cancelBubble=!0;return!1} 241this.showRail=function(){if((self.page.maxh!=0)&&(self.ispage||self.win.css('display')!='none')){self.visibility=!0;self.rail.visibility=!0;self.rail.css('display','block')} 242return self};this.showRailHr=function(){if(!self.railh)return self;if((self.page.maxw!=0)&&(self.ispage||self.win.css('display')!='none')){self.railh.visibility=!0;self.railh.css('display','block')} 243return self};this.hideRail=function(){self.visibility=!1;self.rail.visibility=!1;self.rail.css('display','none');return self};this.hideRailHr=function(){if(!self.railh)return self;self.railh.visibility=!1;self.railh.css('display','none');return self};this.show=function(){self.hidden=!1;self.locked=!1;return self.showRail().showRailHr()};this.hide=function(){self.hidden=!0;self.locked=!0;return self.hideRail().hideRailHr()};this.toggle=function(){return(self.hidden)?self.show():self.hide()};this.remove=function(){self.stop();if(self.cursortimeout)clearTimeout(self.cursortimeout);self.doZoomOut();self.unbindAll();if(cap.isie9)self.win[0].detachEvent("onpropertychange",self.onAttributeChange);if(self.observer!==!1)self.observer.disconnect();if(self.observerremover!==!1)self.observerremover.disconnect();self.events=null;if(self.cursor){self.cursor.remove()} 244if(self.cursorh){self.cursorh.remove()} 245if(self.rail){self.rail.remove()} 246if(self.railh){self.railh.remove()} 247if(self.zoom){self.zoom.remove()} 248for(var a=0;a<self.saved.css.length;a++){var d=self.saved.css[a];d[0].css(d[1],(typeof d[2]=="undefined")?'':d[2])} 249self.saved=!1;self.me.data('__nicescroll','');var lst=$.nicescroll;lst.each(function(i){if(!this)return;if(this.id===self.id){delete lst[i];for(var b=++i;b<lst.length;b++,i++)lst[i]=lst[b];lst.length--;if(lst.length)delete lst[lst.length]}});for(var i in self){self[i]=null;delete self[i]} 250self=null};this.scrollstart=function(fn){this.onscrollstart=fn;return self} 251this.scrollend=function(fn){this.onscrollend=fn;return self} 252this.scrollcancel=function(fn){this.onscrollcancel=fn;return self} 253this.zoomin=function(fn){this.onzoomin=fn;return self} 254this.zoomout=function(fn){this.onzoomout=fn;return self} 255this.isScrollable=function(e){var dom=(e.target)?e.target:e;if(dom.nodeName=='OPTION')return!0;while(dom&&(dom.nodeType==1)&&!(/BODY|HTML/.test(dom.nodeName))){var dd=$(dom);var ov=dd.css('overflowY')||dd.css('overflowX')||dd.css('overflow')||'';if(/scroll|auto/.test(ov))return(dom.clientHeight!=dom.scrollHeight);dom=(dom.parentNode)?dom.parentNode:!1} 256return!1};this.getViewport=function(me){var dom=(me&&me.parentNode)?me.parentNode:!1;while(dom&&(dom.nodeType==1)&&!(/BODY|HTML/.test(dom.nodeName))){var dd=$(dom);var ov=dd.css('overflowY')||dd.css('overflowX')||dd.css('overflow')||'';if((/scroll|auto/.test(ov))&&(dom.clientHeight!=dom.scrollHeight))return dd;if(dd.getNiceScroll().length>0)return dd;dom=(dom.parentNode)?dom.parentNode:!1} 257return!1};function execScrollWheel(e,hr,chkscroll){var px,py;var rt=1;if(e.deltaMode==0){px=-Math.floor(e.deltaX*(self.opt.mousescrollstep/(18*3)));py=-Math.floor(e.deltaY*(self.opt.mousescrollstep/(18*3)))}else if(e.deltaMode==1){px=-Math.floor(e.deltaX*self.opt.mousescrollstep);py=-Math.floor(e.deltaY*self.opt.mousescrollstep)} 258if(hr&&self.opt.oneaxismousemode&&(px==0)&&py){px=py;py=0} 259if(px){if(self.scrollmom){self.scrollmom.stop()} 260self.lastdeltax+=px;self.debounced("mousewheelx",function(){var dt=self.lastdeltax;self.lastdeltax=0;if(!self.rail.drag){self.doScrollLeftBy(dt)}},120)} 261if(py){if(self.opt.nativeparentscrolling&&chkscroll&&!self.ispage&&!self.zoomactive){if(py<0){if(self.getScrollTop()>=self.page.maxh)return!0}else{if(self.getScrollTop()<=0)return!0}} 262if(self.scrollmom){self.scrollmom.stop()} 263self.lastdeltay+=py;self.debounced("mousewheely",function(){var dt=self.lastdeltay;self.lastdeltay=0;if(!self.rail.drag){self.doScrollBy(dt)}},120)} 264e.stopImmediatePropagation();return e.preventDefault()};this.onmousewheel=function(e){if(self.locked){self.debounced("checkunlock",self.resize,250);return!0} 265if(self.rail.drag)return self.cancelEvent(e);
265if(self.opt.oneaxismousemode=="auto"&&e.deltaX!=0)self.opt.oneaxismousemode=!1;if(self.opt.oneaxismousemode&&e.deltaX==0){if(!self.rail.scrollable){if(self.railh&&self.railh.scrollable){return self.onmousewheelhr(e)}else{return!0}}} 266var nw=+(new Date());var chk=!1;if(self.opt.preservenativescrolling&&((self.checkarea+600)<nw)){self.nativescrollingarea=self.isScrollable(e);chk=!0} 267self.checkarea=nw;if(self.nativescrollingarea)return!0;var ret=execScrollWheel(e,!1,chk);if(ret)self.checkarea=0;return ret};this.onmousewheelhr=function(e){if(self.locked||!self.railh.scrollable)return!0;if(self.rail.drag)return self.cancelEvent(e);var nw=+(new Date());var chk=!1;if(self.opt.preservenativescrolling&&((self.checkarea+600)<nw)){self.nativescrollingarea=self.isScrollable(e);chk=!0} 268self.checkarea=nw;if(self.nativescrollingarea)return!0;if(self.locked)return self.cancelEvent(e);return execScrollWheel(e,!0,chk)};this.stop=function(){self.cancelScroll();if(self.scrollmon)self.scrollmon.stop();self.cursorfreezed=!1;self.scroll.y=Math.round(self.getScrollTop()*(1/self.scrollratio.y));self.noticeCursor();return self};this.getTransitionSpeed=function(dif){var sp=Math.round(self.opt.scrollspeed*10);var ex=Math.min(sp,Math.round((dif/20)*self.opt.scrollspeed));return(ex>20)?ex:0} 269if(!self.opt.smoothscroll){this.doScrollLeft=function(x,spd){var y=self.getScrollTop();self.doScrollPos(x,y,spd)} 270this.doScrollTop=function(y,spd){var x=self.getScrollLeft();self.doScrollPos(x,y,spd)} 271this.doScrollPos=function(x,y,spd){var nx=(x>self.page.maxw)?self.page.maxw:x;if(nx<0)nx=0;var ny=(y>self.page.maxh)?self.page.maxh:y;if(ny<0)ny=0;self.synched('scroll',function(){self.setScrollTop(ny);self.setScrollLeft(nx)})} 272this.cancelScroll=function(){}}else if(self.ishwscroll&&cap.hastransition&&self.opt.usetransition){this.prepareTransition=function(dif,istime){var ex=(istime)?((dif>20)?dif:0):self.getTransitionSpeed(dif);var trans=(ex)?cap.prefixstyle+'transform '+ex+'ms ease-out':'';if(!self.lasttransitionstyle||self.lasttransitionstyle!=trans){self.lasttransitionstyle=trans;self.doc.css(cap.transitionstyle,trans)} 273return ex};this.doScrollLeft=function(x,spd){var y=(self.scrollrunning)?self.newscrolly:self.getScrollTop();self.doScrollPos(x,y,spd)} 274this.doScrollTop=function(y,spd){var x=(self.scrollrunning)?self.newscrollx:self.getScrollLeft();self.doScrollPos(x,y,spd)} 275this.doScrollPos=function(x,y,spd){var py=self.getScrollTop();var px=self.getScrollLeft();if(((self.newscrolly-py)*(y-py)<0)||((self.newscrollx-px)*(x-px)<0))self.cancelScroll();if(self.opt.bouncescroll==!1){if(y<0)y=0;else if(y>self.page.maxh)y=self.page.maxh;if(x<0)x=0;else if(x>self.page.maxw)x=self.page.maxw} 276if(self.scrollrunning&&x==self.newscrollx&&y==self.newscrolly)return!1;self.newscrolly=y;self.newscrollx=x;self.newscrollspeed=spd||!1;if(self.timer)return!1;self.timer=setTimeout(function(){var top=self.getScrollTop();var lft=self.getScrollLeft();var dst={};dst.x=x-lft;dst.y=y-top;dst.px=lft;dst.py=top;var dd=Math.round(Math.sqrt(Math.pow(dst.x,2)+Math.pow(dst.y,2)));var ms=(self.newscrollspeed&&self.newscrollspeed>1)?self.newscrollspeed:self.getTransitionSpeed(dd);if(self.newscrollspeed&&self.newscrollspeed<=1)ms*=self.newscrollspeed;self.prepareTransition(ms,!0);if(self.timerscroll&&self.timerscroll.tm)clearInterval(self.timerscroll.tm);if(ms>0){if(!self.scrollrunning&&self.onscrollstart){var info={"type":"scrollstart","current":{"x":lft,"y":top},"request":{"x":x,"y":y},"end":{"x":self.newscrollx,"y":self.newscrolly},"speed":ms};self.onscrollstart.call(self,info)} 277if(cap.transitionend){if(!self.scrollendtrapped){self.scrollendtrapped=!0;self.bind(self.doc,cap.transitionend,self.onScrollEnd,!1)}}else{if(self.scrollendtrapped)clearTimeout(self.scrollendtrapped);self.scrollendtrapped=setTimeout(self.onScrollEnd,ms)} 278var py=top;var px=lft;self.timerscroll={bz:new BezierClass(py,self.newscrolly,ms,0,0,0.58,1),bh:new BezierClass(px,self.newscrollx,ms,0,0,0.58,1)};if(!self.cursorfreezed)self.timerscroll.tm=setInterval(function(){self.showCursor(self.getScrollTop(),self.getScrollLeft())},60)} 279self.synched("doScroll-set",function(){self.timer=0;if(self.scrollendtrapped)self.scrollrunning=!0;self.setScrollTop(self.newscrolly);self.setScrollLeft(self.newscrollx);if(!self.scrollendtrapped)self.onScrollEnd();})},50)};this.cancelScroll=function(){if(!self.scrollendtrapped)return!0;var py=self.getScrollTop();var px=self.getScrollLeft();self.scrollrunning=!1;if(!cap.transitionend)clearTimeout(cap.transitionend);self.scrollendtrapped=!1;self._unbind(self.doc,cap.transitionend,self.onScrollEnd);self.prepareTransition(0);self.setScrollTop(py);if(self.railh)self.setScrollLeft(px);if(self.timerscroll&&self.timerscroll.tm)clearInterval(self.timerscroll.tm);self.timerscroll=!1;self.cursorfreezed=!1;self.showCursor(py,px);return self};this.onScrollEnd=function(){if(self.scrollendtrapped)self._unbind(self.doc,cap.transitionend,self.onScrollEnd);self.scrollendtrapped=!1;self.prepareTransition(0);if(self.timerscroll&&self.timerscroll.tm)clearInterval(self.timerscroll.tm);self.timerscroll=!1;var py=self.getScrollTop();var px=self.getScrollLeft();self.setScrollTop(py);if(self.railh)self.setScrollLeft(px);self.noticeCursor(!1,py,px);self.cursorfreezed=!1;if(py<0)py=0 280else if(py>self.page.maxh)py=self.page.maxh;if(px<0)px=0 281else if(px>self.page.maxw)px=self.page.maxw;if((py!=self.newscrolly)||(px!=self.newscrollx))return self.doScrollPos(px,py,self.opt.snapbackspeed);if(self.onscrollend&&self.scrollrunning){var info={"type":"scrollend","current":{"x":px,"y":py}
281,"end":{"x":self.newscrollx,"y":self.newscrolly}};self.onscrollend.call(self,info)} 282self.scrollrunning=!1}}else{this.doScrollLeft=function(x,spd){var y=(self.scrollrunning)?self.newscrolly:self.getScrollTop();self.doScrollPos(x,y,spd)} 283this.doScrollTop=function(y,spd){var x=(self.scrollrunning)?self.newscrollx:self.getScrollLeft();self.doScrollPos(x,y,spd)} 284this.doScrollPos=function(x,y,spd){var y=((typeof y=="undefined")||(y===!1))?self.getScrollTop(!0):y;if((self.timer)&&(self.newscrolly==y)&&(self.newscrollx==x))return!0;if(self.timer)clearAnimationFrame(self.timer);self.timer=0;var py=self.getScrollTop();var px=self.getScrollLeft();if(((self.newscrolly-py)*(y-py)<0)||((self.newscrollx-px)*(x-px)<0))self.cancelScroll();self.newscrolly=y;self.newscrollx=x;if(!self.bouncescroll||!self.rail.visibility){if(self.newscrolly<0){self.newscrolly=0}else if(self.newscrolly>self.page.maxh){self.newscrolly=self.page.maxh}} 285if(!self.bouncescroll||!self.railh.visibility){if(self.newscrollx<0){self.newscrollx=0}else if(self.newscrollx>self.page.maxw){self.newscrollx=self.page.maxw}} 286self.dst={};self.dst.x=x-px;self.dst.y=y-py;self.dst.px=px;self.dst.py=py;var dst=Math.round(Math.sqrt(Math.pow(self.dst.x,2)+Math.pow(self.dst.y,2)));self.dst.ax=self.dst.x/dst;self.dst.ay=self.dst.y/dst;var pa=0;var pe=dst;if(self.dst.x==0){pa=py;pe=y;self.dst.ay=1;self.dst.py=0}else if(self.dst.y==0){pa=px;pe=x;self.dst.ax=1;self.dst.px=0} 287var ms=self.getTransitionSpeed(dst);if(spd&&spd<=1)ms*=spd;if(ms>0){self.bzscroll=(self.bzscroll)?self.bzscroll.update(pe,ms):new BezierClass(pa,pe,ms,0,1,0,1)}else{self.bzscroll=!1} 288if(self.timer)return;if((py==self.page.maxh&&y>=self.page.maxh)||(px==self.page.maxw&&x>=self.page.maxw))self.checkContentSize();var sync=1;function scrolling(){if(self.cancelAnimationFrame)return!0;self.scrollrunning=!0;sync=1-sync;if(sync)return(self.timer=setAnimationFrame(scrolling)||1);var done=0;var sc=sy=self.getScrollTop();if(self.dst.ay){sc=(self.bzscroll)?self.dst.py+(self.bzscroll.getNow()*self.dst.ay):self.newscrolly;var dr=sc-sy;if((dr<0&&sc<self.newscrolly)||(dr>0&&sc>self.newscrolly))sc=self.newscrolly;self.setScrollTop(sc);if(sc==self.newscrolly)done=1}else{done=1} 289var scx=sx=self.getScrollLeft();if(self.dst.ax){scx=(self.bzscroll)?self.dst.px+(self.bzscroll.getNow()*self.dst.ax):self.newscrollx;var dr=scx-sx;if((dr<0&&scx<self.newscrollx)||(dr>0&&scx>self.newscrollx))scx=self.newscrollx;self.setScrollLeft(scx);if(scx==self.newscrollx)done+=1}else{done+=1} 290if(done==2){self.timer=0;self.cursorfreezed=!1;self.bzscroll=!1;self.scrollrunning=!1;if(sc<0)sc=0;else if(sc>self.page.maxh)sc=self.page.maxh;if(scx<0)scx=0;else if(scx>self.page.maxw)scx=self.page.maxw;if((scx!=self.newscrollx)||(sc!=self.newscrolly))self.doScrollPos(scx,sc);else{if(self.onscrollend){var info={"type":"scrollend","current":{"x":sx,"y":sy},"end":{"x":self.newscrollx,"y":self.newscrolly}};self.onscrollend.call(self,info)}}}else{self.timer=setAnimationFrame(scrolling)||1}};self.cancelAnimationFrame=!1;self.timer=1;if(self.onscrollstart&&!self.scrollrunning){var info={"type":"scrollstart","current":{"x":px,"y":py},"request":{"x":x,"y":y},"end":{"x":self.newscrollx,"y":self.newscrolly},"speed":ms};self.onscrollstart.call(self,info)} 291scrolling();if((py==self.page.maxh&&y>=py)||(px==self.page.maxw&&x>=px))self.checkContentSize();self.noticeCursor()};this.cancelScroll=function(){if(self.timer)clearAnimationFrame(self.timer);self.timer=0;self.bzscroll=!1;self.scrollrunning=!1;return self}} 292this.doScrollBy=function(stp,relative){var ny=0;if(relative){ny=Math.floor((self.scroll.y-stp)*self.scrollratio.y)}else{var sy=(self.timer)?self.newscrolly:self.getScrollTop(!0);ny=sy-stp} 293if(self.bouncescroll){var haf=Math.round(self.view.h/2);if(ny<-haf)ny=-haf 294else if(ny>(self.page.maxh+haf))ny=(self.page.maxh+haf);} 295self.cursorfreezed=!1;py=self.getScrollTop(!0);if(ny<0&&py<=0)return self.noticeCursor();else if(ny>self.page.maxh&&py>=self.page.maxh){self.checkContentSize();return self.noticeCursor()} 296self.doScrollTop(ny)};this.doScrollLeftBy=function(stp,relative){var nx=0;if(relative){nx=Math.floor((self.scroll.x-stp)*self.scrollratio.x)}else{var sx=(self.timer)?self.newscrollx:self.getScrollLeft(!0);nx=sx-stp} 297if(self.bouncescroll){var haf=Math.round(self.view.w/2);if(nx<-haf)nx=-haf 298else if(nx>(self.page.maxw+haf))nx=(self.page.maxw+haf);} 299self.cursorfreezed=!1;px=self.getScrollLeft(!0);if(nx<0&&px<=0)return self.noticeCursor();else if(nx>self.page.maxw&&px>=self.page.maxw)return self.noticeCursor();self.doScrollLeft(nx)};this.doScrollTo=function(pos,relative){var ny=(relative)?Math.round(pos*self.scrollratio.y):pos;if(ny<0)ny=0 300else if(ny>self.page.maxh)ny=self.page.maxh;self.cursorfreezed=!1;self.doScrollTop(pos)};this.checkContentSize=function(){var pg=self.getContentSize();
300if((pg.h!=self.page.h)||(pg.w!=self.page.w))self.resize(!1,pg);};self.onscroll=function(e){if(self.rail.drag)return;if(!self.cursorfreezed){self.synched('scroll',function(){self.scroll.y=Math.round(self.getScrollTop()*(1/self.scrollratio.y));if(self.railh)self.scroll.x=Math.round(self.getScrollLeft()*(1/self.scrollratio.x));self.noticeCursor()})}};self.bind(self.docscroll,"scroll",self.onscroll);this.doZoomIn=function(e){if(self.zoomactive)return;self.zoomactive=!0;self.zoomrestore={style:{}};var lst=['position','top','left','zIndex','backgroundColor','marginTop','marginBottom','marginLeft','marginRight'];var win=self.win[0].style;for(var a in lst){var pp=lst[a];self.zoomrestore.style[pp]=(typeof win[pp]!="undefined")?win[pp]:''} 301self.zoomrestore.style.width=self.win.css('width');self.zoomrestore.style.height=self.win.css('height');self.zoomrestore.padding={w:self.win.outerWidth()-self.win.width(),h:self.win.outerHeight()-self.win.height()};if(cap.isios4){self.zoomrestore.scrollTop=$(window).scrollTop();$(window).scrollTop(0)} 302self.win.css({"position":(cap.isios4)?"absolute":"fixed","top":0,"left":0,"z-index":globalmaxzindex+100,"margin":"0px"});var bkg=self.win.css("backgroundColor");if(bkg==""||/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(bkg))self.win.css("backgroundColor","#fff");self.rail.css({"z-index":globalmaxzindex+101});self.zoom.css({"z-index":globalmaxzindex+102});self.zoom.css('backgroundPosition','0px -18px');self.resizeZoom();if(self.onzoomin)self.onzoomin.call(self);return self.cancelEvent(e)};this.doZoomOut=function(e){if(!self.zoomactive)return;self.zoomactive=!1;self.win.css("margin","");self.win.css(self.zoomrestore.style);if(cap.isios4){$(window).scrollTop(self.zoomrestore.scrollTop)} 303self.rail.css({"z-index":self.zindex});self.zoom.css({"z-index":self.zindex});self.zoomrestore=!1;self.zoom.css('backgroundPosition','0px 0px');self.onResize();if(self.onzoomout)self.onzoomout.call(self);return self.cancelEvent(e)};this.doZoom=function(e){return(self.zoomactive)?self.doZoomOut(e):self.doZoomIn(e)};this.resizeZoom=function(){if(!self.zoomactive)return;var py=self.getScrollTop();self.win.css({width:$(window).width()-self.zoomrestore.padding.w+"px",height:$(window).height()-self.zoomrestore.padding.h+"px"});self.onResize();self.setScrollTop(Math.min(self.page.maxh,py))};this.init();$.nicescroll.push(this)};var ScrollMomentumClass2D=function(nc){var self=this;this.nc=nc;this.lastx=0;this.lasty=0;this.speedx=0;this.speedy=0;this.lasttime=0;this.steptime=0;this.snapx=!1;this.snapy=!1;this.demulx=0;this.demuly=0;this.lastscrollx=-1;this.lastscrolly=-1;this.chkx=0;this.chky=0;this.timer=0;this.time=function(){return+new Date()};this.reset=function(px,py){self.stop();var now=self.time();self.steptime=0;self.lasttime=now;self.speedx=0;self.speedy=0;self.lastx=px;self.lasty=py;self.lastscrollx=-1;self.lastscrolly=-1};this.update=function(px,py){var now=self.time();self.steptime=now-self.lasttime;self.lasttime=now;var dy=py-self.lasty;var dx=px-self.lastx;var sy=self.nc.getScrollTop();var sx=self.nc.getScrollLeft();var newy=sy+dy;var newx=sx+dx;self.snapx=(newx<0)||(newx>self.nc.page.maxw);self.snapy=(newy<0)||(newy>self.nc.page.maxh);self.speedx=dx;self.speedy=dy;self.lastx=px;self.lasty=py};this.stop=function(){self.nc.unsynched("domomentum2d");if(self.timer)clearTimeout(self.timer);self.timer=0;self.lastscrollx=-1;self.lastscrolly=-1};this.doSnapy=function(nx,ny){var snap=!1;if(ny<0){ny=0;snap=!0}else if(ny>self.nc.page.maxh){ny=self.nc.page.maxh;snap=!0} 304if(nx<0){nx=0;snap=!0}else if(nx>self.nc.page.maxw){nx=self.nc.page.maxw;snap=!0} 305if(snap)self.nc.doScrollPos(nx,ny,self.nc.opt.snapbackspeed);};this.doMomentum=function(gp){var t=self.time();var l=(gp)?t+gp:self.lasttime;var sl=self.nc.getScrollLeft();var st=self.nc.getScrollTop();var pageh=self.nc.page.maxh;var pagew=self.nc.page.maxw;self.speedx=(pagew>0)?Math.min(60,self.speedx):0;self.speedy=(pageh>0)?Math.min(60,self.speedy):0;var chk=l&&(t-l)<=60;if((st<0)||(st>pageh)||(sl<0)||(sl>
305pagew))chk=!1;var sy=(self.speedy&&chk)?self.speedy:!1;var sx=(self.speedx&&chk)?self.speedx:!1;if(sy||sx){var tm=Math.max(16,self.steptime);if(tm>50){var xm=tm/50;self.speedx*=xm;self.speedy*=xm;tm=50} 306self.demulxy=0;self.lastscrollx=self.nc.getScrollLeft();self.chkx=self.lastscrollx;self.lastscrolly=self.nc.getScrollTop();self.chky=self.lastscrolly;var nx=self.lastscrollx;var ny=self.lastscrolly;var onscroll=function(){var df=((self.time()-t)>600)?0.04:0.02;if(self.speedx){nx=Math.floor(self.lastscrollx-(self.speedx*(1-self.demulxy)));self.lastscrollx=nx;if((nx<0)||(nx>pagew))df=0.10} 307if(self.speedy){ny=Math.floor(self.lastscrolly-(self.speedy*(1-self.demulxy)));self.lastscrolly=ny;if((ny<0)||(ny>pageh))df=0.10} 308self.demulxy=Math.min(1,self.demulxy+df);self.nc.synched("domomentum2d",function(){if(self.speedx){var scx=self.nc.getScrollLeft();if(scx!=self.chkx)self.stop();self.chkx=nx;self.nc.setScrollLeft(nx)} 309if(self.speedy){var scy=self.nc.getScrollTop();if(scy!=self.chky)self.stop();self.chky=ny;self.nc.setScrollTop(ny)} 310if(!self.timer){self.nc.hideCursor();self.doSnapy(nx,ny)}});if(self.demulxy<1){self.timer=setTimeout(onscroll,tm)}else{self.stop();self.nc.hideCursor();self.doSnapy(nx,ny)}};onscroll()}else{self.doSnapy(self.nc.getScrollLeft(),self.nc.getScrollTop())}}};var _scrollTop=jQuery.fn.scrollTop;jQuery.cssHooks.pageYOffset={get:function(elem,computed,extra){var nice=$.data(elem,'__nicescroll')||!1;return(nice&&nice.ishwscroll)?nice.getScrollTop():_scrollTop.call(elem)},set:function(elem,value){var nice=$.data(elem,'__nicescroll')||!1;(nice&&nice.ishwscroll)?nice.setScrollTop(parseInt(value)):_scrollTop.call(elem,value);return this}};jQuery.fn.scrollTop=function(value){if(typeof value=="undefined"){var nice=(this[0])?$.data(this[0],'__nicescroll')||!1:!1;return(nice&&nice.ishwscroll)?nice.getScrollTop():_scrollTop.call(this)}else{return this.each(function(){var nice=$.data(this,'__nicescroll')||!1;(nice&&nice.ishwscroll)?nice.setScrollTop(parseInt(value)):_scrollTop.call($(this),value)})}} 311var _scrollLeft=jQuery.fn.scrollLeft;$.cssHooks.pageXOffset={get:function(elem,computed,extra){var nice=$.data(elem,'__nicescroll')||!1;return(nice&&nice.ishwscroll)?nice.getScrollLeft():_scrollLeft.call(elem)},set:function(elem,value){var nice=$.data(elem,'__nicescroll')||!1;(nice&&nice.ishwscroll)?nice.setScrollLeft(parseInt(value)):_scrollLeft.call(elem,value);return this}};jQuery.fn.scrollLeft=function(value){if(typeof value=="undefined"){var nice=(this[0])?$.data(this[0],'__nicescroll')||!1:!1;return(nice&&nice.ishwscroll)?nice.getScrollLeft():_scrollLeft.call(this)}else{return this.each(function(){var nice=$.data(this,'__nicescroll')||!1;(nice&&nice.ishwscroll)?nice.setScrollLeft(parseInt(value)):_scrollLeft.call($(this),value)})}} 312var NiceScrollArray=function(doms){var self=this;this.length=0;this.name="nicescrollarray";this.each=function(fn){for(var a=0,i=0;a<self.length;a++)fn.call(self[a],i++);return self};this.push=function(nice){self[self.length]=nice;self.length++};this.eq=function(idx){return self[idx]};if(doms){for(a=0;a<doms.length;a++){var nice=$.data(doms[a],'__nicescroll')||!1;if(nice){this[this.length]=nice;this.length++}}} 313return this};function mplex(el,lst,fn){for(var a=0;a<lst.length;a++)fn(el,lst[a]);};mplex(NiceScrollArray.prototype,['show','hide','toggle','onResize','resize','remove','stop','doScrollPos'],function(e,n){e[n]=function(){var args=arguments;return this.each(function(){this[n].apply(this,args)})}});jQuery.fn.getNiceScroll=function(index){if(typeof index=="undefined"){return new NiceScrollArray(this)}else{var nice=this[index]&&$.data(this[index],'__nicescroll')||!1;return nice}};jQuery.extend(jQuery.expr[':'],{nicescroll:function(a){return($.data(a,'__nicescroll'))?true:!1}});$.fn.niceScroll=function(wrapper,opt){if(typeof opt=="undefined"){if((typeof wrapper=="object")&&!("jquery" in wrapper)){opt=wrapper;wrapper=!1}} 314var ret=new NiceScrollArray();if(typeof opt=="undefined")opt={};if(wrapper||!1){opt.doc=$(wrapper);opt.win=$(this)} 315var docundef=!("doc" in opt);if(!docundef&&!("win" in opt))opt.win=$(this);this.each(function(){var nice=$(this).data('__nicescroll')||!1;if(!nice){opt.doc=(docundef)?$(this):opt.doc;nice=new NiceScrollClass(opt,$(this));$(this).data('__nicescroll',nice)} 316ret.push(nice)});return(ret.length==1)?ret[0]:ret};window.NiceScroll={getjQuery:function(){return jQuery}};
316if(!$.nicescroll){$.nicescroll=new NiceScrollArray();$.nicescroll.options=_globaloptions}})(jQuery) 317;(function(global,factory){typeof exports==='object'&&typeof module!=='undefined'?module.exports=factory():typeof define==='function'&&define.amd?define(factory):(global.retinajs=factory())}(this,(function(){'use strict';var hasWindow=typeof window!=='undefined';var environment=Math.round(hasWindow?window.devicePixelRatio||1:1);var srcReplace=/(\.[A-z]{3,4}\/?(\?.*)?)$/;var inlineReplace=/url\(('|")?([^)'"]+)('|")?\)/i;var selector='[data-rjs]';var processedAttr='data-rjs-processed';function arrayify(object){return Array.prototype.slice.call(object)} 318function chooseCap(cap){var numericCap=parseInt(cap,10);if(environment<numericCap){return environment}else{return numericCap}} 319function forceOriginalDimensions(image){if(!image.hasAttribute('data-no-resize')){if(image.offsetWidth===0&&image.offsetHeight===0){image.setAttribute('width',image.naturalWidth);image.setAttribute('height',image.naturalHeight)}else{image.setAttribute('width',image.offsetWidth);image.setAttribute('height',image.offsetHeight)}} 320return image} 321function setSourceIfAvailable(image,retinaURL){var imgType=image.nodeName.toLowerCase();var testImage=document.createElement('img');testImage.addEventListener('load',function(){if(imgType==='img'){forceOriginalDimensions(image).setAttribute('src',retinaURL)}else{image.style.backgroundImage='url('+retinaURL+')'}});testImage.setAttribute('src',retinaURL);image.setAttribute(processedAttr,!0)} 322function dynamicSwapImage(image,src){var rjs=arguments.length>2&&arguments[2]!==undefined?arguments[2]:1;var cap=chooseCap(rjs);if(src&&cap>1){var newSrc=src.replace(srcReplace,'@'+cap+'x$1');setSourceIfAvailable(image,newSrc)}} 323function manualSwapImage(image,src,hdsrc){if(environment>1){setSourceIfAvailable(image,hdsrc)}} 324function getImages(images){if(!images){return typeof document!=='undefined'?arrayify(document.querySelectorAll(selector)):[]}else{return typeof images.forEach==='function'?images:arrayify(images)}} 325function cleanBgImg(img){return img.style.backgroundImage.replace(inlineReplace,'$2')} 326function retina(images){getImages(images).forEach(function(img){if(!img.getAttribute(processedAttr)){var isImg=img.nodeName.toLowerCase()==='img';var src=isImg?img.getAttribute('src'):cleanBgImg(img);var rjs=img.getAttribute('data-rjs');var rjsIsNumber=!isNaN(parseInt(rjs,10));if(rjs===null){return} 327if(rjsIsNumber){dynamicSwapImage(img,src,rjs)}else{manualSwapImage(img,src,rjs)}}})} 328if(hasWindow){window.addEventListener('load',function(){retina()});window.retinajs=retina} 329return retina}))) 330;!function($){$.flexslider=function(e,t){var a=$(e);a.vars=$.extend({},$.flexslider.defaults,t);var n=a.vars.namespace,i=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,s=("ontouchstart"in window||i||window.DocumentTouch&&document instanceof DocumentTouch)&&a.vars.touch,r="click touchend MSPointerUp keyup",o="",l,c="vertical"===a.vars.direction,d=a.vars.reverse,u=a.vars.itemWidth>0,v="fade"===a.vars.animation,p=""!==a.vars.asNavFor,m={},f=!0;$.data(e,"flexslider",a),m={init:function(){a.animating=!1,a.currentSlide=parseInt(a.vars.startAt?a.vars.startAt:0,10),isNaN(a.currentSlide)&&(a.currentSlide=0),a.animatingTo=a.currentSlide,a.atEnd=0===a.currentSlide||a.currentSlide===a.last,a.containerSelector=a.vars.selector.substr(0,a.vars.selector.search(" ")),a.slides=$(a.vars.selector,a),a.container=$(a.containerSelector,a),a.count=a.slides.length,a.syncExists=$(a.vars.sync).length>0,"slide"===a.vars.animation&&(a.vars.animation="swing"),a.prop=c?"top":"marginLeft",a.args={},a.manualPause=!1,a.stopped=!1,a.started=!1,a.startTimeout=null,a.transitions=!a.vars.video&&!v&&a.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in t)if(void 0!==e.style[t[n]])return a.pfx=t[n].replace("Perspective","").toLowerCase(),a.prop="-"+a.pfx+"-transform",!0;return!1}(),a.ensureAnimationEnd="",""!==a.vars.controlsContainer&&(a.controlsContainer=$(a.vars.controlsContainer).length>0&&$(a.vars.controlsContainer)),""!==a.vars.manualControls&&(a.manualControls=$(a.vars.manualControls).length>0&&$(a.vars.manualControls)),""!==a.vars.customDirectionNav&&(a.customDirectionNav=2===$(a.vars.customDirectionNav).length&&$(a.vars.customDirectionNav)),a.vars.randomize&&(a.slides.sort(function(){return Math.round(Math.random())-.5}),a.container.empty().append(a.slides)),a.doMath(),a.setup("init"),a.vars.c
330ontrolNav&&m.controlNav.setup(),a.vars.directionNav&&m.directionNav.setup(),a.vars.keyboard&&(1===$(a.containerSelector).length||a.vars.multipleKeyboard)&&$(document).bind("keyup",function(e){var t=e.keyCode;if(!a.animating&&(39===t||37===t)){var n=39===t?a.getTarget("next"):37===t?a.getTarget("prev"):!1;a.flexAnimate(n,a.vars.pauseOnAction)}}),a.vars.mousewheel&&a.bind("mousewheel",function(e,t,n,i){e.preventDefault();var s=a.getTarget(0>t?"next":"prev");a.flexAnimate(s,a.vars.pauseOnAction)}),a.vars.pausePlay&&m.pausePlay.setup(),a.vars.slideshow&&a.vars.pauseInvisible&&m.pauseInvisible.init(),a.vars.slideshow&&(a.vars.pauseOnHover&&a.hover(function(){a.manualPlay||a.manualPause||a.pause()},function(){a.manualPause||a.manualPlay||a.stopped||a.play()}),a.vars.pauseInvisible&&m.pauseInvisible.isHidden()||(a.vars.initDelay>0?a.startTimeout=setTimeout(a.play,a.vars.initDelay):a.play())),p&&m.asNav.setup(),s&&a.vars.touch&&m.touch(),(!v||v&&a.vars.smoothHeight)&&$(window).bind("resize orientationchange focus",m.resize),a.find("img").attr("draggable","false"),setTimeout(function(){a.vars.start(a)},200)},asNav:{setup:function(){a.asNav=!0,a.animatingTo=Math.floor(a.currentSlide/a.move),a.currentItem=a.currentSlide,a.slides.removeClass(n+"active-slide").eq(a.currentItem).addClass(n+"active-slide"),i?(e._slider=a,a.slides.each(function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var t=$(this),n=t.index();$(a.vars.asNavFor).data("flexslider").animating||t.hasClass("active")||(a.direction=a.currentItem<n?"next":"prev",a.flexAnimate(n,a.vars.pauseOnAction,!1,!0,!0))})})):a.slides.on(r,function(e){e.preventDefault();var t=$(this),i=t.index(),s=t.offset().left-$(a).scrollLeft();0>=s&&t.hasClass(n+"active-slide")?a.flexAnimate(a.getTarget("prev"),!0):$(a.vars.asNavFor).data("flexslider").animating||t.hasClass(n+"active-slide")||(a.direction=a.currentItem<i?"next":"prev",a.flexAnimate(i,a.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){a.manualControls?m.controlNav.setupManual():m.controlNav.setupPaging()},setupPaging:function(){var e="thumbnails"===a.vars.controlNav?"control-thumbs":"control-paging",t=1,i,s;if(a.controlNavScaffold=$('<ol class="'+n+"control-nav "+n+e+'"></ol>'),a.pagingCount>1)for(var l=0;l<a.pagingCount;l++){if(s=a.slides.eq(l),i="thumbnails"===a.vars.controlNav?'<img src="'+s.attr("data-thumb")+'"/>':"<a>"+t+"</a>","thumbnails"===a.vars.controlNav&&!0===a.vars.thumbCaptions){var c=s.attr("data-thumbcaption");""!==c&&void 0!==c&&(i+='<span class="'+n+'caption">'+c+"</span>")}a.controlNavScaffold.append("<li>"+i+"</li>"),t++}a.controlsContainer?$(a.controlsContainer).append(a.controlNavScaffold):a.append(a.controlNavScaffold),m.controlNav.set(),m.controlNav.active(),a.controlNavScaffold.delegate("a, img",r,function(e){if(e.preventDefault(),""===o||o===e.type){var t=$(this),i=a.controlNav.index(t);t.hasClass(n+"active")||(a.direction=i>a.currentSlide?"next":"prev",a.flexAnimate(i,a.vars.pauseOnAction))}""===o&&(o=e.type),m.setToClearWatchedEvent()})},setupManual:function(){a.controlNav=a.manualControls,m.controlNav.active(),a.controlNav.bind(r,function(e){if(e.preventDefault(),""===o||o===e.type){var t=$(this),i=a.controlNav.index(t);t.hasClass(n+"active")||(a.direction=i>a.currentSlide?"next":"prev",a.flexAnimate(i,a.vars.pauseOnAction))}""===o&&(o=e.type),m.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===a.vars.controlNav?"img":"a";a.controlNav=$("."+n+"control-nav li "+e,a.controlsContainer?a.controlsContainer:a)},active:function(){a.controlNav.removeClass(n+"active").eq(a.animatingTo).addClass(n+"active")},update:function(e,t){a.pagingCount>1&&"add"===e?a.controlNavScaffold.append($("<li><a>"+a.count+"</a></li>")):1===a.pagingCount?a.controlNavScaffold.find("li").remove():a.controlNav.eq(t).closest("li").remove(),m.controlNav.set(),a.pagingCount>1&&a.pagingCount!==a.controlNav.length?a.update(t,e):m.controlNav.active()}}
330,directionNav:{setup:function(){var e=$('<ul class="'+n+'direction-nav"><li class="'+n+'nav-prev"><a class="'+n+'prev" href="#">'+a.vars.prevText+'</a></li><li class="'+n+'nav-next"><a class="'+n+'next" href="#">'+a.vars.nextText+"</a></li></ul>");a.customDirectionNav?a.directionNav=a.customDirectionNav:a.controlsContainer?($(a.controlsContainer).append(e),a.directionNav=$("."+n+"direction-nav li a",a.controlsContainer)):(a.append(e),a.directionNav=$("."+n+"direction-nav li a",a)),m.directionNav.update(),a.directionNav.bind(r,function(e){e.preventDefault();var t;(""===o||o===e.type)&&(t=a.getTarget($(this).hasClass(n+"next")?"next":"prev"),a.flexAnimate(t,a.vars.pauseOnAction)),""===o&&(o=e.type),m.setToClearWatchedEvent()})},update:function(){var e=n+"disabled";1===a.pagingCount?a.directionNav.addClass(e).attr("tabindex","-1"):a.vars.animationLoop?a.directionNav.removeClass(e).removeAttr("tabindex"):0===a.animatingTo?a.directionNav.removeClass(e).filter("."+n+"prev").addClass(e).attr("tabindex","-1"):a.animatingTo===a.last?a.directionNav.removeClass(e).filter("."+n+"next").addClass(e).attr("tabindex","-1"):a.directionNav.removeClass(e).removeAttr("tabindex")}}
vendor: 12,288 bytes, line 330
330,pausePlay:{setup:function(){var e=$('<div class="'+n+'pauseplay"><a></a></div>');a.controlsContainer?(a.controlsContainer.append(e),a.pausePlay=$("."+n+"pauseplay a",a.controlsContainer)):(a.append(e),a.pausePlay=$("."+n+"pauseplay a",a)),m.pausePlay.update(a.vars.slideshow?n+"pause":n+"play"),a.pausePlay.bind(r,function(e){e.preventDefault(),(""===o||o===e.type)&&($(this).hasClass(n+"pause")?(a.manualPause=!0,a.manualPlay=!1,a.pause()):(a.manualPause=!1,a.manualPlay=!0,a.play())),""===o&&(o=e.type),m.setToClearWatchedEvent()})},update:function(e){"play"===e?a.pausePlay.removeClass(n+"pause").addClass(n+"play").html(a.vars.playText):a.pausePlay.removeClass(n+"play").addClass(n+"pause").html(a.vars.pauseText)}},touch:function(){function t(t){t.stopPropagation(),a.animating?t.preventDefault():(a.pause(),e._gesture.addPointer(t.pointerId),w=0,p=c?a.h:a.w,f=Number(new Date),l=u&&d&&a.animatingTo===a.last?0:u&&d?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:u&&a.currentSlide===a.last?a.limit:u?(a.itemW+a.vars.itemMargin)*a.move*a.currentSlide:d?(a.last-a.currentSlide+a.cloneOffset)*p:(a.currentSlide+a.cloneOffset)*p)}function n(t){t.stopPropagation();var a=t.target._slider;if(a){var n=-t.translationX,i=-t.translationY;return w+=c?i:n,m=w,y=c?Math.abs(w)<Math.abs(-n):Math.abs(w)<Math.abs(-i),t.detail===t.MSGESTURE_FLAG_INERTIA?void setImmediate(function(){e._gesture.stop()}):void((!y||Number(new Date)-f>500)&&(t.preventDefault(),!v&&a.transitions&&(a.vars.animationLoop||(m=w/(0===a.currentSlide&&0>w||a.currentSlide===a.last&&w>0?Math.abs(w)/p+2:1)),a.setProps(l+m,"setTouch"))))}}function s(e){e.stopPropagation();var t=e.target._slider;if(t){if(t.animatingTo===t.currentSlide&&!y&&null!==m){var a=d?-m:m,n=t.getTarget(a>0?"next":"prev");t.canAdvance(n)&&(Number(new Date)-f<550&&Math.abs(a)>50||Math.abs(a)>p/2)?t.flexAnimate(n,t.vars.pauseOnAction):v||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)}r=null,o=null,m=null,l=null,w=0}}var r,o,l,p,m,f,g,h,S,y=!1,x=0,b=0,w=0;i?(e.style.msTouchAction="none",e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",t,!1),e._slider=a,e.addEventListener("MSGestureChange",n,!1),e.addEventListener("MSGestureEnd",s,!1)):(g=function(t){a.animating?t.preventDefault():(window.navigator.msPointerEnabled||1===t.touches.length)&&(a.pause(),p=c?a.h:a.w,f=Number(new Date),x=t.touches[0].pageX,b=t.touches[0].pageY,l=u&&d&&a.animatingTo===a.last?0:u&&d?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:u&&a.currentSlide===a.last?a.limit:u?(a.itemW+a.vars.itemMargin)*a.move*a.currentSlide:d?(a.last-a.currentSlide+a.cloneOffset)*p:(a.currentSlide+a.cloneOffset)*p,r=c?b:x,o=c?x:b,e.addEventListener("touchmove",h,!1),e.addEventListener("touchend",S,!1))},h=function(e){x=e.touches[0].pageX,b=e.touches[0].pageY,m=c?r-b:r-x,y=c?Math.abs(m)<Math.abs(x-o):Math.abs(m)<Math.abs(b-o);var t=500;(!y||Number(new Date)-f>t)&&(e.preventDefault(),!v&&a.transitions&&(a.vars.animationLoop||(m/=0===a.currentSlide&&0>m||a.currentSlide===a.last&&m>0?Math.abs(m)/p+2:1),a.setProps(l+m,"setTouch")))},S=function(t){if(e.removeEventListener("touchmove",h,!1),a.animatingTo===a.currentSlide&&!y&&null!==m){var n=d?-m:m,i=a.getTarget(n>0?"next":"prev");a.canAdvance(i)&&(Number(new Date)-f<550&&Math.abs(n)>50||Math.abs(n)>p/2)?a.flexAnimate(i,a.vars.pauseOnAction):v||a.flexAnimate(a.currentSlide,a.vars.pauseOnAction,!0)}e.removeEventListener("touchend",S,!1),r=null,o=null,m=null,l=null},e.addEventListener("touchstart",g,!1))},resize:function(){!a.animating&&a.is(":visible")&&(u||a.doMath(),v?m.smoothHeight():u?(a.slides.width(a.computedW),a.update(a.pagingCount),a.setProps()):c?(a.viewport.height(a.h),a.setProps(a.h,"setTotal")):(a.vars.smoothHeight&&m.smoothHeight(),a.newSlides.width(a.computedW),a.setProps(a.computedW,"setTotal")))},smoothHeight:function(e){if(!c||v){var t=v?a:a.viewport;e?t.animate({height:a.slides.eq(a.animatingTo).height()},e):t.height(a.slides.eq(a.animatingTo).height())}},sync:function(e){var t=$(a.vars.sync).data("flexslider"),n=a.animatingTo;switch(e){case"animate":t.flexAnimate(n,a.vars.pauseOnAction,!1,!0);break;case"play":t.playing||t.asNav||t.play();break;case"pause":t.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=$(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=m.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){m.pauseInvisible.isHidden()?a.startTimeout?clearTimeout(a.startTimeout):a.pause():a.started?a.play():a.vars.initDelay>0?setTimeout(a.play,a.vars.initDelay):a.play()})}},isHidden:function(){var e=m.pauseInvisible.getHiddenProp();return e?document[e]:!1},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(l),l=setTimeout(function(){o=""},3e3)}},a.flexAnimate=function(e,t,i,r,o){if(a.vars.animationLoop||e===a.currentSlide||(a.direction=e>a.currentSlide?"next":"prev"),p&&1===a.pagingCount&&(a.direction=a.currentItem<e?"next":"prev"),!a.animating&&(a.canAdvance(e,o)||i)&&a.is(":visible")){if(p&&r){var l=$(a.vars.asNavFor).data("flexslider");if(a.atEnd=0===e||e===a.count-1,l.flexAnimate(e,!0,!1,!0,o),a.direction=a.currentItem<e?"next":"prev",l.direction=a.direction,Math.ceil((e+1)/a.visible)-1===a.currentSlide||0===e)return a.currentItem=e,a.slides.removeClass(n+"active-slide").eq(e).addClass(n+"active-slide"),!1;a.currentItem=e,a.slides.removeClass(n+"active-slide").eq(e).addClass(n+"active-slide"),e=Math.floor(e/a.visible)}if(a.animating=!0,a.animatingTo=e,t&&a.pause(),a.vars.before(a),a.syncExists&&!o&&m.sync("animate"),a.vars.controlNav&&m.controlNav.active(),u||a.slides.removeClass(n+"active-slide").eq(e).addClass(n+"active-slide"),a.atEnd=0===e||e===a.last,a.vars.directionNav&&m.directionNav.update(),e===a.last&&(a.vars.end(a),a.vars.animationLoop||a.pause()),v)s?(a.slides.eq(a.currentSlide).css({opacity:0,zIndex:1}),a.slides.eq(e).css({opacity:1,zIndex:2}),a.wrapup(f)):(a.slides.eq(a.currentSlide).css({zIndex:1}).animate({opacity:0},a.vars.animationSpeed,a.vars.easing),a.slides.eq(e).css({zIndex:2}).animate({opacity:1},a.vars.animationSpeed,a.vars.easing,a.wrapup));else{var f=c?a.slides.filter(":first").height():a.computedW,g,h,S;u?(g=a.vars.itemMargin,S=(a.itemW+g)*a.move*a.animatingTo,h=S>a.limit&&1!==a.visible?a.limit:S):h=0===a.currentSlide&&e===a.count-1&&a.vars.animationLoop&&"next"!==a.direction?d?(a.count+a.cloneOffset)*f:0:a.currentSlide===a.last&&0===e&&a.vars.animationLoop&&"prev"!==a.direction?d?0:(a.count+1)*f:d?(a.count-1-e+a.cloneOffset)*f:(e+a.cloneOffset)*f,a.setProps(h,"",a.vars.animationSpeed),a.transitions?(a.vars.animationLoop&&a.atEnd||(a.animating=!1,a.currentSlide=a.animatingTo),a.container.unbind("webkitTransitionEnd transitionend"),a.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(a.ensureAnimationEnd),a.wrapup(f)}),clearTimeout(a.ensureAnimationEnd),a.ensureAnimationEnd=setTimeout(function(){a.wrapup(f)},a.vars.animationSpeed+100)):a.container.animate(a.args,a.vars.animationSpeed,a.vars.easing,function(){a.wrapup(f)})}a.vars.smoothHeight&&m.smoothHeight(a.vars.animationSpeed)}},a.wrapup=function(e){v||u||(0===a.currentSlide&&a.animatingTo===a.last&&a.vars.animationLoop?a.setProps(e,"jumpEnd"):a.currentSlide===a.last&&0===a.animatingTo&&a.vars.animationLoop&&a.setProps(e,"jumpStart")),a.animating=!1,a.currentSlide=a.animatingTo,a.vars.after(a)},a.animateSlides=function(){!a.animating&&f&&a.flexAnimate(a.getTarget("next"))},a.pause=function(){clearInterval(a.animatedSlides),a.animatedSlides=null,a.playing=!1,a.vars.pausePlay&&m.pausePlay.update("play"),a.syncExists&&m.sync("pause")},a.play=function(){a.playing&&clearInterval(a.animatedSlides),a.animatedSlides=a.animatedSlides||setInterval(a.animateSlides,a.vars.slideshowSpeed),a.started=a.playing=!0,a.vars.pausePlay&&m.pausePlay.update("pause"),a.syncExists&&m.sync("play")},a.stop=function(){a.pause(),a.stopped=!0},a.canAdvance=function(e,t){var n=p?a.pagingCount-1:a.last;return t?!0:p&&a.currentItem===a.count-1&&0===e&&"prev"===a.direction?!0:p&&0===a.currentItem&&e===a.pagingCount-1&&"next"!==a.direction?!1:e!==a.currentSlide||p?a.vars.animationLoop?!0:a.atEnd&&0===a.currentSlide&&e===n&&"next"!==a.direction?!1:a.atEnd&&a.currentSlide===n&&0===e&&"next"===a.direction?!1:!0:!1},a.getTarget=function(e){return a.direction=e,"next"===e?a.currentSlide===a.last?0:a.currentSlide+1:0===a.currentSlide?a.last:a.currentSlide-1},a.setProps=function(e,t,n){var i=function(){var n=e?e:(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo,i=function(){if(u)return"setTouch"===t?e:d&&a.animatingTo===a.last?0:d?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:a.animatingTo===a.last?a.limit:n;switch(t){case"setTotal":return d?(a.count-1-a.currentSlide+a.cloneOffset)*e:(a.currentSlide+a.cloneOffset)*e;case"setTouch":return d?e:e;case"jumpEnd":return d?e:a.count*e;case"jumpStart":return d?a.count*e:e;default:return e}}();return-1*i+"px"}();a.transitions&&(i=c?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)",n=void 0!==n?n/1e3+"s":"0s",a.container.css("-"+a.pfx+"-transition-duration",n),a.container.css("transition-duration",n)),a.args[a.prop]=i,(a.transitions||void 0===n)&&a.container.css(a.args),a.container.css("transform",i)},a.setup=function(e){if(v)a.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===e&&(s?a.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+a.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(a.currentSlide).css({opacity:1,zIndex:2}):0==a.vars.fadeFirstSlide?a.slides.css({opacity:0,display:"block",zIndex:1}).eq(a.currentSlide).css({zIndex:2}).css({opacity:1}):a.slides.css({opacity:0,display:"block",zIndex:1}).eq(a.currentSlide).css({zIndex:2}).animate({opacity:1},a.vars.animationSpeed,a.vars.easing)),a.vars.smoothHeight&&m.smoothHeight();else{var t,i;"init"===e&&(a.viewport=$('<div class="'+n+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(a).append(a.container),a.cloneCount=0,a.cloneOffset=0,d&&(i=$.makeArray(a.slides).reverse(),a.slides=$(i),a.container.empty().append(a.slides))),a.vars.animationLoop&&!u&&(a.cloneCount=2,a.cloneOffset=1,"init"!==e&&a.container.find(".clone").remove(),a.container.append(m.uniqueID(a.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(m.uniqueID(a.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),a.newSlides=$(a.vars.selector,a),t=d?a.count-1-a.currentSlide+a.cloneOffset:a.currentSlide+a.cloneOffset,c&&!u?(a.container.height(200*(a.count+a.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){a.newSlides.css({display:"block"}),a.doMath(),a.viewport.height(a.h),a.setProps(t*a.h,"init")},"init"===e?100:0)):(a.container.width(200*(a.count+a.cloneCount)+"%"),a.setProps(t*a.computedW,"init"),setTimeout(function(){a.doMath(),a.newSlides.css({width:a.computedW,"float":"left",display:"block"}),a.vars.smoothHeight&&m.smoothHeight()},"init"===e?100:0))}u||a.slides.removeClass(n+"active-slide").eq(a.currentSlide).addClass(n+"active-slide"),a.vars.init(a)},a.doMath=function(){var e=a.slides.first(),t=a.vars.itemMargin,n=a.vars.minItems,i=a.vars.maxItems;a.w=void 0===a.viewport?a.width():a.viewport.width(),a.h=e.height(),a.boxPadding=e.outerWidth()-e.width(),u?(a.itemT=a.vars.itemWidth+t,a.minW=n?n*a.itemT:a.w,a.maxW=i?i*a.itemT-t:a.w,a.itemW=a.minW>a.w?(a.w-t*(n-1))/n:a.maxW<a.w?(a.w-t*(i-1))/i:a.vars.itemWidth>a.w?a.w:a.vars.itemWidth,a.visible=Math.floor(a.w/a.itemW),a.move=a.vars.move>0&&a.vars.move<a.visible?a.vars.move:a.visible,a.pagingCount=Math.ceil((a.count-a.visible)/a.move+1),a.last=a.pagingCount-1,a.limit=1===a.pagingCount?0:a.vars.itemWidth>a.w?a.itemW*(a.count-1)+t*(a.count-1):(a.itemW+t)*a.count-a.w-t):(a.itemW=a.w,a.pagingCount=a.count,a.last=a.count-1),a.computedW=a.itemW-a.boxPadding},a.update=function(e,t){a.doMath(),u||(e<a.currentSlide?a.currentSlide+=1:e<=a.currentSlide&&0!==e&&(a.currentSlide-=1),a.animatingTo=a.currentSlide),a.vars.c
330ontrolNav&&!a.manualControls&&("add"===t&&!u||a.pagingCount>a.controlNav.length?m.controlNav.update("add"):("remove"===t&&!u||a.pagingCount<a.controlNav.length)&&(u&&a.currentSlide>a.last&&(a.currentSlide-=1,a.animatingTo-=1),m.controlNav.update("remove",a.last))),a.vars.directionNav&&m.directionNav.update()},a.addSlide=function(e,t){var n=$(e);a.count+=1,a.last=a.count-1,c&&d?void 0!==t?a.slides.eq(a.count-t).after(n):a.container.prepend(n):void 0!==t?a.slides.eq(t).before(n):a.container.append(n),a.update(t,"add"),a.slides=$(a.vars.selector+":not(.clone)",a),a.setup(),a.vars.added(a)},a.removeSlide=function(e){var t=isNaN(e)?a.slides.index($(e)):e;a.count-=1,a.last=a.count-1,isNaN(e)?$(e,a.slides).remove():c&&d?a.slides.eq(a.last).remove():a.slides.eq(e).remove(),a.doMath(),a.update(t,"remove"),a.slides=$(a.vars.selector+":not(.clone)",a),a.setup(),a.vars.removed(a)},m.init()},$(window).blur(function(e){focused=!1}).focus(function(e){focused=!0}),$.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},$.fn.flexslider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each(function(){var t=$(this),a=e.selector?e.selector:".slides > li",n=t.find(a);1===n.length&&e.allowOneSlide===!0||0===n.length?(n.fadeIn(400),e.start&&e.start(t)):void 0===t.data("flexslider")&&new $.flexslider(this,e)});var t=$(this).data("flexslider");switch(e){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof e&&t.flexAnimate(e,!0)}}}(jQuery) 331;/*! 332 -------------------------------- 333 Infinite Scroll 334 -------------------------------- 335 + https://github.com/paulirish/infinite-scroll 336 + version 2.1.0 337 + Copyright 2011/12 Paul Irish & Luke Shumard 338 + Licensed under the MIT license 339 340 + Documentation: http://infinite-scroll.com/ 341*/ 342;(function(e){if(typeof define==="function"&&define.amd){define(["jquery"],e)}else{e(jQuery)}})(function(e,t){"use strict";e.infinitescroll=function(n,r,i){this.element=e(i);if(!this._create(n,r)){this.failed=!0}};e.infinitescroll.defaults={loading:{finished:t,finishedMsg:"<em>Congratulations, you've reached the end of the internet.</em>",img:"data:image/gif;base64,R0lGODlh3AATAPQeAPDy+MnQ6LW/4N3h8MzT6rjC4sTM5r/I5NHX7N7j8c7U6tvg8OLl8uXo9Ojr9b3G5MfP6Ovu9tPZ7PT1+vX2+tbb7vf4+8/W69jd7rC73vn5/O/x+K243ai02////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQECgD/ACwAAAAA3AATAAAF/6AnjmRpnmiqrmzrvnAsz3Rt33iu73zv/8CgcEj0BAScpHLJbDqf0Kh0Sq1ar9isdioItAKGw+MAKYMFhbF63CW438f0mg1R2O8EuXj/aOPtaHx7fn96goR4hmuId4qDdX95c4+RBIGCB4yAjpmQhZN0YGYGXitdZBIVGAsLoq4BBKQDswm1CQRkcG6ytrYKubq8vbfAcMK9v7q7EMO1ycrHvsW6zcTKsczNz8HZw9vG3cjTsMIYqQkCLBwHCgsMDQ4RDAYIqfYSFxDxEfz88/X38Onr16+Bp4ADCco7eC8hQYMAEe57yNCew4IVBU7EGNDiRn8Z831cGLHhSIgdFf9chIeBg7oA7gjaWUWTVQAGE3LqBDCTlc9WOHfm7PkTqNCh54rePDqB6M+lR536hCpUqs2gVZM+xbrTqtGoWqdy1emValeXKzggYBBB5y1acFNZmEvXAoN2cGfJrTv3bl69Ffj2xZt3L1+/fw3XRVw4sGDGcR0fJhxZsF3KtBTThZxZ8mLMgC3fRatCbYMNFCzwLEqLgE4NsDWs/tvqdezZf13Hvk2A9Szdu2X3pg18N+68xXn7rh1c+PLksI/Dhe6cuO3ow3NfV92bdArTqC2Ebd3A8vjf5QWfH6Bg7Nz17c2fj69+fnq+8N2Lty+fuP78/eV2X13neIcCeBRwxorbZrA1ANoCDGrgoG8RTshahQ9iSKEEzUmYIYfNWViUhheCGJyIP5E4oom7WWjgCeBFAJNv1DVV01MAdJhhjdkplWNzO/5oXI846njjVEIqR2OS2B1pE5PVscajkxhMycqLJghQSwT40PgfAl4GqNSXYdZXJn5gSkmmmmJu1aZYb14V51do+pTOCmA40AqVCIhG5IJ9PvYnhIFOxmdqhpaI6GeHCtpooisuutmg+Eg62KOMKuqoTaXgicQWoIYq6qiklmoqFV0UoeqqrLbq6quwxirrrLTWauutJ4QAACH5BAUKABwALAcABADOAAsAAAX/IPd0D2dyRCoUp/k8gpHOKtseR9yiSmGbuBykler9XLAhkbDavXTL5k2oqFqNOxzUZPU5YYZd1XsD72rZpBjbeh52mSNnMSC8lwblKZGwi+0QfIJ8CncnCoCDgoVnBHmKfByGJimPkIwtiAeBkH6ZHJaKmCeVnKKTHIihg5KNq4uoqmEtcRUtEREMBggtEr4QDrjCuRC8h7/BwxENeicSF8DKy82pyNLMOxzWygzFmdvD2L3P0dze4+Xh1Arkyepi7dfFvvTtLQkZBC0T/FX3CRgCMOBHsJ+EHYQY7OinAGECgQsB+Lu3AOK+CewcWjwxQeJBihtNGHSoQOE+iQ3//4XkwBBhRZMcUS6YSXOAwIL8PGqEaSJCiYt9SNoCmnJPAgUVLChdaoFBURN8MAzl2PQphwQLfDFd6lTowglHve6rKpbjhK7/pG5VinZP1qkiz1rl4+tr2L
342RwWU64cFEihwEtZgbgR1UiHaMVvxpOSwBA37kzGz9e8G+B5MIEKLutOGEsAH2ATQwYfTmuX8aETWdGPZmiZcccNSzeTCA1Sw0bdiitC7LBWgu8jQr8HRzqgpK6gX88QbrB14z/kF+ELpwB8eVQj/JkqdylAudji/+ts3039vEEfK8Vz2dlvxZKG0CmbkKDBvllRd6fCzDvBLKBDSCeffhRJEFebFk1k/Mv9jVIoIJZSeBggwUaNeB+Qk34IE0cXlihcfRxkOAJFFhwGmKlmWDiakZhUJtnLBpnWWcnKaAZcxI0piFGGLBm1mc90kajSCveeBVWKeYEoU2wqeaQi0PetoE+rr14EpVC7oAbAUHqhYExbn2XHHsVqbcVew9tx8+XJKk5AZsqqdlddGpqAKdbAYBn1pcczmSTdWvdmZ17c1b3FZ99vnTdCRFM8OEcAhLwm1NdXnWcBBSMRWmfkWZqVlsmLIiAp/o1gGV2vpS4lalGYsUOqXrddcKCmK61aZ8SjEpUpVFVoCpTj4r661Km7kBHjrDyc1RAIQAAIfkEBQoAGwAsBwAEAM4ACwAABf/gtmUCd4goQQgFKj6PYKi0yrrbc8i4ohQt12EHcal+MNSQiCP8gigdz7iCioaCIvUmZLp8QBzW0EN2vSlCuDtFKaq4RyHzQLEKZNdiQDhRDVooCwkbfm59EAmKi4SGIm+AjIsKjhsqB4mSjT2IOIOUnICeCaB/mZKFNTSRmqVpmJqklSqskq6PfYYCDwYHDC4REQwGCBLGxxIQDsHMwhAIX8bKzcENgSLGF9PU1j3Sy9zX2NrgzQziChLk1BHWxcjf7N046tvN82715czn9Pryz6Ilc4ACj4EBOCZM8KEnAYYADBRKnACAYUMFv1wotIhCEcaJCisqwJFgAUSQGyX/kCSVUUTIdKMwJlyo0oXHlhskwrTJciZHEXsgaqS4s6PJiCAr1uzYU8kBBSgnWFqpoMJMUjGtDmUwkmfVmVypakWhEKvXsS4nhLW5wNjVroJIoc05wSzTr0PtiigpYe4EC2vj4iWrFu5euWIMRBhacaVJhYQBEFjA9jHjyQ0xEABwGceGAZYjY0YBOrRLCxUp29QM+bRkx5s7ZyYgVbTqwwti2ybJ+vLtDYpycyZbYOlptxdx0kV+V7lC5iJAyyRrwYKxAdiz82ng0/jnAdMJFz0cPi104Ec1Vj9/M6F173vKL/feXv156dw11tlqeMMnv4V5Ap53GmjQQH97nFfg+IFiucfgRX5Z8KAgbUlQ4IULIlghhhdOSB6AgX0IVn8eReghen3NRIBsRgnH4l4LuEidZBjwRpt6NM5WGwoW0KSjCwX6yJSMab2GwwAPDXfaBCtWpluRTQqC5JM5oUZAjUNS+VeOLWpJEQ7VYQANW0INJSZVDFSnZphjSikfmzE5N4EEbQI1QJmnWXCmHulRp2edwDXF43txukenJwvI9xyg9Q26Z3MzGUcBYFEChZh6DVTq34AU8Iflh51Sd+CnKFYQ6mmZkhqfBKfSxZWqA9DZanWjxmhrWwi0qtCrt/43K6WqVjjpmhIqgEGvculaGKklKstAACEAACH5BAUKABwALAcABADOAAsAAAX/ICdyQmaMYyAUqPgIBiHPxNpy79kqRXH8wAPsRmDdXpAWgWdEIYm2llCHqjVHU+jjJkwqBTecwItShMXkEfNWSh8e1NGAcLgpDGlRgk7EJ/6Ae3VKfoF/fDuFhohVeDeCfXkcCQqDVQcQhn+VNDOYmpSWaoqBlUSfmowjEA+iEAEGDRGztAwGCDcXEA60tXEiCrq8vREMEBLIyRLCxMWSH
342MzExnbRvQ2Sy7vN0zvVtNfU2tLY3rPgLdnDvca4VQS/Cpk3ABwSLQkYAQwT/P309vcI7OvXr94jBQMJ/nskkGA/BQBRLNDncAIAiDcG6LsxAWOLiQzmeURBKWSLCQbv/1F0eDGinJUKR47YY1IEgQASKk7Yc7ACRwZm7mHweRJoz59BJUogisKCUaFMR0x4SlJBVBFTk8pZivTR0K73rN5wqlXEAq5Fy3IYgHbEzQ0nLy4QSoCjXLoom96VOJEeCosK5n4kkFfqXjl94wa+l1gvAcGICbewAOAxY8l/Ky/QhAGz4cUkGxu2HNozhwMGBnCUqUdBg9UuW9eUynqSwLHIBujePef1ZGQZXcM+OFuEBeBhi3OYgLyqcuaxbT9vLkf4SeqyWxSQpKGB2gQpm1KdWbu72rPRzR9Ne2Nu9Kzr/1Jqj0yD/fvqP4aXOt5sW/5qsXXVcv1Nsp8IBUAmgswGF3llGgeU1YVXXKTN1FlhWFXW3gIE+DVChApysACHHo7Q4A35lLichh+ROBmLKAzgYmYEYDAhCgxKGOOMn4WR4kkDaoBBOxJtdNKQxFmg5JIWIBnQc07GaORfUY4AEkdV6jHlCEISSZ5yTXpp1pbGZbkWmcuZmQCaE6iJ0FhjMaDjTMsgZaNEHFRAQVp3bqXnZED1qYcECOz5V6BhSWCoVJQIKuKQi2KFKEkEFAqoAo7uYSmO3jk61wUUMKmknJ4SGimBmAa0qVQBhAAAIfkEBQoAGwAsBwAEAM4ACwAABf/gJm5FmRlEqhJC+bywgK5pO4rHI0D3pii22+Mg6/0Ej96weCMAk7cDkXf7lZTTnrMl7eaYoy10JN0ZFdco0XAuvKI6qkgVFJXYNwjkIBcNBgR8TQoGfRsJCRuCYYQQiI+ICosiCoGOkIiKfSl8mJkHZ4U9kZMbKaI3pKGXmJKrngmug4WwkhA0lrCBWgYFCCMQFwoQDRHGxwwGCBLMzRLEx8iGzMMO0cYNeCMKzBDW19lnF9DXDIY/48Xg093f0Q3s1dcR8OLe8+Y91OTv5wrj7o7B+7VNQqABIoRVCMBggsOHE36kSoCBIcSH3EbFangxogJYFi8CkJhqQciLJEf/LDDJEeJIBT0GsOwYUYJGBS0fjpQAMidGmyVP6sx4Y6VQhzs9VUwkwqaCCh0tmKoFtSMDmBOf9phg4SrVrROuasRQAaxXpVUhdsU6IsECZlvX3kwLUWzRt0BHOLTbNlbZG3vZinArge5Dvn7wbqtQkSYAAgtKmnSsYKVKo2AfW048uaPmG386i4Q8EQMBAIAnfB7xBxBqvapJ9zX9WgRS2YMpnvYMGdPK3aMjt/3dUcNI4blpj7iwkMFWDXDvSmgAlijrt9RTR78+PS6z1uAJZIe93Q8g5zcsWCi/4Y+C8bah5zUv3vv89uft30QP23punGCx5954oBBwnwYaNCDY/wYrsYeggnM9B2Fpf8GG2CEUVWhbWAtGouEGDy7Y4IEJVrbSiXghqGKIo7z1IVcXIkKWWR361QOLWWnIhwERpLaaCCee5iMBGJQmJGyPFTnbkfHVZGRtIGrg5HALEJAZbu39BuUEUmq1JJQIPtZilY5hGeSWsSk52G9XqsmgljdIcABytq13HyIM6RcUA+r1qZ4EBF3WHWB29tBgAzRhEGhig8KmqKFv8SeCeo+mgsF7YFXa1qWSbkDpom/mqR1PmHCqJ3fwNRVXjC7S6CZhFVCQ2lWvZiirhQq42SACt25IK2hv8TprriUV1usGgeka7LFcNmCldMLi6qZMgFLgpw16Cipb7bC1knXsBiEAACH5BAUKABsALAcABADOAAsAAAX/4FZsJPkUmUGsLCEUTywXglFuSg7fW1xAvNWLF6sFFcPb42C8EZCj24EJdCp2yoegWsolS0Uu6fmamg8n8YYcLU2bXSiRaXMGvqV6/KAeJAh8VgZqCX+BexCFioWAYgqNi4qAR4ORhRuHY408jAeUhAmYYiuVlpiflqGZa5CWkzc5fKmbbhIpsAoQDRG8vQwQCBLCwxK6vb5qwhfGxxENahvCEA7NzskSy7vNzzzK09W/PNHF1NvX2dXcN8K55cfh69Luveol3vO8zwi4Yhj+AQwmCBw4IYclDAAJDlQggVOChAoLKkgFkSCAHDwWLKhIEOONARsDKryogFPIiAUb/95gJNIiw4wnI778GFPhzBKFOAq8qLJEhQpiNArjMcHCmlTCUDIouTKBhApELSxFWiGiVKY4E2CAekPgUphDu0742nRrVLJZnyrFSqKQ2ohoSYAMW6IoDpNJ4bLdILTnAj8KUF7UeENjAKuDyxIgOuGiOI0EBBMgLNew5AUrDTMGsFixwBIaNCQuAXJB57qNJ2OWm2Aj4skwCQCIyNkhhtMkdsIuodE0AN4LJDRgfLPtn5YDLdBlraAByuUbBgxQwICxMOnYpVOPej074OFdlfc0TqC62OIbcppHjV4o+LrieWhfT8JC/I/T6W8oCl29vQ0XjLdBaA3s1RcPBO7lFvpX8BVoG4O5jTXRQRDuJ6FDTzEWF1/BCZhgbyAKE9qICYLloQYOFtahVRsWYlZ4KQJHlwHS/IYaZ6sZd9tmu5HQm2xi1UaTbzxYwJk/wBF5g5EEYOBZeEfGZmNdFyFZmZIR4jikbLThlh5kUUVJGmRT7sekkziRWUIACABk3T4qCsedgO4xhgGcY7q5pHJ4klBBTQRJ0CeHcoYHHUh6wgfdn9uJdSdMiebGJ0zUPTcoS286FCkrZxnYoYYKWLkBowhQoBeaOlZAgVhLidrXqg2G
342iqpQpZ4apwSwRtjqrB3muoF9BboaXKmshlqWqsWiGt2wphJkQbAU5hoCACH5BAUKABsALAcABADOAAsAAAX/oGFw2WZuT5oZROsSQnGaKjRvilI893MItlNOJ5v5gDcFrHhKIWcEYu/xFEqNv6B1N62aclysF7fsZYe5aOx2yL5aAUGSaT1oTYMBwQ5VGCAJgYIJCnx1gIOBhXdwiIl7d0p2iYGQUAQBjoOFSQR/lIQHnZ+Ue6OagqYzSqSJi5eTpTxGcjcSChANEbu8DBAIEsHBChe5vL13G7fFuscRDcnKuM3H0La3EA7Oz8kKEsXazr7Cw9/Gztar5uHHvte47MjktznZ2w0G1+D3BgirAqJmJMAQgMGEgwgn5Ei0gKDBhBMALGRYEOJBb5QcWlQo4cbAihZz3GgIMqFEBSM1/4ZEOWPAgpIIJXYU+PIhRG8ja1qU6VHlzZknJNQ6UanCjQkWCIGSUGEjAwVLjc44+DTqUQtPPS5gejUrTa5TJ3g9sWCr1BNUWZI161StiQUDmLYdGfesibQ3XMq1OPYthrwuA2yU2LBs2cBHIypYQPPlYAKFD5cVvNPtW8eVGbdcQADATsiNO4cFAPkvHpedPzc8kUcPgNGgZ5RNDZG05reoE9s2vSEP79MEGiQGy1qP8LA4ZcdtsJE48ONoLTBtTV0B9LsTnPceoIDBDQvS7W7vfjVY3q3eZ4A339J4eaAmKqU/sV58HvJh2RcnIBsDUw0ABqhBA5aV5V9XUFGiHfVeAiWwoFgJJrIXRH1tEMiDFV4oHoAEGlaWhgIGSGBO2nFomYY3mKjVglidaNYJGJDkWW2xxTfbjCbVaOGNqoX2GloR8ZeTaECS9pthRGJH2g0b3Agbk6hNANtteHD2GJUucfajCQBy5OOTQ25ZgUPvaVVQmbKh9510/qQpwXx3SQdfk8tZJOd5b6JJFplT3ZnmmX3qd5l1eg5q00HrtUkUn0AKaiGjClSAgKLYZcgWXwocGRcCFGCKwSB6ceqphwmYRUFYT/1WKlOdUpipmxW0mlCqHjYkAaeoZlqrqZ4qd+upQKaapn/AmgAegZ8KUtYtFAQQAgAh+QQFCgAbACwHAAQAzgALAAAF/+C2PUcmiCiZGUTrEkKBis8jQEquKwU5HyXIbEPgyX7BYa5wTNmEMwWsSXsqFbEh8DYs9mrgGjdK6GkPY5GOeU6ryz7UFopSQEzygOGhJBjoIgMDBAcBM0V/CYqLCQqFOwobiYyKjn2TlI6GKC2YjJZknouaZAcQlJUHl6eooJwKooobqoewrJSEmyKdt59NhRKFMxLEEA4RyMkMEAjDEhfGycqAG8TQx9IRDRDE3d3R2ctD1RLg0ttKEnbY5wZD3+zJ6M7X2RHi9Oby7u/r9g38UFjTh2xZJBEBMDAboogAgwkQI07IMUORwocSJwCgWDFBAIwZOaJIsOBjRogKJP8wTODw5ESVHVtm3AhzpEeQElOuNDlTZ0ycEUWKWFASqEahGwYUPbnxoAgEdlYSqDBkgoUNClAlIHbSAoOsqCRQnQHxq1axVb06FWFxLIqyaze0Tft1JVqyE+pWXMD1pF6bYl3+HTqAWNW8cRUFzmih0ZAAB2oGKukSAAGGRHWJgLiR6AylBLpuHKKUMlMCngMpDSAa9QIUggZVVvDaJobLeC3XZpvgNgCmtPcuwP3WgmXSq4do0DC6o2/guzcseECtUoO0hmcsGKDgOt7ssBd07wqesAIGZC1YIBa7PQHvb1+SFo+++HrJSQfB33xfav3i5eX3Hnb4CTJgegEq8tH/YQEOcIJzbm2G2EoYRLgBXFpVmFYDcREV4HIcnmUhiGBRouEMJGJGzHIspqgdXxK0yCKHRNXoIX4uorCdTyjkyNtdPWrA4Up82EbAbzMRxxZRR54WXVLDIRmRcag5d2R6ugl3ZXzNhTecchpMhIGVAKAYpgJjjsSklBEd99maZoo535ZvdamjBEpusJyctg3h4X8XqodBMx0tiNeg/oGJaKGABpogS40KSqiaEgBqlQWLUtqoVQnytekEjzo0hHqhRorppOZt2p923M2AAV+oBtpAnnPNoB6HaU6mAAIU+IXmi3j2mtFXuUoHKwXpzVrsjcgGOauKEjQrwq157hitGq2NoWmjh7z6Wmxb0m5w66+2VRAuXN/yFUAIACH5BAUKABsALAcABADOAAsAAAX/4CZuRiaM45MZqBgIRbs9AqTcuFLE7VHLOh7KB5ERdjJaEaU4ClO/lgKWjKKcMiJQ8KgumcieVdQMD8cbBeuAkkC6LYLhOxoQ2PF5Ys9PKPBMen17f0CCg4VSh32JV4t8jSNqEIOEgJKPlkYBlJWRInKdiJdkmQlvKAsLBxdABA4RsbIMBggtEhcQsLKxDBC2TAS6vLENdJLDxMZAubu8vjIbzcQRtMzJz79S08oQEt/guNiyy7fcvMbh4OezdAvGrakLAQwyABsELQkY9BP+//ckyPDD4J9BfAMh1GsBoImMeQUN+lMgUJ9CiRMa5msxoB9Gh/o8GmxYMZXIgxtR/yQ46S/gQAURR0pDwYDfywoyLPip5AdnCwsMFPBU4BPFhKBDi444quCmDKZOfwZ9KEGpCKgcN1jdALSpPqIYsabS+nSqvqplvYqQYAeDPgwKwjaMtiDl0oaqUAyo+3TuWwUAMPpVCfee0cEjVBGQq2ABx7oTWmQk4FglZMGN9fGVDMCuiH2AOVOu/PmyxM630gwM0CCn6q8LjVJ8GXvpa5Uwn95OTC/nNxkda1/dLSK475IjCD6dHbK1ZOa4hXP9DXs5chJ00UpVm5xo2qRpoxptwF2E4/IbJpB/SDz9+q9b1aNfQH08+p4a8uvX8B53fLP+ycAfemjsRUBgp1H20K+BghHgVgt1GXZXZpZ5lt4ECjxYR4ScUWiShEtZqBiIInRGWnERNnjiBglw+JyGnxUmGowsyiiZg189lNtPGACjV2+S9UjbU0JWF6SPvEk3QZEqsZYTk3UAaRSUnznJI5LmESCdBVSyaOWUWLK4I5gDUYVeV1T9l+FZClCAUVA09uSmRHBCKAECFEhW51ht6rnmWBXkaR+NjuHpJ40D3DmnQXt2F+ihZxlqVKOfQRACACH5BAUKABwALAcABADOAAsAAAX/ICdyUCkUo/g8mUG8MCGkKgspeC6j6XEIEBpBUeCNfECaglBcOVfJFK7YQwZHQ6JRZBUqTrSuVEuD3nI45pYjFuWKvjjSkCoRaBUMWxkwBGgJCXspQ36Bh4EEB0oKhoiBgyNLjo8Ki4QElIiWfJqHnISNEI+Ql5J9o6SgkqKkgqYihamPkW6oNBgSfiMMDQkGCBLCwxIQDhHIyQwQCGMKxsnKVyPCF9DREQ3MxMPX0cu4wt7J2uHWx9jlKd3o39MiuefYEcvNkuLt5O8c1ePI2tyELXGQwoGDAQf+iEC2xByDCRAjTlAgIUWCBRgCPJQ4AQBFXAs0coT40WLIjRxL/47AcHLkxIomRXL0CHPERZkpa4q4iVKiyp0tR/7kwHMkTUBBJR5dOCEBAVcKKtCAyOHpowXCpk7goABqBZdcvWploACpBKkpIJI1q5OD2rIWE0R1uTZu1LFwbWL9OlKuWb4c6+o9i3dEgw0RCGDUG9KlRw56gDY2qmCByZBaASi+TACA0TucAaTteCcy0ZuOK3N2vJlx58+LRQyY3Xm0ZsgjZg+oPQLi7dUcNXi0LOJw1pgNtB7XG6CBy+U75SYfPTSQAgZTNUDnQHt67wnbZyvwLgKiMN3oCZB3C76tdewpLFgIP2C88rbi4Y+QT3+8S5USMICZXWj1pkEDeUU3lOYGB3alSoEiMIjgX4WlgNF2EibIwQIXauWXSRg2SAOHIU5IIIMoZkhhWiJaiFVbKo6AQEgQXrTAazO1JhkBrBG3Y2Y6EsUhaGn95hprSN0oWpFE7rhkeaQBchGOEWnwEmc0uKWZj0LeuNV3W4Y2lZHFlQCSRjTIl8uZ+kG5HU/3sRlnTG2ytyadytnD3HrmuRcSn+0h1dycexIK1KCjYaCnjCCVqOFFJTZ5GkUUjESWaUIKU2lgCmAKKQIUjHapXRKE+t2og1VgankNYnohqKJ2CmKplso6GKz7WYCgqxeuyoF8u9IQAgA7",msg:null,msgText:"<em>Loading the next set of posts...</em>",selector:null,speed:"fast",start:t},state:{isDuringAjax:!1,isInvalidPage:!1,isDestroyed:!1,isDone:!1,isPaused:!1,isBeyondMaxPage:!1,currPage:1},debug:!1,behavior:t,binder:e(window),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:!1,pathParse:t,dataType:"html",appendCallback:!0,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:t,path:t,prefill:!1,maxPage:t};e.infinitescroll.prototype={_binding:function(n){var r=this,i=r.options;i.v="2.0b2.120520";if(!!i.behavior&&this["_binding_"+i.behavior]!==t){this["_binding_"+i.behavior].call(this);return}if(n!=="bind"&&n!=="unbind"){this._debug("Binding value "+n+" not valid");return!1}if(n==="unbind"){this.options.binder.unbind("smartscroll.infscr."+r.options.infid)}else{this.options.binder[n]("smartscroll.infscr."+r.options.infid,function(){r.scroll()})}this._debug("Binding",n)},_create:function(r,i){var s=e.extend(!0,{},e.infinitescroll.defaults,r);this.options=s;var o=e(window);var u=this;if(!u._validate(r)){return!1}var a=e(s.nextSelector).attr("href");if(!a){this._debug("Navigation selector not found");return!1}s.path=s.path||this._determinepath(a);s.contentSelector=s.contentSelector||this.element;s.loading.selector=s.loading.selector||s.contentSelector;s.loading.msg=s.loading.msg||e('<div id="infscr-loading"><img alt="Loading..." src="'+s.loading.img+'" /><div>'+s.loading.msgText+"</div></div>");(new Image).src=s.loading.img;if(s.pixelsFromNavToBottom===t){s.pixelsFromNavToBottom=e(document).height()-e(s.navSelector).offset().top;this._debug("pixelsFromNavToBottom: "+s.pixelsFromNavToBottom)}var f=this;s.loading.start=s.loading.start||function(){e(s.navSelector).hide();s.loading.msg.appendTo(s.loading.selector).show(s.loading.speed,e.proxy(function(){this.beginAjax(s)},f))};s.loading.finished=s.loading.finished||function(){if(!s.state.isBeyondMaxPage)s.loading.msg.fadeOut(s.loading.speed)};s.callback=function(n,r,u){if(!!s.behavior&&n["_callback_"+s.behavior]!==t){n["_callback_"+s.behavior].call(e(s.contentSelector)[0],r,u)}if(i){i.call(e(s.contentSelector)[0],r,s,u)}if(s.prefill){o.bind("resize.infinite-scroll",n._prefill)}};if(r.debug){if(Function.prototype.bind&&(typeof console==="object"||typeof console==="function")&&typeof console.log==="object"){["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(e){console[e]=this.call(console[e],console)},Function.prototype.bind)}}this._setup();if(s.prefill){this._prefill()}return!0},_prefill:function(){function i(){return e(n.options.contentSelector).height()<=r.height()}var n=this;var r=e(window);this._prefill=function(){if(i()){n.scroll()}r.bind("resize.infinite-scroll",function(){if(i()){r.unbind("resize.infinite-scroll");n.scroll()}})};this._prefill()},_debug:function(){if(!0!==this.options.debug){return}if(typeof console!=="undefined"&&typeof console.log==="function"){if(Array.prototype.slice.call(arguments).length===1&&typeof Array.prototype.slice.call(arguments)[0]==="str
342ing"){console.log(Array.prototype.slice.call(arguments).toString())}else{console.log(Array.prototype.slice.call(arguments))}}else if(!Function.prototype.bind&&typeof console!=="undefined"&&typeof console.log==="object"){Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments))}},_determinepath:function(n){var r=this.options;if(!!r.behavior&&this["_determinepath_"+r.behavior]!==t){return this["_determinepath_"+r.behavior].call(this,n)}if(!!r.pathParse){this._debug("pathParse manual");return r.pathParse(n,this.options.state.currPage+1)}else if(n.match(/^(.*?)\b2\b(.*?$)/)){n=n.match(/^(.*?)\b2\b(.*?$)/).slice(1)}else if(n.match(/^(.*?)2(.*?$)/)){if(n.match(/^(.*?page=)2(\/.*|$)/)){n=n.match(/^(.*?page=)2(\/.*|$)/).slice(1);return n}n=n.match(/^(.*?)2(.*?$)/).slice(1)}else{if(n.match(/^(.*?page=)1(\/.*|$)/)){n=n.match(/^(.*?page=)1(\/.*|$)/).slice(1);return n}else{this._debug("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com.");r.state.isInvalidPage=!0}}this._debug("determinePath",n);return n},_error:function(n){var r=this.options;if(!!r.behavior&&this["_error_"+r.behavior]!==t){this["_error_"+r.behavior].call(this,n);return}if(n!=="destroy"&&n!=="end"){n="unknown"}this._debug("Error",n);if(n==="end"||r.state.isBeyondMaxPage){this._showdonemsg()}r.state.isDone=!0;r.state.currPage=1;
342r.state.isPaused=!1;r.state.isBeyondMaxPage=!1;this._binding("unbind")},_loadcallback:function(r,i,s){var o=this.options,u=this.options.callback,a=o.state.isDone?"done":!o.appendCallback?"no-append":"append",f;if(!!o.behavior&&this["_loadcallback_"+o.behavior]!==t){this["_loadcallback_"+o.behavior].call(this,r,i);return}switch(a){case"done":this._showdonemsg();return!1;case"no-append":if(o.dataType==="html"){i="<div>"+i+"</div>";i=e(i).find(o.itemSelector)}if(i.length===0){return this._error("end")}break;case"append":var l=r.children();if(l.length===0){return this._error("end")}f=document.createDocumentFragment();while(r[0].firstChild){f.appendChild(r[0].firstChild)}this._debug("contentSelector",e(o.contentSelector)[0]);e(o.contentSelector)[0].appendChild(f);i=l.get();break}o.loading.finished.call(e(o.contentSelector)[0],o);if(o.animate){var c=e(window).scrollTop()+e(o.loading.msg).height()+o.extraScrollPx+"px";e("html,body").animate({scrollTop:c},800,function(){o.state.isDuringAjax=!1})}if(!o.animate){o.state.isDuringAjax=!1}u(this,i,s);if(o.prefill){this._prefill()}},_nearbottom:function(){var r=this.options,i=0+e(document).height()-r.binder.scrollTop()-e(window).height();if(!!r.behavior&&this["_nearbottom_"+r.behavior]!==t){return this["_nearbottom_"+r.behavior].call(this)}this._debug("math:",i,r.pixelsFromNavToBottom);return i-r.bufferPx<r.pixelsFromNavToBottom},_pausing:function(n){var r=this.options;if(!!r.behavior&&this["_pausing_"+r.behavior]!==t){this["_pausing_"+r.behavior].call(this,n);return}if(n!=="pause"&&n!=="resume"&&n!==null){this._debug("Invalid argument. Toggling pause value instead")}n=n&&(n==="pause"||n==="resume")?n:"toggle";
342switch(n){case"pause":r.state.isPaused=!0;break;case"resume":r.state.isPaused=!1;break;case"toggle":r.state.isPaused=!r.state.isPaused;break}this._debug("Paused",r.state.isPaused);return!1},_setup:function(){var n=this.options;if(!!n.behavior&&this["_setup_"+n.behavior]!==t){this["_setup_"+n.behavior].call(this);return}this._binding("bind");return!1},_showdonemsg:function(){var r=this.options;if(!!r.behavior&&this["_showdonemsg_"+r.behavior]!==t){this["_showdonemsg_"+r.behavior].call(this);return}r.loading.msg.find("img").hide().parent().find("div").html(r.loading.finishedMsg).animate({opacity:1},2e3,function(){e(this).parent().fadeOut(r.loading.speed)});r.errorCallback.call(e(r.contentSelector)[0],"done")},_validate:function(n){for(var r in n){if(r.indexOf&&r.indexOf("Selector")>-1&&e(n[r]).length===0){this._debug("Your "+r+" found no elements.");return!1}}return!0},bind:function(){this._binding("bind")},destroy:function(){this.options.state.isDestroyed=!0;this.options.loading.finished();return this._error("destroy")},pause:function(){this._pausing("pause")},resume:function(){this._pausing("resume")},beginAjax:function(r){var i=this,s=r.path,o,u,a,f;r.state.currPage++;if(r.maxPage!==t&&r.state.currPage>r.maxPage){r.state.isBeyondMaxPage=!0;this.destroy();return}o=e(r.contentSelector).is("table, tbody")?e("<tbody/>"):e("<div/>");u=typeof s==="function"?s(r.state.currPage):s.join(r.state.currPage);i._debug("heading into ajax",u);a=r.dataType==="html"||r.dataType==="json"?r.dataType:"html+callback";if(r.appendCallback&&r.dataType==="html"){a+="+callback"}switch(a){case"html+callback":i._debug("Using HTML via .load() method");o.load(u+" "+r.itemSelector,t,function(t){i._loadcallback(o,t,u)});break;case"html":i._debug("Using "+a.toUpperCase()+" via $.ajax() method");e.ajax({url:u,dataType:r.dataType,complete:function(t,n){f=typeof t.isResolved!=="undefined"?t.isResolved():n==="success"||n==="notmodified";if(f){i._loadcallback(o,t.responseText,u)}else{i._error("end")}}});break;case"json":i._debug("Using "+a.toUpperCase()+" via $.ajax() method");e.ajax({dataType:"json",type:"GET",url:u,success:function(e,n,s){f=typeof s.isResolved!=="undefined"?s.isResolved():n==="success"||n==="notmodified";if(r.appendCallback){if(r.template!==t){var a=r.template(e);o.append(a);if(f){i._loadcallback(o,a)}else{i._error("end")}}else{i._debug("template must be defined.");i._error("end")}}else{if(f){i._loadcallback(o,e,u)}else{i._error("end")}}},error:function(){i._debug("JSON ajax request failed.");i._error("end")}});break}},retrieve:function(r){r=r||null;var i=this,s=i.options;if(!!s.behavior&&this["retrieve_"+s.behavior]!==t){this["retrieve_"+s.behavior].call(this,r);return}if(s.state.isDestroyed){this._debug("Instance is destroyed");return!1}s.state.isDuringAjax=!0;s.loading.start.call(e(s.contentSelector)[0],s)},scroll:function(){var n=this.options,r=n.state;if(!!n.behavior&&this["scroll_"+n.behavior]!==t){this["scroll_"+n.behavior].call(this);return}if(r.isDuringAjax||r.isInvalidPage||r.isDone||r.isDestroyed||r.isPaused){return}if(!this._nearbottom()){return}this.retrieve()},toggle:function(){this._pausing()},unbind:function(){this._binding("unbind")},update:function(n){if(e.isPlainObject(n)){this.options=e.extend(!0,this.options,n)}}};e.fn.infinitescroll=function(n,r){var i=typeof n;switch(i){case"string":var s=Array.prototype.slice.call(arguments,1);this.each(function(){var t=e.data(this,"infinitescroll");if(!t){return!1}if(!e.isFunction(t[n])||n.charAt(0)==="_"){return!1}t[n].apply(t,s)});break;case"object":this.each(function(){var t=e.data(this,"infinitescroll");if(t){t.update(n)}else{t=new e.infinitescroll(n,r,this);if(!t.failed){e.data(this,"infinitescroll",t)}}});break}return this};var n=e.event,r;n.special.smartscroll={setup:function(){e(this).bind("scroll",n.special.smartscroll.handler)},teardown:function(){e(this).unbind("scroll",n.special.smartscroll.handler)},handler:function(t,n){var i=this,s=arguments;t.type="smartscroll";if(r){clearTimeout(r)}r=setTimeout(function(){e(i).trigger("smartscroll",s)},n==="execAsap"?0:100)}};e.fn.smartscroll=function(e){return e?this.bind("smartscroll",e):this.trigger("smartscroll",["execAsap"])}}) 343;/*! This file is auto-generated */ 344window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,i="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){o(),e&&new e(d).observe(E.body,{childList:!0,subtree:!0})}function o(e){if(i&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode&&"a"!==E.activeElement.tagName.toLowerCase())return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,d=n.length;o<d;o++)n[o].addEventListener("click",r)}}function l(e){var t,n,o=g(b.temporaryFormId);
344o&&h&&(g(b.parentIdFieldId).value="0",t=o.textContent,o.parentNode.replaceChild(h,o),this.style.display="none",n=(o=(o=g(b.commentReplyTitleId))&&o.firstChild)&&o.nextSibling,o&&o.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),o.textContent=t),e.preventDefault())}function r(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,o=a(n,"belowelement"),d=a(n,"commentid"),i=a(n,"respondelement"),l=a(n,"postid"),n=a(n,"replyto")||t;o&&d&&i&&l&&!1===v.addComment.moveForm(o,d,i,l,n)&&e.preventDefault()}function d(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void o()}function a(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return i&&"loading"!==E.readyState?t():i&&v.addEventListener("DOMContentLoaded",t,!1),{init:o,moveForm:function(e,t,n,o,d){var i,l,r,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===d&&(d=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),o&&y&&(y.value=o),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=d),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],l=!1,"getComputedStyle"in v?r=v.getComputedStyle(i):E.documentElement.currentStyle&&(r=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===r.visibility)&&(l=!0),"hidden"!==i.type&&!i.disabled&&!l){i.focus();break}}catch(e){}return!1}}}}(window) 345;(()=>{var e={9885(e){function t(){this.listeners={}}t.prototype.emit=function(e,t){this.listeners[e]=this.listeners[e]??[],this.listeners[e].forEach(e=>e.apply(null,t))},t.prototype.on=function(e,t){this.listeners[e]=this.listeners[e]??[],this.listeners[e].push(t)},e.exports=t},5626(){function e(e){const t=!!e.getAttribute("data-show-if"),n=t?e.getAttribute("data-show-if").split(":"):e.getAttribute("data-hide-if").split(":"),r=n[0],i=(n.length>1?n[1]:"*").split("|"),o=function(e,t){const n=[],r=e.querySelectorAll('input[name="'+t+'"],select[name="'+t+'"],textarea[name="'+t+'"]');for(let e=0;e<r.length;e++)("radio"!==r[e].type&&"checkbox"!==r[e].type||r[e].checked)&&n.push(r[e].value);return n}(function(e){let t=e;for(;t.parentElement;)if(t=t.parentElement,"FORM"===t.tagName)return t;return null}(e),r);let s=!1;for(let e=0;e<o.length&&!s;e++)s=i.indexOf(o[e])>-1||i.indexOf("*")>-1&&o[e].length>0;e.style.display=t?s?"":"none":s?"none":"";const a=e.querySelectorAll("input,select,textarea");for(let e=0;e<a.length;e++)(s||t)&&a[e].getAttribute("data-was-required")&&(a[e].required=!0,a[e].removeAttribute("data-was-required")),s&&t||!a[e].required||(a[e].setAttribute("data-was-required","true"),a[e].required=!1)}function t(){const t=document.querySelectorAll(".mc4wp-form [data-show-if],.mc4wp-form [data-hide-if]");for(let n=0;n<t.length;n++)e(t[n])}function n(t){if(!t.target||!t.target.form||t.target.form.className.indexOf("mc4wp-form")<0)return;const n=t.target.form.querySelectorAll("[data-show-if],[data-hide-if]");for(let t=0;t<n.length;t++)e(n[t])}document.addEventListener("keyup",n,!0),document.addEventListener("change",n,!0),document.addEventListener("mc4wp-refresh",t,!0),window.addEventListener("load",t),t()},6942(e,t,n){const r=n(2076),i=n(6564),o=function(e,t){this.id=e,this.element=t||document.createElement("form"),this.name=this.element.getAttribute("data-name")||"Form #"+this.id,this.errors=[],this.started=!1};o.prototype.setData=function(e){try{i(this.element,e)}catch(e){console.error(e)}},o.prototype.getData=function(){return r(this.element,{hash:!0,empty:!0})},o.prototype.getSerializedData=function(){return r(this.element,{hash:!1,empty:!0})},o.prototype.setResponse=function(e){this.element.querySelector(".mc4wp-response").innerHTML=e},o.prototype.reset=function(){this.setResponse(""),this.element.querySelector(".mc4wp-form-fields").style.display="",this.element.reset()},e.exports=o},9685(e,t,n){const r=n(6942),i=[],o=new(n(9885));
345function s(e,t){t=t||parseInt(e.getAttribute("data-id"))||0;const n=new r(t,e);return i.push(n),n}e.exports={get:function(e){e=parseInt(e);for(let t=0;t<i.length;t++)if(i[t].id===e)return i[t];return s(document.querySelector(".mc4wp-form-"+e),e)},getByElement:function(e){const t=e.form||e;for(let e=0;e<i.length;e++)if(i[e].element===t)return i[e];return s(t)},on:function(e,t){o.on(e,t)},trigger:function(e,t){"submit"===e||e.indexOf(".submit")>0?(o.emit(t[0].id+"."+e,t),o.emit(e,t)):window.setTimeout(function(){o.emit(t[0].id+"."+e,t),o.emit(e,t)},10)}}},2076(e){var t=/^(?:submit|button|image|reset|file)$/i,n=/^(?:input|select|textarea|keygen)/i,r=/(\[[^\[\]]*\])/g;function i(e,t,n){if(0===t.length)return n;var r=t.shift(),o=r.match(/^\[(.+?)\]$/);if("[]"===r)return e=e||[],Array.isArray(e)?e.push(i(null,t,n)):(e._values=e._values||[],e._values.push(i(null,t,n))),e;if(o){var s=o[1],a=+s;isNaN(a)?(e=e||{})[s]=i(e[s],t,n):(e=e||[])[a]=i(e[a],t,n)}else e[r]=i(e[r],t,n);return e}function o(e,t,n){if(t.match(r))i(e,function(e){var t=[],n=new RegExp(r),i=/^([^\[\]]*)/.exec(e);for(i[1]&&t.push(i[1]);null!==(i=n.exec(e));)t.push(i[1]);return t}(t),n);else{var o=e[t];o?(Array.isArray(o)||(e[t]=[o]),e[t].push(n)):e[t]=n}return e}function s(e,t,n){return n=n.replace(/(\r)?\n/g,"\r\n"),n=(n=encodeURIComponent(n)).replace(/%20/g,"+"),e+(e?"&":"")+encodeURIComponent(t)+"="+n}e.exports=function(e,r){"object"!=typeof r?r={hash:!!r}:void 0===r.hash&&(r.hash=!0);for(var i=r.hash?{}:"",a=r.serializer||(r.hash?o:s),c=e&&e.elements?e.elements:[],l=Object.create(null),u=0;u<c.length;++u){var f=c[u];if((r.disabled||!f.disabled)&&f.name&&n.test(f.nodeName)&&!t.test(f.type)){var d=f.name,h=f.value;if("checkbox"!==f.type&&"radio"!==f.type||f.checked||(h=void 0),r.empty){if("checkbox"!==f.type||f.checked||(h=""),"radio"===f.type&&(l[f.name]||f.checked?f.checked&&(l[f.name]=!0):l[f.name]=!1),null==h&&"radio"==f.type)continue}else if(!h)continue;if("select-multiple"!==f.type)i=a(i,d,h);else{h=[];for(var p=f.options,m=!1,g=0;g<p.length;++g){var y=p[g],v=r.empty&&!y.value,w=y.value||v;y.selected&&w&&(m=!0,i=r.hash&&"[]"!==d.slice(d.length-2)?a(i,d+"[]",y.value):a(i,d,y.value))}!m&&r.empty&&(i=a(i,d,""))}}}if(r.empty)for(var d in l)l[d]||(i=a(i,d,""));return i}},6564(e){e.exports&&(e.exports=function e(t,n,r){for(const i in n){if(!n.hasOwnProperty(i))continue;const o=i;let s=n[i];if(void 0===s&&(s=""),null===s&&(s=""),void 0!==r&&(o=r+"["+i+"]"),s.constructor===Array)o+="[]";else if("object"==typeof s){e(t,s,o);continue}const a=t.elements.namedItem(o);if(!a)continue;const c=a.type||a[0].type;switch(c){default:a.value=s;break;case"radio":case"checkbox":{const e=s.constructor===Array?s:[s];for(let t=0;t<a.length;t++)a[t].checked=e.indexOf(a[t].value)>-1}break;case"select-multiple":{const e=s.constructor===Array?s:[s];for(let t=0;t<a.options.length;t++)a.options[t].selected=e.indexOf(a.options[t].value)>-1}break;case"select":case"select-one":a.value=s.toString()||s;break;case"date":a.value=new Date(s).toISOString().split("T")[0]}const l=new Event("change",{bubbles:!0});switch(c){default:a.dispatchEvent(l);break;case"radio":case"checkbox":for(let e=0;e<a.length;e++)a[e].checked&&a[e].dispatchEvent(l)}}})}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}const r=window.mc4wp||{},i=n(9685);function o(e,t){document.addEventListener(e,e=>{if(!e.target)return;const n=e.target;("string"==typeof n.className&&n.className.indexOf("mc4wp-form")>-1||"function"==typeof n.matches&&n.matches(".mc4wp-form *"))&&t.call(e,e)},!0)}n(5626),o("submit",function(e){if(e.defaultPrevented)return;const t=i.getByElement(e.target);i.trigger("submit",[t,e])}),o("focus",function(e){const t=i.getByElement(e.target);t.started||(i.trigger("started",[t,e]),t.started=!0)}),o("change",function(e){const t=i.getByElement(e.target);i.trigger("change",[t,e])}),r.listeners&&([].forEach.call(r.listeners,function(e){i.on(e.event,e.callback)}),delete r.listeners),r.forms=i,window.mc4wp=r})() 346;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.