(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{1:function(t,e,i){(function(t,i){var n;!function(){var r="object"==typeof self&&self.self===self&&self||"object"==typeof t&&t.global===t&&t||this||{},o=r._,a=Array.prototype,s=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,l=a.slice,p=s.toString,h=s.hasOwnProperty,d=Array.isArray,f=Object.keys,g=Object.create,m=function(){},v=function t(e){return e instanceof t?e:this instanceof t?void(this._wrapped=e):new t(e)};e.nodeType?r._=v:(!i.nodeType&&i.exports&&(e=i.exports=v),e._=v),v.VERSION="1.9.1";var y,A=function(t,e,i){if(void 0===e)return t;switch(null==i?3:i){case 1:return function(i){return t.call(e,i)};case 3:return function(i,n,r){return t.call(e,i,n,r)};case 4:return function(i,n,r,o){return t.call(e,i,n,r,o)}}return function(){return t.apply(e,arguments)}},b=function(t,e,i){return v.iteratee!==y?v.iteratee(t,e):null==t?v.identity:v.isFunction(t)?A(t,e,i):v.isObject(t)&&!v.isArray(t)?v.matcher(t):v.property(t)};v.iteratee=y=function(t,e){return b(t,e,1/0)};var k=function(t,e){return e=null==e?t.length-1:+e,function(){for(var i=Math.max(arguments.length-e,0),n=Array(i),r=0;r=0&&e<=S};v.each=v.forEach=function(t,e,i){var n,r;if(e=A(e,i),E(t))for(n=0,r=t.length;n0?0:a-1;for(r||(n=e[o?o[s]:s],s+=t);s>=0&&s=3;return e(t,A(i,r,4),n,o)}};v.reduce=v.foldl=v.inject=I(1),v.reduceRight=v.foldr=I(-1),v.find=v.detect=function(t,e,i){var n=(E(t)?v.findIndex:v.findKey)(t,e,i);if(void 0!==n&&-1!==n)return t[n]},v.filter=v.select=function(t,e,i){var n=[];return e=b(e,i),v.each(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n},v.reject=function(t,e,i){return v.filter(t,v.negate(b(e)),i)},v.every=v.all=function(t,e,i){e=b(e,i);for(var n=!E(t)&&v.keys(t),r=(n||t).length,o=0;o=0},v.invoke=k((function(t,e,i){var n,r;return v.isFunction(e)?r=e:v.isArray(e)&&(n=e.slice(0,-1),e=e[e.length-1]),v.map(t,(function(t){var o=r;if(!o){if(n&&n.length&&(t=w(t,n)),null==t)return;o=t[e]}return null==o?o:o.apply(t,i)}))})),v.pluck=function(t,e){return v.map(t,v.property(e))},v.where=function(t,e){return v.filter(t,v.matcher(e))},v.findWhere=function(t,e){return v.find(t,v.matcher(e))},v.max=function(t,e,i){var n,r,o=-1/0,a=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var s=0,u=(t=E(t)?t:v.values(t)).length;so&&(o=n);else e=b(e,i),v.each(t,(function(t,i,n){((r=e(t,i,n))>a||r===-1/0&&o===-1/0)&&(o=t,a=r)}));return o},v.min=function(t,e,i){var n,r,o=1/0,a=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var s=0,u=(t=E(t)?t:v.values(t)).length;sn||void 0===i)return 1;if(i0?0:r-1;o>=0&&o0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(i&&o&&s)return n[o=i(n,r)]===r?o:-1;if(r!=r)return(o=e(l.call(n,a,s),v.isNaN))>=0?o+a:-1;for(o=t>0?a:s-1;o>=0&&oe?(n&&(clearTimeout(n),n=null),s=c,a=t.apply(r,o),n||(r=o=null)):n||!1===i.trailing||(n=setTimeout(u,l)),a};return c.cancel=function(){clearTimeout(n),s=0,n=r=o=null},c},v.debounce=function(t,e,i){var n,r,o=function(e,i){n=null,i&&(r=t.apply(e,i))},a=k((function(a){if(n&&clearTimeout(n),i){var s=!n;n=setTimeout(o,e),s&&(r=t.apply(this,a))}else n=v.delay(o,e,this,a);return r}));return a.cancel=function(){clearTimeout(n),n=null},a},v.wrap=function(t,e){return v.partial(e,t)},v.negate=function(t){return function(){return!t.apply(this,arguments)}},v.compose=function(){var t=arguments,e=t.length-1;return function(){for(var i=e,n=t[e].apply(this,arguments);i--;)n=t[i].call(this,n);return n}},v.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},v.before=function(t,e){var i;return function(){return--t>0&&(i=e.apply(this,arguments)),t<=1&&(e=null),i}},v.once=v.partial(v.before,2),v.restArguments=k;var L=!{toString:null}.propertyIsEnumerable("toString"),j=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],F=function(t,e){var i=j.length,n=t.constructor,r=v.isFunction(n)&&n.prototype||s,o="constructor";for(_(t,o)&&!v.contains(e,o)&&e.push(o);i--;)(o=j[i])in t&&t[o]!==r[o]&&!v.contains(e,o)&&e.push(o)};v.keys=function(t){if(!v.isObject(t))return[];if(f)return f(t);var e=[];for(var i in t)_(t,i)&&e.push(i);return L&&F(t,e),e},v.allKeys=function(t){if(!v.isObject(t))return[];var e=[];for(var i in t)e.push(i);return L&&F(t,e),e},v.values=function(t){for(var e=v.keys(t),i=e.length,n=Array(i),r=0;r1&&(n=A(n,e[1])),e=v.allKeys(t)):(n=q,e=M(e,!1,!1),t=Object(t));for(var r=0,o=e.length;r1&&(i=e[1])):(e=v.map(M(e,!1,!1),String),n=function(t,i){return!v.contains(e,i)}),v.pick(t,n,i)})),v.defaults=R(v.allKeys,!0),v.create=function(t,e){var i=x(t);return e&&v.extendOwn(i,e),i},v.clone=function(t){return v.isObject(t)?v.isArray(t)?t.slice():v.extend({},t):t},v.tap=function(t,e){return e(t),t},v.isMatch=function(t,e){var i=v.keys(e),n=i.length;if(null==t)return!n;for(var r=Object(t),o=0;o":">",'"':""","'":"'","`":"`"},z=v.invert(U),Y=function(t){var e=function(e){return t[e]},i="(?:"+v.keys(t).join("|")+")",n=RegExp(i),r=RegExp(i,"g");return function(t){return t=null==t?"":""+t,n.test(t)?t.replace(r,e):t}};v.escape=Y(U),v.unescape=Y(z),v.result=function(t,e,i){v.isArray(e)||(e=[e]);var n=e.length;if(!n)return v.isFunction(i)?i.call(t):i;for(var r=0;r/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var K=/(.)^/,Z={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},X=/\\|'|\r|\n|\u2028|\u2029/g,Q=function(t){return"\\"+Z[t]};v.template=function(t,e,i){!e&&i&&(e=i),e=v.defaults({},e,v.templateSettings);var n,r=RegExp([(e.escape||K).source,(e.interpolate||K).source,(e.evaluate||K).source].join("|")+"|$","g"),o=0,a="__p+='";t.replace(r,(function(e,i,n,r,s){return a+=t.slice(o,s).replace(X,Q),o=s+e.length,i?a+="'+\n((__t=("+i+"))==null?'':_.escape(__t))+\n'":n?a+="'+\n((__t=("+n+"))==null?'':__t)+\n'":r&&(a+="';\n"+r+"\n__p+='"),e})),a+="';\n",e.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{n=new Function(e.variable||"obj","_",a)}catch(t){throw t.source=a,t}var s=function(t){return n.call(this,t,v)},u=e.variable||"obj";return s.source="function("+u+"){\n"+a+"}",s},v.chain=function(t){var e=v(t);return e._chain=!0,e};var J=function(t,e){return t._chain?v(e).chain():e};v.mixin=function(t){return v.each(v.functions(t),(function(e){var i=v[e]=t[e];v.prototype[e]=function(){var t=[this._wrapped];return c.apply(t,arguments),J(this,i.apply(v,t))}})),v},v.mixin(v),v.each(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=a[t];v.prototype[t]=function(){var i=this._wrapped;return e.apply(i,arguments),"shift"!==t&&"splice"!==t||0!==i.length||delete i[0],J(this,i)}})),v.each(["concat","join","slice"],(function(t){var e=a[t];v.prototype[t]=function(){return J(this,e.apply(this._wrapped,arguments))}})),v.prototype.value=function(){return this._wrapped},v.prototype.valueOf=v.prototype.toJSON=v.prototype.value,v.prototype.toString=function(){return String(this._wrapped)},void 0===(n=function(){return v}.apply(e,[]))||(i.exports=n)}()}).call(this,i(154),i(342)(t))},1060:function(t,e,i){t.exports=function(t){return i(184).render(t,{useSIUnits:!0})}},113:function(t,e,i){t.exports=function(t,e){if(void 0===t&&(t=""),void 0===e&&(e=""),t&&"string"==typeof t&&e)return"boolean"==typeof e?e?new(i(13).SafeString)(""+i(13).Utils.escapeExpression(t)):"":new(i(13).SafeString)(i(13).Utils.escapeExpression(t)+'="'+i(13).Utils.escapeExpression(e)+'"')}},120:function(t,e,i){t.exports=function(t){return new(i(13).SafeString)(i(581).getAccessibleMarkup(t.hash))}},1289:function(t,e,i){(function(t){t.extend(t.Event.prototype,{isMetaKey:function(){return this.metaKey||this.shiftKey||this.ctrlKey||this.altKey},isInput:function(){return this.target&&/input|textarea|select/i.test(this.target.nodeName)},isMiddleClick:function(){return 2===this.which}}),t.event.props.push("dataTransfer")}).call(this,i(28))},1290:function(t,e,i){(function(t,e){t.extend(t.expr[":"],{data:function(t,i,n){return!!e.data(t,n[3])},focusable:function(t){var i=t.nodeName.toLowerCase(),n=e.attr(t,"tabindex");return(/input|select|textarea|button|object/.test(i)?!t.disabled:("a"===i||"area"===i)&&t.href||!isNaN(n))&&!e(t)["area"===i?"parents":"closest"](":hidden").length},tabbable:function(t){var i=e.attr(t,"tabindex");return(isNaN(i)||i>=0)&&e(t).is(":focusable")}})}).call(this,i(28),i(28))},1291:function(t,e,i){(function(t){!function(t){t.gritter={},t.gritter.options={position:"",class_name:"",fade_in_speed:"medium",fade_out_speed:1e3,time:6e3},t.gritter.add=function(t){try{return e.add(t||{})}catch(e){var i="Gritter Error: "+e;"undefined"!=typeof console&&console.error?console.error(i,t):alert(i)}},t.gritter.remove=function(t,i){e.removeSpecific(t,i||{})},t.gritter.removeAll=function(t){e.stop(t||{})};var e={position:"",fade_in_speed:"",fade_out_speed:"",time:"",_custom_timer:0,_item_count:0,_is_setup:0,_tpl_close:'Close Notification',_tpl_title:'[[title]]',_tpl_item:'',_tpl_wrap:'
',add:function(i){if("string"==typeof i&&(i={text:i}),null===i.text)throw'You must supply "text" parameter.';this._is_setup||this._runSetup();var n=i.title,r=i.text,o=i.image||"",a=i.sticky||!1,s=i.class_name||t.gritter.options.class_name,u=t.gritter.options.position,c=i.time||"";this._verifyWrapper(),this._item_count++;var l=this._item_count,p=this._tpl_item;t(["before_open","after_open","before_close","after_close"]).each((function(n,r){e["_"+r+"_"+l]=t.isFunction(i[r])?i[r]:function(){}})),this._custom_timer=0,c&&(this._custom_timer=c);var h=""!=o?'':"",d=""!=o?"gritter-with-image":"gritter-without-image";if(n=n?this._str_replace("[[title]]",n,this._tpl_title):"",p=this._str_replace(["[[title]]","[[text]]","[[close]]","[[image]]","[[number]]","[[class_name]]","[[item_class]]"],[n,r,this._tpl_close,h,this._item_count,d,s],p),!1===this["_before_open_"+l]())return!1;t("#gritter-notice-wrapper").addClass(u).append(p);var f=t("#gritter-item-"+this._item_count);return f.fadeIn(this.fade_in_speed,(function(){e["_after_open_"+l](t(this))})),a||this._setFadeTimer(f,l),t(f).bind("mouseenter mouseleave",(function(i){"mouseenter"==i.type?a||e._restoreItemIfFading(t(this),l):a||e._setFadeTimer(t(this),l),e._hoverState(t(this),i.type)})),t(f).find(".gritter-close").click((function(){return e.removeSpecific(l,{},null,!0),!1})),l},_countRemoveWrapper:function(e,i,n){i.remove(),this["_after_close_"+e](i,n),0==t(".gritter-item-wrapper").length&&t("#gritter-notice-wrapper").remove()},_fade:function(t,i,n,r){var o=void 0===(n=n||{}).fade||n.fade,a=n.speed||this.fade_out_speed,s=r;this["_before_close_"+i](t,s),r&&t.unbind("mouseenter mouseleave"),o?t.animate({opacity:0},a,(function(){t.animate({height:0},300,(function(){e._countRemoveWrapper(i,t,s)}))})):this._countRemoveWrapper(i,t)},_hoverState:function(t,e){"mouseenter"==e?(t.addClass("hover"),t.find(".gritter-close").show()):(t.removeClass("hover"),t.find(".gritter-close").hide())},removeSpecific:function(e,i,n,r){if(!n)n=t("#gritter-item-"+e);this._fade(n,e,i||{},r)},_restoreItemIfFading:function(t,e){clearTimeout(this["_int_id_"+e]),t.stop().css({opacity:"",height:""})},_runSetup:function(){for(opt in t.gritter.options)this[opt]=t.gritter.options[opt];this._is_setup=1},_setFadeTimer:function(t,i){var n=this._custom_timer?this._custom_timer:this.time;this["_int_id_"+i]=setTimeout((function(){e._fade(t,i)}),n)},stop:function(e){var i=t.isFunction(e.before_close)?e.before_close:function(){},n=t.isFunction(e.after_close)?e.after_close:function(){},r=t("#gritter-notice-wrapper");i(r),r.fadeOut((function(){t(this).remove(),n()}))},_str_replace:function(t,e,i,n){var r,o=0,a=0,s="",u="",c=0,l=[].concat(t),p=[].concat(e),h=i,d=p instanceof Array,f=h instanceof Array;for(h=[].concat(h),n&&(this.window[n]=0),o=0,r=h.length;othis.maxZoom?this.maxZoom:t},t}(),n=function(){function n(t,i){var r;this.element=t,this.$el=e(this.element),r={$fileInput:this.$("input.cropit-image-input"),$preview:this.$(".cropit-image-preview"),$zoomSlider:this.$("input.cropit-image-zoom-input"),$previewContainer:this.$(".cropit-image-preview-container")},this.options=e.extend({},n._DEFAULTS,r,i),this.options.$largeEventArea=e(i.largerEventAreaSelector).length?e(i.largerEventAreaSelector):this.options.$preview,this.init()}return n._DEFAULTS={exportZoom:1,imageBackground:!1,imageBackgroundBorderWidth:0,imageState:null,allowCrossOrigin:!1,allowDragNDrop:!0,largerEventAreaSelector:"",freeMove:!1,minZoom:"fill"},n.PREVIEW_EVENTS="mousedown.cropit",n.LARGE_AREA_EVENTS="mouseup.cropit mouseleave.cropit",n.PREVIEW_MOVE_EVENTS="mousemove.cropit",n.ZOOM_INPUT_EVENTS=["mousemove","touchmove","change"].map((function(t){return t+".cropit"})).join(" "),n.prototype.init=function(){var n,r,o,a,s;return this.image=new Image,this.options.allowCrossOrigin&&(this.image.crossOrigin="Anonymous"),this.$fileInput=this.options.$fileInput.attr({accept:"image/*"}),this.$preview=this.options.$preview.css({backgroundRepeat:"no-repeat"}),this.$zoomSlider=this.options.$zoomSlider.attr({min:0,max:1,step:.01}),this.$largeEventArea=this.options.$largeEventArea,this.previewSize={w:this.options.width||this.$preview.width(),h:this.options.height||this.$preview.height()},this.options.width&&this.$preview.width(this.previewSize.w),this.options.height&&this.$preview.height(this.previewSize.h),this.options.imageBackground&&(e.isArray(this.options.imageBackgroundBorderWidth)?this.imageBgBorderWidthArray=this.options.imageBackgroundBorderWidth:(this.imageBgBorderWidthArray=[],[0,1,2,3].forEach((s=this,function(t){return s.imageBgBorderWidthArray[t]=s.options.imageBackgroundBorderWidth}))),n=this.options.$previewContainer,this.$imageBg=e("").addClass("cropit-image-background").attr("alt","").css("position","absolute"),this.$imageBgContainer=e("
").addClass("cropit-image-background-container").css({position:"absolute",zIndex:0,left:-this.imageBgBorderWidthArray[3]+window.parseInt(this.$preview.css("border-left-width")),top:-this.imageBgBorderWidthArray[0]+window.parseInt(this.$preview.css("border-top-width")),width:this.previewSize.w+this.imageBgBorderWidthArray[1]+this.imageBgBorderWidthArray[3],height:this.previewSize.h+this.imageBgBorderWidthArray[0]+this.imageBgBorderWidthArray[2]}).append(this.$imageBg),this.imageBgBorderWidthArray[0]>0&&this.$imageBgContainer.css({overflow:"hidden"}),n.css("position","relative").prepend(this.$imageBgContainer),this.$preview.css("position","relative"),this.$preview.hover(function(t){return function(){return t.$imageBg.addClass("cropit-preview-hovered")}}(this),function(t){return function(){return t.$imageBg.removeClass("cropit-preview-hovered")}}(this))),this.initialOffset={x:0,y:0},this.initialZoom=0,this.initialZoomSliderPos=0,this.imageLoaded=!1,this.moveContinue=!1,this.zoomer=new i,this.options.allowDragNDrop&&t.event.props.push("dataTransfer"),this.bindListeners(),this.$zoomSlider.val(this.initialZoomSliderPos),this.setOffset((null!=(r=this.options.imageState)?r.offset:void 0)||this.initialOffset),this.zoom=(null!=(o=this.options.imageState)?o.zoom:void 0)||this.initialZoom,this.loadImage((null!=(a=this.options.imageState)?a.src:void 0)||null)},n.prototype.bindListeners=function(){if(this.$fileInput.on("change.cropit",this.onFileChange.bind(this)),this.$preview.on(n.PREVIEW_EVENTS,this.onPreviewEvent.bind(this)),this.$zoomSlider.on(n.ZOOM_INPUT_EVENTS,this.onZoomSliderChange.bind(this)),this.options.allowDragNDrop)return this.$preview.on("dragover.cropit dragleave.cropit",this.onDragOver.bind(this)),this.$preview.on("drop.cropit",this.onDrop.bind(this))},n.prototype.unbindListeners=function(){return this.$fileInput.off("change.cropit"),this.$preview.off(n.PREVIEW_EVENTS),this.$largeEventArea.off(n.LARGE_AREA_EVENTS),this.$preview.off("dragover.cropit dragleave.cropit drop.cropit"),this.$zoomSlider.off(n.ZOOM_INPUT_EVENTS)},n.prototype.reset=function(){return this.zoom=this.initialZoom,this.offset=this.initialOffset},n.prototype.onFileChange=function(){var t;return"function"==typeof(t=this.options).onFileChange&&t.onFileChange(),this.loadFileReader(this.$fileInput.get(0).files[0])},n.prototype.loadFileReader=function(t){var e;return e=new FileReader,(null!=t?t.type.match("image"):void 0)?(this.setImageLoadingClass(),e.readAsDataURL(t),e.onload=this.onFileReaderLoaded.bind(this),e.onerror=this.onFileReaderError.bind(this)):null!=t?this.onFileReaderError():void 0},n.prototype.onFileReaderLoaded=function(t){return this.reset(),this.loadImage(t.target.result)},n.prototype.onFileReaderError=function(){var t;return"function"==typeof(t=this.options).onFileReaderError?t.onFileReaderError():void 0},n.prototype.onDragOver=function(t){return t.preventDefault(),t.dataTransfer.dropEffect="copy",this.$preview.toggleClass("cropit-drag-hovered","dragover"===t.type)},n.prototype.onDrop=function(t){var e;return t.preventDefault(),t.stopPropagation(),Array.prototype.slice.call(t.dataTransfer.files,0).some((e=this,function(t){if(t.type.match("image"))return e.loadFileReader(t),!0})),this.$preview.removeClass("cropit-drag-hovered")},n.prototype.loadImage=function(t){var e;if(this.imageSrc=t,this.imageSrc)return"function"==typeof(e=this.options).onImageLoading&&e.onImageLoading(),this.setImageLoadingClass(),this.image.onload=this.onImageLoaded.bind(this),this.image.onerror=this.onImageError.bind(this),this.image.src=this.imageSrc},n.prototype.onImageLoaded=function(){var t;return this.setImageLoadedClass(),this.setOffset(this.offset),this.$preview.css("background-image","url("+this.imageSrc+")"),this.options.imageBackground&&this.$imageBg.attr("src",this.imageSrc),this.imageSize={w:this.image.width,h:this.image.height},this.setupZoomer(),this.imageLoaded=!0,"function"==typeof(t=this.options).onImageLoaded?t.onImageLoaded():void 0},n.prototype.onImageError=function(){var t;return"function"==typeof(t=this.options).onImageError?t.onImageError():void 0},n.prototype.setImageLoadingClass=function(){return this.$preview.removeClass("cropit-image-loaded").addClass("cropit-image-loading")},n.prototype.setImageLoadedClass=function(){return this.$preview.removeClass("cropit-image-loading").addClass("cropit-image-loaded")},n.prototype.getEventPosition=function(t){var e,i,n,r;if((null!=(e=t.originalEvent)&&null!=(i=e.touches)?i[0]:void 0)&&(t=null!=(n=t.originalEvent)&&null!=(r=n.touches)?r[0]:void 0),t.clientX&&t.clientY)return{x:t.clientX,y:t.clientY}},n.prototype.onPreviewEvent=function(t){this.imageLoaded&&(this.moveContinue=!1,this.$largeEventArea.off(n.PREVIEW_MOVE_EVENTS+" "+n.LARGE_AREA_EVENTS),"mousedown"===t.type?(this.origin=this.getEventPosition(t),this.moveContinue=!0,this.$largeEventArea.on(n.PREVIEW_MOVE_EVENTS,this.onMove.bind(this)),this.$largeEventArea.on(n.LARGE_AREA_EVENTS,this.onPreviewEvent.bind(this))):e(document.body).focus(),t.preventDefault())},n.prototype.onMove=function(t){var e;return e=this.getEventPosition(t),this.moveContinue&&e&&this.origin&&this.setOffset({x:this.offset.x+e.x-this.origin.x,y:this.offset.y+e.y-this.origin.y}),this.origin=e,t.stopPropagation(),!1},n.prototype.setOffset=function(t){var e;if(this.offset=this.fixOffset(t),this.$preview.css("background-position",this.offset.x+"px "+this.offset.y+"px"),"function"==typeof(e=this.options).onOffsetChange&&e.onOffsetChange(),this.options.imageBackground)return this.$imageBg.css({left:this.offset.x+this.imageBgBorderWidthArray[3],top:this.offset.y+this.imageBgBorderWidthArray[0]})},n.prototype.fixOffset=function(t){var e;return this.imageLoaded?(e={x:t.x,y:t.y},this.options.freeMove||(this.imageSize.w*this.zoom>=this.previewSize.w?e.x=Math.min(0,Math.max(e.x,this.previewSize.w-this.imageSize.w*this.zoom)):e.x=Math.max(0,Math.min(e.x,this.previewSize.w-this.imageSize.w*this.zoom)),this.imageSize.h*this.zoom>=this.previewSize.h?e.y=Math.min(0,Math.max(e.y,this.previewSize.h-this.imageSize.h*this.zoom)):e.y=Math.max(0,Math.min(e.y,this.previewSize.h-this.imageSize.h*this.zoom))),e.x=this.round(e.x),e.y=this.round(e.y),e):t},n.prototype.onZoomSliderChange=function(){var t;if(this.imageLoaded)return this.zoomSliderPos=Number(this.$zoomSlider.val()),t=this.zoomer.getZoom(this.zoomSliderPos),this.setZoom(t)},n.prototype.enableZoomSlider=function(){var t;return this.$zoomSlider.removeAttr("disabled"),"function"==typeof(t=this.options).onZoomEnabled?t.onZoomEnabled():void 0},n.prototype.disableZoomSlider=function(){var t;return this.$zoomSlider.attr("disabled",!0),"function"==typeof(t=this.options).onZoomDisabled?t.onZoomDisabled():void 0},n.prototype.setupZoomer=function(){return this.zoomer.setup(this.imageSize,this.previewSize,this.options.exportZoom,this.options),this.zoom=this.fixZoom(this.zoom),this.setZoom(this.zoom),this.isZoomable()?this.enableZoomSlider():this.disableZoomSlider()},n.prototype.setZoom=function(t){var e,i,n,r,o,a;if(t=this.fixZoom(t),o=this.round(this.imageSize.w*t),r=this.round(this.imageSize.h*t),n=this.zoom,e=this.previewSize.w/2-(this.previewSize.w/2-this.offset.x)*t/n,i=this.previewSize.h/2-(this.previewSize.h/2-this.offset.y)*t/n,this.zoom=t,this.setOffset({x:e,y:i}),this.zoomSliderPos=this.zoomer.getSliderPos(this.zoom),this.$zoomSlider.val(this.zoomSliderPos),this.$preview.css("background-size",o+"px "+r+"px"),"function"==typeof(a=this.options).onZoomChange&&a.onZoomChange(),this.options.imageBackground)return this.$imageBg.css({width:o,height:r})},n.prototype.fixZoom=function(t){return this.zoomer.fixZoom(t)},n.prototype.isZoomable=function(){return this.zoomer.isZoomable()},n.prototype.getCroppedImageData=function(t){var i,n,r,o,a;return this.imageSrc?(o={type:"image/png",quality:.75,originalSize:!1,fillBg:"#fff"},t=e.extend({},o,t),r={w:this.previewSize.w,h:this.previewSize.h},a=t.originalSize?1/this.zoom:this.options.exportZoom,n=(i=e("").attr({width:r.w*a,height:r.h*a}).get(0)).getContext("2d"),"image/jpeg"===t.type&&(n.fillStyle=t.fillBg,n.fillRect(0,0,i.width,i.height)),n.drawImage(this.image,this.offset.x*a,this.offset.y*a,this.zoom*a*this.imageSize.w,this.zoom*a*this.imageSize.h),i.toDataURL(t.type,t.quality)):null},n.prototype.getImageState=function(){return{src:this.imageSrc,offset:this.offset,zoom:this.zoom}},n.prototype.getImageSrc=function(){return this.imageSrc},n.prototype.getOffset=function(){return this.offset},n.prototype.getZoom=function(){return this.zoom},n.prototype.getImageSize=function(){return this.imageSize?{width:this.imageSize.w,height:this.imageSize.h}:null},n.prototype.getPreviewSize=function(){return{width:this.previewSize.w,height:this.previewSize.h}},n.prototype.setPreviewSize=function(t){if((null!=t?t.width:void 0)>0&&(null!=t?t.height:void 0)>0)return this.previewSize={w:t.width,h:t.height},this.$preview.css({width:this.previewSize.w,height:this.previewSize.h}),this.options.imageBackground&&this.$imageBgContainer.css({width:this.previewSize.w+this.imageBgBorderWidthArray[1]+this.imageBgBorderWidthArray[3],height:this.previewSize.h+this.imageBgBorderWidthArray[0]+this.imageBgBorderWidthArray[2]}),this.imageLoaded?this.setupZoomer():void 0},n.prototype.disable=function(){return this.unbindListeners(),this.disableZoomSlider(),this.$el.addClass("cropit-disabled")},n.prototype.reenable=function(){return this.bindListeners(),this.enableZoomSlider(),this.$el.removeClass("cropit-disabled")},n.prototype.round=function(t){return+(Math.round(100*t)+"e-2")},n.prototype.$=function(t){return this.$el?this.$el.find(t):null},n}(),r={init:function(t){return this.each((function(){var i;if(!e.data(this,"cropit"))return i=new n(this,t),e.data(this,"cropit",i)}))},destroy:function(){return this.each((function(){return e.removeData(this,"cropit")}))},isZoomable:function(){var t;return null!=(t=this.first().data("cropit"))?t.isZoomable():void 0},export:function(t){var e;return null!=(e=this.first().data("cropit"))?e.getCroppedImageData(t):void 0},imageState:function(){var t;return null!=(t=this.first().data("cropit"))?t.getImageState():void 0},imageSrc:function(t){var i;return null!=t?this.each((function(){var i;return null!=(i=e.data(this,"cropit"))&&i.reset(),null!=i?i.loadImage(t):void 0})):null!=(i=this.first().data("cropit"))?i.getImageSrc():void 0},offset:function(t){var i;return null!=t&&null!=t.x&&null!=t.y?this.each((function(){var i;return null!=(i=e.data(this,"cropit"))?i.setOffset(t):void 0})):null!=(i=this.first().data("cropit"))?i.getOffset():void 0},zoom:function(t){var i;return null!=t?this.each((function(){var i;return null!=(i=e.data(this,"cropit"))?i.setZoom(t):void 0})):null!=(i=this.first().data("cropit"))?i.getZoom():void 0},imageSize:function(){var t;return null!=(t=this.first().data("cropit"))?t.getImageSize():void 0},previewSize:function(t){var i;return null!=t?this.each((function(){var i;return null!=(i=e.data(this,"cropit"))?i.setPreviewSize(t):void 0})):null!=(i=this.first().data("cropit"))?i.getPreviewSize():void 0},disable:function(){return this.each((function(){return e.data(this,"cropit").disable()}))},reenable:function(){return this.each((function(){return e.data(this,"cropit").reenable()}))}},e.fn.cropit=function(t){return r[t]?r[t].apply(this,[].slice.call(arguments,1)):r.init.apply(this,arguments)}}(t)}).call(this,i(28))},1293:function(t,e,i){var n,r,o; /*! * hoverIntent v1.10.1 // 2019.10.05 // jQuery v1.7.0+ * http://briancherne.github.io/jquery-hoverIntent/ * * You may use hoverIntent under the terms of the MIT license. Basically that * means you are free to use hoverIntent as long as this header is left intact. * Copyright 2007-2019 Brian Cherne */!function(a){"use strict";r=[i(28)],void 0===(o="function"==typeof(n=function(t){var e,i,n={interval:100,sensitivity:6,timeout:0},r=0,o=function(t){e=t.pageX,i=t.pageY};t.fn.hoverIntent=function(a,s,u){var c=r++,l=t.extend({},n);t.isPlainObject(a)?(l=t.extend(l,a),t.isFunction(l.out)||(l.out=l.over)):l=t.isFunction(s)?t.extend(l,{over:a,out:s,selector:u}):t.extend(l,{over:a,out:a,selector:s});var p=function(n){var r=t.extend({},n),a=t(this),s=a.data("hoverIntent");s||a.data("hoverIntent",s={});var u=s[c];u||(s[c]=u={id:c}),u.timeoutId&&(u.timeoutId=clearTimeout(u.timeoutId));var p=u.event="mousemove.hoverIntent.hoverIntent"+c;if("mouseenter"===n.type){if(u.isActive)return;u.pX=r.pageX,u.pY=r.pageY,a.off(p,o).on(p,o),u.timeoutId=setTimeout((function(){!function t(n,r,a,s){if(Math.sqrt((a.pX-e)*(a.pX-e)+(a.pY-i)*(a.pY-i))');o.find(t.handle).mousedown((function(){a=!0})).mouseup((function(){a=!1})),e(this).data("items",t.items),n=n.add(u),t.connectWith&&e(t.connectWith).add(this).data("connectWith",t.connectWith),o.attr("draggable","true").on("dragstart.h5s",(function(n){if(t.handle&&!a)return!1;a=!1;var r=n.originalEvent.dataTransfer;r.effectAllowed="move",r.setData("text/html",null),s=(i=e(this)).addClass("sortable-dragging").index(),i.parent().addClass("sortable-dragging-list")})).on("dragend.h5s",(function(){u.trigger("drop.h5s"),i.removeClass("sortable-dragging").show().parent().removeClass("sortable-dragging-list"),n.detach(),s!=i.index()&&o.parent().trigger("sortupdate",{item:i}),i=null})).not("a[href], img").on("selectstart.h5s",(function(t){var e=t.target,i=e.tagName.toLowerCase();"function"!=typeof e.dragDrop||["input","select","textarea"].indexOf(i)>-1||e.isContentEditable||(t.preventDefault(),e.dragDrop())})).end().add([this,u]).on("dragenter.h5s drop.h5s",(function(r){return!o.is(i)&&t.connectWith!==e(i).parent().data("connectWith")||("drop"==r.type?(r.stopPropagation(),n.filter(":visible").after(i),!1):(r.preventDefault(),r.originalEvent.dataTransfer.dropEffect="move",o.is(this)&&(t.forcePlaceholderSize&&u.height(i.height()),i.hide(),e(this)[u.index()i?e.elem.addClass("ui-flipped-bottom"):t.topi?e.elem.addClass("ui-flipped-right"):t.left
"),o=r.children()[0];return t("body").append(r),i=o.offsetWidth,r.css("overflow","scroll"),i===(n=o.offsetWidth)&&(n=r[0].clientWidth),r.remove(),e=i-n},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),r="scroll"===i||"auto"===i&&e.width0?"right":"center",vertical:l<0?"top":u>0?"bottom":"middle"};di(n(u),n(l))?p.important="horizontal":p.important="vertical",e.using.call(this,t,p)}),a.offset(t.extend(w,{using:o}))}))},t.ui.position={fit:{left:function(t,e){var n,r=e.within,o=r.isWindow?r.scrollLeft:r.offset.left,a=r.width,s=t.left-e.collisionPosition.marginLeft,u=o-s,c=s+e.collisionWidth-a-o;e.collisionWidth>a?u>0&&c<=0?(n=t.left+u+e.collisionWidth-a-o,t.left+=u-n):t.left=c>0&&u<=0?o:u>c?o+a-e.collisionWidth:o:u>0?t.left+=u:c>0?t.left-=c:t.left=i(t.left-s,t.left)},top:function(t,e){var n,r=e.within,o=r.isWindow?r.scrollTop:r.offset.top,a=e.within.height,s=t.top-e.collisionPosition.marginTop,u=o-s,c=s+e.collisionHeight-a-o;e.collisionHeight>a?u>0&&c<=0?(n=t.top+u+e.collisionHeight-a-o,t.top+=u-n):t.top=c>0&&u<=0?o:u>c?o+a-e.collisionHeight:o:u>0?t.top+=u:c>0?t.top-=c:t.top=i(t.top-s,t.top)}},flip:{left:function(t,e){var i,r,o=e.within,a=o.offset.left+o.scrollLeft,s=o.width,u=o.isWindow?o.scrollLeft:o.offset.left,c=t.left-e.collisionPosition.marginLeft,l=c-u,p=c+e.collisionWidth-s-u,h="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,d="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];l<0?((i=t.left+h+d+f+e.collisionWidth-s-a)<0||i0&&((r=t.left-e.collisionPosition.marginLeft+h+d+f-u)>0||n(r)0&&((i=t.top-e.collisionPosition.marginTop+d+f+g-u)>0||n(i)0?(i.ids&&(i.ids=[i.name]),t.helpers.each(e,i)):r(this);if(i.data&&i.ids){var a=n.createFrame(i.data);a.contextPath=n.appendContextPath(i.data.contextPath,i.name),i={data:a}}return o(e,i)}))},t.exports=e.default},1331:function(t,e,i){"use strict";(function(n){e.__esModule=!0;var r,o=i(159),a=i(187),s=(r=a)&&r.__esModule?r:{default:r};e.default=function(t){t.registerHelper("each",(function(t,e){if(!e)throw new s.default("Must pass iterator to #each");var i,r=e.fn,a=e.inverse,u=0,c="",l=void 0,p=void 0;function h(e,i,n){l&&(l.key=e,l.index=i,l.first=0===i,l.last=!!n,p&&(l.contextPath=p+e)),c+=r(t[e],{data:l,blockParams:o.blockParams([t[e],e],[p+e,null])})}if(e.data&&e.ids&&(p=o.appendContextPath(e.data.contextPath,e.ids[0])+"."),o.isFunction(t)&&(t=t.call(this)),e.data&&(l=o.createFrame(e.data)),t&&"object"==typeof t)if(o.isArray(t))for(var d=t.length;u=s.LAST_COMPATIBLE_COMPILER_REVISION&&e<=s.COMPILER_REVISION)return;if(e2&&b.push("'"+this.terminals_[v]+"'");C=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[h]||h)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==h?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(C,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:l,expected:b})}}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+h);switch(g[0]){case 1:i.push(h),n.push(this.lexer.yytext),r.push(this.lexer.yylloc),i.push(g[1]),h=null,d?(h=d,d=null):(u=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,l=this.lexer.yylloc,c>0&&c--);break;case 2:if(y=this.productions_[g[1]][1],x.$=n[n.length-y],x._$={first_line:r[r.length-(y||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(y||1)].first_column,last_column:r[r.length-1].last_column},p&&(x._$.range=[r[r.length-(y||1)].range[0],r[r.length-1].range[1]]),void 0!==(m=this.performAction.call(x,a,u,s,this.yy,g[1],n,r)))return m;y&&(i=i.slice(0,-1*y*2),n=n.slice(0,-1*y),r=r.slice(0,-1*y)),i.push(this.productions_[g[1]][0]),n.push(x.$),r.push(x._$),A=o[i[i.length-2]][i[i.length-1]],i.push(A);break;case 3:return!0}}return!0}},e=function(){var t={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t){return this._input=t,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e-1),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this},more:function(){return this._more=!0,this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var t,e,i,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),a=0;ae[0].length)||(e=i,n=a,this.options.flex));a++);return e?((r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],t=this.performAction.call(this,this.yy,this,o[n],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),t||void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return void 0!==t?t:this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(t){this.begin(t)},options:{},performAction:function(t,e,i,n){function r(t,i){return e.yytext=e.yytext.substring(t,e.yyleng-i+t)}switch(i){case 0:if("\\\\"===e.yytext.slice(-2)?(r(0,1),this.begin("mu")):"\\"===e.yytext.slice(-1)?(r(0,1),this.begin("emu")):this.begin("mu"),e.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(r(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(e.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return e.yytext=r(1,2).replace(/\\"/g,'"'),80;case 32:return e.yytext=r(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return e.yytext=e.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},rules:[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],conditions:{mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}}};return t}();function i(){this.yy={}}return t.lexer=e,i.prototype=t,t.Parser=i,new i}();e.default=n,t.exports=e.default},1390:function(t,e,i){"use strict";e.__esModule=!0;var n,r=i(765),o=(n=r)&&n.__esModule?n:{default:n};function a(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=t}function s(t,e,i){void 0===e&&(e=t.length);var n=t[e-1],r=t[e-2];return n?"ContentStatement"===n.type?(r||!i?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(n.original):void 0:i}function u(t,e,i){void 0===e&&(e=-1);var n=t[e+1],r=t[e+2];return n?"ContentStatement"===n.type?(r||!i?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(n.original):void 0:i}function c(t,e,i){var n=t[null==e?0:e+1];if(n&&"ContentStatement"===n.type&&(i||!n.rightStripped)){var r=n.value;n.value=n.value.replace(i?/^\s+/:/^[ \t]*\r?\n?/,""),n.rightStripped=n.value!==r}}function l(t,e,i){var n=t[null==e?t.length-1:e-1];if(n&&"ContentStatement"===n.type&&(i||!n.leftStripped)){var r=n.value;return n.value=n.value.replace(i?/\s+$/:/[ \t]+$/,""),n.leftStripped=n.value!==r,n.leftStripped}}a.prototype=new o.default,a.prototype.Program=function(t){var e=!this.options.ignoreStandalone,i=!this.isRootSeen;this.isRootSeen=!0;for(var n=t.body,r=0,o=n.length;r0)throw new o.default("Invalid path: "+n,{loc:i});".."===c&&a++}}return{type:"PathExpression",data:t,depth:a,parts:r,original:n,loc:i}},e.prepareMustache=function(t,e,i,n,r,o){var a=n.charAt(3)||n.charAt(2),s="{"!==a&&"&"!==a;return{type:/\*/.test(n)?"Decorator":"MustacheStatement",path:t,params:e,hash:i,escaped:s,strip:r,loc:this.locInfo(o)}},e.prepareRawBlock=function(t,e,i,n){a(t,i),n=this.locInfo(n);var r={type:"Program",body:e,strip:{},loc:n};return{type:"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:r,openStrip:{},inverseStrip:{},closeStrip:{},loc:n}},e.prepareBlock=function(t,e,i,n,r,s){n&&n.path&&a(t,n);var u=/\*/.test(t.open);e.blockParams=t.blockParams;var c=void 0,l=void 0;if(i){if(u)throw new o.default("Unexpected inverse block on decorator",i);i.chain&&(i.program.body[0].closeStrip=n.strip),l=i.strip,c=i.program}r&&(r=c,c=e,e=r);return{type:u?"DecoratorBlock":"BlockStatement",path:t.path,params:t.params,hash:t.hash,program:e,inverse:c,openStrip:t.strip,inverseStrip:l,closeStrip:n&&n.strip,loc:this.locInfo(s)}},e.prepareProgram=function(t,e){if(!e&&t.length){var i=t[0].loc,n=t[t.length-1].loc;i&&n&&(e={source:i.source,start:{line:i.start.line,column:i.start.column},end:{line:n.end.line,column:n.end.column}})}return{type:"Program",body:t,strip:{},loc:e}},e.preparePartialBlock=function(t,e,i,n){return a(t,i),{type:"PartialBlockStatement",name:t.path,params:t.params,hash:t.hash,program:e,openStrip:t.strip,closeStrip:i&&i.strip,loc:this.locInfo(n)}};var n,r=i(187),o=(n=r)&&n.__esModule?n:{default:n};function a(t,e){if(e=e.path?e.path.original:e,t.path.original!==e){var i={loc:t.path.loc};throw new o.default(t.path.original+" doesn't match "+e,i)}}},1392:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0,e.Compiler=u,e.precompile=function(t,e,i){if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new r.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+t);"data"in(e=e||{})||(e.data=!0);e.compat&&(e.useDepths=!0);var n=i.parse(t,e),o=(new i.Compiler).compile(n,e);return(new i.JavaScriptCompiler).compile(o,e)},e.compile=function(t,e,i){void 0===e&&(e={});if(null==t||"string"!=typeof t&&"Program"!==t.type)throw new r.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+t);"data"in(e=o.extend({},e))||(e.data=!0);e.compat&&(e.useDepths=!0);var n=void 0;function a(){var n=i.parse(t,e),r=(new i.Compiler).compile(n,e),o=(new i.JavaScriptCompiler).compile(r,e,void 0,!0);return i.template(o)}function s(t,e){return n||(n=a()),n.call(this,t,e)}return s._setup=function(t){return n||(n=a()),n._setup(t)},s._child=function(t,e,i,r){return n||(n=a()),n._child(t,e,i,r)},s};var r=n(i(187)),o=i(159),a=n(i(764)),s=[].slice;function u(){}function c(t,e){if(t===e)return!0;if(o.isArray(t)&&o.isArray(e)&&t.length===e.length){for(var i=0;i1)throw new r.default("Unsupported number of partial arguments: "+i.length,t);i.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):i.push({type:"PathExpression",parts:[],depth:0}));var n=t.name.original,o="SubExpression"===t.name.type;o&&this.accept(t.name),this.setupFullMustacheParams(t,e,void 0,!0);var a=t.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",o,n,a),this.opcode("append")},PartialBlockStatement:function(t){this.PartialStatement(t)},MustacheStatement:function(t){this.SubExpression(t),t.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(t){this.DecoratorBlock(t)},ContentStatement:function(t){t.value&&this.opcode("appendContent",t.value)},CommentStatement:function(){},SubExpression:function(t){l(t);var e=this.classifySexpr(t);"simple"===e?this.simpleSexpr(t):"helper"===e?this.helperSexpr(t):this.ambiguousSexpr(t)},ambiguousSexpr:function(t,e,i){var n=t.path,r=n.parts[0],o=null!=e||null!=i;this.opcode("getContext",n.depth),this.opcode("pushProgram",e),this.opcode("pushProgram",i),n.strict=!0,this.accept(n),this.opcode("invokeAmbiguous",r,o)},simpleSexpr:function(t){var e=t.path;e.strict=!0,this.accept(e),this.opcode("resolvePossibleLambda")},helperSexpr:function(t,e,i){var n=this.setupFullMustacheParams(t,e,i),o=t.path,s=o.parts[0];if(this.options.knownHelpers[s])this.opcode("invokeKnownHelper",n.length,s);else{if(this.options.knownHelpersOnly)throw new r.default("You specified knownHelpersOnly, but used the unknown helper "+s,t);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",n.length,o.original,a.default.helpers.simpleId(o))}},PathExpression:function(t){this.addDepth(t.depth),this.opcode("getContext",t.depth);var e=t.parts[0],i=a.default.helpers.scopedId(t),n=!t.depth&&!i&&this.blockParamIndex(e);n?this.opcode("lookupBlockParam",n,t.parts):e?t.data?(this.options.data=!0,this.opcode("lookupData",t.depth,t.parts,t.strict)):this.opcode("lookupOnContext",t.parts,t.falsy,t.strict,i):this.opcode("pushContext")},StringLiteral:function(t){this.opcode("pushString",t.value)},NumberLiteral:function(t){this.opcode("pushLiteral",t.value)},BooleanLiteral:function(t){this.opcode("pushLiteral",t.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(t){var e=t.pairs,i=0,n=e.length;for(this.opcode("pushHash");i=0)return[e,r]}}}},1393:function(t,e,i){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var r=i(552),o=n(i(187)),a=i(159),s=n(i(1394));function u(t){this.value=t}function c(){}c.prototype={nameLookup:function(t,e){return this.internalNameLookup(t,e)},depthedLookup:function(t){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(t),")"]},compilerInfo:function(){var t=r.COMPILER_REVISION;return[t,r.REVISION_CHANGES[t]]},appendToBuffer:function(t,e,i){return a.isArray(t)||(t=[t]),t=this.source.wrap(t,e),this.environment.isSimple?["return ",t,";"]:i?["buffer += ",t,";"]:(t.appendToBuffer=!0,t)},initializeBuffer:function(){return this.quotedString("")},internalNameLookup:function(t,e){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",t,",",JSON.stringify(e),")"]},lookupPropertyFunctionIsUsed:!1,compile:function(t,e,i,n){this.environment=t,this.options=e,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!i,this.context=i||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(t,e),this.useDepths=this.useDepths||t.useDepths||t.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||t.useBlockParams;var r=t.opcodes,a=void 0,s=void 0,u=void 0,c=void 0;for(u=0,c=r.length;u0&&(i+=", "+n.join(", "));var r=0;Object.keys(this.aliases).forEach((function(t){var n=e.aliases[t];n.children&&n.referenceCount>1&&(i+=", alias"+ ++r+"="+t,n.children[0]="alias"+r)})),this.lookupPropertyFunctionIsUsed&&(i+=", "+this.lookupPropertyFunctionVarDeclaration());var o=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&o.push("blockParams"),this.useDepths&&o.push("depths");var a=this.mergeSource(i);return t?(o.push(a),Function.apply(this,o)):this.source.wrap(["function(",o.join(","),") {\n ",a,"}"])},mergeSource:function(t){var e=this.environment.isSimple,i=!this.forceBuffer,n=void 0,r=void 0,o=void 0,a=void 0;return this.source.each((function(t){t.appendToBuffer?(o?t.prepend(" + "):o=t,a=t):(o&&(r?o.prepend("buffer += "):n=!0,a.add(";"),o=a=void 0),r=!0,e||(i=!1))})),i?o?(o.prepend("return "),a.add(";")):r||this.source.push('return "";'):(t+=", buffer = "+(n?"":this.initializeBuffer()),o?(o.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),t&&this.source.prepend("var "+t.substring(2)+(n?"":";\n")),this.source.merge()},lookupPropertyFunctionVarDeclaration:function(){return"\n lookupProperty = container.lookupProperty || function(parent, propertyName) {\n if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n return parent[propertyName];\n }\n return undefined\n }\n ".trim()},blockValue:function(t){var e=this.aliasable("container.hooks.blockHelperMissing"),i=[this.contextName(0)];this.setupHelperArgs(t,0,i);var n=this.popStack();i.splice(1,0,n),this.push(this.source.functionCall(e,"call",i))},ambiguousBlockValue:function(){var t=this.aliasable("container.hooks.blockHelperMissing"),e=[this.contextName(0)];this.setupHelperArgs("",0,e,!0),this.flushInline();var i=this.topStack();e.splice(1,0,i),this.pushSource(["if (!",this.lastHelper,") { ",i," = ",this.source.functionCall(t,"call",e),"}"])},appendContent:function(t){this.pendingContent?t=this.pendingContent+t:this.pendingLocation=this.source.currentLocation,this.pendingContent=t},append:function(){if(this.isInline())this.replaceStack((function(t){return[" != null ? ",t,' : ""']})),this.pushSource(this.appendToBuffer(this.popStack()));else{var t=this.popStack();this.pushSource(["if (",t," != null) { ",this.appendToBuffer(t,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(t){this.lastContext=t},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(t,e,i,n){var r=0;n||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(t[r++])),this.resolvePath("context",t,r,e,i)},lookupBlockParam:function(t,e){this.useBlockParams=!0,this.push(["blockParams[",t[0],"][",t[1],"]"]),this.resolvePath("context",e,1)},lookupData:function(t,e,i){t?this.pushStackLiteral("container.data(data, "+t+")"):this.pushStackLiteral("data"),this.resolvePath("data",e,0,!0,i)},resolvePath:function(t,e,i,n,r){var o=this;if(this.options.strict||this.options.assumeObjects)this.push(function(t,e,i,n){var r=e.popStack(),o=0,a=i.length;t&&a--;for(;othis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var t=this.inlineStack;this.inlineStack=[];for(var e=0,i=t.length;ee.metaData.fetchTime;if(i||n){var r=t.data;s.fetchPromise&&(t.status===a.Status.Missing?s.fetchCallback(null,r):s.fetchCallback(r),s.fetchPromise=null,s.fetchCallback=null)}t.metaData.fetchTime>=e.metaData.fetchTime&&s.setModelAttributes(t.data)})),this.dataLayerSubscription.entry.data&&this.set(this.dataLayerSubscription.entry.data)},fetch:function(e){var i=this;return this.dataLayerSubscription.refresh(t.fetchLoadStrategy).status!==a.Status.Deferred?o.fakeJQueryXHR(Promise.reject(new Error("DataProvider did not return DEFERRED")),(function(){})):(this.fetchPromise||(this.fetchPromise=new Promise((function(t,e){i.fetchCallback=function(i,n){i?t(i):e(n)}}))),o.fakeJQueryXHR(this.fetchPromise.catch((function(t){return i.trigger("error"),Promise.reject(t)})),(function(){})))},set:function(t,e){var i;if(this.dataLayerSubscription){var n=void 0;"object"==typeof t?n=t:((i={})[t]=e,n=i),this.dataLayerSubscription.mutate(n)}return this},setModelAttributes:function(t,i,n){return e.prototype.set.call(this,t,i,n),this}})}},1399:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fakeJQueryXHR=function(t,e){var i={then:function(e,n){return t.then(e?function(t){return e(t,null,i)}:void 0,n?function(t){return n(i,null,null)}:void 0)},done:function(t){return i.then(t),i},fail:function(t){return i.then(void 0,t),i},always:function(t){return i.then(t,t),i},promise:function(){return t},abort:function(){e()}};return i}},159:function(t,e,i){"use strict";e.__esModule=!0,e.extend=s,e.indexOf=function(t,e){for(var i=0,n=t.length;i":">",'"':""","'":"'","`":"`","=":"="},r=/[&<>"'`=]/g,o=/[&<>"'`=]/;function a(t){return n[t]}function s(t){for(var e=1;e").attr(t);this.setElement(n,!1)}}}),e.sync=function(t,n,r){var o=b[t];i.defaults(r||(r={}),{emulateHTTP:e.emulateHTTP,emulateJSON:e.emulateJSON});var a={type:o,dataType:"json"};if(r.url||(a.url=i.result(n,"url")||M()),null!=r.data||!n||"create"!==t&&"update"!==t&&"patch"!==t||(a.contentType="application/json",a.data=JSON.stringify(r.attrs||n.toJSON(r))),r.emulateJSON&&(a.contentType="application/x-www-form-urlencoded",a.data=a.data?{model:a.data}:{}),r.emulateHTTP&&("PUT"===o||"DELETE"===o||"PATCH"===o)){a.type="POST",r.emulateJSON&&(a.data._method=o);var s=r.beforeSend;r.beforeSend=function(t){if(t.setRequestHeader("X-HTTP-Method-Override",o),s){for(var e=arguments.length,i=Array(e),n=0;n');this.iframe=a.hide().appendTo("body")[0].contentWindow,this.navigate(n)}this._hasPushState?e.$(window).on("popstate",this.checkUrl):this._wantsHashChange&&"onhashchange"in window&&!o?e.$(window).on("hashchange",this.checkUrl):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),this.fragment=n;this.location;return this._wantsHashChange&&this._wantsPushState&&!this._hasPushState&&!this.atRoot()?(this.fragment=this.getFragment(null,!0),this.location.replace(this.root+"#"+this.fragment),!0):this.options.silent?void 0:this.loadUrl()},stop:function(){e.$(window).off("popstate",this.checkUrl).off("hashchange",this.checkUrl),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),S.started=!1},route:function(t,e){this.handlers.unshift({route:t,callback:e})},checkUrl:function(t){var e=this.getFragment();if(e===this.fragment&&this.iframe&&(e=this.getFragment(this.getHash(this.iframe))),e===this.fragment)return!1;this.iframe&&this.navigate(e),this.loadUrl()},loadUrl:function(t){return t=this.fragment=this.getFragment(t),i.any(this.handlers,(function(e){if(e.route.test(t))return e.callback(t),!0}))},navigate:function(t,e){if(!S.started)return!1;e&&!0!==e||(e={trigger:!!e});var i=this.root+(t=this.getFragment(t||""));if(t=t.replace(T,""),this.fragment!==t){if(this.fragment=t,""===t&&"/"!==i&&(i=i.slice(0,-1)),this._hasPushState)this.history[e.replace?"replaceState":"pushState"]({},document.title,i);else{if(!this._wantsHashChange)return this.location.assign(i);this._updateHash(this.location,t,e.replace),this.iframe&&t!==this.getFragment(this.getHash(this.iframe))&&(e.replace||this.iframe.document.open().close(),this._updateHash(this.iframe.location,t,e.replace))}return e.trigger?this.loadUrl(t):void 0}},_updateHash:function(t,e,i){if(i){var n=t.href.replace(/(javascript:|#).*$/,"");t.replace(n+"#"+e)}else t.hash="#"+e}}),e.history=new S;h.extend=d.extend=k.extend=m.extend=S.extend=function(t,e){var n,r=this;n=t&&i.has(t,"constructor")?t.constructor:function(){for(var t=arguments.length,e=Array(t),i=0;i"))}function n(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",i,(function(){t(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).removeClass("ui-datepicker-next-hover")})).on("mouseover",i,r)}function r(){t.datepicker._isDisabledDatepicker(e.inline?e.dpDiv.parent()[0]:e.input[0])||(t(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&t(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&t(this).addClass("ui-datepicker-next-hover"))}function o(e,i){for(var n in t.extend(e,i),i)null==i[n]&&(e[n]=i[n]);return e}return t.extend(t.ui,{datepicker:{version:"1.12.1"}}),t.extend(i.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return o(this._defaults,t||{}),this},_attachDatepicker:function(e,i){var n,r,o;r="div"===(n=e.nodeName.toLowerCase())||"span"===n,e.id||(this.uuid+=1,e.id="dp"+this.uuid),(o=this._newInst(t(e),r)).settings=t.extend({},i||{}),"input"===n?this._connectDatepicker(e,o):r&&this._inlineDatepicker(e,o)},_newInst:function(e,i){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:i,dpDiv:i?n(t("
")):this.dpDiv}},_connectDatepicker:function(e,i){var n=t(e);i.append=t([]),i.trigger=t([]),n.hasClass(this.markerClassName)||(this._attachments(n,i),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(i),t.data(e,"datepicker",i),i.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,i){var n,r,o,a=this._get(i,"appendText"),s=this._get(i,"isRTL");i.append&&i.append.remove(),a&&(i.append=t(""+a+""),e[s?"before":"after"](i.append)),e.off("focus",this._showDatepicker),i.trigger&&i.trigger.remove(),"focus"!==(n=this._get(i,"showOn"))&&"both"!==n||e.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(r=this._get(i,"buttonText"),o=this._get(i,"buttonImage"),i.trigger=t(this._get(i,"buttonImageOnly")?t("").addClass(this._triggerClass).attr({src:o,alt:r,title:r}):t("").addClass(this._triggerClass).html(o?t("").attr({src:o,alt:r,title:r}):r)),e[s?"before":"after"](i.trigger),i.trigger.on("click",(function(){return t.datepicker._datepickerShowing&&t.datepicker._lastInput===e[0]?t.datepicker._hideDatepicker():t.datepicker._datepickerShowing&&t.datepicker._lastInput!==e[0]?(t.datepicker._hideDatepicker(),t.datepicker._showDatepicker(e[0])):t.datepicker._showDatepicker(e[0]),!1})))},_autoSize:function(t){if(this._get(t,"autoSize")&&!t.inline){var e,i,n,r,o=new Date(2009,11,20),a=this._get(t,"dateFormat");a.match(/[DM]/)&&(e=function(t){for(i=0,n=0,r=0;ri&&(i=t[r].length,n=r);return n},o.setMonth(e(this._get(t,a.match(/MM/)?"monthNames":"monthNamesShort"))),o.setDate(e(this._get(t,a.match(/DD/)?"dayNames":"dayNamesShort"))+20-o.getDay())),t.input.attr("size",this._formatDate(t,o).length)}},_inlineDatepicker:function(e,i){var n=t(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(i.dpDiv),t.data(e,"datepicker",i),this._setDate(i,this._getDefaultDate(i),!0),this._updateDatepicker(i),this._updateAlternate(i),i.settings.disabled&&this._disableDatepicker(e),i.dpDiv.css("display","block"))},_dialogDatepicker:function(e,i,n,r,a){var s,u,c,l,p,h=this._dialogInst;return h||(this.uuid+=1,s="dp"+this.uuid,this._dialogInput=t(""),this._dialogInput.on("keydown",this._doKeyDown),t("body").append(this._dialogInput),(h=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},t.data(this._dialogInput[0],"datepicker",h)),o(h.settings,r||{}),i=i&&i.constructor===Date?this._formatDate(h,i):i,this._dialogInput.val(i),this._pos=a?a.length?a:[a.pageX,a.pageY]:null,this._pos||(u=document.documentElement.clientWidth,c=document.documentElement.clientHeight,l=document.documentElement.scrollLeft||document.body.scrollLeft,p=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[u/2-100+l,c/2-150+p]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),h.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),t.blockUI&&t.blockUI(this.dpDiv),t.data(this._dialogInput[0],"datepicker",h),this},_destroyDatepicker:function(i){var n,r=t(i),o=t.data(i,"datepicker");r.hasClass(this.markerClassName)&&(n=i.nodeName.toLowerCase(),t.removeData(i,"datepicker"),"input"===n?(o.append.remove(),o.trigger.remove(),r.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==n&&"span"!==n||r.removeClass(this.markerClassName).empty(),e===o&&(e=null))},_enableDatepicker:function(e){var i,n,r=t(e),o=t.data(e,"datepicker");r.hasClass(this.markerClassName)&&("input"===(i=e.nodeName.toLowerCase())?(e.disabled=!1,o.trigger.filter("button").each((function(){this.disabled=!1})).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==i&&"span"!==i||((n=r.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=t.map(this._disabledInputs,(function(t){return t===e?null:t})))},_disableDatepicker:function(e){var i,n,r=t(e),o=t.data(e,"datepicker");r.hasClass(this.markerClassName)&&("input"===(i=e.nodeName.toLowerCase())?(e.disabled=!0,o.trigger.filter("button").each((function(){this.disabled=!0})).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==i&&"span"!==i||((n=r.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=t.map(this._disabledInputs,(function(t){return t===e?null:t})),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;e-1},_doKeyUp:function(e){var i=t.datepicker._getInst(e.target);if(i.input.val()!==i.lastVal)try{t.datepicker.parseDate(t.datepicker._get(i,"dateFormat"),i.input?i.input.val():null,t.datepicker._getFormatConfig(i))&&(t.datepicker._setDateFromField(i),t.datepicker._updateAlternate(i),t.datepicker._updateDatepicker(i))}catch(t){}return!0},_showDatepicker:function(e){var i,n,r,a,s,u,c;"input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=t("input",e.parentNode)[0]),t.datepicker._isDisabledDatepicker(e)||t.datepicker._lastInput===e||(i=t.datepicker._getInst(e),t.datepicker._curInst&&t.datepicker._curInst!==i&&(t.datepicker._curInst.dpDiv.stop(!0,!0),i&&t.datepicker._datepickerShowing&&t.datepicker._hideDatepicker(t.datepicker._curInst.input[0])),!1!==(r=(n=t.datepicker._get(i,"beforeShow"))?n.apply(e,[e,i]):{})&&(o(i.settings,r),i.lastVal=null,t.datepicker._lastInput=e,t.datepicker._setDateFromField(i),t.datepicker._inDialog&&(e.value=""),t.datepicker._pos||(t.datepicker._pos=t.datepicker._findPos(e),t.datepicker._pos[1]+=e.offsetHeight),a=!1,t(e).parents().each((function(){return!(a|="fixed"===t(this).css("position"))})),s={left:t.datepicker._pos[0],top:t.datepicker._pos[1]},t.datepicker._pos=null,i.dpDiv.empty(),i.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),t.datepicker._updateDatepicker(i),s=t.datepicker._checkOffset(i,s,a),i.dpDiv.css({position:t.datepicker._inDialog&&t.blockUI?"static":a?"fixed":"absolute",display:"none",left:s.left+"px",top:s.top+"px"}),i.inline||(u=t.datepicker._get(i,"showAnim"),c=t.datepicker._get(i,"duration"),i.dpDiv.css("z-index",function(t){for(var e,i;t.length&&t[0]!==document;){if(("absolute"===(e=t.css("position"))||"relative"===e||"fixed"===e)&&(i=parseInt(t.css("zIndex"),10),!isNaN(i)&&0!==i))return i;t=t.parent()}return 0}(t(e))+1),t.datepicker._datepickerShowing=!0,t.effects&&t.effects.effect[u]?i.dpDiv.show(u,t.datepicker._get(i,"showOptions"),c):i.dpDiv[u||"show"](u?c:null),t.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),t.datepicker._curInst=i)))},_updateDatepicker:function(i){this.maxRows=4,e=i,i.dpDiv.empty().append(this._generateHTML(i)),this._attachHandlers(i);var n,o=this._getNumberOfMonths(i),a=o[1],s=i.dpDiv.find("."+this._dayOverClass+" a");s.length>0&&r.apply(s.get(0)),i.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),a>1&&i.dpDiv.addClass("ui-datepicker-multi-"+a).css("width",17*a+"em"),i.dpDiv[(1!==o[0]||1!==o[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),i.dpDiv[(this._get(i,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),i===t.datepicker._curInst&&t.datepicker._datepickerShowing&&t.datepicker._shouldFocusInput(i)&&i.input.trigger("focus"),i.yearshtml&&(n=i.yearshtml,setTimeout((function(){n===i.yearshtml&&i.yearshtml&&i.dpDiv.find("select.ui-datepicker-year:first").replaceWith(i.yearshtml),n=i.yearshtml=null}),0))},_shouldFocusInput:function(t){return t.input&&t.input.is(":visible")&&!t.input.is(":disabled")&&!t.input.is(":focus")},_checkOffset:function(e,i,n){var r=e.dpDiv.outerWidth(),o=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,s=e.input?e.input.outerHeight():0,u=document.documentElement.clientWidth+(n?0:t(document).scrollLeft()),c=document.documentElement.clientHeight+(n?0:t(document).scrollTop());return i.left-=this._get(e,"isRTL")?r-a:0,i.left-=n&&i.left===e.input.offset().left?t(document).scrollLeft():0,i.top-=n&&i.top===e.input.offset().top+s?t(document).scrollTop():0,i.left-=Math.min(i.left,i.left+r>u&&u>r?Math.abs(i.left+r-u):0),i.top-=Math.min(i.top,i.top+o>c&&c>o?Math.abs(o+s):0),i},_findPos:function(e){for(var i,n=this._getInst(e),r=this._get(n,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||t.expr.filters.hidden(e));)e=e[r?"previousSibling":"nextSibling"];return[(i=t(e).offset()).left,i.top]},_hideDatepicker:function(e){var i,n,r,o,a=this._curInst;!a||e&&a!==t.data(e,"datepicker")||this._datepickerShowing&&(i=this._get(a,"showAnim"),n=this._get(a,"duration"),r=function(){t.datepicker._tidyDialog(a)},t.effects&&(t.effects.effect[i]||t.effects[i])?a.dpDiv.hide(i,t.datepicker._get(a,"showOptions"),n,r):a.dpDiv["slideDown"===i?"slideUp":"fadeIn"===i?"fadeOut":"hide"](i?n:null,r),i||r(),this._datepickerShowing=!1,(o=this._get(a,"onClose"))&&o.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),t.blockUI&&(t.unblockUI(),t("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(t){t.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(t.datepicker._curInst){var i=t(e.target),n=t.datepicker._getInst(i[0]);(i[0].id===t.datepicker._mainDivId||0!==i.parents("#"+t.datepicker._mainDivId).length||i.hasClass(t.datepicker.markerClassName)||i.closest("."+t.datepicker._triggerClass).length||!t.datepicker._datepickerShowing||t.datepicker._inDialog&&t.blockUI)&&(!i.hasClass(t.datepicker.markerClassName)||t.datepicker._curInst===n)||t.datepicker._hideDatepicker()}},_adjustDate:function(e,i,n){var r=t(e),o=this._getInst(r[0]);this._isDisabledDatepicker(r[0])||(this._adjustInstDate(o,i+("M"===n?this._get(o,"showCurrentAtPos"):0),n),this._updateDatepicker(o))},_gotoToday:function(e){var i,n=t(e),r=this._getInst(n[0]);this._get(r,"gotoCurrent")&&r.currentDay?(r.selectedDay=r.currentDay,r.drawMonth=r.selectedMonth=r.currentMonth,r.drawYear=r.selectedYear=r.currentYear):(i=new Date,r.selectedDay=i.getDate(),r.drawMonth=r.selectedMonth=i.getMonth(),r.drawYear=r.selectedYear=i.getFullYear()),this._notifyChange(r),this._adjustDate(n)},_selectMonthYear:function(e,i,n){var r=t(e),o=this._getInst(r[0]);o["selected"+("M"===n?"Month":"Year")]=o["draw"+("M"===n?"Month":"Year")]=parseInt(i.options[i.selectedIndex].value,10),this._notifyChange(o),this._adjustDate(r)},_selectDay:function(e,i,n,r){var o,a=t(e);t(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||((o=this._getInst(a[0])).selectedDay=o.currentDay=t("a",r).html(),o.selectedMonth=o.currentMonth=i,o.selectedYear=o.currentYear=n,this._selectDate(e,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear)))},_clearDate:function(e){var i=t(e);this._selectDate(i,"")},_selectDate:function(e,i){var n,r=t(e),o=this._getInst(r[0]);i=null!=i?i:this._formatDate(o),o.input&&o.input.val(i),this._updateAlternate(o),(n=this._get(o,"onSelect"))?n.apply(o.input?o.input[0]:null,[i,o]):o.input&&o.input.trigger("change"),o.inline?this._updateDatepicker(o):(this._hideDatepicker(),this._lastInput=o.input[0],"object"!=typeof o.input[0]&&o.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var i,n,r,o=this._get(e,"altField");o&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),n=this._getDate(e),r=this.formatDate(i,n,this._getFormatConfig(e)),t(o).val(r))},noWeekends:function(t){var e=t.getDay();return[e>0&&e<6,""]},iso8601Week:function(t){var e,i=new Date(t.getTime());return i.setDate(i.getDate()+4-(i.getDay()||7)),e=i.getTime(),i.setMonth(0),i.setDate(1),Math.floor(Math.round((e-i)/864e5)/7)+1},parseDate:function(e,i,n){if(null==e||null==i)throw"Invalid arguments";if(""===(i="object"==typeof i?i.toString():i+""))return null;var r,o,a,s,u=0,c=(n?n.shortYearCutoff:null)||this._defaults.shortYearCutoff,l="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),p=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,h=(n?n.dayNames:null)||this._defaults.dayNames,d=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,f=(n?n.monthNames:null)||this._defaults.monthNames,g=-1,m=-1,v=-1,y=-1,A=!1,b=function(t){var i=r+1-1)for(m=1,v=y;!(v<=(o=this._getDaysInMonth(g,m-1)));)m++,v-=o;if((s=this._daylightSavingAdjust(new Date(g,m-1,v))).getFullYear()!==g||s.getMonth()+1!==m||s.getDate()!==v)throw"Invalid date";return s},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,i){if(!e)return"";var n,r=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,o=(i?i.dayNames:null)||this._defaults.dayNames,a=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,s=(i?i.monthNames:null)||this._defaults.monthNames,u=function(e){var i=n+112?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,r=t.selectedMonth,o=t.selectedYear,a=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=a.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=a.getMonth(),t.drawYear=t.selectedYear=t.currentYear=a.getFullYear(),r===t.selectedMonth&&o===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?"":this._formatDate(t))},_getDate:function(t){return!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay))},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map((function(){var e={prev:function(){t.datepicker._adjustDate(n,-i,"M")},next:function(){t.datepicker._adjustDate(n,+i,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(n)},selectDay:function(){return t.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(n,this,"Y"),!1}};t(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])}))},_generateHTML:function(t){var e,i,n,r,o,a,s,u,c,l,p,h,d,f,g,m,v,y,A,b,k,x,C,_,w,S,D,E,I,P,T,M,N,B,O,L,j,F,R,H=new Date,$=this._daylightSavingAdjust(new Date(H.getFullYear(),H.getMonth(),H.getDate())),q=this._get(t,"isRTL"),W=this._get(t,"showButtonPanel"),U=this._get(t,"hideIfNoPrevNext"),z=this._get(t,"navigationAsDateFormat"),Y=this._getNumberOfMonths(t),V=this._get(t,"showCurrentAtPos"),K=this._get(t,"stepMonths"),Z=1!==Y[0]||1!==Y[1],X=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),Q=this._getMinMaxDate(t,"min"),J=this._getMinMaxDate(t,"max"),G=t.drawMonth-V,tt=t.drawYear;if(G<0&&(G+=12,tt--),J)for(e=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-Y[0]*Y[1]+1,J.getDate())),e=Q&&ee;)--G<0&&(G=11,tt--);for(t.drawMonth=G,t.drawYear=tt,i=this._get(t,"prevText"),i=z?this.formatDate(i,this._daylightSavingAdjust(new Date(tt,G-K,1)),this._getFormatConfig(t)):i,n=this._canAdjustMonth(t,-1,tt,G)?""+i+"":U?"":""+i+"",r=this._get(t,"nextText"),r=z?this.formatDate(r,this._daylightSavingAdjust(new Date(tt,G+K,1)),this._getFormatConfig(t)):r,o=this._canAdjustMonth(t,1,tt,G)?""+r+"":U?"":""+r+"",a=this._get(t,"currentText"),s=this._get(t,"gotoCurrent")&&t.currentDay?X:$,a=z?this.formatDate(a,s,this._getFormatConfig(t)):a,u=t.inline?"":"",c=W?"
"+(q?u:"")+(this._isInRange(t,s)?"":"")+(q?"":u)+"
":"",l=parseInt(this._get(t,"firstDay"),10),l=isNaN(l)?0:l,p=this._get(t,"showWeek"),h=this._get(t,"dayNames"),d=this._get(t,"dayNamesMin"),f=this._get(t,"monthNames"),g=this._get(t,"monthNamesShort"),m=this._get(t,"beforeShowDay"),v=this._get(t,"showOtherMonths"),y=this._get(t,"selectOtherMonths"),A=this._getDefaultDate(t),b="",x=0;x1)switch(_){case 0:D+=" ui-datepicker-group-first",S=" ui-corner-"+(q?"right":"left");break;case Y[1]-1:D+=" ui-datepicker-group-last",S=" ui-corner-"+(q?"left":"right");break;default:D+=" ui-datepicker-group-middle",S=""}D+="'>"}for(D+="
"+(/all|left/.test(S)&&0===x?q?o:n:"")+(/all|right/.test(S)&&0===x?q?n:o:"")+this._generateMonthYearHeader(t,G,tt,Q,J,x>0||_>0,f,g)+"
",E=p?"":"",k=0;k<7;k++)E+="";for(D+=E+"",P=this._getDaysInMonth(tt,G),tt===t.selectedYear&&G===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,P)),T=(this._getFirstDayOfMonth(tt,G)-l+7)%7,M=Math.ceil((T+P)/7),N=Z&&this.maxRows>M?this.maxRows:M,this.maxRows=N,B=this._daylightSavingAdjust(new Date(tt,G,1-T)),O=0;O",L=p?"":"",k=0;k<7;k++)j=m?m.apply(t.input?t.input[0]:null,[B]):[!0,""],R=(F=B.getMonth()!==G)&&!y||!j[0]||Q&&BJ,L+="",B.setDate(B.getDate()+1),B=this._daylightSavingAdjust(B);D+=L+""}++G>11&&(G=0,tt++),C+=D+="
"+this._get(t,"weekHeader")+"=5?" class='ui-datepicker-week-end'":"")+">"+d[I]+"
"+this._get(t,"calculateWeek")(B)+""+(F&&!v?" ":R?""+B.getDate()+"":""+B.getDate()+"")+"
"+(Z?""+(Y[0]>0&&_===Y[1]-1?"
":""):"")}b+=C}return b+=c,t._keyEvent=!1,b},_generateMonthYearHeader:function(t,e,i,n,r,o,a,s){var u,c,l,p,h,d,f,g,m=this._get(t,"changeMonth"),v=this._get(t,"changeYear"),y=this._get(t,"showMonthAfterYear"),A="
",b="";if(o||!m)b+=""+a[e]+"";else{for(u=n&&n.getFullYear()===i,c=r&&r.getFullYear()===i,b+=""}if(y||(A+=b+(!o&&m&&v?"":" ")),!t.yearshtml)if(t.yearshtml="",o||!v)A+=""+i+"";else{for(p=this._get(t,"yearRange").split(":"),h=(new Date).getFullYear(),f=(d=function(t){var e=t.match(/c[+\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\-].*/)?h+parseInt(t,10):parseInt(t,10);return isNaN(e)?h:e})(p[0]),g=Math.max(f,d(p[1]||"")),f=n?Math.max(f,n.getFullYear()):f,g=r?Math.min(g,r.getFullYear()):g,t.yearshtml+="",A+=t.yearshtml,t.yearshtml=null}return A+=this._get(t,"yearSuffix"),y&&(A+=(!o&&m&&v?"":" ")+b),A+="
"},_adjustInstDate:function(t,e,i){var n=t.selectedYear+("Y"===i?e:0),r=t.selectedMonth+("M"===i?e:0),o=Math.min(t.selectedDay,this._getDaysInMonth(n,r))+("D"===i?e:0),a=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(n,r,o)));t.selectedDay=a.getDate(),t.drawMonth=t.selectedMonth=a.getMonth(),t.drawYear=t.selectedYear=a.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),n=this._getMinMaxDate(t,"max"),r=i&&en?n:r},_notifyChange:function(t){var e=this._get(t,"onChangeMonthYear");e&&e.apply(t.input?t.input[0]:null,[t.selectedYear,t.selectedMonth+1,t])},_getNumberOfMonths:function(t){var e=this._get(t,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(t,e){return this._determineDate(t,this._get(t,e+"Date"),null)},_getDaysInMonth:function(t,e){return 32-this._daylightSavingAdjust(new Date(t,e,32)).getDate()},_getFirstDayOfMonth:function(t,e){return new Date(t,e,1).getDay()},_canAdjustMonth:function(t,e,i,n){var r=this._getNumberOfMonths(t),o=this._daylightSavingAdjust(new Date(i,n+(e<0?e:r[0]*r[1]),1));return e<0&&o.setDate(this._getDaysInMonth(o.getFullYear(),o.getMonth())),this._isInRange(t,o)},_isInRange:function(t,e){var i,n,r=this._getMinMaxDate(t,"min"),o=this._getMinMaxDate(t,"max"),a=null,s=null,u=this._get(t,"yearRange");return u&&(i=u.split(":"),n=(new Date).getFullYear(),a=parseInt(i[0],10),s=parseInt(i[1],10),i[0].match(/[+\-].*/)&&(a+=n),i[1].match(/[+\-].*/)&&(s+=n)),(!r||e.getTime()>=r.getTime())&&(!o||e.getTime()<=o.getTime())&&(!a||e.getFullYear()>=a)&&(!s||e.getFullYear()<=s)},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,n){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);var r=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(n,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),r,this._getFormatConfig(t))}}),t.fn.datepicker=function(e){if(!this.length)return this;t.datepicker.initialized||(t(document).on("mousedown",t.datepicker._checkExternalClick),t.datepicker.initialized=!0),0===t("#"+t.datepicker._mainDivId).length&&t("body").append(t.datepicker.dpDiv);var i=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i)):this.each((function(){"string"==typeof e?t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this].concat(i)):t.datepicker._attachDatepicker(this,e)})):t.datepicker["_"+e+"Datepicker"].apply(t.datepicker,[this[0]].concat(i))},t.datepicker=new i,t.datepicker.initialized=!1,t.datepicker.uuid=(new Date).getTime(),t.datepicker.version="1.12.1",t.datepicker})?n.apply(e,r):n)||(t.exports=o)},1892:function(t,e,i){var n,r,o; /*! * jQuery UI Keycode 1.12.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */r=[i(28),i(546)],void 0===(o="function"==typeof(n=function(t){return t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}})?n.apply(e,r):n)||(t.exports=o)},1893:function(t,e,i){var n=i(12),r=i(1894);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[t.i,r,""]]);var o={insert:"head",singleton:!1},a=(n(r,o),r.locals?r.locals:{});t.exports=a},1894:function(t,e,i){"use strict";i.r(e);var n=i(5),r=i.n(n),o=i(6),a=i.n(o),s=i(979),u=i(980),c=a()(r.a);c.i(s.a),c.i(u.a),c.push([t.i,".ui-datepicker{padding:16px 24px;padding:var(--spacing-2x) var(--spacing-3x);background:#fff;background:var(--surface-color);border:1px solid #f3f3f3;border:1px solid var(--background-highlight-color);border-radius:4px}body:not(.sc-classic) .ui-datepicker{width:auto}.sc-classic .ui-datepicker{padding:20px;background:#fff;box-shadow:0 2px 8px 0 rgba(0,0,0,.2);border:none}.ui-datepicker{z-index:3001!important}.ui-datepicker .ui-datepicker-header{padding-top:8px;padding-top:var(--spacing-1x);padding-bottom:8px;padding-bottom:var(--spacing-1x)}.sc-classic .ui-datepicker .ui-datepicker-header{margin-bottom:.5em;margin-right:5px;padding:0 0 0 5px}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{cursor:pointer;position:absolute;width:24px;height:24px;border-radius:12px;top:unset;color:#666;color:var(--secondary-color)}.sc-classic .ui-datepicker .ui-datepicker-next,.sc-classic .ui-datepicker .ui-datepicker-prev{top:-5px;color:#666}.ui-datepicker .ui-datepicker-next.ui-state-disabled,.ui-datepicker .ui-datepicker-prev.ui-state-disabled{color:hsla(0,0%,40%,.4);color:rgba(var(--secondary-rgb),.4)}.sc-classic .ui-datepicker .ui-datepicker-next.ui-state-disabled,.sc-classic .ui-datepicker .ui-datepicker-prev.ui-state-disabled{color:#e5e5e5}.ui-datepicker .ui-datepicker-next:not(.ui-state-disabled):hover,.ui-datepicker .ui-datepicker-prev:not(.ui-state-disabled):hover{background-color:#f3f3f3;background-color:var(--highlight-color)}.sc-classic .ui-datepicker .ui-datepicker-next:not(.ui-state-disabled):hover,.sc-classic .ui-datepicker .ui-datepicker-prev:not(.ui-state-disabled):hover{background-color:#f2f2f2}.sc-classic .ui-datepicker .ui-datepicker-next:not(.ui-state-disabled):active,.sc-classic .ui-datepicker .ui-datepicker-prev:not(.ui-state-disabled):active{background-color:#e5e5e5}.ui-datepicker .ui-datepicker-prev{left:unset;right:40px;right:var(--spacing-5x)}.sc-classic .ui-datepicker .ui-datepicker-prev{right:30px}.ui-datepicker .ui-datepicker-next{right:0}.ui-datepicker .ui-datepicker-next>.ui-icon,.ui-datepicker .ui-datepicker-prev.ui-state-disabled,.ui-datepicker .ui-datepicker-prev>.ui-icon{font-size:0}.ui-datepicker .ui-datepicker-title{font:700 1.2142857142857142rem/1.7142857142857142rem SoundCloud Sans,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Lucida Grande,Apple Color Emoji,Segoe UI Emoji;font:var(--typography-heading3-font)}body:not(.sc-classic) .ui-datepicker .ui-datepicker-title{margin:unset;text-align:left}.sc-classic .ui-datepicker .ui-datepicker-title{margin:unset;line-height:unset;text-align:unset;font-weight:700}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{margin:8px 0 0;margin:var(--spacing-1x) 0 0}.ui-datepicker th{color:#666;color:var(--secondary-color);font:700 1rem/1.4285714285714286rem SoundCloud Sans,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Lucida Grande,Apple Color Emoji,Segoe UI Emoji;font:var(--typography-heading4-font)}body:not(.sc-classic) .ui-datepicker th{padding:0 0 8px;padding:0 0 var(--spacing-1x)}.sc-classic .ui-datepicker th{color:#999;font-weight:100}.ui-datepicker td{border:0;padding:0;text-align:center}body:not(.sc-classic) .ui-datepicker td{padding:4px;padding:var(--spacing-0_5x)}.ui-datepicker td a,.ui-datepicker td span{display:unset;padding:unset;text-align:unset;text-decoration:unset}.ui-datepicker .ui-state-default{display:flex;flex-direction:column;justify-content:center;width:32px;height:32px;border-radius:50%;font:700 1rem/1.4285714285714286rem SoundCloud Sans,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Lucida Grande,Apple Color Emoji,Segoe UI Emoji;font:var(--typography-heading4-font);color:#000;color:var(--primary-color)}.sc-classic .ui-datepicker .ui-state-default{width:20px;height:20px;border-radius:10px;margin:2px;display:inline-block;color:#333;line-height:20px}.ui-datepicker .ui-state-default.ui-state-active{color:#fff;color:var(--surface-color);background-color:#000;background-color:var(--primary-color)}.sc-classic .ui-datepicker .ui-state-default.ui-state-active{color:#fff;background-color:#38d}.ui-datepicker .ui-state-default.ui-state-highlight:not(.ui-state-active){background-color:rgba(0,0,0,.15);background-color:rgba(var(--primary-rgb),.15)}.sc-classic .ui-datepicker .ui-state-default.ui-state-highlight:not(.ui-state-active){color:#fff;background-color:#999}.ui-datepicker .ui-state-default.ui-state-hover:not(.ui-state-highlight):not(.ui-state-active){background-color:#f3f3f3;background-color:var(--highlight-color)}.sc-classic .ui-datepicker .ui-state-default.ui-state-hover:not(.ui-state-highlight):not(.ui-state-active){background-color:#f2f2f2}.ui-datepicker .ui-datepicker-unselectable .ui-state-default,.ui-datepicker .ui-state-disabled .ui-state-default{color:rgba(0,0,0,.4);color:rgba(var(--primary-rgb),.4)}.sc-classic .ui-datepicker .ui-datepicker-unselectable .ui-state-default,.sc-classic .ui-datepicker .ui-state-disabled .ui-state-default{color:#ccc}","",{version:3,sources:["webpack://./app/lib/vendor-overrides/jquery-ui-datepicker.css"],names:[],mappings:"AAA0F,eAAe,iBAAiB,CAAC,2CAA2C,CAAC,eAAe,CAAC,+BAA+B,CAAC,wBAAwB,CAAC,kDAAkD,CAAC,iBAAiB,CAAC,qCAAqC,UAAU,CAAC,2BAA2B,YAAY,CAAC,eAAe,CAAC,qCAAqC,CAAC,WAAW,CAAC,eAAe,sBAAsB,CAAC,qCAAqC,eAAe,CAAC,6BAA6B,CAAC,kBAAkB,CAAC,gCAAgC,CAAC,iDAAiD,kBAAkB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,sEAAsE,cAAc,CAAC,iBAAiB,CAAC,UAAU,CAAC,WAAW,CAAC,kBAAkB,CAAC,SAAS,CAAC,UAAU,CAAC,4BAA4B,CAAC,8FAA8F,QAAQ,CAAC,UAAU,CAAC,0GAA0G,uBAAuB,CAAC,mCAAmC,CAAC,kIAAkI,aAAa,CAAC,kIAAkI,wBAAwB,CAAC,uCAAuC,CAAC,0JAA0J,wBAAwB,CAAC,4JAA4J,wBAAwB,CAAC,mCAAmC,UAAU,CAAC,UAAU,CAAC,uBAAuB,CAAC,+CAA+C,UAAU,CAAC,mCAAmC,OAAO,CAAC,6IAA6I,WAAW,CAAC,oCAAoC,iMAAiM,CAAC,oCAAoC,CAAC,0DAA0D,YAAY,CAAC,eAAe,CAAC,gDAAgD,YAAY,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,eAAe,CAAC,+CAA+C,UAAU,CAAC,mFAAmF,SAAS,CAAC,qBAAqB,cAAc,CAAC,4BAA4B,CAAC,kBAAkB,UAAU,CAAC,4BAA4B,CAAC,gLAAgL,CAAC,oCAAoC,CAAC,wCAAwC,eAAe,CAAC,6BAA6B,CAAC,8BAA8B,UAAU,CAAC,eAAe,CAAC,kBAAkB,QAAQ,CAAC,SAAS,CAAC,iBAAiB,CAAC,wCAAwC,WAAW,CAAC,2BAA2B,CAAC,2CAA2C,aAAa,CAAC,aAAa,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,iCAAiC,YAAY,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,UAAU,CAAC,WAAW,CAAC,iBAAiB,CAAC,gLAAgL,CAAC,oCAAoC,CAAC,UAAU,CAAC,0BAA0B,CAAC,6CAA6C,UAAU,CAAC,WAAW,CAAC,kBAAkB,CAAC,UAAU,CAAC,oBAAoB,CAAC,UAAU,CAAC,gBAAgB,CAAC,iDAAiD,UAAU,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,qCAAqC,CAAC,6DAA6D,UAAU,CAAC,qBAAqB,CAAC,0EAA0E,gCAAgC,CAAC,6CAA6C,CAAC,sFAAsF,UAAU,CAAC,qBAAqB,CAAC,+FAA+F,wBAAwB,CAAC,uCAAuC,CAAC,2GAA2G,wBAAwB,CAAC,iHAAiH,oBAAoB,CAAC,iCAAiC,CAAC,yIAAyI,UAAU",sourcesContent:['@import "~jquery-ui/themes/base/core.css";@import "~jquery-ui/themes/base/datepicker.css";.ui-datepicker{padding:16px 24px;padding:var(--spacing-2x) var(--spacing-3x);background:#fff;background:var(--surface-color);border:1px solid #f3f3f3;border:1px solid var(--background-highlight-color);border-radius:4px}body:not(.sc-classic) .ui-datepicker{width:auto}.sc-classic .ui-datepicker{padding:20px;background:#fff;box-shadow:0 2px 8px 0 rgba(0,0,0,.2);border:none}.ui-datepicker{z-index:3001!important}.ui-datepicker .ui-datepicker-header{padding-top:8px;padding-top:var(--spacing-1x);padding-bottom:8px;padding-bottom:var(--spacing-1x)}.sc-classic .ui-datepicker .ui-datepicker-header{margin-bottom:.5em;margin-right:5px;padding:0 0 0 5px}.ui-datepicker .ui-datepicker-next,.ui-datepicker .ui-datepicker-prev{cursor:pointer;position:absolute;width:24px;height:24px;border-radius:12px;top:unset;color:#666;color:var(--secondary-color)}.sc-classic .ui-datepicker .ui-datepicker-next,.sc-classic .ui-datepicker .ui-datepicker-prev{top:-5px;color:#666}.ui-datepicker .ui-datepicker-next.ui-state-disabled,.ui-datepicker .ui-datepicker-prev.ui-state-disabled{color:hsla(0,0%,40%,.4);color:rgba(var(--secondary-rgb),.4)}.sc-classic .ui-datepicker .ui-datepicker-next.ui-state-disabled,.sc-classic .ui-datepicker .ui-datepicker-prev.ui-state-disabled{color:#e5e5e5}.ui-datepicker .ui-datepicker-next:not(.ui-state-disabled):hover,.ui-datepicker .ui-datepicker-prev:not(.ui-state-disabled):hover{background-color:#f3f3f3;background-color:var(--highlight-color)}.sc-classic .ui-datepicker .ui-datepicker-next:not(.ui-state-disabled):hover,.sc-classic .ui-datepicker .ui-datepicker-prev:not(.ui-state-disabled):hover{background-color:#f2f2f2}.sc-classic .ui-datepicker .ui-datepicker-next:not(.ui-state-disabled):active,.sc-classic .ui-datepicker .ui-datepicker-prev:not(.ui-state-disabled):active{background-color:#e5e5e5}.ui-datepicker .ui-datepicker-prev{left:unset;right:40px;right:var(--spacing-5x)}.sc-classic .ui-datepicker .ui-datepicker-prev{right:30px}.ui-datepicker .ui-datepicker-next{right:0}.ui-datepicker .ui-datepicker-next>.ui-icon,.ui-datepicker .ui-datepicker-prev.ui-state-disabled,.ui-datepicker .ui-datepicker-prev>.ui-icon{font-size:0}.ui-datepicker .ui-datepicker-title{font:700 1.2142857142857142rem/1.7142857142857142rem SoundCloud Sans,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Lucida Grande,Apple Color Emoji,Segoe UI Emoji;font:var(--typography-heading3-font)}body:not(.sc-classic) .ui-datepicker .ui-datepicker-title{margin:unset;text-align:left}.sc-classic .ui-datepicker .ui-datepicker-title{margin:unset;line-height:unset;text-align:unset;font-weight:700}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{margin:8px 0 0;margin:var(--spacing-1x) 0 0}.ui-datepicker th{color:#666;color:var(--secondary-color);font:700 1rem/1.4285714285714286rem SoundCloud Sans,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Lucida Grande,Apple Color Emoji,Segoe UI Emoji;font:var(--typography-heading4-font)}body:not(.sc-classic) .ui-datepicker th{padding:0 0 8px;padding:0 0 var(--spacing-1x)}.sc-classic .ui-datepicker th{color:#999;font-weight:100}.ui-datepicker td{border:0;padding:0;text-align:center}body:not(.sc-classic) .ui-datepicker td{padding:4px;padding:var(--spacing-0_5x)}.ui-datepicker td a,.ui-datepicker td span{display:unset;padding:unset;text-align:unset;text-decoration:unset}.ui-datepicker .ui-state-default{display:flex;flex-direction:column;justify-content:center;width:32px;height:32px;border-radius:50%;font:700 1rem/1.4285714285714286rem SoundCloud Sans,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Lucida Grande,Apple Color Emoji,Segoe UI Emoji;font:var(--typography-heading4-font);color:#000;color:var(--primary-color)}.sc-classic .ui-datepicker .ui-state-default{width:20px;height:20px;border-radius:10px;margin:2px;display:inline-block;color:#333;line-height:20px}.ui-datepicker .ui-state-default.ui-state-active{color:#fff;color:var(--surface-color);background-color:#000;background-color:var(--primary-color)}.sc-classic .ui-datepicker .ui-state-default.ui-state-active{color:#fff;background-color:#38d}.ui-datepicker .ui-state-default.ui-state-highlight:not(.ui-state-active){background-color:rgba(0,0,0,.15);background-color:rgba(var(--primary-rgb),.15)}.sc-classic .ui-datepicker .ui-state-default.ui-state-highlight:not(.ui-state-active){color:#fff;background-color:#999}.ui-datepicker .ui-state-default.ui-state-hover:not(.ui-state-highlight):not(.ui-state-active){background-color:#f3f3f3;background-color:var(--highlight-color)}.sc-classic .ui-datepicker .ui-state-default.ui-state-hover:not(.ui-state-highlight):not(.ui-state-active){background-color:#f2f2f2}.ui-datepicker .ui-datepicker-unselectable .ui-state-default,.ui-datepicker .ui-state-disabled .ui-state-default{color:rgba(0,0,0,.4);color:rgba(var(--primary-rgb),.4)}.sc-classic .ui-datepicker .ui-datepicker-unselectable .ui-state-default,.sc-classic .ui-datepicker .ui-state-disabled .ui-state-default{color:#ccc}'],sourceRoot:""}]),e.default=c},2:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Lingua=e.tp=e.t=void 0;var n=i(7),r=i(1387);function o(t,e,i){var o=n.Lingua.t(t,e,i);return new r.SafeString(o)}function a(t,e,i,o,a){var s=n.Lingua.tp(t,e,i,o,a);return new r.SafeString(s)}e.t=o,e.tp=a,e.Lingua={t:o,tp:a,tPending:o,tpPending:a}},234:function(t,e,i){t.exports=function(t,e){return new(i(13).SafeString)(i(68).markup(t,e.hash))}},2687:function(t,e){ /*! * ~~~~~~~~~~~~~~ IMPORTANT ~~~~~~~~~~~~~~ * This library has been modified by * soundcloud devs to fix bugs and modify * functionality. * * Be very careful when updating to a * newer version. * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * Color Thief v2.0 * by Lokesh Dhakar - http://www.lokeshdhakar.com * * License * ------- * Creative Commons Attribution 2.5 License: * http://creativecommons.org/licenses/by/2.5/ * * Thanks * ------ * Nick Rabinowitz - For creating quantize.js. * John Schulz - For clean up and optimization. @JFSIII * Nathan Spady - For adding drag and drop support to the demo page. * */ var i=function(t){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),document.body.appendChild(this.canvas),this.width=this.canvas.width=t.width,this.height=this.canvas.height=t.height,this.context.drawImage(t,0,0,this.width,this.height)};i.prototype.clear=function(){this.context.clearRect(0,0,this.width,this.height)},i.prototype.update=function(t){this.context.putImageData(t,0,0)},i.prototype.getPixelCount=function(){return this.width*this.height},i.prototype.getImageData=function(){return this.context.getImageData(0,0,this.width,this.height)},i.prototype.removeCanvas=function(){this.canvas.parentNode.removeChild(this.canvas)};var n=t.exports=function(){}; /*! * quantize.js Copyright 2008 Nick Rabinowitz. * Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php */ /*! * Block below copied from Protovis: http://mbostock.github.com/protovis/ * Copyright 2010 Stanford Visualization Group * Licensed under the BSD License: http://www.opensource.org/licenses/bsd-license.php */ if(n.prototype.getColor=function(t,e){return this.getPalette(t,5,e)[0]},n.prototype.getPalette=function(t,e,n){void 0===e&&(e=10),void 0===n&&(n=10);for(var r,a,s,u,c=new i(t),l=c.getImageData().data,p=c.getPixelCount(),h=[],d=0;de?1:0},sum:function(t,e){var i={};return t.reduce(e?function(t,n,r){return i.index=r,t+e.call(i,n)}:function(t,e){return t+e},0)},max:function(t,e){return Math.max.apply(null,e?r.map(t,e):t)}};var o=function(){function t(t,e,i){return(t<<10)+(e<<5)+i}function e(t){var e=[],i=!1;function n(){e.sort(t),i=!0}return{push:function(t){e.push(t),i=!1},peek:function(t){return i||n(),void 0===t&&(t=e.length-1),e[t]},pop:function(){return i||n(),e.pop()},size:function(){return e.length},map:function(t){return e.map(t)},debug:function(){return i||n(),e}}}function i(t,e,i,n,r,o,a){this.r1=t,this.r2=e,this.g1=i,this.g2=n,this.b1=r,this.b2=o,this.histo=a}function n(){this.vboxes=new e((function(t,e){return r.naturalOrder(t.vbox.count()*t.vbox.volume(),e.vbox.count()*e.vbox.volume())}))}function o(e,i){if(i.count()){var n=i.r2-i.r1+1,o=i.g2-i.g1+1,a=i.b2-i.b1+1,s=r.max([n,o,a]);if(1==i.count())return[i.copy()];var u,c,l,p,h=0,d=[],f=[];if(s==n)for(u=i.r1;u<=i.r2;u++){for(p=0,c=i.g1;c<=i.g2;c++)for(l=i.b1;l<=i.b2;l++)p+=e[t(u,c,l)]||0;h+=p,d[u]=h}else if(s==o)for(u=i.g1;u<=i.g2;u++){for(p=0,c=i.r1;c<=i.r2;c++)for(l=i.b1;l<=i.b2;l++)p+=e[t(c,u,l)]||0;h+=p,d[u]=h}else for(u=i.b1;u<=i.b2;u++){for(p=0,c=i.r1;c<=i.r2;c++)for(l=i.g1;l<=i.g2;l++)p+=e[t(c,l,u)]||0;h+=p,d[u]=h}return d.forEach((function(t,e){f[e]=h-t})),g(s==n?"r":s==o?"g":"b")}function g(t){var e,n,r,o,a,s=t+"1",c=t+"2",l=0;for(u=i[s];u<=i[c];u++)if(d[u]>h/2){for(r=i.copy(),o=i.copy(),a=(e=u-i[s])<=(n=i[c]-u)?Math.min(i[c]-1,~~(u+n/2)):Math.max(i[s],~~(u-1-e/2));!d[a];)a++;for(l=f[a];!l&&d[a-1];)l=f[--a];return r[c]=a,o[s]=r[c]+1,[r,o]}}}return i.prototype={volume:function(t){return this._volume&&!t||(this._volume=(this.r2-this.r1+1)*(this.g2-this.g1+1)*(this.b2-this.b1+1)),this._volume},count:function(e){var i=this.histo;if(!this._count_set||e){var n,r,o,a=0;for(n=this.r1;n<=this.r2;n++)for(r=this.g1;r<=this.g2;r++)for(o=this.b1;o<=this.b2;o++)index=t(n,r,o),a+=i[index]||0;this._count=a,this._count_set=!0}return this._count},copy:function(){return new i(this.r1,this.r2,this.g1,this.g2,this.b1,this.b2,this.histo)},avg:function(e){var i=this.histo;if(!this._avg||e){var n,r,o,a,s=0,u=0,c=0,l=0;for(r=this.r1;r<=this.r2;r++)for(o=this.g1;o<=this.g2;o++)for(a=this.b1;a<=this.b2;a++)s+=n=i[t(r,o,a)]||0,u+=n*(r+.5)*8,c+=n*(o+.5)*8,l+=n*(a+.5)*8;this._avg=s?[~~(u/s),~~(c/s),~~(l/s)]:[~~(8*(this.r1+this.r2+1)/2),~~(8*(this.g1+this.g2+1)/2),~~(8*(this.b1+this.b2+1)/2)]}return this._avg},contains:function(t){var e=t[0]>>3;return gval=t[1]>>3,bval=t[2]>>3,e>=this.r1&&e<=this.r2&&gval>=this.g1&&gval<=this.g2&&bval>=this.b1&&bval<=this.b2}},n.prototype={push:function(t){this.vboxes.push({vbox:t,color:t.avg()})},palette:function(){return this.vboxes.map((function(t){return t.color}))},size:function(){return this.vboxes.size()},map:function(t){for(var e=this.vboxes,i=0;i251&&n[1]>251&&n[2]>251&&(t[i].color=[255,255,255])}},{quantize:function(a,s){if(!a.length||s<2||s>256)return!1;var u=function(e){var i,n,r,o,a=new Array(32768);return e.forEach((function(e){n=e[0]>>3,r=e[1]>>3,o=e[2]>>3,i=t(n,r,o),a[i]=(a[i]||0)+1})),a}(a);u.forEach((function(){0}));var c=function(t,e){var n,r,o,a=1e6,s=0,u=1e6,c=0,l=1e6,p=0;return t.forEach((function(t){n=t[0]>>3,r=t[1]>>3,o=t[2]>>3,ns&&(s=n),rc&&(c=r),op&&(p=o)})),new i(a,s,u,c,l,p,e)}(a,u),l=new e((function(t,e){return r.naturalOrder(t.count(),e.count())}));function p(t,e){for(var i,n=1,r=0;r<1e3;)if((i=t.pop()).count()){var a=o(u,i),s=a[0],c=a[1];if(!s)return;if(t.push(s),c&&(t.push(c),n++),n>=e)return;if(r++>1e3)return}else t.push(i),r++}l.push(c),p(l,.75*s);for(var h=new e((function(t,e){return r.naturalOrder(t.count()*t.volume(),e.count()*e.volume())}));l.size();)h.push(l.pop());p(h,s-h.size());for(var d=new n;h.size();)d.push(h.pop());return d}}}()},27:function(t,e,i){t.exports=function(){var t=Array.prototype.slice.call(arguments,0,-1);return i(32).getRoute.apply(i(32),t)}},28:function(t,e,i){var n,r,o; /*! * jQuery JavaScript Library v2.2.4 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2016-05-20T17:23Z */r="undefined"!=typeof window?window:this,o=function(i,r){var o=[],a=i.document,s=o.slice,u=o.concat,c=o.push,l=o.indexOf,p={},h=p.toString,d=p.hasOwnProperty,f={},g=function t(e,i){return new t.fn.init(e,i)},m=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,v=/^-ms-/,y=/-([\da-z])/gi,A=function(t,e){return e.toUpperCase()};function b(t){var e=!!t&&"length"in t&&t.length,i=g.type(t);return"function"!==i&&!g.isWindow(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}g.fn=g.prototype={jquery:"2.2.4",constructor:g,selector:"",length:0,toArray:function(){return s.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:s.call(this)},pushStack:function(t){var e=g.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return g.each(this,t)},map:function(t){return this.pushStack(g.map(this,(function(e,i){return t.call(e,i,e)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(t<0?e:0);return this.pushStack(i>=0&&i=0},isPlainObject:function(t){var e;if("object"!==g.type(t)||t.nodeType||g.isWindow(t))return!1;if(t.constructor&&!d.call(t,"constructor")&&!d.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(e in t);return void 0===e||d.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?p[h.call(t)]||"object":typeof t},globalEval:function(t){var e,i=eval;(t=g.trim(t))&&(1===t.indexOf("use strict")?((e=a.createElement("script")).text=t,a.head.appendChild(e).parentNode.removeChild(e)):i(t))},camelCase:function(t){return t.replace(v,"ms-").replace(y,A)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var i,n=0;if(b(t))for(i=t.length;n+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),z=new RegExp(R),Y=new RegExp("^"+j+"$"),V={ID:new RegExp("^#("+j+")"),CLASS:new RegExp("^\\.("+j+")"),TAG:new RegExp("^("+j+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,G=/'|\\/g,tt=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),et=function(t,e,i){var n="0x"+e-65536;return n!=n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},it=function(){h()};try{M.apply(I=N.call(k.childNodes),k.childNodes),I[k.childNodes.length].nodeType}catch(t){M={apply:I.length?function(t,e){T.apply(t,N.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}function nt(t,e,n,r){var o,s,c,l,p,f,v,y,x=e&&e.ownerDocument,C=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==C&&9!==C&&11!==C)return n;if(!r&&((e?e.ownerDocument||e:k)!==d&&h(e),e=e||d,g)){if(11!==C&&(f=Q.exec(t)))if(o=f[1]){if(9===C){if(!(c=e.getElementById(o)))return n;if(c.id===o)return n.push(c),n}else if(x&&(c=x.getElementById(o))&&A(e,c)&&c.id===o)return n.push(c),n}else{if(f[2])return M.apply(n,e.getElementsByTagName(t)),n;if((o=f[3])&&i.getElementsByClassName&&e.getElementsByClassName)return M.apply(n,e.getElementsByClassName(o)),n}if(i.qsa&&!S[t+" "]&&(!m||!m.test(t))){if(1!==C)x=e,y=t;else if("object"!==e.nodeName.toLowerCase()){for((l=e.getAttribute("id"))?l=l.replace(G,"\\$&"):e.setAttribute("id",l=b),s=(v=a(t)).length,p=Y.test(l)?"#"+l:"[id='"+l+"']";s--;)v[s]=p+" "+ft(v[s]);y=v.join(","),x=J.test(t)&&ht(e.parentNode)||e}if(y)try{return M.apply(n,x.querySelectorAll(y)),n}catch(t){}finally{l===b&&e.removeAttribute("id")}}}return u(t.replace($,"$1"),e,n,r)}function rt(){var t=[];return function e(i,r){return t.push(i+" ")>n.cacheLength&&delete e[t.shift()],e[i+" "]=r}}function ot(t){return t[b]=!0,t}function at(t){var e=d.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function st(t,e){for(var i=t.split("|"),r=i.length;r--;)n.attrHandle[i[r]]=e}function ut(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function ct(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function lt(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function pt(t){return ot((function(e){return e=+e,ot((function(i,n){for(var r,o=t([],i.length,e),a=o.length;a--;)i[r=o[a]]&&(i[r]=!(n[r]=i[r]))}))}))}function ht(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in i=nt.support={},o=nt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},h=nt.setDocument=function(t){var e,r,a=t?t.ownerDocument||t:k;return a!==d&&9===a.nodeType&&a.documentElement?(f=(d=a).documentElement,g=!o(d),(r=d.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",it,!1):r.attachEvent&&r.attachEvent("onunload",it)),i.attributes=at((function(t){return t.className="i",!t.getAttribute("className")})),i.getElementsByTagName=at((function(t){return t.appendChild(d.createComment("")),!t.getElementsByTagName("*").length})),i.getElementsByClassName=X.test(d.getElementsByClassName),i.getById=at((function(t){return f.appendChild(t).id=b,!d.getElementsByName||!d.getElementsByName(b).length})),i.getById?(n.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var i=e.getElementById(t);return i?[i]:[]}},n.filter.ID=function(t){var e=t.replace(tt,et);return function(t){return t.getAttribute("id")===e}}):(delete n.find.ID,n.filter.ID=function(t){var e=t.replace(tt,et);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}}),n.find.TAG=i.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):i.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;i=o[r++];)1===i.nodeType&&n.push(i);return n}return o},n.find.CLASS=i.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},v=[],m=[],(i.qsa=X.test(d.querySelectorAll))&&(at((function(t){f.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+L+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+L+"*(?:value|"+O+")"),t.querySelectorAll("[id~="+b+"-]").length||m.push("~="),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]")})),at((function(t){var e=d.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+L+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")}))),(i.matchesSelector=X.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&at((function(t){i.disconnectedMatch=y.call(t,"div"),y.call(t,"[s!='']:x"),v.push("!=",R)})),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),e=X.test(f.compareDocumentPosition),A=e||X.test(f.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},D=e?function(t,e){if(t===e)return p=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!i.sortDetached&&e.compareDocumentPosition(t)===n?t===d||t.ownerDocument===k&&A(k,t)?-1:e===d||e.ownerDocument===k&&A(k,e)?1:l?B(l,t)-B(l,e):0:4&n?-1:1)}:function(t,e){if(t===e)return p=!0,0;var i,n=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!r||!o)return t===d?-1:e===d?1:r?-1:o?1:l?B(l,t)-B(l,e):0;if(r===o)return ut(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)s.unshift(i);for(;a[n]===s[n];)n++;return n?ut(a[n],s[n]):a[n]===k?-1:s[n]===k?1:0},d):d},nt.matches=function(t,e){return nt(t,null,null,e)},nt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==d&&h(t),e=e.replace(U,"='$1']"),i.matchesSelector&&g&&!S[e+" "]&&(!v||!v.test(e))&&(!m||!m.test(e)))try{var n=y.call(t,e);if(n||i.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return nt(e,d,null,[t]).length>0},nt.contains=function(t,e){return(t.ownerDocument||t)!==d&&h(t),A(t,e)},nt.attr=function(t,e){(t.ownerDocument||t)!==d&&h(t);var r=n.attrHandle[e.toLowerCase()],o=r&&E.call(n.attrHandle,e.toLowerCase())?r(t,e,!g):void 0;return void 0!==o?o:i.attributes||!g?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},nt.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},nt.uniqueSort=function(t){var e,n=[],r=0,o=0;if(p=!i.detectDuplicates,l=!i.sortStable&&t.slice(0),t.sort(D),p){for(;e=t[o++];)e===t[o]&&(r=n.push(o));for(;r--;)t.splice(n[r],1)}return l=null,t},r=nt.getText=function(t){var e,i="",n=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[n++];)i+=r(e);return i},(n=nt.selectors={cacheLength:50,createPseudo:ot,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(tt,et),t[3]=(t[3]||t[4]||t[5]||"").replace(tt,et),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||nt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&nt.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return V.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&z.test(i)&&(e=a(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(tt,et).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=_[t+" "];return e||(e=new RegExp("(^|"+L+")"+t+"("+L+"|$)"))&&_(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,i){return function(n){var r=nt.attr(n,t);return null==r?"!="===e:!e||(r+="","="===e?r===i:"!="===e?r!==i:"^="===e?i&&0===r.indexOf(i):"*="===e?i&&r.indexOf(i)>-1:"$="===e?i&&r.slice(-i.length)===i:"~="===e?(" "+r.replace(H," ")+" ").indexOf(i)>-1:"|="===e&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,i,n,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,u){var c,l,p,h,d,f,g=o!==a?"nextSibling":"previousSibling",m=e.parentNode,v=s&&e.nodeName.toLowerCase(),y=!u&&!s,A=!1;if(m){if(o){for(;g;){for(h=e;h=h[g];)if(s?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=g="only"===t&&!f&&"nextSibling"}return!0}if(f=[a?m.firstChild:m.lastChild],a&&y){for(A=(d=(c=(l=(p=(h=m)[b]||(h[b]={}))[h.uniqueID]||(p[h.uniqueID]={}))[t]||[])[0]===x&&c[1])&&c[2],h=d&&m.childNodes[d];h=++d&&h&&h[g]||(A=d=0)||f.pop();)if(1===h.nodeType&&++A&&h===e){l[t]=[x,d,A];break}}else if(y&&(A=d=(c=(l=(p=(h=e)[b]||(h[b]={}))[h.uniqueID]||(p[h.uniqueID]={}))[t]||[])[0]===x&&c[1]),!1===A)for(;(h=++d&&h&&h[g]||(A=d=0)||f.pop())&&((s?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++A||(y&&((l=(p=h[b]||(h[b]={}))[h.uniqueID]||(p[h.uniqueID]={}))[t]=[x,A]),h!==e)););return(A-=r)===n||A%n==0&&A/n>=0}}},PSEUDO:function(t,e){var i,r=n.pseudos[t]||n.setFilters[t.toLowerCase()]||nt.error("unsupported pseudo: "+t);return r[b]?r(e):r.length>1?(i=[t,t,"",e],n.setFilters.hasOwnProperty(t.toLowerCase())?ot((function(t,i){for(var n,o=r(t,e),a=o.length;a--;)t[n=B(t,o[a])]=!(i[n]=o[a])})):function(t){return r(t,0,i)}):r}},pseudos:{not:ot((function(t){var e=[],i=[],n=s(t.replace($,"$1"));return n[b]?ot((function(t,e,i,r){for(var o,a=n(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))})):function(t,r,o){return e[0]=t,n(e,null,o,i),e[0]=null,!i.pop()}})),has:ot((function(t){return function(e){return nt(t,e).length>0}})),contains:ot((function(t){return t=t.replace(tt,et),function(e){return(e.textContent||e.innerText||r(e)).indexOf(t)>-1}})),lang:ot((function(t){return Y.test(t||"")||nt.error("unsupported lang: "+t),t=t.replace(tt,et).toLowerCase(),function(e){var i;do{if(i=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===f},focus:function(t){return t===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!n.pseudos.empty(t)},header:function(t){return Z.test(t.nodeName)},input:function(t){return K.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:pt((function(){return[0]})),last:pt((function(t,e){return[e-1]})),eq:pt((function(t,e,i){return[i<0?i+e:i]})),even:pt((function(t,e){for(var i=0;i=0;)t.push(n);return t})),gt:pt((function(t,e,i){for(var n=i<0?i+e:i;++n1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function vt(t,e,i,n,r){for(var o,a=[],s=0,u=t.length,c=null!=e;s-1&&(o[c]=!(a[c]=p))}}else v=vt(v===a?v.splice(f,v.length):v),r?r(null,a,v,u):M.apply(a,v)}))}function At(t){for(var e,i,r,o=t.length,a=n.relative[t[0].type],s=a||n.relative[" "],u=a?1:0,l=gt((function(t){return t===e}),s,!0),p=gt((function(t){return B(e,t)>-1}),s,!0),h=[function(t,i,n){var r=!a&&(n||i!==c)||((e=i).nodeType?l(t,i,n):p(t,i,n));return e=null,r}];u1&&mt(h),u>1&&ft(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace($,"$1"),i,u0,r=t.length>0,o=function(o,a,s,u,l){var p,f,m,v=0,y="0",A=o&&[],b=[],k=c,C=o||r&&n.find.TAG("*",l),_=x+=null==k?1:Math.random()||.1,w=C.length;for(l&&(c=a===d||a||l);y!==w&&null!=(p=C[y]);y++){if(r&&p){for(f=0,a||p.ownerDocument===d||(h(p),s=!g);m=t[f++];)if(m(p,a||d,s)){u.push(p);break}l&&(x=_)}i&&((p=!m&&p)&&v--,o&&A.push(p))}if(v+=y,i&&y!==v){for(f=0;m=e[f++];)m(A,b,a,s);if(o){if(v>0)for(;y--;)A[y]||b[y]||(b[y]=P.call(u));b=vt(b)}M.apply(u,b),l&&!o&&b.length>0&&v+e.length>1&&nt.uniqueSort(u)}return l&&(x=_,c=k),A};return i?ot(o):o}(o,r))).selector=t}return s},u=nt.select=function(t,e,r,o){var u,c,l,p,h,d="function"==typeof t&&t,f=!o&&a(t=d.selector||t);if(r=r||[],1===f.length){if((c=f[0]=f[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&i.getById&&9===e.nodeType&&g&&n.relative[c[1].type]){if(!(e=(n.find.ID(l.matches[0].replace(tt,et),e)||[])[0]))return r;d&&(e=e.parentNode),t=t.slice(c.shift().value.length)}for(u=V.needsContext.test(t)?0:c.length;u--&&(l=c[u],!n.relative[p=l.type]);)if((h=n.find[p])&&(o=h(l.matches[0].replace(tt,et),J.test(c[0].type)&&ht(e.parentNode)||e))){if(c.splice(u,1),!(t=o.length&&ft(c)))return M.apply(r,o),r;break}}return(d||s(t,f))(o,e,!g,r,!e||J.test(t)&&ht(e.parentNode)||e),r},i.sortStable=b.split("").sort(D).join("")===b,i.detectDuplicates=!!p,h(),i.sortDetached=at((function(t){return 1&t.compareDocumentPosition(d.createElement("div"))})),at((function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")}))||st("type|href|height|width",(function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),i.attributes&&at((function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||st("value",(function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),at((function(t){return null==t.getAttribute("disabled")}))||st(O,(function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null})),nt}(i);g.find=k,(g.expr=k.selectors)[":"]=g.expr.pseudos,g.uniqueSort=g.unique=k.uniqueSort,g.text=k.getText,g.isXMLDoc=k.isXML,g.contains=k.contains;var x=function(t,e,i){for(var n=[],r=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&g(t).is(i))break;n.push(t)}return n},C=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},_=g.expr.match.needsContext,w=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,S=/^.[^:#\[\.,]*$/;function D(t,e,i){if(g.isFunction(e))return g.grep(t,(function(t,n){return!!e.call(t,n,t)!==i}));if(e.nodeType)return g.grep(t,(function(t){return t===e!==i}));if("string"==typeof e){if(S.test(e))return g.filter(e,t,i);e=g.filter(e,t)}return g.grep(t,(function(t){return l.call(e,t)>-1!==i}))}g.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?g.find.matchesSelector(n,t)?[n]:[]:g.find.matches(t,g.grep(e,(function(t){return 1===t.nodeType})))},g.fn.extend({find:function(t){var e,i=this.length,n=[],r=this;if("string"!=typeof t)return this.pushStack(g(t).filter((function(){for(e=0;e1?g.unique(n):n)).selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(D(this,t||[],!1))},not:function(t){return this.pushStack(D(this,t||[],!0))},is:function(t){return!!D(this,"string"==typeof t&&_.test(t)?g(t):t||[],!1).length}});var E,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(g.fn.init=function(t,e,i){var n,r;if(!t)return this;if(i=i||E,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:I.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof g?e[0]:e,g.merge(this,g.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:a,!0)),w.test(n[1])&&g.isPlainObject(e))for(n in e)g.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(r=a.getElementById(n[2]))&&r.parentNode&&(this.length=1,this[0]=r),this.context=a,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):g.isFunction(t)?void 0!==i.ready?i.ready(t):t(g):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),g.makeArray(t,this))}).prototype=g.fn,E=g(a);var P=/^(?:parents|prev(?:Until|All))/,T={children:!0,contents:!0,next:!0,prev:!0};function M(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}g.fn.extend({has:function(t){var e=g(t,this),i=e.length;return this.filter((function(){for(var t=0;t-1:1===i.nodeType&&g.find.matchesSelector(i,t))){o.push(i);break}return this.pushStack(o.length>1?g.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?l.call(g(t),this[0]):l.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(g.uniqueSort(g.merge(this.get(),g(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),g.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return x(t,"parentNode")},parentsUntil:function(t,e,i){return x(t,"parentNode",i)},next:function(t){return M(t,"nextSibling")},prev:function(t){return M(t,"previousSibling")},nextAll:function(t){return x(t,"nextSibling")},prevAll:function(t){return x(t,"previousSibling")},nextUntil:function(t,e,i){return x(t,"nextSibling",i)},prevUntil:function(t,e,i){return x(t,"previousSibling",i)},siblings:function(t){return C((t.parentNode||{}).firstChild,t)},children:function(t){return C(t.firstChild)},contents:function(t){return t.contentDocument||g.merge([],t.childNodes)}},(function(t,e){g.fn[t]=function(i,n){var r=g.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=g.filter(n,r)),this.length>1&&(T[t]||g.uniqueSort(r),P.test(t)&&r.reverse()),this.pushStack(r)}}));var N,B=/\S+/g;function O(){a.removeEventListener("DOMContentLoaded",O),i.removeEventListener("load",O),g.ready()}g.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return g.each(t.match(B)||[],(function(t,i){e[i]=!0})),e}(t):g.extend({},t);var e,i,n,r,o=[],a=[],s=-1,u=function(){for(r=t.once,n=e=!0;a.length;s=-1)for(i=a.shift();++s-1;)o.splice(i,1),i<=s&&s--})),this},has:function(t){return t?g.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=i="",this},disabled:function(){return!o},lock:function(){return r=a=[],i||(o=i=""),this},locked:function(){return!!r},fireWith:function(t,i){return r||(i=[t,(i=i||[]).slice?i.slice():i],a.push(i),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},g.extend({Deferred:function(t){var e=[["resolve","done",g.Callbacks("once memory"),"resolved"],["reject","fail",g.Callbacks("once memory"),"rejected"],["notify","progress",g.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return g.Deferred((function(i){g.each(e,(function(e,o){var a=g.isFunction(t[e])&&t[e];r[o[1]]((function(){var t=a&&a.apply(this,arguments);t&&g.isFunction(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[o[0]+"With"](this===n?i.promise():this,a?[t]:arguments)}))})),t=null})).promise()},promise:function(t){return null!=t?g.extend(t,n):n}},r={};return n.pipe=n.then,g.each(e,(function(t,o){var a=o[2],s=o[3];n[o[1]]=a.add,s&&a.add((function(){i=s}),e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?n:this,arguments),this},r[o[0]+"With"]=a.fireWith})),n.promise(r),t&&t.call(r,r),r},when:function(t){var e,i,n,r=0,o=s.call(arguments),a=o.length,u=1!==a||t&&g.isFunction(t.promise)?a:0,c=1===u?t:g.Deferred(),l=function(t,i,n){return function(r){i[t]=this,n[t]=arguments.length>1?s.call(arguments):r,n===e?c.notifyWith(i,n):--u||c.resolveWith(i,n)}};if(a>1)for(e=new Array(a),i=new Array(a),n=new Array(a);r0||(N.resolveWith(a,[g]),g.fn.triggerHandler&&(g(a).triggerHandler("ready"),g(a).off("ready"))))}}),g.ready.promise=function(t){return N||(N=g.Deferred(),"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?i.setTimeout(g.ready):(a.addEventListener("DOMContentLoaded",O),i.addEventListener("load",O))),N.promise(t)},g.ready.promise();var L=function t(e,i,n,r,o,a,s){var u=0,c=e.length,l=null==n;if("object"===g.type(n))for(u in o=!0,n)t(e,i,u,n[u],!0,a,s);else if(void 0!==r&&(o=!0,g.isFunction(r)||(s=!0),l&&(s?(i.call(e,r),i=null):(l=i,i=function(t,e,i){return l.call(g(t),i)})),i))for(;u-1&&void 0!==i&&H.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){H.remove(this,t)}))}}),g.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=R.get(t,e),i&&(!n||g.isArray(i)?n=R.access(t,e,g.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){var i=g.queue(t,e=e||"fx"),n=i.length,r=i.shift(),o=g._queueHooks(t,e);"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===e&&i.unshift("inprogress"),delete o.stop,r.call(t,(function(){g.dequeue(t,e)}),o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return R.get(t,i)||R.access(t,i,{empty:g.Callbacks("once memory").add((function(){R.remove(t,[e+"queue",i])}))})}}),g.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function G(t,e){var i=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&g.nodeName(t,e)?g.merge([t],i):i}function tt(t,e){for(var i=0,n=t.length;i-1)r&&r.push(o);else if(c=g.contains(o.ownerDocument,o),a=G(p.appendChild(o),"script"),c&&tt(a),i)for(l=0;o=a[l++];)Q.test(o.type||"")&&i.push(o);return p}et=a.createDocumentFragment().appendChild(a.createElement("div")),(it=a.createElement("input")).setAttribute("type","radio"),it.setAttribute("checked","checked"),it.setAttribute("name","t"),et.appendChild(it),f.checkClone=et.cloneNode(!0).cloneNode(!0).lastChild.checked,et.innerHTML="",f.noCloneChecked=!!et.cloneNode(!0).lastChild.defaultValue;var ot=/^key/,at=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,st=/^([^.]*)(?:\.(.+)|)/;function ut(){return!0}function ct(){return!1}function lt(){try{return a.activeElement}catch(t){}}function pt(t,e,i,n,r,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof i&&(n=n||i,i=void 0),e)pt(t,s,i,n,e[s],o);return t}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=ct;else if(!r)return t;return 1===o&&(a=r,(r=function(t){return g().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=g.guid++)),t.each((function(){g.event.add(this,e,r,n,i)}))}g.event={global:{},add:function(t,e,i,n,r){var o,a,s,u,c,l,p,h,d,f,m,v=R.get(t);if(v)for(i.handler&&(i=(o=i).handler,r=o.selector),i.guid||(i.guid=g.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return void 0!==g&&g.event.triggered!==e.type?g.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(B)||[""]).length;c--;)d=m=(s=st.exec(e[c])||[])[1],f=(s[2]||"").split(".").sort(),d&&(p=g.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,p=g.event.special[d]||{},l=g.extend({type:d,origType:m,data:n,handler:i,guid:i.guid,selector:r,needsContext:r&&g.expr.match.needsContext.test(r),namespace:f.join(".")},o),(h=u[d])||((h=u[d]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(t,n,f,a)||t.addEventListener&&t.addEventListener(d,a)),p.add&&(p.add.call(t,l),l.handler.guid||(l.handler.guid=i.guid)),r?h.splice(h.delegateCount++,0,l):h.push(l),g.event.global[d]=!0)},remove:function(t,e,i,n,r){var o,a,s,u,c,l,p,h,d,f,m,v=R.hasData(t)&&R.get(t);if(v&&(u=v.events)){for(c=(e=(e||"").match(B)||[""]).length;c--;)if(d=m=(s=st.exec(e[c])||[])[1],f=(s[2]||"").split(".").sort(),d){for(p=g.event.special[d]||{},h=u[d=(n?p.delegateType:p.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)l=h[o],!r&&m!==l.origType||i&&i.guid!==l.guid||s&&!s.test(l.namespace)||n&&n!==l.selector&&("**"!==n||!l.selector)||(h.splice(o,1),l.selector&&h.delegateCount--,p.remove&&p.remove.call(t,l));a&&!h.length&&(p.teardown&&!1!==p.teardown.call(t,f,v.handle)||g.removeEvent(t,d,v.handle),delete u[d])}else for(d in u)g.event.remove(t,d+e[c],i,n,!0);g.isEmptyObject(u)&&R.remove(t,"handle events")}},dispatch:function(t){t=g.event.fix(t);var e,i,n,r,o,a=[],u=s.call(arguments),c=(R.get(this,"events")||{})[t.type]||[],l=g.event.special[t.type]||{};if(u[0]=t,t.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,t)){for(a=g.event.handlers.call(this,t,c),e=0;(r=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,i=0;(o=r.handlers[i++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(o.namespace)||(t.handleObj=o,t.data=o.data,void 0!==(n=((g.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,u))&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,r,o,a=[],s=e.delegateCount,u=t.target;if(s&&u.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==t.type)){for(n=[],i=0;i-1:g.find(r,this,null,[u]).length),n[r]&&n.push(o);n.length&&a.push({elem:u,handlers:n})}return s]*)\/>/gi,dt=/\s*$/g;function vt(t,e){return g.nodeName(t,"table")&&g.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function yt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function At(t){var e=gt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function bt(t,e){var i,n,r,o,a,s,u,c;if(1===e.nodeType){if(R.hasData(t)&&(o=R.access(t),a=R.set(e,o),c=o.events))for(r in delete a.handle,a.events={},c)for(i=0,n=c[r].length;i1&&"string"==typeof m&&!f.checkClone&&ft.test(m))return t.each((function(r){var o=t.eq(r);v&&(e[0]=m.call(this,r,o.html())),kt(o,e,i,n)}));if(h&&(o=(r=rt(e,t[0].ownerDocument,!1,t,n)).firstChild,1===r.childNodes.length&&(r=o),o||n)){for(s=(a=g.map(G(r,"script"),yt)).length;p")},clone:function(t,e,i){var n,r,o,a,s,u,c,l=t.cloneNode(!0),p=g.contains(t.ownerDocument,t);if(!(f.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||g.isXMLDoc(t)))for(a=G(l),n=0,r=(o=G(t)).length;n0&&tt(a,!p&&G(t,"script")),l},cleanData:function(t){for(var e,i,n,r=g.event.special,o=0;void 0!==(i=t[o]);o++)if(j(i)){if(e=i[R.expando]){if(e.events)for(n in e.events)r[n]?g.event.remove(i,n):g.removeEvent(i,n,e.handle);i[R.expando]=void 0}i[H.expando]&&(i[H.expando]=void 0)}}}),g.fn.extend({domManip:kt,detach:function(t){return xt(this,t,!0)},remove:function(t){return xt(this,t)},text:function(t){return L(this,(function(t){return void 0===t?g.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return kt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||vt(this,t).appendChild(t)}))},prepend:function(){return kt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=vt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return kt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return kt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(g.cleanData(G(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return g.clone(this,t,e)}))},html:function(t){return L(this,(function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!dt.test(t)&&!J[(X.exec(t)||["",""])[1].toLowerCase()]){t=g.htmlPrefilter(t);try{for(;i")).appendTo(e.documentElement))[0].contentDocument).write(),e.close(),i=wt(t,e),Ct.detach()),_t[t]=i),i}var Dt=/^margin/,Et=new RegExp("^("+U+")(?!px)[a-z%]+$","i"),It=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=i),e.getComputedStyle(t)},Pt=function(t,e,i,n){var r,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];for(o in r=i.apply(t,n||[]),e)t.style[o]=a[o];return r},Tt=a.documentElement;function Mt(t,e,i){var n,r,o,a,s=t.style;return""!==(a=(i=i||It(t))?i.getPropertyValue(e)||i[e]:void 0)&&void 0!==a||g.contains(t.ownerDocument,t)||(a=g.style(t,e)),i&&!f.pixelMarginRight()&&Et.test(a)&&Dt.test(e)&&(n=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=i.width,s.width=n,s.minWidth=r,s.maxWidth=o),void 0!==a?a+"":a}function Nt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){var t,e,n,r,o=a.createElement("div"),s=a.createElement("div");function u(){s.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",Tt.appendChild(o);var a=i.getComputedStyle(s);t="1%"!==a.top,r="2px"===a.marginLeft,e="4px"===a.width,s.style.marginRight="50%",n="4px"===a.marginRight,Tt.removeChild(o)}s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===s.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(s),g.extend(f,{pixelPosition:function(){return u(),t},boxSizingReliable:function(){return null==e&&u(),e},pixelMarginRight:function(){return null==e&&u(),n},reliableMarginLeft:function(){return null==e&&u(),r},reliableMarginRight:function(){var t,e=s.appendChild(a.createElement("div"));return e.style.cssText=s.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",s.style.width="1px",Tt.appendChild(o),t=!parseFloat(i.getComputedStyle(e).marginRight),Tt.removeChild(o),s.removeChild(e),t}}))}();var Bt=/^(none|table(?!-c[ea]).+)/,Ot={position:"absolute",visibility:"hidden",display:"block"},Lt={letterSpacing:"0",fontWeight:"400"},jt=["Webkit","O","Moz","ms"],Ft=a.createElement("div").style;function Rt(t){if(t in Ft)return t;for(var e=t[0].toUpperCase()+t.slice(1),i=jt.length;i--;)if((t=jt[i]+e)in Ft)return t}function Ht(t,e,i){var n=z.exec(e);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):e}function $t(t,e,i,n,r){for(var o=i===(n?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===i&&(a+=g.css(t,i+Y[o],!0,r)),n?("content"===i&&(a-=g.css(t,"padding"+Y[o],!0,r)),"margin"!==i&&(a-=g.css(t,"border"+Y[o]+"Width",!0,r))):(a+=g.css(t,"padding"+Y[o],!0,r),"padding"!==i&&(a+=g.css(t,"border"+Y[o]+"Width",!0,r)));return a}function qt(t,e,i){var n=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=It(t),a="border-box"===g.css(t,"boxSizing",!1,o);if(r<=0||null==r){if(((r=Mt(t,e,o))<0||null==r)&&(r=t.style[e]),Et.test(r))return r;n=a&&(f.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+$t(t,e,i||(a?"border":"content"),n,o)+"px"}function Wt(t,e){for(var i,n,r,o=[],a=0,s=t.length;a1)},show:function(){return Wt(this,!0)},hide:function(){return Wt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){V(this)?g(this).show():g(this).hide()}))}}),g.Tween=Ut,Ut.prototype={constructor:Ut,init:function(t,e,i,n,r,o){this.elem=t,this.prop=i,this.easing=r||g.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(g.cssNumber[i]?"":"px")},cur:function(){var t=Ut.propHooks[this.prop];return t&&t.get?t.get(this):Ut.propHooks._default.get(this)},run:function(t){var e,i=Ut.propHooks[this.prop];return this.options.duration?this.pos=e=g.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):Ut.propHooks._default.set(this),this}},Ut.prototype.init.prototype=Ut.prototype,Ut.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=g.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){g.fx.step[t.prop]?g.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[g.cssProps[t.prop]]&&!g.cssHooks[t.prop]?t.elem[t.prop]=t.now:g.style(t.elem,t.prop,t.now+t.unit)}}},Ut.propHooks.scrollTop=Ut.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},g.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},(g.fx=Ut.prototype.init).step={};var zt,Yt,Vt=/^(?:toggle|show|hide)$/,Kt=/queueHooks$/;function Zt(){return i.setTimeout((function(){zt=void 0})),zt=g.now()}function Xt(t,e){var i,n=0,r={height:t};for(e=e?1:0;n<4;n+=2-e)r["margin"+(i=Y[n])]=r["padding"+i]=t;return e&&(r.opacity=r.width=t),r}function Qt(t,e,i){for(var n,r=(Jt.tweeners[e]||[]).concat(Jt.tweeners["*"]),o=0,a=r.length;o1)},removeAttr:function(t){return this.each((function(){g.removeAttr(this,t)}))}}),g.extend({attr:function(t,e,i){var n,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?g.prop(t,e,i):(1===o&&g.isXMLDoc(t)||(e=e.toLowerCase(),r=g.attrHooks[e]||(g.expr.match.bool.test(e)?Gt:void 0)),void 0!==i?null===i?void g.removeAttr(t,e):r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:(t.setAttribute(e,i+""),i):r&&"get"in r&&null!==(n=r.get(t,e))?n:null==(n=g.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!f.radioValue&&"radio"===e&&g.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n,r=0,o=e&&e.match(B);if(o&&1===t.nodeType)for(;i=o[r++];)n=g.propFix[i]||i,g.expr.match.bool.test(i)&&(t[n]=!1),t.removeAttribute(i)}}),Gt={set:function(t,e,i){return!1===e?g.removeAttr(t,i):t.setAttribute(i,i),i}},g.each(g.expr.match.bool.source.match(/\w+/g),(function(t,e){var i=te[e]||g.find.attr;te[e]=function(t,e,n){var r,o;return n||(o=te[e],te[e]=r,r=null!=i(t,e,n)?e.toLowerCase():null,te[e]=o),r}}));var ee=/^(?:input|select|textarea|button)$/i,ie=/^(?:a|area)$/i;g.fn.extend({prop:function(t,e){return L(this,g.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[g.propFix[t]||t]}))}}),g.extend({prop:function(t,e,i){var n,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&g.isXMLDoc(t)||(e=g.propFix[e]||e,r=g.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=g.find.attr(t,"tabindex");return e?parseInt(e,10):ee.test(t.nodeName)||ie.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(g.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),g.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){g.propFix[this.toLowerCase()]=this}));var ne=/[\t\r\n\f]/g;function re(t){return t.getAttribute&&t.getAttribute("class")||""}g.fn.extend({addClass:function(t){var e,i,n,r,o,a,s,u=0;if(g.isFunction(t))return this.each((function(e){g(this).addClass(t.call(this,e,re(this)))}));if("string"==typeof t&&t)for(e=t.match(B)||[];i=this[u++];)if(r=re(i),n=1===i.nodeType&&(" "+r+" ").replace(ne," ")){for(a=0;o=e[a++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");r!==(s=g.trim(n))&&i.setAttribute("class",s)}return this},removeClass:function(t){var e,i,n,r,o,a,s,u=0;if(g.isFunction(t))return this.each((function(e){g(this).removeClass(t.call(this,e,re(this)))}));if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(B)||[];i=this[u++];)if(r=re(i),n=1===i.nodeType&&(" "+r+" ").replace(ne," ")){for(a=0;o=e[a++];)for(;n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");r!==(s=g.trim(n))&&i.setAttribute("class",s)}return this},toggleClass:function(t,e){var i=typeof t;return"boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):g.isFunction(t)?this.each((function(i){g(this).toggleClass(t.call(this,i,re(this),e),e)})):this.each((function(){var e,n,r,o;if("string"===i)for(n=0,r=g(this),o=t.match(B)||[];e=o[n++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==i||((e=re(this))&&R.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":R.get(this,"__className__")||""))}))},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+re(i)+" ").replace(ne," ").indexOf(e)>-1)return!0;return!1}});var oe=/\r/g,ae=/[\x20\t\r\n\f]+/g;g.fn.extend({val:function(t){var e,i,n,r=this[0];return arguments.length?(n=g.isFunction(t),this.each((function(i){var r;1===this.nodeType&&(null==(r=n?t.call(this,i,g(this).val()):t)?r="":"number"==typeof r?r+="":g.isArray(r)&&(r=g.map(r,(function(t){return null==t?"":t+""}))),(e=g.valHooks[this.type]||g.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=g.valHooks[r.type]||g.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(oe,""):null==i?"":i:void 0}}),g.extend({valHooks:{option:{get:function(t){var e=g.find.attr(t,"value");return null!=e?e:g.trim(g.text(t)).replace(ae," ")}},select:{get:function(t){for(var e,i,n=t.options,r=t.selectedIndex,o="select-one"===t.type||r<0,a=o?null:[],s=o?r+1:n.length,u=r<0?s:o?r:0;u-1)&&(i=!0);return i||(t.selectedIndex=-1),o}}}}),g.each(["radio","checkbox"],(function(){g.valHooks[this]={set:function(t,e){if(g.isArray(e))return t.checked=g.inArray(g(t).val(),e)>-1}},f.checkOn||(g.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}));var se=/^(?:focusinfocus|focusoutblur)$/;g.extend(g.event,{trigger:function(t,e,n,r){var o,s,u,c,l,p,h,f=[n||a],m=d.call(t,"type")?t.type:t,v=d.call(t,"namespace")?t.namespace.split("."):[];if(s=u=n=n||a,3!==n.nodeType&&8!==n.nodeType&&!se.test(m+g.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),l=m.indexOf(":")<0&&"on"+m,(t=t[g.expando]?t:new g.Event(m,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=v.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:g.makeArray(e,[t]),h=g.event.special[m]||{},r||!h.trigger||!1!==h.trigger.apply(n,e))){if(!r&&!h.noBubble&&!g.isWindow(n)){for(c=h.delegateType||m,se.test(c+m)||(s=s.parentNode);s;s=s.parentNode)f.push(s),u=s;u===(n.ownerDocument||a)&&f.push(u.defaultView||u.parentWindow||i)}for(o=0;(s=f[o++])&&!t.isPropagationStopped();)t.type=o>1?c:h.bindType||m,(p=(R.get(s,"events")||{})[t.type]&&R.get(s,"handle"))&&p.apply(s,e),(p=l&&s[l])&&p.apply&&j(s)&&(t.result=p.apply(s,e),!1===t.result&&t.preventDefault());return t.type=m,r||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(f.pop(),e)||!j(n)||l&&g.isFunction(n[m])&&!g.isWindow(n)&&((u=n[l])&&(n[l]=null),g.event.triggered=m,n[m](),g.event.triggered=void 0,u&&(n[l]=u)),t.result}},simulate:function(t,e,i){var n=g.extend(new g.Event,i,{type:t,isSimulated:!0});g.event.trigger(n,null,e)}}),g.fn.extend({trigger:function(t,e){return this.each((function(){g.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var i=this[0];if(i)return g.event.trigger(t,e,i,!0)}}),g.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(t,e){g.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}})),g.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),f.focusin="onfocusin"in i,f.focusin||g.each({focus:"focusin",blur:"focusout"},(function(t,e){var i=function(t){g.event.simulate(e,t.target,g.event.fix(t))};g.event.special[e]={setup:function(){var n=this.ownerDocument||this,r=R.access(n,e);r||n.addEventListener(t,i,!0),R.access(n,e,(r||0)+1)},teardown:function(){var n=this.ownerDocument||this,r=R.access(n,e)-1;r?R.access(n,e,r):(n.removeEventListener(t,i,!0),R.remove(n,e))}}}));var ue=i.location,ce=g.now(),le=/\?/;g.parseJSON=function(t){return JSON.parse(t+"")},g.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new i.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||g.error("Invalid XML: "+t),e};var pe=/#.*$/,he=/([?&])_=[^&]*/,de=/^(.*?):[ \t]*([^\r\n]*)$/gm,fe=/^(?:GET|HEAD)$/,ge=/^\/\//,me={},ve={},ye="*/".concat("*"),Ae=a.createElement("a");function be(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,r=0,o=e.toLowerCase().match(B)||[];if(g.isFunction(i))for(;n=o[r++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function ke(t,e,i,n){var r={},o=t===ve;function a(s){var u;return r[s]=!0,g.each(t[s]||[],(function(t,s){var c=s(e,i,n);return"string"!=typeof c||o||r[c]?o?!(u=c):void 0:(e.dataTypes.unshift(c),a(c),!1)})),u}return a(e.dataTypes[0])||!r["*"]&&a("*")}function xe(t,e){var i,n,r=g.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&g.extend(!0,t,n),t}Ae.href=ue.href,g.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ue.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ue.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ye,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":g.parseJSON,"text xml":g.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?xe(xe(t,g.ajaxSettings),e):xe(g.ajaxSettings,t)},ajaxPrefilter:be(me),ajaxTransport:be(ve),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0);var n,r,o,s,u,c,l,p,h=g.ajaxSetup({},e=e||{}),d=h.context||h,f=h.context&&(d.nodeType||d.jquery)?g(d):g.event,m=g.Deferred(),v=g.Callbacks("once memory"),y=h.statusCode||{},A={},b={},k=0,x="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(2===k){if(!s)for(s={};e=de.exec(o);)s[e[1].toLowerCase()]=e[2];e=s[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===k?o:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return k||(t=b[i]=b[i]||t,A[t]=e),this},overrideMimeType:function(t){return k||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(k<2)for(e in t)y[e]=[y[e],t[e]];else C.always(t[C.status]);return this},abort:function(t){var e=t||x;return n&&n.abort(e),_(0,e),this}};if(m.promise(C).complete=v.add,C.success=C.done,C.error=C.fail,h.url=((t||h.url||ue.href)+"").replace(pe,"").replace(ge,ue.protocol+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=g.trim(h.dataType||"*").toLowerCase().match(B)||[""],null==h.crossDomain){c=a.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Ae.protocol+"//"+Ae.host!=c.protocol+"//"+c.host}catch(t){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=g.param(h.data,h.traditional)),ke(me,h,e,C),2===k)return C;for(p in(l=g.event&&h.global)&&0==g.active++&&g.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!fe.test(h.type),r=h.url,h.hasContent||(h.data&&(r=h.url+=(le.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=he.test(r)?r.replace(he,"$1_="+ce++):r+(le.test(r)?"&":"?")+"_="+ce++)),h.ifModified&&(g.lastModified[r]&&C.setRequestHeader("If-Modified-Since",g.lastModified[r]),g.etag[r]&&C.setRequestHeader("If-None-Match",g.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||e.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+ye+"; q=0.01":""):h.accepts["*"]),h.headers)C.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(d,C,h)||2===k))return C.abort();for(p in x="abort",{success:1,error:1,complete:1})C[p](h[p]);if(n=ke(ve,h,e,C)){if(C.readyState=1,l&&f.trigger("ajaxSend",[C,h]),2===k)return C;h.async&&h.timeout>0&&(u=i.setTimeout((function(){C.abort("timeout")}),h.timeout));try{k=1,n.send(A,_)}catch(t){if(!(k<2))throw t;_(-1,t)}}else _(-1,"No Transport");function _(t,e,a,s){var c,p,A,b,x,_=e;2!==k&&(k=2,u&&i.clearTimeout(u),n=void 0,o=s||"",C.readyState=t>0?4:0,c=t>=200&&t<300||304===t,a&&(b=function(t,e,i){for(var n,r,o,a,s=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(r in s)if(s[r]&&s[r].test(n)){u.unshift(r);break}if(u[0]in i)o=u[0];else{for(r in i){if(!u[0]||t.converters[r+" "+u[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),i[o]}(h,C,a)),b=function(t,e,i,n){var r,o,a,s,u,c={},l=t.dataTypes.slice();if(l[1])for(a in t.converters)c[a.toLowerCase()]=t.converters[a];for(o=l.shift();o;)if(t.responseFields[o]&&(i[t.responseFields[o]]=e),!u&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(r in c)if((s=r.split(" "))[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[r]:!0!==c[r]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}(h,b,C,c),c?(h.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(g.lastModified[r]=x),(x=C.getResponseHeader("etag"))&&(g.etag[r]=x)),204===t||"HEAD"===h.type?_="nocontent":304===t?_="notmodified":(_=b.state,p=b.data,c=!(A=b.error))):(A=_,!t&&_||(_="error",t<0&&(t=0))),C.status=t,C.statusText=(e||_)+"",c?m.resolveWith(d,[p,_,C]):m.rejectWith(d,[C,_,A]),C.statusCode(y),y=void 0,l&&f.trigger(c?"ajaxSuccess":"ajaxError",[C,h,c?p:A]),v.fireWith(d,[C,_]),l&&(f.trigger("ajaxComplete",[C,h]),--g.active||g.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,i){return g.get(t,e,i,"json")},getScript:function(t,e){return g.get(t,void 0,e,"script")}}),g.each(["get","post"],(function(t,e){g[e]=function(t,i,n,r){return g.isFunction(i)&&(r=r||n,n=i,i=void 0),g.ajax(g.extend({url:t,type:e,dataType:r,data:i,success:n},g.isPlainObject(t)&&t))}})),g._evalUrl=function(t){return g.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},g.fn.extend({wrapAll:function(t){var e;return g.isFunction(t)?this.each((function(e){g(this).wrapAll(t.call(this,e))})):(this[0]&&(e=g(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this)},wrapInner:function(t){return g.isFunction(t)?this.each((function(e){g(this).wrapInner(t.call(this,e))})):this.each((function(){var e=g(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)}))},wrap:function(t){var e=g.isFunction(t);return this.each((function(i){g(this).wrapAll(e?t.call(this,i):t)}))},unwrap:function(){return this.parent().each((function(){g.nodeName(this,"body")||g(this).replaceWith(this.childNodes)})).end()}}),g.expr.filters.hidden=function(t){return!g.expr.filters.visible(t)},g.expr.filters.visible=function(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0};var Ce=/%20/g,_e=/\[\]$/,we=/\r?\n/g,Se=/^(?:submit|button|image|reset|file)$/i,De=/^(?:input|select|textarea|keygen)/i;function Ee(t,e,i,n){var r;if(g.isArray(e))g.each(e,(function(e,r){i||_e.test(t)?n(t,r):Ee(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,i,n)}));else if(i||"object"!==g.type(e))n(t,e);else for(r in e)Ee(t+"["+r+"]",e[r],i,n)}g.param=function(t,e){var i,n=[],r=function(t,e){e=g.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=g.ajaxSettings&&g.ajaxSettings.traditional),g.isArray(t)||t.jquery&&!g.isPlainObject(t))g.each(t,(function(){r(this.name,this.value)}));else for(i in t)Ee(i,t[i],e,r);return n.join("&").replace(Ce,"+")},g.fn.extend({serialize:function(){return g.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=g.prop(this,"elements");return t?g.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!g(this).is(":disabled")&&De.test(this.nodeName)&&!Se.test(t)&&(this.checked||!Z.test(t))})).map((function(t,e){var i=g(this).val();return null==i?null:g.isArray(i)?g.map(i,(function(t){return{name:e.name,value:t.replace(we,"\r\n")}})):{name:e.name,value:i.replace(we,"\r\n")}})).get()}}),g.ajaxSettings.xhr=function(){try{return new i.XMLHttpRequest}catch(t){}};var Ie={0:200,1223:204},Pe=g.ajaxSettings.xhr();f.cors=!!Pe&&"withCredentials"in Pe,f.ajax=Pe=!!Pe,g.ajaxTransport((function(t){var e,n;if(f.cors||Pe&&!t.crossDomain)return{send:function(r,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);e=function(t){return function(){e&&(e=n=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Ie[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),n=s.onerror=e("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&i.setTimeout((function(){e&&n()}))},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),g.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return g.globalEval(t),t}}}),g.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),g.ajaxTransport("script",(function(t){var e,i;if(t.crossDomain)return{send:function(n,r){e=g("