snipe-it/public/js/dist/all.js

35 lines
1 MiB
JavaScript
Raw Normal View History

if(function(t){function e(n){if(i[n])return i[n].exports;var r=i[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var i={};e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=0)}({"+sje":function(t,e,i){var n=i("VU/8")(i("eOaq"),i("lafA"),!1,function(t){i("4UNm")},"data-v-3bdd24a5",null);t.exports=n.exports},0:function(t,e,i){i("GDnL"),i("hw3k"),i("aKHO"),i("9ozO"),i("1CH1"),i("f5J3"),i("yd7E"),i("m5pD"),i("JfWP"),i("Pq8s"),i("WM06"),i("t80F"),i("2WJo"),i("F7gb"),i("jbHB"),i("a5IG"),i("1dC+"),i("0hTo"),i("vvpX"),i("4Jtp"),t.exports=i("kxAE")},"0DKT":function(t,e){t.exports={render:function(){var t=this.$createElement;return(this._self._c||t)("select",{staticStyle:{width:"100%"}},[this._t("default")],2)},staticRenderFns:[]}},"0hTo":function(t,e){},1:function(t,e){},"1CH1":function(t,e){},"1dC+":function(t,e){},"20cu":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["clientsUrl","tokensUrl"],data:function(){return{tokens:[]}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens()},getTokens:function(){var t=this;this.$http.get(this.tokensUrl).then(function(e){t.tokens=e.data})},revoke:function(t){var e=this;this.$http.delete(this.tokensUrl+"/"+t.id).then(function(t){e.getTokens()})}}}},"2DgG":function(t,e,i){var n=i("50lf");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals),i("rjj0")("176426fc",n,!0,{})},"2WJo":function(t,e){},"3IRH":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"4Jtp":function(t,e){},"4UNm":function(t,e,i){var n=i("HB0T");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals),i("rjj0")("5d321c9c",n,!0,{})},"50lf":function(t,e,i){(t.exports=i("FZ+f")(!1)).push([t.i,".action-link[data-v-7d8f4390]{cursor:pointer}.m-b-none[data-v-7d8f4390]{margin-bottom:0}",""])},"5F58":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i("FHXl"),e.default={data:function(){return{files:[],displayImportModal:!1,activeFile:null,alert:{type:null,message:null,visible:!1},importErrors:null,progress:{currentClass:"progress-bar-warning",currentPercent:"0",statusText:"",visible:!1},customFields:[]}},mounted:function(){window.eventHub.$on("importErrors",this.updateImportErrors),this.fetchFiles(),this.fetchCustomFields();var t=this;$("#fileupload").fileupload({dataType:"json",done:function(e,i){t.progress.currentClass="progress-bar-success",t.progress.statusText="Success!",t.files=i.result.files.concat(t.files),console.log(i.result.header_row)},add:function(e,i){i.headers={"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":Laravel.csrfToken},i.process().done(function(){i.submit()}),t.progress.visible=!0},progress:function(e,i){var n=parseInt((i.loaded,i.total,10));t.progress.currentPercent=n,t.progress.statusText=n+"% Complete"},fail:function(e,i){t.progress.currentClass="progress-bar-danger",t.progress.statusText=i.jqXHR.responseJSON.messages}})},methods:{fetchFiles:function(){var t=this;this.$http.get(route("api.imports.index")).then(function(e){var i=e.data;return t.files=i},function(e){t.alert.type="danger",t.alert.visible=!0,t.alert.message="Something went wrong fetching files..."})},fetchCustomFields:function(){var t=this;this.$http.get(route("api.customfields.index")).then(function(e){var i=e.data;(i=i.rows).forEach(function(e){t.customFields.push({id:e.db_column_name,text:e.name})})})},deleteFile:function(t,e){var i=this;this.$http.delete(route("api.imports.destroy",t.id)).then(function(t){i.files.splice(e,1),i.
return(t+"").replace(bt,_t)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,r=0;if(S=!y.detectDuplicates,T=!y.sortStable&&t.slice(0),t.sort(B),S){for(;e=t[r++];)e===t[r]&&(n=i.push(r));for(;n--;)t.splice(i[n],1)}return T=null,t},_=e.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=_(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n++];)i+=_(e);return i},(b=e.selectors={cacheLength:50,createPseudo:n,match:ct,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(vt,yt),t[3]=(t[3]||t[4]||t[5]||"").replace(vt,yt),"~="===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]||e.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]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return ct.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&lt.test(i)&&(e=w(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(vt,yt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=z[t+" "];return e||(e=new RegExp("(^|"+J+")"+t+"("+J+"|$)"))&&z(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(r){var o=e.attr(r,t);return null==o?"!="===i:!i||(o+="","="===i?o===n:"!="===i?o!==n:"^="===i?n&&0===o.indexOf(n):"*="===i?n&&o.indexOf(n)>-1:"$="===i?n&&o.slice(-n.length)===n:"~="===i?(" "+o.replace(nt," ")+" ").indexOf(n)>-1:"|="===i&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,i,n,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var u,c,h,d,f,p,g=o!==s?"nextSibling":"previousSibling",m=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(m){if(o){for(;g;){for(d=e;d=d[g];)if(a?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&y){for(b=(f=(u=(c=(h=(d=m)[N]||(d[N]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]||[])[0]===R&&u[1])&&u[2],d=f&&m.childNodes[f];d=++f&&d&&d[g]||(b=f=0)||p.pop();)if(1===d.nodeType&&++b&&d===e){c[t]=[R,f,b];break}}else if(y&&(b=f=(u=(c=(h=(d=e)[N]||(d[N]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]||[])[0]===R&&u[1]),!1===b)for(;(d=++f&&d&&d[g]||(b=f=0)||p.pop())&&((a?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++b||(y&&((c=(h=d[N]||(d[N]={}))[d.uniqueID]||(h[d.uniqueID]={}))[t]=[R,b]),d!==e)););return(b-=r)===n||b%n==0&&b/n>=0}}},PSEUDO:function(t,i){var r,o=b.pseudos[t]||b.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[N]?o(i):o.length>1?(r=[t,t,"",i],b.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,r=o(t,i),s=r.length;s--;)t[n=Z(t,r[s])]=!(e[n]=r[s])}):function(t){return o(t,0,r)}):o}},pseudos:{not:n(function(t){var e=[],i=[],r=C(t.replace(rt,"$1"));return r[N]?n(function(t,e,i,n){for(var o,s=r(t,null,n,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,n,o){return e[0]=t,r(e,null,o,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(vt,yt),function(e){return(e.textContent||_(e)).indexOf(t)>-1}}),lang:n(function(t){return ut.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(vt,yt).toLowerCase(),function(e){var i;do{if(i=I?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;re
;return null==a&&(t=gt.createElement("table"),e=gt.createElement("tr"),n=gt.createElement("div"),t.style.cssText="position:absolute;left:-11111px",e.style.height="1px",n.style.height="9px",Ht.appendChild(t).appendChild(e).appendChild(n),r=i.getComputedStyle(e),a=parseInt(r.height)>3,Ht.removeChild(t)),a}}))}();var ue=["Webkit","Moz","ms"],ce=gt.createElement("div").style,he={},de=/^(none|table(?!-c[ea]).+)/,fe=/^--/,pe={position:"absolute",visibility:"hidden",display:"block"},ge={letterSpacing:"0",fontWeight:"400"};vt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=N(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=m(e),l=fe.test(e),u=t.style;if(l||(e=R(a)),s=vt.cssHooks[e]||vt.cssHooks[a],void 0===i)return s&&"get"in s&&void 0!==(r=s.get(t,!1,n))?r:u[e];"string"==(o=typeof i)&&(r=jt.exec(i))&&r[1]&&(i=b(t,e,r),o="number"),null!=i&&i==i&&("number"!==o||l||(i+=r&&r[3]||(vt.cssNumber[a]?"":"px")),dt.clearCloneStyle||""!==i||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(i=s.set(t,i,n))||(l?u.setProperty(e,i):u[e]=i))}},css:function(t,e,i,n){var r,o,s,a=m(e);return fe.test(e)||(e=R(a)),(s=vt.cssHooks[e]||vt.cssHooks[a])&&"get"in s&&(r=s.get(t,!0,i)),void 0===r&&(r=N(t,e,n)),"normal"===r&&e in ge&&(r=ge[e]),""===i||i?(o=parseFloat(r),!0===i||isFinite(o)?o||0:r):r}}),vt.each(["height","width"],function(t,e){vt.cssHooks[e]={get:function(t,i,n){if(i)return!de.test(vt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?H(t,e,n):ae(t,pe,function(){return H(t,e,n)})},set:function(t,i,n){var r,o=se(t),s=!dt.scrollboxSize()&&"absolute"===o.position,a=(s||n)&&"border-box"===vt.css(t,"boxSizing",!1,o),l=n?z(t,e,n,a,o):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-z(t,e,"border",!1,o)-.5)),l&&(r=jt.exec(i))&&"px"!==(r[3]||"px")&&(t.style[e]=i,i=vt.css(t,e)),j(0,i,l)}}}),vt.cssHooks.marginLeft=L(dt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(N(t,"marginLeft"))||t.getBoundingClientRect().left-ae(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),vt.each({margin:"",padding:"",border:"Width"},function(t,e){vt.cssHooks[t+e]={expand:function(i){for(var n=0,r={},o="string"==typeof i?i.split(" "):[i];n<4;n++)r[t+zt[n]+e]=o[n]||o[n-2]||o[0];return r}},"margin"!==t&&(vt.cssHooks[t+e].set=j)}),vt.fn.extend({css:function(t,e){return Et(this,function(t,e,i){var n,r,o={},s=0;if(Array.isArray(e)){for(n=se(t),r=e.length;s<r;s++)o[e[s]]=vt.css(t,e[s],!1,n);return o}return void 0!==i?vt.style(t,e,i):vt.css(t,e)},t,e,arguments.length>1)}}),vt.Tween=W,W.prototype={constructor:W,init:function(t,e,i,n,r,o){this.elem=t,this.prop=i,this.easing=r||vt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(vt.cssNumber[i]?"":"px")},cur:function(){var t=W.propHooks[this.prop];return t&&t.get?t.get(this):W.propHooks._default.get(this)},run:function(t){var e,i=W.propHooks[this.prop];return this.options.duration?this.pos=e=vt.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):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.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=vt.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){vt.fx.step[t.prop]?vt.fx.step[t.prop](t):1!==t.elem.nodeType||!vt.cssHooks[t.prop]&&null==t.elem.style[R(t.prop)]?t.elem[t.prop]=t.now:vt.style(t.elem,t.prop,t.now+t.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function
}.apply(e,[]))||(t.exports=n);var Ge=i.jQuery,Ze=i.$;return vt.noConflict=function(t){return i.$===vt&&(i.$=Ze),t&&i.jQuery===vt&&(i.jQuery=Ge),vt},void 0===r&&(i.jQuery=i.$=vt),vt})},"8+8L":function(t,e,i){"use strict";function n(t){this.state=I,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(t){e.reject(t)}}function r(t,e){t instanceof Promise?this.promise=t:this.promise=new Promise(t.bind(e)),this.context=e}function o(t){return t?t.replace(/^\s*|\s*$/g,""):""}function s(t){return t?t.toLowerCase():""}function a(t){return"string"==typeof t}function l(t){return"function"==typeof t}function u(t){return null!==t&&"object"==typeof t}function c(t){return u(t)&&Object.getPrototypeOf(t)==Object.prototype}function h(t,e,i){var n=r.resolve(t);return arguments.length<2?n:n.then(e,i)}function d(t,e,i){return l(i=i||{})&&(i=i.call(e)),p(t.bind({$vm:e,$options:i}),t,{$options:i})}function f(t,e){var i,n;if(j(t))for(i=0;i<t.length;i++)e.call(t[i],t[i],i);else if(u(t))for(n in t)$.call(t,n)&&e.call(t[n],t[n],n);return t}function p(t){return N.call(arguments,1).forEach(function(e){g(t,e,!0)}),t}function g(t,e,i){for(var n in e)i&&(c(e[n])||j(e[n]))?(c(e[n])&&!c(t[n])&&(t[n]={}),j(e[n])&&!j(t[n])&&(t[n]=[]),g(t[n],e[n],i)):void 0!==e[n]&&(t[n]=e[n])}function m(t,e,i){var n=function(t){var e=["+","#",".","/",";","?","&"],i=[];return{vars:i,expand:function(n){return t.replace(/\{([^{}]+)\}|([^{}]+)/g,function(t,r,o){if(r){var s=null,a=[];if(-1!==e.indexOf(r.charAt(0))&&(s=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach(function(t){var e=/([^:*]*)(?::(\d+)|(\*))?/.exec(t);a.push.apply(a,function(t,e,i,n){var r=t[i],o=[];if(v(r)&&""!==r)if("string"==typeof r||"number"==typeof r||"boolean"==typeof r)r=r.toString(),n&&"*"!==n&&(r=r.substring(0,parseInt(n,10))),o.push(b(e,r,y(e)?i:null));else if("*"===n)Array.isArray(r)?r.filter(v).forEach(function(t){o.push(b(e,t,y(e)?i:null))}):Object.keys(r).forEach(function(t){v(r[t])&&o.push(b(e,r[t],t))});else{var s=[];Array.isArray(r)?r.filter(v).forEach(function(t){s.push(b(e,t))}):Object.keys(r).forEach(function(t){v(r[t])&&(s.push(encodeURIComponent(t)),s.push(b(e,r[t].toString())))}),y(e)?o.push(encodeURIComponent(i)+"="+s.join(",")):0!==s.length&&o.push(s.join(","))}else";"===e?o.push(encodeURIComponent(i)):""!==r||"&"!==e&&"?"!==e?""===r&&o.push(""):o.push(encodeURIComponent(i)+"=");return o}(n,s,e[1],e[2]||e[3])),i.push(e[1])}),s&&"+"!==s){var l=",";return"?"===s?l="&":"#"!==s&&(l=s),(0!==a.length?s:"")+a.join(l)}return a.join(",")}return _(o)})}}}(t),r=n.expand(e);return i&&i.push.apply(i,n.vars),r}function v(t){return void 0!==t&&null!==t}function y(t){return";"===t||"&"===t||"?"===t}function b(t,e,i){return e="+"===t||"#"===t?_(e):encodeURIComponent(e),i?encodeURIComponent(i)+"="+e:e}function _(t){return t.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){return/%[0-9A-Fa-f]/.test(t)||(t=encodeURI(t)),t}).join("")}function x(t,e){var i,n=this||{},r=t;return a(t)&&(r={url:t,params:e}),r=p({},x.options,n.$options,r),x.transforms.forEach(function(t){a(t)&&(t=x.transform[t]),l(t)&&(i=function(t,e,i){return function(n){return t.call(i,n,e)}}(t,i,n.$vm))}),i(r)}function w(t){return new r(function(e){var i=new XDomainRequest,n=function(n){var r=n.type,o=0;"load"===r?o=200:"error"===r&&(o=500),e(t.respondWith(i.responseText,{status:o}))};t.abort=function(){return i.abort()},i.open(t.method,t.getUrl()),t.timeout&&(i.timeout=t.timeout),i.onload=n,i.onabort=n,i.onerror=n,i.ontimeout=n,i.onprogress=function(){},i.send(t.getBody())})}function C(t){return new r(function(e){var i,n,r=t.jsonp||"callback",o=t.jsonpCallback||"_jsonp"+Math.random().toString(36).substr(2),s=null;i=function(i){var r=i.type,a=0;"load"===r&&null!==s?a=200:"error"===r&&(a=500),a&&window[o]&&(delete window[o],document.body.removeChild(n)),e(t.respondWith(s,{status:a}))},window[o]=function(t){s=JSON.stringify(t)},t.abort=function(){i({type:"abort"})},t.params[r]=o,t.timeout&&setTimeout(t.abort,t.timeout),(n=document.createElement("script")).src=t.getUrl(),n.type="text/javascrip
_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),i=e&&e.split("-"),n=i&&i.length>1&&parseInt(i[1],10);return n&&n+1},_chunkedUpload:function(e,i){e.uploadedBytes=e.uploadedBytes||0;var n,r,o=this,s=e.files[0],a=s.size,l=e.uploadedBytes,u=e.maxChunkSize||a,c=this._blobSlice,h=t.Deferred(),d=h.promise();return!(!(this._isXHRUpload(e)&&c&&(l||("function"===t.type(u)?u(e):u)<a))||e.data)&&(!!i||(l>=a?(s.error=e.i18n("uploadedBytes"),this._getXHRPromise(!1,e.context,[null,"error",s.error])):(r=function(){var i=t.extend({},e),d=i._progress.loaded;i.blob=c.call(s,l,l+("function"===t.type(u)?u(i):u),s.type),i.chunkSize=i.blob.size,i.contentRange="bytes "+l+"-"+(l+i.chunkSize-1)+"/"+a,o._trigger("chunkbeforesend",null,i),o._initXHRData(i),o._initProgressListener(i),n=(!1!==o._trigger("chunksend",null,i)&&t.ajax(i)||o._getXHRPromise(!1,i.context)).done(function(n,s,u){l=o._getUploadedBytes(u)||l+i.chunkSize,d+i.chunkSize-i._progress.loaded&&o._onProgress(t.Event("progress",{lengthComputable:!0,loaded:l-i.uploadedBytes,total:l-i.uploadedBytes}),i),e.uploadedBytes=i.uploadedBytes=l,i.result=n,i.textStatus=s,i.jqXHR=u,o._trigger("chunkdone",null,i),o._trigger("chunkalways",null,i),l<a?r():h.resolveWith(i.context,[n,s,u])}).fail(function(t,e,n){i.jqXHR=t,i.textStatus=e,i.errorThrown=n,o._trigger("chunkfail",null,i),o._trigger("chunkalways",null,i),h.rejectWith(i.context,[t,e,n])}).always(function(){o._deinitProgressListener(i)})},this._enhancePromise(d),d.abort=function(){return n.abort()},r(),d)))},_beforeSend:function(t,e){0===this._active&&(this._trigger("start"),this._bitrateTimer=new this._BitrateTimer,this._progress.loaded=this._progress.total=0,this._progress.bitrate=0),this._initResponseObject(e),this._initProgressObject(e),e._progress.loaded=e.loaded=e.uploadedBytes||0,e._progress.total=e.total=this._getTotal(e.files)||1,e._progress.bitrate=e.bitrate=0,this._active+=1,this._progress.loaded+=e.loaded,this._progress.total+=e.total},_onDone:function(e,i,n,r){var o=r._progress.total,s=r._response;r._progress.loaded<o&&this._onProgress(t.Event("progress",{lengthComputable:!0,loaded:o,total:o}),r),s.result=r.result=e,s.textStatus=r.textStatus=i,s.jqXHR=r.jqXHR=n,this._trigger("done",null,r)},_onFail:function(t,e,i,n){var r=n._response;n.recalculateProgress&&(this._progress.loaded-=n._progress.loaded,this._progress.total-=n._progress.total),r.jqXHR=n.jqXHR=t,r.textStatus=n.textStatus=e,r.errorThrown=n.errorThrown=i,this._trigger("fail",null,n)},_onAlways:function(t,e,i,n){this._trigger("always",null,n)},_onSend:function(e,i){i.submit||this._addConvenienceMethods(e,i);var n,r,o,s,a=this,l=a._getAJAXSettings(i),u=function(){return a._sending+=1,l._bitrateTimer=new a._BitrateTimer,n=n||((r||!1===a._trigger("send",t.Event("send",{delegatedEvent:e}),l))&&a._getXHRPromise(!1,l.context,r)||a._chunkedUpload(l)||t.ajax(l)).done(function(t,e,i){a._onDone(t,e,i,l)}).fail(function(t,e,i){a._onFail(t,e,i,l)}).always(function(t,e,i){if(a._deinitProgressListener(l),a._onAlways(t,e,i,l),a._sending-=1,a._active-=1,l.limitConcurrentUploads&&l.limitConcurrentUploads>a._sending)for(var n=a._slots.shift();n;){if("pending"===a._getDeferredState(n)){n.resolve();break}n=a._slots.shift()}0===a._active&&a._trigger("stop")})};return this._beforeSend(e,l),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?(this.options.limitConcurrentUploads>1?(o=t.Deferred(),this._slots.push(o),s=o.then(u)):(this._sequence=this._sequence.then(u,u),s=this._sequence),s.abort=function(){return r=[void 0,"abort","abort"],n?n.abort():(o&&o.rejectWith(l.context,r),u())},this._enhancePromise(s)):u()},_onAdd:function(e,i){var n,r,o,s,a=this,l=!0,u=t.extend({},this.options,i),c=i.files,h=c.length,d=u.limitMultiFileUploads,f=u.limitMultiFileUploadSize,p=u.limitMultiFileUploadSizeOverhead,g=0,m=this._getParamName(u),v=0;if(!h)return!1;if(f&&void 0===c[0].size&&(f=void 0),(u.singleFileUploads||d||f)&&this._isXHRUpload(u))if(u.singleFileUploads||f||!d)if(!u.singleFileUploads&&f)for(o=[],n=[],s=0;s<h;s+=1
t.setAttribute(e,i)):Zn(e)?t.setAttribute(e,ir(i)||"false"===i?"false":"true"):tr(e)?ir(i)?t.removeAttributeNS(Jn,er(e)):t.setAttributeNS(Jn,e,i):ir(i)?t.removeAttribute(e):t.setAttribute(e,i)}function te(t,e){var r=e.elm,o=e.data,s=t.data;if(!(i(o.staticClass)&&i(o.class)&&(i(s)||i(s.staticClass)&&i(s.class)))){var a=jt(e),l=r._transitionClasses;n(l)&&(a=Ht(a,Wt(l))),a!==r._prevClass&&(r.setAttribute("class",a),r._prevClass=a)}}function ee(t){function e(){(s||(s=[])).push(t.slice(p,r).trim()),p=r+1}var i,n,r,o,s,a=!1,l=!1,u=!1,c=!1,h=0,d=0,f=0,p=0;for(r=0;r<t.length;r++)if(n=i,i=t.charCodeAt(r),a)39===i&&92!==n&&(a=!1);else if(l)34===i&&92!==n&&(l=!1);else if(u)96===i&&92!==n&&(u=!1);else if(c)47===i&&92!==n&&(c=!1);else if(124!==i||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||h||d||f){switch(i){case 34:l=!0;break;case 39:a=!0;break;case 96:u=!0;break;case 40:f++;break;case 41:f--;break;case 91:d++;break;case 93:d--;break;case 123:h++;break;case 125:h--}if(47===i){for(var g=r-1,m=void 0;g>=0&&" "===(m=t.charAt(g));g--);m&&yr.test(m)||(c=!0)}}else void 0===o?(p=r+1,o=t.slice(0,r).trim()):e();if(void 0===o?o=t.slice(0,r).trim():0!==p&&e(),s)for(r=0;r<s.length;r++)o=ie(o,s[r]);return o}function ie(t,e){var i=e.indexOf("(");return i<0?'_f("'+e+'")('+t+")":'_f("'+e.slice(0,i)+'")('+t+","+e.slice(i+1)}function ne(t){console.error("[Vue compiler]: "+t)}function re(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function oe(t,e,i){(t.props||(t.props=[])).push({name:e,value:i})}function se(t,e,i){(t.attrs||(t.attrs=[])).push({name:e,value:i})}function ae(t,e,i,n,r,o){(t.directives||(t.directives=[])).push({name:e,rawName:i,value:n,arg:r,modifiers:o})}function le(t,e,i,n,r,o){var s;n&&n.capture&&(delete n.capture,e="!"+e),n&&n.once&&(delete n.once,e="~"+e),n&&n.passive&&(delete n.passive,e="&"+e),n&&n.native?(delete n.native,s=t.nativeEvents||(t.nativeEvents={})):s=t.events||(t.events={});var a={value:i,modifiers:n},l=s[e];Array.isArray(l)?r?l.unshift(a):l.push(a):s[e]=l?r?[a,l]:[l,a]:a}function ue(t,e,i){var n=ce(t,":"+e)||ce(t,"v-bind:"+e);if(null!=n)return ee(n);if(!1!==i){var r=ce(t,e);if(null!=r)return JSON.stringify(r)}}function ce(t,e){var i;if(null!=(i=t.attrsMap[e]))for(var n=t.attrsList,r=0,o=n.length;r<o;r++)if(n[r].name===e){n.splice(r,1);break}return i}function he(t,e,i){var n=i||{},r=n.number,o="$$v";n.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(o="_n("+o+")");var s=de(e,o);t.model={value:"("+e+")",expression:'"'+e+'"',callback:"function ($$v) {"+s+"}"}}function de(t,e){var i=function(t){if(zn=(Hn=t).length,Un=Bn=qn=0,t.indexOf("[")<0||t.lastIndexOf("]")<zn-1)return{exp:t,idx:null};for(;!pe();)ge(Wn=fe())?ve(Wn):91===Wn&&me(Wn);return{exp:t.substring(0,Bn),idx:t.substring(Bn+1,qn)}}(t);return null===i.idx?t+"="+e:"$set("+i.exp+", "+i.idx+", "+e+")"}function fe(){return Hn.charCodeAt(++Un)}function pe(){return Un>=zn}function ge(t){return 34===t||39===t}function me(t){var e=1;for(Bn=Un;!pe();)if(ge(t=fe()))ve(t);else if(91===t&&e++,93===t&&e--,0===e){qn=Un;break}}function ve(t){for(var e=t;!pe()&&(t=fe())!==e;);}function ye(t,e,i,n,r){if(i){var o=e,s=Vn;e=function(i){null!==(1===arguments.length?o(i):o.apply(null,arguments))&&be(t,e,n,s)}}Vn.addEventListener(t,e,Qi?{capture:n,passive:r}:n)}function be(t,e,i,n){(n||Vn).removeEventListener(t,e,i)}function _e(t,e){if(!i(t.data.on)||!i(e.data.on)){var r=e.data.on||{},o=t.data.on||{};Vn=e.elm,function(t){var e;n(t[br])&&(t[e=qi?"change":"input"]=[].concat(t[br],t[e]||[]),delete t[br]),n(t[_r])&&(t[e=Gi?"click":"change"]=[].concat(t[_r],t[e]||[]),delete t[_r])}(r),Y(r,o,ye,be,e.context)}}function xe(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var r,o,s=e.elm,a=t.data.domProps||{},l=e.data.domProps||{};for(r in n(l.__ob__)&&(l=e.data.domProps=v({},l)),a)i(l[r])&&(s[r]="");for(r in l)if(o=l[r],"textContent"!==r&&"innerHTML"!==r||(e.children&&(e.children.length=0),o!==a[r]))if("value"===r){s._value=o;var u=i(o)?"":String(o);we(s,e,u)&&(s.value=u)}else s[r]=o}}function we(t,e,i){return!t.composing&&("option"===e.tag||fu
t.$attrs=n.data&&n.data.attrs||ji,t.$listeners=i||ji,e&&t.$options.props){dn.shouldConvert=!1;for(var s=t._props,a=t.$options._propKeys||[],l=0;l<a.length;l++){var u=a[l];s[u]=j(u,t.$options.props,e,t)}dn.shouldConvert=!0,t.$options.propsData=e}if(i){var c=t.$options._parentListeners;t.$options._parentListeners=i,nt(t,i,c)}o&&(t.$slots=rt(r,n.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,i.propsData,i.listeners,e,i.children)},insert:function(t){var e,i=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,ut(n,"mounted")),t.data.keepAlive&&(i._isMounted?((e=n)._inactive=!1,Cn.push(e)):lt(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,i){if(!(i&&(e._directInactive=!0,at(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)t(e.$children[n]);ut(e,"deactivated")}}(e,!0):e.$destroy())}},Fn=Object.keys(Pn),$n=1,Nn=2,Ln=0;Pt.prototype._init=function(t){var e=this;e._uid=Ln++,e._isVue=!0,t&&t._isComponent?function(t,e){var i=t.$options=Object.create(t.constructor.options);i.parent=e.parent,i.propsData=e.propsData,i._parentVnode=e._parentVnode,i._parentListeners=e._parentListeners,i._renderChildren=e._renderChildren,i._componentTag=e._componentTag,i._parentElm=e._parentElm,i._refElm=e._refElm,e.render&&(i.render=e.render,i.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=L(It(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,i=e.parent;if(i&&!e.abstract){for(;i.$options.abstract&&i.$parent;)i=i.$parent;i.$children.push(t)}t.$parent=i,t.$root=i?i.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&nt(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$vnode=t.$options._parentVnode,i=e&&e.context;t.$slots=rt(t.$options._renderChildren,i),t.$scopedSlots=ji,t._c=function(e,i,n,r){return _t(t,e,i,n,r,!1)},t.$createElement=function(e,i,n,r){return _t(t,e,i,n,r,!0)};var n=e&&e.data;E(t,"$attrs",n&&n.attrs||ji,0,!0),E(t,"$listeners",t.$options._parentListeners||ji,0,!0)}(e),ut(e,"beforeCreate"),function(t){var e=mt(t.$options.inject,t);e&&(dn.shouldConvert=!1,Object.keys(e).forEach(function(i){E(t,i,e[i])}),dn.shouldConvert=!0)}(e),dt(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),ut(e,"created"),e.$options.el&&e.$mount(e.$options.el)},function(t){var e={get:function(){return this._data}},i={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",i),t.prototype.$set=I,t.prototype.$delete=O,t.prototype.$watch=function(t,e,i){if(a(e))return gt(this,t,e,i);(i=i||{}).user=!0;var n=new Mn(this,t,e,i);return i.immediate&&e.call(this,n.value),function(){n.teardown()}}}(Pt),function(t){var e=/^hook:/;t.prototype.$on=function(t,i){if(Array.isArray(t))for(var n=0,r=t.length;n<r;n++)this.$on(t[n],i);else(this._events[t]||(this._events[t]=[])).push(i),e.test(t)&&(this._hasHookEvent=!0);return this},t.prototype.$once=function(t,e){function i(){n.$off(t,i),e.apply(n,arguments)}var n=this;return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var i=this;if(!arguments.length)return i._events=Object.create(null),i;if(Array.isArray(t)){for(var n=0,r=t.length;n<r;n++)this.$off(t[n],e);return i}var o=i._events[t];if(!o)return i;if(1===arguments.length)return i._events[t]=null,i;if(e)for(var s,a=o.length;a--;)if((s=o[a])===e||s.fn===e){o.splice(a,1);break}return i},t.prototype.$emit=function(t){var e=this,i=e._events[t];if(i){i=i.length>1?m(i):i;for(var n=m(arguments,1),r=0,o=i.length;r<o;r++)try{i[r].apply(e,n)}catch(i){D(i,e,'event handler for "'+t+'"')}}return e}}(Pt),function(t){t.prototype._update=function(t,e){var i=this;i._isMounted&&ut(i,"beforeUpdate");var n=i.$el,r=i._vnode,o=xn;xn=i,i._vnode=t,r?i.$el=i.__patch__(r,t):(i.$el=i.__patch__(i.$el,t,e,!1,i.$options._parentElm,i.$options._refElm),i.
function C(t,e){var i=null==t?0:t.length;return i?S(t,e)/i:pt}function k(t){return function(e){return null==e?U:e[t]}}function D(t){return function(e){return null==t?U:t[e]}}function T(t,e,i,n,r){return r(t,function(t,r,o){i=n?(n=!1,t):e(i,t,r,o)}),i}function S(t,e){for(var i,n=-1,r=t.length;++n<r;){var o=e(t[n]);o!==U&&(i=i===U?o:i+o)}return i}function A(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n}function M(t){return function(e){return t(e)}}function E(t,e){return f(e,function(e){return t[e]})}function I(t,e){return t.has(e)}function O(t,e){for(var i=-1,n=t.length;++i<n&&_(e,t[i],0)>-1;);return i}function P(t,e){for(var i=t.length;i--&&_(e,t[i],0)>-1;);return i}function F(t){return"\\"+ei[t]}function $(t){return Ke.test(t)}function N(t){var e=-1,i=Array(t.size);return t.forEach(function(t,n){i[++e]=[n,t]}),i}function L(t,e){return function(i){return t(e(i))}}function R(t,e){for(var i=-1,n=t.length,r=0,o=[];++i<n;){var s=t[i];s!==e&&s!==Y||(t[i]=Y,o[r++]=i)}return o}function j(t){var e=-1,i=Array(t.size);return t.forEach(function(t){i[++e]=t}),i}function z(t){var e=-1,i=Array(t.size);return t.forEach(function(t){i[++e]=[t,t]}),i}function H(t){return $(t)?function(t){for(var e=Ye.lastIndex=0;Ye.test(t);)++e;return e}(t):yi(t)}function W(t){return $(t)?function(t){return t.match(Ye)||[]}(t):function(t){return t.split("")}(t)}var U,B=200,q="Expected a function",V="__lodash_hash_undefined__",Y="__lodash_placeholder__",X=1,K=2,G=4,Z=1,Q=2,J=1,tt=2,et=4,it=8,nt=16,rt=32,ot=64,st=128,at=256,lt=512,ut=800,ct=16,ht=1/0,dt=9007199254740991,ft=1.7976931348623157e308,pt=NaN,gt=4294967295,mt=gt-1,vt=gt>>>1,yt=[["ary",st],["bind",J],["bindKey",tt],["curry",it],["curryRight",nt],["flip",lt],["partial",rt],["partialRight",ot],["rearg",at]],bt="[object Arguments]",_t="[object Array]",xt="[object AsyncFunction]",wt="[object Boolean]",Ct="[object Date]",kt="[object DOMException]",Dt="[object Error]",Tt="[object Function]",St="[object GeneratorFunction]",At="[object Map]",Mt="[object Number]",Et="[object Null]",It="[object Object]",Ot="[object Proxy]",Pt="[object RegExp]",Ft="[object Set]",$t="[object String]",Nt="[object Symbol]",Lt="[object Undefined]",Rt="[object WeakMap]",jt="[object ArrayBuffer]",zt="[object DataView]",Ht="[object Float32Array]",Wt="[object Float64Array]",Ut="[object Int8Array]",Bt="[object Int16Array]",qt="[object Int32Array]",Vt="[object Uint8Array]",Yt="[object Uint8ClampedArray]",Xt="[object Uint16Array]",Kt="[object Uint32Array]",Gt=/\b__p \+= '';/g,Zt=/\b(__p \+=) '' \+/g,Qt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Jt=/&(?:amp|lt|gt|quot|#39);/g,te=/[&<>"']/g,ee=RegExp(Jt.source),ie=RegExp(te.source),ne=/<%-([\s\S]+?)%>/g,re=/<%([\s\S]+?)%>/g,oe=/<%=([\s\S]+?)%>/g,se=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ae=/^\w*$/,le=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ue=/[\\^$.*+?()[\]{}|]/g,ce=RegExp(ue.source),he=/^\s+|\s+$/g,de=/^\s+/,fe=/\s+$/,pe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ge=/\{\n\/\* \[wrapped with (.+)\] \*/,me=/,? & /,ve=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ye=/\\(\\)?/g,be=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,_e=/\w*$/,xe=/^[-+]0x[0-9a-f]+$/i,we=/^0b[01]+$/i,Ce=/^\[object .+?Constructor\]$/,ke=/^0o[0-7]+$/i,De=/^(?:0|[1-9]\d*)$/,Te=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Se=/($^)/,Ae=/['\n\r\u2028\u2029\\]/g,Me="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ie="["+Ee+"]",Oe="["+Me+"]",Pe="[a-z\\xdf-\\xf6\\xf8-\\xff]",Fe="[^\\ud800-\\udfff"+Ee+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",$e="\\ud83c[\\udffb-\\udfff]",Ne="[^\\ud800-\\udfff]",Le="(?:\\ud83c[\\udde6-\\uddff]){2}",Re="[\\ud800-\\udbff][\\udc00-\\udfff]",je="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ze="(?:"+Pe+"|"+Fe+")",He="(?:"+Oe+"|"+$e+")?",We="[\\ufe0e\\ufe0f]?"+He+"(?:\\u200d(?:"+[Ne,Le,Re].jo
if(Kr(t))return e=xs(t.length,e),!0}),A(e,function(e){return f(t,k(e))})}function Nr(t,e){if(!t||!t.length)return[];var i=$r(t);return null==e?i:f(i,function(t){return o(e,U,t)})}function Lr(t){var e=i(t);return e.__chain__=!0,e}function Rr(t,e){return e(t)}function jr(t,e){return(Ya(t)?a:Bs)(t,or(e,3))}function zr(t,e){return(Ya(t)?l:qs)(t,or(e,3))}function Hr(t,e){return(Ya(t)?f:Hi)(t,or(e,3))}function Wr(t,e,i){return e=i?U:e,e=t&&null==e?t.length:e,Kn(t,st,U,U,U,U,e)}function Ur(t,e){var i;if("function"!=typeof e)throw new zo(q);return t=lo(t),function(){return--t>0&&(i=e.apply(this,arguments)),t<=1&&(e=U),i}}function Br(t,e,i){function n(e){var i=l,n=u;return l=u=U,p=e,h=t.apply(n,i)}function r(t){var i=t-f;return f===U||i>=e||i<0||m&&t-p>=c}function o(){var t=Fa();if(r(t))return s(t);d=oa(o,function(t){var i=e-(t-f);return m?ws(i,c-(t-p)):i}(t))}function s(t){return d=U,v&&l?n(t):(l=u=U,h)}function a(){var t=Fa(),i=r(t);if(l=arguments,u=this,f=t,i){if(d===U)return function(t){return p=t,d=oa(o,e),g?n(t):h}(f);if(m)return Zs(d),d=oa(o,e),n(f)}return d===U&&(d=oa(o,e)),h}var l,u,c,h,d,f,p=0,g=!1,m=!1,v=!0;if("function"!=typeof t)throw new zo(q);return e=co(e)||0,to(i)&&(g=!!i.leading,c=(m="maxWait"in i)?xs(co(i.maxWait)||0,e):c,v="trailing"in i?!!i.trailing:v),a.cancel=function(){d!==U&&Zs(d),p=0,l=f=u=d=U},a.flush=function(){return d===U?h:s(Fa())},a}function qr(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new zo(q);var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],o=i.cache;if(o.has(r))return o.get(r);var s=t.apply(this,n);return i.cache=o.set(r,s)||o,s};return i.cache=new(qr.Cache||Ie),i}function Vr(t){if("function"!=typeof t)throw new zo(q);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Yr(t,e){return t===e||t!=t&&e!=e}function Xr(t){return null!=t&&Jr(t.length)&&!Zr(t)}function Kr(t){return eo(t)&&Xr(t)}function Gr(t){if(!eo(t))return!1;var e=Si(t);return e==Dt||e==kt||"string"==typeof t.message&&"string"==typeof t.name&&!no(t)}function Zr(t){if(!to(t))return!1;var e=Si(t);return e==Tt||e==St||e==xt||e==Ot}function Qr(t){return"number"==typeof t&&t==lo(t)}function Jr(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=dt}function to(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function eo(t){return null!=t&&"object"==typeof t}function io(t){return"number"==typeof t||eo(t)&&Si(t)==Mt}function no(t){if(!eo(t)||Si(t)!=It)return!1;var e=ns(t);if(null===e)return!0;var i=Vo.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&qo.call(i)==Go}function ro(t){return"string"==typeof t||!Ya(t)&&eo(t)&&Si(t)==$t}function oo(t){return"symbol"==typeof t||eo(t)&&Si(t)==Nt}function so(t){if(!t)return[];if(Xr(t))return ro(t)?W(t):An(t);if(ls&&t[ls])return function(t){for(var e,i=[];!(e=t.next()).done;)i.push(e.value);return i}(t[ls]());var e=ia(t);return(e==At?N:e==Ft?j:bo)(t)}function ao(t){return t?(t=co(t))===ht||t===-ht?(t<0?-1:1)*ft:t==t?t:0:0===t?t:0}function lo(t){var e=ao(t),i=e%1;return e==e?i?e-i:e:0}function uo(t){return t?Ye(lo(t),0,gt):0}function co(t){if("number"==typeof t)return t;if(oo(t))return pt;if(to(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=to(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(he,"");var i=we.test(t);return i||ke.test(t)?ni(t.slice(2),i?2:8):xe.test(t)?pt:+t}function ho(t){return Mn(t,vo(t))}function fo(t){return null==t?"":cn(t)}function po(t,e,i){var n=null==t?U:Di(t,e);return n===U?i:n}function go(t,e){return null!=t&&ur(t,e,Ei)}function mo(t){return Xr(t)?Fe(t):Ri(t)}function vo(t){return Xr(t)?Fe(t,!0):ji(t)}function yo(t,e){if(null==t)return{};var i=f(ir(t),function(t){return[t]});return e=or(e),Yi(t,i,function(t,i){return e(t,i[0])})}function bo(t){return null==t?[]:E(t,mo(t))}function _o(t){return Tl(fo(t).toLowerCase())}function xo(t){return(t=fo(t))&&t.replace(Te,bi).replace(Ve,"")}function wo(t,e,i){return t=fo(t),(e=
a(["filter","map","takeWhile"],function(t,e){var i=e+1,n=1==i||3==i;D.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:or(t,3),type:i}),e.__filtered__=e.__filtered__||n,e}}),a(["head","last"],function(t,e){var i="take"+(e?"Right":"");D.prototype[t]=function(){return this[i](1).value()[0]}}),a(["initial","tail"],function(t,e){var i="drop"+(e?"":"Right");D.prototype[t]=function(){return this.__filtered__?new D(this):this[i](1)}}),D.prototype.compact=function(){return this.filter(ko)},D.prototype.find=function(t){return this.filter(t).head()},D.prototype.findLast=function(t){return this.reverse().find(t)},D.prototype.invokeMap=Qi(function(t,e){return"function"==typeof t?new D(this):this.map(function(i){return Oi(i,t,e)})}),D.prototype.reject=function(t){return this.filter(Vr(or(t)))},D.prototype.slice=function(t,e){t=lo(t);var i=this;return i.__filtered__&&(t>0||e<0)?new D(i):(t<0?i=i.takeRight(-t):t&&(i=i.drop(t)),e!==U&&(i=(e=lo(e))<0?i.dropRight(-e):i.take(e-t)),i)},D.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},D.prototype.toArray=function(){return this.take(gt)},yi(D.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),s=i[o?"take"+("last"==e?"Right":""):e],a=o||/^find/.test(e);s&&(i.prototype[e]=function(){var e=this.__wrapped__,l=o?[1]:arguments,u=e instanceof D,c=l[0],h=u||Ya(e),d=function(t){var e=s.apply(i,p([t],l));return o&&f?e[0]:e};h&&n&&"function"==typeof c&&1!=c.length&&(u=h=!1);var f=this.__chain__,g=!!this.__actions__.length,m=a&&!f,v=u&&!g;if(!a&&h){e=v?e:new D(this);var y=t.apply(e,l);return y.__actions__.push({func:Rr,args:[d],thisArg:U}),new r(y,f)}return m&&v?t.apply(this,l):(y=this.thru(d),m?o?y.value()[0]:y.value():y)})}),a(["pop","push","shift","sort","splice","unshift"],function(t){var e=Ho[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);i.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Ya(i)?i:[],t)}return this[n](function(i){return e.apply(Ya(i)?i:[],t)})}}),yi(D.prototype,function(t,e){var n=i[e];if(n){var r=n.name+"";Vo.call(Fs,r)||(Fs[r]=[]),Fs[r].push({name:e,func:n})}}),Fs[jn(U,tt).name]=[{name:"wrapper",func:U}],D.prototype.clone=function(){var t=new D(this.__wrapped__);return t.__actions__=An(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=An(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=An(this.__views__),t},D.prototype.reverse=function(){if(this.__filtered__){var t=new D(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},D.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,i=Ya(t),n=e<0,r=i?t.length:0,o=function(t,e,i){for(var n=-1,r=i.length;++n<r;){var o=i[n],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=ws(e,t+s);break;case"takeRight":t=xs(t,e-s)}}return{start:t,end:e}}(0,r,this.__views__),s=o.start,a=o.end,l=a-s,u=n?a:s-1,c=this.__iteratees__,h=c.length,d=0,f=ws(l,this.__takeCount__);if(!i||!n&&r==l&&f==l)return gn(t,this.__actions__);var p=[];t:for(;l--&&d<f;){for(var g=-1,m=t[u+=e];++g<h;){var v=c[g],y=v.iteratee,b=v.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue t;break t}}p[d++]=m}return p},i.prototype.at=Da,i.prototype.chain=function(){return Lr(this)},i.prototype.commit=function(){return new r(this.value(),this.__chain__)},i.prototype.next=function(){this.__values__===U&&(this.__values__=so(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?U:this.__values__[this.__index__++]}},i.prototype.plant=function(t){for(var e,i=this;i instanceof n;){var r=Sr(i);r.__index__=0,r.__values__=U,e?o.__wrapped__=r:e=r;var o=r;i=i.__wrapped__}return o.__wrapped__=t,e},i.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof D){var e=t;return this.__actions__.length&&(e=new D(this)),(e=e.reverse()).__actions__.push({func:Rr,args:[Fr],thisArg:U}),new r(e,this.__chain__)}return this.thru(Fr)},i.pr
template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,n){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport),this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),o=r.length;o--;){var s=r[o];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",l="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i&&i.$tip&&i.$tip.is(":visible"))i.hoverState="in";else{if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)}},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!n)return;var r=this,o=this.tip(),s=this.getUID(this.type);this.setContent(),o.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&o.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(a);u&&(a=a.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element);var c=this.getPosition(),h=o[0].offsetWidth,d=o[0].offsetHeight;if(u){var f=a,p=this.options.container?t(this.options.container):this.$element.parent(),g=this.getPosition(p);a="bottom"==a&&c.bottom+d>g.bottom?"top":"top"==a&&c.top-d<g.top?"bottom":"right"==a&&c.right+h>g.width?"left":"left"==a&&c.left-h<g.left?"right":a,o.removeClass(f).addClass(a)}var m=this.getCalculatedOffset(a,c,h,d);this.applyPlacement(m,a);var v=function(){var t=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==t&&r.leave(r)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",v).emulateTransitionEnd(e.TRANSITION_DURATION):v()}},e.prototype.applyPlacement=function(e,i){var n=this.tip(),r=n[0].offsetWidth,o=n[0].offsetHeight,s=parseInt(n.css("margin-top"),10),a=parseInt(n.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),e.top=e.top+s,e.left=e.left+a,t.offset.setOffset(n[
r.$results.attr("aria-hidden","false"),r.setClasses(),r.ensureHighlightVisible()}),i.on("close",function(){r.$results.attr("aria-expanded","false"),r.$results.attr("aria-hidden","true"),r.$results.removeAttr("aria-activedescendant")}),i.on("results:toggle",function(){var t=r.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),i.on("results:select",function(){var t=r.getHighlightedResults();if(0!==t.length){var i=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?r.trigger("close",{}):r.trigger("select",{data:i})}}),i.on("results:previous",function(){var t=r.getHighlightedResults(),e=r.$results.find("[aria-selected]"),i=e.index(t);if(!(i<=0)){var n=i-1;0===t.length&&(n=0);var o=e.eq(n);o.trigger("mouseenter");var s=r.$results.offset().top,a=o.offset().top,l=r.$results.scrollTop()+(a-s);0===n?r.$results.scrollTop(0):a-s<0&&r.$results.scrollTop(l)}}),i.on("results:next",function(){var t=r.getHighlightedResults(),e=r.$results.find("[aria-selected]"),i=e.index(t)+1;if(!(i>=e.length)){var n=e.eq(i);n.trigger("mouseenter");var o=r.$results.offset().top+r.$results.outerHeight(!1),s=n.offset().top+n.outerHeight(!1),a=r.$results.scrollTop()+s-o;0===i?r.$results.scrollTop(0):s>o&&r.$results.scrollTop(a)}}),i.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),i.on("results:message",function(t){r.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=r.$results.scrollTop(),i=r.$results.get(0).scrollHeight-e+t.deltaY,n=t.deltaY>0&&e-t.deltaY<=0,o=t.deltaY<0&&i<=r.$results.height();n?(r.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):o&&(r.$results.scrollTop(r.$results.get(0).scrollHeight-r.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(i){var n=t(this),o=e.GetData(this,"data");"true"!==n.attr("aria-selected")?r.trigger("select",{originalEvent:i,data:o}):r.options.get("multiple")?r.trigger("unselect",{originalEvent:i,data:o}):r.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(i){var n=e.GetData(this,"data");r.getHighlightedResults().removeClass("select2-results__option--highlighted"),r.trigger("results:focus",{data:n,element:t(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),i=this.$results.offset().top,n=t.offset().top,r=this.$results.scrollTop()+(n-i),o=n-i;r-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},i.prototype.template=function(e,i){var n=this.options.get("templateResult"),r=this.options.get("escapeMarkup"),o=n(e,i);null==o?i.style.display="none":"string"==typeof o?i.innerHTML=r(o):t(i).append(o)},i}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(t,e,i){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var i=t('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=e.GetData(this.$element[0],"old-tabindex")?this._tabindex=e.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),i.attr("title",this.$element.attr("title")),i.attr("tabindex",this._tabindex),i.attr("aria-disabled","false"),this.$selection=i,i},n.prototype.bind=function(t,e){var n=this,r=t.id+"-results";this.container=t,this.$selection.on("focus",function(t){n.trigger("focus",t)}),this.$selection.on("blur",function(t){n
var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},i.prototype.bind=function(){},i.prototype.position=function(t,e){},i.prototype.destroy=function(){this.$dropdown.remove()},i}),e.define("select2/dropdown/search",["jquery","../utils"],function(t,e){function i(){}return i.prototype.render=function(e){var i=e.call(this),n=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=n,this.$search=n.find("input"),i.prepend(n),i},i.prototype.bind=function(e,i,n){var r=this,o=i.id+"-results";e.call(this,i,n),this.$search.on("keydown",function(t){r.trigger("keypress",t),r._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(e){t(this).off("keyup")}),this.$search.on("keyup input",function(t){r.handleSearch(t)}),i.on("open",function(){r.$search.attr("tabindex",0),r.$search.attr("aria-controls",o),r.$search.trigger("focus"),window.setTimeout(function(){r.$search.trigger("focus")},0)}),i.on("close",function(){r.$search.attr("tabindex",-1),r.$search.removeAttr("aria-controls"),r.$search.removeAttr("aria-activedescendant"),r.$search.val(""),r.$search.trigger("blur")}),i.on("focus",function(){i.isOpen()||r.$search.trigger("focus")}),i.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(r.showSearch(t)?r.$searchContainer.removeClass("select2-search--hide"):r.$searchContainer.addClass("select2-search--hide"))}),i.on("results:focus",function(t){t.data._resultId?r.$search.attr("aria-activedescendant",t.data._resultId):r.$search.removeAttr("aria-activedescendant")})},i.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.showSearch=function(t,e){return!0},i}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,i,n){this.placeholder=this.normalizePlaceholder(i.get("placeholder")),t.call(this,e,i,n)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var i=e.slice(0),n=e.length-1;n>=0;n--){var r=e[n];this.placeholder.id===r.id&&i.splice(n,1)}return i},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,i,n){this.lastParams={},t.call(this,e,i,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),e.on("query",function(t){n.lastParams=t,n.loading=!0}),e.on("query:append",function(t){n.lastParams=t,n.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=t.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),i=this.options.get("translations").get("loadingMore");return e.html(i(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function i(e,i,n){this.$dropdownParent=t(n.get("dropdownParent")||document.body),e.call(this,i,n)}return i.prototype.bind=funct
;"asset"==t?($("#current_assets_box").fadeOut(),$("#assigned_asset").show(),$("#assigned_user").hide(),$("#assigned_location").hide(),$(".notification-callout").fadeOut()):"location"==t?($("#current_assets_box").fadeOut(),$("#assigned_asset").hide(),$("#assigned_user").hide(),$("#assigned_location").show(),$(".notification-callout").fadeOut()):($("#assigned_asset").hide(),$("#assigned_user").show(),$("#assigned_location").hide(),e&&$("#current_assets_box").fadeIn(),$(".notification-callout").fadeIn())})});var r=document.location.toString();r.match("#")&&$('.nav-tabs a[href="#'+r.split("#")[1]+'"]').tab("show"),$('a[data-toggle="tab"]').click(function(t){var e=$(this).attr("href");history.pushState(null,null,e),t.preventDefault(),$('a[href="'+$(this).attr("href")+'"]').tab("show")}),$(".js-uploadFile").bind("change",function(){var t=$(this),e="#"+t.attr("id"),i=e+"-status",r=$(i);r.removeClass("text-success").removeClass("text-danger"),$(i+" .goodfile").remove(),$(i+" .badfile").remove(),$(i+" .previewSize").hide(),$(e+"-info").html("");for(var o=t.data("maxsize"),s=0,a=0;a<this.files.length;a++)s+=this.files[a].size,$(e+"-info").append('<span class="label label-default">'+this.files[a].name+" ("+n(this.files[a].size)+")</span> ");if(console.log("Max size is: "+o),console.log("Real size is: "+s),s>o)r.addClass("text-danger").removeClass("help-block").prepend('<i class="badfile fa fa-times"></i> ').append('<span class="previewSize"> Upload is '+n(s)+".</span>");else{r.addClass("text-success").removeClass("help-block").prepend('<i class="goodfile fa fa-check"></i> ');var l=$(e+"-imagePreview");!function(t,e){if(t.files&&t.files[0]){var i=new FileReader;i.onload=function(t){e.attr("src",t.target.result)},i.readAsDataURL(t.files[0])}}(this,l),l.fadeIn()}})}),function(t){t.fn.toggleDisabled=function(e){return this.each(function(){var i,n=t(this);n.attr("disabled")?(n.removeAttr("disabled"),i=!1):(n.attr("disabled","disabled"),i=!0),e&&"function"==typeof e&&e(this,i)})}}(jQuery)},jbHB:function(t,e){},k922:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.processDetail,expression:"processDetail"}],staticClass:"col-md-12"},[i("div",{staticClass:"row"},[i("div",{staticClass:"dynamic-form-row"},[t._m(0),t._v(" "),i("div",{staticClass:"col-md-7 col-xs-12"},[i("select2",{attrs:{options:t.options.importTypes,required:""},model:{value:t.options.importType,callback:function(e){t.options.importType=e},expression:"options.importType"}},[i("option",{attrs:{disabled:"",value:"0"}})])],1)]),t._v(" "),i("div",{staticClass:"dynamic-form-row"},[t._m(1),t._v(" "),i("div",{staticClass:"col-md-7 col-xs-12"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.options.update,expression:"options.update"}],staticClass:"minimal",attrs:{type:"checkbox",name:"import-update"},domProps:{checked:Array.isArray(t.options.update)?t._i(t.options.update,null)>-1:t.options.update},on:{__c:function(e){var i=t.options.update,n=e.target,r=!!n.checked;if(Array.isArray(i)){var o=t._i(i,null);n.checked?o<0&&(t.options.update=i.concat([null])):o>-1&&(t.options.update=i.slice(0,o).concat(i.slice(o+1)))}else t.options.update=r}}})])]),t._v(" "),i("div",{staticClass:"dynamic-form-row"},[t._m(2),t._v(" "),i("div",{staticClass:"col-md-7 col-xs-12"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.options.send_welcome,expression:"options.send_welcome"}],staticClass:"minimal",attrs:{type:"checkbox",name:"send-welcome"},domProps:{checked:Array.isArray(t.options.send_welcome)?t._i(t.options.send_welcome,null)>-1:t.options.send_welcome},on:{__c:function(e){var i=t.options.send_welcome,n=e.target,r=!!n.checked;if(Array.isArray(i)){var o=t._i(i,null);n.checked?o<0&&(t.options.send_welcome=i.concat([null])):o>-1&&(t.options.send_welcome=i.slice(0,o).concat(i.slice(o+1)))}else t.options.send_welcome=r}}})])]),t._v(" "),i("div",{staticClass:"dynamic-form-row"},[t._m(3),t._v(" "),i("div",{staticClass:"col-md-7 col-xs-12"},[i("input",{directives:[{name:"mo
t(this.element).children(o+", "+s+", "+a).children(l).find("."+r).removeClass(r).addClass(n),t(this.element).children(s+", "+a).slideDown(this.options.animationSpeed,function(){t(this.element).trigger(e)}.bind(this)).trigger(i)},e.prototype.collapse=function(){var e=t.Event("collapsed.boxwidget"),i=t.Event("collapsing.boxwidget"),n=this.options.collapseIcon,r=this.options.expandIcon;t(this.element).children(o+", "+s+", "+a).children(l).find("."+n).removeClass(n).addClass(r),t(this.element).children(s+", "+a).slideUp(this.options.animationSpeed,function(){t(this.element).addClass(u),t(this.element).trigger(e)}.bind(this)).trigger(i)},e.prototype.remove=function(){var e=t.Event("removed.boxwidget"),i=t.Event("removing.boxwidget");t(this.element).slideUp(this.options.animationSpeed,function(){t(this.element).trigger(e),t(this.element).remove()}.bind(this)).trigger(i)},e.prototype._setUpListeners=function(){var e=this;t(this.element).on("click",this.options.collapseTrigger,function(i){return i&&i.preventDefault(),e.toggle(t(this)),!1}),t(this.element).on("click",this.options.removeTrigger,function(i){return i&&i.preventDefault(),e.remove(t(this)),!1})};var c=t.fn.boxWidget;t.fn.boxWidget=i,t.fn.boxWidget.Constructor=e,t.fn.boxWidget.noConflict=function(){return t.fn.boxWidget=c,this},t(window).on("load",function(){t(".box").each(function(){i.call(t(this))})})}(jQuery),function(t){"use strict";function e(t,e){this.element=t,this.options=e,this.hasBindedResize=!1,this.init()}function i(i){return this.each(function(){var o=t(this),s=o.data(n);if(!s){var a=t.extend({},r,o.data(),"object"==typeof i&&i);o.data(n,s=new e(o,a))}"string"==typeof i&&s.toggle()})}var n="lte.controlsidebar",r={controlsidebarSlide:!0},o=".control-sidebar",s='[data-toggle="control-sidebar"]',a=".control-sidebar-open",l="control-sidebar-open",u="control-sidebar-hold-transition";e.prototype.init=function(){t(this.element).is(s)||t(this).on("click",this.toggle),this.fix(),t(window).resize(function(){this.fix()}.bind(this))},e.prototype.toggle=function(e){e&&e.preventDefault(),this.fix(),t(o).is(a)||t("body").is(a)?this.collapse():this.expand()},e.prototype.expand=function(){t(o).show(),this.options.controlsidebarSlide?t(o).addClass(l):t("body").addClass(u).addClass(l).delay(50).queue(function(){t("body").removeClass(u),t(this).dequeue()}),t(this.element).trigger(t.Event("expanded.controlsidebar"))},e.prototype.collapse=function(){this.options.controlsidebarSlide?t(o).removeClass(l):t("body").addClass(u).removeClass(l).delay(50).queue(function(){t("body").removeClass(u),t(this).dequeue()}),t(o).fadeOut(),t(this.element).trigger(t.Event("collapsed.controlsidebar"))},e.prototype.fix=function(){t("body").is(".layout-boxed")&&this._fixForBoxed(t(".control-sidebar-bg"))},e.prototype._fixForBoxed=function(e){e.css({position:"absolute",height:t(".wrapper").height()})};var c=t.fn.controlSidebar;t.fn.controlSidebar=i,t.fn.controlSidebar.Constructor=e,t.fn.controlSidebar.noConflict=function(){return t.fn.controlSidebar=c,this},t(document).on("click",s,function(e){e&&e.preventDefault(),i.call(t(this),"toggle")})}(jQuery),function(t){"use strict";function e(t){this.element=t}function i(i){return this.each(function(){var r=t(this),o=r.data(n);o||r.data(n,o=new e(r)),"string"==typeof i&&o.toggle(r)})}var n="lte.directchat";e.prototype.toggle=function(t){t.parents(".direct-chat").first().toggleClass("direct-chat-contacts-open")};var r=t.fn.directChat;t.fn.directChat=i,t.fn.directChat.Constructor=e,t.fn.directChat.noConflict=function(){return t.fn.directChat=r,this},t(document).on("click",'[data-widget="chat-pane-toggle"]',function(e){e&&e.preventDefault(),i.call(t(this),"toggle")})}(jQuery),function(t){"use strict";function e(t){this.options=t,this.init()}function i(i){return this.each(function(){var o=t(this),s=o.data(n);if(!s){var a=t.extend({},r,o.data(),"object"==typeof i&&i);o.data(n,s=new e(a))}"toggle"===i&&s.toggle()})}var n="lte.pushmenu",r={collapseScreenSize:767,expandOnHover:!1,expandTransitionDelay:200},o='[data-toggle="push-menu"]',s=".sidebar-mini",a="sideba
y.top="bottom")),"element"!==c&&"both"!==c||(n<_[0]&&("right"===y.left?(n+=u,y.left="left"):"center"===y.left&&(n+=u/2,y.left="left")),n+u>_[2]&&("left"===y.left?(n-=u,y.left="right"):"center"===y.left&&(n-=u/2,y.left="right"))),"string"==typeof a?a=a.split(",").map(function(t){return t.trim()}):!0===a&&(a=["top","left","right","bottom"]),a=a||[];var x=[],w=[];i<_[1]&&(a.indexOf("top")>=0?(i=_[1],x.push("top")):w.push("top")),i+l>_[3]&&(a.indexOf("bottom")>=0?(i=_[3]-l,x.push("bottom")):w.push("bottom")),n<_[0]&&(a.indexOf("left")>=0?(n=_[0],x.push("left")):w.push("left")),n+u>_[2]&&(a.indexOf("right")>=0?(n=_[2]-u,x.push("right")):w.push("right")),x.length&&function(){var t=void 0;t=void 0!==e.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned"),m.push(t),x.forEach(function(e){m.push(t+"-"+e)})}(),w.length&&function(){var t=void 0;t=void 0!==e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),m.push(t),w.forEach(function(e){m.push(t+"-"+e)})}(),(x.indexOf("left")>=0||x.indexOf("right")>=0)&&(y.left=v.left=!1),(x.indexOf("top")>=0||x.indexOf("bottom")>=0)&&(y.top=v.top=!1),v.top===o.top&&v.left===o.left&&y.top===e.attachment.top&&y.left===e.attachment.left||(e.updateAttachClasses(y,v),e.trigger("update",{attachment:y,targetAttachment:v}))}),A(function(){!1!==e.options.addTargetClasses&&f(e.target,m,g),f(e.element,m,g)}),{top:i,left:n}}});var P=x.Utils,r=P.getBounds,f=P.updateClasses,A=P.defer;x.modules.push({position:function(t){var e=this,i=t.top,n=t.left,o=this.cache("element-bounds",function(){return r(e.element)}),s=o.height,a=o.width,l=this.getTargetBounds(),u=i+s,c=n+a,h=[];i<=l.bottom&&u>=l.top&&["left","right"].forEach(function(t){var e=l[t];e!==n&&e!==c||h.push(t)}),n<=l.right&&c>=l.left&&["top","bottom"].forEach(function(t){var e=l[t];e!==i&&e!==u||h.push(t)});var d=[],p=[],g=["left","top","right","bottom"];return d.push(this.getClass("abutted")),g.forEach(function(t){d.push(e.getClass("abutted")+"-"+t)}),h.length&&p.push(this.getClass("abutted")),h.forEach(function(t){p.push(e.getClass("abutted")+"-"+t)}),A(function(){!1!==e.options.addTargetClasses&&f(e.target,p,d),f(e.element,p,d)}),!0}});var I=function(){function t(t,e){var i=[],n=!0,r=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(i.push(s.value),!e||i.length!==e);n=!0);}catch(t){r=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(r)throw o}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();return x.modules.push({position:function(t){var e=t.top,i=t.left;if(this.options.shift){var n=this.options.shift;"function"==typeof this.options.shift&&(n=this.options.shift.call(this,{top:e,left:i}));var r=void 0,o=void 0;if("string"==typeof n){n=n.split(" "),n[1]=n[1]||n[0];var s=n,a=I(s,2);r=a[0],o=a[1],r=parseFloat(r,10),o=parseFloat(o,10)}else r=n.top,o=n.left;return e+=r,i+=o,{top:e,left:i}}}}),q}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){function e(t){for(var e=t.css("visibility");"inherit"===e;)t=t.parent(),e=t.css("visibility");return"hidden"!==e}function i(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}function n(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","
})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!t(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var i=this.options,n=t.isFunction(i.helper),r=n?t(i.helper.apply(this.element[0],[e])):"clone"===i.helper?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo("parent"===i.appendTo?this.element[0].parentNode:i.appendTo),n&&r[0]===this.element[0]&&this._setPositionRelative(),r[0]===this.element[0]||/(fixed|absolute)/.test(r.css("position"))||r.css("position","absolute"),r},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),t.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(t){return/(html|body)/i.test(t.tagName)||t===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),i=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==i&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var t=this.element.position(),e=this._isRootNode(this.scrollParent[0]);return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+(e?0:this.scrollParent.scrollTop()),left:t.left-(parseInt(this.helper.css("left"),10)||0)+(e?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,i,n,r=this.options,o=this.document[0];return this.relativeContainer=null,r.containment?"window"===r.containment?void(this.containment=[t(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,t(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,t(window).scrollLeft()+t(window).width()-this.helperProportions.width-this.margins.left,t(window).scrollTop()+(t(window).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):"document"===r.containment?void(this.containment=[0,0,t(o).width()-this.helperProportions.width-this.margins.left,(t(o).height()||o.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]):r.containment.constructor===Array?void(this.containment=r.containment):("parent"===r.containment&&(r.containment=this.helper[0].parentNode),i=t(r.containment),void((n=i[0])&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(par
size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),n=i.options,r=i._proportionallyResizeElements,o=r.length&&/textarea/i.test(r[0].nodeName),s=o&&i._hasScroll(r[0],"left")?0:i.sizeDiff.height,a=o?0:i.sizeDiff.width,l={width:i.size.width-a,height:i.size.height-s},u=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(l,c&&u?{top:c,left:u}:{}),{duration:n.animateDuration,easing:n.animateEasing,step:function(){var n={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};r&&r.length&&t(r[0]).css({width:n.width,height:n.height}),i._updateCache(n),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,n,r,o,s,a,l=t(this).resizable("instance"),u=l.options,c=l.element,h=u.containment,d=h instanceof t?h.get(0):/parent/.test(h)?c.parent().get(0):h;d&&(l.containerElement=t(d),/document/.test(h)||h===document?(l.containerOffset={left:0,top:0},l.containerPosition={left:0,top:0},l.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,n){i[t]=l._num(e.css("padding"+n))}),l.containerOffset=e.offset(),l.containerPosition=e.position(),l.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},n=l.containerOffset,r=l.containerSize.height,o=l.containerSize.width,s=l._hasScroll(d,"left")?d.scrollWidth:o,a=l._hasScroll(d)?d.scrollHeight:r,l.parentData={element:d,left:n.left,top:n.top,width:s,height:a}))},resize:function(e){var i,n,r,o,s=t(this).resizable("instance"),a=s.options,l=s.containerOffset,u=s.position,c=s._aspectRatio||e.shiftKey,h={top:0,left:0},d=s.containerElement,f=!0;d[0]!==document&&/static/.test(d.css("position"))&&(h=l),u.left<(s._helper?l.left:0)&&(s.size.width=s.size.width+(s._helper?s.position.left-l.left:s.position.left-h.left),c&&(s.size.height=s.size.width/s.aspectRatio,f=!1),s.position.left=a.helper?l.left:0),u.top<(s._helper?l.top:0)&&(s.size.height=s.size.height+(s._helper?s.position.top-l.top:s.position.top),c&&(s.size.width=s.size.height*s.aspectRatio,f=!1),s.position.top=s._helper?l.top:0),r=s.containerElement.get(0)===s.element.parent().get(0),o=/relative|absolute/.test(s.containerElement.css("position")),r&&o?(s.offset.left=s.parentData.left+s.position.left,s.offset.top=s.parentData.top+s.position.top):(s.offset.left=s.element.offset().left,s.offset.top=s.element.offset().top),i=Math.abs(s.sizeDiff.width+(s._helper?s.offset.left-h.left:s.offset.left-l.left)),n=Math.abs(s.sizeDiff.height+(s._helper?s.offset.top-h.top:s.offset.top-l.top)),i+s.size.width>=s.parentData.width&&(s.size.width=s.parentData.width-i,c&&(s.size.height=s.size.width/s.aspectRatio,f=!1)),n+s.size.height>=s.parentData.height&&(s.size.height=s.parentData.height-n,c&&(s.size.width=s.size.height*s.aspectRatio,f=!1)),f||(s.position.left=s.prevPosition.left,s.position.top=s.prevPosition.top,s.size.width=s.prevSize.width,s.size.height=s.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,n=e.containerOffset,r=e.containerPosition,o=e.containerElement,s=t(e.helper),a=s.offset(),l=s.outerWidth()-e.sizeDiff.width,u=s.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:a.left-r.left-n.left,width:l,height:u}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:a.left-r.left-n.left,width:l,height:u})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top
o=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-r.grid[0]:n+r.grid[0]:n)),{top:s-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():l?0:a.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():l?0:a.scrollLeft())}},_rearrange:function(t,e,i,n){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var r=this.counter;this._delay(function(){r===this.counter&&this.refreshPositions(!n)})},_clear:function(t,e){function i(t,e,i){return function(n){i._trigger(t,n,e._uiHash(e))}}this.reverting=!1;var n,r=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(n in this._storedCSS)"auto"!==this._storedCSS[n]&&"static"!==this._storedCSS[n]||(this._storedCSS[n]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();for(this.fromOutside&&!e&&r.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||r.push(function(t){this._trigger("update",t,this._uiHash())}),this!==this.currentContainer&&(e||(r.push(function(t){this._trigger("remove",t,this._uiHash())}),r.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),r.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),n=this.containers.length-1;n>=0;n--)e||r.push(i("deactivate",this,this.containers[n])),this.containers[n].containerCache.over&&(r.push(i("out",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(n=0;n<r.length;n++)r[n].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===t.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}}),t.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=t(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_get
last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(e,i){var n={};return t.each(e,function(r){var o=i.options.classes[r]||"";o=t.trim(o.replace(d,"")),n[r]=(o+" "+e[r]).replace(/\s+/g," ")}),n},_setOption:function(t,e){if("direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"===t)return void this._callChildMethod(e?"disable":"enable");this.refresh()},refresh:function(){var e,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],function(t,n){var r=e[n]().data("ui-controlgroup-data");if(r&&i["_"+r.widgetName+"Options"]){var o=i["_"+r.widgetName+"Options"](1===e.length?"only":n);o.classes=i._resolveClassesValues(o.classes,r),r.element[r.widgetName](o)}else i._updateCornerClass(e[n](),n)}),this._callChildMethod("refresh"))}});t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,i,n=this,r=this._super()||{};return this._readType(),i=this.element.labels(),this.label=t(i[i.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){n.originalLabel+=3===this.nodeType?t(this).text():this.outerHTML}),this.originalLabel&&(r.label=this.originalLabel),e=this.element[0].disabled,null!=e&&(r.disabled=e),r},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e,i=this.element[0].name,n="input[name='"+t.ui.escapeSelector(i)+"']";return i?(e=this.form.length?t(this.form[0].elements).filter(n):t(n).filter(function(){return 0===t(this).form().length}),e.not(this.element)):t([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=t(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){if("label"!==t||e){if(this._super(t,e),"disabled"===t)return this._toggleClass(this.label,null,"ui-state-d
l=a.exec(i)}return new Date(r,o,s)}(i):"number"==typeof i?isNaN(i)?n:function(t){var e=new Date;return e.setDate(e.getDate()+t),e}(i):new Date(i.getTime());return r=r&&"Invalid Date"===r.toString()?n:r,r&&(r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0)),this._daylightSavingAdjust(r)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,r=t.selectedMonth,o=t.selectedYear,s=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=s.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=s.getMonth(),t.drawYear=t.selectedYear=t.currentYear=s.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,s,a,l,u,c,h,d,f,p,g,m,v,y,b,_,x,w,C,k,D,T,S,A,M,E,I,O,P,F,$,N,L,R,j,z=new Date,H=this._daylightSavingAdjust(new Date(z.getFullYear(),z.getMonth(),z.getDate())),W=this._get(t,"isRTL"),U=this._get(t,"showButtonPanel"),B=this._get(t,"hideIfNoPrevNext"),q=this._get(t,"navigationAsDateFormat"),V=this._getNumberOfMonths(t),Y=this._get(t,"showCurrentAtPos"),X=this._get(t,"stepMonths"),K=1!==V[0]||1!==V[1],G=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),Z=this._getMinMaxDate(t,"min"),Q=this._getMinMaxDate(t,"max"),J=t.drawMonth-Y,tt=t.drawYear;if(J<0&&(J+=12,tt--),Q)for(e=this._daylightSavingAdjust(new Date(Q.getFullYear(),Q.getMonth()-V[0]*V[1]+1,Q.getDate())),e=Z&&e<Z?Z:e;this._daylightSavingAdjust(new Date(tt,J,1))>e;)--J<0&&(J=11,tt--);for(t.drawMonth=J,t.drawYear=tt,i=this._get(t,"prevText"),i=q?this.formatDate(i,this._daylightSavingAdjust(new Date(tt,J-X,1)),this._getFormatConfig(t)):i,n=this._canAdjustMonth(t,-1,tt,J)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"e":"w")+"'>"+i+"</span></a>":B?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"e":"w")+"'>"+i+"</span></a>",r=this._get(t,"nextText"),r=q?this.formatDate(r,this._daylightSavingAdjust(new Date(tt,J+X,1)),this._getFormatConfig(t)):r,o=this._canAdjustMonth(t,1,tt,J)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+r+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"w":"e")+"'>"+r+"</span></a>":B?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+r+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"w":"e")+"'>"+r+"</span></a>",s=this._get(t,"currentText"),a=this._get(t,"gotoCurrent")&&t.currentDay?G:H,s=q?this.formatDate(s,a,this._getFormatConfig(t)):s,l=t.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(t,"closeText")+"</button>",u=U?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(W?l:"")+(this._isInRange(t,a)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='
case t.ui.keyCode.TAB:case t.ui.keyCode.ESCAPE:this.close(e),i=!1;break;case t.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case t.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case t.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case t.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case t.ui.keyCode.LEFT:this._move("prev",e);break;case t.ui.keyCode.RIGHT:this._move("next",e);break;case t.ui.keyCode.HOME:case t.ui.keyCode.PAGE_UP:this._move("first",e);break;case t.ui.keyCode.END:case t.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),i=!1}i&&e.preventDefault()}},_selectFocusedItem:function(t){var e=this.menuItems.eq(this.focusIndex).parent("li");e.hasClass("ui-state-disabled")||this._select(e.data("ui-selectmenu-item"),t)},_select:function(t,e){var i=this.element[0].selectedIndex;this.element[0].selectedIndex=t.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(t)),this._setAria(t),this._trigger("select",e,{item:t}),t.index!==i&&this._trigger("change",e,{item:t}),this.close(e)},_setAria:function(t){var e=this.menuItems.eq(t.index).attr("id");this.button.attr({"aria-labelledby":e,"aria-activedescendant":e}),this.menu.attr("aria-activedescendant",e)},_setOption:function(t,e){if("icons"===t){var i=this.button.find("span.ui-icon");this._removeClass(i,null,this.options.icons.button)._addClass(i,null,e.button)}this._super(t,e),"appendTo"===t&&this.menuWrap.appendTo(this._appendTo()),"width"===t&&this._resizeButton()},_setOptionDisabled:function(t){this._super(t),this.menuInstance.option("disabled",t),this.button.attr("aria-disabled",t),this._toggleClass(this.button,null,"ui-state-disabled",t),this.element.prop("disabled",t),t?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?t(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var t=this.options.width;if(!1===t)return void this.button.css("width","");null===t&&(t=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(t)},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var t=this._super();return t.disabled=this.element.prop("disabled"),t},_parseOptions:function(e){var i=this,n=[];e.each(function(e,r){n.push(i._parseOption(t(r),e))}),this.items=n},_parseOption:function(t,e){var i=t.parent("optgroup");return{element:t,index:e,value:t.val(),label:t.text(),optgroup:i.attr("label")||"",disabled:i.prop("disabled")||t.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),t.widget("ui.slider",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:fu
this.xhr.done(function(t,e,r){setTimeout(function(){s.html(t),n._trigger("load",i,a),l(r,e)},1)}).fail(function(t,e){setTimeout(function(){l(t,e)},1)})))},_ajaxSettings:function(e,i,n){var r=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,o){return r._trigger("beforeLoad",i,t.extend({jqXHR:e,ajaxSettings:o},n))}}},_getPanelForTab:function(e){var i=t(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}}),!1!==t.uiBackCompat&&t.widget("ui.tabs",t.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}});t.ui.tabs;t.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=t(this).attr("title")||"";return t("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,i){var n=(e.attr("aria-describedby")||"").split(/\s+/);n.push(i),e.data("ui-tooltip-id",i).attr("aria-describedby",t.trim(n.join(" ")))},_removeDescribedBy:function(e){var i=e.data("ui-tooltip-id"),n=(e.attr("aria-describedby")||"").split(/\s+/),r=t.inArray(i,n);-1!==r&&n.splice(r,1),e.removeData("ui-tooltip-id"),n=t.trim(n.join(" ")),n?e.attr("aria-describedby",n):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=t("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=t([])},_setOption:function(e,i){var n=this;this._super(e,i),"content"===e&&t.each(this.tooltips,function(t,e){n._updateContent(e.element)})},_setOptionDisabled:function(t){this[t?"_disable":"_enable"]()},_disable:function(){var e=this;t.each(this.tooltips,function(i,n){var r=t.Event("blur");r.target=r.currentTarget=n.element[0],e.close(r,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=t(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=t(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=t([])},open:function(e){var i=this,n=t(e?e.target:this.element).closest(this.options.items);n.length&&!n.data("ui-tooltip-id")&&(n.attr("title")&&n.data("ui-tooltip-title",n.attr("title")),n.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&n.parents().each(function(){var e,n=t(this);n.data("ui-tooltip-open")&&(e=t.Event("blur"),e.target=e.currentTarget=this,i.close(e,!0)),n.attr("title")&&(n.uniqueId(),i.parents[this.id]={element:this,title:n.attr("title")},n.attr("title",""))}),this._registerCloseHandlers(e,n),this._updateContent(n,e))},_updateContent:function(t,e){var i,n=this.options.content,r=this,o=e?e.type:null;if("string"==typeof n||n.nodeType||n.jquery)return this._open(e,t,n);(i=n.call(t[0],function(i){r._delay(function(){t.data("ui-tooltip-open")&&(e&&(e.type=o),this._open(e,t,i))})}))&&this._open(e,t,i)},_open:function(e,i,n){function r(t){u.of=t,s.is(":hidden")||s.position(u)}var o,s,a,l,u=t.extend({},this.options.position);if(n){if(o=this._find(i))return void o.tooltip.find(".ui-tooltip-content").html(n);i.is("[title]")&&(e&&"mouseover"===e.type?i.attr("title",""):i.removeAttr("title")),o=this._tooltip(i),s=o.tooltip,this._addDescribedBy(i,s.attr("id")),s.find(".ui-tooltip-content").html(n),this.liveRegion.children().hide(),l=t("<div>").html(s.find(".ui-tooltip-content").html()),l.removeAttr("name").find("[name]").removeAttr("name"),l.removeAttr("id").find("[id]").removeAttr("id"),l.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:r}),r(e)):s.position(t.extend({of:i},this.options.position)),s.hide(),this._show(s,this.options.show),this.options.track&&this.options.show&&this.option
b||(t.returnValue=!1)}}function o(t,e,i){b=!1;var n=t,o=_.outerHeight()-T.outerHeight();if(e&&(n=parseInt(T.css("top"))+t*parseInt(r.wheelStep)/100*T.outerHeight(),n=Math.min(Math.max(n,0),o),n=t>0?Math.ceil(n):Math.floor(n),T.css({top:n+"px"})),g=parseInt(T.css("top"))/(_.outerHeight()-T.outerHeight()),n=g*(_[0].scrollHeight-_.outerHeight()),i){n=t;var s=n/_[0].scrollHeight*_.outerHeight();s=Math.min(Math.max(s,0),o),T.css({top:s+"px"})}_.scrollTop(n),_.trigger("slimscrolling",~~n),a(),l()}function s(){p=Math.max(_.outerHeight()/_[0].scrollHeight*_.outerHeight(),y),T.css({height:p+"px"});var t=p==_.outerHeight()?"none":"block";T.css({display:t})}function a(){if(s(),clearTimeout(d),g==~~g){if(b=r.allowPageScroll,m!=g){var t=0==~~g?"top":"bottom";_.trigger("slimscroll",t)}}else b=!1;if(m=g,p>=_.outerHeight())return void(b=!0);T.stop(!0,!0).fadeIn("fast"),r.railVisible&&D.stop(!0,!0).fadeIn("fast")}function l(){r.alwaysVisible||(d=setTimeout(function(){r.disableFadeOut&&u||c||h||(T.fadeOut("slow"),D.fadeOut("slow"))},1e3))}var u,c,h,d,f,p,g,m,v="<div></div>",y=30,b=!1,_=e(this);if(_.parent().hasClass(r.wrapperClass)){var x=_.scrollTop();if(T=_.siblings("."+r.barClass),D=_.siblings("."+r.railClass),s(),e.isPlainObject(i)){if("height"in i&&"auto"==i.height){_.parent().css("height","auto"),_.css("height","auto");var w=_.parent().parent().height();_.parent().css("height",w),_.css("height",w)}else if("height"in i){var C=i.height;_.parent().css("height",C),_.css("height",C)}if("scrollTo"in i)x=parseInt(r.scrollTo);else if("scrollBy"in i)x+=parseInt(r.scrollBy);else if("destroy"in i)return T.remove(),D.remove(),void _.unwrap();o(x,!1,!0)}}else if(!(e.isPlainObject(i)&&"destroy"in i)){r.height="auto"==r.height?_.parent().height():r.height;var k=e(v).addClass(r.wrapperClass).css({position:"relative",overflow:"hidden",width:r.width,height:r.height});_.css({overflow:"hidden",width:r.width,height:r.height});var D=e(v).addClass(r.railClass).css({width:r.size,height:"100%",position:"absolute",top:0,display:r.alwaysVisible&&r.railVisible?"block":"none","border-radius":r.railBorderRadius,background:r.railColor,opacity:r.railOpacity,zIndex:90}),T=e(v).addClass(r.barClass).css({background:r.color,width:r.size,position:"absolute",top:0,opacity:r.opacity,display:r.alwaysVisible?"block":"none","border-radius":r.borderRadius,BorderRadius:r.borderRadius,MozBorderRadius:r.borderRadius,WebkitBorderRadius:r.borderRadius,zIndex:99}),S="right"==r.position?{right:r.distance}:{left:r.distance};D.css(S),T.css(S),_.wrap(k),_.parent().append(T),_.parent().append(D),r.railDraggable&&T.bind("mousedown",function(i){var n=e(document);return h=!0,t=parseFloat(T.css("top")),pageY=i.pageY,n.bind("mousemove.slimscroll",function(e){currTop=t+e.pageY-pageY,T.css("top",currTop),o(0,T.position().top,!1)}),n.bind("mouseup.slimscroll",function(t){h=!1,l(),n.unbind(".slimscroll")}),!1}).bind("selectstart.slimscroll",function(t){return t.stopPropagation(),t.preventDefault(),!1}),D.hover(function(){a()},function(){l()}),T.hover(function(){c=!0},function(){c=!1}),_.hover(function(){u=!0,a(),l()},function(){u=!1,l()}),_.bind("touchstart",function(t,e){t.originalEvent.touches.length&&(f=t.originalEvent.touches[0].pageY)}),_.bind("touchmove",function(t){if(b||t.originalEvent.preventDefault(),t.originalEvent.touches.length){o((f-t.originalEvent.touches[0].pageY)/r.touchScrollStep,!0),f=t.originalEvent.touches[0].pageY}}),s(),"bottom"===r.start?(T.css({top:_.outerHeight()-T.outerHeight()}),o(0,!0)):"top"!==r.start&&(o(e(r.start).position().top,null,!0),r.alwaysVisible||T.hide()),function(t){window.addEventListener?(t.addEventListener("DOMMouseScroll",n,!1),t.addEventListener("mousewheel",n,!1)):document.attachEvent("onmousewheel",n)}(this)}}),this}}),e.fn.extend({slimscroll:e.fn.slimScroll})}(jQuery),function(t,e){"use strict";t.ajaxPrefilter(function(t,e,i){if(t.iframe)return t.originalURL=t.url,"iframe"}),t.ajaxTransport("iframe",function(e,i,n){function r(){l.each(function(e,i){var n=t(i);n.data("clone").replaceWith(n)}),o.remove(),s.one("load",function(){s.remove()}),s.att
re:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*?\)/,format:"rgb",parse:function(t){return[t[1],t[2],t[3],1]}},{re:/rgb\(\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*?\)/,format:"rgb",parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],1]}},{re:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d*(?:\.\d+)?)\s*)?\)/,format:"rgba",parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba\(\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*(?:,\s*(\d*(?:\.\d+)?)\s*)?\)/,format:"rgba",parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/hsl\(\s*(\d*(?:\.\d+)?)\s*,\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*?\)/,format:"hsl",parse:function(t){return[t[1]/360,t[2]/100,t[3]/100,t[4]]}},{re:/hsla\(\s*(\d*(?:\.\d+)?)\s*,\s*(\d*(?:\.\d+)?)\%\s*,\s*(\d*(?:\.\d+)?)\%\s*(?:,\s*(\d*(?:\.\d+)?)\s*)?\)/,format:"hsla",parse:function(t){return[t[1]/360,t[2]/100,t[3]/100,t[4]]}},{re:/#?([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,format:"hex",parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16),1]}},{re:/#?([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/,format:"hex",parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16),1]}}],colorNameToHex:function(t){return void 0!==this.colors[t.toLowerCase()]&&this.colors[t.toLowerCase()]}};var i={horizontal:!1,inline:!1,color:!1,format:!1,input:"input",container:!1,component:".add-on, .input-group-addon",fallbackColor:!1,fallbackFormat:"hex",hexNumberSignPrefix:!0,sliders:{saturation:{maxLeft:100,maxTop:100,callLeft:"setSaturation",callTop:"setBrightness"},hue:{maxLeft:0,maxTop:100,callLeft:!1,callTop:"setHue"},alpha:{maxLeft:0,maxTop:100,callLeft:!1,callTop:"setAlpha"}},slidersHorz:{saturation:{maxLeft:100,maxTop:100,callLeft:"setSaturation",callTop:"setBrightness"},hue:{maxLeft:100,maxTop:0,callLeft:"setHue",callTop:!1},alpha:{maxLeft:100,maxTop:0,callLeft:"setAlpha",callTop:!1}},template:'<div class="colorpicker dropdown-menu"><div class="colorpicker-saturation"><i><b></b></i></div><div class="colorpicker-hue"><i></i></div><div class="colorpicker-alpha"><i></i></div><div class="colorpicker-color"><div /></div><div class="colorpicker-selectors"></div></div>',align:"right",customClass:null,colorSelectors:null},n=function(e,n){this.element=t(e).addClass("colorpicker-element"),this.options=t.extend(!0,{},i,this.element.data(),n),this.component=this.options.component,this.component=!1!==this.component&&this.element.find(this.component),this.component&&0===this.component.length&&(this.component=!1),this.container=!0===this.options.container?this.element:this.options.container,this.container=!1!==this.container&&t(this.container),this.input=this.element.is("input")?this.element:!!this.options.input&&this.element.find(this.options.input),this.input&&0===this.input.length&&(this.input=!1),this.color=this.createColor(!1!==this.options.color?this.options.color:this.getValue()),this.format=!1!==this.options.format?this.options.format:this.color.origFormat,!1!==this.options.color&&(this.updateInput(this.color),this.updateData(this.color)),this.disabled=!1;var r=this.picker=t(this.options.template);if(this.options.customClass&&r.addClass(this.options.customClass),this.options.inline?r.addClass("colorpicker-inline colorpicker-visible"):r.addClass("colorpicker-hidden"),this.options.horizontal&&r.addClass("colorpicker-horizontal"),-1===["rgba","hsla","alias"].indexOf(this.format)&&!1!==this.options.format&&"transparent"!==this.getValue()||r.addClass("colorpicker-with-alpha"),"right"===this.options.align&&r.addClass("colorpicker-right"),!0===this.options.inline&&r.addClass("colorpicker-no-arrow"),this.options.colorSelectors){var o=this,s=o.picker.find(".colorpicker-selectors");s.length>0&&(t.each(this.options.colorSelectors,function(e,i){var n=t("<i />").addClass("colorpicker-selectors-color").css("background-color",i).data("class",e).data("alias",e);n.on("mousedown.colorpicker touchstart.colorpicker",function(e){e.preventDefault(),o.setValue("alias"===o.format?t(thi
(a<u||a>h)&&O.addClass("disabled"),a===u&&O.slice(0,c).addClass("disabled"),a===h&&O.slice(d+1).addClass("disabled"),this.o.beforeShowMonth!==t.noop){var P=this;t.each(O,function(i,n){var r=new Date(a,i,1),o=P.o.beforeShowMonth(r);o===e?o={}:"boolean"==typeof o?o={enabled:o}:"string"==typeof o&&(o={classes:o}),!1!==o.enabled||t(n).hasClass("disabled")||t(n).addClass("disabled"),o.classes&&t(n).addClass(o.classes),o.tooltip&&t(n).prop("title",o.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,a,u,h,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,a,u,h,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,a,u,h,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var t,e,i=new Date(this.viewDate),n=i.getUTCFullYear(),r=i.getUTCMonth(),o=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,s=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,a=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,u=1;switch(this.viewMode){case 4:u*=10;case 3:u*=10;case 2:u*=10;case 1:t=Math.floor(n/u)*u<=o,e=Math.floor(n/u)*u+u>a;break;case 0:t=n<=o&&r<=s,e=n>=a&&r>=l}this.picker.find(".prev").toggleClass("disabled",t),this.picker.find(".next").toggleClass("disabled",e)}},click:function(e){e.preventDefault(),e.stopPropagation();var r,o,s,a;r=t(e.target),r.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),r.hasClass("today")&&!r.hasClass("day")&&(this.setViewMode(0),this._setDate(n(),"linked"===this.o.todayBtn?null:"view")),r.hasClass("clear")&&this.clearDates(),r.hasClass("disabled")||(r.hasClass("month")||r.hasClass("year")||r.hasClass("decade")||r.hasClass("century"))&&(this.viewDate.setUTCDate(1),o=1,1===this.viewMode?(a=r.parent().find("span").index(r),s=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(a)):(a=0,s=Number(r.text()),this.viewDate.setUTCFullYear(s)),this._trigger(v.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(i(s,a,o)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(e){var i=t(e.currentTarget),n=i.data("date"),r=new Date(n);this.o.updateViewDate&&(r.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),r.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(r)},navArrowsClick:function(e){var i=t(e.currentTarget),n=i.hasClass("prev")?-1:1;0!==this.viewMode&&(n*=12*v.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,n),this._trigger(v.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(t){var e=this.dates.contains(t);if(t||this.dates.clear(),-1!==e?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(e):!1===this.o.multidate?(this.dates.clear(),this.dates.push(t)):this.dates.push(t),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(t,e){e&&"date"!==e||this._toggle_multidate(t&&new Date(t)),(!e&&this.o.updateViewDate||"view"===e)&&(this.viewDate=t&&new Date(t)),this.fill(),this.setValue(),e&&"view"===e||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||e&&"date"!==e||this.hide()},moveDay:function(t,e){var i=new Date(t);return i.setUTCDate(t.getUTCDate()+e),i},moveWeek:function(t,e){return this.moveDay(t,7*e)},moveMonth:function(t,e){if(!s(t))return this.o.defaultViewDate;if(!e)return t;var i,n,r=new Date(t.valueOf()),o=r.getUTCDate(),a=r.getUTCMonth(),l=Math.abs(e);if(e=e>0?1:-1,1===l)n=-1===e?function(){return r.getUTCMonth()===a}:function(){return r.getUTCMonth()!==i},i=a+e,r.setUTCMonth(i),i=(i+12)%12;else{for(var u=0;u<l;u++)r=this.moveMonth(r,e);i=r.getUTCMonth(),r.setUTCDate(o),n=function(){return i!==r.getUTCMonth()}}for(;n();)r.setUTCDate(--o),r.setU
position:"absolute",opacity:0},P="checkbox"==a[v]?C.checkboxClass||"icheckbox":C.radioClass||"i"+c,F=t(w+'[for="'+d+'"]').add(o.closest(w)),$=!!C.aria,N=l+"-"+Math.random().toString(36).substr(2,6),L='<div class="'+P+'" '+($?'role="'+a[v]+'" ':"");$&&F.each(function(){L+='aria-labelledby="',this.id?L+=this.id:(this.id=N,L+=N),L+='"'}),L=o.wrap(L+"/>")[x]("ifCreated").parent().append(C.insert),s=t('<ins class="'+u+'"/>').css(D).appendTo(L),o.data(l,{o:C,s:o.attr("style")}).css(O),!!C.inheritClass&&L[b](a.className||""),!!C.inheritID&&d&&L.attr("id",l+"-"+d),"static"==L.css("position")&&L.css("position","relative"),e(o,!0,m),F.length&&F.on("click.i mouseover.i mouseout.i "+y,function(i){var n=i[v],r=t(this);if(!a[f]){if("click"==n){if(t(i.target).is("a"))return;e(o,!1,!0)}else M&&(/ut|nd/.test(n)?(L[_](T),r[_](E)):(L[b](T),r[b](E)));if(!k)return!1;i.stopPropagation()}}),o.on("click.i focus.i blur.i keyup.i keydown.i keypress.i",function(t){var e=t[v],r=t.keyCode;return"click"!=e&&("keydown"==e&&32==r?(a[v]==c&&a[h]||(a[h]?n(o,h):i(o,h)),!1):void("keyup"==e&&a[v]==c?!a[h]&&i(o,h):/us|ur/.test(e)&&L["blur"==e?_:b](S)))}),s.on("click mousedown mouseup mouseover mouseout "+y,function(t){var i=t[v],n=/wn|up/.test(i)?A:T;if(!a[f]){if("click"==i?e(o,!1,!0):(/wn|er|in/.test(i)?L[b](n):L[_](n+" "+A),F.length&&M&&n==T&&F[/ut|nd/.test(i)?_:b](E)),!k)return!1;t.stopPropagation()}})})}}(window.jQuery||window.Zepto),function(t){function e(t){for(var e,i,n=t.length;n;e=parseInt(Math.random()*n),i=t[--n],t[n]=t[e],t[e]=i);return t}function i(t,e){return Math.floor(Math.random()*(e-t+1)+t)}var n=[],r=[],o=[],s=[],a=null,l={init:function(e,i){for(var u=t.extend({bind:"click",passwordElement:null,displayElement:null,passwordLength:16,uppercase:!0,lowercase:!0,numbers:!0,specialChars:!0,additionalSpecialChars:[],onPasswordGenerated:function(t){}},e),c=48;c<58;c++)n.push(c);for(c=65;c<91;c++)r.push(c);for(c=97;c<123;c++)o.push(c);return s=[33,35,64,36,38,42,91,93,123,125,92,47,63,58,59,95,45].concat(u.additionalSpecialChars),this.each(function(){a=t(this),a.bind(u.bind,function(t){t.preventDefault(),l.generatePassword(u)})})},generatePassword:function(a){var l=new Array,u=a.uppercase+a.lowercase+a.numbers+a.specialChars,c=0,h=new Array,d=Math.floor(a.passwordLength/u);if(a.uppercase){for(var f=0;f<d;f++)l.push(String.fromCharCode(r[i(0,r.length-1)]));h=h.concat(r),c++}if(a.numbers){for(var f=0;f<d;f++)l.push(String.fromCharCode(n[i(0,n.length-1)]));h=h.concat(n),c++}if(a.specialChars){for(var f=0;f<d;f++)l.push(String.fromCharCode(s[i(0,s.length-1)]));h=h.concat(s),c++}var p=a.passwordLength-c*d;if(a.lowercase)for(var f=0;f<p;f++)l.push(String.fromCharCode(o[i(0,o.length-1)]));else for(var f=0;f<p;f++)l.push(String.fromCharCode(h[i(0,h.length-1)]));l=e(l).join(""),null!==a.passwordElement&&t(a.passwordElement).val(l),null!==a.displayElement&&(t(a.displayElement).is("input")?t(a.displayElement).val(l):t(a.displayElement).text(l)),a.onPasswordGenerated(l)}};t.fn.pGenerator=function(e){return l[e]?l[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error("Method "+e+" does not exist on jQuery.pGenerator"):l.init.apply(this,arguments)}}(jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(function(){try{return require("moment")}catch(t){}}()):"function"==typeof define&&define.amd?define(["require"],function(t){return e(function(){try{return t("moment")}catch(t){}}())}):(t=t||self,t.Chart=e(t.moment))}(this,function(t){"use strict";function e(){for(var t={},e=Object.keys(Ye),i=e.length,n=0;n<i;n++)t[e[n]]={distance:-1,parent:null};return t}function i(t){var i=e(),n=[t];for(i[t].distance=0;n.length;)for(var r=n.pop(),o=Object.keys(Ye[r]),s=o.length,a=0;a<s;a++){var l=o[a],u=i[l];-1===u.distance&&(u.distance=i[r].distance+1,u.parent=r,n.unshift(l))}return i}function n(t,e){return function(i){return e(t(i))}}function r(t,e){for(var i=[e[t].parent,t],r=Ye[e[t].parent][t],o=e[t].parent;e[o].parent;)i.unshift(e[o].parent),r=n(Ye[e[o].parent][o],r),o=e[o].parent;return r.conversion=
major:!1});return 0!==a&&i?Oe(t,o,s,i):o}function Fe(t,e,i){var n,r=t._model||{},o=r.fill;if(void 0===o&&(o=!!r.backgroundColor),!1===o||null===o)return!1;if(!0===o)return"origin";if(n=parseFloat(o,10),isFinite(n)&&Math.floor(n)===n)return"-"!==o[0]&&"+"!==o[0]||(n=e+n),!(n===e||n<0||n>=i)&&n;switch(o){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return o;default:return!1}}function $e(t){var e,i=t.el._model||{},n=t.el._scale||{},r=t.fill,o=null;if(isFinite(r))return null;if("start"===r?o=void 0===i.scaleBottom?n.bottom:i.scaleBottom:"end"===r?o=void 0===i.scaleTop?n.top:i.scaleTop:void 0!==i.scaleZero?o=i.scaleZero:n.getBasePixel&&(o=n.getBasePixel()),void 0!==o&&null!==o){if(void 0!==o.x&&void 0!==o.y)return o;if(Si.isFinite(o))return e=n.isHorizontal(),{x:e?o:null,y:e?null:o}}return null}function Ne(t){var e,i,n,r,o,s=t.el._scale,a=s.options,l=s.chart.data.labels.length,u=t.fill,c=[];if(!l)return null;for(e=a.ticks.reverse?s.max:s.min,i=a.ticks.reverse?s.min:s.max,n=s.getPointPositionForValue(0,e),r=0;r<l;++r)o="start"===u||"end"===u?s.getPointPositionForValue(r,"start"===u?e:i):s.getBasePosition(r),a.gridLines.circular&&(o.cx=n.x,o.cy=n.y,o.angle=s.getIndexAngle(r)-Math.PI/2),c.push(o);return c}function Le(t){return(t.el._scale||{}).getPointPositionForValue?Ne(t):$e(t)}function Re(t,e,i){var n,r=t[e],o=r.fill,s=[e];if(!i)return o;for(;!1!==o&&-1===s.indexOf(o);){if(!isFinite(o))return o;if(!(n=t[o]))return!1;if(n.visible)return o;s.push(o),o=n.fill}return!1}function je(t){var e=t.fill,i="dataset";return!1===e?null:(isFinite(e)||(i="boundary"),Ur[i](t))}function ze(t){return t&&!t.skip}function He(t,e,i,n,r){var o,s,a,l;if(n&&r){for(t.moveTo(e[0].x,e[0].y),o=1;o<n;++o)Si.canvas.lineTo(t,e[o-1],e[o]);if(void 0===i[0].angle)for(t.lineTo(i[r-1].x,i[r-1].y),o=r-1;o>0;--o)Si.canvas.lineTo(t,i[o],i[o-1],!0);else for(s=i[0].cx,a=i[0].cy,l=Math.sqrt(Math.pow(i[0].x-s,2)+Math.pow(i[0].y-a,2)),o=r-1;o>0;--o)t.arc(s,a,l,i[o].angle,i[o-1].angle,!0)}}function We(t,e,i,n,r,o){var s,a,l,u,c,h,d,f,p=e.length,g=n.spanGaps,m=[],v=[],y=0,b=0;for(t.beginPath(),s=0,a=p;s<a;++s)l=s%p,u=e[l]._view,c=i(u,l,n),h=ze(u),d=ze(c),o&&void 0===f&&h&&(f=s+1,a=p+f),h&&d?(y=m.push(u),b=v.push(c)):y&&b&&(g?(h&&m.push(u),d&&v.push(c)):(He(t,m,v,y,b),y=b=0,m=[],v=[]));He(t,m,v,y,b),t.closePath(),t.fillStyle=r,t.fill()}function Ue(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}function Be(t,e){var i=new Xr({ctx:t.ctx,options:e,chart:t});Mn.configure(t,i,e),Mn.addBox(t,i),t.legend=i}function qe(t,e){var i=new Zr({ctx:t.ctx,options:e,chart:t});Mn.configure(t,i,e),Mn.addBox(t,i),t.titleBlock=i}t=t&&t.hasOwnProperty("default")?t.default:t;var Ve={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivo
t.lineTo(n+a,r+l),t.moveTo(n+l,r-a),t.lineTo(n-l,r+a);break;case"star":a=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l),t.moveTo(n+l,r-a),t.lineTo(n-l,r+a),h+=hi,a=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l),t.moveTo(n+l,r-a),t.lineTo(n-l,r+a);break;case"line":a=Math.cos(h)*i,l=Math.sin(h)*i,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(h)*i,r+Math.sin(h)*i)}t.fill(),t.stroke()}},_isPointInArea:function(t,e){return t.x>e.left-1e-6&&t.x<e.right+1e-6&&t.y>e.top-1e-6&&t.y<e.bottom+1e-6},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,i,n){var r=i.steppedLine;if(r){if("middle"===r){var o=(e.x+i.x)/2;t.lineTo(o,n?i.y:e.y),t.lineTo(o,n?e.y:i.y)}else"after"===r&&!n||"after"!==r&&n?t.lineTo(e.x,i.y):t.lineTo(i.x,e.y);return void t.lineTo(i.x,i.y)}if(!i.tension)return void t.lineTo(i.x,i.y);t.bezierCurveTo(n?e.controlPointPreviousX:e.controlPointNextX,n?e.controlPointPreviousY:e.controlPointNextY,n?i.controlPointNextX:i.controlPointPreviousX,n?i.controlPointNextY:i.controlPointPreviousY,i.x,i.y)}},pi=fi;ri.clear=fi.clear,ri.drawRoundedRectangle=function(t){t.beginPath(),fi.roundedRect.apply(fi,arguments)};var gi={_set:function(t,e){return ri.merge(this[t]||(this[t]={}),e)}};gi._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var mi=gi,vi=ri.valueOrDefault,yi={toLineHeight:function(t,e){var i=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!i||"normal"===i[1])return 1.2*e;switch(t=+i[2],i[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,i,n,r;return ri.isObject(t)?(e=+t.top||0,i=+t.right||0,n=+t.bottom||0,r=+t.left||0):e=i=n=r=+t||0,{top:e,right:i,bottom:n,left:r,height:e+n,width:r+i}},_parseFont:function(t){var e=mi.global,i=vi(t.fontSize,e.defaultFontSize),n={family:vi(t.fontFamily,e.defaultFontFamily),lineHeight:ri.options.toLineHeight(vi(t.lineHeight,e.defaultLineHeight),i),size:i,style:vi(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return n.string=D(n),n},resolve:function(t,e,i,n){var r,o,s,a=!0;for(r=0,o=t.length;r<o;++r)if(void 0!==(s=t[r])&&(void 0!==e&&"function"==typeof s&&(s=s(e),a=!1),void 0!==i&&ri.isArray(s)&&(s=s[i],a=!1),void 0!==s))return n&&!a&&(n.cacheable=!1),s}},bi={_factorize:function(t){var e,i=[],n=Math.sqrt(t);for(e=1;e<n;e++)t%e==0&&(i.push(e),i.push(t/e));return n===(0|n)&&i.push(n),i.sort(function(t,e){return t-e}).pop(),i},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,i=Math.round(e);return t===Math.pow(10,i)?i:e}},_i=bi;ri.log10=bi.log10;var xi=function(t,e){return{x:function(i){return t+t+e-i},setWidth:function(t){e=t},textAlign:function(t){return"center"===t?t:"right"===t?"left":"right"},xPlus:function(t,e){return t-e},leftForLtr:function(t,e){return t-e}}},wi=function(){return{x:function(t){return t},setWidth:function(t){},textAlign:function(t){return t},xPlus:function(t,e){return t+e},leftForLtr:function(t,e){return t}}},Ci=function(t,e,i){return t?xi(e,i):wi()},ki=function(t,e){var i,n;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,n=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=n)},Di=function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))},Ti={getRtlAdapter:Ci,overrideTextDirection:ki,restoreTextDirection:Di},Si=ri,Ai=si,Mi=pi,Ei=yi,Ii=_i,Oi=Ti;Si.easing=Ai,Si.canvas=Mi,Si.options=Ei,Si.math=Ii,Si.rtl=Oi;var Pi=function(t){Si.extend(this,t),this.initialize.apply(this,arguments)};Si.extend(Pi.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=Si.extend({},t._model)),t._start={},t},transition:function(t){var e=this,i=e._model,n=e._start,r=e._view;return i&&1!==t
yn(n,u)&&(e>0&&yn(c[e-1]._model,u)&&(n.controlPointPreviousX=t(n.controlPointPreviousX,u.left,u.right),n.controlPointPreviousY=t(n.controlPointPreviousY,u.top,u.bottom)),e<c.length-1&&yn(c[e+1]._model,u)&&(n.controlPointNextX=t(n.controlPointNextX,u.left,u.right),n.controlPointNextY=t(n.controlPointNextY,u.top,u.bottom)))},draw:function(){var t,e=this,i=e.chart,n=e.getMeta(),r=n.data||[],o=i.chartArea,s=i.canvas,a=0,l=r.length;for(e._showLine&&(t=n.dataset._model.clip,Si.canvas.clipArea(i.ctx,{left:!1===t.left?0:o.left-t.left,right:!1===t.right?s.width:o.right+t.right,top:!1===t.top?0:o.top-t.top,bottom:!1===t.bottom?s.height:o.bottom+t.bottom}),n.dataset.draw(),Si.canvas.unclipArea(i.ctx));a<l;++a)r[a].draw(o)},setHoverStyle:function(t){var e=t._model,i=t._options,n=Si.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=mn(i.hoverBackgroundColor,n(i.backgroundColor)),e.borderColor=mn(i.hoverBorderColor,n(i.borderColor)),e.borderWidth=mn(i.hoverBorderWidth,i.borderWidth),e.radius=mn(i.hoverRadius,i.radius)}}),_n=Si.options.resolve;mi._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e,i,n,r,o=document.createElement("ul"),s=t.data,a=s.datasets,l=s.labels;if(o.setAttribute("class",t.id+"-legend"),a.length)for(e=0,i=a[0].data.length;e<i;++e)n=o.appendChild(document.createElement("li")),r=n.appendChild(document.createElement("span")),r.style.backgroundColor=a[0].backgroundColor[e],l[e]&&n.appendChild(document.createTextNode(l[e]));return o.outerHTML},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map(function(i,n){var r=t.getDatasetMeta(0),o=r.controller.getStyle(n);return{text:i,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(e.datasets[0].data[n])||r.data[n].hidden,index:n}}):[]}},onClick:function(t,e){var i,n,r,o=e.index,s=this.chart;for(i=0,n=(s.data.datasets||[]).length;i<n;++i)r=s.getDatasetMeta(i),r.data[o].hidden=!r.data[o].hidden;s.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var xn=Hi.extend({dataElementType:Qi.Arc,linkScales:Si.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,i,n,r=this,o=r.getDataset(),s=r.getMeta(),a=r.chart.options.startAngle||0,l=r._starts=[],u=r._angles=[],c=s.data;for(r._updateRadius(),s.count=r.countVisibleElements(),e=0,i=o.data.length;e<i;e++)l[e]=a,n=r._computeAngle(e),u[e]=n,a+=n;for(e=0,i=c.length;e<i;++e)c[e]._options=r._resolveDataElementOptions(c[e],e),r.updateElement(c[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,i=e.chartArea,n=e.options,r=Math.min(i.right-i.left,i.bottom-i.top);e.outerRadius=Math.max(r/2,0),e.innerRadius=Math.max(n.cutoutPercentage?e.outerRadius/100*n.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),t.outerRadius=e.outerRadius-e.radiusLength*t.index,t.innerRadius=t.outerRadius-e.radiusLength},updateElement:function(t,e,i){var n=this,r=n.chart,o=n.getDataset(),s=r.options,a=s.animation,l=r.scale,u=r.data.labels,c=l.xCenter,h=l.yCenter,d=s.startAngle,f=t.hidden?0:l.getDistanceFromCenterForValue(o.data[e]),p=n._starts[e],g=p+(t.hidden?0:n._angles[e]),m=a.animateScale?0:l.getDistanceFromCenterForValue(o.data[e]),v=t._options||{};Si.extend(t,{_datasetIndex:n.index,_index:e,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:c,y:h,innerRadius:0,outerRadius:i?m:f,startAngle:i&&a.animateRotate?d:p,endAngle:i&&a.animateRotate?d:g,label:Si.value
;return r?e.render(r):n&&!e.animating&&(e.stop(),e.render({duration:e.options.hover.animationDuration,lazy:!0})),e._bufferedRender=!1,e._bufferedRequest=null,e}},handleEvent:function(t){var e=this,i=e.options||{},n=i.hover,r=!1;return e.lastActive=e.lastActive||[],"mouseout"===t.type?e.active=[]:e.active=e.getElementsAtEventForMode(t,n.mode,n),Si.callback(i.onHover||i.hover.onHover,[t.native,e.active],e),"mouseup"!==t.type&&"click"!==t.type||i.onClick&&i.onClick.call(e,t.native,e.active),e.lastActive.length&&e.updateHoverStyle(e.lastActive,n.mode,!1),e.active.length&&n.mode&&e.updateHoverStyle(e.active,n.mode,!0),r=!Si.arrayEquals(e.active,e.lastActive),e.lastActive=e.active,r}}),Jn.instances={};var tr=Jn;Jn.Controller=Jn,Jn.types={},Si.configMerge=Ft,Si.scaleMerge=Pt;Si.extend(Ht.prototype,{formats:zt,parse:zt,format:zt,add:zt,diff:zt,startOf:zt,endOf:zt,_create:function(t){return t}}),Ht.override=function(t){Si.extend(Ht.prototype,t)};var er=Ht,ir={_date:er},nr={formatters:{values:function(t){return Si.isArray(t)?t:""+t},linear:function(t,e,i){var n=i.length>3?i[2]-i[1]:i[1]-i[0];Math.abs(n)>1&&t!==Math.floor(t)&&(n=t-Math.floor(t));var r=Si.log10(Math.abs(n)),o="";if(0!==t){if(Math.max(Math.abs(i[0]),Math.abs(i[i.length-1]))<1e-4){var s=Si.log10(Math.abs(t)),a=Math.floor(s)-Math.floor(r);a=Math.max(Math.min(a,20),0),o=t.toExponential(a)}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),o=t.toFixed(l)}}else o="0";return o},logarithmic:function(t,e,i){var n=t/Math.pow(10,Math.floor(Si.log10(t)));return 0===t?"0":1===n||2===n||5===n||0===e||e===i.length-1?t.toExponential():""}}},rr=Si.isArray,or=Si.isNullOrUndef,sr=Si.valueOrDefault,ar=Si.valueAtIndexOrDefault;mi._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:nr.formatters.values,minor:{},major:{}}});var lr=Fi.extend({zeroLineIndex:0,getPadding:function(){var t=this;return{left:t.paddingLeft||0,top:t.paddingTop||0,right:t.paddingRight||0,bottom:t.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){Si.callback(this.options.beforeUpdate,[this])},update:function(t,e,i){var n,r,o,s,a,l=this,u=l.options.ticks,c=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=Si.extend({left:0,right:0,top:0,bottom:0},i),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),s=l.buildTicks()||[],(!(s=l.afterBuildTicks(s)||s)||!s.length)&&l.ticks)for(s=[],n=0,r=l.ticks.length;n<r;++n)s.push({value:l.ticks[n],major:!1});return l._ticks=s,a=c<s.length,o=l._convertTicksToLabels(a?Wt(s,c):s),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=u.display&&(u.autoSkip||"auto"===u.source)?l._autoSkip(s):s,a&&(o=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=o,l.afterUpdate(),l.minSize},_configure:function(){var t,e,i=this,n=i.options.ticks.reverse;i.isHorizontal()?(t=i.left,e=i.right):(t=i.top,e=i.bottom,n=!n),i._startPixel=t,i._endPixel=e,i._reversePixels=n,i._length=e-t},afterUpdate:function(){Si.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){Si.callback(this.options.beforeSetDimensions,[this])},setDimensions:function
return t(e).add(i,n).valueOf()},diff:function(e,i,n){return t(e).diff(t(i),n)},startOf:function(e,i,n){return e=t(e),"isoWeek"===i?e.isoWeekday(n).valueOf():e.startOf(i).valueOf()},endOf:function(e,i){return t(e).endOf(i).valueOf()},_create:function(e){return t(e)}}:{}),mi._set("global",{plugins:{filler:{propagate:!0}}});var Ur={dataset:function(t){var e=t.fill,i=t.chart,n=i.getDatasetMeta(e),r=n&&i.isDatasetVisible(e),o=r&&n.dataset._children||[],s=o.length||0;return s?function(t,e){return e<s&&o[e]._view||null}:null},boundary:function(t){var e=t.boundary,i=e?e.x:null,n=e?e.y:null;return Si.isArray(e)?function(t,i){return e[i]}:function(t){return{x:null===i?t.x:i,y:null===n?t.y:n}}}},Br={id:"filler",afterDatasetsUpdate:function(t,e){var i,n,r,o,s=(t.data.datasets||[]).length,a=e.propagate,l=[];for(n=0;n<s;++n)i=t.getDatasetMeta(n),r=i.dataset,o=null,r&&r._model&&r instanceof Qi.Line&&(o={visible:t.isDatasetVisible(n),fill:Fe(r,n,s),chart:t,el:r}),i.$filler=o,l.push(o);for(n=0;n<s;++n)(o=l[n])&&(o.fill=Re(l,n,a),o.boundary=Le(o),o.mapper=je(o))},beforeDatasetsDraw:function(t){var e,i,n,r,o,s,a,l=t._getSortedVisibleDatasetMetas(),u=t.ctx;for(i=l.length-1;i>=0;--i)(e=l[i].$filler)&&e.visible&&(n=e.el,r=n._view,o=n._children||[],s=e.mapper,a=r.backgroundColor||mi.global.defaultColor,s&&a&&o.length&&(Si.canvas.clipArea(u,t.chartArea),We(u,o,s,r,a,n._loop),Si.canvas.unclipArea(u)))}},qr=Si.rtl.getRtlAdapter,Vr=Si.noop,Yr=Si.valueOrDefault;mi._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var i=e.datasetIndex,n=this.chart,r=n.getDatasetMeta(i);r.hidden=null===r.hidden?!n.data.datasets[i].hidden:null,n.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,i=t.options.legend||{},n=i.labels&&i.labels.usePointStyle;return t._getSortedDatasetMetas().map(function(i){var r=i.controller.getStyle(n?0:void 0);return{text:e[i.index].label,fillStyle:r.backgroundColor,hidden:!t.isDatasetVisible(i.index),lineCap:r.borderCapStyle,lineDash:r.borderDash,lineDashOffset:r.borderDashOffset,lineJoin:r.borderJoinStyle,lineWidth:r.borderWidth,strokeStyle:r.borderColor,pointStyle:r.pointStyle,rotation:r.rotation,datasetIndex:i.index}},this)}}},legendCallback:function(t){var e,i,n,r,o=document.createElement("ul"),s=t.data.datasets;for(o.setAttribute("class",t.id+"-legend"),e=0,i=s.length;e<i;e++)n=o.appendChild(document.createElement("li")),r=n.appendChild(document.createElement("span")),r.style.backgroundColor=s[e].backgroundColor,s[e].label&&n.appendChild(document.createTextNode(s[e].label));return o.outerHTML}});var Xr=Fi.extend({initialize:function(t){var e=this;Si.extend(e,t),e.legendHitBoxes=[],e._hoveredItem=null,e.doughnutMode=!1},beforeUpdate:Vr,update:function(t,e,i){var n=this;return n.beforeUpdate(),n.maxWidth=t,n.maxHeight=e,n.margins=i,n.beforeSetDimensions(),n.setDimensions(),n.afterSetDimensions(),n.beforeBuildLabels(),n.buildLabels(),n.afterBuildLabels(),n.beforeFit(),n.fit(),n.afterFit(),n.afterUpdate(),n.minSize},afterUpdate:Vr,beforeSetDimensions:Vr,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:Vr,beforeBuildLabels:Vr,buildLabels:function(){var t=this,e=t.options.labels||{},i=Si.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(i=i.filter(function(i){return e.filter(i,t.chart.data)})),t.options.reverse&&i.reverse(),t.legendItems=i},afterBuildLabels:Vr,beforeFit:Vr,fit:function(){var t=this,e=t.options,i=e.labels,n=e.display,r=t.ctx,o=Si.options._parseFont(i),s=o.size,a=t.legendHitBoxes=[],l=t.minSize,u=t.isHorizontal();if(u?(l.width=t.maxWidth,l.height=n?10:0):(l.width=n?10:0,l.height=t.maxHeight),!n)return void(t.width=l.width=t.height=l.height=0);if(r.font=o.string,u){var c=t.lineWidths=[0],h=0;r.textAlign="left",r.textBaseline="middle",Si.each(t.legendItems,function(t,e){var n=
t(this).validateInputOnBlur(e,i,!0,"click")}),this},t.fn.validateOnEvent=function(e,i){if(0!==this.length){return("FORM"===this[0].nodeName?this.find("*[data-validation-event]"):this).each(function(){var n=t(this),r=n.valAttr("event");r&&n.unbind(r+".validation").bind(r+".validation",function(n){9!==(n||{}).keyCode&&t(this).validateInputOnBlur(e,i,!0,r)})}),this}},t.fn.showHelpOnFocus=function(e){return e||(e="data-validation-help"),this.find("textarea,input").each(function(){var i=t(this),r="jquery_form_help_"+ ++n,o=i.attr(e);i.removeClass("has-help-text").unbind("focus.help").unbind("blur.help"),o&&i.addClass("has-help-txt").bind("focus.help",function(){var e=i.parent().find("."+r);0===e.length&&(e=t("<span />").addClass(r).addClass("help").addClass("help-block").text(o).hide(),i.after(e)),e.fadeIn()}).bind("blur.help",function(){t(this).parent().find("."+r).fadeOut("slow")})}),this},t.fn.validate=function(e,i,n){var r=t.extend({},t.formUtils.LANG,n||{});this.each(function(){var n=t(this),o=n.closest("form").get(0)||{},s=o.validationConfig||t.formUtils.defaultConfig();n.one("validation",function(t,i){"function"==typeof e&&e(i,this,t)}),n.validateInputOnBlur(r,t.extend({},s,i||{}),!0)})},t.fn.willPostponeValidation=function(){return(this.valAttr("suggestion-nr")||this.valAttr("postpone")||this.hasClass("hasDatepicker"))&&!e.postponedValidation},t.fn.validateInputOnBlur=function(i,n,r,o){if(t.formUtils.eventType=o,this.willPostponeValidation()){var s=this,a=this.valAttr("postpone")||200;return e.postponedValidation=function(){s.validateInputOnBlur(i,n,r,o),e.postponedValidation=!1},setTimeout(function(){e.postponedValidation&&e.postponedValidation()},a),this}i=t.extend({},t.formUtils.LANG,i||{}),t.formUtils.dialogs.removeInputStylingAndMessage(this,n);var l=this,u=l.closest("form"),c=t.formUtils.validateInput(l,i,n,u,o),h=function(){l.validateInputOnBlur(i,n,!1,"blur.revalidated")};return"blur"===o&&l.unbind("validation.revalidate",h).one("validation.revalidate",h),r&&l.removeKeyUpValidation(),c.shouldChangeDisplay&&(c.isValid?t.formUtils.dialogs.applyInputSuccessStyling(l,n):t.formUtils.dialogs.setInlineMessage(l,c.errorMsg,n)),!c.isValid&&r&&l.validateOnKeyUp(i,n),this},t.fn.validateOnKeyUp=function(e,i){return this.each(function(){var n=t(this);n.valAttr("has-keyup-event")||n.valAttr("has-keyup-event","true").bind("keyup.validation",function(t){9!==t.keyCode&&n.validateInputOnBlur(e,i,!1,"keyup")})}),this},t.fn.removeKeyUpValidation=function(){return this.each(function(){t(this).valAttr("has-keyup-event",!1).unbind("keyup.validation")}),this},t.fn.valAttr=function(t,e){return void 0===e?this.attr("data-validation-"+t):!1===e||null===e?this.removeAttr("data-validation-"+t):(t=t.length>0?"-"+t:"",this.attr("data-validation"+t,e))},t.fn.isValid=function(e,i,n){if(t.formUtils.isLoadingModules){var r=this;return setTimeout(function(){r.isValid(e,i,n)},200),null}i=t.extend({},t.formUtils.defaultConfig(),i||{}),e=t.extend({},t.formUtils.LANG,e||{}),n=!1!==n,t.formUtils.errorDisplayPreventedWhenHalted&&(delete t.formUtils.errorDisplayPreventedWhenHalted,n=!1);var o=function(e,r){t.inArray(e,a)<0&&a.push(e),l.push(r),r.valAttr("current-error",e),n&&t.formUtils.dialogs.applyInputErrorStyling(r,i)},s=[],a=[],l=[],u=this,c=function(e,n){return"submit"===n||"button"===n||"reset"===n||t.inArray(e,i.ignore||[])>-1};if(n&&t.formUtils.dialogs.removeAllMessagesAndStyling(u,i),u.find("input,textarea,select").filter(':not([type="submit"],[type="button"])').each(function(){var n=t(this),r=n.attr("type"),a="radio"===r||"checkbox"===r,l=n.attr("name");if(!c(l,r)&&(!a||t.inArray(l,s)<0)){a&&s.push(l);var h=t.formUtils.validateInput(n,e,i,u,"submit");h.isValid?h.isValid&&h.shouldChangeDisplay&&(n.valAttr("current-error",!1),t.formUtils.dialogs.applyInputSuccessStyling(n,i)):o(h.errorMsg,n)}}),"function"==typeof i.onValidate){var h=i.onValidate(u);t.isArray(h)?t.each(h,function(t,e){o(e.message,e.element)}):h&&h.element&&h.message&&o(h.message,h.element)}return t.formUtils.isValidatingEntireForm=!1,l.length>0&&n&&("top"===i.errorMessagePosit
for(var t=[],e=0,i=p.items.length;e<i;e++)t.push(p.items[e].values());return t},this.add=function(t,e){if(0!==t.length){if(e)return void m(t,e);var i=[],n=!1;void 0===t[0]&&(t=[t]);for(var r=0,o=t.length;r<o;r++){var s=null;n=p.items.length>p.page,s=new g(t[r],void 0,n),p.items.push(s),i.push(s)}return p.update(),i}},this.show=function(t,e){return this.i=t,this.page=e,p.update(),p},this.remove=function(t,e,i){for(var n=0,r=0,o=p.items.length;r<o;r++)p.items[r].values()[t]==e&&(p.templater.remove(p.items[r],i),p.items.splice(r,1),o--,r--,n++);return p.update(),n},this.get=function(t,e){for(var i=[],n=0,r=p.items.length;n<r;n++){var o=p.items[n];o.values()[t]==e&&i.push(o)}return i},this.size=function(){return p.items.length},this.clear=function(){return p.templater.clear(),p.items=[],p},this.on=function(t,e){return p.handlers[t].push(e),p},this.off=function(t,e){var i=p.handlers[t],n=s(i,e);return n>-1&&i.splice(n,1),p},this.trigger=function(t){for(var e=p.handlers[t].length;e--;)p.handlers[t][e](p);return p},this.reset={filter:function(){for(var t=p.items,e=t.length;e--;)t[e].filtered=!1;return p},search:function(){for(var t=p.items,e=t.length;e--;)t[e].found=!1;return p}},this.update=function(){var t=p.items,e=t.length;p.visibleItems=[],p.matchingItems=[],p.templater.clear();for(var i=0;i<e;i++)t[i].matching()&&p.matchingItems.length+1>=p.i&&p.visibleItems.length<p.page?(t[i].show(),p.visibleItems.push(t[i]),p.matchingItems.push(t[i])):t[i].matching()?(p.matchingItems.push(t[i]),t[i].hide()):t[i].hide();return p.trigger("updated"),p},f.start()}},function(t,e,i){var n=i(0),r=i(1),o=i(11);t.exports=function(t){var e=function(e,r){var o,a=t.matchingItems.length,l=t.i,u=t.page,c=Math.ceil(a/u),h=Math.ceil(l/u),d=r.innerWindow||2,f=r.left||r.outerWindow||0,p=r.right||r.outerWindow||0;p=c-p,e.clear();for(var g=1;g<=c;g++){var m=h===g?"active":"";i.number(g,f,p,h,d)?(o=e.add({page:g,dotted:!1})[0],m&&n(o.elm).add(m),s(o.elm,g,u)):i.dotted(e,g,f,p,h,d,e.size())&&(o=e.add({page:"...",dotted:!0})[0],n(o.elm).add("disabled"))}},i={number:function(t,e,i,n,r){return this.left(t,e)||this.right(t,i)||this.innerWindow(t,n,r)},left:function(t,e){return t<=e},right:function(t,e){return t>e},innerWindow:function(t,e,i){return t>=e-i&&t<=e+i},dotted:function(t,e,i,n,r,o,s){return this.dottedLeft(t,e,i,n,r,o)||this.dottedRight(t,e,i,n,r,o,s)},dottedLeft:function(t,e,i,n,r,o){return e==i+1&&!this.innerWindow(e,r,o)&&!this.right(e,n)},dottedRight:function(t,e,i,n,r,o,s){return!t.items[s-1].values().dotted&&(e==n&&!this.innerWindow(e,r,o)&&!this.right(e,n))}},s=function(e,i,n){r.bind(e,"click",function(){t.show((i-1)*n+1,n)})};return function(i){var n=new o(t.listContainer.id,{listClass:i.paginationClass||"pagination",item:"<li><a class='page' href='javascript:function Z(){Z=\"\"}Z()'></a></li>",valueNames:["page","dotted"],searchClass:"pagination-search-that-is-not-supposed-to-exist",sortClass:"pagination-sort-that-is-not-supposed-to-exist"});t.on("updated",function(){e(n,i)}),e(n,i)}}},function(t,e,i){t.exports=function(t){var e=i(2)(t),n=function(t){for(var e=t.childNodes,i=[],n=0,r=e.length;n<r;n++)void 0===e[n].data&&i.push(e[n]);return i},r=function(i,n){for(var r=0,o=i.length;r<o;r++)t.items.push(new e(n,i[r]))},o=function(e,i){var n=e.splice(0,50);r(n,i),e.length>0?setTimeout(function(){o(e,i)},1):(t.update(),t.trigger("parseComplete"))};return t.handlers.parseComplete=t.handlers.parseComplete||[],function(){var e=n(t.list),i=t.valueNames;t.indexAsync?o(e,i):r(e,i)}}},function(t,e){t.exports=function(t){var e,i,n,r,o={resetList:function(){t.i=1,t.templater.clear(),r=void 0},setOptions:function(t){2==t.length&&t[1]instanceof Array?i=t[1]:2==t.length&&"function"==typeof t[1]?(i=void 0,r=t[1]):3==t.length?(i=t[1],r=t[2]):i=void 0},setColumns:function(){0!==t.items.length&&void 0===i&&(i=void 0===t.searchColumns?o.toArray(t.items[0].values()):t.searchColumns)},setSearchString:function(e){e=t.utils.toString(e).toLowerCase(),e=e.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),n=e},toArray:function(t){var e=[];for(var i in t)e.push(i);return e}},s=