Skip to content

A free open source IT asset/license management system

Importer UI: Removed misleading checked out to field. Add full name and asset tag fields to licenses.

Daniel Meltzer13213047208d
diff --git a/public/js/build/app.js b/public/js/build/app.js
index f62c6449c1..1418b089d1 100644
--- a/public/js/build/app.js
+++ b/public/js/build/app.js
@@ -1 +1 @@
-!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=0)}({"+sje":function(t,e,n){var r=n("VU/8")(n("eOaq"),n("lafA"),!1,function(t){n("4UNm")},"data-v-3bdd24a5",null);t.exports=r.exports},0:function(t,e,n){n("GDnL"),n("hw3k"),n("aKHO"),n("9ozO"),n("1CH1"),n("f5J3"),n("yd7E"),n("m5pD"),n("JfWP"),n("Pq8s"),n("WM06"),n("t80F"),n("2WJo"),n("F7gb"),n("jbHB"),n("a5IG"),n("1dC+"),n("0hTo"),n("vvpX"),n("4Jtp"),t.exports=n("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,n){"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()})}}}},"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,n){var r=n("HB0T");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("5d321c9c",r,!0,{})},"5F58":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("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,n){t.progress.currentClass="progress-bar-success",t.progress.statusText="Success!",t.files=n.result.files.concat(t.files),console.log(n.result.header_row)},add:function(e,n){n.headers={"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":Laravel.csrfToken},n.process().done(function(){n.submit()}),t.progress.visible=!0},progress:function(e,n){var r=parseInt((n.loaded,n.total,10));t.progress.currentPercent=r,t.progress.statusText=r+"% Complete"},fail:function(e,n){t.progress.currentClass="progress-bar-danger",t.progress.statusText=n.jqXHR.responseJSON.messages}})},methods:{fetchFiles:function(){var t=this;this.$http.get(route("api.imports.index")).then(function(e){var n=e.data;return t.files=n},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 n=e.data;(n=n.rows).forEach(function(e){t.customFields.push({id:e.db_column_name,text:e.name})})})},deleteFile:function(t,e){var n=this;this.$http.delete(route("api.imports.destroy",t.id)).then(function(t){n.files.splice(e,1),n.alert.type=t.body.status,n.alert.visible=!0,n.alert.message=t.body.messages},function(t){n.alert.type="error",n.alert.visible=!0,n.alert.message=t.body.messages})},toggleEvent:function(t){window.eventHub.$emit("showDetails",t)},updateAlert:function(t){this.alert=t},updateImportErrors:function(t){this.importErrors=t}},computed:{progressWidth:function(){return"width: "+10*this.progress.currentPercent+"%"}},components:{alert:n("b7rt"),errors:n("yDVJ"),importFile:n("sJcK")}}},"5m3O":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default={props:["clientsUrl"],data:function(){return{clients:[],createForm:{errors:[],name:"",redirect:""},editForm:{errors:[],name:"",redirect:""}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getClients(),$("#modal-create-client").on("shown.bs.modal",function(){$("#create-client-name").focus()}),$("#modal-edit-client").on("shown.bs.modal",function(){$("#edit-client-name").focus()})},getClients:function(){var t=this;this.$http.get(this.clientsUrl).then(function(e){t.clients=e.data})},showCreateClientForm:function(){$("#modal-create-client").modal("show")},store:function(){this.persistClient("post",this.clientsUrl,this.createForm,"#modal-create-client")},edit:function(t){this.editForm.id=t.id,this.editForm.name=t.name,this.editForm.redirect=t.redirect,$("#modal-edit-client").modal("show")},update:function(){this.persistClient("put",this.clientsUrl+"/"+this.editForm.id,this.editForm,"#modal-edit-client")},persistClient:function(t,e,n,i){var o=this;console.log("persisting"),n.errors=[],console.log("method: "+t),this.$http[t](e,n).then(function(t){o.getClients(),n.name="",n.redirect="",n.errors=[],$(i).modal("hide")}).catch(function(t){"object"===r(t.data)?n.errors=_.flatten(_.toArray(t.data)):n.errors=["Something went wrong. Please try again."]})},destroy:function(t){var e=this;this.$http.delete(this.clientsUrl+"/"+t.id).then(function(t){e.getClients()})}}}},"7t+N":function(t,e,n){var r;!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,l=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},u=o.push,c=o.indexOf,f={},d=f.toString,p=f.hasOwnProperty,h=p.toString,v=h.call(Object),g={},m=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function(t){return null!=t&&t===t.window},_=n.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){var r,i,o=(n=n||_).createElement("script");if(o.text=t,e)for(r in b)(i=e[r]||e.getAttribute&&e.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?f[d.call(t)]||"object":typeof t}var C=function(t,e){return new C.fn.init(t,e)};function $(t){var e=!!t&&"length"in t&&t.length,n=x(t);return!m(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}C.fn=C.prototype={jquery:"3.5.0",constructor:C,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=C.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return C.each(this,t)},map:function(t){return this.pushStack(C.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(C.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:o.sort,splice:o.splice},C.extend=C.fn.extend=function(){var t,e,n,r,i,o,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||m(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)r=t[e],"__proto__"!==e&&s!==r&&(u&&r&&(C.isPlainObject(r)||(i=Array.isArray(r)))?(n=s[e],o=i&&!Array.isArray(n)?[]:i||C.isPlainObject(n)?n:{},i=!1,s[e]=C.extend(u,o,r)):void 0!==r&&(s[e]=r));return s},C.extend({expando:"jQuery"+("3.5.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==d.call(t))&&(!(e=s(t))||"function"==typeof(n=p.call(e,"constructor")&&e.constructor)&&h.call(n)===v)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){w(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,r=0;if($(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&($(Object(t))?C.merge(n,"string"==typeof t?[t]:t):u.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:c.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,s=!n;i<o;i++)!e(t[i],i)!==s&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,s=[];if($(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&s.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&s.push(i);return l(s)},guid:1,support:g}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=o[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){f["[object "+e+"]"]=e.toLowerCase()});var T=function(t){var e,n,r,i,o,s,a,l,u,c,f,d,p,h,v,g,m,y,_,b="sizzle"+1*new Date,w=t.document,x=0,C=0,$=lt(),T=lt(),A=lt(),k=lt(),E=function(t,e){return t===e&&(f=!0),0},S={}.hasOwnProperty,O=[],D=O.pop,j=O.push,N=O.push,I=O.slice,R=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",M="\\["+P+"*("+F+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+P+"*\\]",U=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",q=new RegExp(P+"+","g"),H=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),z=new RegExp("^"+P+"*,"+P+"*"),B=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),W=new RegExp(P+"|>"),V=new RegExp(U),X=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+U),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){d()},st=bt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(O=I.call(w.childNodes),w.childNodes),O[w.childNodes.length].nodeType}catch(t){N={apply:O.length?function(t,e){j.apply(t,I.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function at(t,e,r,i){var o,a,u,c,f,h,m,y=e&&e.ownerDocument,w=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return r;if(!i&&(d(e),e=e||p,v)){if(11!==w&&(f=Y.exec(t)))if(o=f[1]){if(9===w){if(!(u=e.getElementById(o)))return r;if(u.id===o)return r.push(u),r}else if(y&&(u=y.getElementById(o))&&_(e,u)&&u.id===o)return r.push(u),r}else{if(f[2])return N.apply(r,e.getElementsByTagName(t)),r;if((o=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return N.apply(r,e.getElementsByClassName(o)),r}if(n.qsa&&!k[t+" "]&&(!g||!g.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(m=t,y=e,1===w&&(W.test(t)||B.test(t))){for((y=tt.test(t)&&mt(e.parentNode)||e)===e&&n.scope||((c=e.getAttribute("id"))?c=c.replace(rt,it):e.setAttribute("id",c=b)),a=(h=s(t)).length;a--;)h[a]=(c?"#"+c:":scope")+" "+_t(h[a]);m=h.join(",")}try{return N.apply(r,y.querySelectorAll(m)),r}catch(e){k(t,!0)}finally{c===b&&e.removeAttribute("id")}}}return l(t.replace(H,"$1"),e,r,i)}function lt(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function ut(t){return t[b]=!0,t}function ct(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ft(t,e){for(var n=t.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=e}function dt(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function pt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function vt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function gt(t){return ut(function(e){return e=+e,ut(function(n,r){for(var i,o=t([],n.length,e),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=at.support={},o=at.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!K.test(e||n&&n.nodeName||"HTML")},d=at.setDocument=function(t){var e,i,s=t?t.ownerDocument||t:w;return s!=p&&9===s.nodeType&&s.documentElement?(h=(p=s).documentElement,v=!o(p),w!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ot,!1):i.attachEvent&&i.attachEvent("onunload",ot)),n.scope=ct(function(t){return h.appendChild(t).appendChild(p.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),n.attributes=ct(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=ct(function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ct(function(t){return h.appendChild(t).id=b,!p.getElementsByName||!p.getElementsByName(b).length}),n.getById?(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&v)return e.getElementsByClassName(t)},m=[],g=[],(n.qsa=Q.test(p.querySelectorAll))&&(ct(function(t){var e;h.appendChild(t).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+L+")"),t.querySelectorAll("[id~="+b+"-]").length||g.push("~="),(e=p.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||g.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]"),t.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")}),ct(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+P+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Q.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ct(function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),m.push("!=",U)}),g=g.length&&new RegExp(g.join("|")),m=m.length&&new RegExp(m.join("|")),e=Q.test(h.compareDocumentPosition),_=e||Q.test(h.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},E=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t==p||t.ownerDocument==w&&_(w,t)?-1:e==p||e.ownerDocument==w&&_(w,e)?1:c?R(c,t)-R(c,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,s=[t],a=[e];if(!i||!o)return t==p?-1:e==p?1:i?-1:o?1:c?R(c,t)-R(c,e):0;if(i===o)return dt(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?dt(s[r],a[r]):s[r]==w?-1:a[r]==w?1:0},p):p},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(d(t),n.matchesSelector&&v&&!k[e+" "]&&(!m||!m.test(e))&&(!g||!g.test(e)))try{var r=y.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){k(e,!0)}return at(e,p,null,[t]).length>0},at.contains=function(t,e){return(t.ownerDocument||t)!=p&&d(t),_(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=p&&d(t);var i=r.attrHandle[e.toLowerCase()],o=i&&S.call(r.attrHandle,e.toLowerCase())?i(t,e,!v):void 0;return void 0!==o?o:n.attributes||!v?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},at.escape=function(t){return(t+"").replace(rt,it)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(E),f){for(;e=t[o++];)e===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return c=null,t},i=at.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},(r=at.selectors={cacheLength:50,createPseudo:ut,match:G,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(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===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]||at.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]&&at.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&V.test(n)&&(e=s(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=$[t+" "];return e||(e=new RegExp("(^|"+P+")"+t+"("+P+"|$)"))&&$(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(r){var i=at.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(q," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,l){var u,c,f,d,p,h,v=o!==s?"nextSibling":"previousSibling",g=e.parentNode,m=a&&e.nodeName.toLowerCase(),y=!l&&!a,_=!1;if(g){if(o){for(;v;){for(d=e;d=d[v];)if(a?d.nodeName.toLowerCase()===m:1===d.nodeType)return!1;h=v="only"===t&&!h&&"nextSibling"}return!0}if(h=[s?g.firstChild:g.lastChild],s&&y){for(_=(p=(u=(c=(f=(d=g)[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]||[])[0]===x&&u[1])&&u[2],d=p&&g.childNodes[p];d=++p&&d&&d[v]||(_=p=0)||h.pop();)if(1===d.nodeType&&++_&&d===e){c[t]=[x,p,_];break}}else if(y&&(_=p=(u=(c=(f=(d=e)[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]||[])[0]===x&&u[1]),!1===_)for(;(d=++p&&d&&d[v]||(_=p=0)||h.pop())&&((a?d.nodeName.toLowerCase()!==m:1!==d.nodeType)||!++_||(y&&((c=(f=d[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]=[x,_]),d!==e)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return i[b]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?ut(function(t,n){for(var r,o=i(t,e),s=o.length;s--;)t[r=R(t,o[s])]=!(n[r]=o[s])}):function(t){return i(t,0,n)}):i}},pseudos:{not:ut(function(t){var e=[],n=[],r=a(t.replace(H,"$1"));return r[b]?ut(function(t,e,n,i){for(var o,s=r(t,null,i,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:ut(function(t){return function(e){return at(t,e).length>0}}),contains:ut(function(t){return t=t.replace(et,nt),function(e){return(e.textContent||i(e)).indexOf(t)>-1}}),lang:ut(function(t){return X.test(t||"")||at.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=v?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:vt(!1),disabled:vt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return Z.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:gt(function(){return[0]}),last:gt(function(t,e){return[e-1]}),eq:gt(function(t,e,n){return[n<0?n+e:n]}),even:gt(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:gt(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:gt(function(t,e,n){for(var r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t}),gt:gt(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=pt(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=ht(e);function yt(){}function _t(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function bt(t,e,n){var r=e.dir,i=e.next,o=i||r,s=n&&"parentNode"===o,a=C++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||s)return t(e,n,i);return!1}:function(e,n,l){var u,c,f,d=[x,a];if(l){for(;e=e[r];)if((1===e.nodeType||s)&&t(e,n,l))return!0}else for(;e=e[r];)if(1===e.nodeType||s)if(c=(f=e[b]||(e[b]={}))[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((u=c[o])&&u[0]===x&&u[1]===a)return d[2]=u[2];if(c[o]=d,d[2]=t(e,n,l))return!0}return!1}}function wt(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function xt(t,e,n,r,i){for(var o,s=[],a=0,l=t.length,u=null!=e;a<l;a++)(o=t[a])&&(n&&!n(o,r,i)||(s.push(o),u&&e.push(a)));return s}function Ct(t,e,n,r,i,o){return r&&!r[b]&&(r=Ct(r)),i&&!i[b]&&(i=Ct(i,o)),ut(function(o,s,a,l){var u,c,f,d=[],p=[],h=s.length,v=o||function(t,e,n){for(var r=0,i=e.length;r<i;r++)at(t,e[r],n);return n}(e||"*",a.nodeType?[a]:a,[]),g=!t||!o&&e?v:xt(v,d,t,a,l),m=n?i||(o?t:h||r)?[]:s:g;if(n&&n(g,m,a,l),r)for(u=xt(m,p),r(u,[],a,l),c=u.length;c--;)(f=u[c])&&(m[p[c]]=!(g[p[c]]=f));if(o){if(i||t){if(i){for(u=[],c=m.length;c--;)(f=m[c])&&u.push(g[c]=f);i(null,m=[],u,l)}for(c=m.length;c--;)(f=m[c])&&(u=i?R(o,f):d[c])>-1&&(o[u]=!(s[u]=f))}}else m=xt(m===s?m.splice(h,m.length):m),i?i(null,s,m,l):N.apply(s,m)})}function $t(t){for(var e,n,i,o=t.length,s=r.relative[t[0].type],a=s||r.relative[" "],l=s?1:0,c=bt(function(t){return t===e},a,!0),f=bt(function(t){return R(e,t)>-1},a,!0),d=[function(t,n,r){var i=!s&&(r||n!==u)||((e=n).nodeType?c(t,n,r):f(t,n,r));return e=null,i}];l<o;l++)if(n=r.relative[t[l].type])d=[bt(wt(d),n)];else{if((n=r.filter[t[l].type].apply(null,t[l].matches))[b]){for(i=++l;i<o&&!r.relative[t[i].type];i++);return Ct(l>1&&wt(d),l>1&&_t(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(H,"$1"),n,l<i&&$t(t.slice(l,i)),i<o&&$t(t=t.slice(i)),i<o&&_t(t))}d.push(n)}return wt(d)}return yt.prototype=r.filters=r.pseudos,r.setFilters=new yt,s=at.tokenize=function(t,e){var n,i,o,s,a,l,u,c=T[t+" "];if(c)return e?0:c.slice(0);for(a=t,l=[],u=r.preFilter;a;){for(s in n&&!(i=z.exec(a))||(i&&(a=a.slice(i[0].length)||a),l.push(o=[])),n=!1,(i=B.exec(a))&&(n=i.shift(),o.push({value:n,type:i[0].replace(H," ")}),a=a.slice(n.length)),r.filter)!(i=G[s].exec(a))||u[s]&&!(i=u[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),a=a.slice(n.length));if(!n)break}return e?a.length:a?at.error(t):T(t,l).slice(0)},a=at.compile=function(t,e){var n,i=[],o=[],a=A[t+" "];if(!a){for(e||(e=s(t)),n=e.length;n--;)(a=$t(e[n]))[b]?i.push(a):o.push(a);(a=A(t,function(t,e){var n=e.length>0,i=t.length>0,o=function(o,s,a,l,c){var f,h,g,m=0,y="0",_=o&&[],b=[],w=u,C=o||i&&r.find.TAG("*",c),$=x+=null==w?1:Math.random()||.1,T=C.length;for(c&&(u=s==p||s||c);y!==T&&null!=(f=C[y]);y++){if(i&&f){for(h=0,s||f.ownerDocument==p||(d(f),a=!v);g=t[h++];)if(g(f,s||p,a)){l.push(f);break}c&&(x=$)}n&&((f=!g&&f)&&m--,o&&_.push(f))}if(m+=y,n&&y!==m){for(h=0;g=e[h++];)g(_,b,s,a);if(o){if(m>0)for(;y--;)_[y]||b[y]||(b[y]=D.call(l));b=xt(b)}N.apply(l,b),c&&!o&&b.length>0&&m+e.length>1&&at.uniqueSort(l)}return c&&(x=$,u=w),_};return n?ut(o):o}(o,i))).selector=t}return a},l=at.select=function(t,e,n,i){var o,l,u,c,f,d="function"==typeof t&&t,p=!i&&s(t=d.selector||t);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===e.nodeType&&v&&r.relative[l[1].type]){if(!(e=(r.find.ID(u.matches[0].replace(et,nt),e)||[])[0]))return n;d&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(o=G.needsContext.test(t)?0:l.length;o--&&(u=l[o],!r.relative[c=u.type]);)if((f=r.find[c])&&(i=f(u.matches[0].replace(et,nt),tt.test(l[0].type)&&mt(e.parentNode)||e))){if(l.splice(o,1),!(t=i.length&&_t(l)))return N.apply(n,i),n;break}}return(d||a(t,p))(i,e,!v,n,!e||tt.test(t)&&mt(e.parentNode)||e),n},n.sortStable=b.split("").sort(E).join("")===b,n.detectDuplicates=!!f,d(),n.sortDetached=ct(function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))}),ct(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ft("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&ct(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ft("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ct(function(t){return null==t.getAttribute("disabled")})||ft(L,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),at}(n);C.find=T,C.expr=T.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=T.uniqueSort,C.text=T.getText,C.isXMLDoc=T.isXML,C.contains=T.contains,C.escapeSelector=T.escape;var A=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&C(t).is(n))break;r.push(t)}return r},k=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},E=C.expr.match.needsContext;function S(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var O=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(t,e,n){return m(e)?C.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?C.grep(t,function(t){return t===e!==n}):"string"!=typeof e?C.grep(t,function(t){return c.call(e,t)>-1!==n}):C.filter(e,t,n)}C.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?C.find.matchesSelector(r,t)?[r]:[]:C.find.matches(t,C.grep(e,function(t){return 1===t.nodeType}))},C.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(C(t).filter(function(){for(e=0;e<r;e++)if(C.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)C.find(t,i[e],n);return r>1?C.uniqueSort(n):n},filter:function(t){return this.pushStack(D(this,t||[],!1))},not:function(t){return this.pushStack(D(this,t||[],!0))},is:function(t){return!!D(this,"string"==typeof t&&E.test(t)?C(t):t||[],!1).length}});var j,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||j,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:N.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:_,!0)),O.test(r[1])&&C.isPlainObject(e))for(r in e)m(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=_.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):m(t)?void 0!==n.ready?n.ready(t):t(C):C.makeArray(t,this)}).prototype=C.fn,j=C(_);var I=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function L(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.fn.extend({has:function(t){var e=C(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(C.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],s="string"!=typeof t&&C(t);if(!E.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?C.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?c.call(C(t),this[0]):c.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),C.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return A(t,"parentNode")},parentsUntil:function(t,e,n){return A(t,"parentNode",n)},next:function(t){return L(t,"nextSibling")},prev:function(t){return L(t,"previousSibling")},nextAll:function(t){return A(t,"nextSibling")},prevAll:function(t){return A(t,"previousSibling")},nextUntil:function(t,e,n){return A(t,"nextSibling",n)},prevUntil:function(t,e,n){return A(t,"previousSibling",n)},siblings:function(t){return k((t.parentNode||{}).firstChild,t)},children:function(t){return k(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(S(t,"template")&&(t=t.content||t),C.merge([],t.childNodes))}},function(t,e){C.fn[t]=function(n,r){var i=C.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=C.filter(r,i)),this.length>1&&(R[t]||C.uniqueSort(i),I.test(t)&&i.reverse()),this.pushStack(i)}});var P=/[^\x20\t\r\n\f]+/g;function F(t){return t}function M(t){throw t}function U(t,e,n,r){var i;try{t&&m(i=t.promise)?i.call(t).done(e).fail(n):t&&m(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}C.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return C.each(t.match(P)||[],function(t,n){e[n]=!0}),e}(t):C.extend({},t);var e,n,r,i,o=[],s=[],a=-1,l=function(){for(i=i||t.once,r=e=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&t.stopOnFalse&&(a=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},u={add:function(){return o&&(n&&!e&&(a=o.length-1,s.push(n)),function e(n){C.each(n,function(n,r){m(r)?t.unique&&u.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&e(r)})}(arguments),n&&!e&&l()),this},remove:function(){return C.each(arguments,function(t,e){for(var n;(n=C.inArray(e,o,n))>-1;)o.splice(n,1),n<=a&&a--}),this},has:function(t){return t?C.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},C.extend({Deferred:function(t){var e=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return C.Deferred(function(n){C.each(e,function(e,r){var i=m(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&m(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){var o=0;function s(t,e,r,i){return function(){var a=this,l=arguments,u=function(){var n,u;if(!(t<o)){if((n=r.apply(a,l))===e.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,m(u)?i?u.call(n,s(o,e,F,i),s(o,e,M,i)):(o++,u.call(n,s(o,e,F,i),s(o,e,M,i),s(o,e,F,e.notifyWith))):(r!==F&&(a=void 0,l=[n]),(i||e.resolveWith)(a,l))}},c=i?u:function(){try{u()}catch(n){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(n,c.stackTrace),t+1>=o&&(r!==M&&(a=void 0,l=[n]),e.rejectWith(a,l))}};t?c():(C.Deferred.getStackHook&&(c.stackTrace=C.Deferred.getStackHook()),n.setTimeout(c))}}return C.Deferred(function(n){e[0][3].add(s(0,n,m(i)?i:F,n.notifyWith)),e[1][3].add(s(0,n,m(t)?t:F)),e[2][3].add(s(0,n,m(r)?r:M))}).promise()},promise:function(t){return null!=t?C.extend(t,i):i}},o={};return C.each(e,function(t,n){var s=n[2],a=n[5];i[n[1]]=s.add,a&&s.add(function(){r=a},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=a.call(arguments),o=C.Deferred(),s=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?a.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(U(t,o.done(s(n)).resolve,o.reject,!e),"pending"===o.state()||m(i[n]&&i[n].then)))return o.then();for(;n--;)U(i[n],s(n),o.reject);return o.promise()}});var q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&q.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},C.readyException=function(t){n.setTimeout(function(){throw t})};var H=C.Deferred();function z(){_.removeEventListener("DOMContentLoaded",z),n.removeEventListener("load",z),C.ready()}C.fn.ready=function(t){return H.then(t).catch(function(t){C.readyException(t)}),this},C.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==t&&--C.readyWait>0||H.resolveWith(_,[C]))}}),C.ready.then=H.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?n.setTimeout(C.ready):(_.addEventListener("DOMContentLoaded",z),n.addEventListener("load",z));var B=function(t,e,n,r,i,o,s){var a=0,l=t.length,u=null==n;if("object"===x(n))for(a in i=!0,n)B(t,e,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,m(r)||(s=!0),u&&(s?(e.call(t,r),e=null):(u=e,e=function(t,e,n){return u.call(C(t),n)})),e))for(;a<l;a++)e(t[a],n,s?r:r.call(t[a],a,e(t[a],n)));return i?t:u?e.call(t):l?e(t[0],n):o},W=/^-ms-/,V=/-([a-z])/g;function X(t,e){return e.toUpperCase()}function G(t){return t.replace(W,"ms-").replace(V,X)}var K=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Z(){this.expando=C.expando+Z.uid++}Z.uid=1,Z.prototype={cache:function(t){var e=t[this.expando];return e||(e=Object.create(null),K(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[G(e)]=n;else for(r in e)i[G(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][G(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(G):(e=G(e))in r?[e]:e.match(P)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||C.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!C.isEmptyObject(e)}};var J=new Z,Q=new Z,Y=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,tt=/[A-Z]/g;function et(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(tt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Y.test(t)?JSON.parse(t):t)}(n)}catch(t){}Q.set(t,e,n)}else n=void 0;return n}C.extend({hasData:function(t){return Q.hasData(t)||J.hasData(t)},data:function(t,e,n){return Q.access(t,e,n)},removeData:function(t,e){Q.remove(t,e)},_data:function(t,e,n){return J.access(t,e,n)},_removeData:function(t,e){J.remove(t,e)}}),C.fn.extend({data:function(t,e){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(i=Q.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=G(r.slice(5)),et(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Q.set(this,t)}):B(this,function(e){var n;if(o&&void 0===e)return void 0!==(n=Q.get(o,t))?n:void 0!==(n=et(o,t))?n:void 0;this.each(function(){Q.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Q.remove(this,t)})}}),C.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=J.get(t,e),n&&(!r||Array.isArray(n)?r=J.access(t,e,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=C.queue(t,e),r=n.length,i=n.shift(),o=C._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,function(){C.dequeue(t,e)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return J.get(t,n)||J.access(t,n,{empty:C.Callbacks("once memory").add(function(){J.remove(t,[e+"queue",n])})})}}),C.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?C.queue(this[0],t):void 0===e?this:this.each(function(){var n=C.queue(this,t,e);C._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&C.dequeue(this,t)})},dequeue:function(t){return this.each(function(){C.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=C.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=J.get(o[s],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(e)}});var nt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,rt=new RegExp("^(?:([+-])=|)("+nt+")([a-z%]*)$","i"),it=["Top","Right","Bottom","Left"],ot=_.documentElement,st=function(t){return C.contains(t.ownerDocument,t)},at={composed:!0};ot.getRootNode&&(st=function(t){return C.contains(t.ownerDocument,t)||t.getRootNode(at)===t.ownerDocument});var lt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&st(t)&&"none"===C.css(t,"display")};function ut(t,e,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return C.css(t,e,"")},l=a(),u=n&&n[3]||(C.cssNumber[e]?"":"px"),c=t.nodeType&&(C.cssNumber[e]||"px"!==u&&+l)&&rt.exec(C.css(t,e));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)C.style(t,e,c+u),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),c/=o;c*=2,C.style(t,e,c+u),n=n||[]}return n&&(c=+c||+l||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=i)),i}var ct={};function ft(t){var e,n=t.ownerDocument,r=t.nodeName,i=ct[r];return i||(e=n.body.appendChild(n.createElement(r)),i=C.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),ct[r]=i,i)}function dt(t,e){for(var n,r,i=[],o=0,s=t.length;o<s;o++)(r=t[o]).style&&(n=r.style.display,e?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&lt(r)&&(i[o]=ft(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<s;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}C.fn.extend({show:function(){return dt(this,!0)},hide:function(){return dt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){lt(this)?C(this).show():C(this).hide()})}});var pt,ht,vt=/^(?:checkbox|radio)$/i,gt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,mt=/^$|^module$|\/(?:java|ecma)script/i;pt=_.createDocumentFragment().appendChild(_.createElement("div")),(ht=_.createElement("input")).setAttribute("type","radio"),ht.setAttribute("checked","checked"),ht.setAttribute("name","t"),pt.appendChild(ht),g.checkClone=pt.cloneNode(!0).cloneNode(!0).lastChild.checked,pt.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!pt.cloneNode(!0).lastChild.defaultValue,pt.innerHTML="<option></option>",g.option=!!pt.lastChild;var yt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function _t(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&S(t,e)?C.merge([t],n):n}function bt(t,e){for(var n=0,r=t.length;n<r;n++)J.set(t[n],"globalEval",!e||J.get(e[n],"globalEval"))}yt.tbody=yt.tfoot=yt.colgroup=yt.caption=yt.thead,yt.th=yt.td,g.option||(yt.optgroup=yt.option=[1,"<select multiple='multiple'>","</select>"]);var wt=/<|&#?\w+;/;function xt(t,e,n,r,i){for(var o,s,a,l,u,c,f=e.createDocumentFragment(),d=[],p=0,h=t.length;p<h;p++)if((o=t[p])||0===o)if("object"===x(o))C.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){for(s=s||f.appendChild(e.createElement("div")),a=(gt.exec(o)||["",""])[1].toLowerCase(),l=yt[a]||yt._default,s.innerHTML=l[1]+C.htmlPrefilter(o)+l[2],c=l[0];c--;)s=s.lastChild;C.merge(d,s.childNodes),(s=f.firstChild).textContent=""}else d.push(e.createTextNode(o));for(f.textContent="",p=0;o=d[p++];)if(r&&C.inArray(o,r)>-1)i&&i.push(o);else if(u=st(o),s=_t(f.appendChild(o),"script"),u&&bt(s),n)for(c=0;o=s[c++];)mt.test(o.type||"")&&n.push(o);return f}var Ct=/^key/,$t=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Tt=/^([^.]*)(?:\.(.+)|)/;function At(){return!0}function kt(){return!1}function Et(t,e){return t===function(){try{return _.activeElement}catch(t){}}()==("focus"===e)}function St(t,e,n,r,i,o){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(r=r||n,n=void 0),e)St(t,a,n,r,e[a],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=kt;else if(!i)return t;return 1===o&&(s=i,(i=function(t){return C().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=C.guid++)),t.each(function(){C.event.add(this,e,i,r,n)})}function Ot(t,e,n){n?(J.set(t,e,!1),C.event.add(t,e,{namespace:!1,handler:function(t){var r,i,o=J.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(C.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=a.call(arguments),J.set(this,e,o),r=n(this,e),this[e](),o!==(i=J.get(this,e))||r?J.set(this,e,!1):i={},o!==i)return t.stopImmediatePropagation(),t.preventDefault(),i.value}else o.length&&(J.set(this,e,{value:C.event.trigger(C.extend(o[0],C.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===J.get(t,e)&&C.event.add(t,e,At)}C.event={global:{},add:function(t,e,n,r,i){var o,s,a,l,u,c,f,d,p,h,v,g=J.get(t);if(K(t))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&C.find.matchesSelector(ot,i),n.guid||(n.guid=C.guid++),(l=g.events)||(l=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(e){return void 0!==C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(P)||[""]).length;u--;)p=v=(a=Tt.exec(e[u])||[])[1],h=(a[2]||"").split(".").sort(),p&&(f=C.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=C.event.special[p]||{},c=C.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=l[p])||((d=l[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,s)||t.addEventListener&&t.addEventListener(p,s)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),C.event.global[p]=!0)},remove:function(t,e,n,r,i){var o,s,a,l,u,c,f,d,p,h,v,g=J.hasData(t)&&J.get(t);if(g&&(l=g.events)){for(u=(e=(e||"").match(P)||[""]).length;u--;)if(p=v=(a=Tt.exec(e[u])||[])[1],h=(a[2]||"").split(".").sort(),p){for(f=C.event.special[p]||{},d=l[p=(r?f.delegateType:f.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)c=d[o],!i&&v!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(t,c));s&&!d.length&&(f.teardown&&!1!==f.teardown.call(t,h,g.handle)||C.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)C.event.remove(t,p+e[u],n,r,!0);C.isEmptyObject(l)&&J.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,s,a=new Array(arguments.length),l=C.event.fix(t),u=(J.get(this,"events")||Object.create(null))[l.type]||[],c=C.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(s=C.event.handlers.call(this,l,u),e=0;(i=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(r=((C.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,r,i,o,s,a=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!("click"===t.type&&t.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[i=(r=e[n]).selector+" "]&&(s[i]=r.needsContext?C(i,this).index(u)>-1:C.find(i,this,null,[u]).length),s[i]&&o.push(r);o.length&&a.push({elem:u,handlers:o})}return u=this,l<e.length&&a.push({elem:u,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(C.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[C.expando]?t:new C.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return vt.test(e.type)&&e.click&&S(e,"input")&&Ot(e,"click",At),!1},trigger:function(t){var e=this||t;return vt.test(e.type)&&e.click&&S(e,"input")&&Ot(e,"click"),!0},_default:function(t){var e=t.target;return vt.test(e.type)&&e.click&&S(e,"input")&&J.get(e,"click")||S(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},C.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},C.Event=function(t,e){if(!(this instanceof C.Event))return new C.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?At:kt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&C.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:kt,isPropagationStopped:kt,isImmediatePropagationStopped:kt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=At,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=At,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=At,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Ct.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&$t.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},function(t,e){C.event.special[t]={setup:function(){return Ot(this,t,Et),!1},trigger:function(){return Ot(this,t),!0},delegateType:e}}),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){C.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=t.relatedTarget,i=t.handleObj;return r&&(r===this||C.contains(this,r))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}}),C.fn.extend({on:function(t,e,n,r){return St(this,t,e,n,r)},one:function(t,e,n,r){return St(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,C(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=kt),this.each(function(){C.event.remove(this,t,n,e)})}});var Dt=/<script|<style|<link/i,jt=/checked\s*(?:[^=]|=\s*.checked.)/i,Nt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function It(t,e){return S(t,"table")&&S(11!==e.nodeType?e:e.firstChild,"tr")&&C(t).children("tbody")[0]||t}function Rt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Lt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Pt(t,e){var n,r,i,o,s,a;if(1===e.nodeType){if(J.hasData(t)&&(a=J.get(t).events))for(i in J.remove(e,"handle events"),a)for(n=0,r=a[i].length;n<r;n++)C.event.add(e,i,a[i][n]);Q.hasData(t)&&(o=Q.access(t),s=C.extend({},o),Q.set(e,s))}}function Ft(t,e,n,r){e=l(e);var i,o,s,a,u,c,f=0,d=t.length,p=d-1,h=e[0],v=m(h);if(v||d>1&&"string"==typeof h&&!g.checkClone&&jt.test(h))return t.each(function(i){var o=t.eq(i);v&&(e[0]=h.call(this,i,o.html())),Ft(o,e,n,r)});if(d&&(o=(i=xt(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(s=C.map(_t(i,"script"),Rt)).length;f<d;f++)u=i,f!==p&&(u=C.clone(u,!0,!0),a&&C.merge(s,_t(u,"script"))),n.call(t[f],u,f);if(a)for(c=s[s.length-1].ownerDocument,C.map(s,Lt),f=0;f<a;f++)u=s[f],mt.test(u.type||"")&&!J.access(u,"globalEval")&&C.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?C._evalUrl&&!u.noModule&&C._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):w(u.textContent.replace(Nt,""),u,c))}return t}function Mt(t,e,n){for(var r,i=e?C.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||C.cleanData(_t(r)),r.parentNode&&(n&&st(r)&&bt(_t(r,"script")),r.parentNode.removeChild(r));return t}C.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,i,o,s,a,l,u,c=t.cloneNode(!0),f=st(t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||C.isXMLDoc(t)))for(s=_t(c),r=0,i=(o=_t(t)).length;r<i;r++)a=o[r],l=s[r],void 0,"input"===(u=l.nodeName.toLowerCase())&&vt.test(a.type)?l.checked=a.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=a.defaultValue);if(e)if(n)for(o=o||_t(t),s=s||_t(c),r=0,i=o.length;r<i;r++)Pt(o[r],s[r]);else Pt(t,c);return(s=_t(c,"script")).length>0&&bt(s,!f&&_t(t,"script")),c},cleanData:function(t){for(var e,n,r,i=C.event.special,o=0;void 0!==(n=t[o]);o++)if(K(n)){if(e=n[J.expando]){if(e.events)for(r in e.events)i[r]?C.event.remove(n,r):C.removeEvent(n,r,e.handle);n[J.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),C.fn.extend({detach:function(t){return Mt(this,t,!0)},remove:function(t){return Mt(this,t)},text:function(t){return B(this,function(t){return void 0===t?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Ft(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||It(this,t).appendChild(t)})},prepend:function(){return Ft(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=It(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Ft(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Ft(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(C.cleanData(_t(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return C.clone(this,t,e)})},html:function(t){return B(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Dt.test(t)&&!yt[(gt.exec(t)||["",""])[1].toLowerCase()]){t=C.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(C.cleanData(_t(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Ft(this,arguments,function(e){var n=this.parentNode;C.inArray(this,t)<0&&(C.cleanData(_t(this)),n&&n.replaceChild(e,this))},t)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){C.fn[t]=function(t){for(var n,r=[],i=C(t),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),C(i[s])[e](n),u.apply(r,n.get());return this.pushStack(r)}});var Ut=new RegExp("^("+nt+")(?!px)[a-z%]+$","i"),qt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Ht=function(t,e,n){var r,i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];for(i in r=n.call(t),e)t.style[i]=o[i];return r},zt=new RegExp(it.join("|"),"i");function Bt(t,e,n){var r,i,o,s,a=t.style;return(n=n||qt(t))&&(""!==(s=n.getPropertyValue(e)||n[e])||st(t)||(s=C.style(t,e)),!g.pixelBoxStyles()&&Ut.test(s)&&zt.test(e)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o)),void 0!==s?s+"":s}function Wt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ot.appendChild(u).appendChild(c);var t=n.getComputedStyle(c);r="1%"!==t.top,l=12===e(t.marginLeft),c.style.right="60%",s=36===e(t.right),i=36===e(t.width),c.style.position="absolute",o=12===e(c.offsetWidth/3),ot.removeChild(u),c=null}}function e(t){return Math.round(parseFloat(t))}var r,i,o,s,a,l,u=_.createElement("div"),c=_.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,C.extend(g,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,r,i;return null==a&&(t=_.createElement("table"),e=_.createElement("tr"),r=_.createElement("div"),t.style.cssText="position:absolute;left:-11111px",e.style.height="1px",r.style.height="9px",ot.appendChild(t).appendChild(e).appendChild(r),i=n.getComputedStyle(e),a=parseInt(i.height)>3,ot.removeChild(t)),a}}))}();var Vt=["Webkit","Moz","ms"],Xt=_.createElement("div").style,Gt={};function Kt(t){var e=C.cssProps[t]||Gt[t];return e||(t in Xt?t:Gt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Vt.length;n--;)if((t=Vt[n]+e)in Xt)return t}(t)||t)}var Zt=/^(none|table(?!-c[ea]).+)/,Jt=/^--/,Qt={position:"absolute",visibility:"hidden",display:"block"},Yt={letterSpacing:"0",fontWeight:"400"};function te(t,e,n){var r=rt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function ee(t,e,n,r,i,o){var s="width"===e?1:0,a=0,l=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=C.css(t,n+it[s],!0,i)),r?("content"===n&&(l-=C.css(t,"padding"+it[s],!0,i)),"margin"!==n&&(l-=C.css(t,"border"+it[s]+"Width",!0,i))):(l+=C.css(t,"padding"+it[s],!0,i),"padding"!==n?l+=C.css(t,"border"+it[s]+"Width",!0,i):a+=C.css(t,"border"+it[s]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-a-.5))||0),l}function ne(t,e,n){var r=qt(t),i=(!g.boxSizingReliable()||n)&&"border-box"===C.css(t,"boxSizing",!1,r),o=i,s=Bt(t,e,r),a="offset"+e[0].toUpperCase()+e.slice(1);if(Ut.test(s)){if(!n)return s;s="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&S(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===C.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===C.css(t,"boxSizing",!1,r),(o=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+ee(t,e,n||(i?"border":"content"),o,r,s)+"px"}function re(t,e,n,r,i){return new re.prototype.init(t,e,n,r,i)}C.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Bt(t,"opacity");return""===n?"1":n}}}},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,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,s,a=G(e),l=Jt.test(e),u=t.style;if(l||(e=Kt(a)),s=C.cssHooks[e]||C.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(t,!1,r))?i:u[e];"string"===(o=typeof n)&&(i=rt.exec(n))&&i[1]&&(n=ut(t,e,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(C.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,r))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,r){var i,o,s,a=G(e);return Jt.test(e)||(e=Kt(a)),(s=C.cssHooks[e]||C.cssHooks[a])&&"get"in s&&(i=s.get(t,!0,n)),void 0===i&&(i=Bt(t,e,r)),"normal"===i&&e in Yt&&(i=Yt[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),C.each(["height","width"],function(t,e){C.cssHooks[e]={get:function(t,n,r){if(n)return!Zt.test(C.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ne(t,e,r):Ht(t,Qt,function(){return ne(t,e,r)})},set:function(t,n,r){var i,o=qt(t),s=!g.scrollboxSize()&&"absolute"===o.position,a=(s||r)&&"border-box"===C.css(t,"boxSizing",!1,o),l=r?ee(t,e,r,a,o):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ee(t,e,"border",!1,o)-.5)),l&&(i=rt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=C.css(t,e)),te(0,n,l)}}}),C.cssHooks.marginLeft=Wt(g.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Bt(t,"marginLeft"))||t.getBoundingClientRect().left-Ht(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(t,e){C.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+it[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(C.cssHooks[t+e].set=te)}),C.fn.extend({css:function(t,e){return B(this,function(t,e,n){var r,i,o={},s=0;if(Array.isArray(e)){for(r=qt(t),i=e.length;s<i;s++)o[e[s]]=C.css(t,e[s],!1,r);return o}return void 0!==n?C.style(t,e,n):C.css(t,e)},t,e,arguments.length>1)}}),C.Tween=re,re.prototype={constructor:re,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||C.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var t=re.propHooks[this.prop];return t&&t.get?t.get(this):re.propHooks._default.get(this)},run:function(t){var e,n=re.propHooks[this.prop];return this.options.duration?this.pos=e=C.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),n&&n.set?n.set(this):re.propHooks._default.set(this),this}},re.prototype.init.prototype=re.prototype,re.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=C.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){C.fx.step[t.prop]?C.fx.step[t.prop](t):1!==t.elem.nodeType||!C.cssHooks[t.prop]&&null==t.elem.style[Kt(t.prop)]?t.elem[t.prop]=t.now:C.style(t.elem,t.prop,t.now+t.unit)}}},re.propHooks.scrollTop=re.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},C.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},C.fx=re.prototype.init,C.fx.step={};var ie,oe,se=/^(?:toggle|show|hide)$/,ae=/queueHooks$/;function le(){oe&&(!1===_.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(le):n.setTimeout(le,C.fx.interval),C.fx.tick())}function ue(){return n.setTimeout(function(){ie=void 0}),ie=Date.now()}function ce(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=it[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function fe(t,e,n){for(var r,i=(de.tweeners[e]||[]).concat(de.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,e,t))return r}function de(t,e,n){var r,i,o=0,s=de.prefilters.length,a=C.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var e=ie||ue(),n=Math.max(0,u.startTime+u.duration-e),r=1-(n/u.duration||0),o=0,s=u.tweens.length;o<s;o++)u.tweens[o].run(r);return a.notifyWith(t,[u,r,n]),r<1&&s?n:(s||a.notifyWith(t,[u,1,0]),a.resolveWith(t,[u]),!1)},u=a.promise({elem:t,props:C.extend({},e),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:e,originalOptions:n,startTime:ie||ue(),duration:n.duration,tweens:[],createTween:function(e,n){var r=C.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(r),r},stop:function(e){var n=0,r=e?u.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)u.tweens[n].run(1);return e?(a.notifyWith(t,[u,1,0]),a.resolveWith(t,[u,e])):a.rejectWith(t,[u,e]),this}}),c=u.props;for(!function(t,e){var n,r,i,o,s;for(n in t)if(i=e[r=G(n)],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(s=C.cssHooks[r])&&"expand"in s)for(n in o=s.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}(c,u.opts.specialEasing);o<s;o++)if(r=de.prefilters[o].call(u,t,c,u.opts))return m(r.stop)&&(C._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return C.map(c,fe,u),m(u.opts.start)&&u.opts.start.call(t,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),C.fx.timer(C.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u}C.Animation=C.extend(de,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ut(n.elem,t,rt.exec(e),n),n}]},tweener:function(t,e){m(t)?(e=t,t=["*"]):t=t.match(P);for(var n,r=0,i=t.length;r<i;r++)n=t[r],de.tweeners[n]=de.tweeners[n]||[],de.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var r,i,o,s,a,l,u,c,f="width"in e||"height"in e,d=this,p={},h=t.style,v=t.nodeType&&lt(t),g=J.get(t,"fxshow");for(r in n.queue||(null==(s=C._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,C.queue(t,"fx").length||s.empty.fire()})})),e)if(i=e[r],se.test(i)){if(delete e[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;v=!0}p[r]=g&&g[r]||C.style(t,r)}if((l=!C.isEmptyObject(e))||!C.isEmptyObject(p))for(r in f&&1===t.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=g&&g.display)&&(u=J.get(t,"display")),"none"===(c=C.css(t,"display"))&&(u?c=u:(dt([t],!0),u=t.style.display||u,c=C.css(t,"display"),dt([t]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===C.css(t,"float")&&(l||(d.done(function(){h.display=u}),null==u&&(c=h.display,u="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1,p)l||(g?"hidden"in g&&(v=g.hidden):g=J.access(t,"fxshow",{display:u}),o&&(g.hidden=!v),v&&dt([t],!0),d.done(function(){for(r in v||dt([t]),J.remove(t,"fxshow"),p)C.style(t,r,p[r])})),l=fe(v?g[r]:0,r,d),r in g||(g[r]=l.start,v&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?de.prefilters.unshift(t):de.prefilters.push(t)}}),C.speed=function(t,e,n){var r=t&&"object"==typeof t?C.extend({},t):{complete:n||!n&&e||m(t)&&t,duration:t,easing:n&&e||e&&!m(e)&&e};return C.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(t,e,n,r){return this.filter(lt).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=C.isEmptyObject(t),o=C.speed(e,n,r),s=function(){var e=de(this,C.extend({},t),o);(i||J.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=C.timers,s=J.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&ae.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||C.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=J.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=C.timers,s=r?r.length:0;for(n.finish=!0,C.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),C.each(["toggle","show","hide"],function(t,e){var n=C.fn[e];C.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ce(e,!0),t,r,i)}}),C.each({slideDown:ce("show"),slideUp:ce("hide"),slideToggle:ce("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){C.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),C.timers=[],C.fx.tick=function(){var t,e=0,n=C.timers;for(ie=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||C.fx.stop(),ie=void 0},C.fx.timer=function(t){C.timers.push(t),C.fx.start()},C.fx.interval=13,C.fx.start=function(){oe||(oe=!0,le())},C.fx.stop=function(){oe=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(t,e){return t=C.fx&&C.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}})},function(){var t=_.createElement("input"),e=_.createElement("select").appendChild(_.createElement("option"));t.type="checkbox",g.checkOn=""!==t.value,g.optSelected=e.selected,(t=_.createElement("input")).value="t",t.type="radio",g.radioValue="t"===t.value}();var pe,he=C.expr.attrHandle;C.fn.extend({attr:function(t,e){return B(this,C.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){C.removeAttr(this,t)})}}),C.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?C.prop(t,e,n):(1===o&&C.isXMLDoc(t)||(i=C.attrHooks[e.toLowerCase()]||(C.expr.match.bool.test(e)?pe:void 0)),void 0!==n?null===n?void C.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=C.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!g.radioValue&&"radio"===e&&S(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(P);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),pe={set:function(t,e,n){return!1===e?C.removeAttr(t,n):t.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(t,e){var n=he[e]||C.find.attr;he[e]=function(t,e,r){var i,o,s=e.toLowerCase();return r||(o=he[s],he[s]=i,i=null!=n(t,e,r)?s:null,he[s]=o),i}});var ve=/^(?:input|select|textarea|button)$/i,ge=/^(?:a|area)$/i;function me(t){return(t.match(P)||[]).join(" ")}function ye(t){return t.getAttribute&&t.getAttribute("class")||""}function _e(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(P)||[]}C.fn.extend({prop:function(t,e){return B(this,C.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[C.propFix[t]||t]})}}),C.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(t)||(e=C.propFix[e]||e,i=C.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=C.find.attr(t,"tabindex");return e?parseInt(e,10):ve.test(t.nodeName)||ge.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(C.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(t){var e,n,r,i,o,s,a,l=0;if(m(t))return this.each(function(e){C(this).addClass(t.call(this,e,ye(this)))});if((e=_e(t)).length)for(;n=this[l++];)if(i=ye(n),r=1===n.nodeType&&" "+me(i)+" "){for(s=0;o=e[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=me(r))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,s,a,l=0;if(m(t))return this.each(function(e){C(this).removeClass(t.call(this,e,ye(this)))});if(!arguments.length)return this.attr("class","");if((e=_e(t)).length)for(;n=this[l++];)if(i=ye(n),r=1===n.nodeType&&" "+me(i)+" "){for(s=0;o=e[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=me(r))&&n.setAttribute("class",a)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):m(t)?this.each(function(n){C(this).toggleClass(t.call(this,n,ye(this),e),e)}):this.each(function(){var e,i,o,s;if(r)for(i=0,o=C(this),s=_e(t);e=s[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=ye(this))&&J.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":J.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+me(ye(n))+" ").indexOf(e)>-1)return!0;return!1}});var be=/\r/g;C.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=m(t),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,C(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=C.map(i,function(t){return null==t?"":t+""})),(e=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))})):i?(e=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(be,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(t){var e=C.find.attr(t,"value");return null!=e?e:me(C.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?o+1:i.length;for(r=o<0?l:s?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!S(n.parentNode,"optgroup"))){if(e=C(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,r,i=t.options,o=C.makeArray(e),s=i.length;s--;)((r=i[s]).selected=C.inArray(C.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=C.inArray(C(t).val(),e)>-1}},g.checkOn||(C.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),g.focusin="onfocusin"in n;var we=/^(?:focusinfocus|focusoutblur)$/,xe=function(t){t.stopPropagation()};C.extend(C.event,{trigger:function(t,e,r,i){var o,s,a,l,u,c,f,d,h=[r||_],v=p.call(t,"type")?t.type:t,g=p.call(t,"namespace")?t.namespace.split("."):[];if(s=d=a=r=r||_,3!==r.nodeType&&8!==r.nodeType&&!we.test(v+C.event.triggered)&&(v.indexOf(".")>-1&&(v=(g=v.split(".")).shift(),g.sort()),u=v.indexOf(":")<0&&"on"+v,(t=t[C.expando]?t:new C.Event(v,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:C.makeArray(e,[t]),f=C.event.special[v]||{},i||!f.trigger||!1!==f.trigger.apply(r,e))){if(!i&&!f.noBubble&&!y(r)){for(l=f.delegateType||v,we.test(l+v)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(r.ownerDocument||_)&&h.push(a.defaultView||a.parentWindow||n)}for(o=0;(s=h[o++])&&!t.isPropagationStopped();)d=s,t.type=o>1?l:f.bindType||v,(c=(J.get(s,"events")||Object.create(null))[t.type]&&J.get(s,"handle"))&&c.apply(s,e),(c=u&&s[u])&&c.apply&&K(s)&&(t.result=c.apply(s,e),!1===t.result&&t.preventDefault());return t.type=v,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),e)||!K(r)||u&&m(r[v])&&!y(r)&&((a=r[u])&&(r[u]=null),C.event.triggered=v,t.isPropagationStopped()&&d.addEventListener(v,xe),r[v](),t.isPropagationStopped()&&d.removeEventListener(v,xe),C.event.triggered=void 0,a&&(r[u]=a)),t.result}},simulate:function(t,e,n){var r=C.extend(new C.Event,n,{type:t,isSimulated:!0});C.event.trigger(r,null,e)}}),C.fn.extend({trigger:function(t,e){return this.each(function(){C.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return C.event.trigger(t,e,n,!0)}}),g.focusin||C.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){C.event.simulate(e,t.target,C.event.fix(t))};C.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,e);i||r.addEventListener(t,n,!0),J.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,e)-1;i?J.access(r,e,i):(r.removeEventListener(t,n,!0),J.remove(r,e))}}});var Ce=n.location,$e={guid:Date.now()},Te=/\?/;C.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+t),e};var Ae=/\[\]$/,ke=/\r?\n/g,Ee=/^(?:submit|button|image|reset|file)$/i,Se=/^(?:input|select|textarea|keygen)/i;function Oe(t,e,n,r){var i;if(Array.isArray(e))C.each(e,function(e,i){n||Ae.test(t)?r(t,i):Oe(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==x(e))r(t,e);else for(i in e)Oe(t+"["+i+"]",e[i],n,r)}C.param=function(t,e){var n,r=[],i=function(t,e){var n=m(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!C.isPlainObject(t))C.each(t,function(){i(this.name,this.value)});else for(n in t)Oe(n,t[n],e,i);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=C.prop(this,"elements");return t?C.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!C(this).is(":disabled")&&Se.test(this.nodeName)&&!Ee.test(t)&&(this.checked||!vt.test(t))}).map(function(t,e){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,function(t){return{name:e.name,value:t.replace(ke,"\r\n")}}):{name:e.name,value:n.replace(ke,"\r\n")}}).get()}});var De=/%20/g,je=/#.*$/,Ne=/([?&])_=[^&]*/,Ie=/^(.*?):[ \t]*([^\r\n]*)$/gm,Re=/^(?:GET|HEAD)$/,Le=/^\/\//,Pe={},Fe={},Me="*/".concat("*"),Ue=_.createElement("a");function qe(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(P)||[];if(m(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function He(t,e,n,r){var i={},o=t===Fe;function s(a){var l;return i[a]=!0,C.each(t[a]||[],function(t,a){var u=a(e,n,r);return"string"!=typeof u||o||i[u]?o?!(l=u):void 0:(e.dataTypes.unshift(u),s(u),!1)}),l}return s(e.dataTypes[0])||!i["*"]&&s("*")}function ze(t,e){var n,r,i=C.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&C.extend(!0,t,r),t}Ue.href=Ce.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ce.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ce.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Me,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ze(ze(t,C.ajaxSettings),e):ze(C.ajaxSettings,t)},ajaxPrefilter:qe(Pe),ajaxTransport:qe(Fe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,i,o,s,a,l,u,c,f,d,p=C.ajaxSetup({},e),h=p.context||p,v=p.context&&(h.nodeType||h.jquery)?C(h):C.event,g=C.Deferred(),m=C.Callbacks("once memory"),y=p.statusCode||{},b={},w={},x="canceled",$={readyState:0,getResponseHeader:function(t){var e;if(u){if(!s)for(s={};e=Ie.exec(o);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(t,e){return null==u&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==u&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)$.always(t[$.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||x;return r&&r.abort(e),T(0,e),this}};if(g.promise($),p.url=((t||p.url||Ce.href)+"").replace(Le,Ce.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(P)||[""],null==p.crossDomain){l=_.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ue.protocol+"//"+Ue.host!=l.protocol+"//"+l.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=C.param(p.data,p.traditional)),He(Pe,p,e,$),u)return $;for(f in(c=C.event&&p.global)&&0==C.active++&&C.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Re.test(p.type),i=p.url.replace(je,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(De,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Te.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Ne,"$1"),d=(Te.test(i)?"&":"?")+"_="+$e.guid+++d),p.url=i+d),p.ifModified&&(C.lastModified[i]&&$.setRequestHeader("If-Modified-Since",C.lastModified[i]),C.etag[i]&&$.setRequestHeader("If-None-Match",C.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&$.setRequestHeader("Content-Type",p.contentType),$.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Me+"; q=0.01":""):p.accepts["*"]),p.headers)$.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(h,$,p)||u))return $.abort();if(x="abort",m.add(p.complete),$.done(p.success),$.fail(p.error),r=He(Fe,p,e,$)){if($.readyState=1,c&&v.trigger("ajaxSend",[$,p]),u)return $;p.async&&p.timeout>0&&(a=n.setTimeout(function(){$.abort("timeout")},p.timeout));try{u=!1,r.send(b,T)}catch(t){if(u)throw t;T(-1,t)}}else T(-1,"No Transport");function T(t,e,s,l){var f,d,_,b,w,x=e;u||(u=!0,a&&n.clearTimeout(a),r=void 0,o=l||"",$.readyState=t>0?4:0,f=t>=200&&t<300||304===t,s&&(b=function(t,e,n){for(var r,i,o,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||t.converters[i+" "+l[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,$,s)),!f&&C.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),b=function(t,e,n,r){var i,o,s,a,l,u={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)u[s.toLowerCase()]=t.converters[s];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=u[l+" "+o]||u["* "+o]))for(i in u)if((a=i.split(" "))[1]===o&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[i]:!0!==u[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(p,b,$,f),f?(p.ifModified&&((w=$.getResponseHeader("Last-Modified"))&&(C.lastModified[i]=w),(w=$.getResponseHeader("etag"))&&(C.etag[i]=w)),204===t||"HEAD"===p.type?x="nocontent":304===t?x="notmodified":(x=b.state,d=b.data,f=!(_=b.error))):(_=x,!t&&x||(x="error",t<0&&(t=0))),$.status=t,$.statusText=(e||x)+"",f?g.resolveWith(h,[d,x,$]):g.rejectWith(h,[$,x,_]),$.statusCode(y),y=void 0,c&&v.trigger(f?"ajaxSuccess":"ajaxError",[$,p,f?d:_]),m.fireWith(h,[$,x]),c&&(v.trigger("ajaxComplete",[$,p]),--C.active||C.event.trigger("ajaxStop")))}return $},getJSON:function(t,e,n){return C.get(t,e,n,"json")},getScript:function(t,e){return C.get(t,void 0,e,"script")}}),C.each(["get","post"],function(t,e){C[e]=function(t,n,r,i){return m(n)&&(i=i||r,r=n,n=void 0),C.ajax(C.extend({url:t,type:e,dataType:i,data:n,success:r},C.isPlainObject(t)&&t))}}),C.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),C._evalUrl=function(t,e,n){return C.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){C.globalEval(t,e,n)}})},C.fn.extend({wrapAll:function(t){var e;return this[0]&&(m(t)&&(t=t.call(this[0])),e=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return m(t)?this.each(function(e){C(this).wrapInner(t.call(this,e))}):this.each(function(){var e=C(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=m(t);return this.each(function(n){C(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(t){return!C.expr.pseudos.visible(t)},C.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Be={0:200,1223:204},We=C.ajaxSettings.xhr();g.cors=!!We&&"withCredentials"in We,g.ajax=We=!!We,C.ajaxTransport(function(t){var e,r;if(g.cors||We&&!t.crossDomain)return{send:function(i,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(s,i[s]);e=function(t){return function(){e&&(e=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Be[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),r=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),C.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return C.globalEval(t),t}}}),C.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),C.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,i){e=C("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),_.head.appendChild(e[0])},abort:function(){n&&n()}}});var Ve,Xe=[],Ge=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Xe.pop()||C.expando+"_"+$e.guid++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,s,a=!1!==t.jsonp&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ge,"$1"+i):!1!==t.jsonp&&(t.url+=(Te.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||C.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){s=arguments},r.always(function(){void 0===o?C(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,Xe.push(i)),s&&m(o)&&o(s[0]),s=o=void 0}),"script"}),g.createHTMLDocument=((Ve=_.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ve.childNodes.length),C.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(g.createHTMLDocument?((r=(e=_.implementation.createHTMLDocument("")).createElement("base")).href=_.location.href,e.head.appendChild(r)):e=_),i=O.exec(t),o=!n&&[],i?[e.createElement(i[1])]:(i=xt([t],e,o),o&&o.length&&C(o).remove(),C.merge([],i.childNodes)));var r,i,o},C.fn.load=function(t,e,n){var r,i,o,s=this,a=t.indexOf(" ");return a>-1&&(r=me(t.slice(a)),t=t.slice(0,a)),m(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),s.length>0&&C.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,s.html(r?C("<div>").append(C.parseHTML(t)).find(r):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},C.expr.pseudos.animated=function(t){return C.grep(C.timers,function(e){return t===e.elem}).length},C.offset={setOffset:function(t,e,n){var r,i,o,s,a,l,u=C.css(t,"position"),c=C(t),f={};"static"===u&&(t.style.position="relative"),a=c.offset(),o=C.css(t,"top"),l=C.css(t,"left"),("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1?(s=(r=c.position()).top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(l)||0),m(e)&&(e=e.call(t,n,C.extend({},a))),null!=e.top&&(f.top=e.top-a.top+s),null!=e.left&&(f.left=e.left-a.left+i),"using"in e?e.using.call(t,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},C.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){C.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===C.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===C.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=C(t).offset()).top+=C.css(t,"borderTopWidth",!0),i.left+=C.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-C.css(r,"marginTop",!0),left:e.left-i.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===C.css(t,"position");)t=t.offsetParent;return t||ot})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;C.fn[t]=function(r){return B(this,function(t,r,i){var o;if(y(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i},t,r,arguments.length)}}),C.each(["top","left"],function(t,e){C.cssHooks[e]=Wt(g.pixelPosition,function(t,n){if(n)return n=Bt(t,e),Ut.test(n)?C(t).position()[e]+"px":n})}),C.each({Height:"height",Width:"width"},function(t,e){C.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){C.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===o?"margin":"border");return B(this,function(e,n,i){var o;return y(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?C.css(e,n,a):C.style(e,n,i,a)},e,s?i:void 0,s)}})}),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){C.fn[e]=function(t){return this.on(e,t)}}),C.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){C.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}});var Ke=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;C.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),m(t))return r=a.call(arguments,2),(i=function(){return t.apply(e||this,r.concat(a.call(arguments)))}).guid=t.guid=t.guid||C.guid++,i},C.holdReady=function(t){t?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=S,C.isFunction=m,C.isWindow=y,C.camelCase=G,C.type=x,C.now=Date.now,C.isNumeric=function(t){var e=C.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},C.trim=function(t){return null==t?"":(t+"").replace(Ke,"")},void 0===(r=function(){return C}.apply(e,[]))||(t.exports=r);var Ze=n.jQuery,Je=n.$;return C.noConflict=function(t){return n.$===C&&(n.$=Je),t&&n.jQuery===C&&(n.jQuery=Ze),C},void 0===i&&(n.jQuery=n.$=C),C})},"8+8L":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"Url",function(){return D}),n.d(e,"Http",function(){return z}),n.d(e,"Resource",function(){return B});var r=2;function i(t){this.state=r,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)}}i.reject=function(t){return new i(function(e,n){n(t)})},i.resolve=function(t){return new i(function(e,n){e(t)})},i.all=function(t){return new i(function(e,n){var r=0,o=[];function s(n){return function(i){o[n]=i,(r+=1)===t.length&&e(o)}}0===t.length&&e(o);for(var a=0;a<t.length;a+=1)i.resolve(t[a]).then(s(a),n)})},i.race=function(t){return new i(function(e,n){for(var r=0;r<t.length;r+=1)i.resolve(t[r]).then(e,n)})};var o=i.prototype;function s(t,e){t instanceof Promise?this.promise=t:this.promise=new Promise(t.bind(e)),this.context=e}o.resolve=function(t){var e=this;if(e.state===r){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=t&&t.then;if(null!==t&&"object"==typeof t&&"function"==typeof i)return void i.call(t,function(t){n||e.resolve(t),n=!0},function(t){n||e.reject(t),n=!0})}catch(t){return void(n||e.reject(t))}e.state=0,e.value=t,e.notify()}},o.reject=function(t){if(this.state===r){if(t===this)throw new TypeError("Promise settled with itself.");this.state=1,this.value=t,this.notify()}},o.notify=function(){var t,e=this;l(function(){if(e.state!==r)for(;e.deferred.length;){var t=e.deferred.shift(),n=t[0],i=t[1],o=t[2],s=t[3];try{0===e.state?o("function"==typeof n?n.call(void 0,e.value):e.value):1===e.state&&("function"==typeof i?o(i.call(void 0,e.value)):s(e.value))}catch(t){s(t)}}},t)},o.then=function(t,e){var n=this;return new i(function(r,i){n.deferred.push([t,e,r,i]),n.notify()})},o.catch=function(t){return this.then(void 0,t)},"undefined"==typeof Promise&&(window.Promise=i),s.all=function(t,e){return new s(Promise.all(t),e)},s.resolve=function(t,e){return new s(Promise.resolve(t),e)},s.reject=function(t,e){return new s(Promise.reject(t),e)},s.race=function(t,e){return new s(Promise.race(t),e)};var a=s.prototype;a.bind=function(t){return this.context=t,this},a.then=function(t,e){return t&&t.bind&&this.context&&(t=t.bind(this.context)),e&&e.bind&&this.context&&(e=e.bind(this.context)),new s(this.promise.then(t,e),this.context)},a.catch=function(t){return t&&t.bind&&this.context&&(t=t.bind(this.context)),new s(this.promise.catch(t),this.context)},a.finally=function(t){return this.then(function(e){return t.call(this),e},function(e){return t.call(this),Promise.reject(e)})};var l,u={}.hasOwnProperty,c=[].slice,f=!1,d="undefined"!=typeof window;function p(t){return t?t.replace(/^\s*|\s*$/g,""):""}function h(t){return t?t.toLowerCase():""}var v=Array.isArray;function g(t){return"string"==typeof t}function m(t){return"function"==typeof t}function y(t){return null!==t&&"object"==typeof t}function _(t){return y(t)&&Object.getPrototypeOf(t)==Object.prototype}function b(t,e,n){var r=s.resolve(t);return arguments.length<2?r:r.then(e,n)}function w(t,e,n){return m(n=n||{})&&(n=n.call(e)),$(t.bind({$vm:e,$options:n}),t,{$options:n})}function x(t,e){var n,r;if(v(t))for(n=0;n<t.length;n++)e.call(t[n],t[n],n);else if(y(t))for(r in t)u.call(t,r)&&e.call(t[r],t[r],r);return t}var C=Object.assign||function(t){return c.call(arguments,1).forEach(function(e){T(t,e)}),t};function $(t){return c.call(arguments,1).forEach(function(e){T(t,e,!0)}),t}function T(t,e,n){for(var r in e)n&&(_(e[r])||v(e[r]))?(_(e[r])&&!_(t[r])&&(t[r]={}),v(e[r])&&!v(t[r])&&(t[r]=[]),T(t[r],e[r],n)):void 0!==e[r]&&(t[r]=e[r])}function A(t,e,n){var r=function(t){var e=["+","#",".","/",";","?","&"],n=[];return{vars:n,expand:function(r){return t.replace(/\{([^{}]+)\}|([^{}]+)/g,function(t,i,o){if(i){var s=null,a=[];if(-1!==e.indexOf(i.charAt(0))&&(s=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(t){var e=/([^:*]*)(?::(\d+)|(\*))?/.exec(t);a.push.apply(a,function(t,e,n,r){var i=t[n],o=[];if(k(i)&&""!==i)if("string"==typeof i||"number"==typeof i||"boolean"==typeof i)i=i.toString(),r&&"*"!==r&&(i=i.substring(0,parseInt(r,10))),o.push(S(e,i,E(e)?n:null));else if("*"===r)Array.isArray(i)?i.filter(k).forEach(function(t){o.push(S(e,t,E(e)?n:null))}):Object.keys(i).forEach(function(t){k(i[t])&&o.push(S(e,i[t],t))});else{var s=[];Array.isArray(i)?i.filter(k).forEach(function(t){s.push(S(e,t))}):Object.keys(i).forEach(function(t){k(i[t])&&(s.push(encodeURIComponent(t)),s.push(S(e,i[t].toString())))}),E(e)?o.push(encodeURIComponent(n)+"="+s.join(",")):0!==s.length&&o.push(s.join(","))}else";"===e?o.push(encodeURIComponent(n)):""!==i||"&"!==e&&"?"!==e?""===i&&o.push(""):o.push(encodeURIComponent(n)+"=");return o}(r,s,e[1],e[2]||e[3])),n.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(o)})}}}(t),i=r.expand(e);return n&&n.push.apply(n,r.vars),i}function k(t){return void 0!==t&&null!==t}function E(t){return";"===t||"&"===t||"?"===t}function S(t,e,n){return e="+"===t||"#"===t?O(e):encodeURIComponent(e),n?encodeURIComponent(n)+"="+e:e}function O(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 D(t,e){var n,r=this||{},i=t;return g(t)&&(i={url:t,params:e}),i=$({},D.options,r.$options,i),D.transforms.forEach(function(t){g(t)&&(t=D.transform[t]),m(t)&&(n=function(t,e,n){return function(r){return t.call(n,r,e)}}(t,n,r.$vm))}),n(i)}function j(t){return new s(function(e){var n=new XDomainRequest,r=function(r){var i=r.type,o=0;"load"===i?o=200:"error"===i&&(o=500),e(t.respondWith(n.responseText,{status:o}))};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl()),t.timeout&&(n.timeout=t.timeout),n.onload=r,n.onabort=r,n.onerror=r,n.ontimeout=r,n.onprogress=function(){},n.send(t.getBody())})}D.options={url:"",root:null,params:{}},D.transform={template:function(t){var e=[],n=A(t.url,t.params,e);return e.forEach(function(e){delete t.params[e]}),n},query:function(t,e){var n=Object.keys(D.options.params),r={},i=e(t);return x(t.params,function(t,e){-1===n.indexOf(e)&&(r[e]=t)}),(r=D.params(r))&&(i+=(-1==i.indexOf("?")?"?":"&")+r),i},root:function(t,e){var n,r,i=e(t);return g(t.root)&&!/^(https?:)?\//.test(i)&&(n=t.root,r="/",i=(n&&void 0===r?n.replace(/\s+$/,""):n&&r?n.replace(new RegExp("["+r+"]+$"),""):n)+"/"+i),i}},D.transforms=["template","query","root"],D.params=function(t){var e=[],n=encodeURIComponent;return e.add=function(t,e){m(e)&&(e=e()),null===e&&(e=""),this.push(n(t)+"="+n(e))},function t(e,n,r){var i,o=v(n),s=_(n);x(n,function(n,a){i=y(n)||v(n),r&&(a=r+"["+(s||i?a:"")+"]"),!r&&o?e.add(n.name,n.value):i?t(e,n,a):e.add(a,n)})}(e,t),e.join("&").replace(/%20/g,"+")},D.parse=function(t){var e=document.createElement("a");return document.documentMode&&(e.href=t,t=e.href),e.href=t,{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",port:e.port,host:e.host,hostname:e.hostname,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):""}};var N=d&&"withCredentials"in new XMLHttpRequest;function I(t){return new s(function(e){var n,r,i=t.jsonp||"callback",o=t.jsonpCallback||"_jsonp"+Math.random().toString(36).substr(2),s=null;n=function(n){var i=n.type,a=0;"load"===i&&null!==s?a=200:"error"===i&&(a=500),a&&window[o]&&(delete window[o],document.body.removeChild(r)),e(t.respondWith(s,{status:a}))},window[o]=function(t){s=JSON.stringify(t)},t.abort=function(){n({type:"abort"})},t.params[i]=o,t.timeout&&setTimeout(t.abort,t.timeout),(r=document.createElement("script")).src=t.getUrl(),r.type="text/javascript",r.async=!0,r.onload=n,r.onerror=n,document.body.appendChild(r)})}function R(t){return new s(function(e){var n=new XMLHttpRequest,r=function(r){var i=t.respondWith("response"in n?n.response:n.responseText,{status:1223===n.status?204:n.status,statusText:1223===n.status?"No Content":p(n.statusText)});x(p(n.getAllResponseHeaders()).split("\n"),function(t){i.headers.append(t.slice(0,t.indexOf(":")),t.slice(t.indexOf(":")+1))}),e(i)};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl(),!0),t.timeout&&(n.timeout=t.timeout),t.responseType&&"responseType"in n&&(n.responseType=t.responseType),(t.withCredentials||t.credentials)&&(n.withCredentials=!0),t.crossOrigin||t.headers.set("X-Requested-With","XMLHttpRequest"),m(t.progress)&&"GET"===t.method&&n.addEventListener("progress",t.progress),m(t.downloadProgress)&&n.addEventListener("progress",t.downloadProgress),m(t.progress)&&/^(POST|PUT)$/i.test(t.method)&&n.upload.addEventListener("progress",t.progress),m(t.uploadProgress)&&n.upload&&n.upload.addEventListener("progress",t.uploadProgress),t.headers.forEach(function(t,e){n.setRequestHeader(e,t)}),n.onload=r,n.onabort=r,n.onerror=r,n.ontimeout=r,n.send(t.getBody())})}function L(t){var e=n(1);return new s(function(n){var r,i=t.getUrl(),o=t.getBody(),s=t.method,a={};t.headers.forEach(function(t,e){a[e]=t}),e(i,{body:o,method:s,headers:a}).then(r=function(e){var r=t.respondWith(e.body,{status:e.statusCode,statusText:p(e.statusMessage)});x(e.headers,function(t,e){r.headers.set(e,t)}),n(r)},function(t){return r(t.response)})})}function P(t){return(t.client||(d?R:L))(t)}var F=function(t){var e=this;this.map={},x(t,function(t,n){return e.append(n,t)})};function M(t,e){return Object.keys(t).reduce(function(t,n){return h(e)===h(n)?n:t},null)}F.prototype.has=function(t){return null!==M(this.map,t)},F.prototype.get=function(t){var e=this.map[M(this.map,t)];return e?e.join():null},F.prototype.getAll=function(t){return this.map[M(this.map,t)]||[]},F.prototype.set=function(t,e){this.map[function(t){if(/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return p(t)}(M(this.map,t)||t)]=[p(e)]},F.prototype.append=function(t,e){var n=this.map[M(this.map,t)];n?n.push(p(e)):this.set(t,e)},F.prototype.delete=function(t){delete this.map[M(this.map,t)]},F.prototype.deleteAll=function(){this.map={}},F.prototype.forEach=function(t,e){var n=this;x(this.map,function(r,i){x(r,function(r){return t.call(e,r,i,n)})})};var U=function(t,e){var n=e.url,r=e.headers,i=e.status,o=e.statusText;this.url=n,this.ok=i>=200&&i<300,this.status=i||0,this.statusText=o||"",this.headers=new F(r),this.body=t,g(t)?this.bodyText=t:"undefined"!=typeof Blob&&t instanceof Blob&&(this.bodyBlob=t,function(t){return 0===t.type.indexOf("text")||-1!==t.type.indexOf("json")}(t)&&(this.bodyText=function(t){return new s(function(e){var n=new FileReader;n.readAsText(t),n.onload=function(){e(n.result)}})}(t)))};U.prototype.blob=function(){return b(this.bodyBlob)},U.prototype.text=function(){return b(this.bodyText)},U.prototype.json=function(){return b(this.text(),function(t){return JSON.parse(t)})},Object.defineProperty(U.prototype,"data",{get:function(){return this.body},set:function(t){this.body=t}});var q=function(t){var e;this.body=null,this.params={},C(this,t,{method:(e=t.method||"GET",e?e.toUpperCase():"")}),this.headers instanceof F||(this.headers=new F(this.headers))};q.prototype.getUrl=function(){return D(this)},q.prototype.getBody=function(){return this.body},q.prototype.respondWith=function(t,e){return new U(t,C(e||{},{url:this.getUrl()}))};var H={"Content-Type":"application/json;charset=utf-8"};function z(t){var e=this||{},n=function(t){var e=[P],n=[];function r(r){for(;e.length;){var i=e.pop();if(m(i)){var o=void 0,a=void 0;if(y(o=i.call(t,r,function(t){return a=t})||a))return new s(function(e,r){n.forEach(function(e){o=b(o,function(n){return e.call(t,n)||n},r)}),b(o,e,r)},t);m(o)&&n.unshift(o)}else l="Invalid interceptor of type "+typeof i+", must be a function","undefined"!=typeof console&&f&&console.warn("[VueResource warn]: "+l)}var l}return y(t)||(t=null),r.use=function(t){e.push(t)},r}(e.$vm);return function(t){c.call(arguments,1).forEach(function(e){for(var n in e)void 0===t[n]&&(t[n]=e[n])})}(t||{},e.$options,z.options),z.interceptors.forEach(function(t){g(t)&&(t=z.interceptor[t]),m(t)&&n.use(t)}),n(new q(t)).then(function(t){return t.ok?t:s.reject(t)},function(t){var e;return t instanceof Error&&(e=t,"undefined"!=typeof console&&console.error(e)),s.reject(t)})}function B(t,e,n,r){var i=this||{},o={};return x(n=C({},B.actions,n),function(n,s){n=$({url:t,params:C({},e)},r,n),o[s]=function(){return(i.$http||z)(function(t,e){var n,r=C({},t),i={};switch(e.length){case 2:i=e[0],n=e[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(r.method)?n=e[0]:i=e[0];break;case 0:break;default:throw"Expected up to 2 arguments [params, body], got "+e.length+" arguments"}return r.body=n,r.params=C({},r.params,i),r}(n,arguments))}}),o}function W(t){var e,n,r;W.installed||(n=(e=t).config,r=e.nextTick,l=r,f=n.debug||!n.silent,t.url=D,t.http=z,t.resource=B,t.Promise=s,Object.defineProperties(t.prototype,{$url:{get:function(){return w(t.url,this,this.$options.url)}},$http:{get:function(){return w(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}},$promise:{get:function(){var e=this;return function(n){return new t.Promise(n,e)}}}}))}z.options={},z.headers={put:H,post:H,patch:H,delete:H,common:{Accept:"application/json, text/plain, */*"},custom:{}},z.interceptor={before:function(t){m(t.before)&&t.before.call(this,t)},method:function(t){t.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(t.method)&&(t.headers.set("X-HTTP-Method-Override",t.method),t.method="POST")},jsonp:function(t){"JSONP"==t.method&&(t.client=I)},json:function(t){var e=t.headers.get("Content-Type")||"";return y(t.body)&&0===e.indexOf("application/json")&&(t.body=JSON.stringify(t.body)),function(t){return t.bodyText?b(t.text(),function(e){var n,r;if(0===(t.headers.get("Content-Type")||"").indexOf("application/json")||(r=(n=e).match(/^\s*(\[|\{)/))&&{"[":/]\s*$/,"{":/}\s*$/}[r[1]].test(n))try{t.body=JSON.parse(e)}catch(e){t.body=null}else t.body=e;return t}):t}},form:function(t){var e;e=t.body,"undefined"!=typeof FormData&&e instanceof FormData?t.headers.delete("Content-Type"):y(t.body)&&t.emulateJSON&&(t.body=D.params(t.body),t.headers.set("Content-Type","application/x-www-form-urlencoded"))},header:function(t){x(C({},z.headers.common,t.crossOrigin?{}:z.headers.custom,z.headers[h(t.method)]),function(e,n){t.headers.has(n)||t.headers.set(n,e)})},cors:function(t){if(d){var e=D.parse(location.href),n=D.parse(t.getUrl());n.protocol===e.protocol&&n.host===e.host||(t.crossOrigin=!0,t.emulateHTTP=!1,N||(t.client=j))}}},z.interceptors=["before","method","jsonp","json","form","header","cors"],["get","delete","head","jsonp"].forEach(function(t){z[t]=function(e,n){return this(C(n||{},{url:e,method:t}))}}),["post","put","patch"].forEach(function(t){z[t]=function(e,n,r){return this(C(r||{},{url:e,method:t,body:n}))}}),B.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(W),e.default=W},"8Hdb":function(t,e,n){var r=n("pQUU");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("55ec6dfe",r,!0,{})},"8tqk":function(t,e,n){var r=n("XDdR");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("e7dfcece",r,!0,{})},"9ozO":function(t,e){},"9zF9":function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-538f99aa]{cursor:pointer}.m-b-none[data-v-538f99aa]{margin-bottom:0}",""])},"A/e+":function(t,e,n){var r=n("VU/8")(n("5m3O"),n("l4G8"),!1,function(t){n("8tqk")},"data-v-7193ece9",null);t.exports=r.exports},DimI:function(t,e,n){var r=n("9zF9");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("3ca06ca7",r,!0,{})},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},F7gb:function(t,e){},FHXl:function(t,e,n){var r,i,o;!function(s){"use strict";i=[n("7t+N"),n("z1kw")],void 0===(o="function"==typeof(r=s)?r.apply(e,i):r)||(t.exports=o)}(function(t){"use strict";function e(e){var n="dragover"===e;return function(r){r.dataTransfer=r.originalEvent&&r.originalEvent.dataTransfer;var i=r.dataTransfer;i&&-1!==t.inArray("Files",i.types)&&!1!==this._trigger(e,t.Event(e,{delegatedEvent:r}))&&(r.preventDefault(),n&&(i.dropEffect="copy"))}}t.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||t('<input type="file"/>').prop("disabled")),t.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),t.support.xhrFormDataFileUpload=!!window.FormData,t.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),t.widget("blueimp.fileupload",{options:{dropZone:t(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,uniqueFilenames:void 0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(e,n){return e=this.messages[e]||e.toString(),n&&t.each(n,function(t,n){e=e.replace("{"+t+"}",n)}),e},formData:function(t){return t.serializeArray()},add:function(e,n){if(e.isDefaultPrevented())return!1;(n.autoUpload||!1!==n.autoUpload&&t(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:t.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var r=t-this.timestamp;return(!this.bitrate||!n||r>n)&&(this.bitrate=(e-this.loaded)*(1e3/r)*8,this.loaded=e,this.timestamp=t),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&t.support.xhrFileUpload||t.support.xhrFormDataFileUpload)},_getFormData:function(e){var n;return"function"===t.type(e.formData)?e.formData(e.form):t.isArray(e.formData)?e.formData:"object"===t.type(e.formData)?(n=[],t.each(e.formData,function(t,e){n.push({name:t,value:e})}),n):[]},_getTotal:function(e){var n=0;return t.each(e,function(t,e){n+=e.size||1}),n},_initProgressObject:function(e){var n={loaded:0,total:0,bitrate:0};e._progress?t.extend(e._progress,n):e._progress=n},_initResponseObject:function(t){var e;if(t._response)for(e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(e,n){if(e.lengthComputable){var r,i=Date.now?Date.now():(new Date).getTime();if(n._time&&n.progressInterval&&i-n._time<n.progressInterval&&e.loaded!==e.total)return;n._time=i,r=Math.floor(e.loaded/e.total*(n.chunkSize||n._progress.total))+(n.uploadedBytes||0),this._progress.loaded+=r-n._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(i,this._progress.loaded,n.bitrateInterval),n._progress.loaded=n.loaded=r,n._progress.bitrate=n.bitrate=n._bitrateTimer.getBitrate(i,r,n.bitrateInterval),this._trigger("progress",t.Event("progress",{delegatedEvent:e}),n),this._trigger("progressall",t.Event("progressall",{delegatedEvent:e}),this._progress)}},_initProgressListener:function(e){var n=this,r=e.xhr?e.xhr():t.ajaxSettings.xhr();r.upload&&(t(r.upload).bind("progress",function(t){var r=t.originalEvent;t.lengthComputable=r.lengthComputable,t.loaded=r.loaded,t.total=r.total,n._onProgress(t,e)}),e.xhr=function(){return r})},_deinitProgressListener:function(e){var n=e.xhr?e.xhr():t.ajaxSettings.xhr();n.upload&&t(n.upload).unbind("progress")},_isInstanceOf:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"},_getUniqueFilename:function(t,e){return e[t=String(t)]?(t=t.replace(/(?: \(([\d]+)\))?(\.[^.]+)?$/,function(t,e,n){return" ("+(e?Number(e)+1:1)+")"+(n||"")}),this._getUniqueFilename(t,e)):(e[t]=!0,t)},_initXHRData:function(e){var n,r=this,i=e.files[0],o=e.multipart||!t.support.xhrFileUpload,s="array"===t.type(e.paramName)?e.paramName[0]:e.paramName;e.headers=t.extend({},e.headers),e.contentRange&&(e.headers["Content-Range"]=e.contentRange),o&&!e.blob&&this._isInstanceOf("File",i)||(e.headers["Content-Disposition"]='attachment; filename="'+encodeURI(i.uploadName||i.name)+'"'),o?t.support.xhrFormDataFileUpload&&(e.postMessage?(n=this._getFormData(e),e.blob?n.push({name:s,value:e.blob}):t.each(e.files,function(r,i){n.push({name:"array"===t.type(e.paramName)&&e.paramName[r]||s,value:i})})):(r._isInstanceOf("FormData",e.formData)?n=e.formData:(n=new FormData,t.each(this._getFormData(e),function(t,e){n.append(e.name,e.value)})),e.blob?n.append(s,e.blob,i.uploadName||i.name):t.each(e.files,function(i,o){if(r._isInstanceOf("File",o)||r._isInstanceOf("Blob",o)){var a=o.uploadName||o.name;e.uniqueFilenames&&(a=r._getUniqueFilename(a,e.uniqueFilenames)),n.append("array"===t.type(e.paramName)&&e.paramName[i]||s,o,a)}})),e.data=n):(e.contentType=i.type||"application/octet-stream",e.data=e.blob||i),e.blob=null},_initIframeSettings:function(e){var n=t("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&n&&n!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(e){var n=t(e.fileInput),r=e.paramName;return r?t.isArray(r)||(r=[r]):(r=[],n.each(function(){for(var e=t(this),n=e.prop("name")||"files[]",i=(e.prop("files")||[1]).length;i;)r.push(n),i-=1}),r.length||(r=[n.prop("name")||"files[]"])),r},_initFormSettings:function(e){e.form&&e.form.length||(e.form=t(e.fileInput.prop("form")),e.form.length||(e.form=t(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===t.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var n=t.extend({},this.options,e);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(e,n,r){var i=t.Deferred(),o=i.promise();return n=n||this.options.context||o,!0===e?i.resolveWith(n,r):!1===e&&i.rejectWith(n,r),o.abort=i.promise,this._enhancePromise(o)},_addConvenienceMethods:function(e,n){var r=this,i=function(e){return t.Deferred().resolveWith(r,e).promise()};n.process=function(e,o){return(e||o)&&(n._processQueue=this._processQueue=(this._processQueue||i([this])).then(function(){return n.errorThrown?t.Deferred().rejectWith(r,[n]).promise():i(arguments)}).then(e,o)),this._processQueue||i([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=!1!==r._trigger("submit",t.Event("submit",{delegatedEvent:e}),this)&&r._onSend(e,this)),this.jqXHR||r._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},n.state=function(){return this.jqXHR?r._getDeferredState(this.jqXHR):this._processQueue?r._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===r._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),n=e&&e.split("-"),r=n&&n.length>1&&parseInt(n[1],10);return r&&r+1},_chunkedUpload:function(e,n){e.uploadedBytes=e.uploadedBytes||0;var r,i,o=this,s=e.files[0],a=s.size,l=e.uploadedBytes,u=e.maxChunkSize||a,c=this._blobSlice,f=t.Deferred(),d=f.promise();return!(!(this._isXHRUpload(e)&&c&&(l||("function"===t.type(u)?u(e):u)<a))||e.data)&&(!!n||(l>=a?(s.error=e.i18n("uploadedBytes"),this._getXHRPromise(!1,e.context,[null,"error",s.error])):(i=function(){var n=t.extend({},e),d=n._progress.loaded;n.blob=c.call(s,l,l+("function"===t.type(u)?u(n):u),s.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+l+"-"+(l+n.chunkSize-1)+"/"+a,o._trigger("chunkbeforesend",null,n),o._initXHRData(n),o._initProgressListener(n),r=(!1!==o._trigger("chunksend",null,n)&&t.ajax(n)||o._getXHRPromise(!1,n.context)).done(function(r,s,u){l=o._getUploadedBytes(u)||l+n.chunkSize,d+n.chunkSize-n._progress.loaded&&o._onProgress(t.Event("progress",{lengthComputable:!0,loaded:l-n.uploadedBytes,total:l-n.uploadedBytes}),n),e.uploadedBytes=n.uploadedBytes=l,n.result=r,n.textStatus=s,n.jqXHR=u,o._trigger("chunkdone",null,n),o._trigger("chunkalways",null,n),l<a?i():f.resolveWith(n.context,[r,s,u])}).fail(function(t,e,r){n.jqXHR=t,n.textStatus=e,n.errorThrown=r,o._trigger("chunkfail",null,n),o._trigger("chunkalways",null,n),f.rejectWith(n.context,[t,e,r])}).always(function(){o._deinitProgressListener(n)})},this._enhancePromise(d),d.abort=function(){return r.abort()},i(),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,n,r,i){var o=i._progress.total,s=i._response;i._progress.loaded<o&&this._onProgress(t.Event("progress",{lengthComputable:!0,loaded:o,total:o}),i),s.result=i.result=e,s.textStatus=i.textStatus=n,s.jqXHR=i.jqXHR=r,this._trigger("done",null,i)},_onFail:function(t,e,n,r){var i=r._response;r.recalculateProgress&&(this._progress.loaded-=r._progress.loaded,this._progress.total-=r._progress.total),i.jqXHR=r.jqXHR=t,i.textStatus=r.textStatus=e,i.errorThrown=r.errorThrown=n,this._trigger("fail",null,r)},_onAlways:function(t,e,n,r){this._trigger("always",null,r)},_onSend:function(e,n){n.submit||this._addConvenienceMethods(e,n);var r,i,o,s,a=this,l=a._getAJAXSettings(n),u=function(){return a._sending+=1,l._bitrateTimer=new a._BitrateTimer,r=r||((i||!1===a._trigger("send",t.Event("send",{delegatedEvent:e}),l))&&a._getXHRPromise(!1,l.context,i)||a._chunkedUpload(l)||t.ajax(l)).done(function(t,e,n){a._onDone(t,e,n,l)}).fail(function(t,e,n){a._onFail(t,e,n,l)}).always(function(t,e,n){if(a._deinitProgressListener(l),a._onAlways(t,e,n,l),a._sending-=1,a._active-=1,l.limitConcurrentUploads&&l.limitConcurrentUploads>a._sending)for(var r=a._slots.shift();r;){if("pending"===a._getDeferredState(r)){r.resolve();break}r=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 i=[void 0,"abort","abort"],r?r.abort():(o&&o.rejectWith(l.context,i),u())},this._enhancePromise(s)):u()},_onAdd:function(e,n){var r,i,o,s,a=this,l=!0,u=t.extend({},this.options,n),c=n.files,f=c.length,d=u.limitMultiFileUploads,p=u.limitMultiFileUploadSize,h=u.limitMultiFileUploadSizeOverhead,v=0,g=this._getParamName(u),m=0;if(!f)return!1;if(p&&void 0===c[0].size&&(p=void 0),(u.singleFileUploads||d||p)&&this._isXHRUpload(u))if(u.singleFileUploads||p||!d)if(!u.singleFileUploads&&p)for(o=[],r=[],s=0;s<f;s+=1)v+=c[s].size+h,(s+1===f||v+c[s+1].size+h>p||d&&s+1-m>=d)&&(o.push(c.slice(m,s+1)),(i=g.slice(m,s+1)).length||(i=g),r.push(i),m=s+1,v=0);else r=g;else for(o=[],r=[],s=0;s<f;s+=d)o.push(c.slice(s,s+d)),(i=g.slice(s,s+d)).length||(i=g),r.push(i);else o=[c],r=[g];return n.originalFiles=c,t.each(o||c,function(i,s){var u=t.extend({},n);return u.files=o?s:[s],u.paramName=r[i],a._initResponseObject(u),a._initProgressObject(u),a._addConvenienceMethods(e,u),l=a._trigger("add",t.Event("add",{delegatedEvent:e}),u)}),l},_replaceFileInput:function(e){var n=e.fileInput,r=n.clone(!0),i=n.is(document.activeElement);e.fileInputClone=r,t("<form></form>").append(r)[0].reset(),n.after(r).detach(),i&&r.focus(),t.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(t,e){return e===n[0]?r[0]:e}),n[0]===this.element[0]&&(this.element=r)},_handleFileTreeEntry:function(e,n){var r,i=this,o=t.Deferred(),s=[],a=function(t){t&&!t.entry&&(t.entry=e),o.resolve([t])},l=function(){r.readEntries(function(t){t.length?(s=s.concat(t),l()):function(t){i._handleFileTreeEntries(t,n+e.name+"/").done(function(t){o.resolve(t)}).fail(a)}(s)},a)};return n=n||"",e.isFile?e._file?(e._file.relativePath=n,o.resolve(e._file)):e.file(function(t){t.relativePath=n,o.resolve(t)},a):e.isDirectory?(r=e.createReader(),l()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(e,n){var r=this;return t.when.apply(t,t.map(e,function(t){return r._handleFileTreeEntry(t,n)})).then(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){var n=(e=e||{}).items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(t.map(n,function(t){var e;return t.webkitGetAsEntry?((e=t.webkitGetAsEntry())&&(e._file=t.getAsFile()),e):t.getAsEntry()})):t.Deferred().resolve(t.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){var n,r,i=(e=t(e)).prop("webkitEntries")||e.prop("entries");if(i&&i.length)return this._handleFileTreeEntries(i);if((n=t.makeArray(e.prop("files"))).length)void 0===n[0].name&&n[0].fileName&&t.each(n,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(!(r=e.prop("value")))return t.Deferred().resolve([]).promise();n=[{name:r.replace(/^.*\\/,"")}]}return t.Deferred().resolve(n).promise()},_getFileInputFiles:function(e){return e instanceof t&&1!==e.length?t.when.apply(t,t.map(e,this._getSingleFileInputFiles)).then(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(e){var n=this,r={fileInput:t(e.target),form:t(e.target.form)};this._getFileInputFiles(r.fileInput).always(function(i){r.files=i,n.options.replaceFileInput&&n._replaceFileInput(r),!1!==n._trigger("change",t.Event("change",{delegatedEvent:e}),r)&&n._onAdd(e,r)})},_onPaste:function(e){var n=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,r={files:[]};n&&n.length&&(t.each(n,function(t,e){var n=e.getAsFile&&e.getAsFile();n&&r.files.push(n)}),!1!==this._trigger("paste",t.Event("paste",{delegatedEvent:e}),r)&&this._onAdd(e,r))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,r=e.dataTransfer,i={};r&&r.files&&r.files.length&&(e.preventDefault(),this._getDroppedFiles(r).always(function(r){i.files=r,!1!==n._trigger("drop",t.Event("drop",{delegatedEvent:e}),i)&&n._onAdd(e,i)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),t.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_destroy:function(){this._destroyEventHandlers()},_setOption:function(e,n){var r=-1!==t.inArray(e,this._specialOptions);r&&this._destroyEventHandlers(),this._super(e,n),r&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):e.fileInput instanceof t||(e.fileInput=t(e.fileInput)),e.dropZone instanceof t||(e.dropZone=t(e.dropZone)),e.pasteZone instanceof t||(e.pasteZone=t(e.pasteZone))},_getRegExp:function(t){var e=t.split("/"),n=e.pop();return e.shift(),new RegExp(e.join("/"),n)},_isRegExpOption:function(e,n){return"url"!==e&&"string"===t.type(n)&&/^\/.*\/[igm]{0,3}$/.test(n)},_initDataAttributes:function(){var e=this,n=this.options,r=this.element.data();t.each(this.element[0].attributes,function(t,i){var o,s=i.name.toLowerCase();/^data-/.test(s)&&(s=s.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),o=r[s],e._isRegExpOption(s,o)&&(o=e._getRegExp(o)),n[s]=o)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(e){var n=this;e&&!this.options.disabled&&(e.fileInput&&!e.files?this._getFileInputFiles(e.fileInput).always(function(t){e.files=t,n._onAdd(null,e)}):(e.files=t.makeArray(e.files),this._onAdd(null,e)))},send:function(e){if(e&&!this.options.disabled){if(e.fileInput&&!e.files){var n,r,i=this,o=t.Deferred(),s=o.promise();return s.abort=function(){return r=!0,n?n.abort():(o.reject(null,"abort","abort"),s)},this._getFileInputFiles(e.fileInput).always(function(t){r||(t.length?(e.files=t,(n=i._onSend(null,e)).then(function(t,e,n){o.resolve(t,e,n)},function(t,e,n){o.reject(t,e,n)})):o.reject())}),this._enhancePromise(s)}if(e.files=t.makeArray(e.files),e.files.length)return this._onSend(null,e)}return this._getXHRPromise(!1,e&&e.context)}})})},"FZ+f":function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=(s=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),o=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(o).concat([i]).join("\n")}var s;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},GDnL:function(t,e,n){n("WRGp"),Vue.component("passport-clients",n("A/e+")),Vue.component("passport-authorized-clients",n("ooDj")),Vue.component("passport-personal-access-tokens",n("Lypw")),Vue.component("importer",n("NYlw")),Vue.component("fieldset-default-values",n("+sje"))},HB0T:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"legend[data-v-3bdd24a5]{font-size:13px;font-weight:700;border:0}fieldset>div[data-v-3bdd24a5]{background:#f4f4f4;border:1px solid #d3d6de;margin:0 15px 15px;padding:20px 20px 10px}@media (max-width:992px){legend[data-v-3bdd24a5]{text-align:left!important}}@media (min-width:992px){fieldset>div[data-v-3bdd24a5]{width:55%}}",""])},"I3G/":function(t,e,n){"use strict";(function(e){function n(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function i(t){return!0===t}function o(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}var a=Object.prototype.toString;function l(t){return"[object Object]"===a.call(t)}function u(t){var e=parseFloat(t);return e>=0&&Math.floor(e)===e&&isFinite(t)}function c(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var p=d("slot,component",!0),h=d("key,ref,slot,is");function v(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function m(t,e){return g.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var _=/-(\w)/g,b=y(function(t){return t.replace(_,function(t,e){return e?e.toUpperCase():""})}),w=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),x=/\B([A-Z])/g,C=y(function(t){return t.replace(x,"-$1").toLowerCase()});function $(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function T(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function A(t,e){for(var n in e)t[n]=e[n];return t}function k(t){for(var e={},n=0;n<t.length;n++)t[n]&&A(e,t[n]);return e}function E(t,e,n){}var S=function(t,e,n){return!1},O=function(t){return t};function D(t,e){if(t===e)return!0;var n=s(t),r=s(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every(function(t,n){return D(t,e[n])});if(i||o)return!1;var a=Object.keys(t),l=Object.keys(e);return a.length===l.length&&a.every(function(n){return D(t[n],e[n])})}catch(t){return!1}}function j(t,e){for(var n=0;n<t.length;n++)if(D(t[n],e))return n;return-1}function N(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var I="data-server-rendered",R=["component","directive","filter"],L=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],P={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:S,isReservedAttr:S,isUnknownElement:S,getTagNamespace:E,parsePlatformTagName:O,mustUseProp:S,_lifecycleHooks:L},F=Object.freeze({});function M(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function U(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var q=/[^\w.$]/;var H=E;function z(t,e,n){if(P.errorHandler)P.errorHandler.call(null,t,e,n);else{if(!V||"undefined"==typeof console)throw t;console.error(t)}}var B,W="__proto__"in{},V="undefined"!=typeof window,X=V&&window.navigator.userAgent.toLowerCase(),G=X&&/msie|trident/.test(X),K=X&&X.indexOf("msie 9.0")>0,Z=X&&X.indexOf("edge/")>0,J=X&&X.indexOf("android")>0,Q=X&&/iphone|ipad|ipod|ios/.test(X),Y=X&&/chrome\/\d+/.test(X)&&!Z,tt={}.watch,et=!1;if(V)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(t){}var rt=function(){return void 0===B&&(B=!V&&void 0!==e&&"server"===e.process.env.VUE_ENV),B},it=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"==typeof t&&/native code/.test(t.toString())}var st,at="undefined"!=typeof Symbol&&ot(Symbol)&&"undefined"!=typeof Reflect&&ot(Reflect.ownKeys),lt=function(){var t,e=[],n=!1;function r(){n=!1;var t=e.slice(0);e.length=0;for(var r=0;r<t.length;r++)t[r]()}if("undefined"!=typeof Promise&&ot(Promise)){var i=Promise.resolve(),o=function(t){console.error(t)};t=function(){i.then(r).catch(o),Q&&setTimeout(E)}}else if(G||"undefined"==typeof MutationObserver||!ot(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())t=function(){setTimeout(r,0)};else{var s=1,a=new MutationObserver(r),l=document.createTextNode(String(s));a.observe(l,{characterData:!0}),t=function(){s=(s+1)%2,l.data=String(s)}}return function(r,i){var o;if(e.push(function(){if(r)try{r.call(i)}catch(t){z(t,i,"nextTick")}else o&&o(i)}),n||(n=!0,t()),!r&&"undefined"!=typeof Promise)return new Promise(function(t,e){o=t})}}();st="undefined"!=typeof Set&&ot(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ut=0,ct=function(){this.id=ut++,this.subs=[]};ct.prototype.addSub=function(t){this.subs.push(t)},ct.prototype.removeSub=function(t){v(this.subs,t)},ct.prototype.depend=function(){ct.target&&ct.target.addDep(this)},ct.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},ct.target=null;var ft=[];var dt=Array.prototype,pt=Object.create(dt);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=dt[t];U(pt,t,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&s.observeArray(i),s.dep.notify(),o})});var ht=Object.getOwnPropertyNames(pt),vt={shouldConvert:!0},gt=function(t){(this.value=t,this.dep=new ct,this.vmCount=0,U(t,"__ob__",this),Array.isArray(t))?((W?mt:yt)(t,pt,ht),this.observeArray(t)):this.walk(t)};function mt(t,e,n){t.__proto__=e}function yt(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];U(t,o,e[o])}}function _t(t,e){var n;if(s(t))return m(t,"__ob__")&&t.__ob__ instanceof gt?n=t.__ob__:vt.shouldConvert&&!rt()&&(Array.isArray(t)||l(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new gt(t)),e&&n&&n.vmCount++,n}function bt(t,e,n,r,i){var o=new ct,s=Object.getOwnPropertyDescriptor(t,e);if(!s||!1!==s.configurable){var a=s&&s.get,l=s&&s.set,u=!i&&_t(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return ct.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(e)&&function t(e){for(var n=void 0,r=0,i=e.length;r<i;r++)(n=e[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&t(n)}(e))),e},set:function(e){var r=a?a.call(t):n;e===r||e!=e&&r!=r||(l?l.call(t,e):n=e,u=!i&&_t(e),o.notify())}})}}function wt(t,e,n){if(Array.isArray(t)&&u(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(m(t,e))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(bt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function xt(t,e){if(Array.isArray(t)&&u(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||m(t,e)&&(delete t[e],n&&n.dep.notify())}}gt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)bt(t,e[n],t[e[n]])},gt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)_t(t[e])};var Ct=P.optionMergeStrategies;function $t(t,e){if(!e)return t;for(var n,r,i,o=Object.keys(e),s=0;s<o.length;s++)r=t[n=o[s]],i=e[n],m(t,n)?l(r)&&l(i)&&$t(r,i):wt(t,n,i);return t}function Tt(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):t;return r?$t(r,i):i}:void 0:e?t?function(){return $t("function"==typeof e?e.call(this):e,"function"==typeof t?t.call(this):t)}:e:t}function At(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function kt(t,e){var n=Object.create(t||null);return e?A(n,e):n}Ct.data=function(t,e,n){return n?Tt(t,e,n):e&&"function"!=typeof e?t:Tt.call(this,t,e)},L.forEach(function(t){Ct[t]=At}),R.forEach(function(t){Ct[t+"s"]=kt}),Ct.watch=function(t,e){if(t===tt&&(t=void 0),e===tt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var n={};for(var r in A(n,t),e){var i=n[r],o=e[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):Array.isArray(o)?o:[o]}return n},Ct.props=Ct.methods=Ct.inject=Ct.computed=function(t,e){if(!t)return e;var n=Object.create(null);return A(n,t),e&&A(n,e),n},Ct.provide=Tt;var Et=function(t,e){return void 0===e?t:e};function St(t,e,n){"function"==typeof e&&(e=e.options),function(t){var e=t.props;if(e){var n,r,i={};if(Array.isArray(e))for(n=e.length;n--;)"string"==typeof(r=e[n])&&(i[b(r)]={type:null});else if(l(e))for(var o in e)r=e[o],i[b(o)]=l(r)?r:{type:r};t.props=i}}(e),function(t){var e=t.inject;if(Array.isArray(e))for(var n=t.inject={},r=0;r<e.length;r++)n[e[r]]=e[r]}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}(e);var r=e.extends;if(r&&(t=St(t,r,n)),e.mixins)for(var i=0,o=e.mixins.length;i<o;i++)t=St(t,e.mixins[i],n);var s,a={};for(s in t)u(s);for(s in e)m(t,s)||u(s);function u(r){var i=Ct[r]||Et;a[r]=i(t[r],e[r],n,r)}return a}function Ot(t,e,n,r){if("string"==typeof n){var i=t[e];if(m(i,n))return i[n];var o=b(n);if(m(i,o))return i[o];var s=w(o);return m(i,s)?i[s]:i[n]||i[o]||i[s]}}function Dt(t,e,n,r){var i=e[t],o=!m(n,t),s=n[t];if(Nt(Boolean,i.type)&&(o&&!m(i,"default")?s=!1:Nt(String,i.type)||""!==s&&s!==C(t)||(s=!0)),void 0===s){s=function(t,e,n){if(!m(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof r&&"Function"!==jt(e.type)?r.call(t):r}(r,i,t);var a=vt.shouldConvert;vt.shouldConvert=!0,_t(s),vt.shouldConvert=a}return s}function jt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Nt(t,e){if(!Array.isArray(e))return jt(e)===jt(t);for(var n=0,r=e.length;n<r;n++)if(jt(e[n])===jt(t))return!0;return!1}var It=function(t,e,n,r,i,o,s,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Rt={child:{}};Rt.child.get=function(){return this.componentInstance},Object.defineProperties(It.prototype,Rt);var Lt=function(t){void 0===t&&(t="");var e=new It;return e.text=t,e.isComment=!0,e};function Pt(t){return new It(void 0,void 0,void 0,String(t))}function Ft(t,e){var n=new It(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return n.ns=t.ns,n.isStatic=t.isStatic,n.key=t.key,n.isComment=t.isComment,n.isCloned=!0,e&&t.children&&(n.children=Mt(t.children)),n}function Mt(t,e){for(var n=t.length,r=new Array(n),i=0;i<n;i++)r[i]=Ft(t[i],e);return r}var Ut,qt=y(function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,plain:!(e||n||r),once:n,capture:r,passive:e}});function Ht(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),i=0;i<r.length;i++)r[i].apply(null,t)}return e.fns=t,e}function zt(t,e){return t.plain?-1:e.plain?1:0}function Bt(t,e,r,i,o){var s,a,l,u,c=[],f=!1;for(s in t)a=t[s],l=e[s],(u=qt(s)).plain||(f=!0),n(a)||(n(l)?(n(a.fns)&&(a=t[s]=Ht(a)),u.handler=a,c.push(u)):a!==l&&(l.fns=a,t[s]=l));if(c.length){f&&c.sort(zt);for(var d=0;d<c.length;d++){var p=c[d];r(p.name,p.handler,p.once,p.capture,p.passive)}}for(s in e)n(t[s])&&i((u=qt(s)).name,e[s],u.capture)}function Wt(t,e,o){var s,a=t[e];function l(){o.apply(this,arguments),v(s.fns,l)}n(a)?s=Ht([l]):r(a.fns)&&i(a.merged)?(s=a).fns.push(l):s=Ht([a,l]),s.merged=!0,t[e]=s}function Vt(t,e,n,i,o){if(r(e)){if(m(e,n))return t[n]=e[n],o||delete e[n],!0;if(m(e,i))return t[n]=e[i],o||delete e[i],!0}return!1}function Xt(t){return o(t)?[Pt(t)]:Array.isArray(t)?function t(e,s){var a=[];var l,u,c;for(l=0;l<e.length;l++)n(u=e[l])||"boolean"==typeof u||(c=a[a.length-1],Array.isArray(u)?a.push.apply(a,t(u,(s||"")+"_"+l)):o(u)?Gt(c)?c.text+=String(u):""!==u&&a.push(Pt(u)):Gt(u)&&Gt(c)?a[a.length-1]=Pt(c.text+u.text):(i(e._isVList)&&r(u.tag)&&n(u.key)&&r(s)&&(u.key="__vlist"+s+"_"+l+"__"),a.push(u)));return a}(t):void 0}function Gt(t){return r(t)&&r(t.text)&&!1===t.isComment}function Kt(t,e){return t.__esModule&&t.default&&(t=t.default),s(t)?e.extend(t):t}function Zt(t){return t.isComment&&t.asyncFactory}function Jt(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(r(n)&&(r(n.componentOptions)||Zt(n)))return n}}function Qt(t,e,n){n?Ut.$once(t,e):Ut.$on(t,e)}function Yt(t,e){Ut.$off(t,e)}function te(t,e,n){Ut=t,Bt(e,n||{},Qt,Yt)}function ee(t,e){var n={};if(!t)return n;for(var r=[],i=0,o=t.length;i<o;i++){var s=t[i],a=s.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,s.context!==e&&s.functionalContext!==e||!a||null==a.slot)r.push(s);else{var l=s.data.slot,u=n[l]||(n[l]=[]);"template"===s.tag?u.push.apply(u,s.children):u.push(s)}}return r.every(ne)||(n.default=r),n}function ne(t){return t.isComment||" "===t.text}function re(t,e){e=e||{};for(var n=0;n<t.length;n++)Array.isArray(t[n])?re(t[n],e):e[t[n].key]=t[n].fn;return e}var ie=null;function oe(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function se(t,e){if(e){if(t._directInactive=!1,oe(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)se(t.$children[n]);ae(t,"activated")}}function ae(t,e){var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(t)}catch(n){z(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e)}var le=[],ue=[],ce={},fe=!1,de=!1,pe=0;function he(){var t,e;for(de=!0,le.sort(function(t,e){return t.id-e.id}),pe=0;pe<le.length;pe++)e=(t=le[pe]).id,ce[e]=null,t.run();var n=ue.slice(),r=le.slice();pe=le.length=ue.length=0,ce={},fe=de=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,se(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&ae(r,"updated")}}(r),it&&P.devtools&&it.emit("flush")}var ve=0,ge=function(t,e,n,r){this.vm=t,t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ve,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new st,this.newDepIds=new st,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!q.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};ge.prototype.get=function(){var t,e;t=this,ct.target&&ft.push(ct.target),ct.target=t;var n,r=this.vm;try{e=this.getter.call(r,r)}catch(t){if(!this.user)throw t;z(t,r,'getter for watcher "'+this.expression+'"')}finally{this.deep&&(n=e,me.clear(),function t(e,n){var r,i,o=Array.isArray(e);if((o||s(e))&&Object.isExtensible(e)){if(e.__ob__){var a=e.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=e.length;r--;)t(e[r],n);else for(i=Object.keys(e),r=i.length;r--;)t(e[i[r]],n)}}(n,me)),ct.target=ft.pop(),this.cleanupDeps()}return e},ge.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ge.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ge.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==ce[e]){if(ce[e]=!0,de){for(var n=le.length-1;n>pe&&le[n].id>t.id;)n--;le.splice(n+1,0,t)}else le.push(t);fe||(fe=!0,lt(he))}}(this)},ge.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){z(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},ge.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ge.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},ge.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var me=new st;var ye={enumerable:!0,configurable:!0,get:E,set:E};function _e(t,e,n){ye.get=function(){return this[e][n]},ye.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ye)}function be(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;vt.shouldConvert=o;var s=function(o){i.push(o);var s=Dt(o,e,n,t);bt(r,o,s),o in t||_e(t,"_props",o)};for(var a in e)s(a);vt.shouldConvert=!0}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?E:$(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;l(e=t._data="function"==typeof e?function(t,e){try{return t.call(e)}catch(t){return z(t,e,"data()"),{}}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&m(r,o)||M(o)||_e(t,"_data",o)}_t(e,!0)}(t):_t(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=rt();for(var i in e){var o=e[i],s="function"==typeof o?o:o.get;0,r||(n[i]=new ge(t,s||E,E,we)),i in t||xe(t,i,o)}}(t,e.computed),e.watch&&e.watch!==tt&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)$e(t,n,r[i]);else $e(t,n,r)}}(t,e.watch)}var we={lazy:!0};function xe(t,e,n){var r=!rt();"function"==typeof n?(ye.get=r?Ce(e):n,ye.set=E):(ye.get=n.get?r&&!1!==n.cache?Ce(e):n.get:E,ye.set=n.set?n.set:E),Object.defineProperty(t,e,ye)}function Ce(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ct.target&&e.depend(),e.value}}function $e(t,e,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function Te(t,e){if(t){for(var n=Object.create(null),r=at?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),i=0;i<r.length;i++){for(var o=r[i],s=t[o],a=e;a;){if(a._provided&&s in a._provided){n[o]=a._provided[s];break}a=a.$parent}0}return n}}function Ae(t,e){for(var n in e)t[b(n)]=e[n]}var ke={init:function(t,e,n,i){if(!t.componentInstance||t.componentInstance._isDestroyed)(t.componentInstance=function(t,e,n,i){var o=t.componentOptions,s={_isComponent:!0,parent:e,propsData:o.propsData,_componentTag:o.tag,_parentVnode:t,_parentListeners:o.listeners,_renderChildren:o.children,_parentElm:n||null,_refElm:i||null},a=t.data.inlineTemplate;r(a)&&(s.render=a.render,s.staticRenderFns=a.staticRenderFns);return new o.Ctor(s)}(t,ie,n,i)).$mount(e?t.elm:void 0,e);else if(t.data.keepAlive){var o=t;ke.prepatch(o,o)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,r,i){var o=!!(i||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==F);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=i,t.$attrs=r.data&&r.data.attrs||F,t.$listeners=n||F,e&&t.$options.props){vt.shouldConvert=!1;for(var s=t._props,a=t.$options._propKeys||[],l=0;l<a.length;l++){var u=a[l];s[u]=Dt(u,t.$options.props,e,t)}vt.shouldConvert=!0,t.$options.propsData=e}if(n){var c=t.$options._parentListeners;t.$options._parentListeners=n,te(t,n,c)}o&&(t.$slots=ee(i,r.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,ae(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,ue.push(e)):se(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(!(n&&(e._directInactive=!0,oe(e))||e._inactive)){e._inactive=!0;for(var r=0;r<e.$children.length;r++)t(e.$children[r]);ae(e,"deactivated")}}(e,!0):e.$destroy())}},Ee=Object.keys(ke);function Se(t,e,o,a,l){if(!n(t)){var u=o.$options._base;if(s(t)&&(t=u.extend(t)),"function"==typeof t){var c;if(n(t.cid)&&void 0===(t=function(t,e,o){if(i(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;if(i(t.loading)&&r(t.loadingComp))return t.loadingComp;if(!r(t.contexts)){var a=t.contexts=[o],l=!0,u=function(){for(var t=0,e=a.length;t<e;t++)a[t].$forceUpdate()},c=N(function(n){t.resolved=Kt(n,e),l||u()}),f=N(function(e){r(t.errorComp)&&(t.error=!0,u())}),d=t(c,f);return s(d)&&("function"==typeof d.then?n(t.resolved)&&d.then(c,f):r(d.component)&&"function"==typeof d.component.then&&(d.component.then(c,f),r(d.error)&&(t.errorComp=Kt(d.error,e)),r(d.loading)&&(t.loadingComp=Kt(d.loading,e),0===d.delay?t.loading=!0:setTimeout(function(){n(t.resolved)&&n(t.error)&&(t.loading=!0,u())},d.delay||200)),r(d.timeout)&&setTimeout(function(){n(t.resolved)&&f(null)},d.timeout))),l=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(o)}(c=t,u,o)))return function(t,e,n,r,i){var o=Lt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}(c,e,o,a,l);e=e||{},We(t),r(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.props||(e.props={}))[n]=e.model.value;var o=e.on||(e.on={});r(o[i])?o[i]=[e.model.callback].concat(o[i]):o[i]=e.model.callback}(t.options,e);var f=function(t,e,i){var o=e.options.props;if(!n(o)){var s={},a=t.attrs,l=t.props;if(r(a)||r(l))for(var u in o){var c=C(u);Vt(s,l,u,c,!0)||Vt(s,a,u,c,!1)}return s}}(e,t);if(i(t.options.functional))return function(t,e,n,i,o){var s={},a=t.options.props;if(r(a))for(var l in a)s[l]=Dt(l,a,e||F);else r(n.attrs)&&Ae(s,n.attrs),r(n.props)&&Ae(s,n.props);var u=Object.create(i),c=t.options.render.call(null,function(t,e,n,r){return Ne(u,t,e,n,r,!0)},{data:n,props:s,children:o,parent:i,listeners:n.on||F,injections:Te(t.options.inject,i),slots:function(){return ee(o,i)}});return c instanceof It&&(c.functionalContext=i,c.functionalOptions=t.options,n.slot&&((c.data||(c.data={})).slot=n.slot)),c}(t,f,e,o,a);var d=e.on;if(e.on=e.nativeOn,i(t.options.abstract)){var p=e.slot;e={},p&&(e.slot=p)}!function(t){t.hook||(t.hook={});for(var e=0;e<Ee.length;e++){var n=Ee[e],r=t.hook[n],i=ke[n];t.hook[n]=r?Oe(i,r):i}}(e);var h=t.options.name||l;return new It("vue-component-"+t.cid+(h?"-"+h:""),e,void 0,void 0,void 0,o,{Ctor:t,propsData:f,listeners:d,tag:l,children:a},c)}}}function Oe(t,e){return function(n,r,i,o){t(n,r,i,o),e(n,r,i,o)}}var De=1,je=2;function Ne(t,e,s,a,l,u){return(Array.isArray(s)||o(s))&&(l=a,a=s,s=void 0),i(u)&&(l=je),function(t,e,i,o,s){if(r(i)&&r(i.__ob__))return Lt();r(i)&&r(i.is)&&(e=i.is);if(!e)return Lt();0;Array.isArray(o)&&"function"==typeof o[0]&&((i=i||{}).scopedSlots={default:o[0]},o.length=0);s===je?o=Xt(o):s===De&&(o=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(o));var a,l;if("string"==typeof e){var u;l=t.$vnode&&t.$vnode.ns||P.getTagNamespace(e),a=P.isReservedTag(e)?new It(P.parsePlatformTagName(e),i,o,void 0,void 0,t):r(u=Ot(t.$options,"components",e))?Se(u,i,t,o,e):new It(e,i,o,void 0,void 0,t)}else a=Se(e,i,t,o);return r(a)?(l&&function t(e,i){e.ns=i;if("foreignObject"===e.tag)return;if(r(e.children))for(var o=0,s=e.children.length;o<s;o++){var a=e.children[o];r(a.tag)&&n(a.ns)&&t(a,i)}}(a,l),a):Lt()}(t,e,s,a,l)}function Ie(t,e){var n,i,o,a,l;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,o=t.length;i<o;i++)n[i]=e(t[i],i);else if("number"==typeof t)for(n=new Array(t),i=0;i<t;i++)n[i]=e(i+1,i);else if(s(t))for(a=Object.keys(t),n=new Array(a.length),i=0,o=a.length;i<o;i++)l=a[i],n[i]=e(t[l],l,i);return r(n)&&(n._isVList=!0),n}function Re(t,e,n,r){var i=this.$scopedSlots[t];if(i)return n=n||{},r&&(n=A(A({},r),n)),i(n)||e;var o=this.$slots[t];return o||e}function Le(t){return Ot(this.$options,"filters",t)||O}function Pe(t,e,n){var r=P.keyCodes[e]||n;return Array.isArray(r)?-1===r.indexOf(t):r!==t}function Fe(t,e,n,r,i){if(n)if(s(n)){var o;Array.isArray(n)&&(n=k(n));var a=function(s){if("class"===s||"style"===s||h(s))o=t;else{var a=t.attrs&&t.attrs.type;o=r||P.mustUseProp(e,a,s)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}s in o||(o[s]=n[s],i&&((t.on||(t.on={}))["update:"+s]=function(t){n[s]=t}))};for(var l in n)a(l)}else;return t}function Me(t,e){var n=this._staticTrees[t];return n&&!e?Array.isArray(n)?Mt(n):Ft(n):(qe(n=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),"__static__"+t,!1),n)}function Ue(t,e,n){return qe(t,"__once__"+e+(n?"_"+n:""),!0),t}function qe(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&He(t[r],e+"_"+r,n);else He(t,e,n)}function He(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function ze(t,e){if(e)if(l(e)){var n=t.on=t.on?A({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(o,i):o}}else;return t}var Be=0;function We(t){var e=t.options;if(t.super){var n=We(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.extendOptions,i=t.sealedOptions;for(var o in n)n[o]!==i[o]&&(e||(e={}),e[o]=Ve(n[o],r[o],i[o]));return e}(t);r&&A(t.extendOptions,r),(e=t.options=St(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Ve(t,e,n){if(Array.isArray(t)){var r=[];n=Array.isArray(n)?n:[n],e=Array.isArray(e)?e:[e];for(var i=0;i<t.length;i++)(e.indexOf(t[i])>=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function Xe(t){this._init(t)}function Ge(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var s=function(t){this._init(t)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=e++,s.options=St(n.options,t),s.super=n,s.options.props&&function(t){var e=t.options.props;for(var n in e)_e(t.prototype,"_props",n)}(s),s.options.computed&&function(t){var e=t.options.computed;for(var n in e)xe(t.prototype,n,e[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,R.forEach(function(t){s[t]=n[t]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=A({},s.options),i[r]=s,s}}Xe.prototype._init=function(t){var e=this;e._uid=Be++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options);n.parent=e.parent,n.propsData=e.propsData,n._parentVnode=e._parentVnode,n._parentListeners=e._parentListeners,n._renderChildren=e._renderChildren,n._componentTag=e._componentTag,n._parentElm=e._parentElm,n._refElm=e._refElm,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=St(We(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$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&&te(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$vnode=t.$options._parentVnode,n=e&&e.context;t.$slots=ee(t.$options._renderChildren,n),t.$scopedSlots=F,t._c=function(e,n,r,i){return Ne(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Ne(t,e,n,r,i,!0)};var r=e&&e.data;bt(t,"$attrs",r&&r.attrs||F,0,!0),bt(t,"$listeners",t.$options._parentListeners||F,0,!0)}(e),ae(e,"beforeCreate"),function(t){var e=Te(t.$options.inject,t);e&&(vt.shouldConvert=!1,Object.keys(e).forEach(function(n){bt(t,n,e[n])}),vt.shouldConvert=!0)}(e),be(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),ae(e,"created"),e.$options.el&&e.$mount(e.$options.el)},function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=wt,t.prototype.$delete=xt,t.prototype.$watch=function(t,e,n){if(l(e))return $e(this,t,e,n);(n=n||{}).user=!0;var r=new ge(this,t,e,n);return n.immediate&&e.call(this,r.value),function(){r.teardown()}}}(Xe),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){if(Array.isArray(t))for(var r=0,i=t.length;r<i;r++)this.$on(t[r],n);else(this._events[t]||(this._events[t]=[])).push(n),e.test(t)&&(this._hasHookEvent=!0);return this},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)this.$off(t[r],e);return n}var o=n._events[t];if(!o)return n;if(1===arguments.length)return n._events[t]=null,n;if(e)for(var s,a=o.length;a--;)if((s=o[a])===e||s.fn===e){o.splice(a,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?T(n):n;for(var r=T(arguments,1),i=0,o=n.length;i<o;i++)try{n[i].apply(e,r)}catch(n){z(n,e,'event handler for "'+t+'"')}}return e}}(Xe),function(t){t.prototype._update=function(t,e){var n=this;n._isMounted&&ae(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=ie;ie=n,n._vnode=t,i?n.$el=n.__patch__(i,t):(n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),ie=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){ae(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||v(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),ae(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null)}}}(Xe),function(t){t.prototype.$nextTick=function(t){return lt(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n.staticRenderFns,o=n._parentVnode;if(e._isMounted)for(var s in e.$slots){var a=e.$slots[s];a._rendered&&(e.$slots[s]=Mt(a,!0))}e.$scopedSlots=o&&o.data.scopedSlots||F,i&&!e._staticTrees&&(e._staticTrees=[]),e.$vnode=o;try{t=r.call(e._renderProxy,e.$createElement)}catch(n){z(n,e,"render function"),t=e._vnode}return t instanceof It||(t=Lt()),t.parent=o,t},t.prototype._o=Ue,t.prototype._n=f,t.prototype._s=c,t.prototype._l=Ie,t.prototype._t=Re,t.prototype._q=D,t.prototype._i=j,t.prototype._m=Me,t.prototype._f=Le,t.prototype._k=Pe,t.prototype._b=Fe,t.prototype._v=Pt,t.prototype._e=Lt,t.prototype._u=re,t.prototype._g=ze}(Xe);var Ke=[String,RegExp,Array];function Ze(t){return t&&(t.Ctor.options.name||t.tag)}function Je(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===a.call(n)&&t.test(e));var n}function Qe(t,e,n){for(var r in t){var i=t[r];if(i){var o=Ze(i.componentOptions);o&&!n(o)&&(i!==e&&Ye(i),t[r]=null)}}}function Ye(t){t&&t.componentInstance.$destroy()}var tn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Ke,exclude:Ke},created:function(){this.cache=Object.create(null)},destroyed:function(){for(var t in this.cache)Ye(this.cache[t])},watch:{include:function(t){Qe(this.cache,this._vnode,function(e){return Je(t,e)})},exclude:function(t){Qe(this.cache,this._vnode,function(e){return!Je(t,e)})}},render:function(){var t=Jt(this.$slots.default),e=t&&t.componentOptions;if(e){var n=Ze(e);if(n&&(this.include&&!Je(this.include,n)||this.exclude&&Je(this.exclude,n)))return t;var r=null==t.key?e.Ctor.cid+(e.tag?"::"+e.tag:""):t.key;this.cache[r]?t.componentInstance=this.cache[r].componentInstance:this.cache[r]=t,t.data.keepAlive=!0}return t}}};!function(t){var e={get:function(){return P}};Object.defineProperty(t,"config",e),t.util={warn:H,extend:A,mergeOptions:St,defineReactive:bt},t.set=wt,t.delete=xt,t.nextTick=lt,t.options=Object.create(null),R.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,A(t.options.components,tn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=St(this.options,t),this}}(t),Ge(t),function(t){R.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(Xe),Object.defineProperty(Xe.prototype,"$isServer",{get:rt}),Object.defineProperty(Xe.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Xe.version="2.4.4";var en=d("style,class"),nn=d("input,textarea,option,select,progress"),rn=function(t,e,n){return"value"===n&&nn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},on=d("contenteditable,draggable,spellcheck"),sn=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),an="http://www.w3.org/1999/xlink",ln=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},un=function(t){return ln(t)?t.slice(6,t.length):""},cn=function(t){return null==t||!1===t};function fn(t){for(var e=t.data,n=t,i=t;r(i.componentInstance);)(i=i.componentInstance._vnode).data&&(e=dn(i.data,e));for(;r(n=n.parent);)n.data&&(e=dn(e,n.data));return function(t,e){if(r(t)||r(e))return pn(t,hn(e));return""}(e.staticClass,e.class)}function dn(t,e){return{staticClass:pn(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function pn(t,e){return t?e?t+" "+e:t:e||""}function hn(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,o=t.length;i<o;i++)r(e=hn(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):s(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var vn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},gn=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),mn=d("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),yn=function(t){return gn(t)||mn(t)};function _n(t){return mn(t)?"svg":"math"===t?"math":void 0}var bn=Object.create(null);var wn=d("text,number,password,search,email,tel,url");function xn(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var Cn=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(vn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setAttribute:function(t,e,n){t.setAttribute(e,n)}}),$n={create:function(t,e){Tn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Tn(t,!0),Tn(e))},destroy:function(t){Tn(t,!0)}};function Tn(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.componentInstance||t.elm,o=r.$refs;e?Array.isArray(o[n])?v(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}var An=new It("",{},[]),kn=["create","activate","update","remove","destroy"];function En(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,i=r(n=t.data)&&r(n=n.attrs)&&n.type,o=r(n=e.data)&&r(n=n.attrs)&&n.type;return i===o||wn(i)&&wn(o)}(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function Sn(t,e,n){var i,o,s={};for(i=e;i<=n;++i)r(o=t[i].key)&&(s[o]=i);return s}var On={create:Dn,update:Dn,destroy:function(t){Dn(t,An)}};function Dn(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,i,o=t===An,s=e===An,a=Nn(t.data.directives,t.context),l=Nn(e.data.directives,e.context),u=[],c=[];for(n in l)r=a[n],i=l[n],r?(i.oldValue=r.value,Rn(i,"update",e,t),i.def&&i.def.componentUpdated&&c.push(i)):(Rn(i,"bind",e,t),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var n=0;n<u.length;n++)Rn(u[n],"inserted",e,t)};o?Wt(e.data.hook||(e.data.hook={}),"insert",f):f()}c.length&&Wt(e.data.hook||(e.data.hook={}),"postpatch",function(){for(var n=0;n<c.length;n++)Rn(c[n],"componentUpdated",e,t)});if(!o)for(n in a)l[n]||Rn(a[n],"unbind",t,t,s)}(t,e)}var jn=Object.create(null);function Nn(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)(r=t[n]).modifiers||(r.modifiers=jn),i[In(r)]=r,r.def=Ot(e.$options,"directives",r.name);return i}function In(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Rn(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){z(r,n.context,"directive "+t.name+" "+e+" hook")}}var Ln=[$n,On];function Pn(t,e){var i=e.componentOptions;if(!(r(i)&&!1===i.Ctor.options.inheritAttrs||n(t.data.attrs)&&n(e.data.attrs))){var o,s,a=e.elm,l=t.data.attrs||{},u=e.data.attrs||{};for(o in r(u.__ob__)&&(u=e.data.attrs=A({},u)),u)s=u[o],l[o]!==s&&Fn(a,o,s);for(o in K&&u.value!==l.value&&Fn(a,"value",u.value),l)n(u[o])&&(ln(o)?a.removeAttributeNS(an,un(o)):on(o)||a.removeAttribute(o))}}function Fn(t,e,n){sn(e)?cn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):on(e)?t.setAttribute(e,cn(n)||"false"===n?"false":"true"):ln(e)?cn(n)?t.removeAttributeNS(an,un(e)):t.setAttributeNS(an,e,n):cn(n)?t.removeAttribute(e):t.setAttribute(e,n)}var Mn={create:Pn,update:Pn};function Un(t,e){var i=e.elm,o=e.data,s=t.data;if(!(n(o.staticClass)&&n(o.class)&&(n(s)||n(s.staticClass)&&n(s.class)))){var a=fn(e),l=i._transitionClasses;r(l)&&(a=pn(a,hn(l))),a!==i._prevClass&&(i.setAttribute("class",a),i._prevClass=a)}}var qn,Hn,zn,Bn,Wn,Vn,Xn={create:Un,update:Un},Gn=/[\w).+\-_$\]]/;function Kn(t){var e,n,r,i,o,s=!1,a=!1,l=!1,u=!1,c=0,f=0,d=0,p=0;for(r=0;r<t.length;r++)if(n=e,e=t.charCodeAt(r),s)39===e&&92!==n&&(s=!1);else if(a)34===e&&92!==n&&(a=!1);else if(l)96===e&&92!==n&&(l=!1);else if(u)47===e&&92!==n&&(u=!1);else if(124!==e||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||c||f||d){switch(e){case 34:a=!0;break;case 39:s=!0;break;case 96:l=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:c++;break;case 125:c--}if(47===e){for(var h=r-1,v=void 0;h>=0&&" "===(v=t.charAt(h));h--);v&&Gn.test(v)||(u=!0)}}else void 0===i?(p=r+1,i=t.slice(0,r).trim()):g();function g(){(o||(o=[])).push(t.slice(p,r).trim()),p=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==p&&g(),o)for(r=0;r<o.length;r++)i=Zn(i,o[r]);return i}function Zn(t,e){var n=e.indexOf("(");return n<0?'_f("'+e+'")('+t+")":'_f("'+e.slice(0,n)+'")('+t+","+e.slice(n+1)}function Jn(t){console.error("[Vue compiler]: "+t)}function Qn(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function Yn(t,e,n){(t.props||(t.props=[])).push({name:e,value:n})}function tr(t,e,n){(t.attrs||(t.attrs=[])).push({name:e,value:n})}function er(t,e,n,r,i,o){(t.directives||(t.directives=[])).push({name:e,rawName:n,value:r,arg:i,modifiers:o})}function nr(t,e,n,r,i,o){var s;r&&r.capture&&(delete r.capture,e="!"+e),r&&r.once&&(delete r.once,e="~"+e),r&&r.passive&&(delete r.passive,e="&"+e),r&&r.native?(delete r.native,s=t.nativeEvents||(t.nativeEvents={})):s=t.events||(t.events={});var a={value:n,modifiers:r},l=s[e];Array.isArray(l)?i?l.unshift(a):l.push(a):s[e]=l?i?[a,l]:[l,a]:a}function rr(t,e,n){var r=ir(t,":"+e)||ir(t,"v-bind:"+e);if(null!=r)return Kn(r);if(!1!==n){var i=ir(t,e);if(null!=i)return JSON.stringify(i)}}function ir(t,e){var n;if(null!=(n=t.attrsMap[e]))for(var r=t.attrsList,i=0,o=r.length;i<o;i++)if(r[i].name===e){r.splice(i,1);break}return n}function or(t,e,n){var r=n||{},i=r.number,o="$$v";r.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(o="_n("+o+")");var s=sr(e,o);t.model={value:"("+e+")",expression:'"'+e+'"',callback:"function ($$v) {"+s+"}"}}function sr(t,e){var n=function(t){if(qn=(Hn=t).length,Bn=Wn=Vn=0,t.indexOf("[")<0||t.lastIndexOf("]")<qn-1)return{exp:t,idx:null};for(;!lr();)ur(zn=ar())?fr(zn):91===zn&&cr(zn);return{exp:t.substring(0,Wn),idx:t.substring(Wn+1,Vn)}}(t);return null===n.idx?t+"="+e:"$set("+n.exp+", "+n.idx+", "+e+")"}function ar(){return Hn.charCodeAt(++Bn)}function lr(){return Bn>=qn}function ur(t){return 34===t||39===t}function cr(t){var e=1;for(Wn=Bn;!lr();)if(ur(t=ar()))fr(t);else if(91===t&&e++,93===t&&e--,0===e){Vn=Bn;break}}function fr(t){for(var e=t;!lr()&&(t=ar())!==e;);}var dr,pr="__r",hr="__c";function vr(t,e,n,r,i){if(n){var o=e,s=dr;e=function(n){null!==(1===arguments.length?o(n):o.apply(null,arguments))&&gr(t,e,r,s)}}dr.addEventListener(t,e,et?{capture:r,passive:i}:r)}function gr(t,e,n,r){(r||dr).removeEventListener(t,e,n)}function mr(t,e){if(!n(t.data.on)||!n(e.data.on)){var i=e.data.on||{},o=t.data.on||{};dr=e.elm,function(t){var e;r(t[pr])&&(t[e=G?"change":"input"]=[].concat(t[pr],t[e]||[]),delete t[pr]),r(t[hr])&&(t[e=Y?"click":"change"]=[].concat(t[hr],t[e]||[]),delete t[hr])}(i),Bt(i,o,vr,gr,e.context)}}var yr={create:mr,update:mr};function _r(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var i,o,s=e.elm,a=t.data.domProps||{},l=e.data.domProps||{};for(i in r(l.__ob__)&&(l=e.data.domProps=A({},l)),a)n(l[i])&&(s[i]="");for(i in l)if(o=l[i],"textContent"!==i&&"innerHTML"!==i||(e.children&&(e.children.length=0),o!==a[i]))if("value"===i){s._value=o;var u=n(o)?"":String(o);br(s,e,u)&&(s.value=u)}else s[i]=o}}function br(t,e,n){return!t.composing&&("option"===e.tag||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,n)||function(t,e){var n=t.value,i=t._vModifiers;if(r(i)&&i.number)return f(n)!==f(e);if(r(i)&&i.trim)return n.trim()!==e.trim();return n!==e}(t,n))}var wr={create:_r,update:_r},xr=y(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function Cr(t){var e=$r(t.style);return t.staticStyle?A(t.staticStyle,e):e}function $r(t){return Array.isArray(t)?k(t):"string"==typeof t?xr(t):t}var Tr,Ar=/^--/,kr=/\s*!important$/,Er=function(t,e,n){if(Ar.test(e))t.style.setProperty(e,n);else if(kr.test(n))t.style.setProperty(e,n.replace(kr,""),"important");else{var r=Or(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},Sr=["Webkit","Moz","ms"],Or=y(function(t){if(Tr=Tr||document.createElement("div").style,"filter"!==(t=b(t))&&t in Tr)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Sr.length;n++){var r=Sr[n]+e;if(r in Tr)return r}});function Dr(t,e){var i=e.data,o=t.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var s,a,l=e.elm,u=o.staticStyle,c=o.normalizedStyle||o.style||{},f=u||c,d=$r(e.data.style)||{};e.data.normalizedStyle=r(d.__ob__)?A({},d):d;var p=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode).data&&(n=Cr(i.data))&&A(r,n);(n=Cr(t.data))&&A(r,n);for(var o=t;o=o.parent;)o.data&&(n=Cr(o.data))&&A(r,n);return r}(e,!0);for(a in f)n(p[a])&&Er(l,a,"");for(a in p)(s=p[a])!==f[a]&&Er(l,a,null==s?"":s)}}var jr={create:Dr,update:Dr};function Nr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ir(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Rr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&A(e,Lr(t.name||"v")),A(e,t),e}return"string"==typeof t?Lr(t):void 0}}var Lr=y(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Pr=V&&!K,Fr="transition",Mr="animation",Ur="transition",qr="transitionend",Hr="animation",zr="animationend";Pr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ur="WebkitTransition",qr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Hr="WebkitAnimation",zr="webkitAnimationEnd"));var Br=V&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function Wr(t){Br(function(){Br(t)})}function Vr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Nr(t,e))}function Xr(t,e){t._transitionClasses&&v(t._transitionClasses,e),Ir(t,e)}function Gr(t,e,n){var r=Zr(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===Fr?qr:zr,l=0,u=function(){t.removeEventListener(a,c),n()},c=function(e){e.target===t&&++l>=s&&u()};setTimeout(function(){l<s&&u()},o+1),t.addEventListener(a,c)}var Kr=/\b(transform|all)(,|$)/;function Zr(t,e){var n,r=window.getComputedStyle(t),i=r[Ur+"Delay"].split(", "),o=r[Ur+"Duration"].split(", "),s=Jr(i,o),a=r[Hr+"Delay"].split(", "),l=r[Hr+"Duration"].split(", "),u=Jr(a,l),c=0,f=0;return e===Fr?s>0&&(n=Fr,c=s,f=o.length):e===Mr?u>0&&(n=Mr,c=u,f=l.length):f=(n=(c=Math.max(s,u))>0?s>u?Fr:Mr:null)?n===Fr?o.length:l.length:0,{type:n,timeout:c,propCount:f,hasTransform:n===Fr&&Kr.test(r[Ur+"Property"])}}function Jr(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Qr(e)+Qr(t[n])}))}function Qr(t){return 1e3*Number(t.slice(0,-1))}function Yr(t,e){var i=t.elm;r(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var o=Rr(t.data.transition);if(!n(o)&&!r(i._enterCb)&&1===i.nodeType){for(var a=o.css,l=o.type,u=o.enterClass,c=o.enterToClass,d=o.enterActiveClass,p=o.appearClass,h=o.appearToClass,v=o.appearActiveClass,g=o.beforeEnter,m=o.enter,y=o.afterEnter,_=o.enterCancelled,b=o.beforeAppear,w=o.appear,x=o.afterAppear,C=o.appearCancelled,$=o.duration,T=ie,A=ie.$vnode;A&&A.parent;)T=(A=A.parent).context;var k=!T._isMounted||!t.isRootInsert;if(!k||w||""===w){var E=k&&p?p:u,S=k&&v?v:d,O=k&&h?h:c,D=k&&b||g,j=k&&"function"==typeof w?w:m,I=k&&x||y,R=k&&C||_,L=f(s($)?$.enter:$);0;var P=!1!==a&&!K,F=ni(j),M=i._enterCb=N(function(){P&&(Xr(i,O),Xr(i,S)),M.cancelled?(P&&Xr(i,E),R&&R(i)):I&&I(i),i._enterCb=null});t.data.show||Wt(t.data.hook||(t.data.hook={}),"insert",function(){var e=i.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),j&&j(i,M)}),D&&D(i),P&&(Vr(i,E),Vr(i,S),Wr(function(){Vr(i,O),Xr(i,E),M.cancelled||F||(ei(L)?setTimeout(M,L):Gr(i,l,M))})),t.data.show&&(e&&e(),j&&j(i,M)),P||F||M()}}}function ti(t,e){var i=t.elm;r(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var o=Rr(t.data.transition);if(n(o))return e();if(!r(i._leaveCb)&&1===i.nodeType){var a=o.css,l=o.type,u=o.leaveClass,c=o.leaveToClass,d=o.leaveActiveClass,p=o.beforeLeave,h=o.leave,v=o.afterLeave,g=o.leaveCancelled,m=o.delayLeave,y=o.duration,_=!1!==a&&!K,b=ni(h),w=f(s(y)?y.leave:y);0;var x=i._leaveCb=N(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),_&&(Xr(i,c),Xr(i,d)),x.cancelled?(_&&Xr(i,u),g&&g(i)):(e(),v&&v(i)),i._leaveCb=null});m?m(C):C()}function C(){x.cancelled||(t.data.show||((i.parentNode._pending||(i.parentNode._pending={}))[t.key]=t),p&&p(i),_&&(Vr(i,u),Vr(i,d),Wr(function(){Vr(i,c),Xr(i,u),x.cancelled||b||(ei(w)?setTimeout(x,w):Gr(i,l,x))})),h&&h(i,x),_||b||x())}}function ei(t){return"number"==typeof t&&!isNaN(t)}function ni(t){if(n(t))return!1;var e=t.fns;return r(e)?ni(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function ri(t,e){!0!==e.data.show&&Yr(e)}var ii=function(t){var e,s,a={},l=t.modules,u=t.nodeOps;for(e=0;e<kn.length;++e)for(a[kn[e]]=[],s=0;s<l.length;++s)r(l[s][kn[e]])&&a[kn[e]].push(l[s][kn[e]]);function c(t){var e=u.parentNode(t);r(e)&&u.removeChild(e,t)}function f(t,e,n,o,s){if(t.isRootInsert=!s,!function(t,e,n,o){var s=t.data;if(r(s)){var l=r(t.componentInstance)&&s.keepAlive;if(r(s=s.hook)&&r(s=s.init)&&s(t,!1,n,o),r(t.componentInstance))return p(t,e),i(l)&&function(t,e,n,i){for(var o,s=t;s.componentInstance;)if(s=s.componentInstance._vnode,r(o=s.data)&&r(o=o.transition)){for(o=0;o<a.activate.length;++o)a.activate[o](An,s);e.push(s);break}h(n,t.elm,i)}(t,e,n,o),!0}}(t,e,n,o)){var l=t.data,c=t.children,f=t.tag;r(f)?(t.elm=t.ns?u.createElementNS(t.ns,f):u.createElement(f,t),y(t),v(t,c,e),r(l)&&m(t,e),h(n,t.elm,o)):i(t.isComment)?(t.elm=u.createComment(t.text),h(n,t.elm,o)):(t.elm=u.createTextNode(t.text),h(n,t.elm,o))}}function p(t,e){r(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,g(t)?(m(t,e),y(t)):(Tn(t),e.push(t))}function h(t,e,n){r(t)&&(r(n)?n.parentNode===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function v(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)f(e[r],n,t.elm,null,!0);else o(t.text)&&u.appendChild(t.elm,u.createTextNode(t.text))}function g(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return r(t.tag)}function m(t,n){for(var i=0;i<a.create.length;++i)a.create[i](An,t);r(e=t.data.hook)&&(r(e.create)&&e.create(An,t),r(e.insert)&&n.push(t))}function y(t){for(var e,n=t;n;)r(e=n.context)&&r(e=e.$options._scopeId)&&u.setAttribute(t.elm,e,""),n=n.parent;r(e=ie)&&e!==t.context&&r(e=e.$options._scopeId)&&u.setAttribute(t.elm,e,"")}function _(t,e,n,r,i,o){for(;r<=i;++r)f(n[r],o,t,e)}function b(t){var e,n,i=t.data;if(r(i))for(r(e=i.hook)&&r(e=e.destroy)&&e(t),e=0;e<a.destroy.length;++e)a.destroy[e](t);if(r(e=t.children))for(n=0;n<t.children.length;++n)b(t.children[n])}function w(t,e,n,i){for(;n<=i;++n){var o=e[n];r(o)&&(r(o.tag)?(x(o),b(o)):c(o.elm))}}function x(t,e){if(r(e)||r(t.data)){var n,i=a.remove.length+1;for(r(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&c(t)}return n.listeners=e,n}(t.elm,i),r(n=t.componentInstance)&&r(n=n._vnode)&&r(n.data)&&x(n,e),n=0;n<a.remove.length;++n)a.remove[n](t,e);r(n=t.data.hook)&&r(n=n.remove)?n(t,e):e()}else c(t.elm)}function C(t,e,n,i){for(var o=n;o<i;o++){var s=e[o];if(r(s)&&En(t,s))return o}}function $(t,e,o,s){if(t!==e){var l=e.elm=t.elm;if(i(t.isAsyncPlaceholder))r(e.asyncFactory.resolved)?k(t.elm,e,o):e.isAsyncPlaceholder=!0;else if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))e.componentInstance=t.componentInstance;else{var c,d=e.data;r(d)&&r(c=d.hook)&&r(c=c.prepatch)&&c(t,e);var p=t.children,h=e.children;if(r(d)&&g(e)){for(c=0;c<a.update.length;++c)a.update[c](t,e);r(c=d.hook)&&r(c=c.update)&&c(t,e)}n(e.text)?r(p)&&r(h)?p!==h&&function(t,e,i,o,s){for(var a,l,c,d=0,p=0,h=e.length-1,v=e[0],g=e[h],m=i.length-1,y=i[0],b=i[m],x=!s;d<=h&&p<=m;)n(v)?v=e[++d]:n(g)?g=e[--h]:En(v,y)?($(v,y,o),v=e[++d],y=i[++p]):En(g,b)?($(g,b,o),g=e[--h],b=i[--m]):En(v,b)?($(v,b,o),x&&u.insertBefore(t,v.elm,u.nextSibling(g.elm)),v=e[++d],b=i[--m]):En(g,y)?($(g,y,o),x&&u.insertBefore(t,g.elm,v.elm),g=e[--h],y=i[++p]):(n(a)&&(a=Sn(e,d,h)),n(l=r(y.key)?a[y.key]:C(y,e,d,h))?f(y,o,t,v.elm):En(c=e[l],y)?($(c,y,o),e[l]=void 0,x&&u.insertBefore(t,c.elm,v.elm)):f(y,o,t,v.elm),y=i[++p]);d>h?_(t,n(i[m+1])?null:i[m+1].elm,i,p,m,o):p>m&&w(0,e,d,h)}(l,p,h,o,s):r(h)?(r(t.text)&&u.setTextContent(l,""),_(l,null,h,0,h.length-1,o)):r(p)?w(0,p,0,p.length-1):r(t.text)&&u.setTextContent(l,""):t.text!==e.text&&u.setTextContent(l,e.text),r(d)&&r(c=d.hook)&&r(c=c.postpatch)&&c(t,e)}}}function T(t,e,n){if(i(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var o=0;o<e.length;++o)e[o].data.hook.insert(e[o])}var A=d("attrs,style,class,staticClass,staticStyle,key");function k(t,n,o){if(i(n.isComment)&&r(n.asyncFactory))return n.elm=t,n.isAsyncPlaceholder=!0,!0;n.elm=t;var s=n.tag,a=n.data,l=n.children;if(r(a)&&(r(e=a.hook)&&r(e=e.init)&&e(n,!0),r(e=n.componentInstance)))return p(n,o),!0;if(r(s)){if(r(l))if(t.hasChildNodes())if(r(e=a)&&r(e=e.domProps)&&r(e=e.innerHTML)){if(e!==t.innerHTML)return!1}else{for(var u=!0,c=t.firstChild,f=0;f<l.length;f++){if(!c||!k(c,l[f],o)){u=!1;break}c=c.nextSibling}if(!u||c)return!1}else v(n,l,o);if(r(a))for(var d in a)if(!A(d)){m(n,o);break}}else t.data!==n.text&&(t.data=n.text);return!0}return function(t,e,o,s,l,c){if(!n(e)){var d,p=!1,h=[];if(n(t))p=!0,f(e,h,l,c);else{var v=r(t.nodeType);if(!v&&En(t,e))$(t,e,h,s);else{if(v){if(1===t.nodeType&&t.hasAttribute(I)&&(t.removeAttribute(I),o=!0),i(o)&&k(t,e,h))return T(e,h,!0),t;d=t,t=new It(u.tagName(d).toLowerCase(),{},[],void 0,d)}var m=t.elm,y=u.parentNode(m);if(f(e,h,m._leaveCb?null:y,u.nextSibling(m)),r(e.parent))for(var _=e.parent,x=g(e);_;){for(var C=0;C<a.destroy.length;++C)a.destroy[C](_);if(_.elm=e.elm,x){for(var A=0;A<a.create.length;++A)a.create[A](An,_);var E=_.data.hook.insert;if(E.merged)for(var S=1;S<E.fns.length;S++)E.fns[S]()}_=_.parent}r(y)?w(0,[t],0,0):r(t.tag)&&b(t)}}return T(e,h,p),e.elm}r(t)&&b(t)}}({nodeOps:Cn,modules:[Mn,Xn,yr,wr,jr,V?{create:ri,activate:ri,remove:function(t,e){!0!==t.data.show?ti(t,e):e()}}:{}].concat(Ln)});function oi(t,e,n){si(t,e,n),(G||Z)&&setTimeout(function(){si(t,e,n)},0)}function si(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,l=t.options.length;a<l;a++)if(s=t.options[a],i)o=j(r,li(s))>-1,s.selected!==o&&(s.selected=o);else if(D(li(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function ai(t,e){return e.every(function(e){return!D(e,t)})}function li(t){return"_value"in t?t._value:t.value}function ui(t){t.target.composing=!0}function ci(t){t.target.composing&&(t.target.composing=!1,fi(t.target,"input"))}function fi(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function di(t){return!t.componentInstance||t.data&&t.data.transition?t:di(t.componentInstance._vnode)}K&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&fi(t,"input")});var pi={model:{inserted:function(t,e,n){"select"===n.tag?(oi(t,e,n.context),t._vOptions=[].map.call(t.options,li)):("textarea"===n.tag||wn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("change",ci),J||(t.addEventListener("compositionstart",ui),t.addEventListener("compositionend",ci)),K&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){oi(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,li);if(i.some(function(t,e){return!D(t,r[e])}))(t.multiple?e.value.some(function(t){return ai(t,i)}):e.value!==e.oldValue&&ai(e.value,i))&&fi(t,"change")}}},show:{bind:function(t,e,n){var r=e.value,i=(n=di(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Yr(n,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;r!==e.oldValue&&((n=di(n)).data&&n.data.transition?(n.data.show=!0,r?Yr(n,function(){t.style.display=t.__vOriginalDisplay}):ti(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}}},hi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function vi(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?vi(Jt(e.children)):t}function gi(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[b(o)]=i[o];return e}function mi(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var yi={name:"transition",props:hi,abstract:!0,render:function(t){var e=this,n=this.$options._renderChildren;if(n&&(n=n.filter(function(t){return t.tag||Zt(t)})).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var s=vi(i);if(!s)return i;if(this._leaving)return mi(t,i);var a="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?a+"comment":a+s.tag:o(s.key)?0===String(s.key).indexOf(a)?s.key:a+s.key:s.key;var l=(s.data||(s.data={})).transition=gi(this),u=this._vnode,c=vi(u);if(s.data.directives&&s.data.directives.some(function(t){return"show"===t.name})&&(s.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(s,c)&&!Zt(c)){var f=c&&(c.data.transition=A({},l));if("out-in"===r)return this._leaving=!0,Wt(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),mi(t,i);if("in-out"===r){if(Zt(s))return u;var d,p=function(){d()};Wt(l,"afterEnter",p),Wt(l,"enterCancelled",p),Wt(f,"delayLeave",function(t){d=t})}}return i}}},_i=A({tag:String,moveClass:String},hi);function bi(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function wi(t){t.data.newPos=t.elm.getBoundingClientRect()}function xi(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete _i.mode;var Ci={Transition:yi,TransitionGroup:{props:_i,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=gi(this),a=0;a<i.length;a++){var l=i[a];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=s;else;}if(r){for(var u=[],c=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=s,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?u.push(d):c.push(d)}this.kept=t(e,null,u),this.removed=c}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(bi),t.forEach(wi),t.forEach(xi);document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;Vr(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(qr,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(qr,t),n._moveCb=null,Xr(n,e))})}})}},methods:{hasMove:function(t,e){if(!Pr)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){Ir(n,t)}),Nr(n,e),n.style.display="none",this.$el.appendChild(n);var r=Zr(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};Xe.config.mustUseProp=rn,Xe.config.isReservedTag=yn,Xe.config.isReservedAttr=en,Xe.config.getTagNamespace=_n,Xe.config.isUnknownElement=function(t){if(!V)return!0;if(yn(t))return!1;if(t=t.toLowerCase(),null!=bn[t])return bn[t];var e=document.createElement(t);return t.indexOf("-")>-1?bn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:bn[t]=/HTMLUnknownElement/.test(e.toString())},A(Xe.options.directives,pi),A(Xe.options.components,Ci),Xe.prototype.__patch__=V?ii:E,Xe.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=Lt),ae(t,"beforeMount"),r=function(){t._update(t._render(),n)},t._watcher=new ge(t,r,E),n=!1,null==t.$vnode&&(t._isMounted=!0,ae(t,"mounted")),t}(this,t=t&&V?xn(t):void 0,e)},setTimeout(function(){P.devtools&&it&&it.emit("init",Xe)},0);var $i,Ti,Ai,ki=!!V&&($i="\n",Ti="&#10;",(Ai=document.createElement("div")).innerHTML='<div a="'+$i+'"/>',Ai.innerHTML.indexOf(Ti)>0),Ei=/\{\{((?:.|\n)+?)\}\}/g,Si=/[-.*+?^${}()|[\]\/\\]/g,Oi=y(function(t){var e=t[0].replace(Si,"\\$&"),n=t[1].replace(Si,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")});function Di(t,e){var n=e?Oi(e):Ei;if(n.test(t)){for(var r,i,o=[],s=n.lastIndex=0;r=n.exec(t);){(i=r.index)>s&&o.push(JSON.stringify(t.slice(s,i)));var a=Kn(r[1].trim());o.push("_s("+a+")"),s=i+r[0].length}return s<t.length&&o.push(JSON.stringify(t.slice(s))),o.join("+")}}var ji=[{staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=ir(t,"class");n&&(t.staticClass=JSON.stringify(n));var r=rr(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}},{staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=ir(t,"style");n&&(t.staticStyle=JSON.stringify(xr(n)));var r=rr(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}}];var Ni,Ii={model:function(t,e,n){n;var r=e.value,i=e.modifiers,o=t.tag,s=t.attrsMap.type;if(t.component)return or(t,r,i),!1;if("select"===o)!function(t,e,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+sr(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),nr(t,"change",r,null,!0)}(t,r,i);else if("input"===o&&"checkbox"===s)!function(t,e,n){var r=n&&n.number,i=rr(t,"value")||"null",o=rr(t,"true-value")||"true",s=rr(t,"false-value")||"false";Yn(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),nr(t,hr,"var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+s+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+e+"=$$a.concat([$$v]))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+sr(e,"$$c")+"}",null,!0)}(t,r,i);else if("input"===o&&"radio"===s)!function(t,e,n){var r=n&&n.number,i=rr(t,"value")||"null";Yn(t,"checked","_q("+e+","+(i=r?"_n("+i+")":i)+")"),nr(t,hr,sr(e,i),null,!0)}(t,r,i);else if("input"===o||"textarea"===o)!function(t,e,n){var r=t.attrsMap.type,i=n||{},o=i.lazy,s=i.number,a=i.trim,l=!o&&"range"!==r,u=o?"change":"range"===r?pr:"input",c="$event.target.value";a&&(c="$event.target.value.trim()"),s&&(c="_n("+c+")");var f=sr(e,c);l&&(f="if($event.target.composing)return;"+f),Yn(t,"value","("+e+")"),nr(t,u,f,null,!0),(a||s)&&nr(t,"blur","$forceUpdate()")}(t,r,i);else if(!P.isReservedTag(o))return or(t,r,i),!1;return!0},text:function(t,e){e.value&&Yn(t,"textContent","_s("+e.value+")")},html:function(t,e){e.value&&Yn(t,"innerHTML","_s("+e.value+")")}},Ri=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Li=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Pi=d("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Fi={expectHTML:!0,modules:ji,directives:Ii,isPreTag:function(t){return"pre"===t},isUnaryTag:Ri,mustUseProp:rn,canBeLeftOpenTag:Li,isReservedTag:yn,getTagNamespace:_n,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(ji)},Mi=function(t){return(Ni=Ni||document.createElement("div")).innerHTML=t,Ni.textContent},Ui=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,qi="[a-zA-Z_][\\w\\-\\.]*",Hi="((?:"+qi+"\\:)?"+qi+")",zi=new RegExp("^<"+Hi),Bi=/^\s*(\/?)>/,Wi=new RegExp("^<\\/"+Hi+"[^>]*>"),Vi=/^<!DOCTYPE [^>]+>/i,Xi=/^<!--/,Gi=/^<!\[/,Ki=!1;"x".replace(/x(.)?/g,function(t,e){Ki=""===e});var Zi=d("script,style,textarea",!0),Ji={},Qi={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n"},Yi=/&(?:lt|gt|quot|amp);/g,to=/&(?:lt|gt|quot|amp|#10);/g,eo=d("pre,textarea",!0),no=function(t,e){return t&&eo(t)&&"\n"===e[0]};function ro(t,e){var n=e?to:Yi;return t.replace(n,function(t){return Qi[t]})}var io,oo,so,ao,lo,uo,co,fo,po=/^@|^v-on:/,ho=/^v-|^@|^:/,vo=/(.*?)\s+(?:in|of)\s+(.*)/,go=/\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/,mo=/:(.*)$/,yo=/^:|^v-bind:/,_o=/\.[^.]+/g,bo=y(Mi);function wo(t,e){io=e.warn||Jn,uo=e.isPreTag||S,co=e.mustUseProp||S,fo=e.getTagNamespace||S,so=Qn(e.modules,"transformNode"),ao=Qn(e.modules,"preTransformNode"),lo=Qn(e.modules,"postTransformNode"),oo=e.delimiters;var n,r,i=[],o=!1!==e.preserveWhitespace,s=!1,a=!1;function l(t){t.pre&&(s=!1),uo(t.tag)&&(a=!1)}return function(t,e){for(var n,r,i=[],o=e.expectHTML,s=e.isUnaryTag||S,a=e.canBeLeftOpenTag||S,l=0;t;){if(n=t,r&&Zi(r)){var u=0,c=r.toLowerCase(),f=Ji[c]||(Ji[c]=new RegExp("([\\s\\S]*?)(</"+c+"[^>]*>)","i")),d=t.replace(f,function(t,n,r){return u=r.length,Zi(c)||"noscript"===c||(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),no(c,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-d.length,t=d,A(c,l-u,l)}else{var p=t.indexOf("<");if(0===p){if(Xi.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h)),C(h+3);continue}}if(Gi.test(t)){var v=t.indexOf("]>");if(v>=0){C(v+2);continue}}var g=t.match(Vi);if(g){C(g[0].length);continue}var m=t.match(Wi);if(m){var y=l;C(m[0].length),A(m[1],y,l);continue}var _=$();if(_){T(_),no(r,t)&&C(1);continue}}var b=void 0,w=void 0,x=void 0;if(p>=0){for(w=t.slice(p);!(Wi.test(w)||zi.test(w)||Xi.test(w)||Gi.test(w)||(x=w.indexOf("<",1))<0);)p+=x,w=t.slice(p);b=t.substring(0,p),C(p)}p<0&&(b=t,t=""),e.chars&&b&&e.chars(b)}if(t===n){e.chars&&e.chars(t);break}}function C(e){l+=e,t=t.substring(e)}function $(){var e=t.match(zi);if(e){var n,r,i={tagName:e[1],attrs:[],start:l};for(C(e[0].length);!(n=t.match(Bi))&&(r=t.match(Ui));)C(r[0].length),i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=l,i}}function T(t){var n=t.tagName,l=t.unarySlash;o&&("p"===r&&Pi(n)&&A(r),a(n)&&r===n&&A(n));for(var u=s(n)||!!l,c=t.attrs.length,f=new Array(c),d=0;d<c;d++){var p=t.attrs[d];Ki&&-1===p[0].indexOf('""')&&(""===p[3]&&delete p[3],""===p[4]&&delete p[4],""===p[5]&&delete p[5]);var h=p[3]||p[4]||p[5]||"";f[d]={name:p[1],value:ro(h,e.shouldDecodeNewlines)}}u||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:f}),r=n),e.start&&e.start(n,f,u,t.start,t.end)}function A(t,n,o){var s,a;if(null==n&&(n=l),null==o&&(o=l),t&&(a=t.toLowerCase()),t)for(s=i.length-1;s>=0&&i[s].lowerCasedTag!==a;s--);else s=0;if(s>=0){for(var u=i.length-1;u>=s;u--)e.end&&e.end(i[u].tag,n,o);i.length=s,r=s&&i[s-1].tag}else"br"===a?e.start&&e.start(t,[],!0,n,o):"p"===a&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}A()}(t,{warn:io,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldKeepComment:e.comments,start:function(t,o,u){var c=r&&r.ns||fo(t);G&&"svg"===c&&(o=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];Ao.test(r.name)||(r.name=r.name.replace(ko,""),e.push(r))}return e}(o));var f,d={type:1,tag:t,attrsList:o,attrsMap:function(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}(o),parent:r,children:[]};c&&(d.ns=c),"style"!==(f=d).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||rt()||(d.forbidden=!0);for(var p=0;p<ao.length;p++)ao[p](d,e);if(s||(!function(t){null!=ir(t,"v-pre")&&(t.pre=!0)}(d),d.pre&&(s=!0)),uo(d.tag)&&(a=!0),s)!function(t){var e=t.attrsList.length;if(e)for(var n=t.attrs=new Array(e),r=0;r<e;r++)n[r]={name:t.attrsList[r].name,value:JSON.stringify(t.attrsList[r].value)};else t.pre||(t.plain=!0)}(d);else{!function(t){var e;if(e=ir(t,"v-for")){var n=e.match(vo);if(!n)return;t.for=n[2].trim();var r=n[1].trim(),i=r.match(go);i?(t.alias=i[1].trim(),t.iterator1=i[2].trim(),i[3]&&(t.iterator2=i[3].trim())):t.alias=r}}(d),function(t){var e=ir(t,"v-if");if(e)t.if=e,xo(t,{exp:e,block:t});else{null!=ir(t,"v-else")&&(t.else=!0);var n=ir(t,"v-else-if");n&&(t.elseif=n)}}(d),function(t){null!=ir(t,"v-once")&&(t.once=!0)}(d),function(t){var e=rr(t,"key");e&&(t.key=e)}(d),d.plain=!d.key&&!o.length,function(t){var e=rr(t,"ref");e&&(t.ref=e,t.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(d),function(t){if("slot"===t.tag)t.slotName=rr(t,"name");else{var e=rr(t,"slot");e&&(t.slotTarget='""'===e?'"default"':e,tr(t,"slot",e)),"template"===t.tag&&(t.slotScope=ir(t,"scope"))}}(d),function(t){var e;(e=rr(t,"is"))&&(t.component=e);null!=ir(t,"inline-template")&&(t.inlineTemplate=!0)}(d);for(var h=0;h<so.length;h++)so[h](d,e);!function(t){var e,n,r,i,o,s,a,l=t.attrsList;for(e=0,n=l.length;e<n;e++){if(r=i=l[e].name,o=l[e].value,ho.test(r))if(t.hasBindings=!0,(s=Co(r))&&(r=r.replace(_o,"")),yo.test(r))r=r.replace(yo,""),o=Kn(o),a=!1,s&&(s.prop&&(a=!0,"innerHtml"===(r=b(r))&&(r="innerHTML")),s.camel&&(r=b(r)),s.sync&&nr(t,"update:"+b(r),sr(o,"$event"))),a||!t.component&&co(t.tag,t.attrsMap.type,r)?Yn(t,r,o):tr(t,r,o);else if(po.test(r))r=r.replace(po,""),nr(t,r,o,s,!1);else{var u=(r=r.replace(ho,"")).match(mo),c=u&&u[1];c&&(r=r.slice(0,-(c.length+1))),er(t,r,i,o,c,s)}else tr(t,r,JSON.stringify(o))}}(d)}function v(t){0}if(n?i.length||n.if&&(d.elseif||d.else)&&(v(),xo(n,{exp:d.elseif,block:d})):(n=d,v()),r&&!d.forbidden)if(d.elseif||d.else)!function(t,e){var n=function(t){var e=t.length;for(;e--;){if(1===t[e].type)return t[e];t.pop()}}(e.children);n&&n.if&&xo(n,{exp:t.elseif,block:t})}(d,r);else if(d.slotScope){r.plain=!1;var g=d.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[g]=d}else r.children.push(d),d.parent=r;u?l(d):(r=d,i.push(d));for(var m=0;m<lo.length;m++)lo[m](d,e)},end:function(){var t=i[i.length-1],e=t.children[t.children.length-1];e&&3===e.type&&" "===e.text&&!a&&t.children.pop(),i.length-=1,r=i[i.length-1],l(t)},chars:function(t){if(r&&(!G||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var e,n,i=r.children;if(t=a||t.trim()?"script"===(e=r).tag||"style"===e.tag?t:bo(t):o&&i.length?" ":"")!s&&" "!==t&&(n=Di(t,oo))?i.push({type:2,expression:n,text:t}):" "===t&&i.length&&" "===i[i.length-1].text||i.push({type:3,text:t})}},comment:function(t){r.children.push({type:3,text:t,isComment:!0})}}),n}function xo(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function Co(t){var e=t.match(_o);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}var $o,To,Ao=/^xmlns:NS\d+/,ko=/^NS\d+:/;var Eo=y(function(t){return d("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))});function So(t,e){t&&($o=Eo(e.staticKeys||""),To=e.isReservedTag||S,function t(e){e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||p(t.tag)||!To(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every($o)))}(e);if(1===e.type){if(!To(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,r=e.children.length;n<r;n++){var i=e.children[n];t(i),i.static||(e.static=!1)}if(e.ifConditions)for(var o=1,s=e.ifConditions.length;o<s;o++){var a=e.ifConditions[o].block;t(a),a.static||(e.static=!1)}}}(t),function t(e,n){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=n),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var r=0,i=e.children.length;r<i;r++)t(e.children[r],n||!!e.for);if(e.ifConditions)for(var o=1,s=e.ifConditions.length;o<s;o++)t(e.ifConditions[o].block,n)}}(t,!1))}var Oo=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Do=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,jo={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},No=function(t){return"if("+t+")return null;"},Io={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:No("$event.target !== $event.currentTarget"),ctrl:No("!$event.ctrlKey"),shift:No("!$event.shiftKey"),alt:No("!$event.altKey"),meta:No("!$event.metaKey"),left:No("'button' in $event && $event.button !== 0"),middle:No("'button' in $event && $event.button !== 1"),right:No("'button' in $event && $event.button !== 2")};function Ro(t,e,n){var r=e?"nativeOn:{":"on:{";for(var i in t){0,r+='"'+i+'":'+Lo(i,t[i])+","}return r.slice(0,-1)+"}"}function Lo(t,e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Lo(t,e)}).join(",")+"]";var n=Do.test(e.value),r=Oo.test(e.value);if(e.modifiers){var i="",o="",s=[];for(var a in e.modifiers)Io[a]?(o+=Io[a],jo[a]&&s.push(a)):s.push(a);return s.length&&(i+=function(t){return"if(!('button' in $event)&&"+t.map(Po).join("&&")+")return null;"}(s)),o&&(i+=o),"function($event){"+i+(n?e.value+"($event)":r?"("+e.value+")($event)":e.value)+"}"}return n||r?e.value:"function($event){"+e.value+"}"}function Po(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=jo[t];return"_k($event.keyCode,"+JSON.stringify(t)+(n?","+JSON.stringify(n):"")+")"}var Fo={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:E},Mo=function(t){this.options=t,this.warn=t.warn||Jn,this.transforms=Qn(t.modules,"transformCode"),this.dataGenFns=Qn(t.modules,"genData"),this.directives=A(A({},Fo),t.directives);var e=t.isReservedTag||S;this.maybeComponent=function(t){return!e(t.tag)},this.onceId=0,this.staticRenderFns=[]};function Uo(t,e){var n=new Mo(e);return{render:"with(this){return "+(t?qo(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function qo(t,e){if(t.staticRoot&&!t.staticProcessed)return Ho(t,e);if(t.once&&!t.onceProcessed)return zo(t,e);if(t.for&&!t.forProcessed)return function(t,e,n,r){var i=t.for,o=t.alias,s=t.iterator1?","+t.iterator1:"",a=t.iterator2?","+t.iterator2:"";0;return t.forProcessed=!0,(r||"_l")+"(("+i+"),function("+o+s+a+"){return "+(n||qo)(t,e)+"})"}(t,e);if(t.if&&!t.ifProcessed)return Bo(t,e);if("template"!==t.tag||t.slotTarget){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=Xo(t,e),i="_t("+n+(r?","+r:""),o=t.attrs&&"{"+t.attrs.map(function(t){return b(t.name)+":"+t.value}).join(",")+"}",s=t.attrsMap["v-bind"];!o&&!s||r||(i+=",null");o&&(i+=","+o);s&&(i+=(o?"":",null")+","+s);return i+")"}(t,e);var n;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:Xo(e,n,!0);return"_c("+t+","+Wo(e,n)+(r?","+r:"")+")"}(t.component,t,e);else{var r=t.plain?void 0:Wo(t,e),i=t.inlineTemplate?null:Xo(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<e.transforms.length;o++)n=e.transforms[o](t,n);return n}return Xo(t,e)||"void 0"}function Ho(t,e){return t.staticProcessed=!0,e.staticRenderFns.push("with(this){return "+qo(t,e)+"}"),"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function zo(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Bo(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+qo(t,e)+","+e.onceId+++","+n+")":qo(t,e)}return Ho(t,e)}function Bo(t,e,n,r){return t.ifProcessed=!0,function t(e,n,r,i){if(!e.length)return i||"_e()";var o=e.shift();return o.exp?"("+o.exp+")?"+s(o.block)+":"+t(e,n,r,i):""+s(o.block);function s(t){return r?r(t,n):t.once?zo(t,n):qo(t,n)}}(t.ifConditions.slice(),e,n,r)}function Wo(t,e){var n="{",r=function(t,e){var n=t.directives;if(!n)return;var r,i,o,s,a="directives:[",l=!1;for(r=0,i=n.length;r<i;r++){o=n[r],s=!0;var u=e.directives[o.name];u&&(s=!!u(t,o,e.warn)),s&&(l=!0,a+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?',arg:"'+o.arg+'"':"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}if(l)return a.slice(0,-1)+"]"}(t,e);r&&(n+=r+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var i=0;i<e.dataGenFns.length;i++)n+=e.dataGenFns[i](t);if(t.attrs&&(n+="attrs:{"+Zo(t.attrs)+"},"),t.props&&(n+="domProps:{"+Zo(t.props)+"},"),t.events&&(n+=Ro(t.events,!1,e.warn)+","),t.nativeEvents&&(n+=Ro(t.nativeEvents,!0,e.warn)+","),t.slotTarget&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e){return"scopedSlots:_u(["+Object.keys(t).map(function(n){return Vo(n,t[n],e)}).join(",")+"])"}(t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];0;if(1===n.type){var r=Uo(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Vo(t,e,n){return e.for&&!e.forProcessed?function(t,e,n){var r=e.for,i=e.alias,o=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,"_l(("+r+"),function("+i+o+s+"){return "+Vo(t,e,n)+"})"}(t,e,n):"{key:"+t+",fn:function("+String(e.attrsMap.scope)+"){return "+("template"===e.tag?Xo(e,n)||"void 0":qo(e,n))+"}}"}function Xo(t,e,n,r,i){var o=t.children;if(o.length){var s=o[0];if(1===o.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag)return(r||qo)(s,e);var a=n?function(t,e){for(var n=0,r=0;r<t.length;r++){var i=t[r];if(1===i.type){if(Go(i)||i.ifConditions&&i.ifConditions.some(function(t){return Go(t.block)})){n=2;break}(e(i)||i.ifConditions&&i.ifConditions.some(function(t){return e(t.block)}))&&(n=1)}}return n}(o,e.maybeComponent):0,l=i||Ko;return"["+o.map(function(t){return l(t,e)}).join(",")+"]"+(a?","+a:"")}}function Go(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Ko(t,e){return 1===t.type?qo(t,e):3===t.type&&t.isComment?(r=t,"_e("+JSON.stringify(r.text)+")"):"_v("+(2===(n=t).type?n.expression:Jo(JSON.stringify(n.text)))+")";var n,r}function Zo(t){for(var e="",n=0;n<t.length;n++){var r=t[n];e+='"'+r.name+'":'+Jo(r.value)+","}return e.slice(0,-1)}function Jo(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function Qo(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),E}}var Yo,ts=(Yo=function(t,e){var n=wo(t.trim(),e);So(n,e);var r=Uo(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(t){function e(e,n){var r=Object.create(t),i=[],o=[];if(r.warn=function(t,e){(e?o:i).push(t)},n)for(var s in n.modules&&(r.modules=(t.modules||[]).concat(n.modules)),n.directives&&(r.directives=A(Object.create(t.directives),n.directives)),n)"modules"!==s&&"directives"!==s&&(r[s]=n[s]);var a=Yo(e,r);return a.errors=i,a.tips=o,a}return{compile:e,compileToFunctions:function(t){var e=Object.create(null);return function(n,r,i){var o=(r=r||{}).delimiters?String(r.delimiters)+n:n;if(e[o])return e[o];var s=t(n,r),a={},l=[];return a.render=Qo(s.render,l),a.staticRenderFns=s.staticRenderFns.map(function(t){return Qo(t,l)}),e[o]=a}}(e)}})(Fi).compileToFunctions,es=y(function(t){var e=xn(t);return e&&e.innerHTML}),ns=Xe.prototype.$mount;Xe.prototype.$mount=function(t,e){if((t=t&&xn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=es(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){0;var i=ts(r,{shouldDecodeNewlines:ki,delimiters:n.delimiters,comments:n.comments},this),o=i.render,s=i.staticRenderFns;n.render=o,n.staticRenderFns=s}}return ns.call(this,t,e)},Xe.compile=ts,t.exports=Xe}).call(e,n("DuR2"))},JHru:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["alertType","title"],computed:{alertClassName:function(){return"alert-"+this.alertType}},methods:{hideEvent:function(){this.$emit("hide")}}}},JfWP:function(t,e){},Lypw:function(t,e,n){var r=n("VU/8")(n("lAxH"),n("mttk"),!1,function(t){n("DimI")},"data-v-538f99aa",null);t.exports=r.exports},M4fF:function(t,e,n){(function(t,r){var i;(function(){var o,s=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="__lodash_hash_undefined__",c=500,f="__lodash_placeholder__",d=1,p=2,h=4,v=1,g=2,m=1,y=2,_=4,b=8,w=16,x=32,C=64,$=128,T=256,A=512,k=30,E="...",S=800,O=16,D=1,j=2,N=1/0,I=9007199254740991,R=1.7976931348623157e308,L=NaN,P=4294967295,F=P-1,M=P>>>1,U=[["ary",$],["bind",m],["bindKey",y],["curry",b],["curryRight",w],["flip",A],["partial",x],["partialRight",C],["rearg",T]],q="[object Arguments]",H="[object Array]",z="[object AsyncFunction]",B="[object Boolean]",W="[object Date]",V="[object DOMException]",X="[object Error]",G="[object Function]",K="[object GeneratorFunction]",Z="[object Map]",J="[object Number]",Q="[object Null]",Y="[object Object]",tt="[object Proxy]",et="[object RegExp]",nt="[object Set]",rt="[object String]",it="[object Symbol]",ot="[object Undefined]",st="[object WeakMap]",at="[object WeakSet]",lt="[object ArrayBuffer]",ut="[object DataView]",ct="[object Float32Array]",ft="[object Float64Array]",dt="[object Int8Array]",pt="[object Int16Array]",ht="[object Int32Array]",vt="[object Uint8Array]",gt="[object Uint8ClampedArray]",mt="[object Uint16Array]",yt="[object Uint32Array]",_t=/\b__p \+= '';/g,bt=/\b(__p \+=) '' \+/g,wt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xt=/&(?:amp|lt|gt|quot|#39);/g,Ct=/[&<>"']/g,$t=RegExp(xt.source),Tt=RegExp(Ct.source),At=/<%-([\s\S]+?)%>/g,kt=/<%([\s\S]+?)%>/g,Et=/<%=([\s\S]+?)%>/g,St=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ot=/^\w*$/,Dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jt=/[\\^$.*+?()[\]{}|]/g,Nt=RegExp(jt.source),It=/^\s+|\s+$/g,Rt=/^\s+/,Lt=/\s+$/,Pt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ft=/\{\n\/\* \[wrapped with (.+)\] \*/,Mt=/,? & /,Ut=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,qt=/\\(\\)?/g,Ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zt=/\w*$/,Bt=/^[-+]0x[0-9a-f]+$/i,Wt=/^0b[01]+$/i,Vt=/^\[object .+?Constructor\]$/,Xt=/^0o[0-7]+$/i,Gt=/^(?:0|[1-9]\d*)$/,Kt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,Jt=/['\n\r\u2028\u2029\\]/g,Qt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Yt="\\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",te="[\\ud800-\\udfff]",ee="["+Yt+"]",ne="["+Qt+"]",re="\\d+",ie="[\\u2700-\\u27bf]",oe="[a-z\\xdf-\\xf6\\xf8-\\xff]",se="[^\\ud800-\\udfff"+Yt+re+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ae="\\ud83c[\\udffb-\\udfff]",le="[^\\ud800-\\udfff]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",ce="[\\ud800-\\udbff][\\udc00-\\udfff]",fe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",de="(?:"+oe+"|"+se+")",pe="(?:"+fe+"|"+se+")",he="(?:"+ne+"|"+ae+")"+"?",ve="[\\ufe0e\\ufe0f]?"+he+("(?:\\u200d(?:"+[le,ue,ce].join("|")+")[\\ufe0e\\ufe0f]?"+he+")*"),ge="(?:"+[ie,ue,ce].join("|")+")"+ve,me="(?:"+[le+ne+"?",ne,ue,ce,te].join("|")+")",ye=RegExp("['’]","g"),_e=RegExp(ne,"g"),be=RegExp(ae+"(?="+ae+")|"+me+ve,"g"),we=RegExp([fe+"?"+oe+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ee,fe,"$"].join("|")+")",pe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ee,fe+de,"$"].join("|")+")",fe+"?"+de+"+(?:['’](?:d|ll|m|re|s|t|ve))?",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",re,ge].join("|"),"g"),xe=RegExp("[\\u200d\\ud800-\\udfff"+Qt+"\\ufe0e\\ufe0f]"),Ce=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,$e=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Te=-1,Ae={};Ae[ct]=Ae[ft]=Ae[dt]=Ae[pt]=Ae[ht]=Ae[vt]=Ae[gt]=Ae[mt]=Ae[yt]=!0,Ae[q]=Ae[H]=Ae[lt]=Ae[B]=Ae[ut]=Ae[W]=Ae[X]=Ae[G]=Ae[Z]=Ae[J]=Ae[Y]=Ae[et]=Ae[nt]=Ae[rt]=Ae[st]=!1;var ke={};ke[q]=ke[H]=ke[lt]=ke[ut]=ke[B]=ke[W]=ke[ct]=ke[ft]=ke[dt]=ke[pt]=ke[ht]=ke[Z]=ke[J]=ke[Y]=ke[et]=ke[nt]=ke[rt]=ke[it]=ke[vt]=ke[gt]=ke[mt]=ke[yt]=!0,ke[X]=ke[G]=ke[st]=!1;var Ee={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Se=parseFloat,Oe=parseInt,De="object"==typeof t&&t&&t.Object===Object&&t,je="object"==typeof self&&self&&self.Object===Object&&self,Ne=De||je||Function("return this")(),Ie="object"==typeof e&&e&&!e.nodeType&&e,Re=Ie&&"object"==typeof r&&r&&!r.nodeType&&r,Le=Re&&Re.exports===Ie,Pe=Le&&De.process,Fe=function(){try{var t=Re&&Re.require&&Re.require("util").types;return t||Pe&&Pe.binding&&Pe.binding("util")}catch(t){}}(),Me=Fe&&Fe.isArrayBuffer,Ue=Fe&&Fe.isDate,qe=Fe&&Fe.isMap,He=Fe&&Fe.isRegExp,ze=Fe&&Fe.isSet,Be=Fe&&Fe.isTypedArray;function We(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ve(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}function Xe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Ge(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ke(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ze(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function Je(t,e){return!!(null==t?0:t.length)&&ln(t,e,0)>-1}function Qe(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Ye(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function tn(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function en(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function nn(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function rn(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var on=dn("length");function sn(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function an(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function ln(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):an(t,cn,n)}function un(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function cn(t){return t!=t}function fn(t,e){var n=null==t?0:t.length;return n?vn(t,e)/n:L}function dn(t){return function(e){return null==e?o:e[t]}}function pn(t){return function(e){return null==t?o:t[e]}}function hn(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function vn(t,e){for(var n,r=-1,i=t.length;++r<i;){var s=e(t[r]);s!==o&&(n=n===o?s:n+s)}return n}function gn(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function mn(t){return function(e){return t(e)}}function yn(t,e){return Ye(e,function(e){return t[e]})}function _n(t,e){return t.has(e)}function bn(t,e){for(var n=-1,r=t.length;++n<r&&ln(e,t[n],0)>-1;);return n}function wn(t,e){for(var n=t.length;n--&&ln(e,t[n],0)>-1;);return n}var xn=pn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Cn=pn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function $n(t){return"\\"+Ee[t]}function Tn(t){return xe.test(t)}function An(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function kn(t,e){return function(n){return t(e(n))}}function En(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n];s!==e&&s!==f||(t[n]=f,o[i++]=n)}return o}function Sn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function On(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Dn(t){return Tn(t)?function(t){var e=be.lastIndex=0;for(;be.test(t);)++e;return e}(t):on(t)}function jn(t){return Tn(t)?function(t){return t.match(be)||[]}(t):function(t){return t.split("")}(t)}var Nn=pn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var In=function t(e){var n,r=(e=null==e?Ne:In.defaults(Ne.Object(),e,In.pick(Ne,$e))).Array,i=e.Date,Qt=e.Error,Yt=e.Function,te=e.Math,ee=e.Object,ne=e.RegExp,re=e.String,ie=e.TypeError,oe=r.prototype,se=Yt.prototype,ae=ee.prototype,le=e["__core-js_shared__"],ue=se.toString,ce=ae.hasOwnProperty,fe=0,de=(n=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",pe=ae.toString,he=ue.call(ee),ve=Ne._,ge=ne("^"+ue.call(ce).replace(jt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),me=Le?e.Buffer:o,be=e.Symbol,xe=e.Uint8Array,Ee=me?me.allocUnsafe:o,De=kn(ee.getPrototypeOf,ee),je=ee.create,Ie=ae.propertyIsEnumerable,Re=oe.splice,Pe=be?be.isConcatSpreadable:o,Fe=be?be.iterator:o,on=be?be.toStringTag:o,pn=function(){try{var t=Mo(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),Rn=e.clearTimeout!==Ne.clearTimeout&&e.clearTimeout,Ln=i&&i.now!==Ne.Date.now&&i.now,Pn=e.setTimeout!==Ne.setTimeout&&e.setTimeout,Fn=te.ceil,Mn=te.floor,Un=ee.getOwnPropertySymbols,qn=me?me.isBuffer:o,Hn=e.isFinite,zn=oe.join,Bn=kn(ee.keys,ee),Wn=te.max,Vn=te.min,Xn=i.now,Gn=e.parseInt,Kn=te.random,Zn=oe.reverse,Jn=Mo(e,"DataView"),Qn=Mo(e,"Map"),Yn=Mo(e,"Promise"),tr=Mo(e,"Set"),er=Mo(e,"WeakMap"),nr=Mo(ee,"create"),rr=er&&new er,ir={},or=fs(Jn),sr=fs(Qn),ar=fs(Yn),lr=fs(tr),ur=fs(er),cr=be?be.prototype:o,fr=cr?cr.valueOf:o,dr=cr?cr.toString:o;function pr(t){if(Ea(t)&&!ma(t)&&!(t instanceof mr)){if(t instanceof gr)return t;if(ce.call(t,"__wrapped__"))return ds(t)}return new gr(t)}var hr=function(){function t(){}return function(e){if(!ka(e))return{};if(je)return je(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function vr(){}function gr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function mr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=P,this.__views__=[]}function yr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function _r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function br(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function wr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new br;++e<n;)this.add(t[e])}function xr(t){var e=this.__data__=new _r(t);this.size=e.size}function Cr(t,e){var n=ma(t),r=!n&&ga(t),i=!n&&!r&&wa(t),o=!n&&!r&&!i&&La(t),s=n||r||i||o,a=s?gn(t.length,re):[],l=a.length;for(var u in t)!e&&!ce.call(t,u)||s&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Vo(u,l))||a.push(u);return a}function $r(t){var e=t.length;return e?t[wi(0,e-1)]:o}function Tr(t,e){return ls(no(t),Ir(e,0,t.length))}function Ar(t){return ls(no(t))}function kr(t,e,n){(n===o||pa(t[e],n))&&(n!==o||e in t)||jr(t,e,n)}function Er(t,e,n){var r=t[e];ce.call(t,e)&&pa(r,n)&&(n!==o||e in t)||jr(t,e,n)}function Sr(t,e){for(var n=t.length;n--;)if(pa(t[n][0],e))return n;return-1}function Or(t,e,n,r){return Mr(t,function(t,i,o){e(r,t,n(t),o)}),r}function Dr(t,e){return t&&ro(e,il(e),t)}function jr(t,e,n){"__proto__"==e&&pn?pn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Nr(t,e){for(var n=-1,i=e.length,s=r(i),a=null==t;++n<i;)s[n]=a?o:Ya(t,e[n]);return s}function Ir(t,e,n){return t==t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function Rr(t,e,n,r,i,s){var a,l=e&d,u=e&p,c=e&h;if(n&&(a=i?n(t,r,i,s):n(t)),a!==o)return a;if(!ka(t))return t;var f=ma(t);if(f){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ce.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return no(t,a)}else{var v=Ho(t),g=v==G||v==K;if(wa(t))return Zi(t,l);if(v==Y||v==q||g&&!i){if(a=u||g?{}:Bo(t),!l)return u?function(t,e){return ro(t,qo(t),e)}(t,function(t,e){return t&&ro(e,ol(e),t)}(a,t)):function(t,e){return ro(t,Uo(t),e)}(t,Dr(a,t))}else{if(!ke[v])return i?t:{};a=function(t,e,n){var r,i,o,s=t.constructor;switch(e){case lt:return Ji(t);case B:case W:return new s(+t);case ut:return function(t,e){var n=e?Ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case ct:case ft:case dt:case pt:case ht:case vt:case gt:case mt:case yt:return Qi(t,n);case Z:return new s;case J:case rt:return new s(t);case et:return(o=new(i=t).constructor(i.source,zt.exec(i))).lastIndex=i.lastIndex,o;case nt:return new s;case it:return r=t,fr?ee(fr.call(r)):{}}}(t,v,l)}}s||(s=new xr);var m=s.get(t);if(m)return m;s.set(t,a),Na(t)?t.forEach(function(r){a.add(Rr(r,e,n,r,t,s))}):Sa(t)&&t.forEach(function(r,i){a.set(i,Rr(r,e,n,i,t,s))});var y=f?o:(c?u?jo:Do:u?ol:il)(t);return Xe(y||t,function(r,i){y&&(r=t[i=r]),Er(a,i,Rr(r,e,n,i,t,s))}),a}function Lr(t,e,n){var r=n.length;if(null==t)return!r;for(t=ee(t);r--;){var i=n[r],s=e[i],a=t[i];if(a===o&&!(i in t)||!s(a))return!1}return!0}function Pr(t,e,n){if("function"!=typeof t)throw new ie(l);return is(function(){t.apply(o,n)},e)}function Fr(t,e,n,r){var i=-1,o=Je,a=!0,l=t.length,u=[],c=e.length;if(!l)return u;n&&(e=Ye(e,mn(n))),r?(o=Qe,a=!1):e.length>=s&&(o=_n,a=!1,e=new wr(e));t:for(;++i<l;){var f=t[i],d=null==n?f:n(f);if(f=r||0!==f?f:0,a&&d==d){for(var p=c;p--;)if(e[p]===d)continue t;u.push(f)}else o(e,d,r)||u.push(f)}return u}pr.templateSettings={escape:At,evaluate:kt,interpolate:Et,variable:"",imports:{_:pr}},pr.prototype=vr.prototype,pr.prototype.constructor=pr,gr.prototype=hr(vr.prototype),gr.prototype.constructor=gr,mr.prototype=hr(vr.prototype),mr.prototype.constructor=mr,yr.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},yr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},yr.prototype.get=function(t){var e=this.__data__;if(nr){var n=e[t];return n===u?o:n}return ce.call(e,t)?e[t]:o},yr.prototype.has=function(t){var e=this.__data__;return nr?e[t]!==o:ce.call(e,t)},yr.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nr&&e===o?u:e,this},_r.prototype.clear=function(){this.__data__=[],this.size=0},_r.prototype.delete=function(t){var e=this.__data__,n=Sr(e,t);return!(n<0||(n==e.length-1?e.pop():Re.call(e,n,1),--this.size,0))},_r.prototype.get=function(t){var e=this.__data__,n=Sr(e,t);return n<0?o:e[n][1]},_r.prototype.has=function(t){return Sr(this.__data__,t)>-1},_r.prototype.set=function(t,e){var n=this.__data__,r=Sr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},br.prototype.clear=function(){this.size=0,this.__data__={hash:new yr,map:new(Qn||_r),string:new yr}},br.prototype.delete=function(t){var e=Po(this,t).delete(t);return this.size-=e?1:0,e},br.prototype.get=function(t){return Po(this,t).get(t)},br.prototype.has=function(t){return Po(this,t).has(t)},br.prototype.set=function(t,e){var n=Po(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},wr.prototype.add=wr.prototype.push=function(t){return this.__data__.set(t,u),this},wr.prototype.has=function(t){return this.__data__.has(t)},xr.prototype.clear=function(){this.__data__=new _r,this.size=0},xr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},xr.prototype.get=function(t){return this.__data__.get(t)},xr.prototype.has=function(t){return this.__data__.has(t)},xr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof _r){var r=n.__data__;if(!Qn||r.length<s-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new br(r)}return n.set(t,e),this.size=n.size,this};var Mr=so(Xr),Ur=so(Gr,!0);function qr(t,e){var n=!0;return Mr(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Hr(t,e,n){for(var r=-1,i=t.length;++r<i;){var s=t[r],a=e(s);if(null!=a&&(l===o?a==a&&!Ra(a):n(a,l)))var l=a,u=s}return u}function zr(t,e){var n=[];return Mr(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function Br(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=Wo),i||(i=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?Br(a,e-1,n,r,i):tn(i,a):r||(i[i.length]=a)}return i}var Wr=ao(),Vr=ao(!0);function Xr(t,e){return t&&Wr(t,e,il)}function Gr(t,e){return t&&Vr(t,e,il)}function Kr(t,e){return Ze(e,function(e){return $a(t[e])})}function Zr(t,e){for(var n=0,r=(e=Vi(e,t)).length;null!=t&&n<r;)t=t[cs(e[n++])];return n&&n==r?t:o}function Jr(t,e,n){var r=e(t);return ma(t)?r:tn(r,n(t))}function Qr(t){return null==t?t===o?ot:Q:on&&on in ee(t)?function(t){var e=ce.call(t,on),n=t[on];try{t[on]=o;var r=!0}catch(t){}var i=pe.call(t);return r&&(e?t[on]=n:delete t[on]),i}(t):function(t){return pe.call(t)}(t)}function Yr(t,e){return t>e}function ti(t,e){return null!=t&&ce.call(t,e)}function ei(t,e){return null!=t&&e in ee(t)}function ni(t,e,n){for(var i=n?Qe:Je,s=t[0].length,a=t.length,l=a,u=r(a),c=1/0,f=[];l--;){var d=t[l];l&&e&&(d=Ye(d,mn(e))),c=Vn(d.length,c),u[l]=!n&&(e||s>=120&&d.length>=120)?new wr(l&&d):o}d=t[0];var p=-1,h=u[0];t:for(;++p<s&&f.length<c;){var v=d[p],g=e?e(v):v;if(v=n||0!==v?v:0,!(h?_n(h,g):i(f,g,n))){for(l=a;--l;){var m=u[l];if(!(m?_n(m,g):i(t[l],g,n)))continue t}h&&h.push(g),f.push(v)}}return f}function ri(t,e,n){var r=null==(t=es(t,e=Vi(e,t)))?t:t[cs(Cs(e))];return null==r?o:We(r,t,n)}function ii(t){return Ea(t)&&Qr(t)==q}function oi(t,e,n,r,i){return t===e||(null==t||null==e||!Ea(t)&&!Ea(e)?t!=t&&e!=e:function(t,e,n,r,i,s){var a=ma(t),l=ma(e),u=a?H:Ho(t),c=l?H:Ho(e),f=(u=u==q?Y:u)==Y,d=(c=c==q?Y:c)==Y,p=u==c;if(p&&wa(t)){if(!wa(e))return!1;a=!0,f=!1}if(p&&!f)return s||(s=new xr),a||La(t)?So(t,e,n,r,i,s):function(t,e,n,r,i,o,s){switch(n){case ut:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case lt:return!(t.byteLength!=e.byteLength||!o(new xe(t),new xe(e)));case B:case W:case J:return pa(+t,+e);case X:return t.name==e.name&&t.message==e.message;case et:case rt:return t==e+"";case Z:var a=An;case nt:var l=r&v;if(a||(a=Sn),t.size!=e.size&&!l)return!1;var u=s.get(t);if(u)return u==e;r|=g,s.set(t,e);var c=So(a(t),a(e),r,i,o,s);return s.delete(t),c;case it:if(fr)return fr.call(t)==fr.call(e)}return!1}(t,e,u,n,r,i,s);if(!(n&v)){var h=f&&ce.call(t,"__wrapped__"),m=d&&ce.call(e,"__wrapped__");if(h||m){var y=h?t.value():t,_=m?e.value():e;return s||(s=new xr),i(y,_,n,r,s)}}return!!p&&(s||(s=new xr),function(t,e,n,r,i,s){var a=n&v,l=Do(t),u=l.length,c=Do(e).length;if(u!=c&&!a)return!1;for(var f=u;f--;){var d=l[f];if(!(a?d in e:ce.call(e,d)))return!1}var p=s.get(t);if(p&&s.get(e))return p==e;var h=!0;s.set(t,e),s.set(e,t);for(var g=a;++f<u;){d=l[f];var m=t[d],y=e[d];if(r)var _=a?r(y,m,d,e,t,s):r(m,y,d,t,e,s);if(!(_===o?m===y||i(m,y,n,r,s):_)){h=!1;break}g||(g="constructor"==d)}if(h&&!g){var b=t.constructor,w=e.constructor;b!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(h=!1)}return s.delete(t),s.delete(e),h}(t,e,n,r,i,s))}(t,e,n,r,oi,i))}function si(t,e,n,r){var i=n.length,s=i,a=!r;if(null==t)return!s;for(t=ee(t);i--;){var l=n[i];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++i<s;){var u=(l=n[i])[0],c=t[u],f=l[1];if(a&&l[2]){if(c===o&&!(u in t))return!1}else{var d=new xr;if(r)var p=r(c,f,u,t,e,d);if(!(p===o?oi(f,c,v|g,r,d):p))return!1}}return!0}function ai(t){return!(!ka(t)||de&&de in t)&&($a(t)?ge:Vt).test(fs(t))}function li(t){return"function"==typeof t?t:null==t?Ol:"object"==typeof t?ma(t)?hi(t[0],t[1]):pi(t):Ml(t)}function ui(t){if(!Jo(t))return Bn(t);var e=[];for(var n in ee(t))ce.call(t,n)&&"constructor"!=n&&e.push(n);return e}function ci(t){if(!ka(t))return function(t){var e=[];if(null!=t)for(var n in ee(t))e.push(n);return e}(t);var e=Jo(t),n=[];for(var r in t)("constructor"!=r||!e&&ce.call(t,r))&&n.push(r);return n}function fi(t,e){return t<e}function di(t,e){var n=-1,i=_a(t)?r(t.length):[];return Mr(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function pi(t){var e=Fo(t);return 1==e.length&&e[0][2]?Yo(e[0][0],e[0][1]):function(n){return n===t||si(n,t,e)}}function hi(t,e){return Go(t)&&Qo(e)?Yo(cs(t),e):function(n){var r=Ya(n,t);return r===o&&r===e?tl(n,t):oi(e,r,v|g)}}function vi(t,e,n,r,i){t!==e&&Wr(e,function(s,a){if(i||(i=new xr),ka(s))!function(t,e,n,r,i,s,a){var l=ns(t,n),u=ns(e,n),c=a.get(u);if(c)kr(t,n,c);else{var f=s?s(l,u,n+"",t,e,a):o,d=f===o;if(d){var p=ma(u),h=!p&&wa(u),v=!p&&!h&&La(u);f=u,p||h||v?ma(l)?f=l:ba(l)?f=no(l):h?(d=!1,f=Zi(u,!0)):v?(d=!1,f=Qi(u,!0)):f=[]:Da(u)||ga(u)?(f=l,ga(l)?f=Ba(l):ka(l)&&!$a(l)||(f=Bo(u))):d=!1}d&&(a.set(u,f),i(f,u,r,s,a),a.delete(u)),kr(t,n,f)}}(t,e,a,n,vi,r,i);else{var l=r?r(ns(t,a),s,a+"",t,e,i):o;l===o&&(l=s),kr(t,a,l)}},ol)}function gi(t,e){var n=t.length;if(n)return Vo(e+=e<0?n:0,n)?t[e]:o}function mi(t,e,n){var r=-1;return e=Ye(e.length?e:[Ol],mn(Lo())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(di(t,function(t,n,i){return{criteria:Ye(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;++r<s;){var l=Yi(i[r],o[r]);if(l){if(r>=a)return l;var u=n[r];return l*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)})}function yi(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var s=e[r],a=Zr(t,s);n(a,s)&&Ai(o,Vi(s,t),a)}return o}function _i(t,e,n,r){var i=r?un:ln,o=-1,s=e.length,a=t;for(t===e&&(e=no(e)),n&&(a=Ye(t,mn(n)));++o<s;)for(var l=0,u=e[o],c=n?n(u):u;(l=i(a,c,l,r))>-1;)a!==t&&Re.call(a,l,1),Re.call(t,l,1);return t}function bi(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;Vo(i)?Re.call(t,i,1):Fi(t,i)}}return t}function wi(t,e){return t+Mn(Kn()*(e-t+1))}function xi(t,e){var n="";if(!t||e<1||e>I)return n;do{e%2&&(n+=t),(e=Mn(e/2))&&(t+=t)}while(e);return n}function Ci(t,e){return os(ts(t,e,Ol),t+"")}function $i(t){return $r(pl(t))}function Ti(t,e){var n=pl(t);return ls(n,Ir(e,0,n.length))}function Ai(t,e,n,r){if(!ka(t))return t;for(var i=-1,s=(e=Vi(e,t)).length,a=s-1,l=t;null!=l&&++i<s;){var u=cs(e[i]),c=n;if(i!=a){var f=l[u];(c=r?r(f,u,l):o)===o&&(c=ka(f)?f:Vo(e[i+1])?[]:{})}Er(l,u,c),l=l[u]}return t}var ki=rr?function(t,e){return rr.set(t,e),t}:Ol,Ei=pn?function(t,e){return pn(t,"toString",{configurable:!0,enumerable:!1,value:kl(e),writable:!0})}:Ol;function Si(t){return ls(pl(t))}function Oi(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=r(o);++i<o;)s[i]=t[i+e];return s}function Di(t,e){var n;return Mr(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function ji(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=M){for(;r<i;){var o=r+i>>>1,s=t[o];null!==s&&!Ra(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return Ni(t,e,Ol,n)}function Ni(t,e,n,r){e=n(e);for(var i=0,s=null==t?0:t.length,a=e!=e,l=null===e,u=Ra(e),c=e===o;i<s;){var f=Mn((i+s)/2),d=n(t[f]),p=d!==o,h=null===d,v=d==d,g=Ra(d);if(a)var m=r||v;else m=c?v&&(r||p):l?v&&p&&(r||!h):u?v&&p&&!h&&(r||!g):!h&&!g&&(r?d<=e:d<e);m?i=f+1:s=f}return Vn(s,F)}function Ii(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n],a=e?e(s):s;if(!n||!pa(a,l)){var l=a;o[i++]=0===s?0:s}}return o}function Ri(t){return"number"==typeof t?t:Ra(t)?L:+t}function Li(t){if("string"==typeof t)return t;if(ma(t))return Ye(t,Li)+"";if(Ra(t))return dr?dr.call(t):"";var e=t+"";return"0"==e&&1/t==-N?"-0":e}function Pi(t,e,n){var r=-1,i=Je,o=t.length,a=!0,l=[],u=l;if(n)a=!1,i=Qe;else if(o>=s){var c=e?null:Co(t);if(c)return Sn(c);a=!1,i=_n,u=new wr}else u=e?[]:l;t:for(;++r<o;){var f=t[r],d=e?e(f):f;if(f=n||0!==f?f:0,a&&d==d){for(var p=u.length;p--;)if(u[p]===d)continue t;e&&u.push(d),l.push(f)}else i(u,d,n)||(u!==l&&u.push(d),l.push(f))}return l}function Fi(t,e){return null==(t=es(t,e=Vi(e,t)))||delete t[cs(Cs(e))]}function Mi(t,e,n,r){return Ai(t,e,n(Zr(t,e)),r)}function Ui(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?Oi(t,r?0:o,r?o+1:i):Oi(t,r?o+1:0,r?i:o)}function qi(t,e){var n=t;return n instanceof mr&&(n=n.value()),en(e,function(t,e){return e.func.apply(e.thisArg,tn([t],e.args))},n)}function Hi(t,e,n){var i=t.length;if(i<2)return i?Pi(t[0]):[];for(var o=-1,s=r(i);++o<i;)for(var a=t[o],l=-1;++l<i;)l!=o&&(s[o]=Fr(s[o]||a,t[l],e,n));return Pi(Br(s,1),e,n)}function zi(t,e,n){for(var r=-1,i=t.length,s=e.length,a={};++r<i;){var l=r<s?e[r]:o;n(a,t[r],l)}return a}function Bi(t){return ba(t)?t:[]}function Wi(t){return"function"==typeof t?t:Ol}function Vi(t,e){return ma(t)?t:Go(t,e)?[t]:us(Wa(t))}var Xi=Ci;function Gi(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:Oi(t,e,n)}var Ki=Rn||function(t){return Ne.clearTimeout(t)};function Zi(t,e){if(e)return t.slice();var n=t.length,r=Ee?Ee(n):new t.constructor(n);return t.copy(r),r}function Ji(t){var e=new t.constructor(t.byteLength);return new xe(e).set(new xe(t)),e}function Qi(t,e){var n=e?Ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Yi(t,e){if(t!==e){var n=t!==o,r=null===t,i=t==t,s=Ra(t),a=e!==o,l=null===e,u=e==e,c=Ra(e);if(!l&&!c&&!s&&t>e||s&&a&&u&&!l&&!c||r&&a&&u||!n&&u||!i)return 1;if(!r&&!s&&!c&&t<e||c&&n&&i&&!r&&!s||l&&n&&i||!a&&i||!u)return-1}return 0}function to(t,e,n,i){for(var o=-1,s=t.length,a=n.length,l=-1,u=e.length,c=Wn(s-a,0),f=r(u+c),d=!i;++l<u;)f[l]=e[l];for(;++o<a;)(d||o<s)&&(f[n[o]]=t[o]);for(;c--;)f[l++]=t[o++];return f}function eo(t,e,n,i){for(var o=-1,s=t.length,a=-1,l=n.length,u=-1,c=e.length,f=Wn(s-l,0),d=r(f+c),p=!i;++o<f;)d[o]=t[o];for(var h=o;++u<c;)d[h+u]=e[u];for(;++a<l;)(p||o<s)&&(d[h+n[a]]=t[o++]);return d}function no(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function ro(t,e,n,r){var i=!n;n||(n={});for(var s=-1,a=e.length;++s<a;){var l=e[s],u=r?r(n[l],t[l],l,n,t):o;u===o&&(u=t[l]),i?jr(n,l,u):Er(n,l,u)}return n}function io(t,e){return function(n,r){var i=ma(n)?Ve:Or,o=e?e():{};return i(n,t,Lo(r,2),o)}}function oo(t){return Ci(function(e,n){var r=-1,i=n.length,s=i>1?n[i-1]:o,a=i>2?n[2]:o;for(s=t.length>3&&"function"==typeof s?(i--,s):o,a&&Xo(n[0],n[1],a)&&(s=i<3?o:s,i=1),e=ee(e);++r<i;){var l=n[r];l&&t(e,l,r,s)}return e})}function so(t,e){return function(n,r){if(null==n)return n;if(!_a(n))return t(n,r);for(var i=n.length,o=e?i:-1,s=ee(n);(e?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function ao(t){return function(e,n,r){for(var i=-1,o=ee(e),s=r(e),a=s.length;a--;){var l=s[t?a:++i];if(!1===n(o[l],l,o))break}return e}}function lo(t){return function(e){var n=Tn(e=Wa(e))?jn(e):o,r=n?n[0]:e.charAt(0),i=n?Gi(n,1).join(""):e.slice(1);return r[t]()+i}}function uo(t){return function(e){return en($l(gl(e).replace(ye,"")),t,"")}}function co(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=hr(t.prototype),r=t.apply(n,e);return ka(r)?r:n}}function fo(t){return function(e,n,r){var i=ee(e);if(!_a(e)){var s=Lo(n,3);e=il(e),n=function(t){return s(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[s?e[a]:a]:o}}function po(t){return Oo(function(e){var n=e.length,r=n,i=gr.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new ie(l);if(i&&!a&&"wrapper"==Io(s))var a=new gr([],!0)}for(r=a?r:n;++r<n;){var u=Io(s=e[r]),c="wrapper"==u?No(s):o;a=c&&Ko(c[0])&&c[1]==($|b|x|T)&&!c[4].length&&1==c[9]?a[Io(c[0])].apply(a,c[3]):1==s.length&&Ko(s)?a[u]():a.thru(s)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&ma(r))return a.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function ho(t,e,n,i,s,a,l,u,c,f){var d=e&$,p=e&m,h=e&y,v=e&(b|w),g=e&A,_=h?o:co(t);return function m(){for(var y=arguments.length,b=r(y),w=y;w--;)b[w]=arguments[w];if(v)var x=Ro(m),C=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(b,x);if(i&&(b=to(b,i,s,v)),a&&(b=eo(b,a,l,v)),y-=C,v&&y<f){var $=En(b,x);return wo(t,e,ho,m.placeholder,n,b,$,u,c,f-y)}var T=p?n:this,A=h?T[t]:t;return y=b.length,u?b=function(t,e){for(var n=t.length,r=Vn(e.length,n),i=no(t);r--;){var s=e[r];t[r]=Vo(s,n)?i[s]:o}return t}(b,u):g&&y>1&&b.reverse(),d&&c<y&&(b.length=c),this&&this!==Ne&&this instanceof m&&(A=_||co(A)),A.apply(T,b)}}function vo(t,e){return function(n,r){return function(t,e,n,r){return Xr(t,function(t,i,o){e(r,n(t),i,o)}),r}(n,t,e(r),{})}}function go(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=Li(n),r=Li(r)):(n=Ri(n),r=Ri(r)),i=t(n,r)}return i}}function mo(t){return Oo(function(e){return e=Ye(e,mn(Lo())),Ci(function(n){var r=this;return t(e,function(t){return We(t,r,n)})})})}function yo(t,e){var n=(e=e===o?" ":Li(e)).length;if(n<2)return n?xi(e,t):e;var r=xi(e,Fn(t/Dn(e)));return Tn(e)?Gi(jn(r),0,t).join(""):r.slice(0,t)}function _o(t){return function(e,n,i){return i&&"number"!=typeof i&&Xo(e,n,i)&&(n=i=o),e=Ua(e),n===o?(n=e,e=0):n=Ua(n),function(t,e,n,i){for(var o=-1,s=Wn(Fn((e-t)/(n||1)),0),a=r(s);s--;)a[i?s:++o]=t,t+=n;return a}(e,n,i=i===o?e<n?1:-1:Ua(i),t)}}function bo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=za(e),n=za(n)),t(e,n)}}function wo(t,e,n,r,i,s,a,l,u,c){var f=e&b;e|=f?x:C,(e&=~(f?C:x))&_||(e&=~(m|y));var d=[t,e,i,f?s:o,f?a:o,f?o:s,f?o:a,l,u,c],p=n.apply(o,d);return Ko(t)&&rs(p,d),p.placeholder=r,ss(p,t,e)}function xo(t){var e=te[t];return function(t,n){if(t=za(t),(n=null==n?0:Vn(qa(n),292))&&Hn(t)){var r=(Wa(t)+"e").split("e");return+((r=(Wa(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Co=tr&&1/Sn(new tr([,-0]))[1]==N?function(t){return new tr(t)}:Rl;function $o(t){return function(e){var n=Ho(e);return n==Z?An(e):n==nt?On(e):function(t,e){return Ye(e,function(e){return[e,t[e]]})}(e,t(e))}}function To(t,e,n,i,s,a,u,c){var d=e&y;if(!d&&"function"!=typeof t)throw new ie(l);var p=i?i.length:0;if(p||(e&=~(x|C),i=s=o),u=u===o?u:Wn(qa(u),0),c=c===o?c:qa(c),p-=s?s.length:0,e&C){var h=i,v=s;i=s=o}var g=d?o:No(t),A=[t,e,n,i,s,h,v,a,u,c];if(g&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<(m|y|$),s=r==$&&n==b||r==$&&n==T&&t[7].length<=e[8]||r==($|T)&&e[7].length<=e[8]&&n==b;if(!o&&!s)return t;r&m&&(t[2]=e[2],i|=n&m?0:_);var a=e[3];if(a){var l=t[3];t[3]=l?to(l,a,e[4]):a,t[4]=l?En(t[3],f):e[4]}(a=e[5])&&(l=t[5],t[5]=l?eo(l,a,e[6]):a,t[6]=l?En(t[5],f):e[6]),(a=e[7])&&(t[7]=a),r&$&&(t[8]=null==t[8]?e[8]:Vn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(A,g),t=A[0],e=A[1],n=A[2],i=A[3],s=A[4],!(c=A[9]=A[9]===o?d?0:t.length:Wn(A[9]-p,0))&&e&(b|w)&&(e&=~(b|w)),e&&e!=m)k=e==b||e==w?function(t,e,n){var i=co(t);return function s(){for(var a=arguments.length,l=r(a),u=a,c=Ro(s);u--;)l[u]=arguments[u];var f=a<3&&l[0]!==c&&l[a-1]!==c?[]:En(l,c);return(a-=f.length)<n?wo(t,e,ho,s.placeholder,o,l,f,o,o,n-a):We(this&&this!==Ne&&this instanceof s?i:t,this,l)}}(t,e,c):e!=x&&e!=(m|x)||s.length?ho.apply(o,A):function(t,e,n,i){var o=e&m,s=co(t);return function e(){for(var a=-1,l=arguments.length,u=-1,c=i.length,f=r(c+l),d=this&&this!==Ne&&this instanceof e?s:t;++u<c;)f[u]=i[u];for(;l--;)f[u++]=arguments[++a];return We(d,o?n:this,f)}}(t,e,n,i);else var k=function(t,e,n){var r=e&m,i=co(t);return function e(){return(this&&this!==Ne&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return ss((g?ki:rs)(k,A),t,e)}function Ao(t,e,n,r){return t===o||pa(t,ae[n])&&!ce.call(r,n)?e:t}function ko(t,e,n,r,i,s){return ka(t)&&ka(e)&&(s.set(e,t),vi(t,e,o,ko,s),s.delete(e)),t}function Eo(t){return Da(t)?o:t}function So(t,e,n,r,i,s){var a=n&v,l=t.length,u=e.length;if(l!=u&&!(a&&u>l))return!1;var c=s.get(t);if(c&&s.get(e))return c==e;var f=-1,d=!0,p=n&g?new wr:o;for(s.set(t,e),s.set(e,t);++f<l;){var h=t[f],m=e[f];if(r)var y=a?r(m,h,f,e,t,s):r(h,m,f,t,e,s);if(y!==o){if(y)continue;d=!1;break}if(p){if(!rn(e,function(t,e){if(!_n(p,e)&&(h===t||i(h,t,n,r,s)))return p.push(e)})){d=!1;break}}else if(h!==m&&!i(h,m,n,r,s)){d=!1;break}}return s.delete(t),s.delete(e),d}function Oo(t){return os(ts(t,o,ys),t+"")}function Do(t){return Jr(t,il,Uo)}function jo(t){return Jr(t,ol,qo)}var No=rr?function(t){return rr.get(t)}:Rl;function Io(t){for(var e=t.name+"",n=ir[e],r=ce.call(ir,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function Ro(t){return(ce.call(pr,"placeholder")?pr:t).placeholder}function Lo(){var t=pr.iteratee||Dl;return t=t===Dl?li:t,arguments.length?t(arguments[0],arguments[1]):t}function Po(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Fo(t){for(var e=il(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Qo(i)]}return e}function Mo(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return ai(n)?n:o}var Uo=Un?function(t){return null==t?[]:(t=ee(t),Ze(Un(t),function(e){return Ie.call(t,e)}))}:Hl,qo=Un?function(t){for(var e=[];t;)tn(e,Uo(t)),t=De(t);return e}:Hl,Ho=Qr;function zo(t,e,n){for(var r=-1,i=(e=Vi(e,t)).length,o=!1;++r<i;){var s=cs(e[r]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&Aa(i)&&Vo(s,i)&&(ma(t)||ga(t))}function Bo(t){return"function"!=typeof t.constructor||Jo(t)?{}:hr(De(t))}function Wo(t){return ma(t)||ga(t)||!!(Pe&&t&&t[Pe])}function Vo(t,e){var n=typeof t;return!!(e=null==e?I:e)&&("number"==n||"symbol"!=n&&Gt.test(t))&&t>-1&&t%1==0&&t<e}function Xo(t,e,n){if(!ka(n))return!1;var r=typeof e;return!!("number"==r?_a(n)&&Vo(e,n.length):"string"==r&&e in n)&&pa(n[e],t)}function Go(t,e){if(ma(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ra(t))||Ot.test(t)||!St.test(t)||null!=e&&t in ee(e)}function Ko(t){var e=Io(t),n=pr[e];if("function"!=typeof n||!(e in mr.prototype))return!1;if(t===n)return!0;var r=No(n);return!!r&&t===r[0]}(Jn&&Ho(new Jn(new ArrayBuffer(1)))!=ut||Qn&&Ho(new Qn)!=Z||Yn&&"[object Promise]"!=Ho(Yn.resolve())||tr&&Ho(new tr)!=nt||er&&Ho(new er)!=st)&&(Ho=function(t){var e=Qr(t),n=e==Y?t.constructor:o,r=n?fs(n):"";if(r)switch(r){case or:return ut;case sr:return Z;case ar:return"[object Promise]";case lr:return nt;case ur:return st}return e});var Zo=le?$a:zl;function Jo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ae)}function Qo(t){return t==t&&!ka(t)}function Yo(t,e){return function(n){return null!=n&&n[t]===e&&(e!==o||t in ee(n))}}function ts(t,e,n){return e=Wn(e===o?t.length-1:e,0),function(){for(var i=arguments,o=-1,s=Wn(i.length-e,0),a=r(s);++o<s;)a[o]=i[e+o];o=-1;for(var l=r(e+1);++o<e;)l[o]=i[o];return l[e]=n(a),We(t,this,l)}}function es(t,e){return e.length<2?t:Zr(t,Oi(e,0,-1))}function ns(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var rs=as(ki),is=Pn||function(t,e){return Ne.setTimeout(t,e)},os=as(Ei);function ss(t,e,n){var r=e+"";return os(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Pt,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Xe(U,function(n){var r="_."+n[0];e&n[1]&&!Je(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Ft);return e?e[1].split(Mt):[]}(r),n)))}function as(t){var e=0,n=0;return function(){var r=Xn(),i=O-(r-n);if(n=r,i>0){if(++e>=S)return arguments[0]}else e=0;return t.apply(o,arguments)}}function ls(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n<e;){var s=wi(n,i),a=t[s];t[s]=t[n],t[n]=a}return t.length=e,t}var us=function(t){var e=aa(t,function(t){return n.size===c&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Dt,function(t,n,r,i){e.push(r?i.replace(qt,"$1"):n||t)}),e});function cs(t){if("string"==typeof t||Ra(t))return t;var e=t+"";return"0"==e&&1/t==-N?"-0":e}function fs(t){if(null!=t){try{return ue.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function ds(t){if(t instanceof mr)return t.clone();var e=new gr(t.__wrapped__,t.__chain__);return e.__actions__=no(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var ps=Ci(function(t,e){return ba(t)?Fr(t,Br(e,1,ba,!0)):[]}),hs=Ci(function(t,e){var n=Cs(e);return ba(n)&&(n=o),ba(t)?Fr(t,Br(e,1,ba,!0),Lo(n,2)):[]}),vs=Ci(function(t,e){var n=Cs(e);return ba(n)&&(n=o),ba(t)?Fr(t,Br(e,1,ba,!0),o,n):[]});function gs(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:qa(n);return i<0&&(i=Wn(r+i,0)),an(t,Lo(e,3),i)}function ms(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=qa(n),i=n<0?Wn(r+i,0):Vn(i,r-1)),an(t,Lo(e,3),i,!0)}function ys(t){return null!=t&&t.length?Br(t,1):[]}function _s(t){return t&&t.length?t[0]:o}var bs=Ci(function(t){var e=Ye(t,Bi);return e.length&&e[0]===t[0]?ni(e):[]}),ws=Ci(function(t){var e=Cs(t),n=Ye(t,Bi);return e===Cs(n)?e=o:n.pop(),n.length&&n[0]===t[0]?ni(n,Lo(e,2)):[]}),xs=Ci(function(t){var e=Cs(t),n=Ye(t,Bi);return(e="function"==typeof e?e:o)&&n.pop(),n.length&&n[0]===t[0]?ni(n,o,e):[]});function Cs(t){var e=null==t?0:t.length;return e?t[e-1]:o}var $s=Ci(Ts);function Ts(t,e){return t&&t.length&&e&&e.length?_i(t,e):t}var As=Oo(function(t,e){var n=null==t?0:t.length,r=Nr(t,e);return bi(t,Ye(e,function(t){return Vo(t,n)?+t:t}).sort(Yi)),r});function ks(t){return null==t?t:Zn.call(t)}var Es=Ci(function(t){return Pi(Br(t,1,ba,!0))}),Ss=Ci(function(t){var e=Cs(t);return ba(e)&&(e=o),Pi(Br(t,1,ba,!0),Lo(e,2))}),Os=Ci(function(t){var e=Cs(t);return e="function"==typeof e?e:o,Pi(Br(t,1,ba,!0),o,e)});function Ds(t){if(!t||!t.length)return[];var e=0;return t=Ze(t,function(t){if(ba(t))return e=Wn(t.length,e),!0}),gn(e,function(e){return Ye(t,dn(e))})}function js(t,e){if(!t||!t.length)return[];var n=Ds(t);return null==e?n:Ye(n,function(t){return We(e,o,t)})}var Ns=Ci(function(t,e){return ba(t)?Fr(t,e):[]}),Is=Ci(function(t){return Hi(Ze(t,ba))}),Rs=Ci(function(t){var e=Cs(t);return ba(e)&&(e=o),Hi(Ze(t,ba),Lo(e,2))}),Ls=Ci(function(t){var e=Cs(t);return e="function"==typeof e?e:o,Hi(Ze(t,ba),o,e)}),Ps=Ci(Ds);var Fs=Ci(function(t){var e=t.length,n=e>1?t[e-1]:o;return js(t,n="function"==typeof n?(t.pop(),n):o)});function Ms(t){var e=pr(t);return e.__chain__=!0,e}function Us(t,e){return e(t)}var qs=Oo(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Nr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof mr&&Vo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Us,args:[i],thisArg:o}),new gr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(o),t})):this.thru(i)});var Hs=io(function(t,e,n){ce.call(t,n)?++t[n]:jr(t,n,1)});var zs=fo(gs),Bs=fo(ms);function Ws(t,e){return(ma(t)?Xe:Mr)(t,Lo(e,3))}function Vs(t,e){return(ma(t)?Ge:Ur)(t,Lo(e,3))}var Xs=io(function(t,e,n){ce.call(t,n)?t[n].push(e):jr(t,n,[e])});var Gs=Ci(function(t,e,n){var i=-1,o="function"==typeof e,s=_a(t)?r(t.length):[];return Mr(t,function(t){s[++i]=o?We(e,t,n):ri(t,e,n)}),s}),Ks=io(function(t,e,n){jr(t,n,e)});function Zs(t,e){return(ma(t)?Ye:di)(t,Lo(e,3))}var Js=io(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var Qs=Ci(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Xo(t,e[0],e[1])?e=[]:n>2&&Xo(e[0],e[1],e[2])&&(e=[e[0]]),mi(t,Br(e,1),[])}),Ys=Ln||function(){return Ne.Date.now()};function ta(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,To(t,$,o,o,o,o,e)}function ea(t,e){var n;if("function"!=typeof e)throw new ie(l);return t=qa(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var na=Ci(function(t,e,n){var r=m;if(n.length){var i=En(n,Ro(na));r|=x}return To(t,r,e,n,i)}),ra=Ci(function(t,e,n){var r=m|y;if(n.length){var i=En(n,Ro(ra));r|=x}return To(e,r,t,n,i)});function ia(t,e,n){var r,i,s,a,u,c,f=0,d=!1,p=!1,h=!0;if("function"!=typeof t)throw new ie(l);function v(e){var n=r,s=i;return r=i=o,f=e,a=t.apply(s,n)}function g(t){var n=t-c;return c===o||n>=e||n<0||p&&t-f>=s}function m(){var t=Ys();if(g(t))return y(t);u=is(m,function(t){var n=e-(t-c);return p?Vn(n,s-(t-f)):n}(t))}function y(t){return u=o,h&&r?v(t):(r=i=o,a)}function _(){var t=Ys(),n=g(t);if(r=arguments,i=this,c=t,n){if(u===o)return function(t){return f=t,u=is(m,e),d?v(t):a}(c);if(p)return Ki(u),u=is(m,e),v(c)}return u===o&&(u=is(m,e)),a}return e=za(e)||0,ka(n)&&(d=!!n.leading,s=(p="maxWait"in n)?Wn(za(n.maxWait)||0,e):s,h="trailing"in n?!!n.trailing:h),_.cancel=function(){u!==o&&Ki(u),f=0,r=c=i=u=o},_.flush=function(){return u===o?a:y(Ys())},_}var oa=Ci(function(t,e){return Pr(t,1,e)}),sa=Ci(function(t,e,n){return Pr(t,za(e)||0,n)});function aa(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ie(l);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(aa.Cache||br),n}function la(t){if("function"!=typeof t)throw new ie(l);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)}}aa.Cache=br;var ua=Xi(function(t,e){var n=(e=1==e.length&&ma(e[0])?Ye(e[0],mn(Lo())):Ye(Br(e,1),mn(Lo()))).length;return Ci(function(r){for(var i=-1,o=Vn(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return We(t,this,r)})}),ca=Ci(function(t,e){var n=En(e,Ro(ca));return To(t,x,o,e,n)}),fa=Ci(function(t,e){var n=En(e,Ro(fa));return To(t,C,o,e,n)}),da=Oo(function(t,e){return To(t,T,o,o,o,e)});function pa(t,e){return t===e||t!=t&&e!=e}var ha=bo(Yr),va=bo(function(t,e){return t>=e}),ga=ii(function(){return arguments}())?ii:function(t){return Ea(t)&&ce.call(t,"callee")&&!Ie.call(t,"callee")},ma=r.isArray,ya=Me?mn(Me):function(t){return Ea(t)&&Qr(t)==lt};function _a(t){return null!=t&&Aa(t.length)&&!$a(t)}function ba(t){return Ea(t)&&_a(t)}var wa=qn||zl,xa=Ue?mn(Ue):function(t){return Ea(t)&&Qr(t)==W};function Ca(t){if(!Ea(t))return!1;var e=Qr(t);return e==X||e==V||"string"==typeof t.message&&"string"==typeof t.name&&!Da(t)}function $a(t){if(!ka(t))return!1;var e=Qr(t);return e==G||e==K||e==z||e==tt}function Ta(t){return"number"==typeof t&&t==qa(t)}function Aa(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=I}function ka(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ea(t){return null!=t&&"object"==typeof t}var Sa=qe?mn(qe):function(t){return Ea(t)&&Ho(t)==Z};function Oa(t){return"number"==typeof t||Ea(t)&&Qr(t)==J}function Da(t){if(!Ea(t)||Qr(t)!=Y)return!1;var e=De(t);if(null===e)return!0;var n=ce.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ue.call(n)==he}var ja=He?mn(He):function(t){return Ea(t)&&Qr(t)==et};var Na=ze?mn(ze):function(t){return Ea(t)&&Ho(t)==nt};function Ia(t){return"string"==typeof t||!ma(t)&&Ea(t)&&Qr(t)==rt}function Ra(t){return"symbol"==typeof t||Ea(t)&&Qr(t)==it}var La=Be?mn(Be):function(t){return Ea(t)&&Aa(t.length)&&!!Ae[Qr(t)]};var Pa=bo(fi),Fa=bo(function(t,e){return t<=e});function Ma(t){if(!t)return[];if(_a(t))return Ia(t)?jn(t):no(t);if(Fe&&t[Fe])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Fe]());var e=Ho(t);return(e==Z?An:e==nt?Sn:pl)(t)}function Ua(t){return t?(t=za(t))===N||t===-N?(t<0?-1:1)*R:t==t?t:0:0===t?t:0}function qa(t){var e=Ua(t),n=e%1;return e==e?n?e-n:e:0}function Ha(t){return t?Ir(qa(t),0,P):0}function za(t){if("number"==typeof t)return t;if(Ra(t))return L;if(ka(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ka(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(It,"");var n=Wt.test(t);return n||Xt.test(t)?Oe(t.slice(2),n?2:8):Bt.test(t)?L:+t}function Ba(t){return ro(t,ol(t))}function Wa(t){return null==t?"":Li(t)}var Va=oo(function(t,e){if(Jo(e)||_a(e))ro(e,il(e),t);else for(var n in e)ce.call(e,n)&&Er(t,n,e[n])}),Xa=oo(function(t,e){ro(e,ol(e),t)}),Ga=oo(function(t,e,n,r){ro(e,ol(e),t,r)}),Ka=oo(function(t,e,n,r){ro(e,il(e),t,r)}),Za=Oo(Nr);var Ja=Ci(function(t,e){t=ee(t);var n=-1,r=e.length,i=r>2?e[2]:o;for(i&&Xo(e[0],e[1],i)&&(r=1);++n<r;)for(var s=e[n],a=ol(s),l=-1,u=a.length;++l<u;){var c=a[l],f=t[c];(f===o||pa(f,ae[c])&&!ce.call(t,c))&&(t[c]=s[c])}return t}),Qa=Ci(function(t){return t.push(o,ko),We(al,o,t)});function Ya(t,e,n){var r=null==t?o:Zr(t,e);return r===o?n:r}function tl(t,e){return null!=t&&zo(t,e,ei)}var el=vo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),t[e]=n},kl(Ol)),nl=vo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),ce.call(t,e)?t[e].push(n):t[e]=[n]},Lo),rl=Ci(ri);function il(t){return _a(t)?Cr(t):ui(t)}function ol(t){return _a(t)?Cr(t,!0):ci(t)}var sl=oo(function(t,e,n){vi(t,e,n)}),al=oo(function(t,e,n,r){vi(t,e,n,r)}),ll=Oo(function(t,e){var n={};if(null==t)return n;var r=!1;e=Ye(e,function(e){return e=Vi(e,t),r||(r=e.length>1),e}),ro(t,jo(t),n),r&&(n=Rr(n,d|p|h,Eo));for(var i=e.length;i--;)Fi(n,e[i]);return n});var ul=Oo(function(t,e){return null==t?{}:function(t,e){return yi(t,e,function(e,n){return tl(t,n)})}(t,e)});function cl(t,e){if(null==t)return{};var n=Ye(jo(t),function(t){return[t]});return e=Lo(e),yi(t,n,function(t,n){return e(t,n[0])})}var fl=$o(il),dl=$o(ol);function pl(t){return null==t?[]:yn(t,il(t))}var hl=uo(function(t,e,n){return e=e.toLowerCase(),t+(n?vl(e):e)});function vl(t){return Cl(Wa(t).toLowerCase())}function gl(t){return(t=Wa(t))&&t.replace(Kt,xn).replace(_e,"")}var ml=uo(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),yl=uo(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),_l=lo("toLowerCase");var bl=uo(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var wl=uo(function(t,e,n){return t+(n?" ":"")+Cl(e)});var xl=uo(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Cl=lo("toUpperCase");function $l(t,e,n){return t=Wa(t),(e=n?o:e)===o?function(t){return Ce.test(t)}(t)?function(t){return t.match(we)||[]}(t):function(t){return t.match(Ut)||[]}(t):t.match(e)||[]}var Tl=Ci(function(t,e){try{return We(t,o,e)}catch(t){return Ca(t)?t:new Qt(t)}}),Al=Oo(function(t,e){return Xe(e,function(e){e=cs(e),jr(t,e,na(t[e],t))}),t});function kl(t){return function(){return t}}var El=po(),Sl=po(!0);function Ol(t){return t}function Dl(t){return li("function"==typeof t?t:Rr(t,d))}var jl=Ci(function(t,e){return function(n){return ri(n,t,e)}}),Nl=Ci(function(t,e){return function(n){return ri(t,n,e)}});function Il(t,e,n){var r=il(e),i=Kr(e,r);null!=n||ka(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Kr(e,il(e)));var o=!(ka(n)&&"chain"in n&&!n.chain),s=$a(t);return Xe(i,function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=no(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,tn([this.value()],arguments))})}),t}function Rl(){}var Ll=mo(Ye),Pl=mo(Ke),Fl=mo(rn);function Ml(t){return Go(t)?dn(cs(t)):function(t){return function(e){return Zr(e,t)}}(t)}var Ul=_o(),ql=_o(!0);function Hl(){return[]}function zl(){return!1}var Bl=go(function(t,e){return t+e},0),Wl=xo("ceil"),Vl=go(function(t,e){return t/e},1),Xl=xo("floor");var Gl,Kl=go(function(t,e){return t*e},1),Zl=xo("round"),Jl=go(function(t,e){return t-e},0);return pr.after=function(t,e){if("function"!=typeof e)throw new ie(l);return t=qa(t),function(){if(--t<1)return e.apply(this,arguments)}},pr.ary=ta,pr.assign=Va,pr.assignIn=Xa,pr.assignInWith=Ga,pr.assignWith=Ka,pr.at=Za,pr.before=ea,pr.bind=na,pr.bindAll=Al,pr.bindKey=ra,pr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ma(t)?t:[t]},pr.chain=Ms,pr.chunk=function(t,e,n){e=(n?Xo(t,e,n):e===o)?1:Wn(qa(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var s=0,a=0,l=r(Fn(i/e));s<i;)l[a++]=Oi(t,s,s+=e);return l},pr.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},pr.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return tn(ma(n)?no(n):[n],Br(e,1))},pr.cond=function(t){var e=null==t?0:t.length,n=Lo();return t=e?Ye(t,function(t){if("function"!=typeof t[1])throw new ie(l);return[n(t[0]),t[1]]}):[],Ci(function(n){for(var r=-1;++r<e;){var i=t[r];if(We(i[0],this,n))return We(i[1],this,n)}})},pr.conforms=function(t){return function(t){var e=il(t);return function(n){return Lr(n,t,e)}}(Rr(t,d))},pr.constant=kl,pr.countBy=Hs,pr.create=function(t,e){var n=hr(t);return null==e?n:Dr(n,e)},pr.curry=function t(e,n,r){var i=To(e,b,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},pr.curryRight=function t(e,n,r){var i=To(e,w,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},pr.debounce=ia,pr.defaults=Ja,pr.defaultsDeep=Qa,pr.defer=oa,pr.delay=sa,pr.difference=ps,pr.differenceBy=hs,pr.differenceWith=vs,pr.drop=function(t,e,n){var r=null==t?0:t.length;return r?Oi(t,(e=n||e===o?1:qa(e))<0?0:e,r):[]},pr.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?Oi(t,0,(e=r-(e=n||e===o?1:qa(e)))<0?0:e):[]},pr.dropRightWhile=function(t,e){return t&&t.length?Ui(t,Lo(e,3),!0,!0):[]},pr.dropWhile=function(t,e){return t&&t.length?Ui(t,Lo(e,3),!0):[]},pr.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&Xo(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=qa(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:qa(r))<0&&(r+=i),r=n>r?0:Ha(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},pr.filter=function(t,e){return(ma(t)?Ze:zr)(t,Lo(e,3))},pr.flatMap=function(t,e){return Br(Zs(t,e),1)},pr.flatMapDeep=function(t,e){return Br(Zs(t,e),N)},pr.flatMapDepth=function(t,e,n){return n=n===o?1:qa(n),Br(Zs(t,e),n)},pr.flatten=ys,pr.flattenDeep=function(t){return null!=t&&t.length?Br(t,N):[]},pr.flattenDepth=function(t,e){return null!=t&&t.length?Br(t,e=e===o?1:qa(e)):[]},pr.flip=function(t){return To(t,A)},pr.flow=El,pr.flowRight=Sl,pr.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},pr.functions=function(t){return null==t?[]:Kr(t,il(t))},pr.functionsIn=function(t){return null==t?[]:Kr(t,ol(t))},pr.groupBy=Xs,pr.initial=function(t){return null!=t&&t.length?Oi(t,0,-1):[]},pr.intersection=bs,pr.intersectionBy=ws,pr.intersectionWith=xs,pr.invert=el,pr.invertBy=nl,pr.invokeMap=Gs,pr.iteratee=Dl,pr.keyBy=Ks,pr.keys=il,pr.keysIn=ol,pr.map=Zs,pr.mapKeys=function(t,e){var n={};return e=Lo(e,3),Xr(t,function(t,r,i){jr(n,e(t,r,i),t)}),n},pr.mapValues=function(t,e){var n={};return e=Lo(e,3),Xr(t,function(t,r,i){jr(n,r,e(t,r,i))}),n},pr.matches=function(t){return pi(Rr(t,d))},pr.matchesProperty=function(t,e){return hi(t,Rr(e,d))},pr.memoize=aa,pr.merge=sl,pr.mergeWith=al,pr.method=jl,pr.methodOf=Nl,pr.mixin=Il,pr.negate=la,pr.nthArg=function(t){return t=qa(t),Ci(function(e){return gi(e,t)})},pr.omit=ll,pr.omitBy=function(t,e){return cl(t,la(Lo(e)))},pr.once=function(t){return ea(2,t)},pr.orderBy=function(t,e,n,r){return null==t?[]:(ma(e)||(e=null==e?[]:[e]),ma(n=r?o:n)||(n=null==n?[]:[n]),mi(t,e,n))},pr.over=Ll,pr.overArgs=ua,pr.overEvery=Pl,pr.overSome=Fl,pr.partial=ca,pr.partialRight=fa,pr.partition=Js,pr.pick=ul,pr.pickBy=cl,pr.property=Ml,pr.propertyOf=function(t){return function(e){return null==t?o:Zr(t,e)}},pr.pull=$s,pr.pullAll=Ts,pr.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?_i(t,e,Lo(n,2)):t},pr.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?_i(t,e,o,n):t},pr.pullAt=As,pr.range=Ul,pr.rangeRight=ql,pr.rearg=da,pr.reject=function(t,e){return(ma(t)?Ze:zr)(t,la(Lo(e,3)))},pr.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=Lo(e,3);++r<o;){var s=t[r];e(s,r,t)&&(n.push(s),i.push(r))}return bi(t,i),n},pr.rest=function(t,e){if("function"!=typeof t)throw new ie(l);return Ci(t,e=e===o?e:qa(e))},pr.reverse=ks,pr.sampleSize=function(t,e,n){return e=(n?Xo(t,e,n):e===o)?1:qa(e),(ma(t)?Tr:Ti)(t,e)},pr.set=function(t,e,n){return null==t?t:Ai(t,e,n)},pr.setWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Ai(t,e,n,r)},pr.shuffle=function(t){return(ma(t)?Ar:Si)(t)},pr.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Xo(t,e,n)?(e=0,n=r):(e=null==e?0:qa(e),n=n===o?r:qa(n)),Oi(t,e,n)):[]},pr.sortBy=Qs,pr.sortedUniq=function(t){return t&&t.length?Ii(t):[]},pr.sortedUniqBy=function(t,e){return t&&t.length?Ii(t,Lo(e,2)):[]},pr.split=function(t,e,n){return n&&"number"!=typeof n&&Xo(t,e,n)&&(e=n=o),(n=n===o?P:n>>>0)?(t=Wa(t))&&("string"==typeof e||null!=e&&!ja(e))&&!(e=Li(e))&&Tn(t)?Gi(jn(t),0,n):t.split(e,n):[]},pr.spread=function(t,e){if("function"!=typeof t)throw new ie(l);return e=null==e?0:Wn(qa(e),0),Ci(function(n){var r=n[e],i=Gi(n,0,e);return r&&tn(i,r),We(t,this,i)})},pr.tail=function(t){var e=null==t?0:t.length;return e?Oi(t,1,e):[]},pr.take=function(t,e,n){return t&&t.length?Oi(t,0,(e=n||e===o?1:qa(e))<0?0:e):[]},pr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Oi(t,(e=r-(e=n||e===o?1:qa(e)))<0?0:e,r):[]},pr.takeRightWhile=function(t,e){return t&&t.length?Ui(t,Lo(e,3),!1,!0):[]},pr.takeWhile=function(t,e){return t&&t.length?Ui(t,Lo(e,3)):[]},pr.tap=function(t,e){return e(t),t},pr.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new ie(l);return ka(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ia(t,e,{leading:r,maxWait:e,trailing:i})},pr.thru=Us,pr.toArray=Ma,pr.toPairs=fl,pr.toPairsIn=dl,pr.toPath=function(t){return ma(t)?Ye(t,cs):Ra(t)?[t]:no(us(Wa(t)))},pr.toPlainObject=Ba,pr.transform=function(t,e,n){var r=ma(t),i=r||wa(t)||La(t);if(e=Lo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:ka(t)&&$a(o)?hr(De(t)):{}}return(i?Xe:Xr)(t,function(t,r,i){return e(n,t,r,i)}),n},pr.unary=function(t){return ta(t,1)},pr.union=Es,pr.unionBy=Ss,pr.unionWith=Os,pr.uniq=function(t){return t&&t.length?Pi(t):[]},pr.uniqBy=function(t,e){return t&&t.length?Pi(t,Lo(e,2)):[]},pr.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?Pi(t,o,e):[]},pr.unset=function(t,e){return null==t||Fi(t,e)},pr.unzip=Ds,pr.unzipWith=js,pr.update=function(t,e,n){return null==t?t:Mi(t,e,Wi(n))},pr.updateWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Mi(t,e,Wi(n),r)},pr.values=pl,pr.valuesIn=function(t){return null==t?[]:yn(t,ol(t))},pr.without=Ns,pr.words=$l,pr.wrap=function(t,e){return ca(Wi(e),t)},pr.xor=Is,pr.xorBy=Rs,pr.xorWith=Ls,pr.zip=Ps,pr.zipObject=function(t,e){return zi(t||[],e||[],Er)},pr.zipObjectDeep=function(t,e){return zi(t||[],e||[],Ai)},pr.zipWith=Fs,pr.entries=fl,pr.entriesIn=dl,pr.extend=Xa,pr.extendWith=Ga,Il(pr,pr),pr.add=Bl,pr.attempt=Tl,pr.camelCase=hl,pr.capitalize=vl,pr.ceil=Wl,pr.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=za(n))==n?n:0),e!==o&&(e=(e=za(e))==e?e:0),Ir(za(t),e,n)},pr.clone=function(t){return Rr(t,h)},pr.cloneDeep=function(t){return Rr(t,d|h)},pr.cloneDeepWith=function(t,e){return Rr(t,d|h,e="function"==typeof e?e:o)},pr.cloneWith=function(t,e){return Rr(t,h,e="function"==typeof e?e:o)},pr.conformsTo=function(t,e){return null==e||Lr(t,e,il(e))},pr.deburr=gl,pr.defaultTo=function(t,e){return null==t||t!=t?e:t},pr.divide=Vl,pr.endsWith=function(t,e,n){t=Wa(t),e=Li(e);var r=t.length,i=n=n===o?r:Ir(qa(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},pr.eq=pa,pr.escape=function(t){return(t=Wa(t))&&Tt.test(t)?t.replace(Ct,Cn):t},pr.escapeRegExp=function(t){return(t=Wa(t))&&Nt.test(t)?t.replace(jt,"\\$&"):t},pr.every=function(t,e,n){var r=ma(t)?Ke:qr;return n&&Xo(t,e,n)&&(e=o),r(t,Lo(e,3))},pr.find=zs,pr.findIndex=gs,pr.findKey=function(t,e){return sn(t,Lo(e,3),Xr)},pr.findLast=Bs,pr.findLastIndex=ms,pr.findLastKey=function(t,e){return sn(t,Lo(e,3),Gr)},pr.floor=Xl,pr.forEach=Ws,pr.forEachRight=Vs,pr.forIn=function(t,e){return null==t?t:Wr(t,Lo(e,3),ol)},pr.forInRight=function(t,e){return null==t?t:Vr(t,Lo(e,3),ol)},pr.forOwn=function(t,e){return t&&Xr(t,Lo(e,3))},pr.forOwnRight=function(t,e){return t&&Gr(t,Lo(e,3))},pr.get=Ya,pr.gt=ha,pr.gte=va,pr.has=function(t,e){return null!=t&&zo(t,e,ti)},pr.hasIn=tl,pr.head=_s,pr.identity=Ol,pr.includes=function(t,e,n,r){t=_a(t)?t:pl(t),n=n&&!r?qa(n):0;var i=t.length;return n<0&&(n=Wn(i+n,0)),Ia(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&ln(t,e,n)>-1},pr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:qa(n);return i<0&&(i=Wn(r+i,0)),ln(t,e,i)},pr.inRange=function(t,e,n){return e=Ua(e),n===o?(n=e,e=0):n=Ua(n),function(t,e,n){return t>=Vn(e,n)&&t<Wn(e,n)}(t=za(t),e,n)},pr.invoke=rl,pr.isArguments=ga,pr.isArray=ma,pr.isArrayBuffer=ya,pr.isArrayLike=_a,pr.isArrayLikeObject=ba,pr.isBoolean=function(t){return!0===t||!1===t||Ea(t)&&Qr(t)==B},pr.isBuffer=wa,pr.isDate=xa,pr.isElement=function(t){return Ea(t)&&1===t.nodeType&&!Da(t)},pr.isEmpty=function(t){if(null==t)return!0;if(_a(t)&&(ma(t)||"string"==typeof t||"function"==typeof t.splice||wa(t)||La(t)||ga(t)))return!t.length;var e=Ho(t);if(e==Z||e==nt)return!t.size;if(Jo(t))return!ui(t).length;for(var n in t)if(ce.call(t,n))return!1;return!0},pr.isEqual=function(t,e){return oi(t,e)},pr.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:o)?n(t,e):o;return r===o?oi(t,e,o,n):!!r},pr.isError=Ca,pr.isFinite=function(t){return"number"==typeof t&&Hn(t)},pr.isFunction=$a,pr.isInteger=Ta,pr.isLength=Aa,pr.isMap=Sa,pr.isMatch=function(t,e){return t===e||si(t,e,Fo(e))},pr.isMatchWith=function(t,e,n){return n="function"==typeof n?n:o,si(t,e,Fo(e),n)},pr.isNaN=function(t){return Oa(t)&&t!=+t},pr.isNative=function(t){if(Zo(t))throw new Qt(a);return ai(t)},pr.isNil=function(t){return null==t},pr.isNull=function(t){return null===t},pr.isNumber=Oa,pr.isObject=ka,pr.isObjectLike=Ea,pr.isPlainObject=Da,pr.isRegExp=ja,pr.isSafeInteger=function(t){return Ta(t)&&t>=-I&&t<=I},pr.isSet=Na,pr.isString=Ia,pr.isSymbol=Ra,pr.isTypedArray=La,pr.isUndefined=function(t){return t===o},pr.isWeakMap=function(t){return Ea(t)&&Ho(t)==st},pr.isWeakSet=function(t){return Ea(t)&&Qr(t)==at},pr.join=function(t,e){return null==t?"":zn.call(t,e)},pr.kebabCase=ml,pr.last=Cs,pr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=qa(n))<0?Wn(r+i,0):Vn(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):an(t,cn,i,!0)},pr.lowerCase=yl,pr.lowerFirst=_l,pr.lt=Pa,pr.lte=Fa,pr.max=function(t){return t&&t.length?Hr(t,Ol,Yr):o},pr.maxBy=function(t,e){return t&&t.length?Hr(t,Lo(e,2),Yr):o},pr.mean=function(t){return fn(t,Ol)},pr.meanBy=function(t,e){return fn(t,Lo(e,2))},pr.min=function(t){return t&&t.length?Hr(t,Ol,fi):o},pr.minBy=function(t,e){return t&&t.length?Hr(t,Lo(e,2),fi):o},pr.stubArray=Hl,pr.stubFalse=zl,pr.stubObject=function(){return{}},pr.stubString=function(){return""},pr.stubTrue=function(){return!0},pr.multiply=Kl,pr.nth=function(t,e){return t&&t.length?gi(t,qa(e)):o},pr.noConflict=function(){return Ne._===this&&(Ne._=ve),this},pr.noop=Rl,pr.now=Ys,pr.pad=function(t,e,n){t=Wa(t);var r=(e=qa(e))?Dn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return yo(Mn(i),n)+t+yo(Fn(i),n)},pr.padEnd=function(t,e,n){t=Wa(t);var r=(e=qa(e))?Dn(t):0;return e&&r<e?t+yo(e-r,n):t},pr.padStart=function(t,e,n){t=Wa(t);var r=(e=qa(e))?Dn(t):0;return e&&r<e?yo(e-r,n)+t:t},pr.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Gn(Wa(t).replace(Rt,""),e||0)},pr.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Xo(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Ua(t),e===o?(e=t,t=0):e=Ua(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Kn();return Vn(t+i*(e-t+Se("1e-"+((i+"").length-1))),e)}return wi(t,e)},pr.reduce=function(t,e,n){var r=ma(t)?en:hn,i=arguments.length<3;return r(t,Lo(e,4),n,i,Mr)},pr.reduceRight=function(t,e,n){var r=ma(t)?nn:hn,i=arguments.length<3;return r(t,Lo(e,4),n,i,Ur)},pr.repeat=function(t,e,n){return e=(n?Xo(t,e,n):e===o)?1:qa(e),xi(Wa(t),e)},pr.replace=function(){var t=arguments,e=Wa(t[0]);return t.length<3?e:e.replace(t[1],t[2])},pr.result=function(t,e,n){var r=-1,i=(e=Vi(e,t)).length;for(i||(i=1,t=o);++r<i;){var s=null==t?o:t[cs(e[r])];s===o&&(r=i,s=n),t=$a(s)?s.call(t):s}return t},pr.round=Zl,pr.runInContext=t,pr.sample=function(t){return(ma(t)?$r:$i)(t)},pr.size=function(t){if(null==t)return 0;if(_a(t))return Ia(t)?Dn(t):t.length;var e=Ho(t);return e==Z||e==nt?t.size:ui(t).length},pr.snakeCase=bl,pr.some=function(t,e,n){var r=ma(t)?rn:Di;return n&&Xo(t,e,n)&&(e=o),r(t,Lo(e,3))},pr.sortedIndex=function(t,e){return ji(t,e)},pr.sortedIndexBy=function(t,e,n){return Ni(t,e,Lo(n,2))},pr.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=ji(t,e);if(r<n&&pa(t[r],e))return r}return-1},pr.sortedLastIndex=function(t,e){return ji(t,e,!0)},pr.sortedLastIndexBy=function(t,e,n){return Ni(t,e,Lo(n,2),!0)},pr.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ji(t,e,!0)-1;if(pa(t[n],e))return n}return-1},pr.startCase=wl,pr.startsWith=function(t,e,n){return t=Wa(t),n=null==n?0:Ir(qa(n),0,t.length),e=Li(e),t.slice(n,n+e.length)==e},pr.subtract=Jl,pr.sum=function(t){return t&&t.length?vn(t,Ol):0},pr.sumBy=function(t,e){return t&&t.length?vn(t,Lo(e,2)):0},pr.template=function(t,e,n){var r=pr.templateSettings;n&&Xo(t,e,n)&&(e=o),t=Wa(t),e=Ga({},e,r,Ao);var i,s,a=Ga({},e.imports,r.imports,Ao),l=il(a),u=yn(a,l),c=0,f=e.interpolate||Zt,d="__p += '",p=ne((e.escape||Zt).source+"|"+f.source+"|"+(f===Et?Ht:Zt).source+"|"+(e.evaluate||Zt).source+"|$","g"),h="//# sourceURL="+(ce.call(e,"sourceURL")?(e.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++Te+"]")+"\n";t.replace(p,function(e,n,r,o,a,l){return r||(r=o),d+=t.slice(c,l).replace(Jt,$n),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+e.length,e}),d+="';\n";var v=ce.call(e,"variable")&&e.variable;v||(d="with (obj) {\n"+d+"\n}\n"),d=(s?d.replace(_t,""):d).replace(bt,"$1").replace(wt,"$1;"),d="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Tl(function(){return Yt(l,h+"return "+d).apply(o,u)});if(g.source=d,Ca(g))throw g;return g},pr.times=function(t,e){if((t=qa(t))<1||t>I)return[];var n=P,r=Vn(t,P);e=Lo(e),t-=P;for(var i=gn(r,e);++n<t;)e(n);return i},pr.toFinite=Ua,pr.toInteger=qa,pr.toLength=Ha,pr.toLower=function(t){return Wa(t).toLowerCase()},pr.toNumber=za,pr.toSafeInteger=function(t){return t?Ir(qa(t),-I,I):0===t?t:0},pr.toString=Wa,pr.toUpper=function(t){return Wa(t).toUpperCase()},pr.trim=function(t,e,n){if((t=Wa(t))&&(n||e===o))return t.replace(It,"");if(!t||!(e=Li(e)))return t;var r=jn(t),i=jn(e);return Gi(r,bn(r,i),wn(r,i)+1).join("")},pr.trimEnd=function(t,e,n){if((t=Wa(t))&&(n||e===o))return t.replace(Lt,"");if(!t||!(e=Li(e)))return t;var r=jn(t);return Gi(r,0,wn(r,jn(e))+1).join("")},pr.trimStart=function(t,e,n){if((t=Wa(t))&&(n||e===o))return t.replace(Rt,"");if(!t||!(e=Li(e)))return t;var r=jn(t);return Gi(r,bn(r,jn(e))).join("")},pr.truncate=function(t,e){var n=k,r=E;if(ka(e)){var i="separator"in e?e.separator:i;n="length"in e?qa(e.length):n,r="omission"in e?Li(e.omission):r}var s=(t=Wa(t)).length;if(Tn(t)){var a=jn(t);s=a.length}if(n>=s)return t;var l=n-Dn(r);if(l<1)return r;var u=a?Gi(a,0,l).join(""):t.slice(0,l);if(i===o)return u+r;if(a&&(l+=u.length-l),ja(i)){if(t.slice(l).search(i)){var c,f=u;for(i.global||(i=ne(i.source,Wa(zt.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;u=u.slice(0,d===o?l:d)}}else if(t.indexOf(Li(i),l)!=l){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r},pr.unescape=function(t){return(t=Wa(t))&&$t.test(t)?t.replace(xt,Nn):t},pr.uniqueId=function(t){var e=++fe;return Wa(t)+e},pr.upperCase=xl,pr.upperFirst=Cl,pr.each=Ws,pr.eachRight=Vs,pr.first=_s,Il(pr,(Gl={},Xr(pr,function(t,e){ce.call(pr.prototype,e)||(Gl[e]=t)}),Gl),{chain:!1}),pr.VERSION="4.17.15",Xe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){pr[t].placeholder=pr}),Xe(["drop","take"],function(t,e){mr.prototype[t]=function(n){n=n===o?1:Wn(qa(n),0);var r=this.__filtered__&&!e?new mr(this):this.clone();return r.__filtered__?r.__takeCount__=Vn(n,r.__takeCount__):r.__views__.push({size:Vn(n,P),type:t+(r.__dir__<0?"Right":"")}),r},mr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Xe(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==D||3==n;mr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Lo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Xe(["head","last"],function(t,e){var n="take"+(e?"Right":"");mr.prototype[t]=function(){return this[n](1).value()[0]}}),Xe(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");mr.prototype[t]=function(){return this.__filtered__?new mr(this):this[n](1)}}),mr.prototype.compact=function(){return this.filter(Ol)},mr.prototype.find=function(t){return this.filter(t).head()},mr.prototype.findLast=function(t){return this.reverse().find(t)},mr.prototype.invokeMap=Ci(function(t,e){return"function"==typeof t?new mr(this):this.map(function(n){return ri(n,t,e)})}),mr.prototype.reject=function(t){return this.filter(la(Lo(t)))},mr.prototype.slice=function(t,e){t=qa(t);var n=this;return n.__filtered__&&(t>0||e<0)?new mr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=qa(e))<0?n.dropRight(-e):n.take(e-t)),n)},mr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},mr.prototype.toArray=function(){return this.take(P)},Xr(mr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=pr[r?"take"+("last"==e?"Right":""):e],s=r||/^find/.test(e);i&&(pr.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,l=e instanceof mr,u=a[0],c=l||ma(e),f=function(t){var e=i.apply(pr,tn([t],a));return r&&d?e[0]:e};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,p=!!this.__actions__.length,h=s&&!d,v=l&&!p;if(!s&&c){e=v?e:new mr(this);var g=t.apply(e,a);return g.__actions__.push({func:Us,args:[f],thisArg:o}),new gr(g,d)}return h&&v?t.apply(this,a):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})}),Xe(["pop","push","shift","sort","splice","unshift"],function(t){var e=oe[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);pr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(ma(i)?i:[],t)}return this[n](function(n){return e.apply(ma(n)?n:[],t)})}}),Xr(mr.prototype,function(t,e){var n=pr[e];if(n){var r=n.name+"";ce.call(ir,r)||(ir[r]=[]),ir[r].push({name:e,func:n})}}),ir[ho(o,y).name]=[{name:"wrapper",func:o}],mr.prototype.clone=function(){var t=new mr(this.__wrapped__);return t.__actions__=no(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=no(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=no(this.__views__),t},mr.prototype.reverse=function(){if(this.__filtered__){var t=new mr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},mr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=ma(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=Vn(e,t+s);break;case"takeRight":t=Wn(t,e-s)}}return{start:t,end:e}}(0,i,this.__views__),s=o.start,a=o.end,l=a-s,u=r?a:s-1,c=this.__iteratees__,f=c.length,d=0,p=Vn(l,this.__takeCount__);if(!n||!r&&i==l&&p==l)return qi(t,this.__actions__);var h=[];t:for(;l--&&d<p;){for(var v=-1,g=t[u+=e];++v<f;){var m=c[v],y=m.iteratee,_=m.type,b=y(g);if(_==j)g=b;else if(!b){if(_==D)continue t;break t}}h[d++]=g}return h},pr.prototype.at=qs,pr.prototype.chain=function(){return Ms(this)},pr.prototype.commit=function(){return new gr(this.value(),this.__chain__)},pr.prototype.next=function(){this.__values__===o&&(this.__values__=Ma(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},pr.prototype.plant=function(t){for(var e,n=this;n instanceof vr;){var r=ds(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},pr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof mr){var e=t;return this.__actions__.length&&(e=new mr(this)),(e=e.reverse()).__actions__.push({func:Us,args:[ks],thisArg:o}),new gr(e,this.__chain__)}return this.thru(ks)},pr.prototype.toJSON=pr.prototype.valueOf=pr.prototype.value=function(){return qi(this.__wrapped__,this.__actions__)},pr.prototype.first=pr.prototype.head,Fe&&(pr.prototype[Fe]=function(){return this}),pr}();Ne._=In,(i=function(){return In}.call(e,n,e,r))===o||(r.exports=i)}).call(this)}).call(e,n("DuR2"),n("3IRH")(t))},NYlw:function(t,e,n){var r=n("VU/8")(n("5F58"),null,!1,null,null,null);t.exports=r.exports},P4DF:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"",""])},Pq8s:function(t,e){},TNGo:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("hv7s"),e.default={props:["options","value"],mounted:function(){var t=this;$(this.$el).select2({data:this.options}).on("change",function(){t.$emit("input",this.value)}).val(this.value).trigger("change")},watch:{value:function(t){$(this.$el).val(t)},options:function(t){var e=this;$(this.$el).select2("destroy").empty().select2({data:t}).on("change",function(){e.$emit("input",this.value)}).val(this.value).trigger("change")},destroyed:function(){$(this.$el).off().select2("destroy")}}}},UZ9c:function(t,e,n){var r,i,o,s;s=function(t){return t.ui=t.ui||{},t.ui.version="1.12.1"},i=[n("7t+N")],void 0===(o="function"==typeof(r=s)?r.apply(e,i):r)||(t.exports=o)},"VU/8":function(t,e){t.exports=function(t,e,n,r,i,o){var s,a=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(s=t,a=t.default);var u,c="function"==typeof a?a.options:a;if(e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId=i),o?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=u):r&&(u=r),u){var f=c.functional,d=f?c.render:c.beforeCreate;f?(c._injectStyles=u,c.render=function(t,e){return u.call(e),d(t,e)}):c.beforeCreate=d?[].concat(d,u):[u]}return{esModule:s,exports:a,options:c}}},WM06:function(t,e){},WRGp:function(t,e,n){window._=n("M4fF"),window.$=window.jQuery=n("7t+N"),n("z1kw"),jQuery.fn.uitooltip=jQuery.fn.tooltip,n("hSCs"),window.Vue=n("I3G/"),window.eventHub=new Vue,n("8+8L"),Vue.http.interceptors.push(function(t,e){t.headers.set("X-CSRF-TOKEN",Laravel.csrfToken),e()})},XDdR:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-7193ece9]{cursor:pointer}.m-b-none[data-v-7193ece9]{margin-bottom:0}",""])},YDmc:function(t,e,n){var r=n("VU/8")(n("TNGo"),n("0DKT"),!1,function(t){n("rqPf")},"data-v-09a38dce",null);t.exports=r.exports},Z4O5:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"tr{padding-left:30px}",""])},a5IG:function(t,e){},aKHO:function(t,e){function n(t){if(t.loading)return'<i class="fa fa-spinner fa-spin" aria-hidden="true"></i> Loading...';var e="<div class='clearfix'>";return e+="<div class='pull-left' style='padding-right: 10px;'>",t.image?e+="<div style='width: 30px;'><img src='"+t.image+"' alt='"+t.tex+"' style='max-height: 20px; max-width: 30px;'></div>":e+="<div style='height: 20px; width: 30px;'></div>",e+="</div><div>"+t.text+"</div>",e+="</div>"}function r(t){return t.text.replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}$(function(){var t,e;0==$("#createModal").length&&$("body").append('<div class="modal fade" id="createModal"></div>\x3c!-- /.modal --\x3e'),$("#createModal").on("show.bs.modal",function(i){var o=$(i.relatedTarget);o.data("dependency"),t=o.data("select"),e=o.data("refresh"),$("#createModal").load(o.attr("href"),function(){$("#createModal").find("select.select2").select2(),$(".js-data-ajax").each(function(t,e){var i=$(e),o=i.data("endpoint");i.data("select");i.select2({ajax:{url:Ziggy.baseUrl+"api/v1/"+o+"/selectlist",dataType:"json",delay:250,headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:function(t){var e={search:t.term,page:t.page||1,assetStatusType:i.data("asset-status-type")};return e},processResults:function(t,e){return e.page=e.page||1,{results:t.items,pagination:{more:"true"}}},cache:!0},escapeMarkup:function(t){return t},templateResult:n,templateSelection:r})})})}),$("#createModal").on("click","#modal-save",function(){$.ajax({type:"POST",url:$(".modal-body form").attr("action"),headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:$(".modal-body form").serialize(),success:function(n){if("error"==n.status){var r="";for(var i in n.messages)r+="<li>Problem(s) with field <i><strong>"+i+"</strong></i>: "+n.messages[i];return $("#modal_error_msg").html(r).show(),!1}var o=n.payload.id,s=n.payload.name||n.payload.first_name+" "+n.payload.last_name;if(!o||!s)return console.error("Could not find resulting name or ID from modal-create. Name: "+s+", id: "+o),!1;$("#createModal").modal("hide"),$("#createModal").html("");var a=$("#"+e);a.length>0&&a.bootstrapTable("refresh");var l=document.getElementById(t);if(!l)return!1;l.options[l.length]=new Option(s,o),l.selectedIndex=l.length-1,$(l).trigger("change"),window.fetchCustomFields&&fetchCustomFields()},error:function(t){msg=t.responseJSON.messages||t.responseJSON.error,$("#modal_error_msg").html("Server Error: "+msg).show()}})})})},b7rt:function(t,e,n){var r=n("VU/8")(n("JHru"),n("bkb8"),!1,function(t){n("ct/M")},"data-v-473a48c2",null);t.exports=r.exports},"bU+R":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.processDetail,expression:"processDetail"}]},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-2"}),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"padding-top":"30px",margin:"0 auto"}},[n("div",{staticClass:"dynamic-form-row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("select2",{attrs:{options:t.options.importTypes,required:""},model:{value:t.options.importType,callback:function(e){t.options.importType=e},expression:"options.importType"}},[n("option",{attrs:{disabled:"",value:"0"}})])],1)]),t._v(" "),n("div",{staticClass:"dynamic-form-row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("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 n=t.options.update,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.options.update=n.concat([null])):o>-1&&(t.options.update=n.slice(0,o).concat(n.slice(o+1)))}else t.options.update=i}}})])]),t._v(" "),n("div",{staticClass:"dynamic-form-row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("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 n=t.options.send_welcome,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.options.send_welcome=n.concat([null])):o>-1&&(t.options.send_welcome=n.slice(0,o).concat(n.slice(o+1)))}else t.options.send_welcome=i}}})])]),t._v(" "),n("div",{staticClass:"dynamic-form-row"},[t._m(3),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.options.run_backup,expression:"options.run_backup"}],staticClass:"minimal",attrs:{type:"checkbox",name:"run-backup"},domProps:{checked:Array.isArray(t.options.run_backup)?t._i(t.options.run_backup,null)>-1:t.options.run_backup},on:{__c:function(e){var n=t.options.run_backup,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.options.run_backup=n.concat([null])):o>-1&&(t.options.run_backup=n.slice(0,o).concat(n.slice(o+1)))}else t.options.run_backup=i}}})])]),t._v(" "),t.statusText?n("div",{staticClass:"alert col-md-8 col-md-offset-2",class:t.alertClass,staticStyle:{"text-align":"left"}},[t._v("\n "+t._s(this.statusText)+"\n ")]):t._e()]),t._v(" "),t._m(4),t._v(" "),t._l(t.file.header_row,function(e,r){return[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-2"}),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"col-md-4 text-right"},[n("label",{staticClass:"control-label",attrs:{for:e}},[t._v(t._s(e))])]),t._v(" "),n("div",{staticClass:"col-md-4 form-group"},[n("div",{attrs:{required:""}},[n("select2",{attrs:{options:t.columns},model:{value:t.columnMappings[e],callback:function(n){t.$set(t.columnMappings,e,n)},expression:"columnMappings[header]"}},[n("option",{attrs:{value:"0"}},[t._v("Do Not Import")])])],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("p",{staticClass:"form-control-static"},[t._v(t._s(t.activeFile.first_row[r]))])])])])]}),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6 col-md-offset-2 text-right",staticStyle:{"padding-top":"20px"}},[n("button",{staticClass:"btn btn-sm btn-default",attrs:{type:"button"},on:{click:function(e){t.processDetail=!1}}},[t._v("Cancel")]),t._v(" "),n("button",{staticClass:"btn btn-sm btn-primary",attrs:{type:"submit"},on:{click:t.postSave}},[t._v("Import")]),t._v(" "),n("br"),n("br")])]),t._v(" "),n("div",{staticClass:"row"},[t.statusText?n("div",{staticClass:"alert col-md-8 col-md-offset-2",class:t.alertClass,staticStyle:{"padding-top":"20px"}},[t._v("\n "+t._s(this.statusText)+"\n ")]):t._e()])],2)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"import-type"}},[this._v("Import Type:")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"import-update"}},[this._v("Update Existing Values?")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"send-welcome"}},[this._v("Send Welcome Email for new Users?")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"run-backup"}},[this._v("Backup before importing?")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-2"}),this._v(" "),e("div",{staticClass:"col-md-8",staticStyle:{"padding-top":"30px"}},[e("div",{staticClass:"col-md-4 text-right"},[e("h4",[this._v("Header Field")])]),this._v(" "),e("div",{staticClass:"col-md-4"},[e("h4",[this._v("Import Field")])]),this._v(" "),e("div",{staticClass:"col-md-4"},[e("h4",[this._v("Sample Value")])])])])}]}},bkb8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"col-md-12",class:t.alertType},[n("div",{staticClass:"alert",class:t.alertClassName},[n("button",{staticClass:"close",attrs:{type:"button"},on:{click:t.hideEvent}},[t._v("×")]),t._v(" "),n("i",{directives:[{name:"show",rawName:"v-show",value:"success"==t.alertType,expression:"alertType == 'success'"}],staticClass:"fa fa-check faa-pulse animated",attrs:{"aria-hidden":"true"}}),t._v(" "),n("strong",[t._v(t._s(t.title)+" ")]),t._v(" "),t._t("default")],2)])},staticRenderFns:[]}},"ct/M":function(t,e,n){var r=n("P4DF");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("77b67673",r,!0,{})},eOaq:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["fieldsetId","modelId","previousInput"],data:function(){return{identifiers:{fieldset:null,model:null},elements:{fieldset:null,field:null},fields:null,show:!1,error:!1}},ready:function(){this.init()},mounted:function(){this.init()},methods:{init:function(){this.defaultValues=JSON.parse(this.previousInput),this.identifiers.fieldset=this.fieldsetId,this.identifiers.model=this.modelId,this.elements.fieldset=$(".js-fieldset-field"),this.elements.field=document.querySelector(".js-default-values-toggler"),this.elements.fieldset&&this.elements.field&&(this.addListeners(),this.getFields())},addListeners:function(){var t=this;this.elements.field.addEventListener("change",function(e){return t.updateShow()}),this.elements.fieldset.on("change",function(e){return t.updateFields()})},getFields:function(){var t=this;if(!this.identifiers.fieldset)return this.fields=[];this.$http.get(this.getUrl()).then(function(t){return t.json()}).then(function(e){return t.checkResponseForError(e)}).then(function(e){return t.fields=e.rows}).then(function(){return t.determineIfShouldShow()})},getValue:function(t){return t.default_value?t.default_value:null!=this.defaultValues?this.defaultValues[t.id.toString()]:""},getUrl:function(){return this.identifiers.model?route("api.fieldsets.fields-with-default-value",{fieldset:this.identifiers.fieldset,model:this.identifiers.model}):route("api.fieldsets.fields",{fieldset:this.identifiers.fieldset})},checkResponseForError:function(t){return this.error="error"==t.status,t},updateShow:function(){this.identifiers.fieldset&&this.elements.field&&(this.show=this.elements.field.checked)},determineIfShouldShow:function(){this.elements.field.checked=this.elements.field.checked||this.show||this.fields.reduce(function(t,e){return t||e.default_value},!1),this.updateShow()},updateFields:function(){this.identifiers.fieldset=!!this.elements.fieldset[0].value&&parseInt(this.elements.fieldset[0].value),this.getFields()}}}},f5J3:function(t,e){},g9VR:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"",""])},hLk5:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".select2-dropdown[data-v-09a38dce]{z-index:9999}",""])},hSCs:function(t,e){"format global";"deps jquery";"exports $";if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,r=this;t(this).one("bsTransitionEnd",function(){n=!0});return setTimeout(function(){n||t(r).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.3.4",n.TRANSITION_DURATION=150,n.prototype.close=function(e){var r=t(this),i=r.attr("data-target");i||(i=(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,""));var o=t(i);function s(){o.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),o.length||(o=r.closest(".alert")),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",s).emulateTransitionEnd(n.TRANSITION_DURATION):s())};var r=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var r=t(this),i=r.data("bs.alert");i||r.data("bs.alert",i=new n(this)),"string"==typeof e&&i[e].call(r)})},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),function(t){"use strict";var e=function(n,r){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,r),this.isLoading=!1};function n(n){return this.each(function(){var r=t(this),i=r.data("bs.button"),o="object"==typeof n&&n;i||r.data("bs.button",i=new e(this,o)),"toggle"==n?i.toggle():n&&i.setState(n)})}e.VERSION="3.3.4",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",o=r.data();e+="Text",null==o.resetText&&r.data("resetText",r[i]()),setTimeout(t.proxy(function(){r[i](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,r.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n))},this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};var r=t.fn.button;t.fn.button=n,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=r,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var r=t(e.target);r.hasClass("btn")||(r=r.closest(".btn")),n.call(r,"toggle"),e.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function n(n){return this.each(function(){var r=t(this),i=r.data("bs.carousel"),o=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n),s="string"==typeof n?n:o.slide;i||r.data("bs.carousel",i=new e(this,o)),"number"==typeof n?i.to(n):s?i[s]():o.interval&&i.pause().cycle()})}e.VERSION="3.3.4",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var r=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(r)},e.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(n,r){var i=this.$element.find(".item.active"),o=r||this.getItemForDirection(n,i),s=this.interval,a="next"==n?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var u=o[0],c=t.Event("slide.bs.carousel",{relatedTarget:u,direction:a});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var f=t(this.$indicators.children()[this.getItemIndex(o)]);f&&f.addClass("active")}var d=t.Event("slid.bs.carousel",{relatedTarget:u,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(n),o[0].offsetWidth,i.addClass(a),o.addClass(a),i.one("bsTransitionEnd",function(){o.removeClass([n,a].join(" ")).addClass("active"),i.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(d)},0)}).emulateTransitionEnd(e.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(d)),s&&this.cycle(),this}};var r=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=r,this};var i=function(e){var r,i=t(this),o=t(i.attr("data-target")||(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var s=t.extend({},o.data(),i.data()),a=i.attr("data-slide-to");a&&(s.interval=!1),n.call(o,s),a&&o.data("bs.carousel").to(a),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),function(t){"use strict";var e=function(n,r){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,r),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(e){var n,r=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(r)}function r(n){return this.each(function(){var r=t(this),i=r.data("bs.collapse"),o=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n);!i&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),i||r.data("bs.collapse",i=new e(this,o)),"string"==typeof n&&i[n]()})}e.VERSION="3.3.4",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(n=i.data("bs.collapse"))&&n.transitioning)){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){i&&i.length&&(r.call(i,"hide"),n||i.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[s](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var r=this.dimension();this.$element[r](this.$element[r]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return i.call(this);this.$element[r](0).one("bsTransitionEnd",t.proxy(i,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(e,r){var i=t(r);this.addAriaAndCollapsedClass(n(i),i)},this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=t.fn.collapse;t.fn.collapse=r,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var i=t(this);i.attr("data-target")||e.preventDefault();var o=n(i),s=o.data("bs.collapse")?"toggle":i.data();r.call(o,s)})}(jQuery),function(t){"use strict";var e=".dropdown-backdrop",n='[data-toggle="dropdown"]',r=function(e){t(e).on("click.bs.dropdown",this.toggle)};function i(r){r&&3===r.which||(t(e).remove(),t(n).each(function(){var e=t(this),n=o(e),i={relatedTarget:this};n.hasClass("open")&&(n.trigger(r=t.Event("hide.bs.dropdown",i)),r.isDefaultPrevented()||(e.attr("aria-expanded","false"),n.removeClass("open").trigger("hidden.bs.dropdown",i)))}))}function o(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&t(n);return r&&r.length?r:e.parent()}r.VERSION="3.3.4",r.prototype.toggle=function(e){var n=t(this);if(!n.is(".disabled, :disabled")){var r=o(n),s=r.hasClass("open");if(i(),!s){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",i);var a={relatedTarget:this};if(r.trigger(e=t.Event("show.bs.dropdown",a)),e.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger("shown.bs.dropdown",a)}return!1}},r.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var r=t(this);if(e.preventDefault(),e.stopPropagation(),!r.is(".disabled, :disabled")){var i=o(r),s=i.hasClass("open");if(!s&&27!=e.which||s&&27==e.which)return 27==e.which&&i.find(n).trigger("focus"),r.trigger("click");var a=" li:not(.disabled):visible a",l=i.find('[role="menu"]'+a+', [role="listbox"]'+a);if(l.length){var u=l.index(e.target);38==e.which&&u>0&&u--,40==e.which&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var s=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new r(this)),"string"==typeof e&&i[e].call(n)})},t.fn.dropdown.Constructor=r,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=s,this},t(document).on("click.bs.dropdown.data-api",i).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",n,r.prototype.toggle).on("keydown.bs.dropdown.data-api",n,r.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',r.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',r.prototype.keydown)}(jQuery),function(t){"use strict";var e=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function n(n,r){return this.each(function(){var i=t(this),o=i.data("bs.modal"),s=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);o||i.data("bs.modal",o=new e(this,s)),"string"==typeof n?o[n](r):s.show&&o.show(r)})}e.VERSION="3.3.4",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(n){var r=this,i=t.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var i=t.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),i&&r.$element[0].offsetWidth,r.$element.addClass("in").attr("aria-hidden",!1),r.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:n});i?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(e.TRANSITION_DURATION):r.$element.trigger("focus").trigger(o)}))},e.prototype.hide=function(n){n&&n.preventDefault(),n=t.Event("hide.bs.modal"),this.$element.trigger(n),this.isShown&&!n.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(n){var r=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&i;if(this.$backdrop=t('<div class="modal-backdrop '+i+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!n)return;o?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):n()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){r.removeBackdrop(),n&&n()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):s()}else n&&n()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},e.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var r=t.fn.modal;t.fn.modal=n,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=r,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var r=t(this),i=r.attr("href"),o=t(r.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),s=o.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(i)&&i},o.data(),r.data());r.is("a")&&e.preventDefault(),o.one("show.bs.modal",function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})}),n.call(o,s,this)})}(jQuery),function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.init("tooltip",t,e)};e.VERSION="3.3.4",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,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,n,r){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(r),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 i=this.options.trigger.split(" "),o=i.length;o--;){var s=i[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={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,r){n[t]!=r&&(e[t]=r)}),e},e.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n&&n.$tip&&n.$tip.is(":visible"))n.hoverState="in";else{if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},e.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)},e.prototype.show=function(){var n=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var r=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!r)return;var i=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(),f=o[0].offsetWidth,d=o[0].offsetHeight;if(u){var p=a,h=this.options.container?t(this.options.container):this.$element.parent(),v=this.getPosition(h);a="bottom"==a&&c.bottom+d>v.bottom?"top":"top"==a&&c.top-d<v.top?"bottom":"right"==a&&c.right+f>v.width?"left":"left"==a&&c.left-f<v.left?"right":a,o.removeClass(p).addClass(a)}var g=this.getCalculatedOffset(a,c,f,d);this.applyPlacement(g,a);var m=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",m).emulateTransitionEnd(e.TRANSITION_DURATION):m()}},e.prototype.applyPlacement=function(e,n){var r=this.tip(),i=r[0].offsetWidth,o=r[0].offsetHeight,s=parseInt(r.css("margin-top"),10),a=parseInt(r.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(r[0],t.extend({using:function(t){r.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),r.addClass("in");var l=r[0].offsetWidth,u=r[0].offsetHeight;"top"==n&&u!=o&&(e.top=e.top+o-u);var c=this.getViewportAdjustedDelta(n,e,l,u);c.left?e.left+=c.left:e.top+=c.top;var f=/top|bottom/.test(n),d=f?2*c.left-i+l:2*c.top-o+u,p=f?"offsetWidth":"offsetHeight";r.offset(e),this.replaceArrow(d,r[0][p],f)},e.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(n){var r=this,i=t(this.$tip),o=t.Event("hide.bs."+this.type);function s(){"in"!=r.hoverState&&i.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),n&&n()}if(this.$element.trigger(o),!o.isDefaultPrevented())return i.removeClass("in"),t.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",s).emulateTransitionEnd(e.TRANSITION_DURATION):s(),this.hoverState=null,this},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var n=(e=e||this.$element)[0],r="BODY"==n.tagName,i=n.getBoundingClientRect();null==i.width&&(i=t.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=r?{top:0,left:0}:e.offset(),s={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=r?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},i,s,a,o)},e.prototype.getCalculatedOffset=function(t,e,n,r){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-r,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-r/2,left:e.left-n}:{top:e.top+e.height/2-r/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var o=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-o-s.scroll,l=e.top+o-s.scroll+r;a<s.top?i.top=s.top-a:l>s.top+s.height&&(i.top=s.top+s.height-l)}else{var u=e.left-o,c=e.left+o+n;u<s.left?i.left=s.left-u:c>s.width&&(i.left=s.left+s.width-c)}return i},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),n.tip().hasClass("in")?n.leave(n):n.enter(n)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var n=t.fn.tooltip;t.fn.tooltip=function(n){return this.each(function(){var r=t(this),i=r.data("bs.tooltip"),o="object"==typeof n&&n;!i&&/destroy|hide/.test(n)||(i||r.data("bs.tooltip",i=new e(this,o)),"string"==typeof n&&i[n]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=n,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.4",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each(function(){var r=t(this),i=r.data("bs.popover"),o="object"==typeof n&&n;!i&&/destroy|hide/.test(n)||(i||r.data("bs.popover",i=new e(this,o)),"string"==typeof n&&i[n]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),function(t){"use strict";function e(n,r){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(n),this.options=t.extend({},e.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var r=t(this),i=r.data("bs.scrollspy"),o="object"==typeof n&&n;i||r.data("bs.scrollspy",i=new e(this,o)),"string"==typeof n&&i[n]()})}e.VERSION="3.3.4",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),i=e.data("target")||e.attr("href"),o=/^#./.test(i)&&t(i);return o&&o.length&&o.is(":visible")&&[[o[n]().top+r,i]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,o=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=r)return s!=(t=o[o.length-1])&&this.activate(t);if(s&&e<i[0])return this.activeTarget=null,this.clear();for(t=i.length;t--;)s!=o[t]&&e>=i[t]&&(void 0===i[t+1]||e<i[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',r=t(n).parents("li").addClass("active");r.parent(".dropdown-menu").length&&(r=r.closest("li.dropdown").addClass("active")),r.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=r,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),function(t){"use strict";var e=function(e){this.element=t(e)};function n(n){return this.each(function(){var r=t(this),i=r.data("bs.tab");i||r.data("bs.tab",i=new e(this)),"string"==typeof n&&i[n]()})}e.VERSION="3.3.4",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),r=e.data("target");if(r||(r=(r=e.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var i=n.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(o),e.trigger(s),!s.isDefaultPrevented()&&!o.isDefaultPrevented()){var a=t(r);this.activate(e.closest("li"),n),this.activate(a,a.parent(),function(){i.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:i[0]})})}}},e.prototype.activate=function(n,r,i){var o=r.find("> .active"),s=i&&t.support.transition&&(o.length&&o.hasClass("fade")||!!r.find("> .fade").length);function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}o.length&&s?o.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),o.removeClass("in")};var r=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=r,this};var i=function(e){e.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),function(t){"use strict";var e=function(n,r){this.options=t.extend({},e.DEFAULTS,r),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each(function(){var r=t(this),i=r.data("bs.affix"),o="object"==typeof n&&n;i||r.data("bs.affix",i=new e(this,o)),"string"==typeof n&&i[n]()})}e.VERSION="3.3.4",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,n,r){var i=this.$target.scrollTop(),o=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return i<n&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=o.top)&&"bottom":!(i+s<=t-r)&&"bottom";var a=null==this.affixed,l=a?i:o.top;return null!=n&&i<=n?"top":null!=r&&l+(a?s:e)>=t-r&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),r=this.options.offset,i=r.top,o=r.bottom,s=t(document.body).height();"object"!=typeof r&&(o=i=r),"function"==typeof i&&(i=r.top(this.$element)),"function"==typeof o&&(o=r.bottom(this.$element));var a=this.getState(s,n,i,o);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-n-o})}};var r=t.fn.affix;t.fn.affix=n,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=r,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var e=t(this),r=e.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),n.call(e,r)})})}(jQuery)},hv7s:function(t,e,n){var r,i,o,s;s=function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var n,r,i;return e&&e.requirejs||(e?r=e:e={},function(t){var e,o,s,a,l={},u={},c={},f={},d=Object.prototype.hasOwnProperty,p=[].slice,h=/\.js$/;function v(t,e){return d.call(t,e)}function g(t,e){var n,r,i,o,s,a,l,u,f,d,p,v=e&&e.split("/"),g=c.map,m=g&&g["*"]||{};if(t){for(s=(t=t.split("/")).length-1,c.nodeIdCompat&&h.test(t[s])&&(t[s]=t[s].replace(h,"")),"."===t[0].charAt(0)&&v&&(t=v.slice(0,v.length-1).concat(t)),f=0;f<t.length;f++)if("."===(p=t[f]))t.splice(f,1),f-=1;else if(".."===p){if(0===f||1===f&&".."===t[2]||".."===t[f-1])continue;f>0&&(t.splice(f-1,2),f-=2)}t=t.join("/")}if((v||m)&&g){for(f=(n=t.split("/")).length;f>0;f-=1){if(r=n.slice(0,f).join("/"),v)for(d=v.length;d>0;d-=1)if((i=g[v.slice(0,d).join("/")])&&(i=i[r])){o=i,a=f;break}if(o)break;!l&&m&&m[r]&&(l=m[r],u=f)}!o&&l&&(o=l,a=u),o&&(n.splice(0,a,o),t=n.join("/"))}return t}function m(e,n){return function(){var r=p.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),o.apply(t,r.concat([e,n]))}}function y(t){return function(e){l[t]=e}}function _(n){if(v(u,n)){var r=u[n];delete u[n],f[n]=!0,e.apply(t,r)}if(!v(l,n)&&!v(f,n))throw new Error("No "+n);return l[n]}function b(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function w(t){return t?b(t):[]}s=function(t,e){var n,r,i=b(t),o=i[0],s=e[1];return t=i[1],o&&(n=_(o=g(o,s))),o?t=n&&n.normalize?n.normalize(t,(r=s,function(t){return g(t,r)})):g(t,s):(o=(i=b(t=g(t,s)))[0],t=i[1],o&&(n=_(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:n}},a={require:function(t){return m(t)},exports:function(t){var e=l[t];return void 0!==e?e:l[t]={}},module:function(t){return{id:t,uri:"",exports:l[t],config:function(t){return function(){return c&&c.config&&c.config[t]||{}}}(t)}}},e=function(e,n,r,i){var o,c,d,p,h,g,b,x=[],C=typeof r;if(g=w(i=i||e),"undefined"===C||"function"===C){for(n=!n.length&&r.length?["require","exports","module"]:n,h=0;h<n.length;h+=1)if("require"===(c=(p=s(n[h],g)).f))x[h]=a.require(e);else if("exports"===c)x[h]=a.exports(e),b=!0;else if("module"===c)o=x[h]=a.module(e);else if(v(l,c)||v(u,c)||v(f,c))x[h]=_(c);else{if(!p.p)throw new Error(e+" missing "+c);p.p.load(p.n,m(i,!0),y(c),{}),x[h]=l[c]}d=r?r.apply(l[e],x):void 0,e&&(o&&o.exports!==t&&o.exports!==l[e]?l[e]=o.exports:d===t&&b||(l[e]=d))}else e&&(l[e]=r)},n=r=o=function(n,r,i,l,u){if("string"==typeof n)return a[n]?a[n](r):_(s(n,w(r)).f);if(!n.splice){if((c=n).deps&&o(c.deps,c.callback),!r)return;r.splice?(n=r,r=i,i=null):n=t}return r=r||function(){},"function"==typeof i&&(i=l,l=u),l?e(t,n,r,i):setTimeout(function(){e(t,n,r,i)},4),o},o.config=function(t){return o(t)},n._defined=l,(i=function(t,e,n){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(n=e,e=[]),v(l,t)||v(u,t)||(u[t]=[t,e,n])}).amd={jQuery:!0}}(),e.requirejs=n,e.require=r,e.define=i),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(t){var e={};function n(t){var e=t.prototype,n=[];for(var r in e){"function"==typeof e[r]&&("constructor"!==r&&n.push(r))}return n}e.Extend=function(t,e){var n={}.hasOwnProperty;function r(){this.constructor=t}for(var i in e)n.call(e,i)&&(t[i]=e[i]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},e.Decorate=function(t,e){var r=n(e),i=n(t);function o(){var n=Array.prototype.unshift,r=e.prototype.constructor.length,i=t.prototype.constructor;r>0&&(n.call(arguments,t.prototype.constructor),i=e.prototype.constructor),i.apply(this,arguments)}e.displayName=t.displayName,o.prototype=new function(){this.constructor=o};for(var s=0;s<i.length;s++){var a=i[s];o.prototype[a]=t.prototype[a]}for(var l=function(t){var n=function(){};t in o.prototype&&(n=o.prototype[t]);var r=e.prototype[t];return function(){return Array.prototype.unshift.call(arguments,n),r.apply(this,arguments)}},u=0;u<r.length;u++){var c=r[u];o.prototype[c]=l(c)}return o};var r=function(){this.listeners={}};r.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},r.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=t,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},r.prototype.invoke=function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].apply(this,e)},e.Observable=r,e.generateChars=function(t){for(var e="",n=0;n<t;n++){e+=Math.floor(36*Math.random()).toString(36)}return e},e.bind=function(t,e){return function(){t.apply(e,arguments)}},e._convertData=function(t){for(var e in t){var n=e.split("-"),r=t;if(1!==n.length){for(var i=0;i<n.length;i++){var o=n[i];(o=o.substring(0,1).toLowerCase()+o.substring(1))in r||(r[o]={}),i==n.length-1&&(r[o]=t[e]),r=r[o]}delete t[e]}}return t},e.hasScroll=function(e,n){var r=t(n),i=n.style.overflowX,o=n.style.overflowY;return(i!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===i||"scroll"===o||(r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth))},e.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},e.appendMany=function(e,n){if("1.7"===t.fn.jquery.substr(0,3)){var r=t();t.map(n,function(t){r=r.add(t)}),n=r}e.append(n)},e.__cache={};var i=0;return e.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++i),e=i.toString())),e},e.StoreData=function(t,n,r){var i=e.GetUniqueElementId(t);e.__cache[i]||(e.__cache[i]={}),e.__cache[i][n]=r},e.GetData=function(n,r){var i=e.GetUniqueElementId(n);return r?e.__cache[i]&&null!=e.__cache[i][r]?e.__cache[i][r]:t(n).data(r):e.__cache[i]},e.RemoveData=function(t){var n=e.GetUniqueElementId(t);null!=e.__cache[n]&&delete e.__cache[n],t.removeAttribute("data-select2-id")},e}),e.define("select2/results",["jquery","./utils"],function(t,e){function n(t,e,r){this.$element=t,this.data=r,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var r=t('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(e.message);r.append(n(i(e.args))),r[0].className+=" select2-results__message",this.$results.append(r)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var r=t.results[n],i=this.option(r);e.push(i)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current(function(r){var i=t.map(r,function(t){return t.id.toString()});n.$results.find(".select2-results__option[aria-selected]").each(function(){var n=t(this),r=e.GetData(this,"data"),o=""+r.id;null!=r.element&&r.element.selected||null==r.element&&t.inArray(o,i)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")})})},n.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},n=this.option(e);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var r=document.createElement("li");r.className="select2-results__option";var i={role:"option","aria-selected":"false"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var s in(null!=n.element&&o.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==n.id&&delete i["aria-selected"],null!=n._resultId&&(r.id=n._resultId),n.title&&(r.title=n.title),n.children&&(i.role="group",i["aria-label"]=n.text,delete i["aria-selected"]),i){var a=i[s];r.setAttribute(s,a)}if(n.children){var l=t(r),u=document.createElement("strong");u.className="select2-results__group";t(u);this.template(n,u);for(var c=[],f=0;f<n.children.length;f++){var d=n.children[f],p=this.option(d);c.push(p)}var h=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});h.append(c),l.append(u),l.append(h)}else this.template(n,r);return e.StoreData(r,"data",n),r},n.prototype.bind=function(n,r){var i=this,o=n.id+"-results";this.$results.attr("id",o),n.on("results:all",function(t){i.clear(),i.append(t.data),n.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),n.on("results:append",function(t){i.append(t.data),n.isOpen()&&i.setClasses()}),n.on("query",function(t){i.hideMessages(),i.showLoading(t)}),n.on("select",function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),n.on("unselect",function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),n.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),n.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),n.on("results:toggle",function(){var t=i.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),n.on("results:select",function(){var t=i.getHighlightedResults();if(0!==t.length){var n=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:n})}}),n.on("results:previous",function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t);if(!(n<=0)){var r=n-1;0===t.length&&(r=0);var o=e.eq(r);o.trigger("mouseenter");var s=i.$results.offset().top,a=o.offset().top,l=i.$results.scrollTop()+(a-s);0===r?i.$results.scrollTop(0):a-s<0&&i.$results.scrollTop(l)}}),n.on("results:next",function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var r=e.eq(n);r.trigger("mouseenter");var o=i.$results.offset().top+i.$results.outerHeight(!1),s=r.offset().top+r.outerHeight(!1),a=i.$results.scrollTop()+s-o;0===n?i.$results.scrollTop(0):s>o&&i.$results.scrollTop(a)}}),n.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),n.on("results:message",function(t){i.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-e+t.deltaY,r=t.deltaY>0&&e-t.deltaY<=0,o=t.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):o&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(n){var r=t(this),o=e.GetData(this,"data");"true"!==r.attr("aria-selected")?i.trigger("select",{originalEvent:n,data:o}):i.options.get("multiple")?i.trigger("unselect",{originalEvent:n,data:o}):i.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(n){var r=e.GetData(this,"data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:r,element:t(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),n=this.$results.offset().top,r=t.offset().top,i=this.$results.scrollTop()+(r-n),o=r-n;i-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(i)}},n.prototype.template=function(e,n){var r=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),o=r(e,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=i(o):t(n).append(o)},n}),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,n){function r(t,e){this.$element=t,this.options=e,r.__super__.constructor.call(this)}return e.Extend(r,e.Observable),r.prototype.render=function(){var n=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")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},r.prototype.bind=function(t,e){var r=this,i=t.id+"-results";this.container=t,this.$selection.on("focus",function(t){r.trigger("focus",t)}),this.$selection.on("blur",function(t){r._handleBlur(t)}),this.$selection.on("keydown",function(t){r.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){r.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){r.update(t.data)}),t.on("open",function(){r.$selection.attr("aria-expanded","true"),r.$selection.attr("aria-owns",i),r._attachCloseHandler(t)}),t.on("close",function(){r.$selection.attr("aria-expanded","false"),r.$selection.removeAttr("aria-activedescendant"),r.$selection.removeAttr("aria-owns"),r.$selection.trigger("focus"),r._detachCloseHandler(t)}),t.on("enable",function(){r.$selection.attr("tabindex",r._tabindex),r.$selection.attr("aria-disabled","false")}),t.on("disable",function(){r.$selection.attr("tabindex","-1"),r.$selection.attr("aria-disabled","true")})},r.prototype._handleBlur=function(e){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)},1)},r.prototype._attachCloseHandler=function(n){t(document.body).on("mousedown.select2."+n.id,function(n){var r=t(n.target).closest(".select2");t(".select2.select2-container--open").each(function(){this!=r[0]&&e.GetData(this,"element").select2("close")})})},r.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},r.prototype.position=function(t,e){e.find(".selection").append(t)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,n,r){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},i.prototype.bind=function(t,e){var n=this;i.__super__.bind.apply(this,arguments);var r=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",r),this.$selection.on("mousedown",function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},i.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t("<span></span>")},i.prototype.update=function(t){if(0!==t.length){var e=t[0],n=this.$selection.find(".select2-selection__rendered"),r=this.display(e,n);n.empty().append(r);var i=e.title||e.text;i?n.attr("title",i):n.removeAttr("title")}else this.clear()},i}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,n){function r(t,e){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,e),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},r.prototype.bind=function(e,i){var o=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){o.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!o.isDisabled()){var r=t(this).parent(),i=n.GetData(r[0],"data");o.trigger("unselect",{originalEvent:e,data:i})}})},r.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},r.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],r=0;r<t.length;r++){var i=t[r],o=this.selectionContainer(),s=this.display(i,o);o.append(s);var a=i.title||i.text;a&&o.attr("title",a),n.StoreData(o[0],"data",i),e.push(o)}var l=this.$selection.find(".select2-selection__rendered");n.appendMany(l,e)}},r}),e.define("select2/selection/placeholder",["../utils"],function(t){function e(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();return n.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||n)return t.call(this,e);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)},e}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(t,e,n){function r(){}return r.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){r._handleClear(t)}),e.on("keypress",function(t){r._handleKeyboardClear(t,e)})},r.prototype._handleClear=function(t,e){if(!this.isDisabled()){var r=this.$selection.find(".select2-selection__clear");if(0!==r.length){e.stopPropagation();var i=n.GetData(r[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var s={data:i};if(this.trigger("clear",s),s.prevented)this.$element.val(o);else{for(var a=0;a<i.length;a++)if(s={data:i[a]},this.trigger("unselect",s),s.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},r.prototype._handleKeyboardClear=function(t,n,r){r.isOpen()||n.which!=e.DELETE&&n.which!=e.BACKSPACE||this._handleClear(n)},r.prototype.update=function(e,r){if(e.call(this,r),!(this.$selection.find(".select2-selection__placeholder").length>0||0===r.length)){var i=this.options.get("translations").get("removeAllItems"),o=t('<span class="select2-selection__clear" title="'+i()+'">&times;</span>');n.StoreData(o[0],"data",r),this.$selection.find(".select2-selection__rendered").prepend(o)}},r}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,n){function r(t,e,n){t.call(this,e,n)}return r.prototype.render=function(e){var n=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var r=e.call(this);return this._transferTabIndex(),r},r.prototype.bind=function(t,r,i){var o=this,s=r.id+"-results";t.call(this,r,i),r.on("open",function(){o.$search.attr("aria-controls",s),o.$search.trigger("focus")}),r.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),r.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),r.on("disable",function(){o.$search.prop("disabled",!0)}),r.on("focus",function(t){o.$search.trigger("focus")}),r.on("results:focus",function(t){t.data._resultId?o.$search.attr("aria-activedescendant",t.data._resultId):o.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(t){o.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){o._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===n.BACKSPACE&&""===o.$search.val()){var r=o.$searchContainer.prev(".select2-selection__choice");if(r.length>0){var i=e.GetData(r[0],"data");o.searchRemoveChoice(i),t.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(t){o.$search.val()&&t.stopPropagation()});var a=document.documentMode,l=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){l?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(l&&"input"===t.type)o.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=n.SHIFT&&e!=n.CTRL&&e!=n.ALT&&e!=n.TAB&&o.handleSearch(t)}})},r.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},r.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},r.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},r.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},r.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";""!==this.$search.attr("placeholder")?t=this.$selection.find(".select2-selection__rendered").width():t=.75*(this.$search.val().length+1)+"em";this.$search.css("width",t)},r}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,n,r){var i=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];e.call(this,n,r),n.on("*",function(e,n){if(-1!==t.inArray(e,o)){n=n||{};var r=t.Event("select2:"+e,{params:n});i.$element.trigger(r),-1!==t.inArray(e,s)&&(n.prevented=r.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={},n.loadPath=function(t){if(!(t in n._cache)){var r=e(t);n._cache[t]=r}return new n(n._cache[t])},n}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),e.define("select2/data/base",["../utils"],function(t){function e(t,n){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,n){var r=e.id+"-result-";return r+=t.generateChars(4),null!=n.id?r+="-"+n.id.toString():r+="-"+t.generateChars(4),r},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,n){function r(t,e){this.$element=t,this.options=e,r.__super__.constructor.call(this)}return e.Extend(r,t),r.prototype.current=function(t){var e=[],r=this;this.$element.find(":selected").each(function(){var t=n(this),i=r.item(t);e.push(i)}),t(e)},r.prototype.select=function(t){var e=this;if(t.selected=!0,n(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(r){var i=[];(t=[t]).push.apply(t,r);for(var o=0;o<t.length;o++){var s=t[o].id;-1===n.inArray(s,i)&&i.push(s)}e.$element.val(i),e.$element.trigger("input").trigger("change")});else{var r=t.id;this.$element.val(r),this.$element.trigger("input").trigger("change")}},r.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,n(t.element).is("option"))return t.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(r){for(var i=[],o=0;o<r.length;o++){var s=r[o].id;s!==t.id&&-1===n.inArray(s,i)&&i.push(s)}e.$element.val(i),e.$element.trigger("input").trigger("change")})}},r.prototype.bind=function(t,e){var n=this;this.container=t,t.on("select",function(t){n.select(t.data)}),t.on("unselect",function(t){n.unselect(t.data)})},r.prototype.destroy=function(){this.$element.find("*").each(function(){e.RemoveData(this)})},r.prototype.query=function(t,e){var r=[],i=this;this.$element.children().each(function(){var e=n(this);if(e.is("option")||e.is("optgroup")){var o=i.item(e),s=i.matches(t,o);null!==s&&r.push(s)}}),e({results:r})},r.prototype.addOptions=function(t){e.appendMany(this.$element,t)},r.prototype.option=function(t){var r;t.children?(r=document.createElement("optgroup")).label=t.text:void 0!==(r=document.createElement("option")).textContent?r.textContent=t.text:r.innerText=t.text,void 0!==t.id&&(r.value=t.id),t.disabled&&(r.disabled=!0),t.selected&&(r.selected=!0),t.title&&(r.title=t.title);var i=n(r),o=this._normalizeItem(t);return o.element=r,e.StoreData(r,"data",o),i},r.prototype.item=function(t){var r={};if(null!=(r=e.GetData(t[0],"data")))return r;if(t.is("option"))r={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){r={text:t.prop("label"),children:[],title:t.prop("title")};for(var i=t.children("option"),o=[],s=0;s<i.length;s++){var a=n(i[s]),l=this.item(a);o.push(l)}r.children=o}return(r=this._normalizeItem(r)).element=t[0],e.StoreData(t[0],"data",r),r},r.prototype._normalizeItem=function(t){t!==Object(t)&&(t={id:t,text:t});return null!=(t=n.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),n.extend({},{selected:!1,disabled:!1},t)},r.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},r}),e.define("select2/data/array",["./select","../utils","jquery"],function(t,e,n){function r(t,e){this._dataToConvert=e.get("data")||[],r.__super__.constructor.call(this,t,e)}return e.Extend(r,t),r.prototype.bind=function(t,e){r.__super__.bind.call(this,t,e),this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.select=function(t){var e=this.$element.find("option").filter(function(e,n){return n.value==t.id.toString()});0===e.length&&(e=this.option(t),this.addOptions(e)),r.__super__.select.call(this,t)},r.prototype.convertToOptions=function(t){var r=this,i=this.$element.find("option"),o=i.map(function(){return r.item(n(this)).id}).get(),s=[];function a(t){return function(){return n(this).val()==t.id}}for(var l=0;l<t.length;l++){var u=this._normalizeItem(t[l]);if(n.inArray(u.id,o)>=0){var c=i.filter(a(u)),f=this.item(c),d=n.extend(!0,{},u,f),p=this.option(d);c.replaceWith(p)}else{var h=this.option(u);if(u.children){var v=this.convertToOptions(u.children);e.appendMany(h,v)}s.push(h)}}return s},r}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,n){function r(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,t,e)}return e.Extend(r,t),r.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})},transport:function(t,e,r){var i=n.ajax(t);return i.then(e),i.fail(r),i}};return n.extend({},e,t,!0)},r.prototype.processResults=function(t){return t},r.prototype.query=function(t,e){var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var i=n.extend({type:"GET"},this.ajaxOptions);function o(){var o=i.transport(i,function(i){var o=r.processResults(i,t);r.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(o)},function(){"status"in o&&(0===o.status||"0"===o.status)||r.trigger("results:message",{message:"errorLoading"})});r._request=o}"function"==typeof i.url&&(i.url=i.url.call(this.$element,t)),"function"==typeof i.data&&(i.data=i.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o()},r}),e.define("select2/data/tags",["jquery"],function(t){function e(e,n,r){var i=r.get("tags"),o=r.get("createTag");void 0!==o&&(this.createTag=o);var s=r.get("insertTag");if(void 0!==s&&(this.insertTag=s),e.call(this,n,r),t.isArray(i))for(var a=0;a<i.length;a++){var l=i[a],u=this._normalizeItem(l),c=this.option(u);this.$element.append(c)}}return e.prototype.query=function(t,e,n){var r=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,function t(i,o){for(var s=i.results,a=0;a<s.length;a++){var l=s[a],u=null!=l.children&&!t({results:l.children},!0);if((l.text||"").toUpperCase()===(e.term||"").toUpperCase()||u)return!o&&(i.data=s,void n(i))}if(o)return!0;var c=r.createTag(e);if(null!=c){var f=r.option(c);f.attr("data-select2-tag",!0),r.addOptions([f]),r.insertTag(s,c)}i.results=s,n(i)}):t.call(this,e,n)},e.prototype.createTag=function(e,n){var r=t.trim(n.term);return""===r?null:{id:r,text:r}},e.prototype.insertTag=function(t,e,n){e.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,n){var r=n.get("tokenizer");void 0!==r&&(this.tokenizer=r),t.call(this,e,n)}return e.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,n,r){var i=this;n.term=n.term||"";var o=this.tokenizer(n,this.options,function(e){var n=i._normalizeItem(e);if(!i.$element.find("option").filter(function(){return t(this).val()===n.id}).length){var r=i.option(n);r.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([r])}!function(t){i.trigger("select",{data:t})}(n)});o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),n.term=o.term),e.call(this,n,r)},e.prototype.tokenizer=function(e,n,r,i){for(var o=r.get("tokenSeparators")||[],s=n.term,a=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};a<s.length;){var u=s[a];if(-1!==t.inArray(u,o)){var c=s.substr(0,a),f=l(t.extend({},n,{term:c}));null!=f?(i(f),s=s.substr(a+1)||"",a=0):a++}else a++}return{term:s}},e}),e.define("select2/data/minimumInputLength",[],function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t}),e.define("select2/data/maximumInputLength",[],function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("select",function(){r._checkIfMaximumSelected()})},t.prototype.query=function(t,e,n){var r=this;this._checkIfMaximumSelected(function(){t.call(r,e,n)})},t.prototype._checkIfMaximumSelected=function(t,e){var n=this;this.current(function(t){var r=null!=t?t.length:0;n.maximumSelectionLength>0&&r>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):e&&e()})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){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 e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(t,e){function n(){}return n.prototype.render=function(e){var n=e.call(this),r=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=r,this.$search=r.find("input"),n.prepend(r),n},n.prototype.bind=function(e,n,r){var i=this,o=n.id+"-results";e.call(this,n,r),this.$search.on("keydown",function(t){i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(e){t(this).off("keyup")}),this.$search.on("keyup input",function(t){i.handleSearch(t)}),n.on("open",function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",o),i.$search.trigger("focus"),window.setTimeout(function(){i.$search.trigger("focus")},0)}),n.on("close",function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")}),n.on("focus",function(){n.isOpen()||i.$search.trigger("focus")}),n.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(i.showSearch(t)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))}),n.on("results:focus",function(t){t.data._resultId?i.$search.attr("aria-activedescendant",t.data._resultId):i.$search.removeAttr("aria-activedescendant")})},n.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.showSearch=function(t,e){return!0},n}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,n,r){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,r)}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 n=e.slice(0),r=e.length-1;r>=0;r--){var i=e[r];this.placeholder.id===i.id&&n.splice(r,1)}return n},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,n,r){this.lastParams={},t.call(this,e,n,r),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,n){var r=this;t.call(this,e,n),e.on("query",function(t){r.lastParams=t,r.loading=!0}),e.on("query:append",function(t){r.lastParams=t,r.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>'),n=this.options.get("translations").get("loadingMore");return e.html(n(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function n(e,n,r){this.$dropdownParent=t(r.get("dropdownParent")||document.body),e.call(this,n,r)}return n.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("open",function(){r._showDropdown(),r._attachPositioningHandler(e),r._bindContainerResultHandlers(e)}),e.on("close",function(){r._hideDropdown(),r._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},n.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(e){var n=t("<span></span>"),r=e.call(this);return n.append(r),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(t,e){if(!this._containerResultsHandlersBound){var n=this;e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,r){var i=this,o="scroll.select2."+r.id,s="resize.select2."+r.id,a="orientationchange.select2."+r.id,l=this.$container.parents().filter(e.hasScroll);l.each(function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),l.on(o,function(n){var r=e.GetData(this,"select2-scroll-position");t(this).scrollTop(r.y)}),t(window).on(o+" "+s+" "+a,function(t){i._positionDropdown(),i._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,r){var i="scroll.select2."+r.id,o="resize.select2."+r.id,s="orientationchange.select2."+r.id;this.$container.parents().filter(e.hasScroll).off(i),t(window).off(i+" "+o+" "+s)},n.prototype._positionDropdown=function(){var e=t(window),n=this.$dropdown.hasClass("select2-dropdown--above"),r=this.$dropdown.hasClass("select2-dropdown--below"),i=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=o.top,s.bottom=o.top+s.height;var a=this.$dropdown.outerHeight(!1),l=e.scrollTop(),u=e.scrollTop()+e.height(),c=l<o.top-a,f=u>o.bottom+a,d={left:o.left,top:s.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h={top:0,left:0};(t.contains(document.body,p[0])||p[0].isConnected)&&(h=p.offset()),d.top-=h.top,d.left-=h.left,n||r||(i="below"),f||!c||n?!c&&f&&n&&(i="below"):i="above",("above"==i||n&&"below"!==i)&&(d.top=s.top-h.top-a),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,n,r){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,r)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var n=0,r=0;r<e.length;r++){var i=e[r];i.children?n+=t(i.children):n++}return n}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),e.define("select2/dropdown/selectOnClose",["../utils"],function(t){function e(){}return e.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("close",function(t){r._handleSelectOnClose(t)})},e.prototype._handleSelectOnClose=function(e,n){if(n&&null!=n.originalSelect2Event){var r=n.originalSelect2Event;if("select"===r._type||"unselect"===r._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var o=t.GetData(i[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("select",function(t){r._selectTriggered(t)}),e.on("unselect",function(t){r._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,n="Please delete "+e+" character";return 1!=e&&(n+="s"),n},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(t,e,n,r,i,o,s,a,l,u,c,f,d,p,h,v,g,m,y,_,b,w,x,C,$,T,A,k,E){function S(){this.reset()}return S.prototype.apply=function(c){if(null==(c=t.extend(!0,{},this.defaults,c)).dataAdapter){if(null!=c.ajax?c.dataAdapter=h:null!=c.data?c.dataAdapter=p:c.dataAdapter=d,c.minimumInputLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,m)),c.maximumInputLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,y)),c.maximumSelectionLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,_)),c.tags&&(c.dataAdapter=u.Decorate(c.dataAdapter,v)),null==c.tokenSeparators&&null==c.tokenizer||(c.dataAdapter=u.Decorate(c.dataAdapter,g)),null!=c.query){var f=e(c.amdBase+"compat/query");c.dataAdapter=u.Decorate(c.dataAdapter,f)}if(null!=c.initSelection){var E=e(c.amdBase+"compat/initSelection");c.dataAdapter=u.Decorate(c.dataAdapter,E)}}if(null==c.resultsAdapter&&(c.resultsAdapter=n,null!=c.ajax&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,C)),null!=c.placeholder&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,x)),c.selectOnClose&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,A))),null==c.dropdownAdapter){if(c.multiple)c.dropdownAdapter=b;else{var S=u.Decorate(b,w);c.dropdownAdapter=S}if(0!==c.minimumResultsForSearch&&(c.dropdownAdapter=u.Decorate(c.dropdownAdapter,T)),c.closeOnSelect&&(c.dropdownAdapter=u.Decorate(c.dropdownAdapter,k)),null!=c.dropdownCssClass||null!=c.dropdownCss||null!=c.adaptDropdownCssClass){var O=e(c.amdBase+"compat/dropdownCss");c.dropdownAdapter=u.Decorate(c.dropdownAdapter,O)}c.dropdownAdapter=u.Decorate(c.dropdownAdapter,$)}if(null==c.selectionAdapter){if(c.multiple?c.selectionAdapter=i:c.selectionAdapter=r,null!=c.placeholder&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,o)),c.allowClear&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,s)),c.multiple&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,a)),null!=c.containerCssClass||null!=c.containerCss||null!=c.adaptContainerCssClass){var D=e(c.amdBase+"compat/containerCss");c.selectionAdapter=u.Decorate(c.selectionAdapter,D)}c.selectionAdapter=u.Decorate(c.selectionAdapter,l)}c.language=this._resolveLanguage(c.language),c.language.push("en");for(var j=[],N=0;N<c.language.length;N++){var I=c.language[N];-1===j.indexOf(I)&&j.push(I)}return c.language=j,c.translations=this._processTranslations(c.language,c.debug),c},S.prototype.reset=function(){function e(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return f[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:u.escapeMarkup,language:{},matcher:function n(r,i){if(""===t.trim(r.term))return i;if(i.children&&i.children.length>0){for(var o=t.extend(!0,{},i),s=i.children.length-1;s>=0;s--)null==n(r,i.children[s])&&o.children.splice(s,1);return o.children.length>0?o:n(r,o)}var a=e(i.text).toUpperCase(),l=e(r.term).toUpperCase();return a.indexOf(l)>-1?i:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},S.prototype.applyFromElement=function(t,e){var n=t.language,r=this.defaults.language,i=e.prop("lang"),o=e.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(o));return t.language=s,t},S.prototype._resolveLanguage=function(e){if(!e)return[];if(t.isEmptyObject(e))return[];if(t.isPlainObject(e))return[e];var n;n=t.isArray(e)?e:[e];for(var r=[],i=0;i<n.length;i++)if(r.push(n[i]),"string"==typeof n[i]&&n[i].indexOf("-")>0){var o=n[i].split("-")[0];r.push(o)}return r},S.prototype._processTranslations=function(e,n){for(var r=new c,i=0;i<e.length;i++){var o=new c,s=e[i];if("string"==typeof s)try{o=c.loadPath(s)}catch(t){try{s=this.defaults.amdLanguageBase+s,o=c.loadPath(s)}catch(t){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+s+'" could not be automatically loaded. A fallback will be used instead.')}}else o=t.isPlainObject(s)?new c(s):s;r.extend(o)}return r},S.prototype.set=function(e,n){var r={};r[t.camelCase(e)]=n;var i=u._convertData(r);t.extend(!0,this.defaults,i)},new S}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,n,r){function i(e,i){if(this.options=e,null!=i&&this.fromElement(i),null!=i&&(this.options=n.applyFromElement(this.options,i)),this.options=n.apply(this.options),i&&i.is("input")){var o=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=r.Decorate(this.options.dataAdapter,o)}}return i.prototype.fromElement=function(t){var n=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),r.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),r.StoreData(t[0],"data",r.GetData(t[0],"select2Tags")),r.StoreData(t[0],"tags",!0)),r.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",r.GetData(t[0],"ajaxUrl")),r.StoreData(t[0],"ajax-Url",r.GetData(t[0],"ajaxUrl")));var i={};function o(t,e){return e.toUpperCase()}for(var s=0;s<t[0].attributes.length;s++){var a=t[0].attributes[s].name;if("data-"==a.substr(0,"data-".length)){var l=a.substring("data-".length),u=r.GetData(t[0],l);i[l.replace(/-([a-z])/g,o)]=u}}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(i=e.extend(!0,{},t[0].dataset,i));var c=e.extend(!0,{},r.GetData(t[0]),i);for(var f in c=r._convertData(c))e.inArray(f,n)>-1||(e.isPlainObject(this.options[f])?e.extend(this.options[f],c[f]):this.options[f]=c[f]);return this},i.prototype.get=function(t){return this.options[t]},i.prototype.set=function(t,e){this.options[t]=e},i}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,n,r){var i=function(t,r){null!=n.GetData(t[0],"select2")&&n.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),r=r||{},this.options=new e(r,t),i.__super__.constructor.call(this);var o=t.attr("tabindex")||0;n.StoreData(t[0],"old-tabindex",o),t.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(t,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var u=this.options.get("dropdownAdapter");this.dropdown=new u(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var c=this.options.get("resultsAdapter");this.results=new c(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var f=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){f.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(t[0],"select2",this),t.data("select2",this)};return n.Extend(i,n.Observable),i.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},i.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},i.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var r=this._resolveWidth(t,"style");return null!=r?r:this._resolveWidth(t,"element")}if("element"==e){var i=t.outerWidth(!1);return i<=0?"auto":i+"px"}if("style"==e){var o=t.attr("style");if("string"!=typeof o)return null;for(var s=o.split(";"),a=0,l=s.length;a<l;a+=1){var u=s[a].replace(/\s/g,"").match(n);if(null!==u&&u.length>=1)return u[1]}return null}return"computedstyle"==e?window.getComputedStyle(t[0]).width:e},i.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},i.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e(function(e){t._syncA(),t._syncS(null,e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},i.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,n){t.trigger(e,n)})},i.prototype._registerSelectionEvents=function(){var e=this,n=["toggle","focus"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("focus",function(t){e.focus(t)}),this.selection.on("*",function(r,i){-1===t.inArray(r,n)&&e.trigger(r,i)})},i.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,n){t.trigger(e,n)})},i.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,n){t.trigger(e,n)})},i.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,function(n){t.trigger("results:all",{data:n,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(n){t.trigger("results:append",{data:n,query:e})})}),this.on("keypress",function(e){var n=e.which;t.isOpen()?n===r.ESC||n===r.TAB||n===r.UP&&e.altKey?(t.close(e),e.preventDefault()):n===r.ENTER?(t.trigger("results:select",{}),e.preventDefault()):n===r.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):n===r.UP?(t.trigger("results:previous",{}),e.preventDefault()):n===r.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&e.altKey)&&(t.open(),e.preventDefault())})},i.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},i.prototype._isChangeMutation=function(e,n){var r=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(n)if(n.addedNodes&&n.addedNodes.length>0)for(var o=0;o<n.addedNodes.length;o++){n.addedNodes[o].selected&&(r=!0)}else n.removedNodes&&n.removedNodes.length>0?r=!0:t.isArray(n)&&t.each(n,function(t,e){if(i._isChangeMutation(t,e))return r=!0,!1});else r=!0;return r}},i.prototype._syncSubtree=function(t,e){var n=this;this._isChangeMutation(t,e)&&this.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})})},i.prototype.trigger=function(t,e){var n=i.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in r){var o=r[t],s={prevented:!1,name:t,args:e};if(n.call(this,o,s),s.prevented)return void(e.prevented=!0)}n.call(this,t,e)},i.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},i.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},i.prototype.close=function(t){this.isOpen()&&this.trigger("close",{originalEvent:t})},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},i.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},i.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},i.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},i.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},i.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var n=e[0];t.isArray(n)&&(n=t.map(n,function(t){return t.toString()})),this.$element.val(n).trigger("input").trigger("change")},i.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},i.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(e[0],"element",this.$element),e},i}),e.define("jquery-mousewheel",["jquery"],function(t){return t}),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(t,e,n,r,i){if(null==t.fn.select2){var o=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var r=t.extend(!0,{},e);new n(t(this),r)}),this;if("string"==typeof e){var r,s=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=i.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),r=t[e].apply(t,s)}),t.inArray(e,o)>-1?this:r}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=r),n}),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n},i=[n("7t+N")],void 0===(o="function"==typeof(r=s)?r.apply(e,i):r)||(t.exports=o)},hw3k:function(t,e){lineOptions={legend:{position:"bottom"},scales:{yAxes:[{ticks:{fontColor:"rgba(0,0,0,0.5)",fontStyle:"bold",beginAtZero:!0,maxTicksLimit:5,padding:20},gridLines:{drawTicks:!1,display:!1}}],xAxes:[{gridLines:{zeroLineColor:"transparent"},ticks:{padding:20,fontColor:"rgba(0,0,0,0.5)",fontStyle:"bold"}}]}},pieOptions={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:1,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,responsive:!0,maintainAspectRatio:!1,legendTemplate:"<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<segments.length; i++){%><li><i class='fa fa-circle-o' style='color: <%=segments[i].fillColor%>'></i><%if(segments[i].label){%><%=segments[i].label%><%}%> foo</li><%}%></ul>",tooltipTemplate:"<%=value %> <%=label%> "};$('meta[name="baseUrl"]').attr("content");!function(t,e){var n={modals:{}};n.modals.confirmDelete=function(){var e=t("table"),n=function(e){var n=t(this),r=t("#dataConfirmModal"),i=n.attr("href"),o=n.attr("data-content"),s=n.attr("data-title");return t("#myModalLabel").text(s),r.find(".modal-body").text(o),t("#deleteForm").attr("action",i),r.modal({show:!0}),!1};return{render:function(){e.on("click",".delete-asset",n)}}},t(function(){(new n.modals.confirmDelete).render()})}(jQuery,window.snipeit.settings),$(document).ready(function(){function t(t){t instanceof jQuery||(t=$(t));var e=t.data("select2");return searchElement=e.dropdown.$search||e.$container.find(".select2-search__field"),searchElement.val()}function e(t){if(t.loading)return'<i class="fa fa-spinner fa-spin" aria-hidden="true"></i> Loading...';var e="<div class='clearfix'>";return e+="<div class='pull-left' style='padding-right: 10px;'>",t.image?e+="<div style='width: 30px;'><img src='"+t.image+"' style='max-height: 20px; max-width: 30px;' alt='"+t.text+"'></div>":e+="<div style='height: 20px; width: 30px;'></div>",e+="</div><div>"+t.text+"</div>",e+="</div>"}function n(t){return t.text.replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}$(".slideout-menu-toggle").on("click",function(t){t.preventDefault();var e=$(".slideout-menu"),n=$(".slideout-menu").width();e.toggleClass("open"),e.hasClass("open")?(e.show(),e.animate({right:"0px"})):(e.animate({right:-n},"-350px"),e.fadeOut())}),$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({checkboxClass:"icheckbox_minimal-blue",radioClass:"iradio_minimal-blue"}),/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream||$('select.select2:not(".select2-hidden-accessible")').each(function(t,e){$(e).select2()}),$(".js-data-ajax").each(function(t,r){var i=$(r),o=i.data("endpoint");i.data("select");i.select2({placeholder:"",allowClear:!0,ajax:{url:Ziggy.baseUrl+"api/v1/"+o+"/selectlist",dataType:"json",delay:250,headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:function(t){var e={search:t.term,page:t.page||1,assetStatusType:i.data("asset-status-type")};return e},processResults:function(t,e){return e.page=e.page||1,{results:t.items,pagination:{more:"true"}}},cache:!0},escapeMarkup:function(t){return t},templateResult:e,templateSelection:n})}),$(".select2-hidden-accessible").on("select2:selecting",function(e){var n=e.params.args.data,r=!1,i=$(this),o=t(i);e.params.args.originalEvent&&(r="mouseup"==e.params.args.originalEvent.type),r||(o.toLowerCase()&&n.text.toLowerCase().indexOf(o)<0?(e.preventDefault(),i.select2("close")):o.toLowerCase()&&n.text.toLowerCase().indexOf(o)>-1&&(e.params.args.noForceAjax=!0))}),$(".select2-hidden-accessible").on("select2:closing",function(e){var n=$(this),r=t(n),i=!1,o=!1;if(e.params.args.originalSelect2Event&&(i=e.params.args.originalSelect2Event.noForceAjax),e.params.args.originalEvent&&(o="mouseup"==e.params.args.originalEvent.type),r&&!i&&!o){var s=n.data("endpoint"),a=n.data("asset-status-type");$.ajax({url:Ziggy.baseUrl+"api/v1/"+s+"/selectlist?search="+r+"&page=1"+(a?"&assetStatusType="+a:""),dataType:"json",headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}}).done(function(t){var e=n.select2("data").map(function(t){return+t.id}).filter(function(t){return 0!==t}),r=t.items.filter(function(t){return e.indexOf(+t.id)<0}),i=e.length>0?r[0]:t.items[0];if(i&&i.id){if(i.selected=!0,$("option[value='"+i.id+"']",n).length<1){var o=new Option(i.text,i.id,!0,!0);n.append(o)}else{var s="multiple"==n.attr("multiple");n.val(s?n.val().concat(i.id):n.val(i.id))}n.trigger("change"),n.trigger({type:"select2:select",params:{data:i}})}})}}),$(function(){$("input[name=checkout_to_type]").on("change",function(){var t=$("input[name=checkout_to_type]:checked").val(),e=$("#assigned_user option:selected").val();"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();function i(t){return t<1024?t+" Bytes":t<1048576?(t/1024).toFixed(2)+" KB":t<1073741824?(t/1048576).toFixed(2)+" MB":(t/1073741824).toFixed(2)+" GB"}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"),n=e+"-status",r=$(n);r.removeClass("text-success").removeClass("text-danger"),$(n+" .goodfile").remove(),$(n+" .badfile").remove(),$(n+" .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+" ("+i(this.files[a].size)+")</span> ");if(s>o)r.addClass("text-danger").removeClass("help-block").prepend('<i class="badfile fa fa-times"></i> ').append('<span class="previewSize"> Upload is '+i(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 n=new FileReader;n.onload=function(t){e.attr("src",t.target.result)},n.readAsDataURL(t.files[0])}}(this,l),l.fadeIn()}})}),function(t){t.fn.toggleDisabled=function(e){return this.each(function(){var n,r=t(this);r.attr("disabled")?(r.removeAttr("disabled"),n=!1):(r.attr("disabled","disabled"),n=!0),e&&"function"==typeof e&&e(this,n)})}}(jQuery)},jbHB:function(t,e){},kxAE:function(t,e){},l4G8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("h2",[t._v("\n OAuth Clients\n ")]),t._v(" "),n("a",{staticClass:"action-link",on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),n("div",{staticClass:"panel-body"},[0===t.clients.length?n("p",{staticClass:"m-b-none"},[t._v("\n You have not created any OAuth clients.\n ")]):t._e(),t._v(" "),t.clients.length>0?n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.clients,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.id)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("code",[t._v(t._s(e.secret))])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link",on:{click:function(n){t.edit(e)}}},[t._v("\n Edit\n ")])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.destroy(e)}}},[t._v("\n Delete\n ")])])])}))]):t._e()])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.createForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.createForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"create-client-name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.name,expression:"createForm.name"}],staticClass:"form-control",attrs:{id:"create-client-name",type:"text","aria-label":"create-client-name"},domProps:{value:t.createForm.name},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.store(e)},input:function(e){e.target.composing||(t.createForm.name=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"redirect"}},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.redirect,expression:"createForm.redirect"}],staticClass:"form-control",attrs:{type:"text","aria-label":"redirect",name:"redirect"},domProps:{value:t.createForm.redirect},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.store(e)},input:function(e){e.target.composing||(t.createForm.redirect=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-edit-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(3),t._v(" "),n("div",{staticClass:"modal-body"},[t.editForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(4),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.editForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"edit-client-name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.name,expression:"editForm.name"}],staticClass:"form-control",attrs:{id:"edit-client-name",type:"text","aria-label":"edit-client-name"},domProps:{value:t.editForm.name},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.update(e)},input:function(e){e.target.composing||(t.editForm.name=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"redirect"}},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.redirect,expression:"editForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect","aria-label":"redirect"},domProps:{value:t.editForm.redirect},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.update(e)},input:function(e){e.target.composing||(t.editForm.redirect=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.update}},[t._v("\n Save Changes\n ")])])])])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Client ID")]),t._v(" "),n("th",[t._v("Name")]),t._v(" "),n("th",[t._v("Secret")]),t._v(" "),n("th",[n("span",{staticClass:"sr-only"},[t._v("Edit")])]),t._v(" "),n("th",[n("span",{staticClass:"sr-only"},[t._v("Delete")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h2",{staticClass:"modal-title"},[this._v("\n Create Client\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h2",{staticClass:"modal-title"},[this._v("\n Edit Client\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])}]}},l9CE:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["file","customFields"],data:function(){return{activeFile:this.file,processDetail:!1,statusText:null,statusType:null,options:{importType:this.file.import_type,update:!1,importTypes:[{id:"asset",text:"Assets"},{id:"accessory",text:"Accessories"},{id:"consumable",text:"Consumables"},{id:"component",text:"Components"},{id:"license",text:"Licenses"},{id:"user",text:"Users"}],statusText:null},columnOptions:{general:[{id:"category",text:"Category"},{id:"company",text:"Company"},{id:"checkout_to",text:"Checked out to"},{id:"email",text:"Email"},{id:"item_name",text:"Item Name"},{id:"location",text:"Location"},{id:"maintained",text:"Maintained"},{id:"manufacturer",text:"Manufacturer"},{id:"notes",text:"Notes"},{id:"order_number",text:"Order Number"},{id:"purchase_cost",text:"Purchase Cost"},{id:"purchase_date",text:"Purchase Date"},{id:"quantity",text:"Quantity"},{id:"requestable",text:"Requestable"},{id:"serial",text:"Serial Number"},{id:"supplier",text:"Supplier"},{id:"username",text:"Username"},{id:"department",text:"Department"}],assets:[{id:"asset_tag",text:"Asset Tag"},{id:"asset_model",text:"Model Name"},{id:"checkout_class",text:"Checkout Type"},{id:"checkout_location",text:"Checkout Location"},{id:"image",text:"Image Filename"},{id:"model_number",text:"Model Number"},{id:"full_name",text:"Full Name"},{id:"status",text:"Status"},{id:"warranty_months",text:"Warranty Months"}],consumables:[{id:"item_no",text:"Item Number"},{id:"model_number",text:"Model Number"}],licenses:[{id:"expiration_date",text:"Expiration Date"},{id:"license_email",text:"Licensed To Email"},{id:"license_name",text:"Licensed To Name"},{id:"purchase_order",text:"Purchase Order"},{id:"reassignable",text:"Reassignable"},{id:"seats",text:"Seats"}],users:[{id:"employee_num",text:"Employee Number"},{id:"first_name",text:"First Name"},{id:"jobtitle",text:"Job Title"},{id:"last_name",text:"Last Name"},{id:"phone_number",text:"Phone Number"},{id:"manager_first_name",text:"Manager First Name"},{id:"manager_last_name",text:"Manager Last Name"},{id:"department",text:"Department"},{id:"activated",text:"Activated"}],customFields:this.customFields},columnMappings:this.file.field_map||{},activeColumn:null}},created:function(){window.eventHub.$on("showDetails",this.toggleExtendedDisplay),this.populateSelect2ActiveItems()},computed:{columns:function(){function t(t,e){return t.text<e.text?-1:t.text>e.text?1:0}switch(this.options.importType){case"asset":return this.columnOptions.general.concat(this.columnOptions.assets).concat(this.columnOptions.customFields).sort(t);case"consumable":return this.columnOptions.general.concat(this.columnOptions.consumables).sort(t);case"license":return this.columnOptions.general.concat(this.columnOptions.licenses).sort(t);case"user":return this.columnOptions.general.concat(this.columnOptions.users).sort(t)}return this.columnOptions.general},alertClass:function(){return"success"==this.statusType?"alert-success":"error"==this.statusType?"alert-danger":"alert-info"}},watch:{columns:function(){this.populateSelect2ActiveItems()}},methods:{postSave:function(){var t=this;if(console.log("saving"),console.log(this.options.importType),!this.options.importType)return this.statusType="error",void(this.statusText="An import type is required... ");this.statusType="pending",this.statusText="Processing...",this.$http.post(route("api.imports.importFile",this.file.id),{"import-update":this.options.update,"send-welcome":this.options.send_welcome,"import-type":this.options.importType,"run-backup":this.options.run_backup,"column-mappings":this.columnMappings}).then(function(e){var n=e.body;t.statusType="success",t.statusText="Success... Redirecting.",window.location.href=n.messages.redirect_url},function(e){var n=e.body;"import-errors"==n.status?(window.eventHub.$emit("importErrors",n.messages),t.statusType="error",t.statusText="Error"):t.$emit("alert",{message:n.messages,type:"danger",visible:!0}),t.displayImportModal=!1})},populateSelect2ActiveItems:function(){if(null==this.file.field_map){for(var t=0;t<this.file.header_row.length;t++)this.$set(this.columnMappings,this.file.header_row[t],null);for(var e=0;e<this.columns.length;e++){var n=this.columns[e],r=this.file.header_row.map(function(t){return t.toLowerCase()}).indexOf(n.text.toLowerCase());-1!=r&&this.$set(this.columnMappings,this.file.header_row[r],n.id)}}},toggleExtendedDisplay:function(t){t==this.file.id&&(this.processDetail=!this.processDetail)},updateModel:function(t,e){this.columnMappings[t]=e}},components:{select2:n("YDmc")}}},lAxH:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default={props:["tokenUrl","scopesUrl"],data:function(){return{accessToken:null,tokens:[],scopes:[],form:{name:"",scopes:[],errors:[]}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens(),this.getScopes(),$("#modal-create-token").on("shown.bs.modal",function(){$("#create-token-name").focus()})},getTokens:function(){var t=this;this.$http.get(this.tokenUrl).then(function(e){t.tokens=e.data})},getScopes:function(){var t=this;this.$http.get(this.scopesUrl).then(function(e){t.scopes=e.data})},showCreateTokenForm:function(){$("#modal-create-token").modal("show")},store:function(){var t=this;this.accessToken=null,this.form.errors=[],this.$http.post(this.tokenUrl,this.form).then(function(e){t.form.name="",t.form.scopes=[],t.form.errors=[],t.tokens.push(e.data.token),t.showAccessToken(e.data.accessToken)}).catch(function(e){"object"===r(e.data)?t.form.errors=_.flatten(_.toArray(e.data)):(console.dir(t.form),t.form.errors=["Something went wrong. Please try again."])})},toggleScope:function(t){this.scopeIsAssigned(t)?this.form.scopes=_.reject(this.form.scopes,function(e){return e==t}):this.form.scopes.push(t)},scopeIsAssigned:function(t){return _.indexOf(this.form.scopes,t)>=0},showAccessToken:function(t){$("#modal-create-token").modal("hide"),this.accessToken=t,$("#modal-access-token").modal("show")},revoke:function(t){var e=this;this.$http.delete(this.tokenUrl+"/"+t.id).then(function(t){e.getTokens()})}}}},lafA:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.show&&t.fields.length?n("div",[n("div",{staticClass:"form-group"},[n("fieldset",[n("legend",{staticClass:"col-md-3 control-label"},[t._v("Default Values")]),t._v(" "),n("div",{staticClass:"col-sm-8 col-xl-7"},[t.error?n("p",[t._v("\n There was a problem retrieving the fields for this fieldset.\n ")]):t._e(),t._v(" "),t._l(t.fields,function(e){return n("div",{staticClass:"row"},[n("div",{staticClass:"col-sm-12 col-lg-6"},[n("label",{staticClass:"control-label",attrs:{for:"default-value"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),n("div",{staticClass:"col-sm-12 col-lg-6"},["text"==e.type?n("input",{staticClass:"form-control m-b-xs",attrs:{type:"text",id:"default-value"+e.id,name:"default_values["+e.id+"]"},domProps:{value:t.getValue(e)}}):t._e(),t._v(" "),"textarea"==e.type?n("textarea",{staticClass:"form-control",attrs:{id:"default-value"+e.id,name:"default_values["+e.id+"]"},domProps:{value:t.getValue(e)}}):t._e(),n("br"),t._v(" "),"listbox"==e.type?n("select",{staticClass:"form-control m-b-xs",attrs:{name:"default_values["+e.id+"]"}},[n("option",{attrs:{value:""}}),t._v(" "),t._l(e.field_values_array,function(r){return n("option",{domProps:{value:r,selected:t.getValue(e)==r}},[t._v(t._s(r))])})],2):t._e()])])})],2)])])]):t._e()])},staticRenderFns:[]}},m5pD:function(t,e){},mttk:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("h2",[t._v("\n Personal Access Tokens\n ")]),t._v(" "),n("a",{staticClass:"action-link",on:{click:t.showCreateTokenForm}},[t._v("\n Create New Token\n ")])])]),t._v(" "),n("div",{staticClass:"panel-body"},[0===t.tokens.length?n("p",{staticClass:"m-b-none"},[t._v("\n You have not created any personal access tokens.\n ")]):t._e(),t._v(" "),t.tokens.length>0?n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.revoke(e)}}},[t._v("\n Delete\n ")])])])}))]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.form.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.form.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"},on:{submit:function(e){e.preventDefault(),t.store(e)}}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label",attrs:{for:"name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.name,expression:"form.name"}],staticClass:"form-control",attrs:{id:"create-token-name",type:"text","aria-label":"name",name:"name"},domProps:{value:t.form.name},on:{input:function(e){e.target.composing||(t.form.name=e.target.value)}}})])]),t._v(" "),t.scopes.length>0?n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label"},[t._v("Scopes")]),t._v(" "),n("div",{staticClass:"col-md-6"},t._l(t.scopes,function(e){return n("div",[n("div",{staticClass:"checkbox"},[n("label",[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.scopeIsAssigned(e.id)},on:{click:function(n){t.toggleScope(e.id)}}}),t._v("\n\n "+t._s(e.id)+"\n ")])])])}))]):t._e()])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn primary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-access-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(3),t._v(" "),n("div",{staticClass:"modal-body"},[n("p",[t._v("\n Here is your new personal access token. This is the only time it will be shown so don't lose it!\n You may now use this token to make API requests.\n ")]),t._v(" "),n("pre",[n("code",[t._v(t._s(t.accessToken))])])]),t._v(" "),t._m(4)])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th",[e("span",{staticClass:"sr-only"},[this._v("Delete")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Create Token\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Personal Access Token\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[this._v("Close")])])}]}},oTR8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.tokens.length>0?n("div",[n("div",{staticClass:"panel panel-default"},[n("h2",{staticClass:"panel-heading"},[t._v("Authorized Applications")]),t._v(" "),n("div",{staticClass:"panel-body"},[n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.client.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[e.scopes.length>0?n("span",[t._v("\n "+t._s(e.scopes.join(", "))+"\n ")]):t._e()]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.revoke(e)}}},[t._v("\n Revoke\n ")])])])}))])])])]):t._e()])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Scopes")]),this._v(" "),e("th",[e("span",{staticClass:"sr-only"},[this._v("Delete")])])])])}]}},ooDj:function(t,e,n){var r=n("VU/8")(n("20cu"),n("oTR8"),!1,function(t){n("8Hdb")},"data-v-18abfa16",null);t.exports=r.exports},pQUU:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-18abfa16]{cursor:pointer}.m-b-none[data-v-18abfa16]{margin-bottom:0}",""])},rjj0:function(t,e,n){var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i=n("tTVk"),o={},s=r&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,u=!1,c=function(){},f=null,d="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(g(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(g(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:s}}}}function v(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function g(t){var e,n,r=document.querySelector("style["+d+'~="'+t.id+'"]');if(r){if(u)return c;r.parentNode.removeChild(r)}if(p){var i=l++;r=a||(a=v()),e=_.bind(null,r,i,!1),n=_.bind(null,r,i,!0)}else r=v(),e=function(t,e){var n=e.css,r=e.media,i=e.sourceMap;r&&t.setAttribute("media",r);f.ssrId&&t.setAttribute(d,e.id);i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}t.exports=function(t,e,n,r){u=n,f=r||{};var s=i(t,e);return h(s),function(e){for(var n=[],r=0;r<s.length;r++){var a=s[r];(l=o[a.id]).refs--,n.push(l)}e?h(s=i(t,e)):s=[];for(r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete o[l.id]}}}};var m,y=(m=[],function(t,e){return m[t]=e,m.filter(Boolean).join("\n")});function _(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}},rqPf:function(t,e,n){var r=n("hLk5");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("1ab6df0e",r,!0,{})},sJcK:function(t,e,n){var r=n("VU/8")(n("l9CE"),n("bU+R"),!1,function(t){n("uOaM")},null,null);t.exports=r.exports},t80F:function(t,e){},tTVk:function(t,e){t.exports=function(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[s]?r[s].parts.push(a):n.push(r[s]={id:s,parts:[a]})}return n}},tZpc:function(t,e,n){var r=n("g9VR");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("2e084566",r,!0,{})},uOaM:function(t,e,n){var r=n("Z4O5");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("3354428a",r,!0,{})},vvpX:function(t,e){},yDVJ:function(t,e,n){var r=n("VU/8")(n("zJOD"),n("zkjN"),!1,function(t){n("tZpc")},"data-v-3351e4cf",null);t.exports=r.exports},yd7E:function(t,e){},z1kw:function(t,e,n){var r,i,o,s;s=function(t){var e,n=0,r=Array.prototype.slice;return t.cleanData=(e=t.cleanData,function(n){var r,i,o;for(o=0;null!=(i=n[o]);o++)try{(r=t._data(i,"events"))&&r.remove&&t(i).triggerHandler("remove")}catch(t){}e(n)}),t.widget=function(e,n,r){var i,o,s,a={},l=e.split(".")[0],u=l+"-"+(e=e.split(".")[1]);return r||(r=n,n=t.Widget),t.isArray(r)&&(r=t.extend.apply(null,[{}].concat(r))),t.expr[":"][u.toLowerCase()]=function(e){return!!t.data(e,u)},t[l]=t[l]||{},i=t[l][e],o=t[l][e]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},t.extend(o,i,{version:r.version,_proto:t.extend({},r),_childConstructors:[]}),(s=new n).options=t.widget.extend({},s.options),t.each(r,function(e,r){t.isFunction(r)?a[e]=function(){function t(){return n.prototype[e].apply(this,arguments)}function i(t){return n.prototype[e].apply(this,t)}return function(){var e,n=this._super,o=this._superApply;return this._super=t,this._superApply=i,e=r.apply(this,arguments),this._super=n,this._superApply=o,e}}():a[e]=r}),o.prototype=t.widget.extend(s,{widgetEventPrefix:i&&s.widgetEventPrefix||e},a,{constructor:o,namespace:l,widgetName:e,widgetFullName:u}),i?(t.each(i._childConstructors,function(e,n){var r=n.prototype;t.widget(r.namespace+"."+r.widgetName,o,n._proto)}),delete i._childConstructors):n._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var n,i,o=r.call(arguments,1),s=0,a=o.length;s<a;s++)for(n in o[s])i=o[s][n],o[s].hasOwnProperty(n)&&void 0!==i&&(t.isPlainObject(i)?e[n]=t.isPlainObject(e[n])?t.widget.extend({},e[n],i):t.widget.extend({},i):e[n]=i);return e},t.widget.bridge=function(e,n){var i=n.prototype.widgetFullName||e;t.fn[e]=function(o){var s="string"==typeof o,a=r.call(arguments,1),l=this;return s?this.length||"instance"!==o?this.each(function(){var n,r=t.data(this,i);return"instance"===o?(l=r,!1):r?t.isFunction(r[o])&&"_"!==o.charAt(0)?(n=r[o].apply(r,a))!==r&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0:t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")}):l=void 0:(a.length&&(o=t.widget.extend.apply(null,[o].concat(a))),this.each(function(){var e=t.data(this,i);e?(e.option(o||{}),e._init&&e._init()):t.data(this,i,new n(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,r){r=t(r||this.defaultElement||this)[0],this.element=t(r),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},r!==this&&(t.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===r&&this.destroy()}}),this.document=t(r.style?r.ownerDocument:r.document||r),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,n){e._removeClass(n,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var r,i,o,s=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(s={},e=(r=e.split(".")).shift(),r.length){for(i=s[e]=t.widget.extend({},this.options[e]),o=0;o<r.length-1;o++)i[r[o]]=i[r[o]]||{},i=i[r[o]];if(e=r.pop(),1===arguments.length)return void 0===i[e]?null:i[e];i[e]=n}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];s[e]=n}return this._setOptions(s),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var n,r,i;for(n in e)i=this.classesElementLookup[n],e[n]!==this.options.classes[n]&&i&&i.length&&(r=t(i.get()),this._removeClass(i,n),r.addClass(this._classes({element:r,keys:n,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){var n=[],r=this;function i(i,o){var s,a;for(a=0;a<i.length;a++)s=r.classesElementLookup[i[a]]||t(),s=e.add?t(t.unique(s.get().concat(e.element.get()))):t(s.not(e.element).get()),r.classesElementLookup[i[a]]=s,n.push(i[a]),o&&e.classes[i[a]]&&n.push(e.classes[i[a]])}return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),n.join(" ")},_untrackClassesElement:function(e){var n=this;t.each(n.classesElementLookup,function(r,i){-1!==t.inArray(e.target,i)&&(n.classesElementLookup[r]=t(i.not(e.target).get()))})},_removeClass:function(t,e,n){return this._toggleClass(t,e,n,!1)},_addClass:function(t,e,n){return this._toggleClass(t,e,n,!0)},_toggleClass:function(t,e,n,r){r="boolean"==typeof r?r:n;var i="string"==typeof t||null===t,o={extra:i?e:n,keys:i?t:e,element:i?this.element:t,add:r};return o.element.toggleClass(this._classes(o),r),this},_on:function(e,n,r){var i,o=this;"boolean"!=typeof e&&(r=n,n=e,e=!1),r?(n=i=t(n),this.bindings=this.bindings.add(n)):(r=n,n=this.element,i=this.widget()),t.each(r,function(r,s){function a(){if(e||!0!==o.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof s?o[s]:s).apply(o,arguments)}"string"!=typeof s&&(a.guid=s.guid=s.guid||a.guid||t.guid++);var l=r.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+o.eventNamespace,c=l[2];c?i.on(u,c,a):n.on(u,a)})},_off:function(e,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(n).off(n),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){var n=this;return setTimeout(function(){return("string"==typeof t?n[t]:t).apply(n,arguments)},e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,n,r){var i,o,s=this.options[e];if(r=r||{},(n=t.Event(n)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n.target=this.element[0],o=n.originalEvent)for(i in o)i in n||(n[i]=o[i]);return this.element.trigger(n,r),!(t.isFunction(s)&&!1===s.apply(this.element[0],[n].concat(r))||n.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,n){t.Widget.prototype["_"+e]=function(r,i,o){var s;"string"==typeof i&&(i={effect:i});var a=i?!0===i||"number"==typeof i?n:i.effect||n:e;"number"==typeof(i=i||{})&&(i={duration:i}),s=!t.isEmptyObject(i),i.complete=o,i.delay&&r.delay(i.delay),s&&t.effects&&t.effects.effect[a]?r[e](i):a!==e&&r[a]?r[a](i.duration,i.easing,o):r.queue(function(n){t(this)[e](),o&&o.call(r[0]),n()})}}),t.widget},i=[n("7t+N"),n("UZ9c")],void 0===(o="function"==typeof(r=s)?r.apply(e,i):r)||(t.exports=o)},zJOD:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["errors"]}},zkjN:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.errors?n("div",{staticClass:"box"},[n("div",{staticClass:"box-body"},[t._m(0),t._v(" "),n("div",{staticClass:"errors-table"},[n("table",{staticClass:"table table-striped table-bordered",attrs:{id:"errors-table"}},[t._m(1),t._v(" "),n("tbody",t._l(t.errors,function(e,r){return n("tr",[n("td",[t._v(t._s(r))]),t._v(" "),t._l(e,function(e,r){return n("td",[n("b",[t._v(t._s(r)+":")]),t._v(" "),t._l(e,function(e){return n("span",[t._v(t._s(e[0]))])}),t._v(" "),n("br")],2)})],2)}))])])])]):t._e()},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"alert alert-warning"},[e("strong",[this._v("Warning")]),this._v(" Some Errors occured while importing\n ")])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("th",[this._v("Item")]),this._v(" "),e("th",[this._v("Errors")])])}]}}});
\ No newline at end of file
+!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=0)}({"+sje":function(t,e,n){var r=n("VU/8")(n("eOaq"),n("lafA"),!1,function(t){n("4UNm")},"data-v-3bdd24a5",null);t.exports=r.exports},0:function(t,e,n){n("GDnL"),n("hw3k"),n("aKHO"),n("9ozO"),n("1CH1"),n("f5J3"),n("yd7E"),n("m5pD"),n("JfWP"),n("Pq8s"),n("WM06"),n("t80F"),n("2WJo"),n("F7gb"),n("jbHB"),n("a5IG"),n("1dC+"),n("0hTo"),n("vvpX"),n("4Jtp"),t.exports=n("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,n){"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()})}}}},"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,n){var r=n("HB0T");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("5d321c9c",r,!0,{})},"5F58":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("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,n){t.progress.currentClass="progress-bar-success",t.progress.statusText="Success!",t.files=n.result.files.concat(t.files),console.log(n.result.header_row)},add:function(e,n){n.headers={"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":Laravel.csrfToken},n.process().done(function(){n.submit()}),t.progress.visible=!0},progress:function(e,n){var r=parseInt((n.loaded,n.total,10));t.progress.currentPercent=r,t.progress.statusText=r+"% Complete"},fail:function(e,n){t.progress.currentClass="progress-bar-danger",t.progress.statusText=n.jqXHR.responseJSON.messages}})},methods:{fetchFiles:function(){var t=this;this.$http.get(route("api.imports.index")).then(function(e){var n=e.data;return t.files=n},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 n=e.data;(n=n.rows).forEach(function(e){t.customFields.push({id:e.db_column_name,text:e.name})})})},deleteFile:function(t,e){var n=this;this.$http.delete(route("api.imports.destroy",t.id)).then(function(t){n.files.splice(e,1),n.alert.type=t.body.status,n.alert.visible=!0,n.alert.message=t.body.messages},function(t){n.alert.type="error",n.alert.visible=!0,n.alert.message=t.body.messages})},toggleEvent:function(t){window.eventHub.$emit("showDetails",t)},updateAlert:function(t){this.alert=t},updateImportErrors:function(t){this.importErrors=t}},computed:{progressWidth:function(){return"width: "+10*this.progress.currentPercent+"%"}},components:{alert:n("b7rt"),errors:n("yDVJ"),importFile:n("sJcK")}}},"5m3O":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default={props:["clientsUrl"],data:function(){return{clients:[],createForm:{errors:[],name:"",redirect:""},editForm:{errors:[],name:"",redirect:""}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getClients(),$("#modal-create-client").on("shown.bs.modal",function(){$("#create-client-name").focus()}),$("#modal-edit-client").on("shown.bs.modal",function(){$("#edit-client-name").focus()})},getClients:function(){var t=this;this.$http.get(this.clientsUrl).then(function(e){t.clients=e.data})},showCreateClientForm:function(){$("#modal-create-client").modal("show")},store:function(){this.persistClient("post",this.clientsUrl,this.createForm,"#modal-create-client")},edit:function(t){this.editForm.id=t.id,this.editForm.name=t.name,this.editForm.redirect=t.redirect,$("#modal-edit-client").modal("show")},update:function(){this.persistClient("put",this.clientsUrl+"/"+this.editForm.id,this.editForm,"#modal-edit-client")},persistClient:function(t,e,n,i){var o=this;console.log("persisting"),n.errors=[],console.log("method: "+t),this.$http[t](e,n).then(function(t){o.getClients(),n.name="",n.redirect="",n.errors=[],$(i).modal("hide")}).catch(function(t){"object"===r(t.data)?n.errors=_.flatten(_.toArray(t.data)):n.errors=["Something went wrong. Please try again."]})},destroy:function(t){var e=this;this.$http.delete(this.clientsUrl+"/"+t.id).then(function(t){e.getClients()})}}}},"7t+N":function(t,e,n){var r;!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,i){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,l=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},u=o.push,c=o.indexOf,f={},d=f.toString,p=f.hasOwnProperty,h=p.toString,v=h.call(Object),g={},m=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function(t){return null!=t&&t===t.window},_=n.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){var r,i,o=(n=n||_).createElement("script");if(o.text=t,e)for(r in b)(i=e[r]||e.getAttribute&&e.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?f[d.call(t)]||"object":typeof t}var C=function(t,e){return new C.fn.init(t,e)};function $(t){var e=!!t&&"length"in t&&t.length,n=x(t);return!m(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}C.fn=C.prototype={jquery:"3.5.0",constructor:C,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=C.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return C.each(this,t)},map:function(t){return this.pushStack(C.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(C.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:o.sort,splice:o.splice},C.extend=C.fn.extend=function(){var t,e,n,r,i,o,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||m(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)r=t[e],"__proto__"!==e&&s!==r&&(u&&r&&(C.isPlainObject(r)||(i=Array.isArray(r)))?(n=s[e],o=i&&!Array.isArray(n)?[]:i||C.isPlainObject(n)?n:{},i=!1,s[e]=C.extend(u,o,r)):void 0!==r&&(s[e]=r));return s},C.extend({expando:"jQuery"+("3.5.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==d.call(t))&&(!(e=s(t))||"function"==typeof(n=p.call(e,"constructor")&&e.constructor)&&h.call(n)===v)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){w(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,r=0;if($(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&($(Object(t))?C.merge(n,"string"==typeof t?[t]:t):u.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:c.call(e,t,n)},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,s=!n;i<o;i++)!e(t[i],i)!==s&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,s=[];if($(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&s.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&s.push(i);return l(s)},guid:1,support:g}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=o[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){f["[object "+e+"]"]=e.toLowerCase()});var T=function(t){var e,n,r,i,o,s,a,l,u,c,f,d,p,h,v,g,m,y,_,b="sizzle"+1*new Date,w=t.document,x=0,C=0,$=lt(),T=lt(),A=lt(),k=lt(),E=function(t,e){return t===e&&(f=!0),0},S={}.hasOwnProperty,O=[],D=O.pop,j=O.push,N=O.push,I=O.slice,R=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",P="[\\x20\\t\\r\\n\\f]",F="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",M="\\["+P+"*("+F+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+P+"*\\]",U=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",q=new RegExp(P+"+","g"),H=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g"),z=new RegExp("^"+P+"*,"+P+"*"),B=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),W=new RegExp(P+"|>"),V=new RegExp(U),X=new RegExp("^"+F+"$"),G={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+U),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},rt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=function(){d()},st=bt(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{N.apply(O=I.call(w.childNodes),w.childNodes),O[w.childNodes.length].nodeType}catch(t){N={apply:O.length?function(t,e){j.apply(t,I.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function at(t,e,r,i){var o,a,u,c,f,h,m,y=e&&e.ownerDocument,w=e?e.nodeType:9;if(r=r||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return r;if(!i&&(d(e),e=e||p,v)){if(11!==w&&(f=Y.exec(t)))if(o=f[1]){if(9===w){if(!(u=e.getElementById(o)))return r;if(u.id===o)return r.push(u),r}else if(y&&(u=y.getElementById(o))&&_(e,u)&&u.id===o)return r.push(u),r}else{if(f[2])return N.apply(r,e.getElementsByTagName(t)),r;if((o=f[3])&&n.getElementsByClassName&&e.getElementsByClassName)return N.apply(r,e.getElementsByClassName(o)),r}if(n.qsa&&!k[t+" "]&&(!g||!g.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(m=t,y=e,1===w&&(W.test(t)||B.test(t))){for((y=tt.test(t)&&mt(e.parentNode)||e)===e&&n.scope||((c=e.getAttribute("id"))?c=c.replace(rt,it):e.setAttribute("id",c=b)),a=(h=s(t)).length;a--;)h[a]=(c?"#"+c:":scope")+" "+_t(h[a]);m=h.join(",")}try{return N.apply(r,y.querySelectorAll(m)),r}catch(e){k(t,!0)}finally{c===b&&e.removeAttribute("id")}}}return l(t.replace(H,"$1"),e,r,i)}function lt(){var t=[];return function e(n,i){return t.push(n+" ")>r.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function ut(t){return t[b]=!0,t}function ct(t){var e=p.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ft(t,e){for(var n=t.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=e}function dt(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function pt(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function vt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function gt(t){return ut(function(e){return e=+e,ut(function(n,r){for(var i,o=t([],n.length,e),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function mt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=at.support={},o=at.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!K.test(e||n&&n.nodeName||"HTML")},d=at.setDocument=function(t){var e,i,s=t?t.ownerDocument||t:w;return s!=p&&9===s.nodeType&&s.documentElement?(h=(p=s).documentElement,v=!o(p),w!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",ot,!1):i.attachEvent&&i.attachEvent("onunload",ot)),n.scope=ct(function(t){return h.appendChild(t).appendChild(p.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),n.attributes=ct(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=ct(function(t){return t.appendChild(p.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ct(function(t){return h.appendChild(t).id=b,!p.getElementsByName||!p.getElementsByName(b).length}),n.getById?(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n=e.getElementById(t);return n?[n]:[]}}):(r.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},r.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&v)return e.getElementsByClassName(t)},m=[],g=[],(n.qsa=Q.test(p.querySelectorAll))&&(ct(function(t){var e;h.appendChild(t).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+L+")"),t.querySelectorAll("[id~="+b+"-]").length||g.push("~="),(e=p.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||g.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]"),t.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")}),ct(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=p.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+P+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Q.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ct(function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),m.push("!=",U)}),g=g.length&&new RegExp(g.join("|")),m=m.length&&new RegExp(m.join("|")),e=Q.test(h.compareDocumentPosition),_=e||Q.test(h.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,r=e&&e.parentNode;return t===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):t.compareDocumentPosition&&16&t.compareDocumentPosition(r)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},E=e?function(t,e){if(t===e)return f=!0,0;var r=!t.compareDocumentPosition-!e.compareDocumentPosition;return r||(1&(r=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===r?t==p||t.ownerDocument==w&&_(w,t)?-1:e==p||e.ownerDocument==w&&_(w,e)?1:c?R(c,t)-R(c,e):0:4&r?-1:1)}:function(t,e){if(t===e)return f=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,s=[t],a=[e];if(!i||!o)return t==p?-1:e==p?1:i?-1:o?1:c?R(c,t)-R(c,e):0;if(i===o)return dt(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?dt(s[r],a[r]):s[r]==w?-1:a[r]==w?1:0},p):p},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(d(t),n.matchesSelector&&v&&!k[e+" "]&&(!m||!m.test(e))&&(!g||!g.test(e)))try{var r=y.call(t,e);if(r||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return r}catch(t){k(e,!0)}return at(e,p,null,[t]).length>0},at.contains=function(t,e){return(t.ownerDocument||t)!=p&&d(t),_(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=p&&d(t);var i=r.attrHandle[e.toLowerCase()],o=i&&S.call(r.attrHandle,e.toLowerCase())?i(t,e,!v):void 0;return void 0!==o?o:n.attributes||!v?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},at.escape=function(t){return(t+"").replace(rt,it)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(E),f){for(;e=t[o++];)e===t[o]&&(i=r.push(o));for(;i--;)t.splice(r[i],1)}return c=null,t},i=at.getText=function(t){var e,n="",r=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=i(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[r++];)n+=i(e);return n},(r=at.selectors={cacheLength:50,createPseudo:ut,match:G,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(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===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]||at.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]&&at.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&V.test(n)&&(e=s(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=$[t+" "];return e||(e=new RegExp("(^|"+P+")"+t+"("+P+"|$)"))&&$(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(r){var i=at.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(q," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,l){var u,c,f,d,p,h,v=o!==s?"nextSibling":"previousSibling",g=e.parentNode,m=a&&e.nodeName.toLowerCase(),y=!l&&!a,_=!1;if(g){if(o){for(;v;){for(d=e;d=d[v];)if(a?d.nodeName.toLowerCase()===m:1===d.nodeType)return!1;h=v="only"===t&&!h&&"nextSibling"}return!0}if(h=[s?g.firstChild:g.lastChild],s&&y){for(_=(p=(u=(c=(f=(d=g)[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]||[])[0]===x&&u[1])&&u[2],d=p&&g.childNodes[p];d=++p&&d&&d[v]||(_=p=0)||h.pop();)if(1===d.nodeType&&++_&&d===e){c[t]=[x,p,_];break}}else if(y&&(_=p=(u=(c=(f=(d=e)[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]||[])[0]===x&&u[1]),!1===_)for(;(d=++p&&d&&d[v]||(_=p=0)||h.pop())&&((a?d.nodeName.toLowerCase()!==m:1!==d.nodeType)||!++_||(y&&((c=(f=d[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[t]=[x,_]),d!==e)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(t,e){var n,i=r.pseudos[t]||r.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return i[b]?i(e):i.length>1?(n=[t,t,"",e],r.setFilters.hasOwnProperty(t.toLowerCase())?ut(function(t,n){for(var r,o=i(t,e),s=o.length;s--;)t[r=R(t,o[s])]=!(n[r]=o[s])}):function(t){return i(t,0,n)}):i}},pseudos:{not:ut(function(t){var e=[],n=[],r=a(t.replace(H,"$1"));return r[b]?ut(function(t,e,n,i){for(var o,s=r(t,null,i,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:ut(function(t){return function(e){return at(t,e).length>0}}),contains:ut(function(t){return t=t.replace(et,nt),function(e){return(e.textContent||i(e)).indexOf(t)>-1}}),lang:ut(function(t){return X.test(t||"")||at.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=v?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:vt(!1),disabled:vt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!r.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return Z.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:gt(function(){return[0]}),last:gt(function(t,e){return[e-1]}),eq:gt(function(t,e,n){return[n<0?n+e:n]}),even:gt(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:gt(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:gt(function(t,e,n){for(var r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t}),gt:gt(function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[e]=pt(e);for(e in{submit:!0,reset:!0})r.pseudos[e]=ht(e);function yt(){}function _t(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function bt(t,e,n){var r=e.dir,i=e.next,o=i||r,s=n&&"parentNode"===o,a=C++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||s)return t(e,n,i);return!1}:function(e,n,l){var u,c,f,d=[x,a];if(l){for(;e=e[r];)if((1===e.nodeType||s)&&t(e,n,l))return!0}else for(;e=e[r];)if(1===e.nodeType||s)if(c=(f=e[b]||(e[b]={}))[e.uniqueID]||(f[e.uniqueID]={}),i&&i===e.nodeName.toLowerCase())e=e[r]||e;else{if((u=c[o])&&u[0]===x&&u[1]===a)return d[2]=u[2];if(c[o]=d,d[2]=t(e,n,l))return!0}return!1}}function wt(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function xt(t,e,n,r,i){for(var o,s=[],a=0,l=t.length,u=null!=e;a<l;a++)(o=t[a])&&(n&&!n(o,r,i)||(s.push(o),u&&e.push(a)));return s}function Ct(t,e,n,r,i,o){return r&&!r[b]&&(r=Ct(r)),i&&!i[b]&&(i=Ct(i,o)),ut(function(o,s,a,l){var u,c,f,d=[],p=[],h=s.length,v=o||function(t,e,n){for(var r=0,i=e.length;r<i;r++)at(t,e[r],n);return n}(e||"*",a.nodeType?[a]:a,[]),g=!t||!o&&e?v:xt(v,d,t,a,l),m=n?i||(o?t:h||r)?[]:s:g;if(n&&n(g,m,a,l),r)for(u=xt(m,p),r(u,[],a,l),c=u.length;c--;)(f=u[c])&&(m[p[c]]=!(g[p[c]]=f));if(o){if(i||t){if(i){for(u=[],c=m.length;c--;)(f=m[c])&&u.push(g[c]=f);i(null,m=[],u,l)}for(c=m.length;c--;)(f=m[c])&&(u=i?R(o,f):d[c])>-1&&(o[u]=!(s[u]=f))}}else m=xt(m===s?m.splice(h,m.length):m),i?i(null,s,m,l):N.apply(s,m)})}function $t(t){for(var e,n,i,o=t.length,s=r.relative[t[0].type],a=s||r.relative[" "],l=s?1:0,c=bt(function(t){return t===e},a,!0),f=bt(function(t){return R(e,t)>-1},a,!0),d=[function(t,n,r){var i=!s&&(r||n!==u)||((e=n).nodeType?c(t,n,r):f(t,n,r));return e=null,i}];l<o;l++)if(n=r.relative[t[l].type])d=[bt(wt(d),n)];else{if((n=r.filter[t[l].type].apply(null,t[l].matches))[b]){for(i=++l;i<o&&!r.relative[t[i].type];i++);return Ct(l>1&&wt(d),l>1&&_t(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(H,"$1"),n,l<i&&$t(t.slice(l,i)),i<o&&$t(t=t.slice(i)),i<o&&_t(t))}d.push(n)}return wt(d)}return yt.prototype=r.filters=r.pseudos,r.setFilters=new yt,s=at.tokenize=function(t,e){var n,i,o,s,a,l,u,c=T[t+" "];if(c)return e?0:c.slice(0);for(a=t,l=[],u=r.preFilter;a;){for(s in n&&!(i=z.exec(a))||(i&&(a=a.slice(i[0].length)||a),l.push(o=[])),n=!1,(i=B.exec(a))&&(n=i.shift(),o.push({value:n,type:i[0].replace(H," ")}),a=a.slice(n.length)),r.filter)!(i=G[s].exec(a))||u[s]&&!(i=u[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),a=a.slice(n.length));if(!n)break}return e?a.length:a?at.error(t):T(t,l).slice(0)},a=at.compile=function(t,e){var n,i=[],o=[],a=A[t+" "];if(!a){for(e||(e=s(t)),n=e.length;n--;)(a=$t(e[n]))[b]?i.push(a):o.push(a);(a=A(t,function(t,e){var n=e.length>0,i=t.length>0,o=function(o,s,a,l,c){var f,h,g,m=0,y="0",_=o&&[],b=[],w=u,C=o||i&&r.find.TAG("*",c),$=x+=null==w?1:Math.random()||.1,T=C.length;for(c&&(u=s==p||s||c);y!==T&&null!=(f=C[y]);y++){if(i&&f){for(h=0,s||f.ownerDocument==p||(d(f),a=!v);g=t[h++];)if(g(f,s||p,a)){l.push(f);break}c&&(x=$)}n&&((f=!g&&f)&&m--,o&&_.push(f))}if(m+=y,n&&y!==m){for(h=0;g=e[h++];)g(_,b,s,a);if(o){if(m>0)for(;y--;)_[y]||b[y]||(b[y]=D.call(l));b=xt(b)}N.apply(l,b),c&&!o&&b.length>0&&m+e.length>1&&at.uniqueSort(l)}return c&&(x=$,u=w),_};return n?ut(o):o}(o,i))).selector=t}return a},l=at.select=function(t,e,n,i){var o,l,u,c,f,d="function"==typeof t&&t,p=!i&&s(t=d.selector||t);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===e.nodeType&&v&&r.relative[l[1].type]){if(!(e=(r.find.ID(u.matches[0].replace(et,nt),e)||[])[0]))return n;d&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(o=G.needsContext.test(t)?0:l.length;o--&&(u=l[o],!r.relative[c=u.type]);)if((f=r.find[c])&&(i=f(u.matches[0].replace(et,nt),tt.test(l[0].type)&&mt(e.parentNode)||e))){if(l.splice(o,1),!(t=i.length&&_t(l)))return N.apply(n,i),n;break}}return(d||a(t,p))(i,e,!v,n,!e||tt.test(t)&&mt(e.parentNode)||e),n},n.sortStable=b.split("").sort(E).join("")===b,n.detectDuplicates=!!f,d(),n.sortDetached=ct(function(t){return 1&t.compareDocumentPosition(p.createElement("fieldset"))}),ct(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ft("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&ct(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ft("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),ct(function(t){return null==t.getAttribute("disabled")})||ft(L,function(t,e,n){var r;if(!n)return!0===t[e]?e.toLowerCase():(r=t.getAttributeNode(e))&&r.specified?r.value:null}),at}(n);C.find=T,C.expr=T.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=T.uniqueSort,C.text=T.getText,C.isXMLDoc=T.isXML,C.contains=T.contains,C.escapeSelector=T.escape;var A=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&C(t).is(n))break;r.push(t)}return r},k=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},E=C.expr.match.needsContext;function S(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var O=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(t,e,n){return m(e)?C.grep(t,function(t,r){return!!e.call(t,r,t)!==n}):e.nodeType?C.grep(t,function(t){return t===e!==n}):"string"!=typeof e?C.grep(t,function(t){return c.call(e,t)>-1!==n}):C.filter(e,t,n)}C.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?C.find.matchesSelector(r,t)?[r]:[]:C.find.matches(t,C.grep(e,function(t){return 1===t.nodeType}))},C.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(C(t).filter(function(){for(e=0;e<r;e++)if(C.contains(i[e],this))return!0}));for(n=this.pushStack([]),e=0;e<r;e++)C.find(t,i[e],n);return r>1?C.uniqueSort(n):n},filter:function(t){return this.pushStack(D(this,t||[],!1))},not:function(t){return this.pushStack(D(this,t||[],!0))},is:function(t){return!!D(this,"string"==typeof t&&E.test(t)?C(t):t||[],!1).length}});var j,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||j,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:N.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:_,!0)),O.test(r[1])&&C.isPlainObject(e))for(r in e)m(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=_.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):m(t)?void 0!==n.ready?n.ready(t):t(C):C.makeArray(t,this)}).prototype=C.fn,j=C(_);var I=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function L(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.fn.extend({has:function(t){var e=C(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(C.contains(this,e[t]))return!0})},closest:function(t,e){var n,r=0,i=this.length,o=[],s="string"!=typeof t&&C(t);if(!E.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?C.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?c.call(C(t),this[0]):c.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),C.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return A(t,"parentNode")},parentsUntil:function(t,e,n){return A(t,"parentNode",n)},next:function(t){return L(t,"nextSibling")},prev:function(t){return L(t,"previousSibling")},nextAll:function(t){return A(t,"nextSibling")},prevAll:function(t){return A(t,"previousSibling")},nextUntil:function(t,e,n){return A(t,"nextSibling",n)},prevUntil:function(t,e,n){return A(t,"previousSibling",n)},siblings:function(t){return k((t.parentNode||{}).firstChild,t)},children:function(t){return k(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(S(t,"template")&&(t=t.content||t),C.merge([],t.childNodes))}},function(t,e){C.fn[t]=function(n,r){var i=C.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=C.filter(r,i)),this.length>1&&(R[t]||C.uniqueSort(i),I.test(t)&&i.reverse()),this.pushStack(i)}});var P=/[^\x20\t\r\n\f]+/g;function F(t){return t}function M(t){throw t}function U(t,e,n,r){var i;try{t&&m(i=t.promise)?i.call(t).done(e).fail(n):t&&m(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}C.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return C.each(t.match(P)||[],function(t,n){e[n]=!0}),e}(t):C.extend({},t);var e,n,r,i,o=[],s=[],a=-1,l=function(){for(i=i||t.once,r=e=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&t.stopOnFalse&&(a=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},u={add:function(){return o&&(n&&!e&&(a=o.length-1,s.push(n)),function e(n){C.each(n,function(n,r){m(r)?t.unique&&u.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&e(r)})}(arguments),n&&!e&&l()),this},remove:function(){return C.each(arguments,function(t,e){for(var n;(n=C.inArray(e,o,n))>-1;)o.splice(n,1),n<=a&&a--}),this},has:function(t){return t?C.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},C.extend({Deferred:function(t){var e=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return C.Deferred(function(n){C.each(e,function(e,r){var i=m(t[r[4]])&&t[r[4]];o[r[1]](function(){var t=i&&i.apply(this,arguments);t&&m(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)})}),t=null}).promise()},then:function(t,r,i){var o=0;function s(t,e,r,i){return function(){var a=this,l=arguments,u=function(){var n,u;if(!(t<o)){if((n=r.apply(a,l))===e.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,m(u)?i?u.call(n,s(o,e,F,i),s(o,e,M,i)):(o++,u.call(n,s(o,e,F,i),s(o,e,M,i),s(o,e,F,e.notifyWith))):(r!==F&&(a=void 0,l=[n]),(i||e.resolveWith)(a,l))}},c=i?u:function(){try{u()}catch(n){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(n,c.stackTrace),t+1>=o&&(r!==M&&(a=void 0,l=[n]),e.rejectWith(a,l))}};t?c():(C.Deferred.getStackHook&&(c.stackTrace=C.Deferred.getStackHook()),n.setTimeout(c))}}return C.Deferred(function(n){e[0][3].add(s(0,n,m(i)?i:F,n.notifyWith)),e[1][3].add(s(0,n,m(t)?t:F)),e[2][3].add(s(0,n,m(r)?r:M))}).promise()},promise:function(t){return null!=t?C.extend(t,i):i}},o={};return C.each(e,function(t,n){var s=n[2],a=n[5];i[n[1]]=s.add,a&&s.add(function(){r=a},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=a.call(arguments),o=C.Deferred(),s=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?a.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(U(t,o.done(s(n)).resolve,o.reject,!e),"pending"===o.state()||m(i[n]&&i[n].then)))return o.then();for(;n--;)U(i[n],s(n),o.reject);return o.promise()}});var q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&q.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},C.readyException=function(t){n.setTimeout(function(){throw t})};var H=C.Deferred();function z(){_.removeEventListener("DOMContentLoaded",z),n.removeEventListener("load",z),C.ready()}C.fn.ready=function(t){return H.then(t).catch(function(t){C.readyException(t)}),this},C.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==t&&--C.readyWait>0||H.resolveWith(_,[C]))}}),C.ready.then=H.then,"complete"===_.readyState||"loading"!==_.readyState&&!_.documentElement.doScroll?n.setTimeout(C.ready):(_.addEventListener("DOMContentLoaded",z),n.addEventListener("load",z));var B=function(t,e,n,r,i,o,s){var a=0,l=t.length,u=null==n;if("object"===x(n))for(a in i=!0,n)B(t,e,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,m(r)||(s=!0),u&&(s?(e.call(t,r),e=null):(u=e,e=function(t,e,n){return u.call(C(t),n)})),e))for(;a<l;a++)e(t[a],n,s?r:r.call(t[a],a,e(t[a],n)));return i?t:u?e.call(t):l?e(t[0],n):o},W=/^-ms-/,V=/-([a-z])/g;function X(t,e){return e.toUpperCase()}function G(t){return t.replace(W,"ms-").replace(V,X)}var K=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Z(){this.expando=C.expando+Z.uid++}Z.uid=1,Z.prototype={cache:function(t){var e=t[this.expando];return e||(e=Object.create(null),K(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[G(e)]=n;else for(r in e)i[G(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][G(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(G):(e=G(e))in r?[e]:e.match(P)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||C.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!C.isEmptyObject(e)}};var J=new Z,Q=new Z,Y=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,tt=/[A-Z]/g;function et(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(tt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Y.test(t)?JSON.parse(t):t)}(n)}catch(t){}Q.set(t,e,n)}else n=void 0;return n}C.extend({hasData:function(t){return Q.hasData(t)||J.hasData(t)},data:function(t,e,n){return Q.access(t,e,n)},removeData:function(t,e){Q.remove(t,e)},_data:function(t,e,n){return J.access(t,e,n)},_removeData:function(t,e){J.remove(t,e)}}),C.fn.extend({data:function(t,e){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(i=Q.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=G(r.slice(5)),et(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each(function(){Q.set(this,t)}):B(this,function(e){var n;if(o&&void 0===e)return void 0!==(n=Q.get(o,t))?n:void 0!==(n=et(o,t))?n:void 0;this.each(function(){Q.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Q.remove(this,t)})}}),C.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=J.get(t,e),n&&(!r||Array.isArray(n)?r=J.access(t,e,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=C.queue(t,e),r=n.length,i=n.shift(),o=C._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,function(){C.dequeue(t,e)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return J.get(t,n)||J.access(t,n,{empty:C.Callbacks("once memory").add(function(){J.remove(t,[e+"queue",n])})})}}),C.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?C.queue(this[0],t):void 0===e?this:this.each(function(){var n=C.queue(this,t,e);C._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&C.dequeue(this,t)})},dequeue:function(t){return this.each(function(){C.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=C.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=J.get(o[s],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(e)}});var nt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,rt=new RegExp("^(?:([+-])=|)("+nt+")([a-z%]*)$","i"),it=["Top","Right","Bottom","Left"],ot=_.documentElement,st=function(t){return C.contains(t.ownerDocument,t)},at={composed:!0};ot.getRootNode&&(st=function(t){return C.contains(t.ownerDocument,t)||t.getRootNode(at)===t.ownerDocument});var lt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&st(t)&&"none"===C.css(t,"display")};function ut(t,e,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return C.css(t,e,"")},l=a(),u=n&&n[3]||(C.cssNumber[e]?"":"px"),c=t.nodeType&&(C.cssNumber[e]||"px"!==u&&+l)&&rt.exec(C.css(t,e));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)C.style(t,e,c+u),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),c/=o;c*=2,C.style(t,e,c+u),n=n||[]}return n&&(c=+c||+l||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=i)),i}var ct={};function ft(t){var e,n=t.ownerDocument,r=t.nodeName,i=ct[r];return i||(e=n.body.appendChild(n.createElement(r)),i=C.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),ct[r]=i,i)}function dt(t,e){for(var n,r,i=[],o=0,s=t.length;o<s;o++)(r=t[o]).style&&(n=r.style.display,e?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&lt(r)&&(i[o]=ft(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<s;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}C.fn.extend({show:function(){return dt(this,!0)},hide:function(){return dt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){lt(this)?C(this).show():C(this).hide()})}});var pt,ht,vt=/^(?:checkbox|radio)$/i,gt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,mt=/^$|^module$|\/(?:java|ecma)script/i;pt=_.createDocumentFragment().appendChild(_.createElement("div")),(ht=_.createElement("input")).setAttribute("type","radio"),ht.setAttribute("checked","checked"),ht.setAttribute("name","t"),pt.appendChild(ht),g.checkClone=pt.cloneNode(!0).cloneNode(!0).lastChild.checked,pt.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!pt.cloneNode(!0).lastChild.defaultValue,pt.innerHTML="<option></option>",g.option=!!pt.lastChild;var yt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function _t(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&S(t,e)?C.merge([t],n):n}function bt(t,e){for(var n=0,r=t.length;n<r;n++)J.set(t[n],"globalEval",!e||J.get(e[n],"globalEval"))}yt.tbody=yt.tfoot=yt.colgroup=yt.caption=yt.thead,yt.th=yt.td,g.option||(yt.optgroup=yt.option=[1,"<select multiple='multiple'>","</select>"]);var wt=/<|&#?\w+;/;function xt(t,e,n,r,i){for(var o,s,a,l,u,c,f=e.createDocumentFragment(),d=[],p=0,h=t.length;p<h;p++)if((o=t[p])||0===o)if("object"===x(o))C.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){for(s=s||f.appendChild(e.createElement("div")),a=(gt.exec(o)||["",""])[1].toLowerCase(),l=yt[a]||yt._default,s.innerHTML=l[1]+C.htmlPrefilter(o)+l[2],c=l[0];c--;)s=s.lastChild;C.merge(d,s.childNodes),(s=f.firstChild).textContent=""}else d.push(e.createTextNode(o));for(f.textContent="",p=0;o=d[p++];)if(r&&C.inArray(o,r)>-1)i&&i.push(o);else if(u=st(o),s=_t(f.appendChild(o),"script"),u&&bt(s),n)for(c=0;o=s[c++];)mt.test(o.type||"")&&n.push(o);return f}var Ct=/^key/,$t=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Tt=/^([^.]*)(?:\.(.+)|)/;function At(){return!0}function kt(){return!1}function Et(t,e){return t===function(){try{return _.activeElement}catch(t){}}()==("focus"===e)}function St(t,e,n,r,i,o){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(r=r||n,n=void 0),e)St(t,a,n,r,e[a],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=kt;else if(!i)return t;return 1===o&&(s=i,(i=function(t){return C().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=C.guid++)),t.each(function(){C.event.add(this,e,i,r,n)})}function Ot(t,e,n){n?(J.set(t,e,!1),C.event.add(t,e,{namespace:!1,handler:function(t){var r,i,o=J.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(C.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=a.call(arguments),J.set(this,e,o),r=n(this,e),this[e](),o!==(i=J.get(this,e))||r?J.set(this,e,!1):i={},o!==i)return t.stopImmediatePropagation(),t.preventDefault(),i.value}else o.length&&(J.set(this,e,{value:C.event.trigger(C.extend(o[0],C.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===J.get(t,e)&&C.event.add(t,e,At)}C.event={global:{},add:function(t,e,n,r,i){var o,s,a,l,u,c,f,d,p,h,v,g=J.get(t);if(K(t))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&C.find.matchesSelector(ot,i),n.guid||(n.guid=C.guid++),(l=g.events)||(l=g.events=Object.create(null)),(s=g.handle)||(s=g.handle=function(e){return void 0!==C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(P)||[""]).length;u--;)p=v=(a=Tt.exec(e[u])||[])[1],h=(a[2]||"").split(".").sort(),p&&(f=C.event.special[p]||{},p=(i?f.delegateType:f.bindType)||p,f=C.event.special[p]||{},c=C.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=l[p])||((d=l[p]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,s)||t.addEventListener&&t.addEventListener(p,s)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),C.event.global[p]=!0)},remove:function(t,e,n,r,i){var o,s,a,l,u,c,f,d,p,h,v,g=J.hasData(t)&&J.get(t);if(g&&(l=g.events)){for(u=(e=(e||"").match(P)||[""]).length;u--;)if(p=v=(a=Tt.exec(e[u])||[])[1],h=(a[2]||"").split(".").sort(),p){for(f=C.event.special[p]||{},d=l[p=(r?f.delegateType:f.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=d.length;o--;)c=d[o],!i&&v!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(t,c));s&&!d.length&&(f.teardown&&!1!==f.teardown.call(t,h,g.handle)||C.removeEvent(t,p,g.handle),delete l[p])}else for(p in l)C.event.remove(t,p+e[u],n,r,!0);C.isEmptyObject(l)&&J.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,s,a=new Array(arguments.length),l=C.event.fix(t),u=(J.get(this,"events")||Object.create(null))[l.type]||[],c=C.event.special[l.type]||{};for(a[0]=l,e=1;e<arguments.length;e++)a[e]=arguments[e];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(s=C.event.handlers.call(this,l,u),e=0;(i=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(r=((C.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,r,i,o,s,a=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!("click"===t.type&&t.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[i=(r=e[n]).selector+" "]&&(s[i]=r.needsContext?C(i,this).index(u)>-1:C.find(i,this,null,[u]).length),s[i]&&o.push(r);o.length&&a.push({elem:u,handlers:o})}return u=this,l<e.length&&a.push({elem:u,handlers:e.slice(l)}),a},addProp:function(t,e){Object.defineProperty(C.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[C.expando]?t:new C.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return vt.test(e.type)&&e.click&&S(e,"input")&&Ot(e,"click",At),!1},trigger:function(t){var e=this||t;return vt.test(e.type)&&e.click&&S(e,"input")&&Ot(e,"click"),!0},_default:function(t){var e=t.target;return vt.test(e.type)&&e.click&&S(e,"input")&&J.get(e,"click")||S(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},C.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},C.Event=function(t,e){if(!(this instanceof C.Event))return new C.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?At:kt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&C.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:kt,isPropagationStopped:kt,isImmediatePropagationStopped:kt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=At,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=At,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=At,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Ct.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&$t.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},function(t,e){C.event.special[t]={setup:function(){return Ot(this,t,Et),!1},trigger:function(){return Ot(this,t),!0},delegateType:e}}),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){C.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=t.relatedTarget,i=t.handleObj;return r&&(r===this||C.contains(this,r))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}}),C.fn.extend({on:function(t,e,n,r){return St(this,t,e,n,r)},one:function(t,e,n,r){return St(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,C(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=kt),this.each(function(){C.event.remove(this,t,n,e)})}});var Dt=/<script|<style|<link/i,jt=/checked\s*(?:[^=]|=\s*.checked.)/i,Nt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function It(t,e){return S(t,"table")&&S(11!==e.nodeType?e:e.firstChild,"tr")&&C(t).children("tbody")[0]||t}function Rt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Lt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Pt(t,e){var n,r,i,o,s,a;if(1===e.nodeType){if(J.hasData(t)&&(a=J.get(t).events))for(i in J.remove(e,"handle events"),a)for(n=0,r=a[i].length;n<r;n++)C.event.add(e,i,a[i][n]);Q.hasData(t)&&(o=Q.access(t),s=C.extend({},o),Q.set(e,s))}}function Ft(t,e,n,r){e=l(e);var i,o,s,a,u,c,f=0,d=t.length,p=d-1,h=e[0],v=m(h);if(v||d>1&&"string"==typeof h&&!g.checkClone&&jt.test(h))return t.each(function(i){var o=t.eq(i);v&&(e[0]=h.call(this,i,o.html())),Ft(o,e,n,r)});if(d&&(o=(i=xt(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(s=C.map(_t(i,"script"),Rt)).length;f<d;f++)u=i,f!==p&&(u=C.clone(u,!0,!0),a&&C.merge(s,_t(u,"script"))),n.call(t[f],u,f);if(a)for(c=s[s.length-1].ownerDocument,C.map(s,Lt),f=0;f<a;f++)u=s[f],mt.test(u.type||"")&&!J.access(u,"globalEval")&&C.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?C._evalUrl&&!u.noModule&&C._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):w(u.textContent.replace(Nt,""),u,c))}return t}function Mt(t,e,n){for(var r,i=e?C.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||C.cleanData(_t(r)),r.parentNode&&(n&&st(r)&&bt(_t(r,"script")),r.parentNode.removeChild(r));return t}C.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,i,o,s,a,l,u,c=t.cloneNode(!0),f=st(t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||C.isXMLDoc(t)))for(s=_t(c),r=0,i=(o=_t(t)).length;r<i;r++)a=o[r],l=s[r],void 0,"input"===(u=l.nodeName.toLowerCase())&&vt.test(a.type)?l.checked=a.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=a.defaultValue);if(e)if(n)for(o=o||_t(t),s=s||_t(c),r=0,i=o.length;r<i;r++)Pt(o[r],s[r]);else Pt(t,c);return(s=_t(c,"script")).length>0&&bt(s,!f&&_t(t,"script")),c},cleanData:function(t){for(var e,n,r,i=C.event.special,o=0;void 0!==(n=t[o]);o++)if(K(n)){if(e=n[J.expando]){if(e.events)for(r in e.events)i[r]?C.event.remove(n,r):C.removeEvent(n,r,e.handle);n[J.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),C.fn.extend({detach:function(t){return Mt(this,t,!0)},remove:function(t){return Mt(this,t)},text:function(t){return B(this,function(t){return void 0===t?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return Ft(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||It(this,t).appendChild(t)})},prepend:function(){return Ft(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=It(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return Ft(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return Ft(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(C.cleanData(_t(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return C.clone(this,t,e)})},html:function(t){return B(this,function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Dt.test(t)&&!yt[(gt.exec(t)||["",""])[1].toLowerCase()]){t=C.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(C.cleanData(_t(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return Ft(this,arguments,function(e){var n=this.parentNode;C.inArray(this,t)<0&&(C.cleanData(_t(this)),n&&n.replaceChild(e,this))},t)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){C.fn[t]=function(t){for(var n,r=[],i=C(t),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),C(i[s])[e](n),u.apply(r,n.get());return this.pushStack(r)}});var Ut=new RegExp("^("+nt+")(?!px)[a-z%]+$","i"),qt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},Ht=function(t,e,n){var r,i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];for(i in r=n.call(t),e)t.style[i]=o[i];return r},zt=new RegExp(it.join("|"),"i");function Bt(t,e,n){var r,i,o,s,a=t.style;return(n=n||qt(t))&&(""!==(s=n.getPropertyValue(e)||n[e])||st(t)||(s=C.style(t,e)),!g.pixelBoxStyles()&&Ut.test(s)&&zt.test(e)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o)),void 0!==s?s+"":s}function Wt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ot.appendChild(u).appendChild(c);var t=n.getComputedStyle(c);r="1%"!==t.top,l=12===e(t.marginLeft),c.style.right="60%",s=36===e(t.right),i=36===e(t.width),c.style.position="absolute",o=12===e(c.offsetWidth/3),ot.removeChild(u),c=null}}function e(t){return Math.round(parseFloat(t))}var r,i,o,s,a,l,u=_.createElement("div"),c=_.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,C.extend(g,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,r,i;return null==a&&(t=_.createElement("table"),e=_.createElement("tr"),r=_.createElement("div"),t.style.cssText="position:absolute;left:-11111px",e.style.height="1px",r.style.height="9px",ot.appendChild(t).appendChild(e).appendChild(r),i=n.getComputedStyle(e),a=parseInt(i.height)>3,ot.removeChild(t)),a}}))}();var Vt=["Webkit","Moz","ms"],Xt=_.createElement("div").style,Gt={};function Kt(t){var e=C.cssProps[t]||Gt[t];return e||(t in Xt?t:Gt[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Vt.length;n--;)if((t=Vt[n]+e)in Xt)return t}(t)||t)}var Zt=/^(none|table(?!-c[ea]).+)/,Jt=/^--/,Qt={position:"absolute",visibility:"hidden",display:"block"},Yt={letterSpacing:"0",fontWeight:"400"};function te(t,e,n){var r=rt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function ee(t,e,n,r,i,o){var s="width"===e?1:0,a=0,l=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=C.css(t,n+it[s],!0,i)),r?("content"===n&&(l-=C.css(t,"padding"+it[s],!0,i)),"margin"!==n&&(l-=C.css(t,"border"+it[s]+"Width",!0,i))):(l+=C.css(t,"padding"+it[s],!0,i),"padding"!==n?l+=C.css(t,"border"+it[s]+"Width",!0,i):a+=C.css(t,"border"+it[s]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-a-.5))||0),l}function ne(t,e,n){var r=qt(t),i=(!g.boxSizingReliable()||n)&&"border-box"===C.css(t,"boxSizing",!1,r),o=i,s=Bt(t,e,r),a="offset"+e[0].toUpperCase()+e.slice(1);if(Ut.test(s)){if(!n)return s;s="auto"}return(!g.boxSizingReliable()&&i||!g.reliableTrDimensions()&&S(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===C.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===C.css(t,"boxSizing",!1,r),(o=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+ee(t,e,n||(i?"border":"content"),o,r,s)+"px"}function re(t,e,n,r,i){return new re.prototype.init(t,e,n,r,i)}C.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Bt(t,"opacity");return""===n?"1":n}}}},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,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,s,a=G(e),l=Jt.test(e),u=t.style;if(l||(e=Kt(a)),s=C.cssHooks[e]||C.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(t,!1,r))?i:u[e];"string"===(o=typeof n)&&(i=rt.exec(n))&&i[1]&&(n=ut(t,e,i),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=i&&i[3]||(C.cssNumber[a]?"":"px")),g.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,r))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,r){var i,o,s,a=G(e);return Jt.test(e)||(e=Kt(a)),(s=C.cssHooks[e]||C.cssHooks[a])&&"get"in s&&(i=s.get(t,!0,n)),void 0===i&&(i=Bt(t,e,r)),"normal"===i&&e in Yt&&(i=Yt[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),C.each(["height","width"],function(t,e){C.cssHooks[e]={get:function(t,n,r){if(n)return!Zt.test(C.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ne(t,e,r):Ht(t,Qt,function(){return ne(t,e,r)})},set:function(t,n,r){var i,o=qt(t),s=!g.scrollboxSize()&&"absolute"===o.position,a=(s||r)&&"border-box"===C.css(t,"boxSizing",!1,o),l=r?ee(t,e,r,a,o):0;return a&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ee(t,e,"border",!1,o)-.5)),l&&(i=rt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=C.css(t,e)),te(0,n,l)}}}),C.cssHooks.marginLeft=Wt(g.reliableMarginLeft,function(t,e){if(e)return(parseFloat(Bt(t,"marginLeft"))||t.getBoundingClientRect().left-Ht(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(t,e){C.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+it[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(C.cssHooks[t+e].set=te)}),C.fn.extend({css:function(t,e){return B(this,function(t,e,n){var r,i,o={},s=0;if(Array.isArray(e)){for(r=qt(t),i=e.length;s<i;s++)o[e[s]]=C.css(t,e[s],!1,r);return o}return void 0!==n?C.style(t,e,n):C.css(t,e)},t,e,arguments.length>1)}}),C.Tween=re,re.prototype={constructor:re,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||C.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var t=re.propHooks[this.prop];return t&&t.get?t.get(this):re.propHooks._default.get(this)},run:function(t){var e,n=re.propHooks[this.prop];return this.options.duration?this.pos=e=C.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),n&&n.set?n.set(this):re.propHooks._default.set(this),this}},re.prototype.init.prototype=re.prototype,re.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=C.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){C.fx.step[t.prop]?C.fx.step[t.prop](t):1!==t.elem.nodeType||!C.cssHooks[t.prop]&&null==t.elem.style[Kt(t.prop)]?t.elem[t.prop]=t.now:C.style(t.elem,t.prop,t.now+t.unit)}}},re.propHooks.scrollTop=re.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},C.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},C.fx=re.prototype.init,C.fx.step={};var ie,oe,se=/^(?:toggle|show|hide)$/,ae=/queueHooks$/;function le(){oe&&(!1===_.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(le):n.setTimeout(le,C.fx.interval),C.fx.tick())}function ue(){return n.setTimeout(function(){ie=void 0}),ie=Date.now()}function ce(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=it[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function fe(t,e,n){for(var r,i=(de.tweeners[e]||[]).concat(de.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,e,t))return r}function de(t,e,n){var r,i,o=0,s=de.prefilters.length,a=C.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var e=ie||ue(),n=Math.max(0,u.startTime+u.duration-e),r=1-(n/u.duration||0),o=0,s=u.tweens.length;o<s;o++)u.tweens[o].run(r);return a.notifyWith(t,[u,r,n]),r<1&&s?n:(s||a.notifyWith(t,[u,1,0]),a.resolveWith(t,[u]),!1)},u=a.promise({elem:t,props:C.extend({},e),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:e,originalOptions:n,startTime:ie||ue(),duration:n.duration,tweens:[],createTween:function(e,n){var r=C.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(r),r},stop:function(e){var n=0,r=e?u.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)u.tweens[n].run(1);return e?(a.notifyWith(t,[u,1,0]),a.resolveWith(t,[u,e])):a.rejectWith(t,[u,e]),this}}),c=u.props;for(!function(t,e){var n,r,i,o,s;for(n in t)if(i=e[r=G(n)],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(s=C.cssHooks[r])&&"expand"in s)for(n in o=s.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}(c,u.opts.specialEasing);o<s;o++)if(r=de.prefilters[o].call(u,t,c,u.opts))return m(r.stop)&&(C._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return C.map(c,fe,u),m(u.opts.start)&&u.opts.start.call(t,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),C.fx.timer(C.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u}C.Animation=C.extend(de,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ut(n.elem,t,rt.exec(e),n),n}]},tweener:function(t,e){m(t)?(e=t,t=["*"]):t=t.match(P);for(var n,r=0,i=t.length;r<i;r++)n=t[r],de.tweeners[n]=de.tweeners[n]||[],de.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var r,i,o,s,a,l,u,c,f="width"in e||"height"in e,d=this,p={},h=t.style,v=t.nodeType&&lt(t),g=J.get(t,"fxshow");for(r in n.queue||(null==(s=C._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,d.always(function(){d.always(function(){s.unqueued--,C.queue(t,"fx").length||s.empty.fire()})})),e)if(i=e[r],se.test(i)){if(delete e[r],o=o||"toggle"===i,i===(v?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;v=!0}p[r]=g&&g[r]||C.style(t,r)}if((l=!C.isEmptyObject(e))||!C.isEmptyObject(p))for(r in f&&1===t.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=g&&g.display)&&(u=J.get(t,"display")),"none"===(c=C.css(t,"display"))&&(u?c=u:(dt([t],!0),u=t.style.display||u,c=C.css(t,"display"),dt([t]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===C.css(t,"float")&&(l||(d.done(function(){h.display=u}),null==u&&(c=h.display,u="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1,p)l||(g?"hidden"in g&&(v=g.hidden):g=J.access(t,"fxshow",{display:u}),o&&(g.hidden=!v),v&&dt([t],!0),d.done(function(){for(r in v||dt([t]),J.remove(t,"fxshow"),p)C.style(t,r,p[r])})),l=fe(v?g[r]:0,r,d),r in g||(g[r]=l.start,v&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?de.prefilters.unshift(t):de.prefilters.push(t)}}),C.speed=function(t,e,n){var r=t&&"object"==typeof t?C.extend({},t):{complete:n||!n&&e||m(t)&&t,duration:t,easing:n&&e||e&&!m(e)&&e};return C.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(t,e,n,r){return this.filter(lt).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=C.isEmptyObject(t),o=C.speed(e,n,r),s=function(){var e=de(this,C.extend({},t),o);(i||J.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",o=C.timers,s=J.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&ae.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||C.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=J.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=C.timers,s=r?r.length:0;for(n.finish=!0,C.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish})}}),C.each(["toggle","show","hide"],function(t,e){var n=C.fn[e];C.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ce(e,!0),t,r,i)}}),C.each({slideDown:ce("show"),slideUp:ce("hide"),slideToggle:ce("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){C.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}}),C.timers=[],C.fx.tick=function(){var t,e=0,n=C.timers;for(ie=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||C.fx.stop(),ie=void 0},C.fx.timer=function(t){C.timers.push(t),C.fx.start()},C.fx.interval=13,C.fx.start=function(){oe||(oe=!0,le())},C.fx.stop=function(){oe=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(t,e){return t=C.fx&&C.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,r){var i=n.setTimeout(e,t);r.stop=function(){n.clearTimeout(i)}})},function(){var t=_.createElement("input"),e=_.createElement("select").appendChild(_.createElement("option"));t.type="checkbox",g.checkOn=""!==t.value,g.optSelected=e.selected,(t=_.createElement("input")).value="t",t.type="radio",g.radioValue="t"===t.value}();var pe,he=C.expr.attrHandle;C.fn.extend({attr:function(t,e){return B(this,C.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){C.removeAttr(this,t)})}}),C.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?C.prop(t,e,n):(1===o&&C.isXMLDoc(t)||(i=C.attrHooks[e.toLowerCase()]||(C.expr.match.bool.test(e)?pe:void 0)),void 0!==n?null===n?void C.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=C.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!g.radioValue&&"radio"===e&&S(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(P);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),pe={set:function(t,e,n){return!1===e?C.removeAttr(t,n):t.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(t,e){var n=he[e]||C.find.attr;he[e]=function(t,e,r){var i,o,s=e.toLowerCase();return r||(o=he[s],he[s]=i,i=null!=n(t,e,r)?s:null,he[s]=o),i}});var ve=/^(?:input|select|textarea|button)$/i,ge=/^(?:a|area)$/i;function me(t){return(t.match(P)||[]).join(" ")}function ye(t){return t.getAttribute&&t.getAttribute("class")||""}function _e(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(P)||[]}C.fn.extend({prop:function(t,e){return B(this,C.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[C.propFix[t]||t]})}}),C.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(t)||(e=C.propFix[e]||e,i=C.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=C.find.attr(t,"tabindex");return e?parseInt(e,10):ve.test(t.nodeName)||ge.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(C.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(t){var e,n,r,i,o,s,a,l=0;if(m(t))return this.each(function(e){C(this).addClass(t.call(this,e,ye(this)))});if((e=_e(t)).length)for(;n=this[l++];)if(i=ye(n),r=1===n.nodeType&&" "+me(i)+" "){for(s=0;o=e[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(a=me(r))&&n.setAttribute("class",a)}return this},removeClass:function(t){var e,n,r,i,o,s,a,l=0;if(m(t))return this.each(function(e){C(this).removeClass(t.call(this,e,ye(this)))});if(!arguments.length)return this.attr("class","");if((e=_e(t)).length)for(;n=this[l++];)if(i=ye(n),r=1===n.nodeType&&" "+me(i)+" "){for(s=0;o=e[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(a=me(r))&&n.setAttribute("class",a)}return this},toggleClass:function(t,e){var n=typeof t,r="string"===n||Array.isArray(t);return"boolean"==typeof e&&r?e?this.addClass(t):this.removeClass(t):m(t)?this.each(function(n){C(this).toggleClass(t.call(this,n,ye(this),e),e)}):this.each(function(){var e,i,o,s;if(r)for(i=0,o=C(this),s=_e(t);e=s[i++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=ye(this))&&J.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":J.get(this,"__className__")||""))})},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+me(ye(n))+" ").indexOf(e)>-1)return!0;return!1}});var be=/\r/g;C.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=m(t),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,C(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=C.map(i,function(t){return null==t?"":t+""})),(e=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))})):i?(e=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(be,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(t){var e=C.find.attr(t,"value");return null!=e?e:me(C.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,s="select-one"===t.type,a=s?null:[],l=s?o+1:i.length;for(r=o<0?l:s?o:0;r<l;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!S(n.parentNode,"optgroup"))){if(e=C(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,r,i=t.options,o=C.makeArray(e),s=i.length;s--;)((r=i[s]).selected=C.inArray(C.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=C.inArray(C(t).val(),e)>-1}},g.checkOn||(C.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),g.focusin="onfocusin"in n;var we=/^(?:focusinfocus|focusoutblur)$/,xe=function(t){t.stopPropagation()};C.extend(C.event,{trigger:function(t,e,r,i){var o,s,a,l,u,c,f,d,h=[r||_],v=p.call(t,"type")?t.type:t,g=p.call(t,"namespace")?t.namespace.split("."):[];if(s=d=a=r=r||_,3!==r.nodeType&&8!==r.nodeType&&!we.test(v+C.event.triggered)&&(v.indexOf(".")>-1&&(v=(g=v.split(".")).shift(),g.sort()),u=v.indexOf(":")<0&&"on"+v,(t=t[C.expando]?t:new C.Event(v,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),e=null==e?[t]:C.makeArray(e,[t]),f=C.event.special[v]||{},i||!f.trigger||!1!==f.trigger.apply(r,e))){if(!i&&!f.noBubble&&!y(r)){for(l=f.delegateType||v,we.test(l+v)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(r.ownerDocument||_)&&h.push(a.defaultView||a.parentWindow||n)}for(o=0;(s=h[o++])&&!t.isPropagationStopped();)d=s,t.type=o>1?l:f.bindType||v,(c=(J.get(s,"events")||Object.create(null))[t.type]&&J.get(s,"handle"))&&c.apply(s,e),(c=u&&s[u])&&c.apply&&K(s)&&(t.result=c.apply(s,e),!1===t.result&&t.preventDefault());return t.type=v,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),e)||!K(r)||u&&m(r[v])&&!y(r)&&((a=r[u])&&(r[u]=null),C.event.triggered=v,t.isPropagationStopped()&&d.addEventListener(v,xe),r[v](),t.isPropagationStopped()&&d.removeEventListener(v,xe),C.event.triggered=void 0,a&&(r[u]=a)),t.result}},simulate:function(t,e,n){var r=C.extend(new C.Event,n,{type:t,isSimulated:!0});C.event.trigger(r,null,e)}}),C.fn.extend({trigger:function(t,e){return this.each(function(){C.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return C.event.trigger(t,e,n,!0)}}),g.focusin||C.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){C.event.simulate(e,t.target,C.event.fix(t))};C.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,e);i||r.addEventListener(t,n,!0),J.access(r,e,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=J.access(r,e)-1;i?J.access(r,e,i):(r.removeEventListener(t,n,!0),J.remove(r,e))}}});var Ce=n.location,$e={guid:Date.now()},Te=/\?/;C.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+t),e};var Ae=/\[\]$/,ke=/\r?\n/g,Ee=/^(?:submit|button|image|reset|file)$/i,Se=/^(?:input|select|textarea|keygen)/i;function Oe(t,e,n,r){var i;if(Array.isArray(e))C.each(e,function(e,i){n||Ae.test(t)?r(t,i):Oe(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)});else if(n||"object"!==x(e))r(t,e);else for(i in e)Oe(t+"["+i+"]",e[i],n,r)}C.param=function(t,e){var n,r=[],i=function(t,e){var n=m(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!C.isPlainObject(t))C.each(t,function(){i(this.name,this.value)});else for(n in t)Oe(n,t[n],e,i);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=C.prop(this,"elements");return t?C.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!C(this).is(":disabled")&&Se.test(this.nodeName)&&!Ee.test(t)&&(this.checked||!vt.test(t))}).map(function(t,e){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,function(t){return{name:e.name,value:t.replace(ke,"\r\n")}}):{name:e.name,value:n.replace(ke,"\r\n")}}).get()}});var De=/%20/g,je=/#.*$/,Ne=/([?&])_=[^&]*/,Ie=/^(.*?):[ \t]*([^\r\n]*)$/gm,Re=/^(?:GET|HEAD)$/,Le=/^\/\//,Pe={},Fe={},Me="*/".concat("*"),Ue=_.createElement("a");function qe(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(P)||[];if(m(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function He(t,e,n,r){var i={},o=t===Fe;function s(a){var l;return i[a]=!0,C.each(t[a]||[],function(t,a){var u=a(e,n,r);return"string"!=typeof u||o||i[u]?o?!(l=u):void 0:(e.dataTypes.unshift(u),s(u),!1)}),l}return s(e.dataTypes[0])||!i["*"]&&s("*")}function ze(t,e){var n,r,i=C.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&C.extend(!0,t,r),t}Ue.href=Ce.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ce.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ce.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Me,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ze(ze(t,C.ajaxSettings),e):ze(C.ajaxSettings,t)},ajaxPrefilter:qe(Pe),ajaxTransport:qe(Fe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,i,o,s,a,l,u,c,f,d,p=C.ajaxSetup({},e),h=p.context||p,v=p.context&&(h.nodeType||h.jquery)?C(h):C.event,g=C.Deferred(),m=C.Callbacks("once memory"),y=p.statusCode||{},b={},w={},x="canceled",$={readyState:0,getResponseHeader:function(t){var e;if(u){if(!s)for(s={};e=Ie.exec(o);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return u?o:null},setRequestHeader:function(t,e){return null==u&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,b[t]=e),this},overrideMimeType:function(t){return null==u&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(u)$.always(t[$.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||x;return r&&r.abort(e),T(0,e),this}};if(g.promise($),p.url=((t||p.url||Ce.href)+"").replace(Le,Ce.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(P)||[""],null==p.crossDomain){l=_.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Ue.protocol+"//"+Ue.host!=l.protocol+"//"+l.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=C.param(p.data,p.traditional)),He(Pe,p,e,$),u)return $;for(f in(c=C.event&&p.global)&&0==C.active++&&C.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Re.test(p.type),i=p.url.replace(je,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(De,"+")):(d=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(Te.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Ne,"$1"),d=(Te.test(i)?"&":"?")+"_="+$e.guid+++d),p.url=i+d),p.ifModified&&(C.lastModified[i]&&$.setRequestHeader("If-Modified-Since",C.lastModified[i]),C.etag[i]&&$.setRequestHeader("If-None-Match",C.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&$.setRequestHeader("Content-Type",p.contentType),$.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Me+"; q=0.01":""):p.accepts["*"]),p.headers)$.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(!1===p.beforeSend.call(h,$,p)||u))return $.abort();if(x="abort",m.add(p.complete),$.done(p.success),$.fail(p.error),r=He(Fe,p,e,$)){if($.readyState=1,c&&v.trigger("ajaxSend",[$,p]),u)return $;p.async&&p.timeout>0&&(a=n.setTimeout(function(){$.abort("timeout")},p.timeout));try{u=!1,r.send(b,T)}catch(t){if(u)throw t;T(-1,t)}}else T(-1,"No Transport");function T(t,e,s,l){var f,d,_,b,w,x=e;u||(u=!0,a&&n.clearTimeout(a),r=void 0,o=l||"",$.readyState=t>0?4:0,f=t>=200&&t<300||304===t,s&&(b=function(t,e,n){for(var r,i,o,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){l.unshift(i);break}if(l[0]in n)o=l[0];else{for(i in n){if(!l[0]||t.converters[i+" "+l[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,$,s)),!f&&C.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),b=function(t,e,n,r){var i,o,s,a,l,u={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)u[s.toLowerCase()]=t.converters[s];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=u[l+" "+o]||u["* "+o]))for(i in u)if((a=i.split(" "))[1]===o&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[i]:!0!==u[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(p,b,$,f),f?(p.ifModified&&((w=$.getResponseHeader("Last-Modified"))&&(C.lastModified[i]=w),(w=$.getResponseHeader("etag"))&&(C.etag[i]=w)),204===t||"HEAD"===p.type?x="nocontent":304===t?x="notmodified":(x=b.state,d=b.data,f=!(_=b.error))):(_=x,!t&&x||(x="error",t<0&&(t=0))),$.status=t,$.statusText=(e||x)+"",f?g.resolveWith(h,[d,x,$]):g.rejectWith(h,[$,x,_]),$.statusCode(y),y=void 0,c&&v.trigger(f?"ajaxSuccess":"ajaxError",[$,p,f?d:_]),m.fireWith(h,[$,x]),c&&(v.trigger("ajaxComplete",[$,p]),--C.active||C.event.trigger("ajaxStop")))}return $},getJSON:function(t,e,n){return C.get(t,e,n,"json")},getScript:function(t,e){return C.get(t,void 0,e,"script")}}),C.each(["get","post"],function(t,e){C[e]=function(t,n,r,i){return m(n)&&(i=i||r,r=n,n=void 0),C.ajax(C.extend({url:t,type:e,dataType:i,data:n,success:r},C.isPlainObject(t)&&t))}}),C.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),C._evalUrl=function(t,e,n){return C.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){C.globalEval(t,e,n)}})},C.fn.extend({wrapAll:function(t){var e;return this[0]&&(m(t)&&(t=t.call(this[0])),e=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return m(t)?this.each(function(e){C(this).wrapInner(t.call(this,e))}):this.each(function(){var e=C(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=m(t);return this.each(function(n){C(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(t){return!C.expr.pseudos.visible(t)},C.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Be={0:200,1223:204},We=C.ajaxSettings.xhr();g.cors=!!We&&"withCredentials"in We,g.ajax=We=!!We,C.ajaxTransport(function(t){var e,r;if(g.cors||We&&!t.crossDomain)return{send:function(i,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(s,i[s]);e=function(t){return function(){e&&(e=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Be[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),r=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&n.setTimeout(function(){e&&r()})},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),C.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return C.globalEval(t),t}}}),C.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),C.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,i){e=C("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),_.head.appendChild(e[0])},abort:function(){n&&n()}}});var Ve,Xe=[],Ge=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Xe.pop()||C.expando+"_"+$e.guid++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",function(t,e,r){var i,o,s,a=!1!==t.jsonp&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Ge,"$1"+i):!1!==t.jsonp&&(t.url+=(Te.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||C.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=n[i],n[i]=function(){s=arguments},r.always(function(){void 0===o?C(n).removeProp(i):n[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,Xe.push(i)),s&&m(o)&&o(s[0]),s=o=void 0}),"script"}),g.createHTMLDocument=((Ve=_.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ve.childNodes.length),C.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(g.createHTMLDocument?((r=(e=_.implementation.createHTMLDocument("")).createElement("base")).href=_.location.href,e.head.appendChild(r)):e=_),i=O.exec(t),o=!n&&[],i?[e.createElement(i[1])]:(i=xt([t],e,o),o&&o.length&&C(o).remove(),C.merge([],i.childNodes)));var r,i,o},C.fn.load=function(t,e,n){var r,i,o,s=this,a=t.indexOf(" ");return a>-1&&(r=me(t.slice(a)),t=t.slice(0,a)),m(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),s.length>0&&C.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done(function(t){o=arguments,s.html(r?C("<div>").append(C.parseHTML(t)).find(r):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},C.expr.pseudos.animated=function(t){return C.grep(C.timers,function(e){return t===e.elem}).length},C.offset={setOffset:function(t,e,n){var r,i,o,s,a,l,u=C.css(t,"position"),c=C(t),f={};"static"===u&&(t.style.position="relative"),a=c.offset(),o=C.css(t,"top"),l=C.css(t,"left"),("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1?(s=(r=c.position()).top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(l)||0),m(e)&&(e=e.call(t,n,C.extend({},a))),null!=e.top&&(f.top=e.top-a.top+s),null!=e.left&&(f.left=e.left-a.left+i),"using"in e?e.using.call(t,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},C.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){C.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===C.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===C.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=C(t).offset()).top+=C.css(t,"borderTopWidth",!0),i.left+=C.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-C.css(r,"marginTop",!0),left:e.left-i.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===C.css(t,"position");)t=t.offsetParent;return t||ot})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;C.fn[t]=function(r){return B(this,function(t,r,i){var o;if(y(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i},t,r,arguments.length)}}),C.each(["top","left"],function(t,e){C.cssHooks[e]=Wt(g.pixelPosition,function(t,n){if(n)return n=Bt(t,e),Ut.test(n)?C(t).position()[e]+"px":n})}),C.each({Height:"height",Width:"width"},function(t,e){C.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,r){C.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===o?"margin":"border");return B(this,function(e,n,i){var o;return y(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?C.css(e,n,a):C.style(e,n,i,a)},e,s?i:void 0,s)}})}),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){C.fn[e]=function(t){return this.on(e,t)}}),C.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){C.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}});var Ke=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;C.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),m(t))return r=a.call(arguments,2),(i=function(){return t.apply(e||this,r.concat(a.call(arguments)))}).guid=t.guid=t.guid||C.guid++,i},C.holdReady=function(t){t?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=S,C.isFunction=m,C.isWindow=y,C.camelCase=G,C.type=x,C.now=Date.now,C.isNumeric=function(t){var e=C.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},C.trim=function(t){return null==t?"":(t+"").replace(Ke,"")},void 0===(r=function(){return C}.apply(e,[]))||(t.exports=r);var Ze=n.jQuery,Je=n.$;return C.noConflict=function(t){return n.$===C&&(n.$=Je),t&&n.jQuery===C&&(n.jQuery=Ze),C},void 0===i&&(n.jQuery=n.$=C),C})},"8+8L":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"Url",function(){return D}),n.d(e,"Http",function(){return z}),n.d(e,"Resource",function(){return B});var r=2;function i(t){this.state=r,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)}}i.reject=function(t){return new i(function(e,n){n(t)})},i.resolve=function(t){return new i(function(e,n){e(t)})},i.all=function(t){return new i(function(e,n){var r=0,o=[];function s(n){return function(i){o[n]=i,(r+=1)===t.length&&e(o)}}0===t.length&&e(o);for(var a=0;a<t.length;a+=1)i.resolve(t[a]).then(s(a),n)})},i.race=function(t){return new i(function(e,n){for(var r=0;r<t.length;r+=1)i.resolve(t[r]).then(e,n)})};var o=i.prototype;function s(t,e){t instanceof Promise?this.promise=t:this.promise=new Promise(t.bind(e)),this.context=e}o.resolve=function(t){var e=this;if(e.state===r){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=t&&t.then;if(null!==t&&"object"==typeof t&&"function"==typeof i)return void i.call(t,function(t){n||e.resolve(t),n=!0},function(t){n||e.reject(t),n=!0})}catch(t){return void(n||e.reject(t))}e.state=0,e.value=t,e.notify()}},o.reject=function(t){if(this.state===r){if(t===this)throw new TypeError("Promise settled with itself.");this.state=1,this.value=t,this.notify()}},o.notify=function(){var t,e=this;l(function(){if(e.state!==r)for(;e.deferred.length;){var t=e.deferred.shift(),n=t[0],i=t[1],o=t[2],s=t[3];try{0===e.state?o("function"==typeof n?n.call(void 0,e.value):e.value):1===e.state&&("function"==typeof i?o(i.call(void 0,e.value)):s(e.value))}catch(t){s(t)}}},t)},o.then=function(t,e){var n=this;return new i(function(r,i){n.deferred.push([t,e,r,i]),n.notify()})},o.catch=function(t){return this.then(void 0,t)},"undefined"==typeof Promise&&(window.Promise=i),s.all=function(t,e){return new s(Promise.all(t),e)},s.resolve=function(t,e){return new s(Promise.resolve(t),e)},s.reject=function(t,e){return new s(Promise.reject(t),e)},s.race=function(t,e){return new s(Promise.race(t),e)};var a=s.prototype;a.bind=function(t){return this.context=t,this},a.then=function(t,e){return t&&t.bind&&this.context&&(t=t.bind(this.context)),e&&e.bind&&this.context&&(e=e.bind(this.context)),new s(this.promise.then(t,e),this.context)},a.catch=function(t){return t&&t.bind&&this.context&&(t=t.bind(this.context)),new s(this.promise.catch(t),this.context)},a.finally=function(t){return this.then(function(e){return t.call(this),e},function(e){return t.call(this),Promise.reject(e)})};var l,u={}.hasOwnProperty,c=[].slice,f=!1,d="undefined"!=typeof window;function p(t){return t?t.replace(/^\s*|\s*$/g,""):""}function h(t){return t?t.toLowerCase():""}var v=Array.isArray;function g(t){return"string"==typeof t}function m(t){return"function"==typeof t}function y(t){return null!==t&&"object"==typeof t}function _(t){return y(t)&&Object.getPrototypeOf(t)==Object.prototype}function b(t,e,n){var r=s.resolve(t);return arguments.length<2?r:r.then(e,n)}function w(t,e,n){return m(n=n||{})&&(n=n.call(e)),$(t.bind({$vm:e,$options:n}),t,{$options:n})}function x(t,e){var n,r;if(v(t))for(n=0;n<t.length;n++)e.call(t[n],t[n],n);else if(y(t))for(r in t)u.call(t,r)&&e.call(t[r],t[r],r);return t}var C=Object.assign||function(t){return c.call(arguments,1).forEach(function(e){T(t,e)}),t};function $(t){return c.call(arguments,1).forEach(function(e){T(t,e,!0)}),t}function T(t,e,n){for(var r in e)n&&(_(e[r])||v(e[r]))?(_(e[r])&&!_(t[r])&&(t[r]={}),v(e[r])&&!v(t[r])&&(t[r]=[]),T(t[r],e[r],n)):void 0!==e[r]&&(t[r]=e[r])}function A(t,e,n){var r=function(t){var e=["+","#",".","/",";","?","&"],n=[];return{vars:n,expand:function(r){return t.replace(/\{([^{}]+)\}|([^{}]+)/g,function(t,i,o){if(i){var s=null,a=[];if(-1!==e.indexOf(i.charAt(0))&&(s=i.charAt(0),i=i.substr(1)),i.split(/,/g).forEach(function(t){var e=/([^:*]*)(?::(\d+)|(\*))?/.exec(t);a.push.apply(a,function(t,e,n,r){var i=t[n],o=[];if(k(i)&&""!==i)if("string"==typeof i||"number"==typeof i||"boolean"==typeof i)i=i.toString(),r&&"*"!==r&&(i=i.substring(0,parseInt(r,10))),o.push(S(e,i,E(e)?n:null));else if("*"===r)Array.isArray(i)?i.filter(k).forEach(function(t){o.push(S(e,t,E(e)?n:null))}):Object.keys(i).forEach(function(t){k(i[t])&&o.push(S(e,i[t],t))});else{var s=[];Array.isArray(i)?i.filter(k).forEach(function(t){s.push(S(e,t))}):Object.keys(i).forEach(function(t){k(i[t])&&(s.push(encodeURIComponent(t)),s.push(S(e,i[t].toString())))}),E(e)?o.push(encodeURIComponent(n)+"="+s.join(",")):0!==s.length&&o.push(s.join(","))}else";"===e?o.push(encodeURIComponent(n)):""!==i||"&"!==e&&"?"!==e?""===i&&o.push(""):o.push(encodeURIComponent(n)+"=");return o}(r,s,e[1],e[2]||e[3])),n.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(o)})}}}(t),i=r.expand(e);return n&&n.push.apply(n,r.vars),i}function k(t){return void 0!==t&&null!==t}function E(t){return";"===t||"&"===t||"?"===t}function S(t,e,n){return e="+"===t||"#"===t?O(e):encodeURIComponent(e),n?encodeURIComponent(n)+"="+e:e}function O(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 D(t,e){var n,r=this||{},i=t;return g(t)&&(i={url:t,params:e}),i=$({},D.options,r.$options,i),D.transforms.forEach(function(t){g(t)&&(t=D.transform[t]),m(t)&&(n=function(t,e,n){return function(r){return t.call(n,r,e)}}(t,n,r.$vm))}),n(i)}function j(t){return new s(function(e){var n=new XDomainRequest,r=function(r){var i=r.type,o=0;"load"===i?o=200:"error"===i&&(o=500),e(t.respondWith(n.responseText,{status:o}))};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl()),t.timeout&&(n.timeout=t.timeout),n.onload=r,n.onabort=r,n.onerror=r,n.ontimeout=r,n.onprogress=function(){},n.send(t.getBody())})}D.options={url:"",root:null,params:{}},D.transform={template:function(t){var e=[],n=A(t.url,t.params,e);return e.forEach(function(e){delete t.params[e]}),n},query:function(t,e){var n=Object.keys(D.options.params),r={},i=e(t);return x(t.params,function(t,e){-1===n.indexOf(e)&&(r[e]=t)}),(r=D.params(r))&&(i+=(-1==i.indexOf("?")?"?":"&")+r),i},root:function(t,e){var n,r,i=e(t);return g(t.root)&&!/^(https?:)?\//.test(i)&&(n=t.root,r="/",i=(n&&void 0===r?n.replace(/\s+$/,""):n&&r?n.replace(new RegExp("["+r+"]+$"),""):n)+"/"+i),i}},D.transforms=["template","query","root"],D.params=function(t){var e=[],n=encodeURIComponent;return e.add=function(t,e){m(e)&&(e=e()),null===e&&(e=""),this.push(n(t)+"="+n(e))},function t(e,n,r){var i,o=v(n),s=_(n);x(n,function(n,a){i=y(n)||v(n),r&&(a=r+"["+(s||i?a:"")+"]"),!r&&o?e.add(n.name,n.value):i?t(e,n,a):e.add(a,n)})}(e,t),e.join("&").replace(/%20/g,"+")},D.parse=function(t){var e=document.createElement("a");return document.documentMode&&(e.href=t,t=e.href),e.href=t,{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",port:e.port,host:e.host,hostname:e.hostname,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):""}};var N=d&&"withCredentials"in new XMLHttpRequest;function I(t){return new s(function(e){var n,r,i=t.jsonp||"callback",o=t.jsonpCallback||"_jsonp"+Math.random().toString(36).substr(2),s=null;n=function(n){var i=n.type,a=0;"load"===i&&null!==s?a=200:"error"===i&&(a=500),a&&window[o]&&(delete window[o],document.body.removeChild(r)),e(t.respondWith(s,{status:a}))},window[o]=function(t){s=JSON.stringify(t)},t.abort=function(){n({type:"abort"})},t.params[i]=o,t.timeout&&setTimeout(t.abort,t.timeout),(r=document.createElement("script")).src=t.getUrl(),r.type="text/javascript",r.async=!0,r.onload=n,r.onerror=n,document.body.appendChild(r)})}function R(t){return new s(function(e){var n=new XMLHttpRequest,r=function(r){var i=t.respondWith("response"in n?n.response:n.responseText,{status:1223===n.status?204:n.status,statusText:1223===n.status?"No Content":p(n.statusText)});x(p(n.getAllResponseHeaders()).split("\n"),function(t){i.headers.append(t.slice(0,t.indexOf(":")),t.slice(t.indexOf(":")+1))}),e(i)};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl(),!0),t.timeout&&(n.timeout=t.timeout),t.responseType&&"responseType"in n&&(n.responseType=t.responseType),(t.withCredentials||t.credentials)&&(n.withCredentials=!0),t.crossOrigin||t.headers.set("X-Requested-With","XMLHttpRequest"),m(t.progress)&&"GET"===t.method&&n.addEventListener("progress",t.progress),m(t.downloadProgress)&&n.addEventListener("progress",t.downloadProgress),m(t.progress)&&/^(POST|PUT)$/i.test(t.method)&&n.upload.addEventListener("progress",t.progress),m(t.uploadProgress)&&n.upload&&n.upload.addEventListener("progress",t.uploadProgress),t.headers.forEach(function(t,e){n.setRequestHeader(e,t)}),n.onload=r,n.onabort=r,n.onerror=r,n.ontimeout=r,n.send(t.getBody())})}function L(t){var e=n(1);return new s(function(n){var r,i=t.getUrl(),o=t.getBody(),s=t.method,a={};t.headers.forEach(function(t,e){a[e]=t}),e(i,{body:o,method:s,headers:a}).then(r=function(e){var r=t.respondWith(e.body,{status:e.statusCode,statusText:p(e.statusMessage)});x(e.headers,function(t,e){r.headers.set(e,t)}),n(r)},function(t){return r(t.response)})})}function P(t){return(t.client||(d?R:L))(t)}var F=function(t){var e=this;this.map={},x(t,function(t,n){return e.append(n,t)})};function M(t,e){return Object.keys(t).reduce(function(t,n){return h(e)===h(n)?n:t},null)}F.prototype.has=function(t){return null!==M(this.map,t)},F.prototype.get=function(t){var e=this.map[M(this.map,t)];return e?e.join():null},F.prototype.getAll=function(t){return this.map[M(this.map,t)]||[]},F.prototype.set=function(t,e){this.map[function(t){if(/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return p(t)}(M(this.map,t)||t)]=[p(e)]},F.prototype.append=function(t,e){var n=this.map[M(this.map,t)];n?n.push(p(e)):this.set(t,e)},F.prototype.delete=function(t){delete this.map[M(this.map,t)]},F.prototype.deleteAll=function(){this.map={}},F.prototype.forEach=function(t,e){var n=this;x(this.map,function(r,i){x(r,function(r){return t.call(e,r,i,n)})})};var U=function(t,e){var n=e.url,r=e.headers,i=e.status,o=e.statusText;this.url=n,this.ok=i>=200&&i<300,this.status=i||0,this.statusText=o||"",this.headers=new F(r),this.body=t,g(t)?this.bodyText=t:"undefined"!=typeof Blob&&t instanceof Blob&&(this.bodyBlob=t,function(t){return 0===t.type.indexOf("text")||-1!==t.type.indexOf("json")}(t)&&(this.bodyText=function(t){return new s(function(e){var n=new FileReader;n.readAsText(t),n.onload=function(){e(n.result)}})}(t)))};U.prototype.blob=function(){return b(this.bodyBlob)},U.prototype.text=function(){return b(this.bodyText)},U.prototype.json=function(){return b(this.text(),function(t){return JSON.parse(t)})},Object.defineProperty(U.prototype,"data",{get:function(){return this.body},set:function(t){this.body=t}});var q=function(t){var e;this.body=null,this.params={},C(this,t,{method:(e=t.method||"GET",e?e.toUpperCase():"")}),this.headers instanceof F||(this.headers=new F(this.headers))};q.prototype.getUrl=function(){return D(this)},q.prototype.getBody=function(){return this.body},q.prototype.respondWith=function(t,e){return new U(t,C(e||{},{url:this.getUrl()}))};var H={"Content-Type":"application/json;charset=utf-8"};function z(t){var e=this||{},n=function(t){var e=[P],n=[];function r(r){for(;e.length;){var i=e.pop();if(m(i)){var o=void 0,a=void 0;if(y(o=i.call(t,r,function(t){return a=t})||a))return new s(function(e,r){n.forEach(function(e){o=b(o,function(n){return e.call(t,n)||n},r)}),b(o,e,r)},t);m(o)&&n.unshift(o)}else l="Invalid interceptor of type "+typeof i+", must be a function","undefined"!=typeof console&&f&&console.warn("[VueResource warn]: "+l)}var l}return y(t)||(t=null),r.use=function(t){e.push(t)},r}(e.$vm);return function(t){c.call(arguments,1).forEach(function(e){for(var n in e)void 0===t[n]&&(t[n]=e[n])})}(t||{},e.$options,z.options),z.interceptors.forEach(function(t){g(t)&&(t=z.interceptor[t]),m(t)&&n.use(t)}),n(new q(t)).then(function(t){return t.ok?t:s.reject(t)},function(t){var e;return t instanceof Error&&(e=t,"undefined"!=typeof console&&console.error(e)),s.reject(t)})}function B(t,e,n,r){var i=this||{},o={};return x(n=C({},B.actions,n),function(n,s){n=$({url:t,params:C({},e)},r,n),o[s]=function(){return(i.$http||z)(function(t,e){var n,r=C({},t),i={};switch(e.length){case 2:i=e[0],n=e[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(r.method)?n=e[0]:i=e[0];break;case 0:break;default:throw"Expected up to 2 arguments [params, body], got "+e.length+" arguments"}return r.body=n,r.params=C({},r.params,i),r}(n,arguments))}}),o}function W(t){var e,n,r;W.installed||(n=(e=t).config,r=e.nextTick,l=r,f=n.debug||!n.silent,t.url=D,t.http=z,t.resource=B,t.Promise=s,Object.defineProperties(t.prototype,{$url:{get:function(){return w(t.url,this,this.$options.url)}},$http:{get:function(){return w(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}},$promise:{get:function(){var e=this;return function(n){return new t.Promise(n,e)}}}}))}z.options={},z.headers={put:H,post:H,patch:H,delete:H,common:{Accept:"application/json, text/plain, */*"},custom:{}},z.interceptor={before:function(t){m(t.before)&&t.before.call(this,t)},method:function(t){t.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(t.method)&&(t.headers.set("X-HTTP-Method-Override",t.method),t.method="POST")},jsonp:function(t){"JSONP"==t.method&&(t.client=I)},json:function(t){var e=t.headers.get("Content-Type")||"";return y(t.body)&&0===e.indexOf("application/json")&&(t.body=JSON.stringify(t.body)),function(t){return t.bodyText?b(t.text(),function(e){var n,r;if(0===(t.headers.get("Content-Type")||"").indexOf("application/json")||(r=(n=e).match(/^\s*(\[|\{)/))&&{"[":/]\s*$/,"{":/}\s*$/}[r[1]].test(n))try{t.body=JSON.parse(e)}catch(e){t.body=null}else t.body=e;return t}):t}},form:function(t){var e;e=t.body,"undefined"!=typeof FormData&&e instanceof FormData?t.headers.delete("Content-Type"):y(t.body)&&t.emulateJSON&&(t.body=D.params(t.body),t.headers.set("Content-Type","application/x-www-form-urlencoded"))},header:function(t){x(C({},z.headers.common,t.crossOrigin?{}:z.headers.custom,z.headers[h(t.method)]),function(e,n){t.headers.has(n)||t.headers.set(n,e)})},cors:function(t){if(d){var e=D.parse(location.href),n=D.parse(t.getUrl());n.protocol===e.protocol&&n.host===e.host||(t.crossOrigin=!0,t.emulateHTTP=!1,N||(t.client=j))}}},z.interceptors=["before","method","jsonp","json","form","header","cors"],["get","delete","head","jsonp"].forEach(function(t){z[t]=function(e,n){return this(C(n||{},{url:e,method:t}))}}),["post","put","patch"].forEach(function(t){z[t]=function(e,n,r){return this(C(r||{},{url:e,method:t,body:n}))}}),B.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(W),e.default=W},"8Hdb":function(t,e,n){var r=n("pQUU");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("55ec6dfe",r,!0,{})},"8tqk":function(t,e,n){var r=n("XDdR");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("e7dfcece",r,!0,{})},"9ozO":function(t,e){},"9zF9":function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-538f99aa]{cursor:pointer}.m-b-none[data-v-538f99aa]{margin-bottom:0}",""])},"A/e+":function(t,e,n){var r=n("VU/8")(n("5m3O"),n("l4G8"),!1,function(t){n("8tqk")},"data-v-7193ece9",null);t.exports=r.exports},DimI:function(t,e,n){var r=n("9zF9");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("3ca06ca7",r,!0,{})},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},F7gb:function(t,e){},FHXl:function(t,e,n){var r,i,o;!function(s){"use strict";i=[n("7t+N"),n("z1kw")],void 0===(o="function"==typeof(r=s)?r.apply(e,i):r)||(t.exports=o)}(function(t){"use strict";function e(e){var n="dragover"===e;return function(r){r.dataTransfer=r.originalEvent&&r.originalEvent.dataTransfer;var i=r.dataTransfer;i&&-1!==t.inArray("Files",i.types)&&!1!==this._trigger(e,t.Event(e,{delegatedEvent:r}))&&(r.preventDefault(),n&&(i.dropEffect="copy"))}}t.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||t('<input type="file"/>').prop("disabled")),t.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),t.support.xhrFormDataFileUpload=!!window.FormData,t.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),t.widget("blueimp.fileupload",{options:{dropZone:t(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,uniqueFilenames:void 0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(e,n){return e=this.messages[e]||e.toString(),n&&t.each(n,function(t,n){e=e.replace("{"+t+"}",n)}),e},formData:function(t){return t.serializeArray()},add:function(e,n){if(e.isDefaultPrevented())return!1;(n.autoUpload||!1!==n.autoUpload&&t(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:t.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var r=t-this.timestamp;return(!this.bitrate||!n||r>n)&&(this.bitrate=(e-this.loaded)*(1e3/r)*8,this.loaded=e,this.timestamp=t),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&t.support.xhrFileUpload||t.support.xhrFormDataFileUpload)},_getFormData:function(e){var n;return"function"===t.type(e.formData)?e.formData(e.form):t.isArray(e.formData)?e.formData:"object"===t.type(e.formData)?(n=[],t.each(e.formData,function(t,e){n.push({name:t,value:e})}),n):[]},_getTotal:function(e){var n=0;return t.each(e,function(t,e){n+=e.size||1}),n},_initProgressObject:function(e){var n={loaded:0,total:0,bitrate:0};e._progress?t.extend(e._progress,n):e._progress=n},_initResponseObject:function(t){var e;if(t._response)for(e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(e,n){if(e.lengthComputable){var r,i=Date.now?Date.now():(new Date).getTime();if(n._time&&n.progressInterval&&i-n._time<n.progressInterval&&e.loaded!==e.total)return;n._time=i,r=Math.floor(e.loaded/e.total*(n.chunkSize||n._progress.total))+(n.uploadedBytes||0),this._progress.loaded+=r-n._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(i,this._progress.loaded,n.bitrateInterval),n._progress.loaded=n.loaded=r,n._progress.bitrate=n.bitrate=n._bitrateTimer.getBitrate(i,r,n.bitrateInterval),this._trigger("progress",t.Event("progress",{delegatedEvent:e}),n),this._trigger("progressall",t.Event("progressall",{delegatedEvent:e}),this._progress)}},_initProgressListener:function(e){var n=this,r=e.xhr?e.xhr():t.ajaxSettings.xhr();r.upload&&(t(r.upload).bind("progress",function(t){var r=t.originalEvent;t.lengthComputable=r.lengthComputable,t.loaded=r.loaded,t.total=r.total,n._onProgress(t,e)}),e.xhr=function(){return r})},_deinitProgressListener:function(e){var n=e.xhr?e.xhr():t.ajaxSettings.xhr();n.upload&&t(n.upload).unbind("progress")},_isInstanceOf:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"},_getUniqueFilename:function(t,e){return e[t=String(t)]?(t=t.replace(/(?: \(([\d]+)\))?(\.[^.]+)?$/,function(t,e,n){return" ("+(e?Number(e)+1:1)+")"+(n||"")}),this._getUniqueFilename(t,e)):(e[t]=!0,t)},_initXHRData:function(e){var n,r=this,i=e.files[0],o=e.multipart||!t.support.xhrFileUpload,s="array"===t.type(e.paramName)?e.paramName[0]:e.paramName;e.headers=t.extend({},e.headers),e.contentRange&&(e.headers["Content-Range"]=e.contentRange),o&&!e.blob&&this._isInstanceOf("File",i)||(e.headers["Content-Disposition"]='attachment; filename="'+encodeURI(i.uploadName||i.name)+'"'),o?t.support.xhrFormDataFileUpload&&(e.postMessage?(n=this._getFormData(e),e.blob?n.push({name:s,value:e.blob}):t.each(e.files,function(r,i){n.push({name:"array"===t.type(e.paramName)&&e.paramName[r]||s,value:i})})):(r._isInstanceOf("FormData",e.formData)?n=e.formData:(n=new FormData,t.each(this._getFormData(e),function(t,e){n.append(e.name,e.value)})),e.blob?n.append(s,e.blob,i.uploadName||i.name):t.each(e.files,function(i,o){if(r._isInstanceOf("File",o)||r._isInstanceOf("Blob",o)){var a=o.uploadName||o.name;e.uniqueFilenames&&(a=r._getUniqueFilename(a,e.uniqueFilenames)),n.append("array"===t.type(e.paramName)&&e.paramName[i]||s,o,a)}})),e.data=n):(e.contentType=i.type||"application/octet-stream",e.data=e.blob||i),e.blob=null},_initIframeSettings:function(e){var n=t("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&n&&n!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(e){var n=t(e.fileInput),r=e.paramName;return r?t.isArray(r)||(r=[r]):(r=[],n.each(function(){for(var e=t(this),n=e.prop("name")||"files[]",i=(e.prop("files")||[1]).length;i;)r.push(n),i-=1}),r.length||(r=[n.prop("name")||"files[]"])),r},_initFormSettings:function(e){e.form&&e.form.length||(e.form=t(e.fileInput.prop("form")),e.form.length||(e.form=t(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===t.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var n=t.extend({},this.options,e);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(e,n,r){var i=t.Deferred(),o=i.promise();return n=n||this.options.context||o,!0===e?i.resolveWith(n,r):!1===e&&i.rejectWith(n,r),o.abort=i.promise,this._enhancePromise(o)},_addConvenienceMethods:function(e,n){var r=this,i=function(e){return t.Deferred().resolveWith(r,e).promise()};n.process=function(e,o){return(e||o)&&(n._processQueue=this._processQueue=(this._processQueue||i([this])).then(function(){return n.errorThrown?t.Deferred().rejectWith(r,[n]).promise():i(arguments)}).then(e,o)),this._processQueue||i([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=!1!==r._trigger("submit",t.Event("submit",{delegatedEvent:e}),this)&&r._onSend(e,this)),this.jqXHR||r._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},n.state=function(){return this.jqXHR?r._getDeferredState(this.jqXHR):this._processQueue?r._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===r._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),n=e&&e.split("-"),r=n&&n.length>1&&parseInt(n[1],10);return r&&r+1},_chunkedUpload:function(e,n){e.uploadedBytes=e.uploadedBytes||0;var r,i,o=this,s=e.files[0],a=s.size,l=e.uploadedBytes,u=e.maxChunkSize||a,c=this._blobSlice,f=t.Deferred(),d=f.promise();return!(!(this._isXHRUpload(e)&&c&&(l||("function"===t.type(u)?u(e):u)<a))||e.data)&&(!!n||(l>=a?(s.error=e.i18n("uploadedBytes"),this._getXHRPromise(!1,e.context,[null,"error",s.error])):(i=function(){var n=t.extend({},e),d=n._progress.loaded;n.blob=c.call(s,l,l+("function"===t.type(u)?u(n):u),s.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+l+"-"+(l+n.chunkSize-1)+"/"+a,o._trigger("chunkbeforesend",null,n),o._initXHRData(n),o._initProgressListener(n),r=(!1!==o._trigger("chunksend",null,n)&&t.ajax(n)||o._getXHRPromise(!1,n.context)).done(function(r,s,u){l=o._getUploadedBytes(u)||l+n.chunkSize,d+n.chunkSize-n._progress.loaded&&o._onProgress(t.Event("progress",{lengthComputable:!0,loaded:l-n.uploadedBytes,total:l-n.uploadedBytes}),n),e.uploadedBytes=n.uploadedBytes=l,n.result=r,n.textStatus=s,n.jqXHR=u,o._trigger("chunkdone",null,n),o._trigger("chunkalways",null,n),l<a?i():f.resolveWith(n.context,[r,s,u])}).fail(function(t,e,r){n.jqXHR=t,n.textStatus=e,n.errorThrown=r,o._trigger("chunkfail",null,n),o._trigger("chunkalways",null,n),f.rejectWith(n.context,[t,e,r])}).always(function(){o._deinitProgressListener(n)})},this._enhancePromise(d),d.abort=function(){return r.abort()},i(),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,n,r,i){var o=i._progress.total,s=i._response;i._progress.loaded<o&&this._onProgress(t.Event("progress",{lengthComputable:!0,loaded:o,total:o}),i),s.result=i.result=e,s.textStatus=i.textStatus=n,s.jqXHR=i.jqXHR=r,this._trigger("done",null,i)},_onFail:function(t,e,n,r){var i=r._response;r.recalculateProgress&&(this._progress.loaded-=r._progress.loaded,this._progress.total-=r._progress.total),i.jqXHR=r.jqXHR=t,i.textStatus=r.textStatus=e,i.errorThrown=r.errorThrown=n,this._trigger("fail",null,r)},_onAlways:function(t,e,n,r){this._trigger("always",null,r)},_onSend:function(e,n){n.submit||this._addConvenienceMethods(e,n);var r,i,o,s,a=this,l=a._getAJAXSettings(n),u=function(){return a._sending+=1,l._bitrateTimer=new a._BitrateTimer,r=r||((i||!1===a._trigger("send",t.Event("send",{delegatedEvent:e}),l))&&a._getXHRPromise(!1,l.context,i)||a._chunkedUpload(l)||t.ajax(l)).done(function(t,e,n){a._onDone(t,e,n,l)}).fail(function(t,e,n){a._onFail(t,e,n,l)}).always(function(t,e,n){if(a._deinitProgressListener(l),a._onAlways(t,e,n,l),a._sending-=1,a._active-=1,l.limitConcurrentUploads&&l.limitConcurrentUploads>a._sending)for(var r=a._slots.shift();r;){if("pending"===a._getDeferredState(r)){r.resolve();break}r=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 i=[void 0,"abort","abort"],r?r.abort():(o&&o.rejectWith(l.context,i),u())},this._enhancePromise(s)):u()},_onAdd:function(e,n){var r,i,o,s,a=this,l=!0,u=t.extend({},this.options,n),c=n.files,f=c.length,d=u.limitMultiFileUploads,p=u.limitMultiFileUploadSize,h=u.limitMultiFileUploadSizeOverhead,v=0,g=this._getParamName(u),m=0;if(!f)return!1;if(p&&void 0===c[0].size&&(p=void 0),(u.singleFileUploads||d||p)&&this._isXHRUpload(u))if(u.singleFileUploads||p||!d)if(!u.singleFileUploads&&p)for(o=[],r=[],s=0;s<f;s+=1)v+=c[s].size+h,(s+1===f||v+c[s+1].size+h>p||d&&s+1-m>=d)&&(o.push(c.slice(m,s+1)),(i=g.slice(m,s+1)).length||(i=g),r.push(i),m=s+1,v=0);else r=g;else for(o=[],r=[],s=0;s<f;s+=d)o.push(c.slice(s,s+d)),(i=g.slice(s,s+d)).length||(i=g),r.push(i);else o=[c],r=[g];return n.originalFiles=c,t.each(o||c,function(i,s){var u=t.extend({},n);return u.files=o?s:[s],u.paramName=r[i],a._initResponseObject(u),a._initProgressObject(u),a._addConvenienceMethods(e,u),l=a._trigger("add",t.Event("add",{delegatedEvent:e}),u)}),l},_replaceFileInput:function(e){var n=e.fileInput,r=n.clone(!0),i=n.is(document.activeElement);e.fileInputClone=r,t("<form></form>").append(r)[0].reset(),n.after(r).detach(),i&&r.focus(),t.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(t,e){return e===n[0]?r[0]:e}),n[0]===this.element[0]&&(this.element=r)},_handleFileTreeEntry:function(e,n){var r,i=this,o=t.Deferred(),s=[],a=function(t){t&&!t.entry&&(t.entry=e),o.resolve([t])},l=function(){r.readEntries(function(t){t.length?(s=s.concat(t),l()):function(t){i._handleFileTreeEntries(t,n+e.name+"/").done(function(t){o.resolve(t)}).fail(a)}(s)},a)};return n=n||"",e.isFile?e._file?(e._file.relativePath=n,o.resolve(e._file)):e.file(function(t){t.relativePath=n,o.resolve(t)},a):e.isDirectory?(r=e.createReader(),l()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(e,n){var r=this;return t.when.apply(t,t.map(e,function(t){return r._handleFileTreeEntry(t,n)})).then(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){var n=(e=e||{}).items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(t.map(n,function(t){var e;return t.webkitGetAsEntry?((e=t.webkitGetAsEntry())&&(e._file=t.getAsFile()),e):t.getAsEntry()})):t.Deferred().resolve(t.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){var n,r,i=(e=t(e)).prop("webkitEntries")||e.prop("entries");if(i&&i.length)return this._handleFileTreeEntries(i);if((n=t.makeArray(e.prop("files"))).length)void 0===n[0].name&&n[0].fileName&&t.each(n,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(!(r=e.prop("value")))return t.Deferred().resolve([]).promise();n=[{name:r.replace(/^.*\\/,"")}]}return t.Deferred().resolve(n).promise()},_getFileInputFiles:function(e){return e instanceof t&&1!==e.length?t.when.apply(t,t.map(e,this._getSingleFileInputFiles)).then(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(e){var n=this,r={fileInput:t(e.target),form:t(e.target.form)};this._getFileInputFiles(r.fileInput).always(function(i){r.files=i,n.options.replaceFileInput&&n._replaceFileInput(r),!1!==n._trigger("change",t.Event("change",{delegatedEvent:e}),r)&&n._onAdd(e,r)})},_onPaste:function(e){var n=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,r={files:[]};n&&n.length&&(t.each(n,function(t,e){var n=e.getAsFile&&e.getAsFile();n&&r.files.push(n)}),!1!==this._trigger("paste",t.Event("paste",{delegatedEvent:e}),r)&&this._onAdd(e,r))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,r=e.dataTransfer,i={};r&&r.files&&r.files.length&&(e.preventDefault(),this._getDroppedFiles(r).always(function(r){i.files=r,!1!==n._trigger("drop",t.Event("drop",{delegatedEvent:e}),i)&&n._onAdd(e,i)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),t.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_destroy:function(){this._destroyEventHandlers()},_setOption:function(e,n){var r=-1!==t.inArray(e,this._specialOptions);r&&this._destroyEventHandlers(),this._super(e,n),r&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):e.fileInput instanceof t||(e.fileInput=t(e.fileInput)),e.dropZone instanceof t||(e.dropZone=t(e.dropZone)),e.pasteZone instanceof t||(e.pasteZone=t(e.pasteZone))},_getRegExp:function(t){var e=t.split("/"),n=e.pop();return e.shift(),new RegExp(e.join("/"),n)},_isRegExpOption:function(e,n){return"url"!==e&&"string"===t.type(n)&&/^\/.*\/[igm]{0,3}$/.test(n)},_initDataAttributes:function(){var e=this,n=this.options,r=this.element.data();t.each(this.element[0].attributes,function(t,i){var o,s=i.name.toLowerCase();/^data-/.test(s)&&(s=s.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),o=r[s],e._isRegExpOption(s,o)&&(o=e._getRegExp(o)),n[s]=o)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(e){var n=this;e&&!this.options.disabled&&(e.fileInput&&!e.files?this._getFileInputFiles(e.fileInput).always(function(t){e.files=t,n._onAdd(null,e)}):(e.files=t.makeArray(e.files),this._onAdd(null,e)))},send:function(e){if(e&&!this.options.disabled){if(e.fileInput&&!e.files){var n,r,i=this,o=t.Deferred(),s=o.promise();return s.abort=function(){return r=!0,n?n.abort():(o.reject(null,"abort","abort"),s)},this._getFileInputFiles(e.fileInput).always(function(t){r||(t.length?(e.files=t,(n=i._onSend(null,e)).then(function(t,e,n){o.resolve(t,e,n)},function(t,e,n){o.reject(t,e,n)})):o.reject())}),this._enhancePromise(s)}if(e.files=t.makeArray(e.files),e.files.length)return this._onSend(null,e)}return this._getXHRPromise(!1,e&&e.context)}})})},"FZ+f":function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=(s=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),o=r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"});return[n].concat(o).concat([i]).join("\n")}var s;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},GDnL:function(t,e,n){n("WRGp"),Vue.component("passport-clients",n("A/e+")),Vue.component("passport-authorized-clients",n("ooDj")),Vue.component("passport-personal-access-tokens",n("Lypw")),Vue.component("importer",n("NYlw")),Vue.component("fieldset-default-values",n("+sje"))},HB0T:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"legend[data-v-3bdd24a5]{font-size:13px;font-weight:700;border:0}fieldset>div[data-v-3bdd24a5]{background:#f4f4f4;border:1px solid #d3d6de;margin:0 15px 15px;padding:20px 20px 10px}@media (max-width:992px){legend[data-v-3bdd24a5]{text-align:left!important}}@media (min-width:992px){fieldset>div[data-v-3bdd24a5]{width:55%}}",""])},"I3G/":function(t,e,n){"use strict";(function(e){function n(t){return void 0===t||null===t}function r(t){return void 0!==t&&null!==t}function i(t){return!0===t}function o(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function s(t){return null!==t&&"object"==typeof t}var a=Object.prototype.toString;function l(t){return"[object Object]"===a.call(t)}function u(t){var e=parseFloat(t);return e>=0&&Math.floor(e)===e&&isFinite(t)}function c(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var p=d("slot,component",!0),h=d("key,ref,slot,is");function v(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function m(t,e){return g.call(t,e)}function y(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var _=/-(\w)/g,b=y(function(t){return t.replace(_,function(t,e){return e?e.toUpperCase():""})}),w=y(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),x=/\B([A-Z])/g,C=y(function(t){return t.replace(x,"-$1").toLowerCase()});function $(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function T(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function A(t,e){for(var n in e)t[n]=e[n];return t}function k(t){for(var e={},n=0;n<t.length;n++)t[n]&&A(e,t[n]);return e}function E(t,e,n){}var S=function(t,e,n){return!1},O=function(t){return t};function D(t,e){if(t===e)return!0;var n=s(t),r=s(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every(function(t,n){return D(t,e[n])});if(i||o)return!1;var a=Object.keys(t),l=Object.keys(e);return a.length===l.length&&a.every(function(n){return D(t[n],e[n])})}catch(t){return!1}}function j(t,e){for(var n=0;n<t.length;n++)if(D(t[n],e))return n;return-1}function N(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var I="data-server-rendered",R=["component","directive","filter"],L=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],P={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:S,isReservedAttr:S,isUnknownElement:S,getTagNamespace:E,parsePlatformTagName:O,mustUseProp:S,_lifecycleHooks:L},F=Object.freeze({});function M(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function U(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var q=/[^\w.$]/;var H=E;function z(t,e,n){if(P.errorHandler)P.errorHandler.call(null,t,e,n);else{if(!V||"undefined"==typeof console)throw t;console.error(t)}}var B,W="__proto__"in{},V="undefined"!=typeof window,X=V&&window.navigator.userAgent.toLowerCase(),G=X&&/msie|trident/.test(X),K=X&&X.indexOf("msie 9.0")>0,Z=X&&X.indexOf("edge/")>0,J=X&&X.indexOf("android")>0,Q=X&&/iphone|ipad|ipod|ios/.test(X),Y=X&&/chrome\/\d+/.test(X)&&!Z,tt={}.watch,et=!1;if(V)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(t){}var rt=function(){return void 0===B&&(B=!V&&void 0!==e&&"server"===e.process.env.VUE_ENV),B},it=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"==typeof t&&/native code/.test(t.toString())}var st,at="undefined"!=typeof Symbol&&ot(Symbol)&&"undefined"!=typeof Reflect&&ot(Reflect.ownKeys),lt=function(){var t,e=[],n=!1;function r(){n=!1;var t=e.slice(0);e.length=0;for(var r=0;r<t.length;r++)t[r]()}if("undefined"!=typeof Promise&&ot(Promise)){var i=Promise.resolve(),o=function(t){console.error(t)};t=function(){i.then(r).catch(o),Q&&setTimeout(E)}}else if(G||"undefined"==typeof MutationObserver||!ot(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())t=function(){setTimeout(r,0)};else{var s=1,a=new MutationObserver(r),l=document.createTextNode(String(s));a.observe(l,{characterData:!0}),t=function(){s=(s+1)%2,l.data=String(s)}}return function(r,i){var o;if(e.push(function(){if(r)try{r.call(i)}catch(t){z(t,i,"nextTick")}else o&&o(i)}),n||(n=!0,t()),!r&&"undefined"!=typeof Promise)return new Promise(function(t,e){o=t})}}();st="undefined"!=typeof Set&&ot(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ut=0,ct=function(){this.id=ut++,this.subs=[]};ct.prototype.addSub=function(t){this.subs.push(t)},ct.prototype.removeSub=function(t){v(this.subs,t)},ct.prototype.depend=function(){ct.target&&ct.target.addDep(this)},ct.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},ct.target=null;var ft=[];var dt=Array.prototype,pt=Object.create(dt);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=dt[t];U(pt,t,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var i,o=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&s.observeArray(i),s.dep.notify(),o})});var ht=Object.getOwnPropertyNames(pt),vt={shouldConvert:!0},gt=function(t){(this.value=t,this.dep=new ct,this.vmCount=0,U(t,"__ob__",this),Array.isArray(t))?((W?mt:yt)(t,pt,ht),this.observeArray(t)):this.walk(t)};function mt(t,e,n){t.__proto__=e}function yt(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];U(t,o,e[o])}}function _t(t,e){var n;if(s(t))return m(t,"__ob__")&&t.__ob__ instanceof gt?n=t.__ob__:vt.shouldConvert&&!rt()&&(Array.isArray(t)||l(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new gt(t)),e&&n&&n.vmCount++,n}function bt(t,e,n,r,i){var o=new ct,s=Object.getOwnPropertyDescriptor(t,e);if(!s||!1!==s.configurable){var a=s&&s.get,l=s&&s.set,u=!i&&_t(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return ct.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(e)&&function t(e){for(var n=void 0,r=0,i=e.length;r<i;r++)(n=e[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&t(n)}(e))),e},set:function(e){var r=a?a.call(t):n;e===r||e!=e&&r!=r||(l?l.call(t,e):n=e,u=!i&&_t(e),o.notify())}})}}function wt(t,e,n){if(Array.isArray(t)&&u(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(m(t,e))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(bt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function xt(t,e){if(Array.isArray(t)&&u(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||m(t,e)&&(delete t[e],n&&n.dep.notify())}}gt.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)bt(t,e[n],t[e[n]])},gt.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)_t(t[e])};var Ct=P.optionMergeStrategies;function $t(t,e){if(!e)return t;for(var n,r,i,o=Object.keys(e),s=0;s<o.length;s++)r=t[n=o[s]],i=e[n],m(t,n)?l(r)&&l(i)&&$t(r,i):wt(t,n,i);return t}function Tt(t,e,n){return n?t||e?function(){var r="function"==typeof e?e.call(n):e,i="function"==typeof t?t.call(n):t;return r?$t(r,i):i}:void 0:e?t?function(){return $t("function"==typeof e?e.call(this):e,"function"==typeof t?t.call(this):t)}:e:t}function At(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function kt(t,e){var n=Object.create(t||null);return e?A(n,e):n}Ct.data=function(t,e,n){return n?Tt(t,e,n):e&&"function"!=typeof e?t:Tt.call(this,t,e)},L.forEach(function(t){Ct[t]=At}),R.forEach(function(t){Ct[t+"s"]=kt}),Ct.watch=function(t,e){if(t===tt&&(t=void 0),e===tt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var n={};for(var r in A(n,t),e){var i=n[r],o=e[r];i&&!Array.isArray(i)&&(i=[i]),n[r]=i?i.concat(o):Array.isArray(o)?o:[o]}return n},Ct.props=Ct.methods=Ct.inject=Ct.computed=function(t,e){if(!t)return e;var n=Object.create(null);return A(n,t),e&&A(n,e),n},Ct.provide=Tt;var Et=function(t,e){return void 0===e?t:e};function St(t,e,n){"function"==typeof e&&(e=e.options),function(t){var e=t.props;if(e){var n,r,i={};if(Array.isArray(e))for(n=e.length;n--;)"string"==typeof(r=e[n])&&(i[b(r)]={type:null});else if(l(e))for(var o in e)r=e[o],i[b(o)]=l(r)?r:{type:r};t.props=i}}(e),function(t){var e=t.inject;if(Array.isArray(e))for(var n=t.inject={},r=0;r<e.length;r++)n[e[r]]=e[r]}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}(e);var r=e.extends;if(r&&(t=St(t,r,n)),e.mixins)for(var i=0,o=e.mixins.length;i<o;i++)t=St(t,e.mixins[i],n);var s,a={};for(s in t)u(s);for(s in e)m(t,s)||u(s);function u(r){var i=Ct[r]||Et;a[r]=i(t[r],e[r],n,r)}return a}function Ot(t,e,n,r){if("string"==typeof n){var i=t[e];if(m(i,n))return i[n];var o=b(n);if(m(i,o))return i[o];var s=w(o);return m(i,s)?i[s]:i[n]||i[o]||i[s]}}function Dt(t,e,n,r){var i=e[t],o=!m(n,t),s=n[t];if(Nt(Boolean,i.type)&&(o&&!m(i,"default")?s=!1:Nt(String,i.type)||""!==s&&s!==C(t)||(s=!0)),void 0===s){s=function(t,e,n){if(!m(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof r&&"Function"!==jt(e.type)?r.call(t):r}(r,i,t);var a=vt.shouldConvert;vt.shouldConvert=!0,_t(s),vt.shouldConvert=a}return s}function jt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Nt(t,e){if(!Array.isArray(e))return jt(e)===jt(t);for(var n=0,r=e.length;n<r;n++)if(jt(e[n])===jt(t))return!0;return!1}var It=function(t,e,n,r,i,o,s,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Rt={child:{}};Rt.child.get=function(){return this.componentInstance},Object.defineProperties(It.prototype,Rt);var Lt=function(t){void 0===t&&(t="");var e=new It;return e.text=t,e.isComment=!0,e};function Pt(t){return new It(void 0,void 0,void 0,String(t))}function Ft(t,e){var n=new It(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return n.ns=t.ns,n.isStatic=t.isStatic,n.key=t.key,n.isComment=t.isComment,n.isCloned=!0,e&&t.children&&(n.children=Mt(t.children)),n}function Mt(t,e){for(var n=t.length,r=new Array(n),i=0;i<n;i++)r[i]=Ft(t[i],e);return r}var Ut,qt=y(function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,plain:!(e||n||r),once:n,capture:r,passive:e}});function Ht(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),i=0;i<r.length;i++)r[i].apply(null,t)}return e.fns=t,e}function zt(t,e){return t.plain?-1:e.plain?1:0}function Bt(t,e,r,i,o){var s,a,l,u,c=[],f=!1;for(s in t)a=t[s],l=e[s],(u=qt(s)).plain||(f=!0),n(a)||(n(l)?(n(a.fns)&&(a=t[s]=Ht(a)),u.handler=a,c.push(u)):a!==l&&(l.fns=a,t[s]=l));if(c.length){f&&c.sort(zt);for(var d=0;d<c.length;d++){var p=c[d];r(p.name,p.handler,p.once,p.capture,p.passive)}}for(s in e)n(t[s])&&i((u=qt(s)).name,e[s],u.capture)}function Wt(t,e,o){var s,a=t[e];function l(){o.apply(this,arguments),v(s.fns,l)}n(a)?s=Ht([l]):r(a.fns)&&i(a.merged)?(s=a).fns.push(l):s=Ht([a,l]),s.merged=!0,t[e]=s}function Vt(t,e,n,i,o){if(r(e)){if(m(e,n))return t[n]=e[n],o||delete e[n],!0;if(m(e,i))return t[n]=e[i],o||delete e[i],!0}return!1}function Xt(t){return o(t)?[Pt(t)]:Array.isArray(t)?function t(e,s){var a=[];var l,u,c;for(l=0;l<e.length;l++)n(u=e[l])||"boolean"==typeof u||(c=a[a.length-1],Array.isArray(u)?a.push.apply(a,t(u,(s||"")+"_"+l)):o(u)?Gt(c)?c.text+=String(u):""!==u&&a.push(Pt(u)):Gt(u)&&Gt(c)?a[a.length-1]=Pt(c.text+u.text):(i(e._isVList)&&r(u.tag)&&n(u.key)&&r(s)&&(u.key="__vlist"+s+"_"+l+"__"),a.push(u)));return a}(t):void 0}function Gt(t){return r(t)&&r(t.text)&&!1===t.isComment}function Kt(t,e){return t.__esModule&&t.default&&(t=t.default),s(t)?e.extend(t):t}function Zt(t){return t.isComment&&t.asyncFactory}function Jt(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(r(n)&&(r(n.componentOptions)||Zt(n)))return n}}function Qt(t,e,n){n?Ut.$once(t,e):Ut.$on(t,e)}function Yt(t,e){Ut.$off(t,e)}function te(t,e,n){Ut=t,Bt(e,n||{},Qt,Yt)}function ee(t,e){var n={};if(!t)return n;for(var r=[],i=0,o=t.length;i<o;i++){var s=t[i],a=s.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,s.context!==e&&s.functionalContext!==e||!a||null==a.slot)r.push(s);else{var l=s.data.slot,u=n[l]||(n[l]=[]);"template"===s.tag?u.push.apply(u,s.children):u.push(s)}}return r.every(ne)||(n.default=r),n}function ne(t){return t.isComment||" "===t.text}function re(t,e){e=e||{};for(var n=0;n<t.length;n++)Array.isArray(t[n])?re(t[n],e):e[t[n].key]=t[n].fn;return e}var ie=null;function oe(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function se(t,e){if(e){if(t._directInactive=!1,oe(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)se(t.$children[n]);ae(t,"activated")}}function ae(t,e){var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(t)}catch(n){z(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e)}var le=[],ue=[],ce={},fe=!1,de=!1,pe=0;function he(){var t,e;for(de=!0,le.sort(function(t,e){return t.id-e.id}),pe=0;pe<le.length;pe++)e=(t=le[pe]).id,ce[e]=null,t.run();var n=ue.slice(),r=le.slice();pe=le.length=ue.length=0,ce={},fe=de=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,se(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&ae(r,"updated")}}(r),it&&P.devtools&&it.emit("flush")}var ve=0,ge=function(t,e,n,r){this.vm=t,t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ve,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new st,this.newDepIds=new st,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!q.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};ge.prototype.get=function(){var t,e;t=this,ct.target&&ft.push(ct.target),ct.target=t;var n,r=this.vm;try{e=this.getter.call(r,r)}catch(t){if(!this.user)throw t;z(t,r,'getter for watcher "'+this.expression+'"')}finally{this.deep&&(n=e,me.clear(),function t(e,n){var r,i,o=Array.isArray(e);if((o||s(e))&&Object.isExtensible(e)){if(e.__ob__){var a=e.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=e.length;r--;)t(e[r],n);else for(i=Object.keys(e),r=i.length;r--;)t(e[i[r]],n)}}(n,me)),ct.target=ft.pop(),this.cleanupDeps()}return e},ge.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},ge.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ge.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==ce[e]){if(ce[e]=!0,de){for(var n=le.length-1;n>pe&&le[n].id>t.id;)n--;le.splice(n+1,0,t)}else le.push(t);fe||(fe=!0,lt(he))}}(this)},ge.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){z(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},ge.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ge.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},ge.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var me=new st;var ye={enumerable:!0,configurable:!0,get:E,set:E};function _e(t,e,n){ye.get=function(){return this[e][n]},ye.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ye)}function be(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;vt.shouldConvert=o;var s=function(o){i.push(o);var s=Dt(o,e,n,t);bt(r,o,s),o in t||_e(t,"_props",o)};for(var a in e)s(a);vt.shouldConvert=!0}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?E:$(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;l(e=t._data="function"==typeof e?function(t,e){try{return t.call(e)}catch(t){return z(t,e,"data()"),{}}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&m(r,o)||M(o)||_e(t,"_data",o)}_t(e,!0)}(t):_t(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=rt();for(var i in e){var o=e[i],s="function"==typeof o?o:o.get;0,r||(n[i]=new ge(t,s||E,E,we)),i in t||xe(t,i,o)}}(t,e.computed),e.watch&&e.watch!==tt&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)$e(t,n,r[i]);else $e(t,n,r)}}(t,e.watch)}var we={lazy:!0};function xe(t,e,n){var r=!rt();"function"==typeof n?(ye.get=r?Ce(e):n,ye.set=E):(ye.get=n.get?r&&!1!==n.cache?Ce(e):n.get:E,ye.set=n.set?n.set:E),Object.defineProperty(t,e,ye)}function Ce(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ct.target&&e.depend(),e.value}}function $e(t,e,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function Te(t,e){if(t){for(var n=Object.create(null),r=at?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),i=0;i<r.length;i++){for(var o=r[i],s=t[o],a=e;a;){if(a._provided&&s in a._provided){n[o]=a._provided[s];break}a=a.$parent}0}return n}}function Ae(t,e){for(var n in e)t[b(n)]=e[n]}var ke={init:function(t,e,n,i){if(!t.componentInstance||t.componentInstance._isDestroyed)(t.componentInstance=function(t,e,n,i){var o=t.componentOptions,s={_isComponent:!0,parent:e,propsData:o.propsData,_componentTag:o.tag,_parentVnode:t,_parentListeners:o.listeners,_renderChildren:o.children,_parentElm:n||null,_refElm:i||null},a=t.data.inlineTemplate;r(a)&&(s.render=a.render,s.staticRenderFns=a.staticRenderFns);return new o.Ctor(s)}(t,ie,n,i)).$mount(e?t.elm:void 0,e);else if(t.data.keepAlive){var o=t;ke.prepatch(o,o)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,r,i){var o=!!(i||t.$options._renderChildren||r.data.scopedSlots||t.$scopedSlots!==F);if(t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=i,t.$attrs=r.data&&r.data.attrs||F,t.$listeners=n||F,e&&t.$options.props){vt.shouldConvert=!1;for(var s=t._props,a=t.$options._propKeys||[],l=0;l<a.length;l++){var u=a[l];s[u]=Dt(u,t.$options.props,e,t)}vt.shouldConvert=!0,t.$options.propsData=e}if(n){var c=t.$options._parentListeners;t.$options._parentListeners=n,te(t,n,c)}o&&(t.$slots=ee(i,r.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,ae(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,ue.push(e)):se(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(!(n&&(e._directInactive=!0,oe(e))||e._inactive)){e._inactive=!0;for(var r=0;r<e.$children.length;r++)t(e.$children[r]);ae(e,"deactivated")}}(e,!0):e.$destroy())}},Ee=Object.keys(ke);function Se(t,e,o,a,l){if(!n(t)){var u=o.$options._base;if(s(t)&&(t=u.extend(t)),"function"==typeof t){var c;if(n(t.cid)&&void 0===(t=function(t,e,o){if(i(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;if(i(t.loading)&&r(t.loadingComp))return t.loadingComp;if(!r(t.contexts)){var a=t.contexts=[o],l=!0,u=function(){for(var t=0,e=a.length;t<e;t++)a[t].$forceUpdate()},c=N(function(n){t.resolved=Kt(n,e),l||u()}),f=N(function(e){r(t.errorComp)&&(t.error=!0,u())}),d=t(c,f);return s(d)&&("function"==typeof d.then?n(t.resolved)&&d.then(c,f):r(d.component)&&"function"==typeof d.component.then&&(d.component.then(c,f),r(d.error)&&(t.errorComp=Kt(d.error,e)),r(d.loading)&&(t.loadingComp=Kt(d.loading,e),0===d.delay?t.loading=!0:setTimeout(function(){n(t.resolved)&&n(t.error)&&(t.loading=!0,u())},d.delay||200)),r(d.timeout)&&setTimeout(function(){n(t.resolved)&&f(null)},d.timeout))),l=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(o)}(c=t,u,o)))return function(t,e,n,r,i){var o=Lt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}(c,e,o,a,l);e=e||{},We(t),r(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.props||(e.props={}))[n]=e.model.value;var o=e.on||(e.on={});r(o[i])?o[i]=[e.model.callback].concat(o[i]):o[i]=e.model.callback}(t.options,e);var f=function(t,e,i){var o=e.options.props;if(!n(o)){var s={},a=t.attrs,l=t.props;if(r(a)||r(l))for(var u in o){var c=C(u);Vt(s,l,u,c,!0)||Vt(s,a,u,c,!1)}return s}}(e,t);if(i(t.options.functional))return function(t,e,n,i,o){var s={},a=t.options.props;if(r(a))for(var l in a)s[l]=Dt(l,a,e||F);else r(n.attrs)&&Ae(s,n.attrs),r(n.props)&&Ae(s,n.props);var u=Object.create(i),c=t.options.render.call(null,function(t,e,n,r){return Ne(u,t,e,n,r,!0)},{data:n,props:s,children:o,parent:i,listeners:n.on||F,injections:Te(t.options.inject,i),slots:function(){return ee(o,i)}});return c instanceof It&&(c.functionalContext=i,c.functionalOptions=t.options,n.slot&&((c.data||(c.data={})).slot=n.slot)),c}(t,f,e,o,a);var d=e.on;if(e.on=e.nativeOn,i(t.options.abstract)){var p=e.slot;e={},p&&(e.slot=p)}!function(t){t.hook||(t.hook={});for(var e=0;e<Ee.length;e++){var n=Ee[e],r=t.hook[n],i=ke[n];t.hook[n]=r?Oe(i,r):i}}(e);var h=t.options.name||l;return new It("vue-component-"+t.cid+(h?"-"+h:""),e,void 0,void 0,void 0,o,{Ctor:t,propsData:f,listeners:d,tag:l,children:a},c)}}}function Oe(t,e){return function(n,r,i,o){t(n,r,i,o),e(n,r,i,o)}}var De=1,je=2;function Ne(t,e,s,a,l,u){return(Array.isArray(s)||o(s))&&(l=a,a=s,s=void 0),i(u)&&(l=je),function(t,e,i,o,s){if(r(i)&&r(i.__ob__))return Lt();r(i)&&r(i.is)&&(e=i.is);if(!e)return Lt();0;Array.isArray(o)&&"function"==typeof o[0]&&((i=i||{}).scopedSlots={default:o[0]},o.length=0);s===je?o=Xt(o):s===De&&(o=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(o));var a,l;if("string"==typeof e){var u;l=t.$vnode&&t.$vnode.ns||P.getTagNamespace(e),a=P.isReservedTag(e)?new It(P.parsePlatformTagName(e),i,o,void 0,void 0,t):r(u=Ot(t.$options,"components",e))?Se(u,i,t,o,e):new It(e,i,o,void 0,void 0,t)}else a=Se(e,i,t,o);return r(a)?(l&&function t(e,i){e.ns=i;if("foreignObject"===e.tag)return;if(r(e.children))for(var o=0,s=e.children.length;o<s;o++){var a=e.children[o];r(a.tag)&&n(a.ns)&&t(a,i)}}(a,l),a):Lt()}(t,e,s,a,l)}function Ie(t,e){var n,i,o,a,l;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),i=0,o=t.length;i<o;i++)n[i]=e(t[i],i);else if("number"==typeof t)for(n=new Array(t),i=0;i<t;i++)n[i]=e(i+1,i);else if(s(t))for(a=Object.keys(t),n=new Array(a.length),i=0,o=a.length;i<o;i++)l=a[i],n[i]=e(t[l],l,i);return r(n)&&(n._isVList=!0),n}function Re(t,e,n,r){var i=this.$scopedSlots[t];if(i)return n=n||{},r&&(n=A(A({},r),n)),i(n)||e;var o=this.$slots[t];return o||e}function Le(t){return Ot(this.$options,"filters",t)||O}function Pe(t,e,n){var r=P.keyCodes[e]||n;return Array.isArray(r)?-1===r.indexOf(t):r!==t}function Fe(t,e,n,r,i){if(n)if(s(n)){var o;Array.isArray(n)&&(n=k(n));var a=function(s){if("class"===s||"style"===s||h(s))o=t;else{var a=t.attrs&&t.attrs.type;o=r||P.mustUseProp(e,a,s)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}s in o||(o[s]=n[s],i&&((t.on||(t.on={}))["update:"+s]=function(t){n[s]=t}))};for(var l in n)a(l)}else;return t}function Me(t,e){var n=this._staticTrees[t];return n&&!e?Array.isArray(n)?Mt(n):Ft(n):(qe(n=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),"__static__"+t,!1),n)}function Ue(t,e,n){return qe(t,"__once__"+e+(n?"_"+n:""),!0),t}function qe(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&He(t[r],e+"_"+r,n);else He(t,e,n)}function He(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function ze(t,e){if(e)if(l(e)){var n=t.on=t.on?A({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(o,i):o}}else;return t}var Be=0;function We(t){var e=t.options;if(t.super){var n=We(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.extendOptions,i=t.sealedOptions;for(var o in n)n[o]!==i[o]&&(e||(e={}),e[o]=Ve(n[o],r[o],i[o]));return e}(t);r&&A(t.extendOptions,r),(e=t.options=St(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function Ve(t,e,n){if(Array.isArray(t)){var r=[];n=Array.isArray(n)?n:[n],e=Array.isArray(e)?e:[e];for(var i=0;i<t.length;i++)(e.indexOf(t[i])>=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function Xe(t){this._init(t)}function Ge(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var s=function(t){this._init(t)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=e++,s.options=St(n.options,t),s.super=n,s.options.props&&function(t){var e=t.options.props;for(var n in e)_e(t.prototype,"_props",n)}(s),s.options.computed&&function(t){var e=t.options.computed;for(var n in e)xe(t.prototype,n,e[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,R.forEach(function(t){s[t]=n[t]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=A({},s.options),i[r]=s,s}}Xe.prototype._init=function(t){var e=this;e._uid=Be++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options);n.parent=e.parent,n.propsData=e.propsData,n._parentVnode=e._parentVnode,n._parentListeners=e._parentListeners,n._renderChildren=e._renderChildren,n._componentTag=e._componentTag,n._parentElm=e._parentElm,n._refElm=e._refElm,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=St(We(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$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&&te(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$vnode=t.$options._parentVnode,n=e&&e.context;t.$slots=ee(t.$options._renderChildren,n),t.$scopedSlots=F,t._c=function(e,n,r,i){return Ne(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Ne(t,e,n,r,i,!0)};var r=e&&e.data;bt(t,"$attrs",r&&r.attrs||F,0,!0),bt(t,"$listeners",t.$options._parentListeners||F,0,!0)}(e),ae(e,"beforeCreate"),function(t){var e=Te(t.$options.inject,t);e&&(vt.shouldConvert=!1,Object.keys(e).forEach(function(n){bt(t,n,e[n])}),vt.shouldConvert=!0)}(e),be(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),ae(e,"created"),e.$options.el&&e.$mount(e.$options.el)},function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=wt,t.prototype.$delete=xt,t.prototype.$watch=function(t,e,n){if(l(e))return $e(this,t,e,n);(n=n||{}).user=!0;var r=new ge(this,t,e,n);return n.immediate&&e.call(this,r.value),function(){r.teardown()}}}(Xe),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){if(Array.isArray(t))for(var r=0,i=t.length;r<i;r++)this.$on(t[r],n);else(this._events[t]||(this._events[t]=[])).push(n),e.test(t)&&(this._hasHookEvent=!0);return this},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)this.$off(t[r],e);return n}var o=n._events[t];if(!o)return n;if(1===arguments.length)return n._events[t]=null,n;if(e)for(var s,a=o.length;a--;)if((s=o[a])===e||s.fn===e){o.splice(a,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?T(n):n;for(var r=T(arguments,1),i=0,o=n.length;i<o;i++)try{n[i].apply(e,r)}catch(n){z(n,e,'event handler for "'+t+'"')}}return e}}(Xe),function(t){t.prototype._update=function(t,e){var n=this;n._isMounted&&ae(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=ie;ie=n,n._vnode=t,i?n.$el=n.__patch__(i,t):(n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),ie=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){ae(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||v(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),ae(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null)}}}(Xe),function(t){t.prototype.$nextTick=function(t){return lt(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n.staticRenderFns,o=n._parentVnode;if(e._isMounted)for(var s in e.$slots){var a=e.$slots[s];a._rendered&&(e.$slots[s]=Mt(a,!0))}e.$scopedSlots=o&&o.data.scopedSlots||F,i&&!e._staticTrees&&(e._staticTrees=[]),e.$vnode=o;try{t=r.call(e._renderProxy,e.$createElement)}catch(n){z(n,e,"render function"),t=e._vnode}return t instanceof It||(t=Lt()),t.parent=o,t},t.prototype._o=Ue,t.prototype._n=f,t.prototype._s=c,t.prototype._l=Ie,t.prototype._t=Re,t.prototype._q=D,t.prototype._i=j,t.prototype._m=Me,t.prototype._f=Le,t.prototype._k=Pe,t.prototype._b=Fe,t.prototype._v=Pt,t.prototype._e=Lt,t.prototype._u=re,t.prototype._g=ze}(Xe);var Ke=[String,RegExp,Array];function Ze(t){return t&&(t.Ctor.options.name||t.tag)}function Je(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===a.call(n)&&t.test(e));var n}function Qe(t,e,n){for(var r in t){var i=t[r];if(i){var o=Ze(i.componentOptions);o&&!n(o)&&(i!==e&&Ye(i),t[r]=null)}}}function Ye(t){t&&t.componentInstance.$destroy()}var tn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:Ke,exclude:Ke},created:function(){this.cache=Object.create(null)},destroyed:function(){for(var t in this.cache)Ye(this.cache[t])},watch:{include:function(t){Qe(this.cache,this._vnode,function(e){return Je(t,e)})},exclude:function(t){Qe(this.cache,this._vnode,function(e){return!Je(t,e)})}},render:function(){var t=Jt(this.$slots.default),e=t&&t.componentOptions;if(e){var n=Ze(e);if(n&&(this.include&&!Je(this.include,n)||this.exclude&&Je(this.exclude,n)))return t;var r=null==t.key?e.Ctor.cid+(e.tag?"::"+e.tag:""):t.key;this.cache[r]?t.componentInstance=this.cache[r].componentInstance:this.cache[r]=t,t.data.keepAlive=!0}return t}}};!function(t){var e={get:function(){return P}};Object.defineProperty(t,"config",e),t.util={warn:H,extend:A,mergeOptions:St,defineReactive:bt},t.set=wt,t.delete=xt,t.nextTick=lt,t.options=Object.create(null),R.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,A(t.options.components,tn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=T(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=St(this.options,t),this}}(t),Ge(t),function(t){R.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(Xe),Object.defineProperty(Xe.prototype,"$isServer",{get:rt}),Object.defineProperty(Xe.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Xe.version="2.4.4";var en=d("style,class"),nn=d("input,textarea,option,select,progress"),rn=function(t,e,n){return"value"===n&&nn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},on=d("contenteditable,draggable,spellcheck"),sn=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),an="http://www.w3.org/1999/xlink",ln=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},un=function(t){return ln(t)?t.slice(6,t.length):""},cn=function(t){return null==t||!1===t};function fn(t){for(var e=t.data,n=t,i=t;r(i.componentInstance);)(i=i.componentInstance._vnode).data&&(e=dn(i.data,e));for(;r(n=n.parent);)n.data&&(e=dn(e,n.data));return function(t,e){if(r(t)||r(e))return pn(t,hn(e));return""}(e.staticClass,e.class)}function dn(t,e){return{staticClass:pn(t.staticClass,e.staticClass),class:r(t.class)?[t.class,e.class]:e.class}}function pn(t,e){return t?e?t+" "+e:t:e||""}function hn(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,o=t.length;i<o;i++)r(e=hn(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):s(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var vn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},gn=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),mn=d("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),yn=function(t){return gn(t)||mn(t)};function _n(t){return mn(t)?"svg":"math"===t?"math":void 0}var bn=Object.create(null);var wn=d("text,number,password,search,email,tel,url");function xn(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var Cn=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(vn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setAttribute:function(t,e,n){t.setAttribute(e,n)}}),$n={create:function(t,e){Tn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Tn(t,!0),Tn(e))},destroy:function(t){Tn(t,!0)}};function Tn(t,e){var n=t.data.ref;if(n){var r=t.context,i=t.componentInstance||t.elm,o=r.$refs;e?Array.isArray(o[n])?v(o[n],i):o[n]===i&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}var An=new It("",{},[]),kn=["create","activate","update","remove","destroy"];function En(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&r(t.data)===r(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,i=r(n=t.data)&&r(n=n.attrs)&&n.type,o=r(n=e.data)&&r(n=n.attrs)&&n.type;return i===o||wn(i)&&wn(o)}(t,e)||i(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function Sn(t,e,n){var i,o,s={};for(i=e;i<=n;++i)r(o=t[i].key)&&(s[o]=i);return s}var On={create:Dn,update:Dn,destroy:function(t){Dn(t,An)}};function Dn(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,i,o=t===An,s=e===An,a=Nn(t.data.directives,t.context),l=Nn(e.data.directives,e.context),u=[],c=[];for(n in l)r=a[n],i=l[n],r?(i.oldValue=r.value,Rn(i,"update",e,t),i.def&&i.def.componentUpdated&&c.push(i)):(Rn(i,"bind",e,t),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var n=0;n<u.length;n++)Rn(u[n],"inserted",e,t)};o?Wt(e.data.hook||(e.data.hook={}),"insert",f):f()}c.length&&Wt(e.data.hook||(e.data.hook={}),"postpatch",function(){for(var n=0;n<c.length;n++)Rn(c[n],"componentUpdated",e,t)});if(!o)for(n in a)l[n]||Rn(a[n],"unbind",t,t,s)}(t,e)}var jn=Object.create(null);function Nn(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)(r=t[n]).modifiers||(r.modifiers=jn),i[In(r)]=r,r.def=Ot(e.$options,"directives",r.name);return i}function In(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Rn(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){z(r,n.context,"directive "+t.name+" "+e+" hook")}}var Ln=[$n,On];function Pn(t,e){var i=e.componentOptions;if(!(r(i)&&!1===i.Ctor.options.inheritAttrs||n(t.data.attrs)&&n(e.data.attrs))){var o,s,a=e.elm,l=t.data.attrs||{},u=e.data.attrs||{};for(o in r(u.__ob__)&&(u=e.data.attrs=A({},u)),u)s=u[o],l[o]!==s&&Fn(a,o,s);for(o in K&&u.value!==l.value&&Fn(a,"value",u.value),l)n(u[o])&&(ln(o)?a.removeAttributeNS(an,un(o)):on(o)||a.removeAttribute(o))}}function Fn(t,e,n){sn(e)?cn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):on(e)?t.setAttribute(e,cn(n)||"false"===n?"false":"true"):ln(e)?cn(n)?t.removeAttributeNS(an,un(e)):t.setAttributeNS(an,e,n):cn(n)?t.removeAttribute(e):t.setAttribute(e,n)}var Mn={create:Pn,update:Pn};function Un(t,e){var i=e.elm,o=e.data,s=t.data;if(!(n(o.staticClass)&&n(o.class)&&(n(s)||n(s.staticClass)&&n(s.class)))){var a=fn(e),l=i._transitionClasses;r(l)&&(a=pn(a,hn(l))),a!==i._prevClass&&(i.setAttribute("class",a),i._prevClass=a)}}var qn,Hn,zn,Bn,Wn,Vn,Xn={create:Un,update:Un},Gn=/[\w).+\-_$\]]/;function Kn(t){var e,n,r,i,o,s=!1,a=!1,l=!1,u=!1,c=0,f=0,d=0,p=0;for(r=0;r<t.length;r++)if(n=e,e=t.charCodeAt(r),s)39===e&&92!==n&&(s=!1);else if(a)34===e&&92!==n&&(a=!1);else if(l)96===e&&92!==n&&(l=!1);else if(u)47===e&&92!==n&&(u=!1);else if(124!==e||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||c||f||d){switch(e){case 34:a=!0;break;case 39:s=!0;break;case 96:l=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:c++;break;case 125:c--}if(47===e){for(var h=r-1,v=void 0;h>=0&&" "===(v=t.charAt(h));h--);v&&Gn.test(v)||(u=!0)}}else void 0===i?(p=r+1,i=t.slice(0,r).trim()):g();function g(){(o||(o=[])).push(t.slice(p,r).trim()),p=r+1}if(void 0===i?i=t.slice(0,r).trim():0!==p&&g(),o)for(r=0;r<o.length;r++)i=Zn(i,o[r]);return i}function Zn(t,e){var n=e.indexOf("(");return n<0?'_f("'+e+'")('+t+")":'_f("'+e.slice(0,n)+'")('+t+","+e.slice(n+1)}function Jn(t){console.error("[Vue compiler]: "+t)}function Qn(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function Yn(t,e,n){(t.props||(t.props=[])).push({name:e,value:n})}function tr(t,e,n){(t.attrs||(t.attrs=[])).push({name:e,value:n})}function er(t,e,n,r,i,o){(t.directives||(t.directives=[])).push({name:e,rawName:n,value:r,arg:i,modifiers:o})}function nr(t,e,n,r,i,o){var s;r&&r.capture&&(delete r.capture,e="!"+e),r&&r.once&&(delete r.once,e="~"+e),r&&r.passive&&(delete r.passive,e="&"+e),r&&r.native?(delete r.native,s=t.nativeEvents||(t.nativeEvents={})):s=t.events||(t.events={});var a={value:n,modifiers:r},l=s[e];Array.isArray(l)?i?l.unshift(a):l.push(a):s[e]=l?i?[a,l]:[l,a]:a}function rr(t,e,n){var r=ir(t,":"+e)||ir(t,"v-bind:"+e);if(null!=r)return Kn(r);if(!1!==n){var i=ir(t,e);if(null!=i)return JSON.stringify(i)}}function ir(t,e){var n;if(null!=(n=t.attrsMap[e]))for(var r=t.attrsList,i=0,o=r.length;i<o;i++)if(r[i].name===e){r.splice(i,1);break}return n}function or(t,e,n){var r=n||{},i=r.number,o="$$v";r.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(o="_n("+o+")");var s=sr(e,o);t.model={value:"("+e+")",expression:'"'+e+'"',callback:"function ($$v) {"+s+"}"}}function sr(t,e){var n=function(t){if(qn=(Hn=t).length,Bn=Wn=Vn=0,t.indexOf("[")<0||t.lastIndexOf("]")<qn-1)return{exp:t,idx:null};for(;!lr();)ur(zn=ar())?fr(zn):91===zn&&cr(zn);return{exp:t.substring(0,Wn),idx:t.substring(Wn+1,Vn)}}(t);return null===n.idx?t+"="+e:"$set("+n.exp+", "+n.idx+", "+e+")"}function ar(){return Hn.charCodeAt(++Bn)}function lr(){return Bn>=qn}function ur(t){return 34===t||39===t}function cr(t){var e=1;for(Wn=Bn;!lr();)if(ur(t=ar()))fr(t);else if(91===t&&e++,93===t&&e--,0===e){Vn=Bn;break}}function fr(t){for(var e=t;!lr()&&(t=ar())!==e;);}var dr,pr="__r",hr="__c";function vr(t,e,n,r,i){if(n){var o=e,s=dr;e=function(n){null!==(1===arguments.length?o(n):o.apply(null,arguments))&&gr(t,e,r,s)}}dr.addEventListener(t,e,et?{capture:r,passive:i}:r)}function gr(t,e,n,r){(r||dr).removeEventListener(t,e,n)}function mr(t,e){if(!n(t.data.on)||!n(e.data.on)){var i=e.data.on||{},o=t.data.on||{};dr=e.elm,function(t){var e;r(t[pr])&&(t[e=G?"change":"input"]=[].concat(t[pr],t[e]||[]),delete t[pr]),r(t[hr])&&(t[e=Y?"click":"change"]=[].concat(t[hr],t[e]||[]),delete t[hr])}(i),Bt(i,o,vr,gr,e.context)}}var yr={create:mr,update:mr};function _r(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var i,o,s=e.elm,a=t.data.domProps||{},l=e.data.domProps||{};for(i in r(l.__ob__)&&(l=e.data.domProps=A({},l)),a)n(l[i])&&(s[i]="");for(i in l)if(o=l[i],"textContent"!==i&&"innerHTML"!==i||(e.children&&(e.children.length=0),o!==a[i]))if("value"===i){s._value=o;var u=n(o)?"":String(o);br(s,e,u)&&(s.value=u)}else s[i]=o}}function br(t,e,n){return!t.composing&&("option"===e.tag||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,n)||function(t,e){var n=t.value,i=t._vModifiers;if(r(i)&&i.number)return f(n)!==f(e);if(r(i)&&i.trim)return n.trim()!==e.trim();return n!==e}(t,n))}var wr={create:_r,update:_r},xr=y(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function Cr(t){var e=$r(t.style);return t.staticStyle?A(t.staticStyle,e):e}function $r(t){return Array.isArray(t)?k(t):"string"==typeof t?xr(t):t}var Tr,Ar=/^--/,kr=/\s*!important$/,Er=function(t,e,n){if(Ar.test(e))t.style.setProperty(e,n);else if(kr.test(n))t.style.setProperty(e,n.replace(kr,""),"important");else{var r=Or(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},Sr=["Webkit","Moz","ms"],Or=y(function(t){if(Tr=Tr||document.createElement("div").style,"filter"!==(t=b(t))&&t in Tr)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Sr.length;n++){var r=Sr[n]+e;if(r in Tr)return r}});function Dr(t,e){var i=e.data,o=t.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var s,a,l=e.elm,u=o.staticStyle,c=o.normalizedStyle||o.style||{},f=u||c,d=$r(e.data.style)||{};e.data.normalizedStyle=r(d.__ob__)?A({},d):d;var p=function(t,e){var n,r={};if(e)for(var i=t;i.componentInstance;)(i=i.componentInstance._vnode).data&&(n=Cr(i.data))&&A(r,n);(n=Cr(t.data))&&A(r,n);for(var o=t;o=o.parent;)o.data&&(n=Cr(o.data))&&A(r,n);return r}(e,!0);for(a in f)n(p[a])&&Er(l,a,"");for(a in p)(s=p[a])!==f[a]&&Er(l,a,null==s?"":s)}}var jr={create:Dr,update:Dr};function Nr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ir(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Rr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&A(e,Lr(t.name||"v")),A(e,t),e}return"string"==typeof t?Lr(t):void 0}}var Lr=y(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Pr=V&&!K,Fr="transition",Mr="animation",Ur="transition",qr="transitionend",Hr="animation",zr="animationend";Pr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ur="WebkitTransition",qr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Hr="WebkitAnimation",zr="webkitAnimationEnd"));var Br=V&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout;function Wr(t){Br(function(){Br(t)})}function Vr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Nr(t,e))}function Xr(t,e){t._transitionClasses&&v(t._transitionClasses,e),Ir(t,e)}function Gr(t,e,n){var r=Zr(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===Fr?qr:zr,l=0,u=function(){t.removeEventListener(a,c),n()},c=function(e){e.target===t&&++l>=s&&u()};setTimeout(function(){l<s&&u()},o+1),t.addEventListener(a,c)}var Kr=/\b(transform|all)(,|$)/;function Zr(t,e){var n,r=window.getComputedStyle(t),i=r[Ur+"Delay"].split(", "),o=r[Ur+"Duration"].split(", "),s=Jr(i,o),a=r[Hr+"Delay"].split(", "),l=r[Hr+"Duration"].split(", "),u=Jr(a,l),c=0,f=0;return e===Fr?s>0&&(n=Fr,c=s,f=o.length):e===Mr?u>0&&(n=Mr,c=u,f=l.length):f=(n=(c=Math.max(s,u))>0?s>u?Fr:Mr:null)?n===Fr?o.length:l.length:0,{type:n,timeout:c,propCount:f,hasTransform:n===Fr&&Kr.test(r[Ur+"Property"])}}function Jr(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Qr(e)+Qr(t[n])}))}function Qr(t){return 1e3*Number(t.slice(0,-1))}function Yr(t,e){var i=t.elm;r(i._leaveCb)&&(i._leaveCb.cancelled=!0,i._leaveCb());var o=Rr(t.data.transition);if(!n(o)&&!r(i._enterCb)&&1===i.nodeType){for(var a=o.css,l=o.type,u=o.enterClass,c=o.enterToClass,d=o.enterActiveClass,p=o.appearClass,h=o.appearToClass,v=o.appearActiveClass,g=o.beforeEnter,m=o.enter,y=o.afterEnter,_=o.enterCancelled,b=o.beforeAppear,w=o.appear,x=o.afterAppear,C=o.appearCancelled,$=o.duration,T=ie,A=ie.$vnode;A&&A.parent;)T=(A=A.parent).context;var k=!T._isMounted||!t.isRootInsert;if(!k||w||""===w){var E=k&&p?p:u,S=k&&v?v:d,O=k&&h?h:c,D=k&&b||g,j=k&&"function"==typeof w?w:m,I=k&&x||y,R=k&&C||_,L=f(s($)?$.enter:$);0;var P=!1!==a&&!K,F=ni(j),M=i._enterCb=N(function(){P&&(Xr(i,O),Xr(i,S)),M.cancelled?(P&&Xr(i,E),R&&R(i)):I&&I(i),i._enterCb=null});t.data.show||Wt(t.data.hook||(t.data.hook={}),"insert",function(){var e=i.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),j&&j(i,M)}),D&&D(i),P&&(Vr(i,E),Vr(i,S),Wr(function(){Vr(i,O),Xr(i,E),M.cancelled||F||(ei(L)?setTimeout(M,L):Gr(i,l,M))})),t.data.show&&(e&&e(),j&&j(i,M)),P||F||M()}}}function ti(t,e){var i=t.elm;r(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var o=Rr(t.data.transition);if(n(o))return e();if(!r(i._leaveCb)&&1===i.nodeType){var a=o.css,l=o.type,u=o.leaveClass,c=o.leaveToClass,d=o.leaveActiveClass,p=o.beforeLeave,h=o.leave,v=o.afterLeave,g=o.leaveCancelled,m=o.delayLeave,y=o.duration,_=!1!==a&&!K,b=ni(h),w=f(s(y)?y.leave:y);0;var x=i._leaveCb=N(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),_&&(Xr(i,c),Xr(i,d)),x.cancelled?(_&&Xr(i,u),g&&g(i)):(e(),v&&v(i)),i._leaveCb=null});m?m(C):C()}function C(){x.cancelled||(t.data.show||((i.parentNode._pending||(i.parentNode._pending={}))[t.key]=t),p&&p(i),_&&(Vr(i,u),Vr(i,d),Wr(function(){Vr(i,c),Xr(i,u),x.cancelled||b||(ei(w)?setTimeout(x,w):Gr(i,l,x))})),h&&h(i,x),_||b||x())}}function ei(t){return"number"==typeof t&&!isNaN(t)}function ni(t){if(n(t))return!1;var e=t.fns;return r(e)?ni(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function ri(t,e){!0!==e.data.show&&Yr(e)}var ii=function(t){var e,s,a={},l=t.modules,u=t.nodeOps;for(e=0;e<kn.length;++e)for(a[kn[e]]=[],s=0;s<l.length;++s)r(l[s][kn[e]])&&a[kn[e]].push(l[s][kn[e]]);function c(t){var e=u.parentNode(t);r(e)&&u.removeChild(e,t)}function f(t,e,n,o,s){if(t.isRootInsert=!s,!function(t,e,n,o){var s=t.data;if(r(s)){var l=r(t.componentInstance)&&s.keepAlive;if(r(s=s.hook)&&r(s=s.init)&&s(t,!1,n,o),r(t.componentInstance))return p(t,e),i(l)&&function(t,e,n,i){for(var o,s=t;s.componentInstance;)if(s=s.componentInstance._vnode,r(o=s.data)&&r(o=o.transition)){for(o=0;o<a.activate.length;++o)a.activate[o](An,s);e.push(s);break}h(n,t.elm,i)}(t,e,n,o),!0}}(t,e,n,o)){var l=t.data,c=t.children,f=t.tag;r(f)?(t.elm=t.ns?u.createElementNS(t.ns,f):u.createElement(f,t),y(t),v(t,c,e),r(l)&&m(t,e),h(n,t.elm,o)):i(t.isComment)?(t.elm=u.createComment(t.text),h(n,t.elm,o)):(t.elm=u.createTextNode(t.text),h(n,t.elm,o))}}function p(t,e){r(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,g(t)?(m(t,e),y(t)):(Tn(t),e.push(t))}function h(t,e,n){r(t)&&(r(n)?n.parentNode===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function v(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)f(e[r],n,t.elm,null,!0);else o(t.text)&&u.appendChild(t.elm,u.createTextNode(t.text))}function g(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return r(t.tag)}function m(t,n){for(var i=0;i<a.create.length;++i)a.create[i](An,t);r(e=t.data.hook)&&(r(e.create)&&e.create(An,t),r(e.insert)&&n.push(t))}function y(t){for(var e,n=t;n;)r(e=n.context)&&r(e=e.$options._scopeId)&&u.setAttribute(t.elm,e,""),n=n.parent;r(e=ie)&&e!==t.context&&r(e=e.$options._scopeId)&&u.setAttribute(t.elm,e,"")}function _(t,e,n,r,i,o){for(;r<=i;++r)f(n[r],o,t,e)}function b(t){var e,n,i=t.data;if(r(i))for(r(e=i.hook)&&r(e=e.destroy)&&e(t),e=0;e<a.destroy.length;++e)a.destroy[e](t);if(r(e=t.children))for(n=0;n<t.children.length;++n)b(t.children[n])}function w(t,e,n,i){for(;n<=i;++n){var o=e[n];r(o)&&(r(o.tag)?(x(o),b(o)):c(o.elm))}}function x(t,e){if(r(e)||r(t.data)){var n,i=a.remove.length+1;for(r(e)?e.listeners+=i:e=function(t,e){function n(){0==--n.listeners&&c(t)}return n.listeners=e,n}(t.elm,i),r(n=t.componentInstance)&&r(n=n._vnode)&&r(n.data)&&x(n,e),n=0;n<a.remove.length;++n)a.remove[n](t,e);r(n=t.data.hook)&&r(n=n.remove)?n(t,e):e()}else c(t.elm)}function C(t,e,n,i){for(var o=n;o<i;o++){var s=e[o];if(r(s)&&En(t,s))return o}}function $(t,e,o,s){if(t!==e){var l=e.elm=t.elm;if(i(t.isAsyncPlaceholder))r(e.asyncFactory.resolved)?k(t.elm,e,o):e.isAsyncPlaceholder=!0;else if(i(e.isStatic)&&i(t.isStatic)&&e.key===t.key&&(i(e.isCloned)||i(e.isOnce)))e.componentInstance=t.componentInstance;else{var c,d=e.data;r(d)&&r(c=d.hook)&&r(c=c.prepatch)&&c(t,e);var p=t.children,h=e.children;if(r(d)&&g(e)){for(c=0;c<a.update.length;++c)a.update[c](t,e);r(c=d.hook)&&r(c=c.update)&&c(t,e)}n(e.text)?r(p)&&r(h)?p!==h&&function(t,e,i,o,s){for(var a,l,c,d=0,p=0,h=e.length-1,v=e[0],g=e[h],m=i.length-1,y=i[0],b=i[m],x=!s;d<=h&&p<=m;)n(v)?v=e[++d]:n(g)?g=e[--h]:En(v,y)?($(v,y,o),v=e[++d],y=i[++p]):En(g,b)?($(g,b,o),g=e[--h],b=i[--m]):En(v,b)?($(v,b,o),x&&u.insertBefore(t,v.elm,u.nextSibling(g.elm)),v=e[++d],b=i[--m]):En(g,y)?($(g,y,o),x&&u.insertBefore(t,g.elm,v.elm),g=e[--h],y=i[++p]):(n(a)&&(a=Sn(e,d,h)),n(l=r(y.key)?a[y.key]:C(y,e,d,h))?f(y,o,t,v.elm):En(c=e[l],y)?($(c,y,o),e[l]=void 0,x&&u.insertBefore(t,c.elm,v.elm)):f(y,o,t,v.elm),y=i[++p]);d>h?_(t,n(i[m+1])?null:i[m+1].elm,i,p,m,o):p>m&&w(0,e,d,h)}(l,p,h,o,s):r(h)?(r(t.text)&&u.setTextContent(l,""),_(l,null,h,0,h.length-1,o)):r(p)?w(0,p,0,p.length-1):r(t.text)&&u.setTextContent(l,""):t.text!==e.text&&u.setTextContent(l,e.text),r(d)&&r(c=d.hook)&&r(c=c.postpatch)&&c(t,e)}}}function T(t,e,n){if(i(n)&&r(t.parent))t.parent.data.pendingInsert=e;else for(var o=0;o<e.length;++o)e[o].data.hook.insert(e[o])}var A=d("attrs,style,class,staticClass,staticStyle,key");function k(t,n,o){if(i(n.isComment)&&r(n.asyncFactory))return n.elm=t,n.isAsyncPlaceholder=!0,!0;n.elm=t;var s=n.tag,a=n.data,l=n.children;if(r(a)&&(r(e=a.hook)&&r(e=e.init)&&e(n,!0),r(e=n.componentInstance)))return p(n,o),!0;if(r(s)){if(r(l))if(t.hasChildNodes())if(r(e=a)&&r(e=e.domProps)&&r(e=e.innerHTML)){if(e!==t.innerHTML)return!1}else{for(var u=!0,c=t.firstChild,f=0;f<l.length;f++){if(!c||!k(c,l[f],o)){u=!1;break}c=c.nextSibling}if(!u||c)return!1}else v(n,l,o);if(r(a))for(var d in a)if(!A(d)){m(n,o);break}}else t.data!==n.text&&(t.data=n.text);return!0}return function(t,e,o,s,l,c){if(!n(e)){var d,p=!1,h=[];if(n(t))p=!0,f(e,h,l,c);else{var v=r(t.nodeType);if(!v&&En(t,e))$(t,e,h,s);else{if(v){if(1===t.nodeType&&t.hasAttribute(I)&&(t.removeAttribute(I),o=!0),i(o)&&k(t,e,h))return T(e,h,!0),t;d=t,t=new It(u.tagName(d).toLowerCase(),{},[],void 0,d)}var m=t.elm,y=u.parentNode(m);if(f(e,h,m._leaveCb?null:y,u.nextSibling(m)),r(e.parent))for(var _=e.parent,x=g(e);_;){for(var C=0;C<a.destroy.length;++C)a.destroy[C](_);if(_.elm=e.elm,x){for(var A=0;A<a.create.length;++A)a.create[A](An,_);var E=_.data.hook.insert;if(E.merged)for(var S=1;S<E.fns.length;S++)E.fns[S]()}_=_.parent}r(y)?w(0,[t],0,0):r(t.tag)&&b(t)}}return T(e,h,p),e.elm}r(t)&&b(t)}}({nodeOps:Cn,modules:[Mn,Xn,yr,wr,jr,V?{create:ri,activate:ri,remove:function(t,e){!0!==t.data.show?ti(t,e):e()}}:{}].concat(Ln)});function oi(t,e,n){si(t,e,n),(G||Z)&&setTimeout(function(){si(t,e,n)},0)}function si(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,l=t.options.length;a<l;a++)if(s=t.options[a],i)o=j(r,li(s))>-1,s.selected!==o&&(s.selected=o);else if(D(li(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function ai(t,e){return e.every(function(e){return!D(e,t)})}function li(t){return"_value"in t?t._value:t.value}function ui(t){t.target.composing=!0}function ci(t){t.target.composing&&(t.target.composing=!1,fi(t.target,"input"))}function fi(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function di(t){return!t.componentInstance||t.data&&t.data.transition?t:di(t.componentInstance._vnode)}K&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&fi(t,"input")});var pi={model:{inserted:function(t,e,n){"select"===n.tag?(oi(t,e,n.context),t._vOptions=[].map.call(t.options,li)):("textarea"===n.tag||wn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("change",ci),J||(t.addEventListener("compositionstart",ui),t.addEventListener("compositionend",ci)),K&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){oi(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,li);if(i.some(function(t,e){return!D(t,r[e])}))(t.multiple?e.value.some(function(t){return ai(t,i)}):e.value!==e.oldValue&&ai(e.value,i))&&fi(t,"change")}}},show:{bind:function(t,e,n){var r=e.value,i=(n=di(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Yr(n,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;r!==e.oldValue&&((n=di(n)).data&&n.data.transition?(n.data.show=!0,r?Yr(n,function(){t.style.display=t.__vOriginalDisplay}):ti(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}}},hi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function vi(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?vi(Jt(e.children)):t}function gi(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[b(o)]=i[o];return e}function mi(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var yi={name:"transition",props:hi,abstract:!0,render:function(t){var e=this,n=this.$options._renderChildren;if(n&&(n=n.filter(function(t){return t.tag||Zt(t)})).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var s=vi(i);if(!s)return i;if(this._leaving)return mi(t,i);var a="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?a+"comment":a+s.tag:o(s.key)?0===String(s.key).indexOf(a)?s.key:a+s.key:s.key;var l=(s.data||(s.data={})).transition=gi(this),u=this._vnode,c=vi(u);if(s.data.directives&&s.data.directives.some(function(t){return"show"===t.name})&&(s.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(s,c)&&!Zt(c)){var f=c&&(c.data.transition=A({},l));if("out-in"===r)return this._leaving=!0,Wt(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),mi(t,i);if("in-out"===r){if(Zt(s))return u;var d,p=function(){d()};Wt(l,"afterEnter",p),Wt(l,"enterCancelled",p),Wt(f,"delayLeave",function(t){d=t})}}return i}}},_i=A({tag:String,moveClass:String},hi);function bi(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function wi(t){t.data.newPos=t.elm.getBoundingClientRect()}function xi(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete _i.mode;var Ci={Transition:yi,TransitionGroup:{props:_i,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=gi(this),a=0;a<i.length;a++){var l=i[a];if(l.tag)if(null!=l.key&&0!==String(l.key).indexOf("__vlist"))o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=s;else;}if(r){for(var u=[],c=[],f=0;f<r.length;f++){var d=r[f];d.data.transition=s,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?u.push(d):c.push(d)}this.kept=t(e,null,u),this.removed=c}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";if(t.length&&this.hasMove(t[0].elm,e)){t.forEach(bi),t.forEach(wi),t.forEach(xi);document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;Vr(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(qr,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(qr,t),n._moveCb=null,Xr(n,e))})}})}},methods:{hasMove:function(t,e){if(!Pr)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){Ir(n,t)}),Nr(n,e),n.style.display="none",this.$el.appendChild(n);var r=Zr(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};Xe.config.mustUseProp=rn,Xe.config.isReservedTag=yn,Xe.config.isReservedAttr=en,Xe.config.getTagNamespace=_n,Xe.config.isUnknownElement=function(t){if(!V)return!0;if(yn(t))return!1;if(t=t.toLowerCase(),null!=bn[t])return bn[t];var e=document.createElement(t);return t.indexOf("-")>-1?bn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:bn[t]=/HTMLUnknownElement/.test(e.toString())},A(Xe.options.directives,pi),A(Xe.options.components,Ci),Xe.prototype.__patch__=V?ii:E,Xe.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=Lt),ae(t,"beforeMount"),r=function(){t._update(t._render(),n)},t._watcher=new ge(t,r,E),n=!1,null==t.$vnode&&(t._isMounted=!0,ae(t,"mounted")),t}(this,t=t&&V?xn(t):void 0,e)},setTimeout(function(){P.devtools&&it&&it.emit("init",Xe)},0);var $i,Ti,Ai,ki=!!V&&($i="\n",Ti="&#10;",(Ai=document.createElement("div")).innerHTML='<div a="'+$i+'"/>',Ai.innerHTML.indexOf(Ti)>0),Ei=/\{\{((?:.|\n)+?)\}\}/g,Si=/[-.*+?^${}()|[\]\/\\]/g,Oi=y(function(t){var e=t[0].replace(Si,"\\$&"),n=t[1].replace(Si,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")});function Di(t,e){var n=e?Oi(e):Ei;if(n.test(t)){for(var r,i,o=[],s=n.lastIndex=0;r=n.exec(t);){(i=r.index)>s&&o.push(JSON.stringify(t.slice(s,i)));var a=Kn(r[1].trim());o.push("_s("+a+")"),s=i+r[0].length}return s<t.length&&o.push(JSON.stringify(t.slice(s))),o.join("+")}}var ji=[{staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=ir(t,"class");n&&(t.staticClass=JSON.stringify(n));var r=rr(t,"class",!1);r&&(t.classBinding=r)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}},{staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=ir(t,"style");n&&(t.staticStyle=JSON.stringify(xr(n)));var r=rr(t,"style",!1);r&&(t.styleBinding=r)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}}];var Ni,Ii={model:function(t,e,n){n;var r=e.value,i=e.modifiers,o=t.tag,s=t.attrsMap.type;if(t.component)return or(t,r,i),!1;if("select"===o)!function(t,e,n){var r='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";r=r+" "+sr(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),nr(t,"change",r,null,!0)}(t,r,i);else if("input"===o&&"checkbox"===s)!function(t,e,n){var r=n&&n.number,i=rr(t,"value")||"null",o=rr(t,"true-value")||"true",s=rr(t,"false-value")||"false";Yn(t,"checked","Array.isArray("+e+")?_i("+e+","+i+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),nr(t,hr,"var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+s+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+e+"=$$a.concat([$$v]))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+sr(e,"$$c")+"}",null,!0)}(t,r,i);else if("input"===o&&"radio"===s)!function(t,e,n){var r=n&&n.number,i=rr(t,"value")||"null";Yn(t,"checked","_q("+e+","+(i=r?"_n("+i+")":i)+")"),nr(t,hr,sr(e,i),null,!0)}(t,r,i);else if("input"===o||"textarea"===o)!function(t,e,n){var r=t.attrsMap.type,i=n||{},o=i.lazy,s=i.number,a=i.trim,l=!o&&"range"!==r,u=o?"change":"range"===r?pr:"input",c="$event.target.value";a&&(c="$event.target.value.trim()"),s&&(c="_n("+c+")");var f=sr(e,c);l&&(f="if($event.target.composing)return;"+f),Yn(t,"value","("+e+")"),nr(t,u,f,null,!0),(a||s)&&nr(t,"blur","$forceUpdate()")}(t,r,i);else if(!P.isReservedTag(o))return or(t,r,i),!1;return!0},text:function(t,e){e.value&&Yn(t,"textContent","_s("+e.value+")")},html:function(t,e){e.value&&Yn(t,"innerHTML","_s("+e.value+")")}},Ri=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Li=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Pi=d("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Fi={expectHTML:!0,modules:ji,directives:Ii,isPreTag:function(t){return"pre"===t},isUnaryTag:Ri,mustUseProp:rn,canBeLeftOpenTag:Li,isReservedTag:yn,getTagNamespace:_n,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(ji)},Mi=function(t){return(Ni=Ni||document.createElement("div")).innerHTML=t,Ni.textContent},Ui=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,qi="[a-zA-Z_][\\w\\-\\.]*",Hi="((?:"+qi+"\\:)?"+qi+")",zi=new RegExp("^<"+Hi),Bi=/^\s*(\/?)>/,Wi=new RegExp("^<\\/"+Hi+"[^>]*>"),Vi=/^<!DOCTYPE [^>]+>/i,Xi=/^<!--/,Gi=/^<!\[/,Ki=!1;"x".replace(/x(.)?/g,function(t,e){Ki=""===e});var Zi=d("script,style,textarea",!0),Ji={},Qi={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n"},Yi=/&(?:lt|gt|quot|amp);/g,to=/&(?:lt|gt|quot|amp|#10);/g,eo=d("pre,textarea",!0),no=function(t,e){return t&&eo(t)&&"\n"===e[0]};function ro(t,e){var n=e?to:Yi;return t.replace(n,function(t){return Qi[t]})}var io,oo,so,ao,lo,uo,co,fo,po=/^@|^v-on:/,ho=/^v-|^@|^:/,vo=/(.*?)\s+(?:in|of)\s+(.*)/,go=/\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/,mo=/:(.*)$/,yo=/^:|^v-bind:/,_o=/\.[^.]+/g,bo=y(Mi);function wo(t,e){io=e.warn||Jn,uo=e.isPreTag||S,co=e.mustUseProp||S,fo=e.getTagNamespace||S,so=Qn(e.modules,"transformNode"),ao=Qn(e.modules,"preTransformNode"),lo=Qn(e.modules,"postTransformNode"),oo=e.delimiters;var n,r,i=[],o=!1!==e.preserveWhitespace,s=!1,a=!1;function l(t){t.pre&&(s=!1),uo(t.tag)&&(a=!1)}return function(t,e){for(var n,r,i=[],o=e.expectHTML,s=e.isUnaryTag||S,a=e.canBeLeftOpenTag||S,l=0;t;){if(n=t,r&&Zi(r)){var u=0,c=r.toLowerCase(),f=Ji[c]||(Ji[c]=new RegExp("([\\s\\S]*?)(</"+c+"[^>]*>)","i")),d=t.replace(f,function(t,n,r){return u=r.length,Zi(c)||"noscript"===c||(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),no(c,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});l+=t.length-d.length,t=d,A(c,l-u,l)}else{var p=t.indexOf("<");if(0===p){if(Xi.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h)),C(h+3);continue}}if(Gi.test(t)){var v=t.indexOf("]>");if(v>=0){C(v+2);continue}}var g=t.match(Vi);if(g){C(g[0].length);continue}var m=t.match(Wi);if(m){var y=l;C(m[0].length),A(m[1],y,l);continue}var _=$();if(_){T(_),no(r,t)&&C(1);continue}}var b=void 0,w=void 0,x=void 0;if(p>=0){for(w=t.slice(p);!(Wi.test(w)||zi.test(w)||Xi.test(w)||Gi.test(w)||(x=w.indexOf("<",1))<0);)p+=x,w=t.slice(p);b=t.substring(0,p),C(p)}p<0&&(b=t,t=""),e.chars&&b&&e.chars(b)}if(t===n){e.chars&&e.chars(t);break}}function C(e){l+=e,t=t.substring(e)}function $(){var e=t.match(zi);if(e){var n,r,i={tagName:e[1],attrs:[],start:l};for(C(e[0].length);!(n=t.match(Bi))&&(r=t.match(Ui));)C(r[0].length),i.attrs.push(r);if(n)return i.unarySlash=n[1],C(n[0].length),i.end=l,i}}function T(t){var n=t.tagName,l=t.unarySlash;o&&("p"===r&&Pi(n)&&A(r),a(n)&&r===n&&A(n));for(var u=s(n)||!!l,c=t.attrs.length,f=new Array(c),d=0;d<c;d++){var p=t.attrs[d];Ki&&-1===p[0].indexOf('""')&&(""===p[3]&&delete p[3],""===p[4]&&delete p[4],""===p[5]&&delete p[5]);var h=p[3]||p[4]||p[5]||"";f[d]={name:p[1],value:ro(h,e.shouldDecodeNewlines)}}u||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:f}),r=n),e.start&&e.start(n,f,u,t.start,t.end)}function A(t,n,o){var s,a;if(null==n&&(n=l),null==o&&(o=l),t&&(a=t.toLowerCase()),t)for(s=i.length-1;s>=0&&i[s].lowerCasedTag!==a;s--);else s=0;if(s>=0){for(var u=i.length-1;u>=s;u--)e.end&&e.end(i[u].tag,n,o);i.length=s,r=s&&i[s-1].tag}else"br"===a?e.start&&e.start(t,[],!0,n,o):"p"===a&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}A()}(t,{warn:io,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldKeepComment:e.comments,start:function(t,o,u){var c=r&&r.ns||fo(t);G&&"svg"===c&&(o=function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];Ao.test(r.name)||(r.name=r.name.replace(ko,""),e.push(r))}return e}(o));var f,d={type:1,tag:t,attrsList:o,attrsMap:function(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}(o),parent:r,children:[]};c&&(d.ns=c),"style"!==(f=d).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||rt()||(d.forbidden=!0);for(var p=0;p<ao.length;p++)ao[p](d,e);if(s||(!function(t){null!=ir(t,"v-pre")&&(t.pre=!0)}(d),d.pre&&(s=!0)),uo(d.tag)&&(a=!0),s)!function(t){var e=t.attrsList.length;if(e)for(var n=t.attrs=new Array(e),r=0;r<e;r++)n[r]={name:t.attrsList[r].name,value:JSON.stringify(t.attrsList[r].value)};else t.pre||(t.plain=!0)}(d);else{!function(t){var e;if(e=ir(t,"v-for")){var n=e.match(vo);if(!n)return;t.for=n[2].trim();var r=n[1].trim(),i=r.match(go);i?(t.alias=i[1].trim(),t.iterator1=i[2].trim(),i[3]&&(t.iterator2=i[3].trim())):t.alias=r}}(d),function(t){var e=ir(t,"v-if");if(e)t.if=e,xo(t,{exp:e,block:t});else{null!=ir(t,"v-else")&&(t.else=!0);var n=ir(t,"v-else-if");n&&(t.elseif=n)}}(d),function(t){null!=ir(t,"v-once")&&(t.once=!0)}(d),function(t){var e=rr(t,"key");e&&(t.key=e)}(d),d.plain=!d.key&&!o.length,function(t){var e=rr(t,"ref");e&&(t.ref=e,t.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(d),function(t){if("slot"===t.tag)t.slotName=rr(t,"name");else{var e=rr(t,"slot");e&&(t.slotTarget='""'===e?'"default"':e,tr(t,"slot",e)),"template"===t.tag&&(t.slotScope=ir(t,"scope"))}}(d),function(t){var e;(e=rr(t,"is"))&&(t.component=e);null!=ir(t,"inline-template")&&(t.inlineTemplate=!0)}(d);for(var h=0;h<so.length;h++)so[h](d,e);!function(t){var e,n,r,i,o,s,a,l=t.attrsList;for(e=0,n=l.length;e<n;e++){if(r=i=l[e].name,o=l[e].value,ho.test(r))if(t.hasBindings=!0,(s=Co(r))&&(r=r.replace(_o,"")),yo.test(r))r=r.replace(yo,""),o=Kn(o),a=!1,s&&(s.prop&&(a=!0,"innerHtml"===(r=b(r))&&(r="innerHTML")),s.camel&&(r=b(r)),s.sync&&nr(t,"update:"+b(r),sr(o,"$event"))),a||!t.component&&co(t.tag,t.attrsMap.type,r)?Yn(t,r,o):tr(t,r,o);else if(po.test(r))r=r.replace(po,""),nr(t,r,o,s,!1);else{var u=(r=r.replace(ho,"")).match(mo),c=u&&u[1];c&&(r=r.slice(0,-(c.length+1))),er(t,r,i,o,c,s)}else tr(t,r,JSON.stringify(o))}}(d)}function v(t){0}if(n?i.length||n.if&&(d.elseif||d.else)&&(v(),xo(n,{exp:d.elseif,block:d})):(n=d,v()),r&&!d.forbidden)if(d.elseif||d.else)!function(t,e){var n=function(t){var e=t.length;for(;e--;){if(1===t[e].type)return t[e];t.pop()}}(e.children);n&&n.if&&xo(n,{exp:t.elseif,block:t})}(d,r);else if(d.slotScope){r.plain=!1;var g=d.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[g]=d}else r.children.push(d),d.parent=r;u?l(d):(r=d,i.push(d));for(var m=0;m<lo.length;m++)lo[m](d,e)},end:function(){var t=i[i.length-1],e=t.children[t.children.length-1];e&&3===e.type&&" "===e.text&&!a&&t.children.pop(),i.length-=1,r=i[i.length-1],l(t)},chars:function(t){if(r&&(!G||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var e,n,i=r.children;if(t=a||t.trim()?"script"===(e=r).tag||"style"===e.tag?t:bo(t):o&&i.length?" ":"")!s&&" "!==t&&(n=Di(t,oo))?i.push({type:2,expression:n,text:t}):" "===t&&i.length&&" "===i[i.length-1].text||i.push({type:3,text:t})}},comment:function(t){r.children.push({type:3,text:t,isComment:!0})}}),n}function xo(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function Co(t){var e=t.match(_o);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}var $o,To,Ao=/^xmlns:NS\d+/,ko=/^NS\d+:/;var Eo=y(function(t){return d("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))});function So(t,e){t&&($o=Eo(e.staticKeys||""),To=e.isReservedTag||S,function t(e){e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||p(t.tag)||!To(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every($o)))}(e);if(1===e.type){if(!To(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,r=e.children.length;n<r;n++){var i=e.children[n];t(i),i.static||(e.static=!1)}if(e.ifConditions)for(var o=1,s=e.ifConditions.length;o<s;o++){var a=e.ifConditions[o].block;t(a),a.static||(e.static=!1)}}}(t),function t(e,n){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=n),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var r=0,i=e.children.length;r<i;r++)t(e.children[r],n||!!e.for);if(e.ifConditions)for(var o=1,s=e.ifConditions.length;o<s;o++)t(e.ifConditions[o].block,n)}}(t,!1))}var Oo=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Do=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,jo={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},No=function(t){return"if("+t+")return null;"},Io={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:No("$event.target !== $event.currentTarget"),ctrl:No("!$event.ctrlKey"),shift:No("!$event.shiftKey"),alt:No("!$event.altKey"),meta:No("!$event.metaKey"),left:No("'button' in $event && $event.button !== 0"),middle:No("'button' in $event && $event.button !== 1"),right:No("'button' in $event && $event.button !== 2")};function Ro(t,e,n){var r=e?"nativeOn:{":"on:{";for(var i in t){0,r+='"'+i+'":'+Lo(i,t[i])+","}return r.slice(0,-1)+"}"}function Lo(t,e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Lo(t,e)}).join(",")+"]";var n=Do.test(e.value),r=Oo.test(e.value);if(e.modifiers){var i="",o="",s=[];for(var a in e.modifiers)Io[a]?(o+=Io[a],jo[a]&&s.push(a)):s.push(a);return s.length&&(i+=function(t){return"if(!('button' in $event)&&"+t.map(Po).join("&&")+")return null;"}(s)),o&&(i+=o),"function($event){"+i+(n?e.value+"($event)":r?"("+e.value+")($event)":e.value)+"}"}return n||r?e.value:"function($event){"+e.value+"}"}function Po(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=jo[t];return"_k($event.keyCode,"+JSON.stringify(t)+(n?","+JSON.stringify(n):"")+")"}var Fo={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:E},Mo=function(t){this.options=t,this.warn=t.warn||Jn,this.transforms=Qn(t.modules,"transformCode"),this.dataGenFns=Qn(t.modules,"genData"),this.directives=A(A({},Fo),t.directives);var e=t.isReservedTag||S;this.maybeComponent=function(t){return!e(t.tag)},this.onceId=0,this.staticRenderFns=[]};function Uo(t,e){var n=new Mo(e);return{render:"with(this){return "+(t?qo(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function qo(t,e){if(t.staticRoot&&!t.staticProcessed)return Ho(t,e);if(t.once&&!t.onceProcessed)return zo(t,e);if(t.for&&!t.forProcessed)return function(t,e,n,r){var i=t.for,o=t.alias,s=t.iterator1?","+t.iterator1:"",a=t.iterator2?","+t.iterator2:"";0;return t.forProcessed=!0,(r||"_l")+"(("+i+"),function("+o+s+a+"){return "+(n||qo)(t,e)+"})"}(t,e);if(t.if&&!t.ifProcessed)return Bo(t,e);if("template"!==t.tag||t.slotTarget){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',r=Xo(t,e),i="_t("+n+(r?","+r:""),o=t.attrs&&"{"+t.attrs.map(function(t){return b(t.name)+":"+t.value}).join(",")+"}",s=t.attrsMap["v-bind"];!o&&!s||r||(i+=",null");o&&(i+=","+o);s&&(i+=(o?"":",null")+","+s);return i+")"}(t,e);var n;if(t.component)n=function(t,e,n){var r=e.inlineTemplate?null:Xo(e,n,!0);return"_c("+t+","+Wo(e,n)+(r?","+r:"")+")"}(t.component,t,e);else{var r=t.plain?void 0:Wo(t,e),i=t.inlineTemplate?null:Xo(t,e,!0);n="_c('"+t.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<e.transforms.length;o++)n=e.transforms[o](t,n);return n}return Xo(t,e)||"void 0"}function Ho(t,e){return t.staticProcessed=!0,e.staticRenderFns.push("with(this){return "+qo(t,e)+"}"),"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function zo(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Bo(t,e);if(t.staticInFor){for(var n="",r=t.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+qo(t,e)+","+e.onceId+++","+n+")":qo(t,e)}return Ho(t,e)}function Bo(t,e,n,r){return t.ifProcessed=!0,function t(e,n,r,i){if(!e.length)return i||"_e()";var o=e.shift();return o.exp?"("+o.exp+")?"+s(o.block)+":"+t(e,n,r,i):""+s(o.block);function s(t){return r?r(t,n):t.once?zo(t,n):qo(t,n)}}(t.ifConditions.slice(),e,n,r)}function Wo(t,e){var n="{",r=function(t,e){var n=t.directives;if(!n)return;var r,i,o,s,a="directives:[",l=!1;for(r=0,i=n.length;r<i;r++){o=n[r],s=!0;var u=e.directives[o.name];u&&(s=!!u(t,o,e.warn)),s&&(l=!0,a+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?',arg:"'+o.arg+'"':"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}if(l)return a.slice(0,-1)+"]"}(t,e);r&&(n+=r+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var i=0;i<e.dataGenFns.length;i++)n+=e.dataGenFns[i](t);if(t.attrs&&(n+="attrs:{"+Zo(t.attrs)+"},"),t.props&&(n+="domProps:{"+Zo(t.props)+"},"),t.events&&(n+=Ro(t.events,!1,e.warn)+","),t.nativeEvents&&(n+=Ro(t.nativeEvents,!0,e.warn)+","),t.slotTarget&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e){return"scopedSlots:_u(["+Object.keys(t).map(function(n){return Vo(n,t[n],e)}).join(",")+"])"}(t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];0;if(1===n.type){var r=Uo(n,e.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Vo(t,e,n){return e.for&&!e.forProcessed?function(t,e,n){var r=e.for,i=e.alias,o=e.iterator1?","+e.iterator1:"",s=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,"_l(("+r+"),function("+i+o+s+"){return "+Vo(t,e,n)+"})"}(t,e,n):"{key:"+t+",fn:function("+String(e.attrsMap.scope)+"){return "+("template"===e.tag?Xo(e,n)||"void 0":qo(e,n))+"}}"}function Xo(t,e,n,r,i){var o=t.children;if(o.length){var s=o[0];if(1===o.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag)return(r||qo)(s,e);var a=n?function(t,e){for(var n=0,r=0;r<t.length;r++){var i=t[r];if(1===i.type){if(Go(i)||i.ifConditions&&i.ifConditions.some(function(t){return Go(t.block)})){n=2;break}(e(i)||i.ifConditions&&i.ifConditions.some(function(t){return e(t.block)}))&&(n=1)}}return n}(o,e.maybeComponent):0,l=i||Ko;return"["+o.map(function(t){return l(t,e)}).join(",")+"]"+(a?","+a:"")}}function Go(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function Ko(t,e){return 1===t.type?qo(t,e):3===t.type&&t.isComment?(r=t,"_e("+JSON.stringify(r.text)+")"):"_v("+(2===(n=t).type?n.expression:Jo(JSON.stringify(n.text)))+")";var n,r}function Zo(t){for(var e="",n=0;n<t.length;n++){var r=t[n];e+='"'+r.name+'":'+Jo(r.value)+","}return e.slice(0,-1)}function Jo(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function Qo(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),E}}var Yo,ts=(Yo=function(t,e){var n=wo(t.trim(),e);So(n,e);var r=Uo(n,e);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(t){function e(e,n){var r=Object.create(t),i=[],o=[];if(r.warn=function(t,e){(e?o:i).push(t)},n)for(var s in n.modules&&(r.modules=(t.modules||[]).concat(n.modules)),n.directives&&(r.directives=A(Object.create(t.directives),n.directives)),n)"modules"!==s&&"directives"!==s&&(r[s]=n[s]);var a=Yo(e,r);return a.errors=i,a.tips=o,a}return{compile:e,compileToFunctions:function(t){var e=Object.create(null);return function(n,r,i){var o=(r=r||{}).delimiters?String(r.delimiters)+n:n;if(e[o])return e[o];var s=t(n,r),a={},l=[];return a.render=Qo(s.render,l),a.staticRenderFns=s.staticRenderFns.map(function(t){return Qo(t,l)}),e[o]=a}}(e)}})(Fi).compileToFunctions,es=y(function(t){var e=xn(t);return e&&e.innerHTML}),ns=Xe.prototype.$mount;Xe.prototype.$mount=function(t,e){if((t=t&&xn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=es(r));else{if(!r.nodeType)return this;r=r.innerHTML}else t&&(r=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(r){0;var i=ts(r,{shouldDecodeNewlines:ki,delimiters:n.delimiters,comments:n.comments},this),o=i.render,s=i.staticRenderFns;n.render=o,n.staticRenderFns=s}}return ns.call(this,t,e)},Xe.compile=ts,t.exports=Xe}).call(e,n("DuR2"))},JHru:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["alertType","title"],computed:{alertClassName:function(){return"alert-"+this.alertType}},methods:{hideEvent:function(){this.$emit("hide")}}}},JfWP:function(t,e){},Lypw:function(t,e,n){var r=n("VU/8")(n("lAxH"),n("mttk"),!1,function(t){n("DimI")},"data-v-538f99aa",null);t.exports=r.exports},M4fF:function(t,e,n){(function(t,r){var i;(function(){var o,s=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",u="__lodash_hash_undefined__",c=500,f="__lodash_placeholder__",d=1,p=2,h=4,v=1,g=2,m=1,y=2,_=4,b=8,w=16,x=32,C=64,$=128,T=256,A=512,k=30,E="...",S=800,O=16,D=1,j=2,N=1/0,I=9007199254740991,R=1.7976931348623157e308,L=NaN,P=4294967295,F=P-1,M=P>>>1,U=[["ary",$],["bind",m],["bindKey",y],["curry",b],["curryRight",w],["flip",A],["partial",x],["partialRight",C],["rearg",T]],q="[object Arguments]",H="[object Array]",z="[object AsyncFunction]",B="[object Boolean]",W="[object Date]",V="[object DOMException]",X="[object Error]",G="[object Function]",K="[object GeneratorFunction]",Z="[object Map]",J="[object Number]",Q="[object Null]",Y="[object Object]",tt="[object Proxy]",et="[object RegExp]",nt="[object Set]",rt="[object String]",it="[object Symbol]",ot="[object Undefined]",st="[object WeakMap]",at="[object WeakSet]",lt="[object ArrayBuffer]",ut="[object DataView]",ct="[object Float32Array]",ft="[object Float64Array]",dt="[object Int8Array]",pt="[object Int16Array]",ht="[object Int32Array]",vt="[object Uint8Array]",gt="[object Uint8ClampedArray]",mt="[object Uint16Array]",yt="[object Uint32Array]",_t=/\b__p \+= '';/g,bt=/\b(__p \+=) '' \+/g,wt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xt=/&(?:amp|lt|gt|quot|#39);/g,Ct=/[&<>"']/g,$t=RegExp(xt.source),Tt=RegExp(Ct.source),At=/<%-([\s\S]+?)%>/g,kt=/<%([\s\S]+?)%>/g,Et=/<%=([\s\S]+?)%>/g,St=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ot=/^\w*$/,Dt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jt=/[\\^$.*+?()[\]{}|]/g,Nt=RegExp(jt.source),It=/^\s+|\s+$/g,Rt=/^\s+/,Lt=/\s+$/,Pt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ft=/\{\n\/\* \[wrapped with (.+)\] \*/,Mt=/,? & /,Ut=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,qt=/\\(\\)?/g,Ht=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zt=/\w*$/,Bt=/^[-+]0x[0-9a-f]+$/i,Wt=/^0b[01]+$/i,Vt=/^\[object .+?Constructor\]$/,Xt=/^0o[0-7]+$/i,Gt=/^(?:0|[1-9]\d*)$/,Kt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,Jt=/['\n\r\u2028\u2029\\]/g,Qt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Yt="\\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",te="[\\ud800-\\udfff]",ee="["+Yt+"]",ne="["+Qt+"]",re="\\d+",ie="[\\u2700-\\u27bf]",oe="[a-z\\xdf-\\xf6\\xf8-\\xff]",se="[^\\ud800-\\udfff"+Yt+re+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ae="\\ud83c[\\udffb-\\udfff]",le="[^\\ud800-\\udfff]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",ce="[\\ud800-\\udbff][\\udc00-\\udfff]",fe="[A-Z\\xc0-\\xd6\\xd8-\\xde]",de="(?:"+oe+"|"+se+")",pe="(?:"+fe+"|"+se+")",he="(?:"+ne+"|"+ae+")"+"?",ve="[\\ufe0e\\ufe0f]?"+he+("(?:\\u200d(?:"+[le,ue,ce].join("|")+")[\\ufe0e\\ufe0f]?"+he+")*"),ge="(?:"+[ie,ue,ce].join("|")+")"+ve,me="(?:"+[le+ne+"?",ne,ue,ce,te].join("|")+")",ye=RegExp("['’]","g"),_e=RegExp(ne,"g"),be=RegExp(ae+"(?="+ae+")|"+me+ve,"g"),we=RegExp([fe+"?"+oe+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ee,fe,"$"].join("|")+")",pe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ee,fe+de,"$"].join("|")+")",fe+"?"+de+"+(?:['’](?:d|ll|m|re|s|t|ve))?",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",re,ge].join("|"),"g"),xe=RegExp("[\\u200d\\ud800-\\udfff"+Qt+"\\ufe0e\\ufe0f]"),Ce=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,$e=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Te=-1,Ae={};Ae[ct]=Ae[ft]=Ae[dt]=Ae[pt]=Ae[ht]=Ae[vt]=Ae[gt]=Ae[mt]=Ae[yt]=!0,Ae[q]=Ae[H]=Ae[lt]=Ae[B]=Ae[ut]=Ae[W]=Ae[X]=Ae[G]=Ae[Z]=Ae[J]=Ae[Y]=Ae[et]=Ae[nt]=Ae[rt]=Ae[st]=!1;var ke={};ke[q]=ke[H]=ke[lt]=ke[ut]=ke[B]=ke[W]=ke[ct]=ke[ft]=ke[dt]=ke[pt]=ke[ht]=ke[Z]=ke[J]=ke[Y]=ke[et]=ke[nt]=ke[rt]=ke[it]=ke[vt]=ke[gt]=ke[mt]=ke[yt]=!0,ke[X]=ke[G]=ke[st]=!1;var Ee={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Se=parseFloat,Oe=parseInt,De="object"==typeof t&&t&&t.Object===Object&&t,je="object"==typeof self&&self&&self.Object===Object&&self,Ne=De||je||Function("return this")(),Ie="object"==typeof e&&e&&!e.nodeType&&e,Re=Ie&&"object"==typeof r&&r&&!r.nodeType&&r,Le=Re&&Re.exports===Ie,Pe=Le&&De.process,Fe=function(){try{var t=Re&&Re.require&&Re.require("util").types;return t||Pe&&Pe.binding&&Pe.binding("util")}catch(t){}}(),Me=Fe&&Fe.isArrayBuffer,Ue=Fe&&Fe.isDate,qe=Fe&&Fe.isMap,He=Fe&&Fe.isRegExp,ze=Fe&&Fe.isSet,Be=Fe&&Fe.isTypedArray;function We(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ve(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}function Xe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Ge(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ke(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ze(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function Je(t,e){return!!(null==t?0:t.length)&&ln(t,e,0)>-1}function Qe(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Ye(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function tn(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function en(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function nn(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function rn(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var on=dn("length");function sn(t,e,n){var r;return n(t,function(t,n,i){if(e(t,n,i))return r=n,!1}),r}function an(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function ln(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):an(t,cn,n)}function un(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function cn(t){return t!=t}function fn(t,e){var n=null==t?0:t.length;return n?vn(t,e)/n:L}function dn(t){return function(e){return null==e?o:e[t]}}function pn(t){return function(e){return null==t?o:t[e]}}function hn(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}function vn(t,e){for(var n,r=-1,i=t.length;++r<i;){var s=e(t[r]);s!==o&&(n=n===o?s:n+s)}return n}function gn(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function mn(t){return function(e){return t(e)}}function yn(t,e){return Ye(e,function(e){return t[e]})}function _n(t,e){return t.has(e)}function bn(t,e){for(var n=-1,r=t.length;++n<r&&ln(e,t[n],0)>-1;);return n}function wn(t,e){for(var n=t.length;n--&&ln(e,t[n],0)>-1;);return n}var xn=pn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Cn=pn({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function $n(t){return"\\"+Ee[t]}function Tn(t){return xe.test(t)}function An(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function kn(t,e){return function(n){return t(e(n))}}function En(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n];s!==e&&s!==f||(t[n]=f,o[i++]=n)}return o}function Sn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function On(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function Dn(t){return Tn(t)?function(t){var e=be.lastIndex=0;for(;be.test(t);)++e;return e}(t):on(t)}function jn(t){return Tn(t)?function(t){return t.match(be)||[]}(t):function(t){return t.split("")}(t)}var Nn=pn({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var In=function t(e){var n,r=(e=null==e?Ne:In.defaults(Ne.Object(),e,In.pick(Ne,$e))).Array,i=e.Date,Qt=e.Error,Yt=e.Function,te=e.Math,ee=e.Object,ne=e.RegExp,re=e.String,ie=e.TypeError,oe=r.prototype,se=Yt.prototype,ae=ee.prototype,le=e["__core-js_shared__"],ue=se.toString,ce=ae.hasOwnProperty,fe=0,de=(n=/[^.]+$/.exec(le&&le.keys&&le.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",pe=ae.toString,he=ue.call(ee),ve=Ne._,ge=ne("^"+ue.call(ce).replace(jt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),me=Le?e.Buffer:o,be=e.Symbol,xe=e.Uint8Array,Ee=me?me.allocUnsafe:o,De=kn(ee.getPrototypeOf,ee),je=ee.create,Ie=ae.propertyIsEnumerable,Re=oe.splice,Pe=be?be.isConcatSpreadable:o,Fe=be?be.iterator:o,on=be?be.toStringTag:o,pn=function(){try{var t=Mo(ee,"defineProperty");return t({},"",{}),t}catch(t){}}(),Rn=e.clearTimeout!==Ne.clearTimeout&&e.clearTimeout,Ln=i&&i.now!==Ne.Date.now&&i.now,Pn=e.setTimeout!==Ne.setTimeout&&e.setTimeout,Fn=te.ceil,Mn=te.floor,Un=ee.getOwnPropertySymbols,qn=me?me.isBuffer:o,Hn=e.isFinite,zn=oe.join,Bn=kn(ee.keys,ee),Wn=te.max,Vn=te.min,Xn=i.now,Gn=e.parseInt,Kn=te.random,Zn=oe.reverse,Jn=Mo(e,"DataView"),Qn=Mo(e,"Map"),Yn=Mo(e,"Promise"),tr=Mo(e,"Set"),er=Mo(e,"WeakMap"),nr=Mo(ee,"create"),rr=er&&new er,ir={},or=fs(Jn),sr=fs(Qn),ar=fs(Yn),lr=fs(tr),ur=fs(er),cr=be?be.prototype:o,fr=cr?cr.valueOf:o,dr=cr?cr.toString:o;function pr(t){if(Ea(t)&&!ma(t)&&!(t instanceof mr)){if(t instanceof gr)return t;if(ce.call(t,"__wrapped__"))return ds(t)}return new gr(t)}var hr=function(){function t(){}return function(e){if(!ka(e))return{};if(je)return je(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function vr(){}function gr(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function mr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=P,this.__views__=[]}function yr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function _r(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function br(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function wr(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new br;++e<n;)this.add(t[e])}function xr(t){var e=this.__data__=new _r(t);this.size=e.size}function Cr(t,e){var n=ma(t),r=!n&&ga(t),i=!n&&!r&&wa(t),o=!n&&!r&&!i&&La(t),s=n||r||i||o,a=s?gn(t.length,re):[],l=a.length;for(var u in t)!e&&!ce.call(t,u)||s&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Vo(u,l))||a.push(u);return a}function $r(t){var e=t.length;return e?t[wi(0,e-1)]:o}function Tr(t,e){return ls(no(t),Ir(e,0,t.length))}function Ar(t){return ls(no(t))}function kr(t,e,n){(n===o||pa(t[e],n))&&(n!==o||e in t)||jr(t,e,n)}function Er(t,e,n){var r=t[e];ce.call(t,e)&&pa(r,n)&&(n!==o||e in t)||jr(t,e,n)}function Sr(t,e){for(var n=t.length;n--;)if(pa(t[n][0],e))return n;return-1}function Or(t,e,n,r){return Mr(t,function(t,i,o){e(r,t,n(t),o)}),r}function Dr(t,e){return t&&ro(e,il(e),t)}function jr(t,e,n){"__proto__"==e&&pn?pn(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function Nr(t,e){for(var n=-1,i=e.length,s=r(i),a=null==t;++n<i;)s[n]=a?o:Ya(t,e[n]);return s}function Ir(t,e,n){return t==t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function Rr(t,e,n,r,i,s){var a,l=e&d,u=e&p,c=e&h;if(n&&(a=i?n(t,r,i,s):n(t)),a!==o)return a;if(!ka(t))return t;var f=ma(t);if(f){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ce.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return no(t,a)}else{var v=Ho(t),g=v==G||v==K;if(wa(t))return Zi(t,l);if(v==Y||v==q||g&&!i){if(a=u||g?{}:Bo(t),!l)return u?function(t,e){return ro(t,qo(t),e)}(t,function(t,e){return t&&ro(e,ol(e),t)}(a,t)):function(t,e){return ro(t,Uo(t),e)}(t,Dr(a,t))}else{if(!ke[v])return i?t:{};a=function(t,e,n){var r,i,o,s=t.constructor;switch(e){case lt:return Ji(t);case B:case W:return new s(+t);case ut:return function(t,e){var n=e?Ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case ct:case ft:case dt:case pt:case ht:case vt:case gt:case mt:case yt:return Qi(t,n);case Z:return new s;case J:case rt:return new s(t);case et:return(o=new(i=t).constructor(i.source,zt.exec(i))).lastIndex=i.lastIndex,o;case nt:return new s;case it:return r=t,fr?ee(fr.call(r)):{}}}(t,v,l)}}s||(s=new xr);var m=s.get(t);if(m)return m;s.set(t,a),Na(t)?t.forEach(function(r){a.add(Rr(r,e,n,r,t,s))}):Sa(t)&&t.forEach(function(r,i){a.set(i,Rr(r,e,n,i,t,s))});var y=f?o:(c?u?jo:Do:u?ol:il)(t);return Xe(y||t,function(r,i){y&&(r=t[i=r]),Er(a,i,Rr(r,e,n,i,t,s))}),a}function Lr(t,e,n){var r=n.length;if(null==t)return!r;for(t=ee(t);r--;){var i=n[r],s=e[i],a=t[i];if(a===o&&!(i in t)||!s(a))return!1}return!0}function Pr(t,e,n){if("function"!=typeof t)throw new ie(l);return is(function(){t.apply(o,n)},e)}function Fr(t,e,n,r){var i=-1,o=Je,a=!0,l=t.length,u=[],c=e.length;if(!l)return u;n&&(e=Ye(e,mn(n))),r?(o=Qe,a=!1):e.length>=s&&(o=_n,a=!1,e=new wr(e));t:for(;++i<l;){var f=t[i],d=null==n?f:n(f);if(f=r||0!==f?f:0,a&&d==d){for(var p=c;p--;)if(e[p]===d)continue t;u.push(f)}else o(e,d,r)||u.push(f)}return u}pr.templateSettings={escape:At,evaluate:kt,interpolate:Et,variable:"",imports:{_:pr}},pr.prototype=vr.prototype,pr.prototype.constructor=pr,gr.prototype=hr(vr.prototype),gr.prototype.constructor=gr,mr.prototype=hr(vr.prototype),mr.prototype.constructor=mr,yr.prototype.clear=function(){this.__data__=nr?nr(null):{},this.size=0},yr.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},yr.prototype.get=function(t){var e=this.__data__;if(nr){var n=e[t];return n===u?o:n}return ce.call(e,t)?e[t]:o},yr.prototype.has=function(t){var e=this.__data__;return nr?e[t]!==o:ce.call(e,t)},yr.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=nr&&e===o?u:e,this},_r.prototype.clear=function(){this.__data__=[],this.size=0},_r.prototype.delete=function(t){var e=this.__data__,n=Sr(e,t);return!(n<0||(n==e.length-1?e.pop():Re.call(e,n,1),--this.size,0))},_r.prototype.get=function(t){var e=this.__data__,n=Sr(e,t);return n<0?o:e[n][1]},_r.prototype.has=function(t){return Sr(this.__data__,t)>-1},_r.prototype.set=function(t,e){var n=this.__data__,r=Sr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},br.prototype.clear=function(){this.size=0,this.__data__={hash:new yr,map:new(Qn||_r),string:new yr}},br.prototype.delete=function(t){var e=Po(this,t).delete(t);return this.size-=e?1:0,e},br.prototype.get=function(t){return Po(this,t).get(t)},br.prototype.has=function(t){return Po(this,t).has(t)},br.prototype.set=function(t,e){var n=Po(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},wr.prototype.add=wr.prototype.push=function(t){return this.__data__.set(t,u),this},wr.prototype.has=function(t){return this.__data__.has(t)},xr.prototype.clear=function(){this.__data__=new _r,this.size=0},xr.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},xr.prototype.get=function(t){return this.__data__.get(t)},xr.prototype.has=function(t){return this.__data__.has(t)},xr.prototype.set=function(t,e){var n=this.__data__;if(n instanceof _r){var r=n.__data__;if(!Qn||r.length<s-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new br(r)}return n.set(t,e),this.size=n.size,this};var Mr=so(Xr),Ur=so(Gr,!0);function qr(t,e){var n=!0;return Mr(t,function(t,r,i){return n=!!e(t,r,i)}),n}function Hr(t,e,n){for(var r=-1,i=t.length;++r<i;){var s=t[r],a=e(s);if(null!=a&&(l===o?a==a&&!Ra(a):n(a,l)))var l=a,u=s}return u}function zr(t,e){var n=[];return Mr(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}function Br(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=Wo),i||(i=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?Br(a,e-1,n,r,i):tn(i,a):r||(i[i.length]=a)}return i}var Wr=ao(),Vr=ao(!0);function Xr(t,e){return t&&Wr(t,e,il)}function Gr(t,e){return t&&Vr(t,e,il)}function Kr(t,e){return Ze(e,function(e){return $a(t[e])})}function Zr(t,e){for(var n=0,r=(e=Vi(e,t)).length;null!=t&&n<r;)t=t[cs(e[n++])];return n&&n==r?t:o}function Jr(t,e,n){var r=e(t);return ma(t)?r:tn(r,n(t))}function Qr(t){return null==t?t===o?ot:Q:on&&on in ee(t)?function(t){var e=ce.call(t,on),n=t[on];try{t[on]=o;var r=!0}catch(t){}var i=pe.call(t);return r&&(e?t[on]=n:delete t[on]),i}(t):function(t){return pe.call(t)}(t)}function Yr(t,e){return t>e}function ti(t,e){return null!=t&&ce.call(t,e)}function ei(t,e){return null!=t&&e in ee(t)}function ni(t,e,n){for(var i=n?Qe:Je,s=t[0].length,a=t.length,l=a,u=r(a),c=1/0,f=[];l--;){var d=t[l];l&&e&&(d=Ye(d,mn(e))),c=Vn(d.length,c),u[l]=!n&&(e||s>=120&&d.length>=120)?new wr(l&&d):o}d=t[0];var p=-1,h=u[0];t:for(;++p<s&&f.length<c;){var v=d[p],g=e?e(v):v;if(v=n||0!==v?v:0,!(h?_n(h,g):i(f,g,n))){for(l=a;--l;){var m=u[l];if(!(m?_n(m,g):i(t[l],g,n)))continue t}h&&h.push(g),f.push(v)}}return f}function ri(t,e,n){var r=null==(t=es(t,e=Vi(e,t)))?t:t[cs(Cs(e))];return null==r?o:We(r,t,n)}function ii(t){return Ea(t)&&Qr(t)==q}function oi(t,e,n,r,i){return t===e||(null==t||null==e||!Ea(t)&&!Ea(e)?t!=t&&e!=e:function(t,e,n,r,i,s){var a=ma(t),l=ma(e),u=a?H:Ho(t),c=l?H:Ho(e),f=(u=u==q?Y:u)==Y,d=(c=c==q?Y:c)==Y,p=u==c;if(p&&wa(t)){if(!wa(e))return!1;a=!0,f=!1}if(p&&!f)return s||(s=new xr),a||La(t)?So(t,e,n,r,i,s):function(t,e,n,r,i,o,s){switch(n){case ut:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case lt:return!(t.byteLength!=e.byteLength||!o(new xe(t),new xe(e)));case B:case W:case J:return pa(+t,+e);case X:return t.name==e.name&&t.message==e.message;case et:case rt:return t==e+"";case Z:var a=An;case nt:var l=r&v;if(a||(a=Sn),t.size!=e.size&&!l)return!1;var u=s.get(t);if(u)return u==e;r|=g,s.set(t,e);var c=So(a(t),a(e),r,i,o,s);return s.delete(t),c;case it:if(fr)return fr.call(t)==fr.call(e)}return!1}(t,e,u,n,r,i,s);if(!(n&v)){var h=f&&ce.call(t,"__wrapped__"),m=d&&ce.call(e,"__wrapped__");if(h||m){var y=h?t.value():t,_=m?e.value():e;return s||(s=new xr),i(y,_,n,r,s)}}return!!p&&(s||(s=new xr),function(t,e,n,r,i,s){var a=n&v,l=Do(t),u=l.length,c=Do(e).length;if(u!=c&&!a)return!1;for(var f=u;f--;){var d=l[f];if(!(a?d in e:ce.call(e,d)))return!1}var p=s.get(t);if(p&&s.get(e))return p==e;var h=!0;s.set(t,e),s.set(e,t);for(var g=a;++f<u;){d=l[f];var m=t[d],y=e[d];if(r)var _=a?r(y,m,d,e,t,s):r(m,y,d,t,e,s);if(!(_===o?m===y||i(m,y,n,r,s):_)){h=!1;break}g||(g="constructor"==d)}if(h&&!g){var b=t.constructor,w=e.constructor;b!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(h=!1)}return s.delete(t),s.delete(e),h}(t,e,n,r,i,s))}(t,e,n,r,oi,i))}function si(t,e,n,r){var i=n.length,s=i,a=!r;if(null==t)return!s;for(t=ee(t);i--;){var l=n[i];if(a&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++i<s;){var u=(l=n[i])[0],c=t[u],f=l[1];if(a&&l[2]){if(c===o&&!(u in t))return!1}else{var d=new xr;if(r)var p=r(c,f,u,t,e,d);if(!(p===o?oi(f,c,v|g,r,d):p))return!1}}return!0}function ai(t){return!(!ka(t)||de&&de in t)&&($a(t)?ge:Vt).test(fs(t))}function li(t){return"function"==typeof t?t:null==t?Ol:"object"==typeof t?ma(t)?hi(t[0],t[1]):pi(t):Ml(t)}function ui(t){if(!Jo(t))return Bn(t);var e=[];for(var n in ee(t))ce.call(t,n)&&"constructor"!=n&&e.push(n);return e}function ci(t){if(!ka(t))return function(t){var e=[];if(null!=t)for(var n in ee(t))e.push(n);return e}(t);var e=Jo(t),n=[];for(var r in t)("constructor"!=r||!e&&ce.call(t,r))&&n.push(r);return n}function fi(t,e){return t<e}function di(t,e){var n=-1,i=_a(t)?r(t.length):[];return Mr(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function pi(t){var e=Fo(t);return 1==e.length&&e[0][2]?Yo(e[0][0],e[0][1]):function(n){return n===t||si(n,t,e)}}function hi(t,e){return Go(t)&&Qo(e)?Yo(cs(t),e):function(n){var r=Ya(n,t);return r===o&&r===e?tl(n,t):oi(e,r,v|g)}}function vi(t,e,n,r,i){t!==e&&Wr(e,function(s,a){if(i||(i=new xr),ka(s))!function(t,e,n,r,i,s,a){var l=ns(t,n),u=ns(e,n),c=a.get(u);if(c)kr(t,n,c);else{var f=s?s(l,u,n+"",t,e,a):o,d=f===o;if(d){var p=ma(u),h=!p&&wa(u),v=!p&&!h&&La(u);f=u,p||h||v?ma(l)?f=l:ba(l)?f=no(l):h?(d=!1,f=Zi(u,!0)):v?(d=!1,f=Qi(u,!0)):f=[]:Da(u)||ga(u)?(f=l,ga(l)?f=Ba(l):ka(l)&&!$a(l)||(f=Bo(u))):d=!1}d&&(a.set(u,f),i(f,u,r,s,a),a.delete(u)),kr(t,n,f)}}(t,e,a,n,vi,r,i);else{var l=r?r(ns(t,a),s,a+"",t,e,i):o;l===o&&(l=s),kr(t,a,l)}},ol)}function gi(t,e){var n=t.length;if(n)return Vo(e+=e<0?n:0,n)?t[e]:o}function mi(t,e,n){var r=-1;return e=Ye(e.length?e:[Ol],mn(Lo())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(di(t,function(t,n,i){return{criteria:Ye(e,function(e){return e(t)}),index:++r,value:t}}),function(t,e){return function(t,e,n){for(var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;++r<s;){var l=Yi(i[r],o[r]);if(l){if(r>=a)return l;var u=n[r];return l*("desc"==u?-1:1)}}return t.index-e.index}(t,e,n)})}function yi(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var s=e[r],a=Zr(t,s);n(a,s)&&Ai(o,Vi(s,t),a)}return o}function _i(t,e,n,r){var i=r?un:ln,o=-1,s=e.length,a=t;for(t===e&&(e=no(e)),n&&(a=Ye(t,mn(n)));++o<s;)for(var l=0,u=e[o],c=n?n(u):u;(l=i(a,c,l,r))>-1;)a!==t&&Re.call(a,l,1),Re.call(t,l,1);return t}function bi(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;Vo(i)?Re.call(t,i,1):Fi(t,i)}}return t}function wi(t,e){return t+Mn(Kn()*(e-t+1))}function xi(t,e){var n="";if(!t||e<1||e>I)return n;do{e%2&&(n+=t),(e=Mn(e/2))&&(t+=t)}while(e);return n}function Ci(t,e){return os(ts(t,e,Ol),t+"")}function $i(t){return $r(pl(t))}function Ti(t,e){var n=pl(t);return ls(n,Ir(e,0,n.length))}function Ai(t,e,n,r){if(!ka(t))return t;for(var i=-1,s=(e=Vi(e,t)).length,a=s-1,l=t;null!=l&&++i<s;){var u=cs(e[i]),c=n;if(i!=a){var f=l[u];(c=r?r(f,u,l):o)===o&&(c=ka(f)?f:Vo(e[i+1])?[]:{})}Er(l,u,c),l=l[u]}return t}var ki=rr?function(t,e){return rr.set(t,e),t}:Ol,Ei=pn?function(t,e){return pn(t,"toString",{configurable:!0,enumerable:!1,value:kl(e),writable:!0})}:Ol;function Si(t){return ls(pl(t))}function Oi(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=r(o);++i<o;)s[i]=t[i+e];return s}function Di(t,e){var n;return Mr(t,function(t,r,i){return!(n=e(t,r,i))}),!!n}function ji(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=M){for(;r<i;){var o=r+i>>>1,s=t[o];null!==s&&!Ra(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return Ni(t,e,Ol,n)}function Ni(t,e,n,r){e=n(e);for(var i=0,s=null==t?0:t.length,a=e!=e,l=null===e,u=Ra(e),c=e===o;i<s;){var f=Mn((i+s)/2),d=n(t[f]),p=d!==o,h=null===d,v=d==d,g=Ra(d);if(a)var m=r||v;else m=c?v&&(r||p):l?v&&p&&(r||!h):u?v&&p&&!h&&(r||!g):!h&&!g&&(r?d<=e:d<e);m?i=f+1:s=f}return Vn(s,F)}function Ii(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n],a=e?e(s):s;if(!n||!pa(a,l)){var l=a;o[i++]=0===s?0:s}}return o}function Ri(t){return"number"==typeof t?t:Ra(t)?L:+t}function Li(t){if("string"==typeof t)return t;if(ma(t))return Ye(t,Li)+"";if(Ra(t))return dr?dr.call(t):"";var e=t+"";return"0"==e&&1/t==-N?"-0":e}function Pi(t,e,n){var r=-1,i=Je,o=t.length,a=!0,l=[],u=l;if(n)a=!1,i=Qe;else if(o>=s){var c=e?null:Co(t);if(c)return Sn(c);a=!1,i=_n,u=new wr}else u=e?[]:l;t:for(;++r<o;){var f=t[r],d=e?e(f):f;if(f=n||0!==f?f:0,a&&d==d){for(var p=u.length;p--;)if(u[p]===d)continue t;e&&u.push(d),l.push(f)}else i(u,d,n)||(u!==l&&u.push(d),l.push(f))}return l}function Fi(t,e){return null==(t=es(t,e=Vi(e,t)))||delete t[cs(Cs(e))]}function Mi(t,e,n,r){return Ai(t,e,n(Zr(t,e)),r)}function Ui(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?Oi(t,r?0:o,r?o+1:i):Oi(t,r?o+1:0,r?i:o)}function qi(t,e){var n=t;return n instanceof mr&&(n=n.value()),en(e,function(t,e){return e.func.apply(e.thisArg,tn([t],e.args))},n)}function Hi(t,e,n){var i=t.length;if(i<2)return i?Pi(t[0]):[];for(var o=-1,s=r(i);++o<i;)for(var a=t[o],l=-1;++l<i;)l!=o&&(s[o]=Fr(s[o]||a,t[l],e,n));return Pi(Br(s,1),e,n)}function zi(t,e,n){for(var r=-1,i=t.length,s=e.length,a={};++r<i;){var l=r<s?e[r]:o;n(a,t[r],l)}return a}function Bi(t){return ba(t)?t:[]}function Wi(t){return"function"==typeof t?t:Ol}function Vi(t,e){return ma(t)?t:Go(t,e)?[t]:us(Wa(t))}var Xi=Ci;function Gi(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:Oi(t,e,n)}var Ki=Rn||function(t){return Ne.clearTimeout(t)};function Zi(t,e){if(e)return t.slice();var n=t.length,r=Ee?Ee(n):new t.constructor(n);return t.copy(r),r}function Ji(t){var e=new t.constructor(t.byteLength);return new xe(e).set(new xe(t)),e}function Qi(t,e){var n=e?Ji(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Yi(t,e){if(t!==e){var n=t!==o,r=null===t,i=t==t,s=Ra(t),a=e!==o,l=null===e,u=e==e,c=Ra(e);if(!l&&!c&&!s&&t>e||s&&a&&u&&!l&&!c||r&&a&&u||!n&&u||!i)return 1;if(!r&&!s&&!c&&t<e||c&&n&&i&&!r&&!s||l&&n&&i||!a&&i||!u)return-1}return 0}function to(t,e,n,i){for(var o=-1,s=t.length,a=n.length,l=-1,u=e.length,c=Wn(s-a,0),f=r(u+c),d=!i;++l<u;)f[l]=e[l];for(;++o<a;)(d||o<s)&&(f[n[o]]=t[o]);for(;c--;)f[l++]=t[o++];return f}function eo(t,e,n,i){for(var o=-1,s=t.length,a=-1,l=n.length,u=-1,c=e.length,f=Wn(s-l,0),d=r(f+c),p=!i;++o<f;)d[o]=t[o];for(var h=o;++u<c;)d[h+u]=e[u];for(;++a<l;)(p||o<s)&&(d[h+n[a]]=t[o++]);return d}function no(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function ro(t,e,n,r){var i=!n;n||(n={});for(var s=-1,a=e.length;++s<a;){var l=e[s],u=r?r(n[l],t[l],l,n,t):o;u===o&&(u=t[l]),i?jr(n,l,u):Er(n,l,u)}return n}function io(t,e){return function(n,r){var i=ma(n)?Ve:Or,o=e?e():{};return i(n,t,Lo(r,2),o)}}function oo(t){return Ci(function(e,n){var r=-1,i=n.length,s=i>1?n[i-1]:o,a=i>2?n[2]:o;for(s=t.length>3&&"function"==typeof s?(i--,s):o,a&&Xo(n[0],n[1],a)&&(s=i<3?o:s,i=1),e=ee(e);++r<i;){var l=n[r];l&&t(e,l,r,s)}return e})}function so(t,e){return function(n,r){if(null==n)return n;if(!_a(n))return t(n,r);for(var i=n.length,o=e?i:-1,s=ee(n);(e?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function ao(t){return function(e,n,r){for(var i=-1,o=ee(e),s=r(e),a=s.length;a--;){var l=s[t?a:++i];if(!1===n(o[l],l,o))break}return e}}function lo(t){return function(e){var n=Tn(e=Wa(e))?jn(e):o,r=n?n[0]:e.charAt(0),i=n?Gi(n,1).join(""):e.slice(1);return r[t]()+i}}function uo(t){return function(e){return en($l(gl(e).replace(ye,"")),t,"")}}function co(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=hr(t.prototype),r=t.apply(n,e);return ka(r)?r:n}}function fo(t){return function(e,n,r){var i=ee(e);if(!_a(e)){var s=Lo(n,3);e=il(e),n=function(t){return s(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[s?e[a]:a]:o}}function po(t){return Oo(function(e){var n=e.length,r=n,i=gr.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new ie(l);if(i&&!a&&"wrapper"==Io(s))var a=new gr([],!0)}for(r=a?r:n;++r<n;){var u=Io(s=e[r]),c="wrapper"==u?No(s):o;a=c&&Ko(c[0])&&c[1]==($|b|x|T)&&!c[4].length&&1==c[9]?a[Io(c[0])].apply(a,c[3]):1==s.length&&Ko(s)?a[u]():a.thru(s)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&ma(r))return a.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}})}function ho(t,e,n,i,s,a,l,u,c,f){var d=e&$,p=e&m,h=e&y,v=e&(b|w),g=e&A,_=h?o:co(t);return function m(){for(var y=arguments.length,b=r(y),w=y;w--;)b[w]=arguments[w];if(v)var x=Ro(m),C=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(b,x);if(i&&(b=to(b,i,s,v)),a&&(b=eo(b,a,l,v)),y-=C,v&&y<f){var $=En(b,x);return wo(t,e,ho,m.placeholder,n,b,$,u,c,f-y)}var T=p?n:this,A=h?T[t]:t;return y=b.length,u?b=function(t,e){for(var n=t.length,r=Vn(e.length,n),i=no(t);r--;){var s=e[r];t[r]=Vo(s,n)?i[s]:o}return t}(b,u):g&&y>1&&b.reverse(),d&&c<y&&(b.length=c),this&&this!==Ne&&this instanceof m&&(A=_||co(A)),A.apply(T,b)}}function vo(t,e){return function(n,r){return function(t,e,n,r){return Xr(t,function(t,i,o){e(r,n(t),i,o)}),r}(n,t,e(r),{})}}function go(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=Li(n),r=Li(r)):(n=Ri(n),r=Ri(r)),i=t(n,r)}return i}}function mo(t){return Oo(function(e){return e=Ye(e,mn(Lo())),Ci(function(n){var r=this;return t(e,function(t){return We(t,r,n)})})})}function yo(t,e){var n=(e=e===o?" ":Li(e)).length;if(n<2)return n?xi(e,t):e;var r=xi(e,Fn(t/Dn(e)));return Tn(e)?Gi(jn(r),0,t).join(""):r.slice(0,t)}function _o(t){return function(e,n,i){return i&&"number"!=typeof i&&Xo(e,n,i)&&(n=i=o),e=Ua(e),n===o?(n=e,e=0):n=Ua(n),function(t,e,n,i){for(var o=-1,s=Wn(Fn((e-t)/(n||1)),0),a=r(s);s--;)a[i?s:++o]=t,t+=n;return a}(e,n,i=i===o?e<n?1:-1:Ua(i),t)}}function bo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=za(e),n=za(n)),t(e,n)}}function wo(t,e,n,r,i,s,a,l,u,c){var f=e&b;e|=f?x:C,(e&=~(f?C:x))&_||(e&=~(m|y));var d=[t,e,i,f?s:o,f?a:o,f?o:s,f?o:a,l,u,c],p=n.apply(o,d);return Ko(t)&&rs(p,d),p.placeholder=r,ss(p,t,e)}function xo(t){var e=te[t];return function(t,n){if(t=za(t),(n=null==n?0:Vn(qa(n),292))&&Hn(t)){var r=(Wa(t)+"e").split("e");return+((r=(Wa(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Co=tr&&1/Sn(new tr([,-0]))[1]==N?function(t){return new tr(t)}:Rl;function $o(t){return function(e){var n=Ho(e);return n==Z?An(e):n==nt?On(e):function(t,e){return Ye(e,function(e){return[e,t[e]]})}(e,t(e))}}function To(t,e,n,i,s,a,u,c){var d=e&y;if(!d&&"function"!=typeof t)throw new ie(l);var p=i?i.length:0;if(p||(e&=~(x|C),i=s=o),u=u===o?u:Wn(qa(u),0),c=c===o?c:qa(c),p-=s?s.length:0,e&C){var h=i,v=s;i=s=o}var g=d?o:No(t),A=[t,e,n,i,s,h,v,a,u,c];if(g&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<(m|y|$),s=r==$&&n==b||r==$&&n==T&&t[7].length<=e[8]||r==($|T)&&e[7].length<=e[8]&&n==b;if(!o&&!s)return t;r&m&&(t[2]=e[2],i|=n&m?0:_);var a=e[3];if(a){var l=t[3];t[3]=l?to(l,a,e[4]):a,t[4]=l?En(t[3],f):e[4]}(a=e[5])&&(l=t[5],t[5]=l?eo(l,a,e[6]):a,t[6]=l?En(t[5],f):e[6]),(a=e[7])&&(t[7]=a),r&$&&(t[8]=null==t[8]?e[8]:Vn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i}(A,g),t=A[0],e=A[1],n=A[2],i=A[3],s=A[4],!(c=A[9]=A[9]===o?d?0:t.length:Wn(A[9]-p,0))&&e&(b|w)&&(e&=~(b|w)),e&&e!=m)k=e==b||e==w?function(t,e,n){var i=co(t);return function s(){for(var a=arguments.length,l=r(a),u=a,c=Ro(s);u--;)l[u]=arguments[u];var f=a<3&&l[0]!==c&&l[a-1]!==c?[]:En(l,c);return(a-=f.length)<n?wo(t,e,ho,s.placeholder,o,l,f,o,o,n-a):We(this&&this!==Ne&&this instanceof s?i:t,this,l)}}(t,e,c):e!=x&&e!=(m|x)||s.length?ho.apply(o,A):function(t,e,n,i){var o=e&m,s=co(t);return function e(){for(var a=-1,l=arguments.length,u=-1,c=i.length,f=r(c+l),d=this&&this!==Ne&&this instanceof e?s:t;++u<c;)f[u]=i[u];for(;l--;)f[u++]=arguments[++a];return We(d,o?n:this,f)}}(t,e,n,i);else var k=function(t,e,n){var r=e&m,i=co(t);return function e(){return(this&&this!==Ne&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return ss((g?ki:rs)(k,A),t,e)}function Ao(t,e,n,r){return t===o||pa(t,ae[n])&&!ce.call(r,n)?e:t}function ko(t,e,n,r,i,s){return ka(t)&&ka(e)&&(s.set(e,t),vi(t,e,o,ko,s),s.delete(e)),t}function Eo(t){return Da(t)?o:t}function So(t,e,n,r,i,s){var a=n&v,l=t.length,u=e.length;if(l!=u&&!(a&&u>l))return!1;var c=s.get(t);if(c&&s.get(e))return c==e;var f=-1,d=!0,p=n&g?new wr:o;for(s.set(t,e),s.set(e,t);++f<l;){var h=t[f],m=e[f];if(r)var y=a?r(m,h,f,e,t,s):r(h,m,f,t,e,s);if(y!==o){if(y)continue;d=!1;break}if(p){if(!rn(e,function(t,e){if(!_n(p,e)&&(h===t||i(h,t,n,r,s)))return p.push(e)})){d=!1;break}}else if(h!==m&&!i(h,m,n,r,s)){d=!1;break}}return s.delete(t),s.delete(e),d}function Oo(t){return os(ts(t,o,ys),t+"")}function Do(t){return Jr(t,il,Uo)}function jo(t){return Jr(t,ol,qo)}var No=rr?function(t){return rr.get(t)}:Rl;function Io(t){for(var e=t.name+"",n=ir[e],r=ce.call(ir,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function Ro(t){return(ce.call(pr,"placeholder")?pr:t).placeholder}function Lo(){var t=pr.iteratee||Dl;return t=t===Dl?li:t,arguments.length?t(arguments[0],arguments[1]):t}function Po(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function Fo(t){for(var e=il(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Qo(i)]}return e}function Mo(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return ai(n)?n:o}var Uo=Un?function(t){return null==t?[]:(t=ee(t),Ze(Un(t),function(e){return Ie.call(t,e)}))}:Hl,qo=Un?function(t){for(var e=[];t;)tn(e,Uo(t)),t=De(t);return e}:Hl,Ho=Qr;function zo(t,e,n){for(var r=-1,i=(e=Vi(e,t)).length,o=!1;++r<i;){var s=cs(e[r]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&Aa(i)&&Vo(s,i)&&(ma(t)||ga(t))}function Bo(t){return"function"!=typeof t.constructor||Jo(t)?{}:hr(De(t))}function Wo(t){return ma(t)||ga(t)||!!(Pe&&t&&t[Pe])}function Vo(t,e){var n=typeof t;return!!(e=null==e?I:e)&&("number"==n||"symbol"!=n&&Gt.test(t))&&t>-1&&t%1==0&&t<e}function Xo(t,e,n){if(!ka(n))return!1;var r=typeof e;return!!("number"==r?_a(n)&&Vo(e,n.length):"string"==r&&e in n)&&pa(n[e],t)}function Go(t,e){if(ma(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ra(t))||Ot.test(t)||!St.test(t)||null!=e&&t in ee(e)}function Ko(t){var e=Io(t),n=pr[e];if("function"!=typeof n||!(e in mr.prototype))return!1;if(t===n)return!0;var r=No(n);return!!r&&t===r[0]}(Jn&&Ho(new Jn(new ArrayBuffer(1)))!=ut||Qn&&Ho(new Qn)!=Z||Yn&&"[object Promise]"!=Ho(Yn.resolve())||tr&&Ho(new tr)!=nt||er&&Ho(new er)!=st)&&(Ho=function(t){var e=Qr(t),n=e==Y?t.constructor:o,r=n?fs(n):"";if(r)switch(r){case or:return ut;case sr:return Z;case ar:return"[object Promise]";case lr:return nt;case ur:return st}return e});var Zo=le?$a:zl;function Jo(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||ae)}function Qo(t){return t==t&&!ka(t)}function Yo(t,e){return function(n){return null!=n&&n[t]===e&&(e!==o||t in ee(n))}}function ts(t,e,n){return e=Wn(e===o?t.length-1:e,0),function(){for(var i=arguments,o=-1,s=Wn(i.length-e,0),a=r(s);++o<s;)a[o]=i[e+o];o=-1;for(var l=r(e+1);++o<e;)l[o]=i[o];return l[e]=n(a),We(t,this,l)}}function es(t,e){return e.length<2?t:Zr(t,Oi(e,0,-1))}function ns(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var rs=as(ki),is=Pn||function(t,e){return Ne.setTimeout(t,e)},os=as(Ei);function ss(t,e,n){var r=e+"";return os(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Pt,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Xe(U,function(n){var r="_."+n[0];e&n[1]&&!Je(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(Ft);return e?e[1].split(Mt):[]}(r),n)))}function as(t){var e=0,n=0;return function(){var r=Xn(),i=O-(r-n);if(n=r,i>0){if(++e>=S)return arguments[0]}else e=0;return t.apply(o,arguments)}}function ls(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n<e;){var s=wi(n,i),a=t[s];t[s]=t[n],t[n]=a}return t.length=e,t}var us=function(t){var e=aa(t,function(t){return n.size===c&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Dt,function(t,n,r,i){e.push(r?i.replace(qt,"$1"):n||t)}),e});function cs(t){if("string"==typeof t||Ra(t))return t;var e=t+"";return"0"==e&&1/t==-N?"-0":e}function fs(t){if(null!=t){try{return ue.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function ds(t){if(t instanceof mr)return t.clone();var e=new gr(t.__wrapped__,t.__chain__);return e.__actions__=no(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var ps=Ci(function(t,e){return ba(t)?Fr(t,Br(e,1,ba,!0)):[]}),hs=Ci(function(t,e){var n=Cs(e);return ba(n)&&(n=o),ba(t)?Fr(t,Br(e,1,ba,!0),Lo(n,2)):[]}),vs=Ci(function(t,e){var n=Cs(e);return ba(n)&&(n=o),ba(t)?Fr(t,Br(e,1,ba,!0),o,n):[]});function gs(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:qa(n);return i<0&&(i=Wn(r+i,0)),an(t,Lo(e,3),i)}function ms(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=qa(n),i=n<0?Wn(r+i,0):Vn(i,r-1)),an(t,Lo(e,3),i,!0)}function ys(t){return null!=t&&t.length?Br(t,1):[]}function _s(t){return t&&t.length?t[0]:o}var bs=Ci(function(t){var e=Ye(t,Bi);return e.length&&e[0]===t[0]?ni(e):[]}),ws=Ci(function(t){var e=Cs(t),n=Ye(t,Bi);return e===Cs(n)?e=o:n.pop(),n.length&&n[0]===t[0]?ni(n,Lo(e,2)):[]}),xs=Ci(function(t){var e=Cs(t),n=Ye(t,Bi);return(e="function"==typeof e?e:o)&&n.pop(),n.length&&n[0]===t[0]?ni(n,o,e):[]});function Cs(t){var e=null==t?0:t.length;return e?t[e-1]:o}var $s=Ci(Ts);function Ts(t,e){return t&&t.length&&e&&e.length?_i(t,e):t}var As=Oo(function(t,e){var n=null==t?0:t.length,r=Nr(t,e);return bi(t,Ye(e,function(t){return Vo(t,n)?+t:t}).sort(Yi)),r});function ks(t){return null==t?t:Zn.call(t)}var Es=Ci(function(t){return Pi(Br(t,1,ba,!0))}),Ss=Ci(function(t){var e=Cs(t);return ba(e)&&(e=o),Pi(Br(t,1,ba,!0),Lo(e,2))}),Os=Ci(function(t){var e=Cs(t);return e="function"==typeof e?e:o,Pi(Br(t,1,ba,!0),o,e)});function Ds(t){if(!t||!t.length)return[];var e=0;return t=Ze(t,function(t){if(ba(t))return e=Wn(t.length,e),!0}),gn(e,function(e){return Ye(t,dn(e))})}function js(t,e){if(!t||!t.length)return[];var n=Ds(t);return null==e?n:Ye(n,function(t){return We(e,o,t)})}var Ns=Ci(function(t,e){return ba(t)?Fr(t,e):[]}),Is=Ci(function(t){return Hi(Ze(t,ba))}),Rs=Ci(function(t){var e=Cs(t);return ba(e)&&(e=o),Hi(Ze(t,ba),Lo(e,2))}),Ls=Ci(function(t){var e=Cs(t);return e="function"==typeof e?e:o,Hi(Ze(t,ba),o,e)}),Ps=Ci(Ds);var Fs=Ci(function(t){var e=t.length,n=e>1?t[e-1]:o;return js(t,n="function"==typeof n?(t.pop(),n):o)});function Ms(t){var e=pr(t);return e.__chain__=!0,e}function Us(t,e){return e(t)}var qs=Oo(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Nr(e,t)};return!(e>1||this.__actions__.length)&&r instanceof mr&&Vo(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:Us,args:[i],thisArg:o}),new gr(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(o),t})):this.thru(i)});var Hs=io(function(t,e,n){ce.call(t,n)?++t[n]:jr(t,n,1)});var zs=fo(gs),Bs=fo(ms);function Ws(t,e){return(ma(t)?Xe:Mr)(t,Lo(e,3))}function Vs(t,e){return(ma(t)?Ge:Ur)(t,Lo(e,3))}var Xs=io(function(t,e,n){ce.call(t,n)?t[n].push(e):jr(t,n,[e])});var Gs=Ci(function(t,e,n){var i=-1,o="function"==typeof e,s=_a(t)?r(t.length):[];return Mr(t,function(t){s[++i]=o?We(e,t,n):ri(t,e,n)}),s}),Ks=io(function(t,e,n){jr(t,n,e)});function Zs(t,e){return(ma(t)?Ye:di)(t,Lo(e,3))}var Js=io(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});var Qs=Ci(function(t,e){if(null==t)return[];var n=e.length;return n>1&&Xo(t,e[0],e[1])?e=[]:n>2&&Xo(e[0],e[1],e[2])&&(e=[e[0]]),mi(t,Br(e,1),[])}),Ys=Ln||function(){return Ne.Date.now()};function ta(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,To(t,$,o,o,o,o,e)}function ea(t,e){var n;if("function"!=typeof e)throw new ie(l);return t=qa(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var na=Ci(function(t,e,n){var r=m;if(n.length){var i=En(n,Ro(na));r|=x}return To(t,r,e,n,i)}),ra=Ci(function(t,e,n){var r=m|y;if(n.length){var i=En(n,Ro(ra));r|=x}return To(e,r,t,n,i)});function ia(t,e,n){var r,i,s,a,u,c,f=0,d=!1,p=!1,h=!0;if("function"!=typeof t)throw new ie(l);function v(e){var n=r,s=i;return r=i=o,f=e,a=t.apply(s,n)}function g(t){var n=t-c;return c===o||n>=e||n<0||p&&t-f>=s}function m(){var t=Ys();if(g(t))return y(t);u=is(m,function(t){var n=e-(t-c);return p?Vn(n,s-(t-f)):n}(t))}function y(t){return u=o,h&&r?v(t):(r=i=o,a)}function _(){var t=Ys(),n=g(t);if(r=arguments,i=this,c=t,n){if(u===o)return function(t){return f=t,u=is(m,e),d?v(t):a}(c);if(p)return Ki(u),u=is(m,e),v(c)}return u===o&&(u=is(m,e)),a}return e=za(e)||0,ka(n)&&(d=!!n.leading,s=(p="maxWait"in n)?Wn(za(n.maxWait)||0,e):s,h="trailing"in n?!!n.trailing:h),_.cancel=function(){u!==o&&Ki(u),f=0,r=c=i=u=o},_.flush=function(){return u===o?a:y(Ys())},_}var oa=Ci(function(t,e){return Pr(t,1,e)}),sa=Ci(function(t,e,n){return Pr(t,za(e)||0,n)});function aa(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ie(l);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(aa.Cache||br),n}function la(t){if("function"!=typeof t)throw new ie(l);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)}}aa.Cache=br;var ua=Xi(function(t,e){var n=(e=1==e.length&&ma(e[0])?Ye(e[0],mn(Lo())):Ye(Br(e,1),mn(Lo()))).length;return Ci(function(r){for(var i=-1,o=Vn(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return We(t,this,r)})}),ca=Ci(function(t,e){var n=En(e,Ro(ca));return To(t,x,o,e,n)}),fa=Ci(function(t,e){var n=En(e,Ro(fa));return To(t,C,o,e,n)}),da=Oo(function(t,e){return To(t,T,o,o,o,e)});function pa(t,e){return t===e||t!=t&&e!=e}var ha=bo(Yr),va=bo(function(t,e){return t>=e}),ga=ii(function(){return arguments}())?ii:function(t){return Ea(t)&&ce.call(t,"callee")&&!Ie.call(t,"callee")},ma=r.isArray,ya=Me?mn(Me):function(t){return Ea(t)&&Qr(t)==lt};function _a(t){return null!=t&&Aa(t.length)&&!$a(t)}function ba(t){return Ea(t)&&_a(t)}var wa=qn||zl,xa=Ue?mn(Ue):function(t){return Ea(t)&&Qr(t)==W};function Ca(t){if(!Ea(t))return!1;var e=Qr(t);return e==X||e==V||"string"==typeof t.message&&"string"==typeof t.name&&!Da(t)}function $a(t){if(!ka(t))return!1;var e=Qr(t);return e==G||e==K||e==z||e==tt}function Ta(t){return"number"==typeof t&&t==qa(t)}function Aa(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=I}function ka(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ea(t){return null!=t&&"object"==typeof t}var Sa=qe?mn(qe):function(t){return Ea(t)&&Ho(t)==Z};function Oa(t){return"number"==typeof t||Ea(t)&&Qr(t)==J}function Da(t){if(!Ea(t)||Qr(t)!=Y)return!1;var e=De(t);if(null===e)return!0;var n=ce.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&ue.call(n)==he}var ja=He?mn(He):function(t){return Ea(t)&&Qr(t)==et};var Na=ze?mn(ze):function(t){return Ea(t)&&Ho(t)==nt};function Ia(t){return"string"==typeof t||!ma(t)&&Ea(t)&&Qr(t)==rt}function Ra(t){return"symbol"==typeof t||Ea(t)&&Qr(t)==it}var La=Be?mn(Be):function(t){return Ea(t)&&Aa(t.length)&&!!Ae[Qr(t)]};var Pa=bo(fi),Fa=bo(function(t,e){return t<=e});function Ma(t){if(!t)return[];if(_a(t))return Ia(t)?jn(t):no(t);if(Fe&&t[Fe])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Fe]());var e=Ho(t);return(e==Z?An:e==nt?Sn:pl)(t)}function Ua(t){return t?(t=za(t))===N||t===-N?(t<0?-1:1)*R:t==t?t:0:0===t?t:0}function qa(t){var e=Ua(t),n=e%1;return e==e?n?e-n:e:0}function Ha(t){return t?Ir(qa(t),0,P):0}function za(t){if("number"==typeof t)return t;if(Ra(t))return L;if(ka(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ka(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(It,"");var n=Wt.test(t);return n||Xt.test(t)?Oe(t.slice(2),n?2:8):Bt.test(t)?L:+t}function Ba(t){return ro(t,ol(t))}function Wa(t){return null==t?"":Li(t)}var Va=oo(function(t,e){if(Jo(e)||_a(e))ro(e,il(e),t);else for(var n in e)ce.call(e,n)&&Er(t,n,e[n])}),Xa=oo(function(t,e){ro(e,ol(e),t)}),Ga=oo(function(t,e,n,r){ro(e,ol(e),t,r)}),Ka=oo(function(t,e,n,r){ro(e,il(e),t,r)}),Za=Oo(Nr);var Ja=Ci(function(t,e){t=ee(t);var n=-1,r=e.length,i=r>2?e[2]:o;for(i&&Xo(e[0],e[1],i)&&(r=1);++n<r;)for(var s=e[n],a=ol(s),l=-1,u=a.length;++l<u;){var c=a[l],f=t[c];(f===o||pa(f,ae[c])&&!ce.call(t,c))&&(t[c]=s[c])}return t}),Qa=Ci(function(t){return t.push(o,ko),We(al,o,t)});function Ya(t,e,n){var r=null==t?o:Zr(t,e);return r===o?n:r}function tl(t,e){return null!=t&&zo(t,e,ei)}var el=vo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),t[e]=n},kl(Ol)),nl=vo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),ce.call(t,e)?t[e].push(n):t[e]=[n]},Lo),rl=Ci(ri);function il(t){return _a(t)?Cr(t):ui(t)}function ol(t){return _a(t)?Cr(t,!0):ci(t)}var sl=oo(function(t,e,n){vi(t,e,n)}),al=oo(function(t,e,n,r){vi(t,e,n,r)}),ll=Oo(function(t,e){var n={};if(null==t)return n;var r=!1;e=Ye(e,function(e){return e=Vi(e,t),r||(r=e.length>1),e}),ro(t,jo(t),n),r&&(n=Rr(n,d|p|h,Eo));for(var i=e.length;i--;)Fi(n,e[i]);return n});var ul=Oo(function(t,e){return null==t?{}:function(t,e){return yi(t,e,function(e,n){return tl(t,n)})}(t,e)});function cl(t,e){if(null==t)return{};var n=Ye(jo(t),function(t){return[t]});return e=Lo(e),yi(t,n,function(t,n){return e(t,n[0])})}var fl=$o(il),dl=$o(ol);function pl(t){return null==t?[]:yn(t,il(t))}var hl=uo(function(t,e,n){return e=e.toLowerCase(),t+(n?vl(e):e)});function vl(t){return Cl(Wa(t).toLowerCase())}function gl(t){return(t=Wa(t))&&t.replace(Kt,xn).replace(_e,"")}var ml=uo(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),yl=uo(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),_l=lo("toLowerCase");var bl=uo(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()});var wl=uo(function(t,e,n){return t+(n?" ":"")+Cl(e)});var xl=uo(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Cl=lo("toUpperCase");function $l(t,e,n){return t=Wa(t),(e=n?o:e)===o?function(t){return Ce.test(t)}(t)?function(t){return t.match(we)||[]}(t):function(t){return t.match(Ut)||[]}(t):t.match(e)||[]}var Tl=Ci(function(t,e){try{return We(t,o,e)}catch(t){return Ca(t)?t:new Qt(t)}}),Al=Oo(function(t,e){return Xe(e,function(e){e=cs(e),jr(t,e,na(t[e],t))}),t});function kl(t){return function(){return t}}var El=po(),Sl=po(!0);function Ol(t){return t}function Dl(t){return li("function"==typeof t?t:Rr(t,d))}var jl=Ci(function(t,e){return function(n){return ri(n,t,e)}}),Nl=Ci(function(t,e){return function(n){return ri(t,n,e)}});function Il(t,e,n){var r=il(e),i=Kr(e,r);null!=n||ka(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Kr(e,il(e)));var o=!(ka(n)&&"chain"in n&&!n.chain),s=$a(t);return Xe(i,function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=no(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,tn([this.value()],arguments))})}),t}function Rl(){}var Ll=mo(Ye),Pl=mo(Ke),Fl=mo(rn);function Ml(t){return Go(t)?dn(cs(t)):function(t){return function(e){return Zr(e,t)}}(t)}var Ul=_o(),ql=_o(!0);function Hl(){return[]}function zl(){return!1}var Bl=go(function(t,e){return t+e},0),Wl=xo("ceil"),Vl=go(function(t,e){return t/e},1),Xl=xo("floor");var Gl,Kl=go(function(t,e){return t*e},1),Zl=xo("round"),Jl=go(function(t,e){return t-e},0);return pr.after=function(t,e){if("function"!=typeof e)throw new ie(l);return t=qa(t),function(){if(--t<1)return e.apply(this,arguments)}},pr.ary=ta,pr.assign=Va,pr.assignIn=Xa,pr.assignInWith=Ga,pr.assignWith=Ka,pr.at=Za,pr.before=ea,pr.bind=na,pr.bindAll=Al,pr.bindKey=ra,pr.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return ma(t)?t:[t]},pr.chain=Ms,pr.chunk=function(t,e,n){e=(n?Xo(t,e,n):e===o)?1:Wn(qa(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var s=0,a=0,l=r(Fn(i/e));s<i;)l[a++]=Oi(t,s,s+=e);return l},pr.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},pr.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return tn(ma(n)?no(n):[n],Br(e,1))},pr.cond=function(t){var e=null==t?0:t.length,n=Lo();return t=e?Ye(t,function(t){if("function"!=typeof t[1])throw new ie(l);return[n(t[0]),t[1]]}):[],Ci(function(n){for(var r=-1;++r<e;){var i=t[r];if(We(i[0],this,n))return We(i[1],this,n)}})},pr.conforms=function(t){return function(t){var e=il(t);return function(n){return Lr(n,t,e)}}(Rr(t,d))},pr.constant=kl,pr.countBy=Hs,pr.create=function(t,e){var n=hr(t);return null==e?n:Dr(n,e)},pr.curry=function t(e,n,r){var i=To(e,b,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},pr.curryRight=function t(e,n,r){var i=To(e,w,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},pr.debounce=ia,pr.defaults=Ja,pr.defaultsDeep=Qa,pr.defer=oa,pr.delay=sa,pr.difference=ps,pr.differenceBy=hs,pr.differenceWith=vs,pr.drop=function(t,e,n){var r=null==t?0:t.length;return r?Oi(t,(e=n||e===o?1:qa(e))<0?0:e,r):[]},pr.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?Oi(t,0,(e=r-(e=n||e===o?1:qa(e)))<0?0:e):[]},pr.dropRightWhile=function(t,e){return t&&t.length?Ui(t,Lo(e,3),!0,!0):[]},pr.dropWhile=function(t,e){return t&&t.length?Ui(t,Lo(e,3),!0):[]},pr.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&Xo(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=qa(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:qa(r))<0&&(r+=i),r=n>r?0:Ha(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},pr.filter=function(t,e){return(ma(t)?Ze:zr)(t,Lo(e,3))},pr.flatMap=function(t,e){return Br(Zs(t,e),1)},pr.flatMapDeep=function(t,e){return Br(Zs(t,e),N)},pr.flatMapDepth=function(t,e,n){return n=n===o?1:qa(n),Br(Zs(t,e),n)},pr.flatten=ys,pr.flattenDeep=function(t){return null!=t&&t.length?Br(t,N):[]},pr.flattenDepth=function(t,e){return null!=t&&t.length?Br(t,e=e===o?1:qa(e)):[]},pr.flip=function(t){return To(t,A)},pr.flow=El,pr.flowRight=Sl,pr.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},pr.functions=function(t){return null==t?[]:Kr(t,il(t))},pr.functionsIn=function(t){return null==t?[]:Kr(t,ol(t))},pr.groupBy=Xs,pr.initial=function(t){return null!=t&&t.length?Oi(t,0,-1):[]},pr.intersection=bs,pr.intersectionBy=ws,pr.intersectionWith=xs,pr.invert=el,pr.invertBy=nl,pr.invokeMap=Gs,pr.iteratee=Dl,pr.keyBy=Ks,pr.keys=il,pr.keysIn=ol,pr.map=Zs,pr.mapKeys=function(t,e){var n={};return e=Lo(e,3),Xr(t,function(t,r,i){jr(n,e(t,r,i),t)}),n},pr.mapValues=function(t,e){var n={};return e=Lo(e,3),Xr(t,function(t,r,i){jr(n,r,e(t,r,i))}),n},pr.matches=function(t){return pi(Rr(t,d))},pr.matchesProperty=function(t,e){return hi(t,Rr(e,d))},pr.memoize=aa,pr.merge=sl,pr.mergeWith=al,pr.method=jl,pr.methodOf=Nl,pr.mixin=Il,pr.negate=la,pr.nthArg=function(t){return t=qa(t),Ci(function(e){return gi(e,t)})},pr.omit=ll,pr.omitBy=function(t,e){return cl(t,la(Lo(e)))},pr.once=function(t){return ea(2,t)},pr.orderBy=function(t,e,n,r){return null==t?[]:(ma(e)||(e=null==e?[]:[e]),ma(n=r?o:n)||(n=null==n?[]:[n]),mi(t,e,n))},pr.over=Ll,pr.overArgs=ua,pr.overEvery=Pl,pr.overSome=Fl,pr.partial=ca,pr.partialRight=fa,pr.partition=Js,pr.pick=ul,pr.pickBy=cl,pr.property=Ml,pr.propertyOf=function(t){return function(e){return null==t?o:Zr(t,e)}},pr.pull=$s,pr.pullAll=Ts,pr.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?_i(t,e,Lo(n,2)):t},pr.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?_i(t,e,o,n):t},pr.pullAt=As,pr.range=Ul,pr.rangeRight=ql,pr.rearg=da,pr.reject=function(t,e){return(ma(t)?Ze:zr)(t,la(Lo(e,3)))},pr.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=Lo(e,3);++r<o;){var s=t[r];e(s,r,t)&&(n.push(s),i.push(r))}return bi(t,i),n},pr.rest=function(t,e){if("function"!=typeof t)throw new ie(l);return Ci(t,e=e===o?e:qa(e))},pr.reverse=ks,pr.sampleSize=function(t,e,n){return e=(n?Xo(t,e,n):e===o)?1:qa(e),(ma(t)?Tr:Ti)(t,e)},pr.set=function(t,e,n){return null==t?t:Ai(t,e,n)},pr.setWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Ai(t,e,n,r)},pr.shuffle=function(t){return(ma(t)?Ar:Si)(t)},pr.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&Xo(t,e,n)?(e=0,n=r):(e=null==e?0:qa(e),n=n===o?r:qa(n)),Oi(t,e,n)):[]},pr.sortBy=Qs,pr.sortedUniq=function(t){return t&&t.length?Ii(t):[]},pr.sortedUniqBy=function(t,e){return t&&t.length?Ii(t,Lo(e,2)):[]},pr.split=function(t,e,n){return n&&"number"!=typeof n&&Xo(t,e,n)&&(e=n=o),(n=n===o?P:n>>>0)?(t=Wa(t))&&("string"==typeof e||null!=e&&!ja(e))&&!(e=Li(e))&&Tn(t)?Gi(jn(t),0,n):t.split(e,n):[]},pr.spread=function(t,e){if("function"!=typeof t)throw new ie(l);return e=null==e?0:Wn(qa(e),0),Ci(function(n){var r=n[e],i=Gi(n,0,e);return r&&tn(i,r),We(t,this,i)})},pr.tail=function(t){var e=null==t?0:t.length;return e?Oi(t,1,e):[]},pr.take=function(t,e,n){return t&&t.length?Oi(t,0,(e=n||e===o?1:qa(e))<0?0:e):[]},pr.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Oi(t,(e=r-(e=n||e===o?1:qa(e)))<0?0:e,r):[]},pr.takeRightWhile=function(t,e){return t&&t.length?Ui(t,Lo(e,3),!1,!0):[]},pr.takeWhile=function(t,e){return t&&t.length?Ui(t,Lo(e,3)):[]},pr.tap=function(t,e){return e(t),t},pr.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new ie(l);return ka(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ia(t,e,{leading:r,maxWait:e,trailing:i})},pr.thru=Us,pr.toArray=Ma,pr.toPairs=fl,pr.toPairsIn=dl,pr.toPath=function(t){return ma(t)?Ye(t,cs):Ra(t)?[t]:no(us(Wa(t)))},pr.toPlainObject=Ba,pr.transform=function(t,e,n){var r=ma(t),i=r||wa(t)||La(t);if(e=Lo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:ka(t)&&$a(o)?hr(De(t)):{}}return(i?Xe:Xr)(t,function(t,r,i){return e(n,t,r,i)}),n},pr.unary=function(t){return ta(t,1)},pr.union=Es,pr.unionBy=Ss,pr.unionWith=Os,pr.uniq=function(t){return t&&t.length?Pi(t):[]},pr.uniqBy=function(t,e){return t&&t.length?Pi(t,Lo(e,2)):[]},pr.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?Pi(t,o,e):[]},pr.unset=function(t,e){return null==t||Fi(t,e)},pr.unzip=Ds,pr.unzipWith=js,pr.update=function(t,e,n){return null==t?t:Mi(t,e,Wi(n))},pr.updateWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Mi(t,e,Wi(n),r)},pr.values=pl,pr.valuesIn=function(t){return null==t?[]:yn(t,ol(t))},pr.without=Ns,pr.words=$l,pr.wrap=function(t,e){return ca(Wi(e),t)},pr.xor=Is,pr.xorBy=Rs,pr.xorWith=Ls,pr.zip=Ps,pr.zipObject=function(t,e){return zi(t||[],e||[],Er)},pr.zipObjectDeep=function(t,e){return zi(t||[],e||[],Ai)},pr.zipWith=Fs,pr.entries=fl,pr.entriesIn=dl,pr.extend=Xa,pr.extendWith=Ga,Il(pr,pr),pr.add=Bl,pr.attempt=Tl,pr.camelCase=hl,pr.capitalize=vl,pr.ceil=Wl,pr.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=za(n))==n?n:0),e!==o&&(e=(e=za(e))==e?e:0),Ir(za(t),e,n)},pr.clone=function(t){return Rr(t,h)},pr.cloneDeep=function(t){return Rr(t,d|h)},pr.cloneDeepWith=function(t,e){return Rr(t,d|h,e="function"==typeof e?e:o)},pr.cloneWith=function(t,e){return Rr(t,h,e="function"==typeof e?e:o)},pr.conformsTo=function(t,e){return null==e||Lr(t,e,il(e))},pr.deburr=gl,pr.defaultTo=function(t,e){return null==t||t!=t?e:t},pr.divide=Vl,pr.endsWith=function(t,e,n){t=Wa(t),e=Li(e);var r=t.length,i=n=n===o?r:Ir(qa(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},pr.eq=pa,pr.escape=function(t){return(t=Wa(t))&&Tt.test(t)?t.replace(Ct,Cn):t},pr.escapeRegExp=function(t){return(t=Wa(t))&&Nt.test(t)?t.replace(jt,"\\$&"):t},pr.every=function(t,e,n){var r=ma(t)?Ke:qr;return n&&Xo(t,e,n)&&(e=o),r(t,Lo(e,3))},pr.find=zs,pr.findIndex=gs,pr.findKey=function(t,e){return sn(t,Lo(e,3),Xr)},pr.findLast=Bs,pr.findLastIndex=ms,pr.findLastKey=function(t,e){return sn(t,Lo(e,3),Gr)},pr.floor=Xl,pr.forEach=Ws,pr.forEachRight=Vs,pr.forIn=function(t,e){return null==t?t:Wr(t,Lo(e,3),ol)},pr.forInRight=function(t,e){return null==t?t:Vr(t,Lo(e,3),ol)},pr.forOwn=function(t,e){return t&&Xr(t,Lo(e,3))},pr.forOwnRight=function(t,e){return t&&Gr(t,Lo(e,3))},pr.get=Ya,pr.gt=ha,pr.gte=va,pr.has=function(t,e){return null!=t&&zo(t,e,ti)},pr.hasIn=tl,pr.head=_s,pr.identity=Ol,pr.includes=function(t,e,n,r){t=_a(t)?t:pl(t),n=n&&!r?qa(n):0;var i=t.length;return n<0&&(n=Wn(i+n,0)),Ia(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&ln(t,e,n)>-1},pr.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:qa(n);return i<0&&(i=Wn(r+i,0)),ln(t,e,i)},pr.inRange=function(t,e,n){return e=Ua(e),n===o?(n=e,e=0):n=Ua(n),function(t,e,n){return t>=Vn(e,n)&&t<Wn(e,n)}(t=za(t),e,n)},pr.invoke=rl,pr.isArguments=ga,pr.isArray=ma,pr.isArrayBuffer=ya,pr.isArrayLike=_a,pr.isArrayLikeObject=ba,pr.isBoolean=function(t){return!0===t||!1===t||Ea(t)&&Qr(t)==B},pr.isBuffer=wa,pr.isDate=xa,pr.isElement=function(t){return Ea(t)&&1===t.nodeType&&!Da(t)},pr.isEmpty=function(t){if(null==t)return!0;if(_a(t)&&(ma(t)||"string"==typeof t||"function"==typeof t.splice||wa(t)||La(t)||ga(t)))return!t.length;var e=Ho(t);if(e==Z||e==nt)return!t.size;if(Jo(t))return!ui(t).length;for(var n in t)if(ce.call(t,n))return!1;return!0},pr.isEqual=function(t,e){return oi(t,e)},pr.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:o)?n(t,e):o;return r===o?oi(t,e,o,n):!!r},pr.isError=Ca,pr.isFinite=function(t){return"number"==typeof t&&Hn(t)},pr.isFunction=$a,pr.isInteger=Ta,pr.isLength=Aa,pr.isMap=Sa,pr.isMatch=function(t,e){return t===e||si(t,e,Fo(e))},pr.isMatchWith=function(t,e,n){return n="function"==typeof n?n:o,si(t,e,Fo(e),n)},pr.isNaN=function(t){return Oa(t)&&t!=+t},pr.isNative=function(t){if(Zo(t))throw new Qt(a);return ai(t)},pr.isNil=function(t){return null==t},pr.isNull=function(t){return null===t},pr.isNumber=Oa,pr.isObject=ka,pr.isObjectLike=Ea,pr.isPlainObject=Da,pr.isRegExp=ja,pr.isSafeInteger=function(t){return Ta(t)&&t>=-I&&t<=I},pr.isSet=Na,pr.isString=Ia,pr.isSymbol=Ra,pr.isTypedArray=La,pr.isUndefined=function(t){return t===o},pr.isWeakMap=function(t){return Ea(t)&&Ho(t)==st},pr.isWeakSet=function(t){return Ea(t)&&Qr(t)==at},pr.join=function(t,e){return null==t?"":zn.call(t,e)},pr.kebabCase=ml,pr.last=Cs,pr.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=qa(n))<0?Wn(r+i,0):Vn(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):an(t,cn,i,!0)},pr.lowerCase=yl,pr.lowerFirst=_l,pr.lt=Pa,pr.lte=Fa,pr.max=function(t){return t&&t.length?Hr(t,Ol,Yr):o},pr.maxBy=function(t,e){return t&&t.length?Hr(t,Lo(e,2),Yr):o},pr.mean=function(t){return fn(t,Ol)},pr.meanBy=function(t,e){return fn(t,Lo(e,2))},pr.min=function(t){return t&&t.length?Hr(t,Ol,fi):o},pr.minBy=function(t,e){return t&&t.length?Hr(t,Lo(e,2),fi):o},pr.stubArray=Hl,pr.stubFalse=zl,pr.stubObject=function(){return{}},pr.stubString=function(){return""},pr.stubTrue=function(){return!0},pr.multiply=Kl,pr.nth=function(t,e){return t&&t.length?gi(t,qa(e)):o},pr.noConflict=function(){return Ne._===this&&(Ne._=ve),this},pr.noop=Rl,pr.now=Ys,pr.pad=function(t,e,n){t=Wa(t);var r=(e=qa(e))?Dn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return yo(Mn(i),n)+t+yo(Fn(i),n)},pr.padEnd=function(t,e,n){t=Wa(t);var r=(e=qa(e))?Dn(t):0;return e&&r<e?t+yo(e-r,n):t},pr.padStart=function(t,e,n){t=Wa(t);var r=(e=qa(e))?Dn(t):0;return e&&r<e?yo(e-r,n)+t:t},pr.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Gn(Wa(t).replace(Rt,""),e||0)},pr.random=function(t,e,n){if(n&&"boolean"!=typeof n&&Xo(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Ua(t),e===o?(e=t,t=0):e=Ua(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Kn();return Vn(t+i*(e-t+Se("1e-"+((i+"").length-1))),e)}return wi(t,e)},pr.reduce=function(t,e,n){var r=ma(t)?en:hn,i=arguments.length<3;return r(t,Lo(e,4),n,i,Mr)},pr.reduceRight=function(t,e,n){var r=ma(t)?nn:hn,i=arguments.length<3;return r(t,Lo(e,4),n,i,Ur)},pr.repeat=function(t,e,n){return e=(n?Xo(t,e,n):e===o)?1:qa(e),xi(Wa(t),e)},pr.replace=function(){var t=arguments,e=Wa(t[0]);return t.length<3?e:e.replace(t[1],t[2])},pr.result=function(t,e,n){var r=-1,i=(e=Vi(e,t)).length;for(i||(i=1,t=o);++r<i;){var s=null==t?o:t[cs(e[r])];s===o&&(r=i,s=n),t=$a(s)?s.call(t):s}return t},pr.round=Zl,pr.runInContext=t,pr.sample=function(t){return(ma(t)?$r:$i)(t)},pr.size=function(t){if(null==t)return 0;if(_a(t))return Ia(t)?Dn(t):t.length;var e=Ho(t);return e==Z||e==nt?t.size:ui(t).length},pr.snakeCase=bl,pr.some=function(t,e,n){var r=ma(t)?rn:Di;return n&&Xo(t,e,n)&&(e=o),r(t,Lo(e,3))},pr.sortedIndex=function(t,e){return ji(t,e)},pr.sortedIndexBy=function(t,e,n){return Ni(t,e,Lo(n,2))},pr.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=ji(t,e);if(r<n&&pa(t[r],e))return r}return-1},pr.sortedLastIndex=function(t,e){return ji(t,e,!0)},pr.sortedLastIndexBy=function(t,e,n){return Ni(t,e,Lo(n,2),!0)},pr.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ji(t,e,!0)-1;if(pa(t[n],e))return n}return-1},pr.startCase=wl,pr.startsWith=function(t,e,n){return t=Wa(t),n=null==n?0:Ir(qa(n),0,t.length),e=Li(e),t.slice(n,n+e.length)==e},pr.subtract=Jl,pr.sum=function(t){return t&&t.length?vn(t,Ol):0},pr.sumBy=function(t,e){return t&&t.length?vn(t,Lo(e,2)):0},pr.template=function(t,e,n){var r=pr.templateSettings;n&&Xo(t,e,n)&&(e=o),t=Wa(t),e=Ga({},e,r,Ao);var i,s,a=Ga({},e.imports,r.imports,Ao),l=il(a),u=yn(a,l),c=0,f=e.interpolate||Zt,d="__p += '",p=ne((e.escape||Zt).source+"|"+f.source+"|"+(f===Et?Ht:Zt).source+"|"+(e.evaluate||Zt).source+"|$","g"),h="//# sourceURL="+(ce.call(e,"sourceURL")?(e.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++Te+"]")+"\n";t.replace(p,function(e,n,r,o,a,l){return r||(r=o),d+=t.slice(c,l).replace(Jt,$n),n&&(i=!0,d+="' +\n__e("+n+") +\n'"),a&&(s=!0,d+="';\n"+a+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+e.length,e}),d+="';\n";var v=ce.call(e,"variable")&&e.variable;v||(d="with (obj) {\n"+d+"\n}\n"),d=(s?d.replace(_t,""):d).replace(bt,"$1").replace(wt,"$1;"),d="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var g=Tl(function(){return Yt(l,h+"return "+d).apply(o,u)});if(g.source=d,Ca(g))throw g;return g},pr.times=function(t,e){if((t=qa(t))<1||t>I)return[];var n=P,r=Vn(t,P);e=Lo(e),t-=P;for(var i=gn(r,e);++n<t;)e(n);return i},pr.toFinite=Ua,pr.toInteger=qa,pr.toLength=Ha,pr.toLower=function(t){return Wa(t).toLowerCase()},pr.toNumber=za,pr.toSafeInteger=function(t){return t?Ir(qa(t),-I,I):0===t?t:0},pr.toString=Wa,pr.toUpper=function(t){return Wa(t).toUpperCase()},pr.trim=function(t,e,n){if((t=Wa(t))&&(n||e===o))return t.replace(It,"");if(!t||!(e=Li(e)))return t;var r=jn(t),i=jn(e);return Gi(r,bn(r,i),wn(r,i)+1).join("")},pr.trimEnd=function(t,e,n){if((t=Wa(t))&&(n||e===o))return t.replace(Lt,"");if(!t||!(e=Li(e)))return t;var r=jn(t);return Gi(r,0,wn(r,jn(e))+1).join("")},pr.trimStart=function(t,e,n){if((t=Wa(t))&&(n||e===o))return t.replace(Rt,"");if(!t||!(e=Li(e)))return t;var r=jn(t);return Gi(r,bn(r,jn(e))).join("")},pr.truncate=function(t,e){var n=k,r=E;if(ka(e)){var i="separator"in e?e.separator:i;n="length"in e?qa(e.length):n,r="omission"in e?Li(e.omission):r}var s=(t=Wa(t)).length;if(Tn(t)){var a=jn(t);s=a.length}if(n>=s)return t;var l=n-Dn(r);if(l<1)return r;var u=a?Gi(a,0,l).join(""):t.slice(0,l);if(i===o)return u+r;if(a&&(l+=u.length-l),ja(i)){if(t.slice(l).search(i)){var c,f=u;for(i.global||(i=ne(i.source,Wa(zt.exec(i))+"g")),i.lastIndex=0;c=i.exec(f);)var d=c.index;u=u.slice(0,d===o?l:d)}}else if(t.indexOf(Li(i),l)!=l){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r},pr.unescape=function(t){return(t=Wa(t))&&$t.test(t)?t.replace(xt,Nn):t},pr.uniqueId=function(t){var e=++fe;return Wa(t)+e},pr.upperCase=xl,pr.upperFirst=Cl,pr.each=Ws,pr.eachRight=Vs,pr.first=_s,Il(pr,(Gl={},Xr(pr,function(t,e){ce.call(pr.prototype,e)||(Gl[e]=t)}),Gl),{chain:!1}),pr.VERSION="4.17.15",Xe(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){pr[t].placeholder=pr}),Xe(["drop","take"],function(t,e){mr.prototype[t]=function(n){n=n===o?1:Wn(qa(n),0);var r=this.__filtered__&&!e?new mr(this):this.clone();return r.__filtered__?r.__takeCount__=Vn(n,r.__takeCount__):r.__views__.push({size:Vn(n,P),type:t+(r.__dir__<0?"Right":"")}),r},mr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Xe(["filter","map","takeWhile"],function(t,e){var n=e+1,r=n==D||3==n;mr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Lo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Xe(["head","last"],function(t,e){var n="take"+(e?"Right":"");mr.prototype[t]=function(){return this[n](1).value()[0]}}),Xe(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");mr.prototype[t]=function(){return this.__filtered__?new mr(this):this[n](1)}}),mr.prototype.compact=function(){return this.filter(Ol)},mr.prototype.find=function(t){return this.filter(t).head()},mr.prototype.findLast=function(t){return this.reverse().find(t)},mr.prototype.invokeMap=Ci(function(t,e){return"function"==typeof t?new mr(this):this.map(function(n){return ri(n,t,e)})}),mr.prototype.reject=function(t){return this.filter(la(Lo(t)))},mr.prototype.slice=function(t,e){t=qa(t);var n=this;return n.__filtered__&&(t>0||e<0)?new mr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=qa(e))<0?n.dropRight(-e):n.take(e-t)),n)},mr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},mr.prototype.toArray=function(){return this.take(P)},Xr(mr.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=pr[r?"take"+("last"==e?"Right":""):e],s=r||/^find/.test(e);i&&(pr.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,l=e instanceof mr,u=a[0],c=l||ma(e),f=function(t){var e=i.apply(pr,tn([t],a));return r&&d?e[0]:e};c&&n&&"function"==typeof u&&1!=u.length&&(l=c=!1);var d=this.__chain__,p=!!this.__actions__.length,h=s&&!d,v=l&&!p;if(!s&&c){e=v?e:new mr(this);var g=t.apply(e,a);return g.__actions__.push({func:Us,args:[f],thisArg:o}),new gr(g,d)}return h&&v?t.apply(this,a):(g=this.thru(f),h?r?g.value()[0]:g.value():g)})}),Xe(["pop","push","shift","sort","splice","unshift"],function(t){var e=oe[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);pr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(ma(i)?i:[],t)}return this[n](function(n){return e.apply(ma(n)?n:[],t)})}}),Xr(mr.prototype,function(t,e){var n=pr[e];if(n){var r=n.name+"";ce.call(ir,r)||(ir[r]=[]),ir[r].push({name:e,func:n})}}),ir[ho(o,y).name]=[{name:"wrapper",func:o}],mr.prototype.clone=function(){var t=new mr(this.__wrapped__);return t.__actions__=no(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=no(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=no(this.__views__),t},mr.prototype.reverse=function(){if(this.__filtered__){var t=new mr(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},mr.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=ma(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=Vn(e,t+s);break;case"takeRight":t=Wn(t,e-s)}}return{start:t,end:e}}(0,i,this.__views__),s=o.start,a=o.end,l=a-s,u=r?a:s-1,c=this.__iteratees__,f=c.length,d=0,p=Vn(l,this.__takeCount__);if(!n||!r&&i==l&&p==l)return qi(t,this.__actions__);var h=[];t:for(;l--&&d<p;){for(var v=-1,g=t[u+=e];++v<f;){var m=c[v],y=m.iteratee,_=m.type,b=y(g);if(_==j)g=b;else if(!b){if(_==D)continue t;break t}}h[d++]=g}return h},pr.prototype.at=qs,pr.prototype.chain=function(){return Ms(this)},pr.prototype.commit=function(){return new gr(this.value(),this.__chain__)},pr.prototype.next=function(){this.__values__===o&&(this.__values__=Ma(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},pr.prototype.plant=function(t){for(var e,n=this;n instanceof vr;){var r=ds(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},pr.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof mr){var e=t;return this.__actions__.length&&(e=new mr(this)),(e=e.reverse()).__actions__.push({func:Us,args:[ks],thisArg:o}),new gr(e,this.__chain__)}return this.thru(ks)},pr.prototype.toJSON=pr.prototype.valueOf=pr.prototype.value=function(){return qi(this.__wrapped__,this.__actions__)},pr.prototype.first=pr.prototype.head,Fe&&(pr.prototype[Fe]=function(){return this}),pr}();Ne._=In,(i=function(){return In}.call(e,n,e,r))===o||(r.exports=i)}).call(this)}).call(e,n("DuR2"),n("3IRH")(t))},NYlw:function(t,e,n){var r=n("VU/8")(n("5F58"),null,!1,null,null,null);t.exports=r.exports},P4DF:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"",""])},Pq8s:function(t,e){},TNGo:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("hv7s"),e.default={props:["options","value"],mounted:function(){var t=this;$(this.$el).select2({data:this.options}).on("change",function(){t.$emit("input",this.value)}).val(this.value).trigger("change")},watch:{value:function(t){$(this.$el).val(t)},options:function(t){var e=this;$(this.$el).select2("destroy").empty().select2({data:t}).on("change",function(){e.$emit("input",this.value)}).val(this.value).trigger("change")},destroyed:function(){$(this.$el).off().select2("destroy")}}}},UZ9c:function(t,e,n){var r,i,o,s;s=function(t){return t.ui=t.ui||{},t.ui.version="1.12.1"},i=[n("7t+N")],void 0===(o="function"==typeof(r=s)?r.apply(e,i):r)||(t.exports=o)},"VU/8":function(t,e){t.exports=function(t,e,n,r,i,o){var s,a=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(s=t,a=t.default);var u,c="function"==typeof a?a.options:a;if(e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId=i),o?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=u):r&&(u=r),u){var f=c.functional,d=f?c.render:c.beforeCreate;f?(c._injectStyles=u,c.render=function(t,e){return u.call(e),d(t,e)}):c.beforeCreate=d?[].concat(d,u):[u]}return{esModule:s,exports:a,options:c}}},WM06:function(t,e){},WRGp:function(t,e,n){window._=n("M4fF"),window.$=window.jQuery=n("7t+N"),n("z1kw"),jQuery.fn.uitooltip=jQuery.fn.tooltip,n("hSCs"),window.Vue=n("I3G/"),window.eventHub=new Vue,n("8+8L"),Vue.http.interceptors.push(function(t,e){t.headers.set("X-CSRF-TOKEN",Laravel.csrfToken),e()})},XDdR:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-7193ece9]{cursor:pointer}.m-b-none[data-v-7193ece9]{margin-bottom:0}",""])},YDmc:function(t,e,n){var r=n("VU/8")(n("TNGo"),n("0DKT"),!1,function(t){n("rqPf")},"data-v-09a38dce",null);t.exports=r.exports},a5IG:function(t,e){},aKHO:function(t,e){function n(t){if(t.loading)return'<i class="fa fa-spinner fa-spin" aria-hidden="true"></i> Loading...';var e="<div class='clearfix'>";return e+="<div class='pull-left' style='padding-right: 10px;'>",t.image?e+="<div style='width: 30px;'><img src='"+t.image+"' alt='"+t.tex+"' style='max-height: 20px; max-width: 30px;'></div>":e+="<div style='height: 20px; width: 30px;'></div>",e+="</div><div>"+t.text+"</div>",e+="</div>"}function r(t){return t.text.replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}$(function(){var t,e;0==$("#createModal").length&&$("body").append('<div class="modal fade" id="createModal"></div>\x3c!-- /.modal --\x3e'),$("#createModal").on("show.bs.modal",function(i){var o=$(i.relatedTarget);o.data("dependency"),t=o.data("select"),e=o.data("refresh"),$("#createModal").load(o.attr("href"),function(){$("#createModal").find("select.select2").select2(),$(".js-data-ajax").each(function(t,e){var i=$(e),o=i.data("endpoint");i.data("select");i.select2({ajax:{url:Ziggy.baseUrl+"api/v1/"+o+"/selectlist",dataType:"json",delay:250,headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:function(t){var e={search:t.term,page:t.page||1,assetStatusType:i.data("asset-status-type")};return e},processResults:function(t,e){return e.page=e.page||1,{results:t.items,pagination:{more:"true"}}},cache:!0},escapeMarkup:function(t){return t},templateResult:n,templateSelection:r})})})}),$("#createModal").on("click","#modal-save",function(){$.ajax({type:"POST",url:$(".modal-body form").attr("action"),headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:$(".modal-body form").serialize(),success:function(n){if("error"==n.status){var r="";for(var i in n.messages)r+="<li>Problem(s) with field <i><strong>"+i+"</strong></i>: "+n.messages[i];return $("#modal_error_msg").html(r).show(),!1}var o=n.payload.id,s=n.payload.name||n.payload.first_name+" "+n.payload.last_name;if(!o||!s)return console.error("Could not find resulting name or ID from modal-create. Name: "+s+", id: "+o),!1;$("#createModal").modal("hide"),$("#createModal").html("");var a=$("#"+e);a.length>0&&a.bootstrapTable("refresh");var l=document.getElementById(t);if(!l)return!1;l.options[l.length]=new Option(s,o),l.selectedIndex=l.length-1,$(l).trigger("change"),window.fetchCustomFields&&fetchCustomFields()},error:function(t){msg=t.responseJSON.messages||t.responseJSON.error,$("#modal_error_msg").html("Server Error: "+msg).show()}})})})},b7rt:function(t,e,n){var r=n("VU/8")(n("JHru"),n("bkb8"),!1,function(t){n("ct/M")},"data-v-473a48c2",null);t.exports=r.exports},bkb8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"col-md-12",class:t.alertType},[n("div",{staticClass:"alert",class:t.alertClassName},[n("button",{staticClass:"close",attrs:{type:"button"},on:{click:t.hideEvent}},[t._v("×")]),t._v(" "),n("i",{directives:[{name:"show",rawName:"v-show",value:"success"==t.alertType,expression:"alertType == 'success'"}],staticClass:"fa fa-check faa-pulse animated",attrs:{"aria-hidden":"true"}}),t._v(" "),n("strong",[t._v(t._s(t.title)+" ")]),t._v(" "),t._t("default")],2)])},staticRenderFns:[]}},"ct/M":function(t,e,n){var r=n("P4DF");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("77b67673",r,!0,{})},eOaq:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["fieldsetId","modelId","previousInput"],data:function(){return{identifiers:{fieldset:null,model:null},elements:{fieldset:null,field:null},fields:null,show:!1,error:!1}},ready:function(){this.init()},mounted:function(){this.init()},methods:{init:function(){this.defaultValues=JSON.parse(this.previousInput),this.identifiers.fieldset=this.fieldsetId,this.identifiers.model=this.modelId,this.elements.fieldset=$(".js-fieldset-field"),this.elements.field=document.querySelector(".js-default-values-toggler"),this.elements.fieldset&&this.elements.field&&(this.addListeners(),this.getFields())},addListeners:function(){var t=this;this.elements.field.addEventListener("change",function(e){return t.updateShow()}),this.elements.fieldset.on("change",function(e){return t.updateFields()})},getFields:function(){var t=this;if(!this.identifiers.fieldset)return this.fields=[];this.$http.get(this.getUrl()).then(function(t){return t.json()}).then(function(e){return t.checkResponseForError(e)}).then(function(e){return t.fields=e.rows}).then(function(){return t.determineIfShouldShow()})},getValue:function(t){return t.default_value?t.default_value:null!=this.defaultValues?this.defaultValues[t.id.toString()]:""},getUrl:function(){return this.identifiers.model?route("api.fieldsets.fields-with-default-value",{fieldset:this.identifiers.fieldset,model:this.identifiers.model}):route("api.fieldsets.fields",{fieldset:this.identifiers.fieldset})},checkResponseForError:function(t){return this.error="error"==t.status,t},updateShow:function(){this.identifiers.fieldset&&this.elements.field&&(this.show=this.elements.field.checked)},determineIfShouldShow:function(){this.elements.field.checked=this.elements.field.checked||this.show||this.fields.reduce(function(t,e){return t||e.default_value},!1),this.updateShow()},updateFields:function(){this.identifiers.fieldset=!!this.elements.fieldset[0].value&&parseInt(this.elements.fieldset[0].value),this.getFields()}}}},f5J3:function(t,e){},g9VR:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"",""])},hLk5:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".select2-dropdown[data-v-09a38dce]{z-index:9999}",""])},hSCs:function(t,e){"format global";"deps jquery";"exports $";if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,r=this;t(this).one("bsTransitionEnd",function(){n=!0});return setTimeout(function(){n||t(r).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.3.4",n.TRANSITION_DURATION=150,n.prototype.close=function(e){var r=t(this),i=r.attr("data-target");i||(i=(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,""));var o=t(i);function s(){o.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),o.length||(o=r.closest(".alert")),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",s).emulateTransitionEnd(n.TRANSITION_DURATION):s())};var r=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var r=t(this),i=r.data("bs.alert");i||r.data("bs.alert",i=new n(this)),"string"==typeof e&&i[e].call(r)})},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),function(t){"use strict";var e=function(n,r){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,r),this.isLoading=!1};function n(n){return this.each(function(){var r=t(this),i=r.data("bs.button"),o="object"==typeof n&&n;i||r.data("bs.button",i=new e(this,o)),"toggle"==n?i.toggle():n&&i.setState(n)})}e.VERSION="3.3.4",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var n="disabled",r=this.$element,i=r.is("input")?"val":"html",o=r.data();e+="Text",null==o.resetText&&r.data("resetText",r[i]()),setTimeout(t.proxy(function(){r[i](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,r.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n))},this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};var r=t.fn.button;t.fn.button=n,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=r,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var r=t(e.target);r.hasClass("btn")||(r=r.closest(".btn")),n.call(r,"toggle"),e.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";var e=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function n(n){return this.each(function(){var r=t(this),i=r.data("bs.carousel"),o=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n),s="string"==typeof n?n:o.slide;i||r.data("bs.carousel",i=new e(this,o)),"number"==typeof n?i.to(n):s?i[s]():o.interval&&i.pause().cycle()})}e.VERSION="3.3.4",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var r=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(r)},e.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(n,r){var i=this.$element.find(".item.active"),o=r||this.getItemForDirection(n,i),s=this.interval,a="next"==n?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var u=o[0],c=t.Event("slide.bs.carousel",{relatedTarget:u,direction:a});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var f=t(this.$indicators.children()[this.getItemIndex(o)]);f&&f.addClass("active")}var d=t.Event("slid.bs.carousel",{relatedTarget:u,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(n),o[0].offsetWidth,i.addClass(a),o.addClass(a),i.one("bsTransitionEnd",function(){o.removeClass([n,a].join(" ")).addClass("active"),i.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(d)},0)}).emulateTransitionEnd(e.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(d)),s&&this.cycle(),this}};var r=t.fn.carousel;t.fn.carousel=n,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=r,this};var i=function(e){var r,i=t(this),o=t(i.attr("data-target")||(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var s=t.extend({},o.data(),i.data()),a=i.attr("data-slide-to");a&&(s.interval=!1),n.call(o,s),a&&o.data("bs.carousel").to(a),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",i).on("click.bs.carousel.data-api","[data-slide-to]",i),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),function(t){"use strict";var e=function(n,r){this.$element=t(n),this.options=t.extend({},e.DEFAULTS,r),this.$trigger=t('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(e){var n,r=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(r)}function r(n){return this.each(function(){var r=t(this),i=r.data("bs.collapse"),o=t.extend({},e.DEFAULTS,r.data(),"object"==typeof n&&n);!i&&o.toggle&&/show|hide/.test(n)&&(o.toggle=!1),i||r.data("bs.collapse",i=new e(this,o)),"string"==typeof n&&i[n]()})}e.VERSION="3.3.4",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(n=i.data("bs.collapse"))&&n.transitioning)){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){i&&i.length&&(r.call(i,"hide"),n||i.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[s](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=t.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var r=this.dimension();this.$element[r](this.$element[r]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return i.call(this);this.$element[r](0).one("bsTransitionEnd",t.proxy(i,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(e,r){var i=t(r);this.addAriaAndCollapsedClass(n(i),i)},this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var i=t.fn.collapse;t.fn.collapse=r,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var i=t(this);i.attr("data-target")||e.preventDefault();var o=n(i),s=o.data("bs.collapse")?"toggle":i.data();r.call(o,s)})}(jQuery),function(t){"use strict";var e=".dropdown-backdrop",n='[data-toggle="dropdown"]',r=function(e){t(e).on("click.bs.dropdown",this.toggle)};function i(r){r&&3===r.which||(t(e).remove(),t(n).each(function(){var e=t(this),n=o(e),i={relatedTarget:this};n.hasClass("open")&&(n.trigger(r=t.Event("hide.bs.dropdown",i)),r.isDefaultPrevented()||(e.attr("aria-expanded","false"),n.removeClass("open").trigger("hidden.bs.dropdown",i)))}))}function o(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&t(n);return r&&r.length?r:e.parent()}r.VERSION="3.3.4",r.prototype.toggle=function(e){var n=t(this);if(!n.is(".disabled, :disabled")){var r=o(n),s=r.hasClass("open");if(i(),!s){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",i);var a={relatedTarget:this};if(r.trigger(e=t.Event("show.bs.dropdown",a)),e.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger("shown.bs.dropdown",a)}return!1}},r.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var r=t(this);if(e.preventDefault(),e.stopPropagation(),!r.is(".disabled, :disabled")){var i=o(r),s=i.hasClass("open");if(!s&&27!=e.which||s&&27==e.which)return 27==e.which&&i.find(n).trigger("focus"),r.trigger("click");var a=" li:not(.disabled):visible a",l=i.find('[role="menu"]'+a+', [role="listbox"]'+a);if(l.length){var u=l.index(e.target);38==e.which&&u>0&&u--,40==e.which&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var s=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new r(this)),"string"==typeof e&&i[e].call(n)})},t.fn.dropdown.Constructor=r,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=s,this},t(document).on("click.bs.dropdown.data-api",i).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",n,r.prototype.toggle).on("keydown.bs.dropdown.data-api",n,r.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',r.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',r.prototype.keydown)}(jQuery),function(t){"use strict";var e=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function n(n,r){return this.each(function(){var i=t(this),o=i.data("bs.modal"),s=t.extend({},e.DEFAULTS,i.data(),"object"==typeof n&&n);o||i.data("bs.modal",o=new e(this,s)),"string"==typeof n?o[n](r):s.show&&o.show(r)})}e.VERSION="3.3.4",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(n){var r=this,i=t.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var i=t.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),i&&r.$element[0].offsetWidth,r.$element.addClass("in").attr("aria-hidden",!1),r.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:n});i?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(e.TRANSITION_DURATION):r.$element.trigger("focus").trigger(o)}))},e.prototype.hide=function(n){n&&n.preventDefault(),n=t.Event("hide.bs.modal"),this.$element.trigger(n),this.isShown&&!n.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(n){var r=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&i;if(this.$backdrop=t('<div class="modal-backdrop '+i+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!n)return;o?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):n()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){r.removeBackdrop(),n&&n()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):s()}else n&&n()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},e.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var r=t.fn.modal;t.fn.modal=n,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=r,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var r=t(this),i=r.attr("href"),o=t(r.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),s=o.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(i)&&i},o.data(),r.data());r.is("a")&&e.preventDefault(),o.one("show.bs.modal",function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})}),n.call(o,s,this)})}(jQuery),function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.init("tooltip",t,e)};e.VERSION="3.3.4",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,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,n,r){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(r),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 i=this.options.trigger.split(" "),o=i.length;o--;){var s=i[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={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,r){n[t]!=r&&(e[t]=r)}),e},e.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n&&n.$tip&&n.$tip.is(":visible"))n.hoverState="in";else{if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},e.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)},e.prototype.show=function(){var n=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var r=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!r)return;var i=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(),f=o[0].offsetWidth,d=o[0].offsetHeight;if(u){var p=a,h=this.options.container?t(this.options.container):this.$element.parent(),v=this.getPosition(h);a="bottom"==a&&c.bottom+d>v.bottom?"top":"top"==a&&c.top-d<v.top?"bottom":"right"==a&&c.right+f>v.width?"left":"left"==a&&c.left-f<v.left?"right":a,o.removeClass(p).addClass(a)}var g=this.getCalculatedOffset(a,c,f,d);this.applyPlacement(g,a);var m=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};t.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",m).emulateTransitionEnd(e.TRANSITION_DURATION):m()}},e.prototype.applyPlacement=function(e,n){var r=this.tip(),i=r[0].offsetWidth,o=r[0].offsetHeight,s=parseInt(r.css("margin-top"),10),a=parseInt(r.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(r[0],t.extend({using:function(t){r.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),r.addClass("in");var l=r[0].offsetWidth,u=r[0].offsetHeight;"top"==n&&u!=o&&(e.top=e.top+o-u);var c=this.getViewportAdjustedDelta(n,e,l,u);c.left?e.left+=c.left:e.top+=c.top;var f=/top|bottom/.test(n),d=f?2*c.left-i+l:2*c.top-o+u,p=f?"offsetWidth":"offsetHeight";r.offset(e),this.replaceArrow(d,r[0][p],f)},e.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(n){var r=this,i=t(this.$tip),o=t.Event("hide.bs."+this.type);function s(){"in"!=r.hoverState&&i.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),n&&n()}if(this.$element.trigger(o),!o.isDefaultPrevented())return i.removeClass("in"),t.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",s).emulateTransitionEnd(e.TRANSITION_DURATION):s(),this.hoverState=null,this},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var n=(e=e||this.$element)[0],r="BODY"==n.tagName,i=n.getBoundingClientRect();null==i.width&&(i=t.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var o=r?{top:0,left:0}:e.offset(),s={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=r?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},i,s,a,o)},e.prototype.getCalculatedOffset=function(t,e,n,r){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-r,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-r/2,left:e.left-n}:{top:e.top+e.height/2-r/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var o=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-o-s.scroll,l=e.top+o-s.scroll+r;a<s.top?i.top=s.top-a:l>s.top+s.height&&(i.top=s.top+s.height-l)}else{var u=e.left-o,c=e.left+o+n;u<s.left?i.left=s.left-u:c>s.width&&(i.left=s.left+s.width-c)}return i},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),n.tip().hasClass("in")?n.leave(n):n.enter(n)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var n=t.fn.tooltip;t.fn.tooltip=function(n){return this.each(function(){var r=t(this),i=r.data("bs.tooltip"),o="object"==typeof n&&n;!i&&/destroy|hide/.test(n)||(i||r.data("bs.tooltip",i=new e(this,o)),"string"==typeof n&&i[n]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=n,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.4",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each(function(){var r=t(this),i=r.data("bs.popover"),o="object"==typeof n&&n;!i&&/destroy|hide/.test(n)||(i||r.data("bs.popover",i=new e(this,o)),"string"==typeof n&&i[n]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),function(t){"use strict";function e(n,r){this.$body=t(document.body),this.$scrollElement=t(n).is(document.body)?t(window):t(n),this.options=t.extend({},e.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var r=t(this),i=r.data("bs.scrollspy"),o="object"==typeof n&&n;i||r.data("bs.scrollspy",i=new e(this,o)),"string"==typeof n&&i[n]()})}e.VERSION="3.3.4",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),i=e.data("target")||e.attr("href"),o=/^#./.test(i)&&t(i);return o&&o.length&&o.is(":visible")&&[[o[n]().top+r,i]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,o=this.targets,s=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=r)return s!=(t=o[o.length-1])&&this.activate(t);if(s&&e<i[0])return this.activeTarget=null,this.clear();for(t=i.length;t--;)s!=o[t]&&e>=i[t]&&(void 0===i[t+1]||e<i[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',r=t(n).parents("li").addClass("active");r.parent(".dropdown-menu").length&&(r=r.closest("li.dropdown").addClass("active")),r.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=r,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),function(t){"use strict";var e=function(e){this.element=t(e)};function n(n){return this.each(function(){var r=t(this),i=r.data("bs.tab");i||r.data("bs.tab",i=new e(this)),"string"==typeof n&&i[n]()})}e.VERSION="3.3.4",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),r=e.data("target");if(r||(r=(r=e.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var i=n.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(o),e.trigger(s),!s.isDefaultPrevented()&&!o.isDefaultPrevented()){var a=t(r);this.activate(e.closest("li"),n),this.activate(a,a.parent(),function(){i.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:i[0]})})}}},e.prototype.activate=function(n,r,i){var o=r.find("> .active"),s=i&&t.support.transition&&(o.length&&o.hasClass("fade")||!!r.find("> .fade").length);function a(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}o.length&&s?o.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),o.removeClass("in")};var r=t.fn.tab;t.fn.tab=n,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=r,this};var i=function(e){e.preventDefault(),n.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),function(t){"use strict";var e=function(n,r){this.options=t.extend({},e.DEFAULTS,r),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each(function(){var r=t(this),i=r.data("bs.affix"),o="object"==typeof n&&n;i||r.data("bs.affix",i=new e(this,o)),"string"==typeof n&&i[n]()})}e.VERSION="3.3.4",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,n,r){var i=this.$target.scrollTop(),o=this.$element.offset(),s=this.$target.height();if(null!=n&&"top"==this.affixed)return i<n&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=o.top)&&"bottom":!(i+s<=t-r)&&"bottom";var a=null==this.affixed,l=a?i:o.top;return null!=n&&i<=n?"top":null!=r&&l+(a?s:e)>=t-r&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),r=this.options.offset,i=r.top,o=r.bottom,s=t(document.body).height();"object"!=typeof r&&(o=i=r),"function"==typeof i&&(i=r.top(this.$element)),"function"==typeof o&&(o=r.bottom(this.$element));var a=this.getState(s,n,i,o);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-n-o})}};var r=t.fn.affix;t.fn.affix=n,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=r,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var e=t(this),r=e.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),n.call(e,r)})})}(jQuery)},hv7s:function(t,e,n){var r,i,o,s;s=function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var n,r,i;return e&&e.requirejs||(e?r=e:e={},function(t){var e,o,s,a,l={},u={},c={},f={},d=Object.prototype.hasOwnProperty,p=[].slice,h=/\.js$/;function v(t,e){return d.call(t,e)}function g(t,e){var n,r,i,o,s,a,l,u,f,d,p,v=e&&e.split("/"),g=c.map,m=g&&g["*"]||{};if(t){for(s=(t=t.split("/")).length-1,c.nodeIdCompat&&h.test(t[s])&&(t[s]=t[s].replace(h,"")),"."===t[0].charAt(0)&&v&&(t=v.slice(0,v.length-1).concat(t)),f=0;f<t.length;f++)if("."===(p=t[f]))t.splice(f,1),f-=1;else if(".."===p){if(0===f||1===f&&".."===t[2]||".."===t[f-1])continue;f>0&&(t.splice(f-1,2),f-=2)}t=t.join("/")}if((v||m)&&g){for(f=(n=t.split("/")).length;f>0;f-=1){if(r=n.slice(0,f).join("/"),v)for(d=v.length;d>0;d-=1)if((i=g[v.slice(0,d).join("/")])&&(i=i[r])){o=i,a=f;break}if(o)break;!l&&m&&m[r]&&(l=m[r],u=f)}!o&&l&&(o=l,a=u),o&&(n.splice(0,a,o),t=n.join("/"))}return t}function m(e,n){return function(){var r=p.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),o.apply(t,r.concat([e,n]))}}function y(t){return function(e){l[t]=e}}function _(n){if(v(u,n)){var r=u[n];delete u[n],f[n]=!0,e.apply(t,r)}if(!v(l,n)&&!v(f,n))throw new Error("No "+n);return l[n]}function b(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function w(t){return t?b(t):[]}s=function(t,e){var n,r,i=b(t),o=i[0],s=e[1];return t=i[1],o&&(n=_(o=g(o,s))),o?t=n&&n.normalize?n.normalize(t,(r=s,function(t){return g(t,r)})):g(t,s):(o=(i=b(t=g(t,s)))[0],t=i[1],o&&(n=_(o))),{f:o?o+"!"+t:t,n:t,pr:o,p:n}},a={require:function(t){return m(t)},exports:function(t){var e=l[t];return void 0!==e?e:l[t]={}},module:function(t){return{id:t,uri:"",exports:l[t],config:function(t){return function(){return c&&c.config&&c.config[t]||{}}}(t)}}},e=function(e,n,r,i){var o,c,d,p,h,g,b,x=[],C=typeof r;if(g=w(i=i||e),"undefined"===C||"function"===C){for(n=!n.length&&r.length?["require","exports","module"]:n,h=0;h<n.length;h+=1)if("require"===(c=(p=s(n[h],g)).f))x[h]=a.require(e);else if("exports"===c)x[h]=a.exports(e),b=!0;else if("module"===c)o=x[h]=a.module(e);else if(v(l,c)||v(u,c)||v(f,c))x[h]=_(c);else{if(!p.p)throw new Error(e+" missing "+c);p.p.load(p.n,m(i,!0),y(c),{}),x[h]=l[c]}d=r?r.apply(l[e],x):void 0,e&&(o&&o.exports!==t&&o.exports!==l[e]?l[e]=o.exports:d===t&&b||(l[e]=d))}else e&&(l[e]=r)},n=r=o=function(n,r,i,l,u){if("string"==typeof n)return a[n]?a[n](r):_(s(n,w(r)).f);if(!n.splice){if((c=n).deps&&o(c.deps,c.callback),!r)return;r.splice?(n=r,r=i,i=null):n=t}return r=r||function(){},"function"==typeof i&&(i=l,l=u),l?e(t,n,r,i):setTimeout(function(){e(t,n,r,i)},4),o},o.config=function(t){return o(t)},n._defined=l,(i=function(t,e,n){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(n=e,e=[]),v(l,t)||v(u,t)||(u[t]=[t,e,n])}).amd={jQuery:!0}}(),e.requirejs=n,e.require=r,e.define=i),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(t){var e={};function n(t){var e=t.prototype,n=[];for(var r in e){"function"==typeof e[r]&&("constructor"!==r&&n.push(r))}return n}e.Extend=function(t,e){var n={}.hasOwnProperty;function r(){this.constructor=t}for(var i in e)n.call(e,i)&&(t[i]=e[i]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},e.Decorate=function(t,e){var r=n(e),i=n(t);function o(){var n=Array.prototype.unshift,r=e.prototype.constructor.length,i=t.prototype.constructor;r>0&&(n.call(arguments,t.prototype.constructor),i=e.prototype.constructor),i.apply(this,arguments)}e.displayName=t.displayName,o.prototype=new function(){this.constructor=o};for(var s=0;s<i.length;s++){var a=i[s];o.prototype[a]=t.prototype[a]}for(var l=function(t){var n=function(){};t in o.prototype&&(n=o.prototype[t]);var r=e.prototype[t];return function(){return Array.prototype.unshift.call(arguments,n),r.apply(this,arguments)}},u=0;u<r.length;u++){var c=r[u];o.prototype[c]=l(c)}return o};var r=function(){this.listeners={}};r.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},r.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=t,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},r.prototype.invoke=function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].apply(this,e)},e.Observable=r,e.generateChars=function(t){for(var e="",n=0;n<t;n++){e+=Math.floor(36*Math.random()).toString(36)}return e},e.bind=function(t,e){return function(){t.apply(e,arguments)}},e._convertData=function(t){for(var e in t){var n=e.split("-"),r=t;if(1!==n.length){for(var i=0;i<n.length;i++){var o=n[i];(o=o.substring(0,1).toLowerCase()+o.substring(1))in r||(r[o]={}),i==n.length-1&&(r[o]=t[e]),r=r[o]}delete t[e]}}return t},e.hasScroll=function(e,n){var r=t(n),i=n.style.overflowX,o=n.style.overflowY;return(i!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===i||"scroll"===o||(r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth))},e.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},e.appendMany=function(e,n){if("1.7"===t.fn.jquery.substr(0,3)){var r=t();t.map(n,function(t){r=r.add(t)}),n=r}e.append(n)},e.__cache={};var i=0;return e.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++i),e=i.toString())),e},e.StoreData=function(t,n,r){var i=e.GetUniqueElementId(t);e.__cache[i]||(e.__cache[i]={}),e.__cache[i][n]=r},e.GetData=function(n,r){var i=e.GetUniqueElementId(n);return r?e.__cache[i]&&null!=e.__cache[i][r]?e.__cache[i][r]:t(n).data(r):e.__cache[i]},e.RemoveData=function(t){var n=e.GetUniqueElementId(t);null!=e.__cache[n]&&delete e.__cache[n],t.removeAttribute("data-select2-id")},e}),e.define("select2/results",["jquery","./utils"],function(t,e){function n(t,e,r){this.$element=t,this.data=r,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var r=t('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(e.message);r.append(n(i(e.args))),r[0].className+=" select2-results__message",this.$results.append(r)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var r=t.results[n],i=this.option(r);e.push(i)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current(function(r){var i=t.map(r,function(t){return t.id.toString()});n.$results.find(".select2-results__option[aria-selected]").each(function(){var n=t(this),r=e.GetData(this,"data"),o=""+r.id;null!=r.element&&r.element.selected||null==r.element&&t.inArray(o,i)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")})})},n.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},n=this.option(e);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var r=document.createElement("li");r.className="select2-results__option";var i={role:"option","aria-selected":"false"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var s in(null!=n.element&&o.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==n.id&&delete i["aria-selected"],null!=n._resultId&&(r.id=n._resultId),n.title&&(r.title=n.title),n.children&&(i.role="group",i["aria-label"]=n.text,delete i["aria-selected"]),i){var a=i[s];r.setAttribute(s,a)}if(n.children){var l=t(r),u=document.createElement("strong");u.className="select2-results__group";t(u);this.template(n,u);for(var c=[],f=0;f<n.children.length;f++){var d=n.children[f],p=this.option(d);c.push(p)}var h=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});h.append(c),l.append(u),l.append(h)}else this.template(n,r);return e.StoreData(r,"data",n),r},n.prototype.bind=function(n,r){var i=this,o=n.id+"-results";this.$results.attr("id",o),n.on("results:all",function(t){i.clear(),i.append(t.data),n.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),n.on("results:append",function(t){i.append(t.data),n.isOpen()&&i.setClasses()}),n.on("query",function(t){i.hideMessages(),i.showLoading(t)}),n.on("select",function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),n.on("unselect",function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),n.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),n.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),n.on("results:toggle",function(){var t=i.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),n.on("results:select",function(){var t=i.getHighlightedResults();if(0!==t.length){var n=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:n})}}),n.on("results:previous",function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t);if(!(n<=0)){var r=n-1;0===t.length&&(r=0);var o=e.eq(r);o.trigger("mouseenter");var s=i.$results.offset().top,a=o.offset().top,l=i.$results.scrollTop()+(a-s);0===r?i.$results.scrollTop(0):a-s<0&&i.$results.scrollTop(l)}}),n.on("results:next",function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var r=e.eq(n);r.trigger("mouseenter");var o=i.$results.offset().top+i.$results.outerHeight(!1),s=r.offset().top+r.outerHeight(!1),a=i.$results.scrollTop()+s-o;0===n?i.$results.scrollTop(0):s>o&&i.$results.scrollTop(a)}}),n.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),n.on("results:message",function(t){i.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-e+t.deltaY,r=t.deltaY>0&&e-t.deltaY<=0,o=t.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):o&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(n){var r=t(this),o=e.GetData(this,"data");"true"!==r.attr("aria-selected")?i.trigger("select",{originalEvent:n,data:o}):i.options.get("multiple")?i.trigger("unselect",{originalEvent:n,data:o}):i.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(n){var r=e.GetData(this,"data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:r,element:t(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),n=this.$results.offset().top,r=t.offset().top,i=this.$results.scrollTop()+(r-n),o=r-n;i-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(i)}},n.prototype.template=function(e,n){var r=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),o=r(e,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=i(o):t(n).append(o)},n}),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,n){function r(t,e){this.$element=t,this.options=e,r.__super__.constructor.call(this)}return e.Extend(r,e.Observable),r.prototype.render=function(){var n=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")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},r.prototype.bind=function(t,e){var r=this,i=t.id+"-results";this.container=t,this.$selection.on("focus",function(t){r.trigger("focus",t)}),this.$selection.on("blur",function(t){r._handleBlur(t)}),this.$selection.on("keydown",function(t){r.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){r.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){r.update(t.data)}),t.on("open",function(){r.$selection.attr("aria-expanded","true"),r.$selection.attr("aria-owns",i),r._attachCloseHandler(t)}),t.on("close",function(){r.$selection.attr("aria-expanded","false"),r.$selection.removeAttr("aria-activedescendant"),r.$selection.removeAttr("aria-owns"),r.$selection.trigger("focus"),r._detachCloseHandler(t)}),t.on("enable",function(){r.$selection.attr("tabindex",r._tabindex),r.$selection.attr("aria-disabled","false")}),t.on("disable",function(){r.$selection.attr("tabindex","-1"),r.$selection.attr("aria-disabled","true")})},r.prototype._handleBlur=function(e){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)},1)},r.prototype._attachCloseHandler=function(n){t(document.body).on("mousedown.select2."+n.id,function(n){var r=t(n.target).closest(".select2");t(".select2.select2-container--open").each(function(){this!=r[0]&&e.GetData(this,"element").select2("close")})})},r.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},r.prototype.position=function(t,e){e.find(".selection").append(t)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,n,r){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},i.prototype.bind=function(t,e){var n=this;i.__super__.bind.apply(this,arguments);var r=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",r),this.$selection.on("mousedown",function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},i.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t("<span></span>")},i.prototype.update=function(t){if(0!==t.length){var e=t[0],n=this.$selection.find(".select2-selection__rendered"),r=this.display(e,n);n.empty().append(r);var i=e.title||e.text;i?n.attr("title",i):n.removeAttr("title")}else this.clear()},i}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,n){function r(t,e){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,e),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},r.prototype.bind=function(e,i){var o=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){o.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!o.isDisabled()){var r=t(this).parent(),i=n.GetData(r[0],"data");o.trigger("unselect",{originalEvent:e,data:i})}})},r.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},r.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],r=0;r<t.length;r++){var i=t[r],o=this.selectionContainer(),s=this.display(i,o);o.append(s);var a=i.title||i.text;a&&o.attr("title",a),n.StoreData(o[0],"data",i),e.push(o)}var l=this.$selection.find(".select2-selection__rendered");n.appendMany(l,e)}},r}),e.define("select2/selection/placeholder",["../utils"],function(t){function e(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();return n.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||n)return t.call(this,e);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)},e}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(t,e,n){function r(){}return r.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){r._handleClear(t)}),e.on("keypress",function(t){r._handleKeyboardClear(t,e)})},r.prototype._handleClear=function(t,e){if(!this.isDisabled()){var r=this.$selection.find(".select2-selection__clear");if(0!==r.length){e.stopPropagation();var i=n.GetData(r[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var s={data:i};if(this.trigger("clear",s),s.prevented)this.$element.val(o);else{for(var a=0;a<i.length;a++)if(s={data:i[a]},this.trigger("unselect",s),s.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},r.prototype._handleKeyboardClear=function(t,n,r){r.isOpen()||n.which!=e.DELETE&&n.which!=e.BACKSPACE||this._handleClear(n)},r.prototype.update=function(e,r){if(e.call(this,r),!(this.$selection.find(".select2-selection__placeholder").length>0||0===r.length)){var i=this.options.get("translations").get("removeAllItems"),o=t('<span class="select2-selection__clear" title="'+i()+'">&times;</span>');n.StoreData(o[0],"data",r),this.$selection.find(".select2-selection__rendered").prepend(o)}},r}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,n){function r(t,e,n){t.call(this,e,n)}return r.prototype.render=function(e){var n=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var r=e.call(this);return this._transferTabIndex(),r},r.prototype.bind=function(t,r,i){var o=this,s=r.id+"-results";t.call(this,r,i),r.on("open",function(){o.$search.attr("aria-controls",s),o.$search.trigger("focus")}),r.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),r.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),r.on("disable",function(){o.$search.prop("disabled",!0)}),r.on("focus",function(t){o.$search.trigger("focus")}),r.on("results:focus",function(t){t.data._resultId?o.$search.attr("aria-activedescendant",t.data._resultId):o.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(t){o.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){o._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===n.BACKSPACE&&""===o.$search.val()){var r=o.$searchContainer.prev(".select2-selection__choice");if(r.length>0){var i=e.GetData(r[0],"data");o.searchRemoveChoice(i),t.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(t){o.$search.val()&&t.stopPropagation()});var a=document.documentMode,l=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){l?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(l&&"input"===t.type)o.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=n.SHIFT&&e!=n.CTRL&&e!=n.ALT&&e!=n.TAB&&o.handleSearch(t)}})},r.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},r.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},r.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},r.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},r.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";""!==this.$search.attr("placeholder")?t=this.$selection.find(".select2-selection__rendered").width():t=.75*(this.$search.val().length+1)+"em";this.$search.css("width",t)},r}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,n,r){var i=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];e.call(this,n,r),n.on("*",function(e,n){if(-1!==t.inArray(e,o)){n=n||{};var r=t.Event("select2:"+e,{params:n});i.$element.trigger(r),-1!==t.inArray(e,s)&&(n.prevented=r.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={},n.loadPath=function(t){if(!(t in n._cache)){var r=e(t);n._cache[t]=r}return new n(n._cache[t])},n}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),e.define("select2/data/base",["../utils"],function(t){function e(t,n){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,n){var r=e.id+"-result-";return r+=t.generateChars(4),null!=n.id?r+="-"+n.id.toString():r+="-"+t.generateChars(4),r},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,n){function r(t,e){this.$element=t,this.options=e,r.__super__.constructor.call(this)}return e.Extend(r,t),r.prototype.current=function(t){var e=[],r=this;this.$element.find(":selected").each(function(){var t=n(this),i=r.item(t);e.push(i)}),t(e)},r.prototype.select=function(t){var e=this;if(t.selected=!0,n(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(r){var i=[];(t=[t]).push.apply(t,r);for(var o=0;o<t.length;o++){var s=t[o].id;-1===n.inArray(s,i)&&i.push(s)}e.$element.val(i),e.$element.trigger("input").trigger("change")});else{var r=t.id;this.$element.val(r),this.$element.trigger("input").trigger("change")}},r.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,n(t.element).is("option"))return t.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(r){for(var i=[],o=0;o<r.length;o++){var s=r[o].id;s!==t.id&&-1===n.inArray(s,i)&&i.push(s)}e.$element.val(i),e.$element.trigger("input").trigger("change")})}},r.prototype.bind=function(t,e){var n=this;this.container=t,t.on("select",function(t){n.select(t.data)}),t.on("unselect",function(t){n.unselect(t.data)})},r.prototype.destroy=function(){this.$element.find("*").each(function(){e.RemoveData(this)})},r.prototype.query=function(t,e){var r=[],i=this;this.$element.children().each(function(){var e=n(this);if(e.is("option")||e.is("optgroup")){var o=i.item(e),s=i.matches(t,o);null!==s&&r.push(s)}}),e({results:r})},r.prototype.addOptions=function(t){e.appendMany(this.$element,t)},r.prototype.option=function(t){var r;t.children?(r=document.createElement("optgroup")).label=t.text:void 0!==(r=document.createElement("option")).textContent?r.textContent=t.text:r.innerText=t.text,void 0!==t.id&&(r.value=t.id),t.disabled&&(r.disabled=!0),t.selected&&(r.selected=!0),t.title&&(r.title=t.title);var i=n(r),o=this._normalizeItem(t);return o.element=r,e.StoreData(r,"data",o),i},r.prototype.item=function(t){var r={};if(null!=(r=e.GetData(t[0],"data")))return r;if(t.is("option"))r={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){r={text:t.prop("label"),children:[],title:t.prop("title")};for(var i=t.children("option"),o=[],s=0;s<i.length;s++){var a=n(i[s]),l=this.item(a);o.push(l)}r.children=o}return(r=this._normalizeItem(r)).element=t[0],e.StoreData(t[0],"data",r),r},r.prototype._normalizeItem=function(t){t!==Object(t)&&(t={id:t,text:t});return null!=(t=n.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),n.extend({},{selected:!1,disabled:!1},t)},r.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},r}),e.define("select2/data/array",["./select","../utils","jquery"],function(t,e,n){function r(t,e){this._dataToConvert=e.get("data")||[],r.__super__.constructor.call(this,t,e)}return e.Extend(r,t),r.prototype.bind=function(t,e){r.__super__.bind.call(this,t,e),this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.select=function(t){var e=this.$element.find("option").filter(function(e,n){return n.value==t.id.toString()});0===e.length&&(e=this.option(t),this.addOptions(e)),r.__super__.select.call(this,t)},r.prototype.convertToOptions=function(t){var r=this,i=this.$element.find("option"),o=i.map(function(){return r.item(n(this)).id}).get(),s=[];function a(t){return function(){return n(this).val()==t.id}}for(var l=0;l<t.length;l++){var u=this._normalizeItem(t[l]);if(n.inArray(u.id,o)>=0){var c=i.filter(a(u)),f=this.item(c),d=n.extend(!0,{},u,f),p=this.option(d);c.replaceWith(p)}else{var h=this.option(u);if(u.children){var v=this.convertToOptions(u.children);e.appendMany(h,v)}s.push(h)}}return s},r}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,n){function r(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,t,e)}return e.Extend(r,t),r.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})},transport:function(t,e,r){var i=n.ajax(t);return i.then(e),i.fail(r),i}};return n.extend({},e,t,!0)},r.prototype.processResults=function(t){return t},r.prototype.query=function(t,e){var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var i=n.extend({type:"GET"},this.ajaxOptions);function o(){var o=i.transport(i,function(i){var o=r.processResults(i,t);r.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(o)},function(){"status"in o&&(0===o.status||"0"===o.status)||r.trigger("results:message",{message:"errorLoading"})});r._request=o}"function"==typeof i.url&&(i.url=i.url.call(this.$element,t)),"function"==typeof i.data&&(i.data=i.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o()},r}),e.define("select2/data/tags",["jquery"],function(t){function e(e,n,r){var i=r.get("tags"),o=r.get("createTag");void 0!==o&&(this.createTag=o);var s=r.get("insertTag");if(void 0!==s&&(this.insertTag=s),e.call(this,n,r),t.isArray(i))for(var a=0;a<i.length;a++){var l=i[a],u=this._normalizeItem(l),c=this.option(u);this.$element.append(c)}}return e.prototype.query=function(t,e,n){var r=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,function t(i,o){for(var s=i.results,a=0;a<s.length;a++){var l=s[a],u=null!=l.children&&!t({results:l.children},!0);if((l.text||"").toUpperCase()===(e.term||"").toUpperCase()||u)return!o&&(i.data=s,void n(i))}if(o)return!0;var c=r.createTag(e);if(null!=c){var f=r.option(c);f.attr("data-select2-tag",!0),r.addOptions([f]),r.insertTag(s,c)}i.results=s,n(i)}):t.call(this,e,n)},e.prototype.createTag=function(e,n){var r=t.trim(n.term);return""===r?null:{id:r,text:r}},e.prototype.insertTag=function(t,e,n){e.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,n){var r=n.get("tokenizer");void 0!==r&&(this.tokenizer=r),t.call(this,e,n)}return e.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,n,r){var i=this;n.term=n.term||"";var o=this.tokenizer(n,this.options,function(e){var n=i._normalizeItem(e);if(!i.$element.find("option").filter(function(){return t(this).val()===n.id}).length){var r=i.option(n);r.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([r])}!function(t){i.trigger("select",{data:t})}(n)});o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),n.term=o.term),e.call(this,n,r)},e.prototype.tokenizer=function(e,n,r,i){for(var o=r.get("tokenSeparators")||[],s=n.term,a=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};a<s.length;){var u=s[a];if(-1!==t.inArray(u,o)){var c=s.substr(0,a),f=l(t.extend({},n,{term:c}));null!=f?(i(f),s=s.substr(a+1)||"",a=0):a++}else a++}return{term:s}},e}),e.define("select2/data/minimumInputLength",[],function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t}),e.define("select2/data/maximumInputLength",[],function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("select",function(){r._checkIfMaximumSelected()})},t.prototype.query=function(t,e,n){var r=this;this._checkIfMaximumSelected(function(){t.call(r,e,n)})},t.prototype._checkIfMaximumSelected=function(t,e){var n=this;this.current(function(t){var r=null!=t?t.length:0;n.maximumSelectionLength>0&&r>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):e&&e()})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){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 e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(t,e){function n(){}return n.prototype.render=function(e){var n=e.call(this),r=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=r,this.$search=r.find("input"),n.prepend(r),n},n.prototype.bind=function(e,n,r){var i=this,o=n.id+"-results";e.call(this,n,r),this.$search.on("keydown",function(t){i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(e){t(this).off("keyup")}),this.$search.on("keyup input",function(t){i.handleSearch(t)}),n.on("open",function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",o),i.$search.trigger("focus"),window.setTimeout(function(){i.$search.trigger("focus")},0)}),n.on("close",function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")}),n.on("focus",function(){n.isOpen()||i.$search.trigger("focus")}),n.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(i.showSearch(t)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))}),n.on("results:focus",function(t){t.data._resultId?i.$search.attr("aria-activedescendant",t.data._resultId):i.$search.removeAttr("aria-activedescendant")})},n.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.showSearch=function(t,e){return!0},n}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,n,r){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,r)}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 n=e.slice(0),r=e.length-1;r>=0;r--){var i=e[r];this.placeholder.id===i.id&&n.splice(r,1)}return n},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,n,r){this.lastParams={},t.call(this,e,n,r),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,n){var r=this;t.call(this,e,n),e.on("query",function(t){r.lastParams=t,r.loading=!0}),e.on("query:append",function(t){r.lastParams=t,r.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>'),n=this.options.get("translations").get("loadingMore");return e.html(n(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function n(e,n,r){this.$dropdownParent=t(r.get("dropdownParent")||document.body),e.call(this,n,r)}return n.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("open",function(){r._showDropdown(),r._attachPositioningHandler(e),r._bindContainerResultHandlers(e)}),e.on("close",function(){r._hideDropdown(),r._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},n.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(e){var n=t("<span></span>"),r=e.call(this);return n.append(r),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(t,e){if(!this._containerResultsHandlersBound){var n=this;e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,r){var i=this,o="scroll.select2."+r.id,s="resize.select2."+r.id,a="orientationchange.select2."+r.id,l=this.$container.parents().filter(e.hasScroll);l.each(function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),l.on(o,function(n){var r=e.GetData(this,"select2-scroll-position");t(this).scrollTop(r.y)}),t(window).on(o+" "+s+" "+a,function(t){i._positionDropdown(),i._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,r){var i="scroll.select2."+r.id,o="resize.select2."+r.id,s="orientationchange.select2."+r.id;this.$container.parents().filter(e.hasScroll).off(i),t(window).off(i+" "+o+" "+s)},n.prototype._positionDropdown=function(){var e=t(window),n=this.$dropdown.hasClass("select2-dropdown--above"),r=this.$dropdown.hasClass("select2-dropdown--below"),i=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=o.top,s.bottom=o.top+s.height;var a=this.$dropdown.outerHeight(!1),l=e.scrollTop(),u=e.scrollTop()+e.height(),c=l<o.top-a,f=u>o.bottom+a,d={left:o.left,top:s.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h={top:0,left:0};(t.contains(document.body,p[0])||p[0].isConnected)&&(h=p.offset()),d.top-=h.top,d.left-=h.left,n||r||(i="below"),f||!c||n?!c&&f&&n&&(i="below"):i="above",("above"==i||n&&"below"!==i)&&(d.top=s.top-h.top-a),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,n,r){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,r)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var n=0,r=0;r<e.length;r++){var i=e[r];i.children?n+=t(i.children):n++}return n}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),e.define("select2/dropdown/selectOnClose",["../utils"],function(t){function e(){}return e.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("close",function(t){r._handleSelectOnClose(t)})},e.prototype._handleSelectOnClose=function(e,n){if(n&&null!=n.originalSelect2Event){var r=n.originalSelect2Event;if("select"===r._type||"unselect"===r._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var o=t.GetData(i[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("select",function(t){r._selectTriggered(t)}),e.on("unselect",function(t){r._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,n="Please delete "+e+" character";return 1!=e&&(n+="s"),n},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(t,e,n,r,i,o,s,a,l,u,c,f,d,p,h,v,g,m,y,_,b,w,x,C,$,T,A,k,E){function S(){this.reset()}return S.prototype.apply=function(c){if(null==(c=t.extend(!0,{},this.defaults,c)).dataAdapter){if(null!=c.ajax?c.dataAdapter=h:null!=c.data?c.dataAdapter=p:c.dataAdapter=d,c.minimumInputLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,m)),c.maximumInputLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,y)),c.maximumSelectionLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,_)),c.tags&&(c.dataAdapter=u.Decorate(c.dataAdapter,v)),null==c.tokenSeparators&&null==c.tokenizer||(c.dataAdapter=u.Decorate(c.dataAdapter,g)),null!=c.query){var f=e(c.amdBase+"compat/query");c.dataAdapter=u.Decorate(c.dataAdapter,f)}if(null!=c.initSelection){var E=e(c.amdBase+"compat/initSelection");c.dataAdapter=u.Decorate(c.dataAdapter,E)}}if(null==c.resultsAdapter&&(c.resultsAdapter=n,null!=c.ajax&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,C)),null!=c.placeholder&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,x)),c.selectOnClose&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,A))),null==c.dropdownAdapter){if(c.multiple)c.dropdownAdapter=b;else{var S=u.Decorate(b,w);c.dropdownAdapter=S}if(0!==c.minimumResultsForSearch&&(c.dropdownAdapter=u.Decorate(c.dropdownAdapter,T)),c.closeOnSelect&&(c.dropdownAdapter=u.Decorate(c.dropdownAdapter,k)),null!=c.dropdownCssClass||null!=c.dropdownCss||null!=c.adaptDropdownCssClass){var O=e(c.amdBase+"compat/dropdownCss");c.dropdownAdapter=u.Decorate(c.dropdownAdapter,O)}c.dropdownAdapter=u.Decorate(c.dropdownAdapter,$)}if(null==c.selectionAdapter){if(c.multiple?c.selectionAdapter=i:c.selectionAdapter=r,null!=c.placeholder&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,o)),c.allowClear&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,s)),c.multiple&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,a)),null!=c.containerCssClass||null!=c.containerCss||null!=c.adaptContainerCssClass){var D=e(c.amdBase+"compat/containerCss");c.selectionAdapter=u.Decorate(c.selectionAdapter,D)}c.selectionAdapter=u.Decorate(c.selectionAdapter,l)}c.language=this._resolveLanguage(c.language),c.language.push("en");for(var j=[],N=0;N<c.language.length;N++){var I=c.language[N];-1===j.indexOf(I)&&j.push(I)}return c.language=j,c.translations=this._processTranslations(c.language,c.debug),c},S.prototype.reset=function(){function e(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return f[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:u.escapeMarkup,language:{},matcher:function n(r,i){if(""===t.trim(r.term))return i;if(i.children&&i.children.length>0){for(var o=t.extend(!0,{},i),s=i.children.length-1;s>=0;s--)null==n(r,i.children[s])&&o.children.splice(s,1);return o.children.length>0?o:n(r,o)}var a=e(i.text).toUpperCase(),l=e(r.term).toUpperCase();return a.indexOf(l)>-1?i:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},S.prototype.applyFromElement=function(t,e){var n=t.language,r=this.defaults.language,i=e.prop("lang"),o=e.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(o));return t.language=s,t},S.prototype._resolveLanguage=function(e){if(!e)return[];if(t.isEmptyObject(e))return[];if(t.isPlainObject(e))return[e];var n;n=t.isArray(e)?e:[e];for(var r=[],i=0;i<n.length;i++)if(r.push(n[i]),"string"==typeof n[i]&&n[i].indexOf("-")>0){var o=n[i].split("-")[0];r.push(o)}return r},S.prototype._processTranslations=function(e,n){for(var r=new c,i=0;i<e.length;i++){var o=new c,s=e[i];if("string"==typeof s)try{o=c.loadPath(s)}catch(t){try{s=this.defaults.amdLanguageBase+s,o=c.loadPath(s)}catch(t){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+s+'" could not be automatically loaded. A fallback will be used instead.')}}else o=t.isPlainObject(s)?new c(s):s;r.extend(o)}return r},S.prototype.set=function(e,n){var r={};r[t.camelCase(e)]=n;var i=u._convertData(r);t.extend(!0,this.defaults,i)},new S}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,n,r){function i(e,i){if(this.options=e,null!=i&&this.fromElement(i),null!=i&&(this.options=n.applyFromElement(this.options,i)),this.options=n.apply(this.options),i&&i.is("input")){var o=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=r.Decorate(this.options.dataAdapter,o)}}return i.prototype.fromElement=function(t){var n=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),r.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),r.StoreData(t[0],"data",r.GetData(t[0],"select2Tags")),r.StoreData(t[0],"tags",!0)),r.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",r.GetData(t[0],"ajaxUrl")),r.StoreData(t[0],"ajax-Url",r.GetData(t[0],"ajaxUrl")));var i={};function o(t,e){return e.toUpperCase()}for(var s=0;s<t[0].attributes.length;s++){var a=t[0].attributes[s].name;if("data-"==a.substr(0,"data-".length)){var l=a.substring("data-".length),u=r.GetData(t[0],l);i[l.replace(/-([a-z])/g,o)]=u}}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(i=e.extend(!0,{},t[0].dataset,i));var c=e.extend(!0,{},r.GetData(t[0]),i);for(var f in c=r._convertData(c))e.inArray(f,n)>-1||(e.isPlainObject(this.options[f])?e.extend(this.options[f],c[f]):this.options[f]=c[f]);return this},i.prototype.get=function(t){return this.options[t]},i.prototype.set=function(t,e){this.options[t]=e},i}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,n,r){var i=function(t,r){null!=n.GetData(t[0],"select2")&&n.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),r=r||{},this.options=new e(r,t),i.__super__.constructor.call(this);var o=t.attr("tabindex")||0;n.StoreData(t[0],"old-tabindex",o),t.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(t,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var u=this.options.get("dropdownAdapter");this.dropdown=new u(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var c=this.options.get("resultsAdapter");this.results=new c(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var f=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){f.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(t[0],"select2",this),t.data("select2",this)};return n.Extend(i,n.Observable),i.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},i.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},i.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var r=this._resolveWidth(t,"style");return null!=r?r:this._resolveWidth(t,"element")}if("element"==e){var i=t.outerWidth(!1);return i<=0?"auto":i+"px"}if("style"==e){var o=t.attr("style");if("string"!=typeof o)return null;for(var s=o.split(";"),a=0,l=s.length;a<l;a+=1){var u=s[a].replace(/\s/g,"").match(n);if(null!==u&&u.length>=1)return u[1]}return null}return"computedstyle"==e?window.getComputedStyle(t[0]).width:e},i.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},i.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e(function(e){t._syncA(),t._syncS(null,e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},i.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,n){t.trigger(e,n)})},i.prototype._registerSelectionEvents=function(){var e=this,n=["toggle","focus"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("focus",function(t){e.focus(t)}),this.selection.on("*",function(r,i){-1===t.inArray(r,n)&&e.trigger(r,i)})},i.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,n){t.trigger(e,n)})},i.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,n){t.trigger(e,n)})},i.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,function(n){t.trigger("results:all",{data:n,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(n){t.trigger("results:append",{data:n,query:e})})}),this.on("keypress",function(e){var n=e.which;t.isOpen()?n===r.ESC||n===r.TAB||n===r.UP&&e.altKey?(t.close(e),e.preventDefault()):n===r.ENTER?(t.trigger("results:select",{}),e.preventDefault()):n===r.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):n===r.UP?(t.trigger("results:previous",{}),e.preventDefault()):n===r.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&e.altKey)&&(t.open(),e.preventDefault())})},i.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},i.prototype._isChangeMutation=function(e,n){var r=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(n)if(n.addedNodes&&n.addedNodes.length>0)for(var o=0;o<n.addedNodes.length;o++){n.addedNodes[o].selected&&(r=!0)}else n.removedNodes&&n.removedNodes.length>0?r=!0:t.isArray(n)&&t.each(n,function(t,e){if(i._isChangeMutation(t,e))return r=!0,!1});else r=!0;return r}},i.prototype._syncSubtree=function(t,e){var n=this;this._isChangeMutation(t,e)&&this.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})})},i.prototype.trigger=function(t,e){var n=i.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in r){var o=r[t],s={prevented:!1,name:t,args:e};if(n.call(this,o,s),s.prevented)return void(e.prevented=!0)}n.call(this,t,e)},i.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},i.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},i.prototype.close=function(t){this.isOpen()&&this.trigger("close",{originalEvent:t})},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},i.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},i.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},i.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},i.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},i.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var n=e[0];t.isArray(n)&&(n=t.map(n,function(t){return t.toString()})),this.$element.val(n).trigger("input").trigger("change")},i.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},i.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(e[0],"element",this.$element),e},i}),e.define("jquery-mousewheel",["jquery"],function(t){return t}),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(t,e,n,r,i){if(null==t.fn.select2){var o=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var r=t.extend(!0,{},e);new n(t(this),r)}),this;if("string"==typeof e){var r,s=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=i.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),r=t[e].apply(t,s)}),t.inArray(e,o)>-1?this:r}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=r),n}),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n},i=[n("7t+N")],void 0===(o="function"==typeof(r=s)?r.apply(e,i):r)||(t.exports=o)},hw3k:function(t,e){lineOptions={legend:{position:"bottom"},scales:{yAxes:[{ticks:{fontColor:"rgba(0,0,0,0.5)",fontStyle:"bold",beginAtZero:!0,maxTicksLimit:5,padding:20},gridLines:{drawTicks:!1,display:!1}}],xAxes:[{gridLines:{zeroLineColor:"transparent"},ticks:{padding:20,fontColor:"rgba(0,0,0,0.5)",fontStyle:"bold"}}]}},pieOptions={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:1,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,responsive:!0,maintainAspectRatio:!1,legendTemplate:"<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<segments.length; i++){%><li><i class='fa fa-circle-o' style='color: <%=segments[i].fillColor%>'></i><%if(segments[i].label){%><%=segments[i].label%><%}%> foo</li><%}%></ul>",tooltipTemplate:"<%=value %> <%=label%> "};$('meta[name="baseUrl"]').attr("content");!function(t,e){var n={modals:{}};n.modals.confirmDelete=function(){var e=t("table"),n=function(e){var n=t(this),r=t("#dataConfirmModal"),i=n.attr("href"),o=n.attr("data-content"),s=n.attr("data-title");return t("#myModalLabel").text(s),r.find(".modal-body").text(o),t("#deleteForm").attr("action",i),r.modal({show:!0}),!1};return{render:function(){e.on("click",".delete-asset",n)}}},t(function(){(new n.modals.confirmDelete).render()})}(jQuery,window.snipeit.settings),$(document).ready(function(){function t(t){t instanceof jQuery||(t=$(t));var e=t.data("select2");return searchElement=e.dropdown.$search||e.$container.find(".select2-search__field"),searchElement.val()}function e(t){if(t.loading)return'<i class="fa fa-spinner fa-spin" aria-hidden="true"></i> Loading...';var e="<div class='clearfix'>";return e+="<div class='pull-left' style='padding-right: 10px;'>",t.image?e+="<div style='width: 30px;'><img src='"+t.image+"' style='max-height: 20px; max-width: 30px;' alt='"+t.text+"'></div>":e+="<div style='height: 20px; width: 30px;'></div>",e+="</div><div>"+t.text+"</div>",e+="</div>"}function n(t){return t.text.replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}$(".slideout-menu-toggle").on("click",function(t){t.preventDefault();var e=$(".slideout-menu"),n=$(".slideout-menu").width();e.toggleClass("open"),e.hasClass("open")?(e.show(),e.animate({right:"0px"})):(e.animate({right:-n},"-350px"),e.fadeOut())}),$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({checkboxClass:"icheckbox_minimal-blue",radioClass:"iradio_minimal-blue"}),/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream||$('select.select2:not(".select2-hidden-accessible")').each(function(t,e){$(e).select2()}),$(".js-data-ajax").each(function(t,r){var i=$(r),o=i.data("endpoint");i.data("select");i.select2({placeholder:"",allowClear:!0,ajax:{url:Ziggy.baseUrl+"api/v1/"+o+"/selectlist",dataType:"json",delay:250,headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:function(t){var e={search:t.term,page:t.page||1,assetStatusType:i.data("asset-status-type")};return e},processResults:function(t,e){return e.page=e.page||1,{results:t.items,pagination:{more:"true"}}},cache:!0},escapeMarkup:function(t){return t},templateResult:e,templateSelection:n})}),$(".select2-hidden-accessible").on("select2:selecting",function(e){var n=e.params.args.data,r=!1,i=$(this),o=t(i);e.params.args.originalEvent&&(r="mouseup"==e.params.args.originalEvent.type),r||(o.toLowerCase()&&n.text.toLowerCase().indexOf(o)<0?(e.preventDefault(),i.select2("close")):o.toLowerCase()&&n.text.toLowerCase().indexOf(o)>-1&&(e.params.args.noForceAjax=!0))}),$(".select2-hidden-accessible").on("select2:closing",function(e){var n=$(this),r=t(n),i=!1,o=!1;if(e.params.args.originalSelect2Event&&(i=e.params.args.originalSelect2Event.noForceAjax),e.params.args.originalEvent&&(o="mouseup"==e.params.args.originalEvent.type),r&&!i&&!o){var s=n.data("endpoint"),a=n.data("asset-status-type");$.ajax({url:Ziggy.baseUrl+"api/v1/"+s+"/selectlist?search="+r+"&page=1"+(a?"&assetStatusType="+a:""),dataType:"json",headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}}).done(function(t){var e=n.select2("data").map(function(t){return+t.id}).filter(function(t){return 0!==t}),r=t.items.filter(function(t){return e.indexOf(+t.id)<0}),i=e.length>0?r[0]:t.items[0];if(i&&i.id){if(i.selected=!0,$("option[value='"+i.id+"']",n).length<1){var o=new Option(i.text,i.id,!0,!0);n.append(o)}else{var s="multiple"==n.attr("multiple");n.val(s?n.val().concat(i.id):n.val(i.id))}n.trigger("change"),n.trigger({type:"select2:select",params:{data:i}})}})}}),$(function(){$("input[name=checkout_to_type]").on("change",function(){var t=$("input[name=checkout_to_type]:checked").val(),e=$("#assigned_user option:selected").val();"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();function i(t){return t<1024?t+" Bytes":t<1048576?(t/1024).toFixed(2)+" KB":t<1073741824?(t/1048576).toFixed(2)+" MB":(t/1073741824).toFixed(2)+" GB"}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"),n=e+"-status",r=$(n);r.removeClass("text-success").removeClass("text-danger"),$(n+" .goodfile").remove(),$(n+" .badfile").remove(),$(n+" .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+" ("+i(this.files[a].size)+")</span> ");if(s>o)r.addClass("text-danger").removeClass("help-block").prepend('<i class="badfile fa fa-times"></i> ').append('<span class="previewSize"> Upload is '+i(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 n=new FileReader;n.onload=function(t){e.attr("src",t.target.result)},n.readAsDataURL(t.files[0])}}(this,l),l.fadeIn()}})}),function(t){t.fn.toggleDisabled=function(e){return this.each(function(){var n,r=t(this);r.attr("disabled")?(r.removeAttr("disabled"),n=!1):(r.attr("disabled","disabled"),n=!0),e&&"function"==typeof e&&e(this,n)})}}(jQuery)},jbHB:function(t,e){},jr3m:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"tr{padding-left:30px}",""])},kxAE:function(t,e){},l4G8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("h2",[t._v("\n OAuth Clients\n ")]),t._v(" "),n("a",{staticClass:"action-link",on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),n("div",{staticClass:"panel-body"},[0===t.clients.length?n("p",{staticClass:"m-b-none"},[t._v("\n You have not created any OAuth clients.\n ")]):t._e(),t._v(" "),t.clients.length>0?n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.clients,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.id)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("code",[t._v(t._s(e.secret))])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link",on:{click:function(n){t.edit(e)}}},[t._v("\n Edit\n ")])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.destroy(e)}}},[t._v("\n Delete\n ")])])])}))]):t._e()])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.createForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.createForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"create-client-name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.name,expression:"createForm.name"}],staticClass:"form-control",attrs:{id:"create-client-name",type:"text","aria-label":"create-client-name"},domProps:{value:t.createForm.name},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.store(e)},input:function(e){e.target.composing||(t.createForm.name=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"redirect"}},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.redirect,expression:"createForm.redirect"}],staticClass:"form-control",attrs:{type:"text","aria-label":"redirect",name:"redirect"},domProps:{value:t.createForm.redirect},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.store(e)},input:function(e){e.target.composing||(t.createForm.redirect=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-edit-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(3),t._v(" "),n("div",{staticClass:"modal-body"},[t.editForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(4),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.editForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"edit-client-name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.name,expression:"editForm.name"}],staticClass:"form-control",attrs:{id:"edit-client-name",type:"text","aria-label":"edit-client-name"},domProps:{value:t.editForm.name},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.update(e)},input:function(e){e.target.composing||(t.editForm.name=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"redirect"}},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.redirect,expression:"editForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect","aria-label":"redirect"},domProps:{value:t.editForm.redirect},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.update(e)},input:function(e){e.target.composing||(t.editForm.redirect=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.update}},[t._v("\n Save Changes\n ")])])])])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Client ID")]),t._v(" "),n("th",[t._v("Name")]),t._v(" "),n("th",[t._v("Secret")]),t._v(" "),n("th",[n("span",{staticClass:"sr-only"},[t._v("Edit")])]),t._v(" "),n("th",[n("span",{staticClass:"sr-only"},[t._v("Delete")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h2",{staticClass:"modal-title"},[this._v("\n Create Client\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h2",{staticClass:"modal-title"},[this._v("\n Edit Client\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])}]}},l9CE:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["file","customFields"],data:function(){return{activeFile:this.file,processDetail:!1,statusText:null,statusType:null,options:{importType:this.file.import_type,update:!1,importTypes:[{id:"asset",text:"Assets"},{id:"accessory",text:"Accessories"},{id:"consumable",text:"Consumables"},{id:"component",text:"Components"},{id:"license",text:"Licenses"},{id:"user",text:"Users"}],statusText:null},columnOptions:{general:[{id:"category",text:"Category"},{id:"company",text:"Company"},{id:"email",text:"Email"},{id:"item_name",text:"Item Name"},{id:"location",text:"Location"},{id:"maintained",text:"Maintained"},{id:"manufacturer",text:"Manufacturer"},{id:"notes",text:"Notes"},{id:"order_number",text:"Order Number"},{id:"purchase_cost",text:"Purchase Cost"},{id:"purchase_date",text:"Purchase Date"},{id:"quantity",text:"Quantity"},{id:"requestable",text:"Requestable"},{id:"serial",text:"Serial Number"},{id:"supplier",text:"Supplier"},{id:"username",text:"Username"},{id:"department",text:"Department"}],assets:[{id:"asset_tag",text:"Asset Tag"},{id:"asset_model",text:"Model Name"},{id:"checkout_class",text:"Checkout Type"},{id:"checkout_location",text:"Checkout Location"},{id:"image",text:"Image Filename"},{id:"model_number",text:"Model Number"},{id:"full_name",text:"Full Name"},{id:"status",text:"Status"},{id:"warranty_months",text:"Warranty Months"}],consumables:[{id:"item_no",text:"Item Number"},{id:"model_number",text:"Model Number"}],licenses:[{id:"asset_tag",text:"Assigned To Asset"},{id:"expiration_date",text:"Expiration Date"},{id:"full_name",text:"Full Name"},{id:"license_email",text:"Licensed To Email"},{id:"license_name",text:"Licensed To Name"},{id:"purchase_order",text:"Purchase Order"},{id:"reassignable",text:"Reassignable"},{id:"seats",text:"Seats"}],users:[{id:"employee_num",text:"Employee Number"},{id:"first_name",text:"First Name"},{id:"jobtitle",text:"Job Title"},{id:"last_name",text:"Last Name"},{id:"phone_number",text:"Phone Number"},{id:"manager_first_name",text:"Manager First Name"},{id:"manager_last_name",text:"Manager Last Name"},{id:"department",text:"Department"},{id:"activated",text:"Activated"}],customFields:this.customFields},columnMappings:this.file.field_map||{},activeColumn:null}},created:function(){window.eventHub.$on("showDetails",this.toggleExtendedDisplay),this.populateSelect2ActiveItems()},computed:{columns:function(){function t(t,e){return t.text<e.text?-1:t.text>e.text?1:0}switch(this.options.importType){case"asset":return this.columnOptions.general.concat(this.columnOptions.assets).concat(this.columnOptions.customFields).sort(t);case"consumable":return this.columnOptions.general.concat(this.columnOptions.consumables).sort(t);case"license":return this.columnOptions.general.concat(this.columnOptions.licenses).sort(t);case"user":return this.columnOptions.general.concat(this.columnOptions.users).sort(t)}return this.columnOptions.general},alertClass:function(){return"success"==this.statusType?"alert-success":"error"==this.statusType?"alert-danger":"alert-info"}},watch:{columns:function(){this.populateSelect2ActiveItems()}},methods:{postSave:function(){var t=this;if(console.log("saving"),console.log(this.options.importType),!this.options.importType)return this.statusType="error",void(this.statusText="An import type is required... ");this.statusType="pending",this.statusText="Processing...",this.$http.post(route("api.imports.importFile",this.file.id),{"import-update":this.options.update,"send-welcome":this.options.send_welcome,"import-type":this.options.importType,"run-backup":this.options.run_backup,"column-mappings":this.columnMappings}).then(function(e){var n=e.body;t.statusType="success",t.statusText="Success... Redirecting.",window.location.href=n.messages.redirect_url},function(e){var n=e.body;"import-errors"==n.status?(window.eventHub.$emit("importErrors",n.messages),t.statusType="error",t.statusText="Error"):t.$emit("alert",{message:n.messages,type:"danger",visible:!0}),t.displayImportModal=!1})},populateSelect2ActiveItems:function(){if(null==this.file.field_map){for(var t=0;t<this.file.header_row.length;t++)this.$set(this.columnMappings,this.file.header_row[t],null);for(var e=0;e<this.columns.length;e++){var n=this.columns[e],r=this.file.header_row.map(function(t){return t.toLowerCase()}).indexOf(n.text.toLowerCase());-1!=r&&this.$set(this.columnMappings,this.file.header_row[r],n.id)}}},toggleExtendedDisplay:function(t){t==this.file.id&&(this.processDetail=!this.processDetail)},updateModel:function(t,e){this.columnMappings[t]=e}},components:{select2:n("YDmc")}}},lAxH:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default={props:["tokenUrl","scopesUrl"],data:function(){return{accessToken:null,tokens:[],scopes:[],form:{name:"",scopes:[],errors:[]}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens(),this.getScopes(),$("#modal-create-token").on("shown.bs.modal",function(){$("#create-token-name").focus()})},getTokens:function(){var t=this;this.$http.get(this.tokenUrl).then(function(e){t.tokens=e.data})},getScopes:function(){var t=this;this.$http.get(this.scopesUrl).then(function(e){t.scopes=e.data})},showCreateTokenForm:function(){$("#modal-create-token").modal("show")},store:function(){var t=this;this.accessToken=null,this.form.errors=[],this.$http.post(this.tokenUrl,this.form).then(function(e){t.form.name="",t.form.scopes=[],t.form.errors=[],t.tokens.push(e.data.token),t.showAccessToken(e.data.accessToken)}).catch(function(e){"object"===r(e.data)?t.form.errors=_.flatten(_.toArray(e.data)):(console.dir(t.form),t.form.errors=["Something went wrong. Please try again."])})},toggleScope:function(t){this.scopeIsAssigned(t)?this.form.scopes=_.reject(this.form.scopes,function(e){return e==t}):this.form.scopes.push(t)},scopeIsAssigned:function(t){return _.indexOf(this.form.scopes,t)>=0},showAccessToken:function(t){$("#modal-create-token").modal("hide"),this.accessToken=t,$("#modal-access-token").modal("show")},revoke:function(t){var e=this;this.$http.delete(this.tokenUrl+"/"+t.id).then(function(t){e.getTokens()})}}}},lafA:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.show&&t.fields.length?n("div",[n("div",{staticClass:"form-group"},[n("fieldset",[n("legend",{staticClass:"col-md-3 control-label"},[t._v("Default Values")]),t._v(" "),n("div",{staticClass:"col-sm-8 col-xl-7"},[t.error?n("p",[t._v("\n There was a problem retrieving the fields for this fieldset.\n ")]):t._e(),t._v(" "),t._l(t.fields,function(e){return n("div",{staticClass:"row"},[n("div",{staticClass:"col-sm-12 col-lg-6"},[n("label",{staticClass:"control-label",attrs:{for:"default-value"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),n("div",{staticClass:"col-sm-12 col-lg-6"},["text"==e.type?n("input",{staticClass:"form-control m-b-xs",attrs:{type:"text",id:"default-value"+e.id,name:"default_values["+e.id+"]"},domProps:{value:t.getValue(e)}}):t._e(),t._v(" "),"textarea"==e.type?n("textarea",{staticClass:"form-control",attrs:{id:"default-value"+e.id,name:"default_values["+e.id+"]"},domProps:{value:t.getValue(e)}}):t._e(),n("br"),t._v(" "),"listbox"==e.type?n("select",{staticClass:"form-control m-b-xs",attrs:{name:"default_values["+e.id+"]"}},[n("option",{attrs:{value:""}}),t._v(" "),t._l(e.field_values_array,function(r){return n("option",{domProps:{value:r,selected:t.getValue(e)==r}},[t._v(t._s(r))])})],2):t._e()])])})],2)])])]):t._e()])},staticRenderFns:[]}},m5pD:function(t,e){},mCvu:function(t,e,n){var r=n("jr3m");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("61594e8c",r,!0,{})},mttk:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("h2",[t._v("\n Personal Access Tokens\n ")]),t._v(" "),n("a",{staticClass:"action-link",on:{click:t.showCreateTokenForm}},[t._v("\n Create New Token\n ")])])]),t._v(" "),n("div",{staticClass:"panel-body"},[0===t.tokens.length?n("p",{staticClass:"m-b-none"},[t._v("\n You have not created any personal access tokens.\n ")]):t._e(),t._v(" "),t.tokens.length>0?n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.revoke(e)}}},[t._v("\n Delete\n ")])])])}))]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.form.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.form.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"},on:{submit:function(e){e.preventDefault(),t.store(e)}}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label",attrs:{for:"name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.name,expression:"form.name"}],staticClass:"form-control",attrs:{id:"create-token-name",type:"text","aria-label":"name",name:"name"},domProps:{value:t.form.name},on:{input:function(e){e.target.composing||(t.form.name=e.target.value)}}})])]),t._v(" "),t.scopes.length>0?n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label"},[t._v("Scopes")]),t._v(" "),n("div",{staticClass:"col-md-6"},t._l(t.scopes,function(e){return n("div",[n("div",{staticClass:"checkbox"},[n("label",[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.scopeIsAssigned(e.id)},on:{click:function(n){t.toggleScope(e.id)}}}),t._v("\n\n "+t._s(e.id)+"\n ")])])])}))]):t._e()])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn primary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-access-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(3),t._v(" "),n("div",{staticClass:"modal-body"},[n("p",[t._v("\n Here is your new personal access token. This is the only time it will be shown so don't lose it!\n You may now use this token to make API requests.\n ")]),t._v(" "),n("pre",[n("code",[t._v(t._s(t.accessToken))])])]),t._v(" "),t._m(4)])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th",[e("span",{staticClass:"sr-only"},[this._v("Delete")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Create Token\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Personal Access Token\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[this._v("Close")])])}]}},oTR8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.tokens.length>0?n("div",[n("div",{staticClass:"panel panel-default"},[n("h2",{staticClass:"panel-heading"},[t._v("Authorized Applications")]),t._v(" "),n("div",{staticClass:"panel-body"},[n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.client.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[e.scopes.length>0?n("span",[t._v("\n "+t._s(e.scopes.join(", "))+"\n ")]):t._e()]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.revoke(e)}}},[t._v("\n Revoke\n ")])])])}))])])])]):t._e()])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Scopes")]),this._v(" "),e("th",[e("span",{staticClass:"sr-only"},[this._v("Delete")])])])])}]}},ooDj:function(t,e,n){var r=n("VU/8")(n("20cu"),n("oTR8"),!1,function(t){n("8Hdb")},"data-v-18abfa16",null);t.exports=r.exports},pI6b:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.processDetail,expression:"processDetail"}]},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-2"}),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"padding-top":"30px",margin:"0 auto"}},[n("div",{staticClass:"dynamic-form-row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("select2",{attrs:{options:t.options.importTypes,required:""},model:{value:t.options.importType,callback:function(e){t.options.importType=e},expression:"options.importType"}},[n("option",{attrs:{disabled:"",value:"0"}})])],1)])]),t._v(" "),n("div",{staticClass:"dynamic-form-row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("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 n=t.options.update,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.options.update=n.concat([null])):o>-1&&(t.options.update=n.slice(0,o).concat(n.slice(o+1)))}else t.options.update=i}}})])]),t._v(" "),n("div",{staticClass:"dynamic-form-row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("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 n=t.options.send_welcome,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.options.send_welcome=n.concat([null])):o>-1&&(t.options.send_welcome=n.slice(0,o).concat(n.slice(o+1)))}else t.options.send_welcome=i}}})])]),t._v(" "),n("div",{staticClass:"dynamic-form-row"},[t._m(3),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.options.run_backup,expression:"options.run_backup"}],staticClass:"minimal",attrs:{type:"checkbox",name:"run-backup"},domProps:{checked:Array.isArray(t.options.run_backup)?t._i(t.options.run_backup,null)>-1:t.options.run_backup},on:{__c:function(e){var n=t.options.run_backup,r=e.target,i=!!r.checked;if(Array.isArray(n)){var o=t._i(n,null);r.checked?o<0&&(t.options.run_backup=n.concat([null])):o>-1&&(t.options.run_backup=n.slice(0,o).concat(n.slice(o+1)))}else t.options.run_backup=i}}})])]),t._v(" "),t.statusText?n("div",{staticClass:"alert col-md-8 col-md-offset-2",class:t.alertClass,staticStyle:{"text-align":"left"}},[t._v("\n "+t._s(this.statusText)+"\n ")]):t._e()]),t._v(" "),t._m(4),t._v(" "),t._l(t.file.header_row,function(e,r){return[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-2"}),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"col-md-4 text-right"},[n("label",{staticClass:"control-label",attrs:{for:e}},[t._v(t._s(e))])]),t._v(" "),n("div",{staticClass:"col-md-4 form-group"},[n("div",{attrs:{required:""}},[n("select2",{attrs:{options:t.columns},model:{value:t.columnMappings[e],callback:function(n){t.$set(t.columnMappings,e,n)},expression:"columnMappings[header]"}},[n("option",{attrs:{value:"0"}},[t._v("Do Not Import")])])],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("p",{staticClass:"form-control-static"},[t._v(t._s(t.activeFile.first_row[r]))])])])])]}),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6 col-md-offset-2 text-right",staticStyle:{"padding-top":"20px"}},[n("button",{staticClass:"btn btn-sm btn-default",attrs:{type:"button"},on:{click:function(e){t.processDetail=!1}}},[t._v("Cancel")]),t._v(" "),n("button",{staticClass:"btn btn-sm btn-primary",attrs:{type:"submit"},on:{click:t.postSave}},[t._v("Import")]),t._v(" "),n("br"),n("br")])]),t._v(" "),n("div",{staticClass:"row"},[t.statusText?n("div",{staticClass:"alert col-md-8 col-md-offset-2",class:t.alertClass,staticStyle:{"padding-top":"20px"}},[t._v("\n "+t._s(this.statusText)+"\n ")]):t._e()])],2)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"import-type"}},[this._v("Import Type:")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"import-update"}},[this._v("Update Existing Values?")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"send-welcome"}},[this._v("Send Welcome Email for new Users?")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"run-backup"}},[this._v("Backup before importing?")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-2"}),this._v(" "),e("div",{staticClass:"col-md-8",staticStyle:{"padding-top":"30px"}},[e("div",{staticClass:"col-md-4 text-right"},[e("h4",[this._v("Header Field")])]),this._v(" "),e("div",{staticClass:"col-md-4"},[e("h4",[this._v("Import Field")])]),this._v(" "),e("div",{staticClass:"col-md-4"},[e("h4",[this._v("Sample Value")])])])])}]}},pQUU:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-18abfa16]{cursor:pointer}.m-b-none[data-v-18abfa16]{margin-bottom:0}",""])},rjj0:function(t,e,n){var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i=n("tTVk"),o={},s=r&&(document.head||document.getElementsByTagName("head")[0]),a=null,l=0,u=!1,c=function(){},f=null,d="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(g(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(g(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:s}}}}function v(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function g(t){var e,n,r=document.querySelector("style["+d+'~="'+t.id+'"]');if(r){if(u)return c;r.parentNode.removeChild(r)}if(p){var i=l++;r=a||(a=v()),e=_.bind(null,r,i,!1),n=_.bind(null,r,i,!0)}else r=v(),e=function(t,e){var n=e.css,r=e.media,i=e.sourceMap;r&&t.setAttribute("media",r);f.ssrId&&t.setAttribute(d,e.id);i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}t.exports=function(t,e,n,r){u=n,f=r||{};var s=i(t,e);return h(s),function(e){for(var n=[],r=0;r<s.length;r++){var a=s[r];(l=o[a.id]).refs--,n.push(l)}e?h(s=i(t,e)):s=[];for(r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var u=0;u<l.parts.length;u++)l.parts[u]();delete o[l.id]}}}};var m,y=(m=[],function(t,e){return m[t]=e,m.filter(Boolean).join("\n")});function _(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}},rqPf:function(t,e,n){var r=n("hLk5");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("1ab6df0e",r,!0,{})},sJcK:function(t,e,n){var r=n("VU/8")(n("l9CE"),n("pI6b"),!1,function(t){n("mCvu")},null,null);t.exports=r.exports},t80F:function(t,e){},tTVk:function(t,e){t.exports=function(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[s]?r[s].parts.push(a):n.push(r[s]={id:s,parts:[a]})}return n}},tZpc:function(t,e,n){var r=n("g9VR");"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);n("rjj0")("2e084566",r,!0,{})},vvpX:function(t,e){},yDVJ:function(t,e,n){var r=n("VU/8")(n("zJOD"),n("zkjN"),!1,function(t){n("tZpc")},"data-v-3351e4cf",null);t.exports=r.exports},yd7E:function(t,e){},z1kw:function(t,e,n){var r,i,o,s;s=function(t){var e,n=0,r=Array.prototype.slice;return t.cleanData=(e=t.cleanData,function(n){var r,i,o;for(o=0;null!=(i=n[o]);o++)try{(r=t._data(i,"events"))&&r.remove&&t(i).triggerHandler("remove")}catch(t){}e(n)}),t.widget=function(e,n,r){var i,o,s,a={},l=e.split(".")[0],u=l+"-"+(e=e.split(".")[1]);return r||(r=n,n=t.Widget),t.isArray(r)&&(r=t.extend.apply(null,[{}].concat(r))),t.expr[":"][u.toLowerCase()]=function(e){return!!t.data(e,u)},t[l]=t[l]||{},i=t[l][e],o=t[l][e]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},t.extend(o,i,{version:r.version,_proto:t.extend({},r),_childConstructors:[]}),(s=new n).options=t.widget.extend({},s.options),t.each(r,function(e,r){t.isFunction(r)?a[e]=function(){function t(){return n.prototype[e].apply(this,arguments)}function i(t){return n.prototype[e].apply(this,t)}return function(){var e,n=this._super,o=this._superApply;return this._super=t,this._superApply=i,e=r.apply(this,arguments),this._super=n,this._superApply=o,e}}():a[e]=r}),o.prototype=t.widget.extend(s,{widgetEventPrefix:i&&s.widgetEventPrefix||e},a,{constructor:o,namespace:l,widgetName:e,widgetFullName:u}),i?(t.each(i._childConstructors,function(e,n){var r=n.prototype;t.widget(r.namespace+"."+r.widgetName,o,n._proto)}),delete i._childConstructors):n._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var n,i,o=r.call(arguments,1),s=0,a=o.length;s<a;s++)for(n in o[s])i=o[s][n],o[s].hasOwnProperty(n)&&void 0!==i&&(t.isPlainObject(i)?e[n]=t.isPlainObject(e[n])?t.widget.extend({},e[n],i):t.widget.extend({},i):e[n]=i);return e},t.widget.bridge=function(e,n){var i=n.prototype.widgetFullName||e;t.fn[e]=function(o){var s="string"==typeof o,a=r.call(arguments,1),l=this;return s?this.length||"instance"!==o?this.each(function(){var n,r=t.data(this,i);return"instance"===o?(l=r,!1):r?t.isFunction(r[o])&&"_"!==o.charAt(0)?(n=r[o].apply(r,a))!==r&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0:t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")}):l=void 0:(a.length&&(o=t.widget.extend.apply(null,[o].concat(a))),this.each(function(){var e=t.data(this,i);e?(e.option(o||{}),e._init&&e._init()):t.data(this,i,new n(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,r){r=t(r||this.defaultElement||this)[0],this.element=t(r),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},r!==this&&(t.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===r&&this.destroy()}}),this.document=t(r.style?r.ownerDocument:r.document||r),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,n){e._removeClass(n,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var r,i,o,s=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(s={},e=(r=e.split(".")).shift(),r.length){for(i=s[e]=t.widget.extend({},this.options[e]),o=0;o<r.length-1;o++)i[r[o]]=i[r[o]]||{},i=i[r[o]];if(e=r.pop(),1===arguments.length)return void 0===i[e]?null:i[e];i[e]=n}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];s[e]=n}return this._setOptions(s),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var n,r,i;for(n in e)i=this.classesElementLookup[n],e[n]!==this.options.classes[n]&&i&&i.length&&(r=t(i.get()),this._removeClass(i,n),r.addClass(this._classes({element:r,keys:n,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){var n=[],r=this;function i(i,o){var s,a;for(a=0;a<i.length;a++)s=r.classesElementLookup[i[a]]||t(),s=e.add?t(t.unique(s.get().concat(e.element.get()))):t(s.not(e.element).get()),r.classesElementLookup[i[a]]=s,n.push(i[a]),o&&e.classes[i[a]]&&n.push(e.classes[i[a]])}return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),n.join(" ")},_untrackClassesElement:function(e){var n=this;t.each(n.classesElementLookup,function(r,i){-1!==t.inArray(e.target,i)&&(n.classesElementLookup[r]=t(i.not(e.target).get()))})},_removeClass:function(t,e,n){return this._toggleClass(t,e,n,!1)},_addClass:function(t,e,n){return this._toggleClass(t,e,n,!0)},_toggleClass:function(t,e,n,r){r="boolean"==typeof r?r:n;var i="string"==typeof t||null===t,o={extra:i?e:n,keys:i?t:e,element:i?this.element:t,add:r};return o.element.toggleClass(this._classes(o),r),this},_on:function(e,n,r){var i,o=this;"boolean"!=typeof e&&(r=n,n=e,e=!1),r?(n=i=t(n),this.bindings=this.bindings.add(n)):(r=n,n=this.element,i=this.widget()),t.each(r,function(r,s){function a(){if(e||!0!==o.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof s?o[s]:s).apply(o,arguments)}"string"!=typeof s&&(a.guid=s.guid=s.guid||a.guid||t.guid++);var l=r.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+o.eventNamespace,c=l[2];c?i.on(u,c,a):n.on(u,a)})},_off:function(e,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(n).off(n),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){var n=this;return setTimeout(function(){return("string"==typeof t?n[t]:t).apply(n,arguments)},e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,n,r){var i,o,s=this.options[e];if(r=r||{},(n=t.Event(n)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n.target=this.element[0],o=n.originalEvent)for(i in o)i in n||(n[i]=o[i]);return this.element.trigger(n,r),!(t.isFunction(s)&&!1===s.apply(this.element[0],[n].concat(r))||n.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,n){t.Widget.prototype["_"+e]=function(r,i,o){var s;"string"==typeof i&&(i={effect:i});var a=i?!0===i||"number"==typeof i?n:i.effect||n:e;"number"==typeof(i=i||{})&&(i={duration:i}),s=!t.isEmptyObject(i),i.complete=o,i.delay&&r.delay(i.delay),s&&t.effects&&t.effects.effect[a]?r[e](i):a!==e&&r[a]?r[a](i.duration,i.easing,o):r.queue(function(n){t(this)[e](),o&&o.call(r[0]),n()})}}),t.widget},i=[n("7t+N"),n("UZ9c")],void 0===(o="function"==typeof(r=s)?r.apply(e,i):r)||(t.exports=o)},zJOD:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["errors"]}},zkjN:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.errors?n("div",{staticClass:"box"},[n("div",{staticClass:"box-body"},[t._m(0),t._v(" "),n("div",{staticClass:"errors-table"},[n("table",{staticClass:"table table-striped table-bordered",attrs:{id:"errors-table"}},[t._m(1),t._v(" "),n("tbody",t._l(t.errors,function(e,r){return n("tr",[n("td",[t._v(t._s(r))]),t._v(" "),t._l(e,function(e,r){return n("td",[n("b",[t._v(t._s(r)+":")]),t._v(" "),t._l(e,function(e){return n("span",[t._v(t._s(e[0]))])}),t._v(" "),n("br")],2)})],2)}))])])])]):t._e()},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"alert alert-warning"},[e("strong",[this._v("Warning")]),this._v(" Some Errors occured while importing\n ")])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("th",[this._v("Item")]),this._v(" "),e("th",[this._v("Errors")])])}]}}});
\ No newline at end of file
diff --git a/public/js/dist/all.js b/public/js/dist/all.js
index b4443c9e4c..925a9c4821 100644
--- a/public/js/dist/all.js
+++ b/public/js/dist/all.js
@@ -1,26 +1,26 @@
-if(function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=0)}({"+sje":function(t,e,n){var i=n("VU/8")(n("eOaq"),n("lafA"),!1,function(t){n("4UNm")},"data-v-3bdd24a5",null);t.exports=i.exports},0:function(t,e,n){n("GDnL"),n("hw3k"),n("aKHO"),n("9ozO"),n("1CH1"),n("f5J3"),n("yd7E"),n("m5pD"),n("JfWP"),n("Pq8s"),n("WM06"),n("t80F"),n("2WJo"),n("F7gb"),n("jbHB"),n("a5IG"),n("1dC+"),n("0hTo"),n("vvpX"),n("4Jtp"),t.exports=n("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,n){"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()})}}}},"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,n){var i=n("HB0T");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("5d321c9c",i,!0,{})},"5F58":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("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,n){t.progress.currentClass="progress-bar-success",t.progress.statusText="Success!",t.files=n.result.files.concat(t.files),console.log(n.result.header_row)},add:function(e,n){n.headers={"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":Laravel.csrfToken},n.process().done(function(){n.submit()}),t.progress.visible=!0},progress:function(e,n){var i=parseInt((n.loaded,n.total,10));t.progress.currentPercent=i,t.progress.statusText=i+"% Complete"},fail:function(e,n){t.progress.currentClass="progress-bar-danger",t.progress.statusText=n.jqXHR.responseJSON.messages}})},methods:{fetchFiles:function(){var t=this;this.$http.get(route("api.imports.index")).then(function(e){var n=e.data;return t.files=n},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 n=e.data;(n=n.rows).forEach(function(e){t.customFields.push({id:e.db_column_name,text:e.name})})})},deleteFile:function(t,e){var n=this;this.$http.delete(route("api.imports.destroy",t.id)).then(function(t){n.files.splice(e,1),n.alert.type=t.body.status,n.alert.visible=!0,n.alert.message=t.body.messages},function(t){n.alert.type="error",n.alert.visible=!0,n.alert.message=t.body.messages})},toggleEvent:function(t){window.eventHub.$emit("showDetails",t)},updateAlert:function(t){this.alert=t},updateImportErrors:function(t){this.importErrors=t}},computed:{progressWidth:function(){return"width: "+10*this.progress.currentPercent+"%"}},components:{alert:n("b7rt"),errors:n("yDVJ"),importFile:n("sJcK")}}},"5m3O":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default={props:["clientsUrl"],data:function(){return{clients:[],createForm:{errors:[],name:"",redirect:""},editForm:{errors:[],name:"",redirect:""}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getClients(),$("#modal-create-client").on("shown.bs.modal",function(){$("#create-client-name").focus()}),$("#modal-edit-client").on("shown.bs.modal",function(){$("#edit-client-name").focus()})},getClients:function(){var t=this;this.$http.get(this.clientsUrl).then(function(e){t.clients=e.data})},showCreateClientForm:function(){$("#modal-create-client").modal("show")},store:function(){this.persistClient("post",this.clientsUrl,this.createForm,"#modal-create-client")},edit:function(t){this.editForm.id=t.id,this.editForm.name=t.name,this.editForm.redirect=t.redirect,$("#modal-edit-client").modal("show")},update:function(){this.persistClient("put",this.clientsUrl+"/"+this.editForm.id,this.editForm,"#modal-edit-client")},persistClient:function(t,e,n,r){var o=this;console.log("persisting"),n.errors=[],console.log("method: "+t),this.$http[t](e,n).then(function(t){o.getClients(),n.name="",n.redirect="",n.errors=[],$(r).modal("hide")}).catch(function(t){"object"===i(t.data)?n.errors=_.flatten(_.toArray(t.data)):n.errors=["Something went wrong. Please try again."]})},destroy:function(t){var e=this;this.$http.delete(this.clientsUrl+"/"+t.id).then(function(t){e.getClients()})}}}},"7t+N":function(t,e,n){var i;!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,r){"use strict";function o(t,e,n){var i,r,o=(n=n||gt).createElement("script");if(o.text=t,e)for(i in vt)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function a(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?st[lt.call(t)]||"object":typeof t}function s(t){var e=!!t&&"length"in t&&t.length,n=a(t);return!ft(t)&&!pt(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function l(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function u(t,e,n){return ft(e)?mt.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?mt.grep(t,function(t){return t===e!==n}):"string"!=typeof e?mt.grep(t,function(t){return at.call(e,t)>-1!==n}):mt.filter(e,t,n)}function c(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function d(t){return t}function h(t){throw t}function f(t,e,n,i){var r;try{t&&ft(r=t.promise)?r.call(t).done(e).fail(n):t&&ft(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}function p(){gt.removeEventListener("DOMContentLoaded",p),n.removeEventListener("load",p),mt.ready()}function g(t,e){return e.toUpperCase()}function v(t){return t.replace(Ot,"ms-").replace($t,g)}function m(){this.expando=mt.expando+m.uid++}function y(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Lt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Nt.test(t)?JSON.parse(t):t)}(n)}catch(t){}Pt.set(t,e,n)}else n=void 0;return n}function b(t,e,n,i){var r,o,a=20,s=i?function(){return i.cur()}:function(){return mt.css(t,e,"")},l=s(),u=n&&n[3]||(mt.cssNumber[e]?"":"px"),c=t.nodeType&&(mt.cssNumber[e]||"px"!==u&&+l)&&Rt.exec(mt.css(t,e));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)mt.style(t,e,c+u),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),c/=o;c*=2,mt.style(t,e,c+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}function _(t){var e,n=t.ownerDocument,i=t.nodeName,r=Vt[i];return r||(e=n.body.appendChild(n.createElement(i)),r=mt.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),Vt[i]=r,r)}function x(t,e){for(var n,i,r=[],o=0,a=t.length;o<a;o++)(i=t[o]).style&&(n=i.style.display,e?("none"===n&&(r[o]=Ft.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&Wt(i)&&(r[o]=_(i))):"none"!==n&&(r[o]="none",Ft.set(i,"display",n)));for(o=0;o<a;o++)null!=r[o]&&(t[o].style.display=r[o]);return t}function w(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&l(t,e)?mt.merge([t],n):n}function C(t,e){for(var n=0,i=t.length;n<i;n++)Ft.set(t[n],"globalEval",!e||Ft.get(e[n],"globalEval"))}function k(t,e,n,i,r){for(var o,s,l,u,c,d,h=e.createDocumentFragment(),f=[],p=0,g=t.length;p<g;p++)if((o=t[p])||0===o)if("object"===a(o))mt.merge(f,o.nodeType?[o]:o);else if(Qt.test(o)){for(s=s||h.appendChild(e.createElement("div")),l=(Gt.exec(o)||["",""])[1].toLowerCase(),u=Zt[l]||Zt._default,s.innerHTML=u[1]+mt.htmlPrefilter(o)+u[2],d=u[0];d--;)s=s.lastChild;mt.merge(f,s.childNodes),(s=h.firstChild).textContent=""}else f.push(e.createTextNode(o));for(h.textContent="",p=0;o=f[p++];)if(i&&mt.inArray(o,i)>-1)r&&r.push(o);else if(c=zt(o),s=w(h.appendChild(o),"script"),c&&C(s),n)for(d=0;o=s[d++];)Kt.test(o.type||"")&&n.push(o);return h}function S(){return!0}function T(){return!1}function D(t,e){return t===function(){try{return gt.activeElement}catch(t){}}()==("focus"===e)}function A(t,e,n,i,r,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(i=i||n,n=void 0),e)A(t,s,n,i,e[s],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=T;else if(!r)return t;return 1===o&&(a=r,(r=function(t){return mt().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=mt.guid++)),t.each(function(){mt.event.add(this,e,r,i,n)})}function E(t,e,n){n?(Ft.set(t,e,!1),mt.event.add(t,e,{namespace:!1,handler:function(t){var i,r,o=Ft.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(mt.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=it.call(arguments),Ft.set(this,e,o),i=n(this,e),this[e](),o!==(r=Ft.get(this,e))||i?Ft.set(this,e,!1):r={},o!==r)return t.stopImmediatePropagation(),t.preventDefault(),r.value}else o.length&&(Ft.set(this,e,{value:mt.event.trigger(mt.extend(o[0],mt.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Ft.get(t,e)&&mt.event.add(t,e,S)}function M(t,e){return l(t,"table")&&l(11!==e.nodeType?e:e.firstChild,"tr")&&mt(t).children("tbody")[0]||t}function O(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function $(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function I(t,e){var n,i,r,o,a,s;if(1===e.nodeType){if(Ft.hasData(t)&&(s=Ft.get(t).events))for(r in Ft.remove(e,"handle events"),s)for(n=0,i=s[r].length;n<i;n++)mt.event.add(e,r,s[r][n]);Pt.hasData(t)&&(o=Pt.access(t),a=mt.extend({},o),Pt.set(e,a))}}function F(t,e,n,i){e=rt(e);var r,a,s,l,u,c,d=0,h=t.length,f=h-1,p=e[0],g=ft(p);if(g||h>1&&"string"==typeof p&&!ht.checkClone&&ie.test(p))return t.each(function(r){var o=t.eq(r);g&&(e[0]=p.call(this,r,o.html())),F(o,e,n,i)});if(h&&(a=(r=k(e,t[0].ownerDocument,!1,t,i)).firstChild,1===r.childNodes.length&&(r=a),a||i)){for(l=(s=mt.map(w(r,"script"),O)).length;d<h;d++)u=r,d!==f&&(u=mt.clone(u,!0,!0),l&&mt.merge(s,w(u,"script"))),n.call(t[d],u,d);if(l)for(c=s[s.length-1].ownerDocument,mt.map(s,$),d=0;d<l;d++)u=s[d],Kt.test(u.type||"")&&!Ft.access(u,"globalEval")&&mt.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?mt._evalUrl&&!u.noModule&&mt._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):o(u.textContent.replace(re,""),u,c))}return t}function P(t,e,n){for(var i,r=e?mt.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||mt.cleanData(w(i)),i.parentNode&&(n&&zt(i)&&C(w(i,"script")),i.parentNode.removeChild(i));return t}function N(t,e,n){var i,r,o,a,s=t.style;return(n=n||ae(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||zt(t)||(a=mt.style(t,e)),!ht.pixelBoxStyles()&&oe.test(a)&&le.test(e)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0!==a?a+"":a}function L(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function j(t){return mt.cssProps[t]||de[t]||(t in ce?t:de[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=ue.length;n--;)if((t=ue[n]+e)in ce)return t}(t)||t)}function R(t,e,n){var i=Rt.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function U(t,e,n,i,r,o){var a="width"===e?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=mt.css(t,n+Ut[a],!0,r)),i?("content"===n&&(l-=mt.css(t,"padding"+Ut[a],!0,r)),"margin"!==n&&(l-=mt.css(t,"border"+Ut[a]+"Width",!0,r))):(l+=mt.css(t,"padding"+Ut[a],!0,r),"padding"!==n?l+=mt.css(t,"border"+Ut[a]+"Width",!0,r):s+=mt.css(t,"border"+Ut[a]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-s-.5))||0),l}function B(t,e,n){var i=ae(t),r=(!ht.boxSizingReliable()||n)&&"border-box"===mt.css(t,"boxSizing",!1,i),o=r,a=N(t,e,i),s="offset"+e[0].toUpperCase()+e.slice(1);if(oe.test(a)){if(!n)return a;a="auto"}return(!ht.boxSizingReliable()&&r||!ht.reliableTrDimensions()&&l(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===mt.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===mt.css(t,"boxSizing",!1,i),(o=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+U(t,e,n||(r?"border":"content"),o,i,a)+"px"}function z(t,e,n,i,r){return new z.prototype.init(t,e,n,i,r)}function H(){me&&(!1===gt.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(H):n.setTimeout(H,mt.fx.interval),mt.fx.tick())}function W(){return n.setTimeout(function(){ve=void 0}),ve=Date.now()}function V(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=Ut[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function q(t,e,n){for(var i,r=(Y.tweeners[e]||[]).concat(Y.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}function Y(t,e,n){var i,r,o=0,a=Y.prefilters.length,s=mt.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=ve||W(),n=Math.max(0,u.startTime+u.duration-e),i=1-(n/u.duration||0),o=0,a=u.tweens.length;o<a;o++)u.tweens[o].run(i);return s.notifyWith(t,[u,i,n]),i<1&&a?n:(a||s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:mt.extend({},e),opts:mt.extend(!0,{specialEasing:{},easing:mt.easing._default},n),originalProperties:e,originalOptions:n,startTime:ve||W(),duration:n.duration,tweens:[],createTween:function(e,n){var i=mt.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return e?(s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u,e])):s.rejectWith(t,[u,e]),this}}),c=u.props;for((!function(t,e){var n,i,r,o,a;for(n in t)if(r=e[i=v(n)],o=t[n],Array.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(a=mt.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}(c,u.opts.specialEasing));o<a;o++)if(i=Y.prefilters[o].call(u,t,c,u.opts))return ft(i.stop)&&(mt._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return mt.map(c,q,u),ft(u.opts.start)&&u.opts.start.call(t,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),mt.fx.timer(mt.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u}function X(t){return(t.match(Dt)||[]).join(" ")}function G(t){return t.getAttribute&&t.getAttribute("class")||""}function K(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Dt)||[]}function Z(t,e,n,i){var r;if(Array.isArray(e))mt.each(e,function(e,r){n||Me.test(t)?i(t,r):Z(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)});else if(n||"object"!==a(e))i(t,e);else for(r in e)Z(t+"["+r+"]",e[r],n,i)}function Q(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(Dt)||[];if(ft(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function J(t,e,n,i){function r(s){var l;return o[s]=!0,mt.each(t[s]||[],function(t,s){var u=s(e,n,i);return"string"!=typeof u||a||o[u]?a?!(l=u):void 0:(e.dataTypes.unshift(u),r(u),!1)}),l}var o={},a=t===Be;return r(e.dataTypes[0])||!o["*"]&&r("*")}function tt(t,e){var n,i,r=mt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&mt.extend(!0,t,i),t}var et=[],nt=Object.getPrototypeOf,it=et.slice,rt=et.flat?function(t){return et.flat.call(t)}:function(t){return et.concat.apply([],t)},ot=et.push,at=et.indexOf,st={},lt=st.toString,ut=st.hasOwnProperty,ct=ut.toString,dt=ct.call(Object),ht={},ft=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},pt=function(t){return null!=t&&t===t.window},gt=n.document,vt={type:!0,src:!0,nonce:!0,noModule:!0},mt=function(t,e){return new mt.fn.init(t,e)};mt.fn=mt.prototype={jquery:"3.5.0",constructor:mt,length:0,toArray:function(){return it.call(this)},get:function(t){return null==t?it.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=mt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return mt.each(this,t)},map:function(t){return this.pushStack(mt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(it.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(mt.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(mt.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ot,sort:et.sort,splice:et.splice},mt.extend=mt.fn.extend=function(){var t,e,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||ft(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)i=t[e],"__proto__"!==e&&a!==i&&(u&&i&&(mt.isPlainObject(i)||(r=Array.isArray(i)))?(n=a[e],o=r&&!Array.isArray(n)?[]:r||mt.isPlainObject(n)?n:{},r=!1,a[e]=mt.extend(u,o,i)):void 0!==i&&(a[e]=i));return a},mt.extend({expando:"jQuery"+("3.5.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==lt.call(t)||(e=nt(t))&&("function"!=typeof(n=ut.call(e,"constructor")&&e.constructor)||ct.call(n)!==dt))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){o(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(s(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(s(Object(t))?mt.merge(n,"string"==typeof t?[t]:t):ot.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:at.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,a=!n;r<o;r++)!e(t[r],r)!==a&&i.push(t[r]);return i},map:function(t,e,n){var i,r,o=0,a=[];if(s(t))for(i=t.length;o<i;o++)null!=(r=e(t[o],o,n))&&a.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&a.push(r);return rt(a)},guid:1,support:ht}),"function"==typeof Symbol&&(mt.fn[Symbol.iterator]=et[Symbol.iterator]),mt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){st["[object "+e+"]"]=e.toLowerCase()});var yt=function(t){function e(t,e,n,i){var r,o,a,s,l,c,h,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!i&&(A(e),e=e||E,O)){if(11!==p&&(l=gt.exec(t)))if(r=l[1]){if(9===p){if(!(a=e.getElementById(r)))return n;if(a.id===r)return n.push(a),n}else if(f&&(a=f.getElementById(r))&&P(e,a)&&a.id===r)return n.push(a),n}else{if(l[2])return G.apply(n,e.getElementsByTagName(t)),n;if((r=l[3])&&y.getElementsByClassName&&e.getElementsByClassName)return G.apply(n,e.getElementsByClassName(r)),n}if(y.qsa&&!H[t+" "]&&(!$||!$.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(h=t,f=e,1===p&&(st.test(t)||at.test(t))){for((f=vt.test(t)&&u(e.parentNode)||e)===e&&y.scope||((s=e.getAttribute("id"))?s=s.replace(bt,_t):e.setAttribute("id",s=N)),o=(c=w(t)).length;o--;)c[o]=(s?"#"+s:":scope")+" "+d(c[o]);h=c.join(",")}try{return G.apply(n,f.querySelectorAll(h)),n}catch(e){H(t,!0)}finally{s===N&&e.removeAttribute("id")}}}return k(t.replace(rt,"$1"),e,n,i)}function n(){var t=[];return function e(n,i){return t.push(n+" ")>b.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function i(t){return t[N]=!0,t}function r(t){var e=E.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=n.length;i--;)b.attrHandle[n[i]]=e}function a(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&wt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function l(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function u(t){return t&&void 0!==t.getElementsByTagName&&t}function c(){}function d(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function h(t,e,n){var i=e.dir,r=e.next,o=r||i,a=n&&"parentNode"===o,s=R++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||a)return t(e,n,r);return!1}:function(e,n,l){var u,c,d,h=[j,s];if(l){for(;e=e[i];)if((1===e.nodeType||a)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||a)if(c=(d=e[N]||(e[N]={}))[e.uniqueID]||(d[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[i]||e;else{if((u=c[o])&&u[0]===j&&u[1]===s)return h[2]=u[2];if(c[o]=h,h[2]=t(e,n,l))return!0}return!1}}function f(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function p(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,u=null!=e;s<l;s++)(o=t[s])&&(n&&!n(o,i,r)||(a.push(o),u&&e.push(s)));return a}function g(t,n,r,o,a,s){return o&&!o[N]&&(o=g(o)),a&&!a[N]&&(a=g(a,s)),i(function(i,s,l,u){var c,d,h,f=[],g=[],v=s.length,m=i||function(t,n,i){for(var r=0,o=n.length;r<o;r++)e(t,n[r],i);return i}(n||"*",l.nodeType?[l]:l,[]),y=!t||!i&&n?m:p(m,f,t,l,u),b=r?a||(i?t:v||o)?[]:s:y;if(r&&r(y,b,l,u),o)for(c=p(b,g),o(c,[],l,u),d=c.length;d--;)(h=c[d])&&(b[g[d]]=!(y[g[d]]=h));if(i){if(a||t){if(a){for(c=[],d=b.length;d--;)(h=b[d])&&c.push(y[d]=h);a(null,b=[],c,u)}for(d=b.length;d--;)(h=b[d])&&(c=a?Z(i,h):f[d])>-1&&(i[c]=!(s[c]=h))}}else b=p(b===s?b.splice(v,b.length):b),a?a(null,s,b,u):G.apply(s,b)})}function v(t){for(var e,n,i,r=t.length,o=b.relative[t[0].type],a=o||b.relative[" "],s=o?1:0,l=h(function(t){return t===e},a,!0),u=h(function(t){return Z(e,t)>-1},a,!0),c=[function(t,n,i){var r=!o&&(i||n!==S)||((e=n).nodeType?l(t,n,i):u(t,n,i));return e=null,r}];s<r;s++)if(n=b.relative[t[s].type])c=[h(f(c),n)];else{if((n=b.filter[t[s].type].apply(null,t[s].matches))[N]){for(i=++s;i<r&&!b.relative[t[i].type];i++);return g(s>1&&f(c),s>1&&d(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(rt,"$1"),n,s<i&&v(t.slice(s,i)),i<r&&v(t=t.slice(i)),i<r&&d(t))}c.push(n)}return f(c)}var m,y,b,_,x,w,C,k,S,T,D,A,E,M,O,$,I,F,P,N="sizzle"+1*new Date,L=t.document,j=0,R=0,U=n(),B=n(),z=n(),H=n(),W=function(t,e){return t===e&&(D=!0),0},V={}.hasOwnProperty,q=[],Y=q.pop,X=q.push,G=q.push,K=q.slice,Z=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",J="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\[\\da-fA-F]{1,6}"+J+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",et="\\["+J+"*("+tt+")(?:"+J+"*([*^$|!~]?=)"+J+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+J+"*\\]",nt=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+et+")*)|.*)\\)|)",it=new RegExp(J+"+","g"),rt=new RegExp("^"+J+"+|((?:^|[^\\\\])(?:\\\\.)*)"+J+"+$","g"),ot=new RegExp("^"+J+"*,"+J+"*"),at=new RegExp("^"+J+"*([>+~]|"+J+")"+J+"*"),st=new RegExp(J+"|>"),lt=new RegExp(nt),ut=new RegExp("^"+tt+"$"),ct={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+et),PSEUDO:new RegExp("^"+nt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+J+"*(even|odd|(([+-]|)(\\d*)n|)"+J+"*(?:([+-]|)"+J+"*(\\d+)|))"+J+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+J+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+J+"*((?:-\\d)?\\d*)"+J+"*\\)|)(?=[^-]|$)","i")},dt=/HTML$/i,ht=/^(?:input|select|textarea|button)$/i,ft=/^h\d$/i,pt=/^[^{]+\{\s*\[native \w/,gt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vt=/[+~]/,mt=new RegExp("\\\\[\\da-fA-F]{1,6}"+J+"?|\\\\([^\\r\\n\\f])","g"),yt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},bt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_t=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},xt=function(){A()},wt=h(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{G.apply(q=K.call(L.childNodes),L.childNodes),q[L.childNodes.length].nodeType}catch(t){G={apply:q.length?function(t,e){X.apply(t,K.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}for(m in y=e.support={},x=e.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!dt.test(e||n&&n.nodeName||"HTML")},A=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:L;return i!=E&&9===i.nodeType&&i.documentElement?(M=(E=i).documentElement,O=!x(E),L!=E&&(n=E.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",xt,!1):n.attachEvent&&n.attachEvent("onunload",xt)),y.scope=r(function(t){return M.appendChild(t).appendChild(E.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),y.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),y.getElementsByTagName=r(function(t){return t.appendChild(E.createComment("")),!t.getElementsByTagName("*").length}),y.getElementsByClassName=pt.test(E.getElementsByClassName),y.getById=r(function(t){return M.appendChild(t).id=N,!E.getElementsByName||!E.getElementsByName(N).length}),y.getById?(b.filter.ID=function(t){var e=t.replace(mt,yt);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&O){var n=e.getElementById(t);return n?[n]:[]}}):(b.filter.ID=function(t){var e=t.replace(mt,yt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&O){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),b.find.TAG=y.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):y.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},b.find.CLASS=y.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&O)return e.getElementsByClassName(t)},I=[],$=[],(y.qsa=pt.test(E.querySelectorAll))&&(r(function(t){var e;M.appendChild(t).innerHTML="<a id='"+N+"'></a><select id='"+N+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&$.push("[*^$]="+J+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||$.push("\\["+J+"*(?:value|"+Q+")"),t.querySelectorAll("[id~="+N+"-]").length||$.push("~="),(e=E.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||$.push("\\["+J+"*name"+J+"*="+J+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||$.push(":checked"),t.querySelectorAll("a#"+N+"+*").length||$.push(".#.+[+~]"),t.querySelectorAll("\\\f"),$.push("[\\r\\n\\f]")}),r(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=E.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&$.push("name"+J+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&$.push(":enabled",":disabled"),M.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&$.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),$.push(",.*:")})),(y.matchesSelector=pt.test(F=M.matches||M.webkitMatchesSelector||M.mozMatchesSelector||M.oMatchesSelector||M.msMatchesSelector))&&r(function(t){y.disconnectedMatch=F.call(t,"*"),F.call(t,"[s!='']:x"),I.push("!=",nt)}),$=$.length&&new RegExp($.join("|")),I=I.length&&new RegExp(I.join("|")),e=pt.test(M.compareDocumentPosition),P=e||pt.test(M.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},W=e?function(t,e){if(t===e)return D=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!y.sortDetached&&e.compareDocumentPosition(t)===n?t==E||t.ownerDocument==L&&P(L,t)?-1:e==E||e.ownerDocument==L&&P(L,e)?1:T?Z(T,t)-Z(T,e):0:4&n?-1:1)}:function(t,e){if(t===e)return D=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,s=[t],l=[e];if(!r||!o)return t==E?-1:e==E?1:r?-1:o?1:T?Z(T,t)-Z(T,e):0;if(r===o)return a(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;s[i]===l[i];)i++;return i?a(s[i],l[i]):s[i]==L?-1:l[i]==L?1:0},E):E},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if(A(t),y.matchesSelector&&O&&!H[n+" "]&&(!I||!I.test(n))&&(!$||!$.test(n)))try{var i=F.call(t,n);if(i||y.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){H(n,!0)}return e(n,E,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!=E&&A(t),P(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!=E&&A(t);var n=b.attrHandle[e.toLowerCase()],i=n&&V.call(b.attrHandle,e.toLowerCase())?n(t,e,!O):void 0;return void 0!==i?i:y.attributes||!O?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.escape=function(t){return(t+"").replace(bt,_t)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(D=!y.detectDuplicates,T=!y.sortStable&&t.slice(0),t.sort(W),D){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return T=null,t},
-_=e.getText=function(t){var e,n="",i=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)n+=_(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=_(e);return n},(b=e.selectors={cacheLength:50,createPseudo:i,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(mt,yt),t[3]=(t[3]||t[4]||t[5]||"").replace(mt,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,n=!t[6]&&t[2];return ct.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&lt.test(n)&&(e=w(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(mt,yt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=U[t+" "];return e||(e=new RegExp("(^|"+J+")"+t+"("+J+"|$)"))&&U(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(it," ")+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,c,d,h,f,p,g=o!==a?"nextSibling":"previousSibling",v=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(v){if(o){for(;g;){for(h=e;h=h[g];)if(s?h.nodeName.toLowerCase()===m:1===h.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){for(b=(f=(u=(c=(d=(h=v)[N]||(h[N]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]||[])[0]===j&&u[1])&&u[2],h=f&&v.childNodes[f];h=++f&&h&&h[g]||(b=f=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){c[t]=[j,f,b];break}}else if(y&&(b=f=(u=(c=(d=(h=e)[N]||(h[N]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]||[])[0]===j&&u[1]),!1===b)for(;(h=++f&&h&&h[g]||(b=f=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==m:1!==h.nodeType)||!++b||(y&&((c=(d=h[N]||(h[N]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]=[j,b]),h!==e)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,n){var r,o=b.pseudos[t]||b.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[N]?o(n):o.length>1?(r=[t,t,"",n],b.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=o(t,n),a=r.length;a--;)t[i=Z(t,r[a])]=!(e[i]=r[a])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=C(t.replace(rt,"$1"));return r[N]?i(function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(mt,yt),function(e){return(e.textContent||_(e)).indexOf(t)>-1}}),lang:i(function(t){return ut.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(mt,yt).toLowerCase(),function(e){var n;do{if(n=O?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===M},focus:function(t){return t===E.activeElement&&(!E.hasFocus||E.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return ft.test(t.nodeName)},input:function(t){return ht.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,n){return[n<0?n+e:n]}),even:l(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:l(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:l(function(t,e,n){for(var i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t}),gt:l(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[m]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(m);for(m in{submit:!0,reset:!0})b.pseudos[m]=function(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}(m);return c.prototype=b.filters=b.pseudos,b.setFilters=new c,w=e.tokenize=function(t,n){var i,r,o,a,s,l,u,c=B[t+" "];if(c)return n?0:c.slice(0);for(s=t,l=[],u=b.preFilter;s;){for(a in i&&!(r=ot.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),i=!1,(r=at.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(rt," ")}),s=s.slice(i.length)),b.filter)!(r=ct[a].exec(s))||u[a]&&!(r=u[a](r))||(i=r.shift(),o.push({value:i,type:a,matches:r}),s=s.slice(i.length));if(!i)break}return n?s.length:s?e.error(t):B(t,l).slice(0)},C=e.compile=function(t,n){var r,o=[],a=[],s=z[t+" "];if(!s){for(n||(n=w(t)),r=n.length;r--;)(s=v(n[r]))[N]?o.push(s):a.push(s);(s=z(t,function(t,n){var r=n.length>0,o=t.length>0,a=function(i,a,s,l,u){var c,d,h,f=0,g="0",v=i&&[],m=[],y=S,_=i||o&&b.find.TAG("*",u),x=j+=null==y?1:Math.random()||.1,w=_.length;for(u&&(S=a==E||a||u);g!==w&&null!=(c=_[g]);g++){if(o&&c){for(d=0,a||c.ownerDocument==E||(A(c),s=!O);h=t[d++];)if(h(c,a||E,s)){l.push(c);break}u&&(j=x)}r&&((c=!h&&c)&&f--,i&&v.push(c))}if(f+=g,r&&g!==f){for(d=0;h=n[d++];)h(v,m,a,s);if(i){if(f>0)for(;g--;)v[g]||m[g]||(m[g]=Y.call(l));m=p(m)}G.apply(l,m),u&&!i&&m.length>0&&f+n.length>1&&e.uniqueSort(l)}return u&&(j=x,S=y),v};return r?i(a):a}(a,o))).selector=t}return s},k=e.select=function(t,e,n,i){var r,o,a,s,l,c="function"==typeof t&&t,h=!i&&w(t=c.selector||t);if(n=n||[],1===h.length){if((o=h[0]=h[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===e.nodeType&&O&&b.relative[o[1].type]){if(!(e=(b.find.ID(a.matches[0].replace(mt,yt),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=ct.needsContext.test(t)?0:o.length;r--&&(a=o[r],!b.relative[s=a.type]);)if((l=b.find[s])&&(i=l(a.matches[0].replace(mt,yt),vt.test(o[0].type)&&u(e.parentNode)||e))){if(o.splice(r,1),!(t=i.length&&d(o)))return G.apply(n,i),n;break}}return(c||C(t,h))(i,e,!O,n,!e||vt.test(t)&&u(e.parentNode)||e),n},y.sortStable=N.split("").sort(W).join("")===N,y.detectDuplicates=!!D,A(),y.sortDetached=r(function(t){return 1&t.compareDocumentPosition(E.createElement("fieldset"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),y.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(Q,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(n);mt.find=yt,mt.expr=yt.selectors,mt.expr[":"]=mt.expr.pseudos,mt.uniqueSort=mt.unique=yt.uniqueSort,mt.text=yt.getText,mt.isXMLDoc=yt.isXML,mt.contains=yt.contains,mt.escapeSelector=yt.escape;var bt=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&mt(t).is(n))break;i.push(t)}return i},_t=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},xt=mt.expr.match.needsContext,wt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;mt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?mt.find.matchesSelector(i,t)?[i]:[]:mt.find.matches(t,mt.grep(e,function(t){return 1===t.nodeType}))},mt.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(mt(t).filter(function(){for(e=0;e<i;e++)if(mt.contains(r[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)mt.find(t,r[e],n);return i>1?mt.uniqueSort(n):n},filter:function(t){return this.pushStack(u(this,t||[],!1))},not:function(t){return this.pushStack(u(this,t||[],!0))},is:function(t){return!!u(this,"string"==typeof t&&xt.test(t)?mt(t):t||[],!1).length}});var Ct,kt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(mt.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||Ct,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:kt.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof mt?e[0]:e,mt.merge(this,mt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:gt,!0)),wt.test(i[1])&&mt.isPlainObject(e))for(i in e)ft(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=gt.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ft(t)?void 0!==n.ready?n.ready(t):t(mt):mt.makeArray(t,this)}).prototype=mt.fn,Ct=mt(gt);var St=/^(?:parents|prev(?:Until|All))/,Tt={children:!0,contents:!0,next:!0,prev:!0};mt.fn.extend({has:function(t){var e=mt(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(mt.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,r=this.length,o=[],a="string"!=typeof t&&mt(t);if(!xt.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&mt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?mt.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?at.call(mt(t),this[0]):at.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(mt.uniqueSort(mt.merge(this.get(),mt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),mt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return bt(t,"parentNode")},parentsUntil:function(t,e,n){return bt(t,"parentNode",n)},next:function(t){return c(t,"nextSibling")},prev:function(t){return c(t,"previousSibling")},nextAll:function(t){return bt(t,"nextSibling")},prevAll:function(t){return bt(t,"previousSibling")},nextUntil:function(t,e,n){return bt(t,"nextSibling",n)},prevUntil:function(t,e,n){return bt(t,"previousSibling",n)},siblings:function(t){return _t((t.parentNode||{}).firstChild,t)},children:function(t){return _t(t.firstChild)},contents:function(t){return null!=t.contentDocument&&nt(t.contentDocument)?t.contentDocument:(l(t,"template")&&(t=t.content||t),mt.merge([],t.childNodes))}},function(t,e){mt.fn[t]=function(n,i){var r=mt.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=mt.filter(i,r)),this.length>1&&(Tt[t]||mt.uniqueSort(r),St.test(t)&&r.reverse()),this.pushStack(r)}});var Dt=/[^\x20\t\r\n\f]+/g;mt.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return mt.each(t.match(Dt)||[],function(t,n){e[n]=!0}),e}(t):mt.extend({},t);var e,n,i,r,o=[],s=[],l=-1,u=function(){for(r=r||t.once,i=e=!0;s.length;l=-1)for(n=s.shift();++l<o.length;)!1===o[l].apply(n[0],n[1])&&t.stopOnFalse&&(l=o.length,n=!1);t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},c={add:function(){return o&&(n&&!e&&(l=o.length-1,s.push(n)),function e(n){mt.each(n,function(n,i){ft(i)?t.unique&&c.has(i)||o.push(i):i&&i.length&&"string"!==a(i)&&e(i)})}(arguments),n&&!e&&u()),this},remove:function(){return mt.each(arguments,function(t,e){for(var n;(n=mt.inArray(e,o,n))>-1;)o.splice(n,1),n<=l&&l--}),this},has:function(t){return t?mt.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||e||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},mt.extend({Deferred:function(t){var e=[["notify","progress",mt.Callbacks("memory"),mt.Callbacks("memory"),2],["resolve","done",mt.Callbacks("once memory"),mt.Callbacks("once memory"),0,"resolved"],["reject","fail",mt.Callbacks("once memory"),mt.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return mt.Deferred(function(n){mt.each(e,function(e,i){var r=ft(t[i[4]])&&t[i[4]];o[i[1]](function(){var t=r&&r.apply(this,arguments);t&&ft(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(t,i,r){function o(t,e,i,r){return function(){var s=this,l=arguments,u=function(){var n,u;if(!(t<a)){if((n=i.apply(s,l))===e.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,ft(u)?r?u.call(n,o(a,e,d,r),o(a,e,h,r)):(a++,u.call(n,o(a,e,d,r),o(a,e,h,r),o(a,e,d,e.notifyWith))):(i!==d&&(s=void 0,l=[n]),(r||e.resolveWith)(s,l))}},c=r?u:function(){try{u()}catch(n){mt.Deferred.exceptionHook&&mt.Deferred.exceptionHook(n,c.stackTrace),t+1>=a&&(i!==h&&(s=void 0,l=[n]),e.rejectWith(s,l))}};t?c():(mt.Deferred.getStackHook&&(c.stackTrace=mt.Deferred.getStackHook()),n.setTimeout(c))}}var a=0;return mt.Deferred(function(n){e[0][3].add(o(0,n,ft(r)?r:d,n.notifyWith)),e[1][3].add(o(0,n,ft(t)?t:d)),e[2][3].add(o(0,n,ft(i)?i:h))}).promise()},promise:function(t){return null!=t?mt.extend(t,r):r}},o={};return mt.each(e,function(t,n){var a=n[2],s=n[5];r[n[1]]=a.add,s&&a.add(function(){i=s},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),r=it.call(arguments),o=mt.Deferred(),a=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?it.call(arguments):n,--e||o.resolveWith(i,r)}};if(e<=1&&(f(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||ft(r[n]&&r[n].then)))return o.then();for(;n--;)f(r[n],a(n),o.reject);return o.promise()}});var At=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;mt.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&At.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},mt.readyException=function(t){n.setTimeout(function(){throw t})};var Et=mt.Deferred();mt.fn.ready=function(t){return Et.then(t).catch(function(t){mt.readyException(t)}),this},mt.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--mt.readyWait:mt.isReady)||(mt.isReady=!0,!0!==t&&--mt.readyWait>0||Et.resolveWith(gt,[mt]))}}),mt.ready.then=Et.then,"complete"===gt.readyState||"loading"!==gt.readyState&&!gt.documentElement.doScroll?n.setTimeout(mt.ready):(gt.addEventListener("DOMContentLoaded",p),n.addEventListener("load",p));var Mt=function(t,e,n,i,r,o,s){var l=0,u=t.length,c=null==n;if("object"===a(n))for(l in r=!0,n)Mt(t,e,l,n[l],!0,o,s);else if(void 0!==i&&(r=!0,ft(i)||(s=!0),c&&(s?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(mt(t),n)})),e))for(;l<u;l++)e(t[l],n,s?i:i.call(t[l],l,e(t[l],n)));return r?t:c?e.call(t):u?e(t[0],n):o},Ot=/^-ms-/,$t=/-([a-z])/g,It=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};m.uid=1,m.prototype={cache:function(t){var e=t[this.expando];return e||(e=Object.create(null),It(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[v(e)]=n;else for(i in e)r[v(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][v(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(v):(e=v(e))in i?[e]:e.match(Dt)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||mt.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!mt.isEmptyObject(e)}};var Ft=new m,Pt=new m,Nt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Lt=/[A-Z]/g;mt.extend({hasData:function(t){return Pt.hasData(t)||Ft.hasData(t)},data:function(t,e,n){return Pt.access(t,e,n)},removeData:function(t,e){Pt.remove(t,e)},_data:function(t,e,n){return Ft.access(t,e,n)},_removeData:function(t,e){Ft.remove(t,e)}}),mt.fn.extend({data:function(t,e){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(r=Pt.get(o),1===o.nodeType&&!Ft.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=v(i.slice(5)),y(o,i,r[i]));Ft.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){Pt.set(this,t)}):Mt(this,function(e){var n;if(o&&void 0===e)return void 0!==(n=Pt.get(o,t))?n:void 0!==(n=y(o,t))?n:void 0;this.each(function(){Pt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Pt.remove(this,t)})}}),mt.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Ft.get(t,e),n&&(!i||Array.isArray(n)?i=Ft.access(t,e,mt.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=mt.queue(t,e),i=n.length,r=n.shift(),o=mt._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,function(){mt.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Ft.get(t,n)||Ft.access(t,n,{empty:mt.Callbacks("once memory").add(function(){Ft.remove(t,[e+"queue",n])})})}}),mt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?mt.queue(this[0],t):void 0===e?this:this.each(function(){var n=mt.queue(this,t,e);mt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&mt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){mt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=mt.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=Ft.get(o[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var jt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Rt=new RegExp("^(?:([+-])=|)("+jt+")([a-z%]*)$","i"),Ut=["Top","Right","Bottom","Left"],Bt=gt.documentElement,zt=function(t){return mt.contains(t.ownerDocument,t)},Ht={composed:!0};Bt.getRootNode&&(zt=function(t){return mt.contains(t.ownerDocument,t)||t.getRootNode(Ht)===t.ownerDocument});var Wt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&zt(t)&&"none"===mt.css(t,"display")},Vt={};mt.fn.extend({show:function(){return x(this,!0)},hide:function(){return x(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Wt(this)?mt(this).show():mt(this).hide()})}});var qt,Yt,Xt=/^(?:checkbox|radio)$/i,Gt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Kt=/^$|^module$|\/(?:java|ecma)script/i;qt=gt.createDocumentFragment().appendChild(gt.createElement("div")),(Yt=gt.createElement("input")).setAttribute("type","radio"),Yt.setAttribute("checked","checked"),Yt.setAttribute("name","t"),qt.appendChild(Yt),ht.checkClone=qt.cloneNode(!0).cloneNode(!0).lastChild.checked,qt.innerHTML="<textarea>x</textarea>",ht.noCloneChecked=!!qt.cloneNode(!0).lastChild.defaultValue,qt.innerHTML="<option></option>",ht.option=!!qt.lastChild;var Zt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Zt.tbody=Zt.tfoot=Zt.colgroup=Zt.caption=Zt.thead,Zt.th=Zt.td,ht.option||(Zt.optgroup=Zt.option=[1,"<select multiple='multiple'>","</select>"]);var Qt=/<|&#?\w+;/,Jt=/^key/,te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ee=/^([^.]*)(?:\.(.+)|)/;mt.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,d,h,f,p,g,v=Ft.get(t);if(It(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&mt.find.matchesSelector(Bt,r),n.guid||(n.guid=mt.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return void 0!==mt&&mt.event.triggered!==e.type?mt.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(Dt)||[""]).length;u--;)f=g=(s=ee.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),f&&(d=mt.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=mt.event.special[f]||{},c=mt.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&mt.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[f])||((h=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,a)||t.addEventListener&&t.addEventListener(f,a)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),mt.event.global[f]=!0)},remove:function(t,e,n,i,r){var o,a,s,l,u,c,d,h,f,p,g,v=Ft.hasData(t)&&Ft.get(t);if(v&&(l=v.events)){for(u=(e=(e||"").match(Dt)||[""]).length;u--;)if(f=g=(s=ee.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),f){for(d=mt.event.special[f]||{},h=l[f=(i?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)c=h[o],!r&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(t,c));a&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,p,v.handle)||mt.removeEvent(t,f,v.handle),delete l[f])}else for(f in l)mt.event.remove(t,f+e[u],n,i,!0);mt.isEmptyObject(l)&&Ft.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,a,s=new Array(arguments.length),l=mt.event.fix(t),u=(Ft.get(this,"events")||Object.create(null))[l.type]||[],c=mt.event.special[l.type]||{};for(s[0]=l,e=1;e<arguments.length;e++)s[e]=arguments[e];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(a=mt.event.handlers.call(this,l,u),e=0;(r=a[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((mt.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,r,o,a,s=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!("click"===t.type&&t.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],a={},n=0;n<l;n++)void 0===a[r=(i=e[n]).selector+" "]&&(a[r]=i.needsContext?mt(r,this).index(u)>-1:mt.find(r,this,null,[u]).length),a[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return u=this,l<e.length&&s.push({elem:u,handlers:e.slice(l)}),s},addProp:function(t,e){Object.defineProperty(mt.Event.prototype,t,{enumerable:!0,configurable:!0,get:ft(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[mt.expando]?t:new mt.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Xt.test(e.type)&&e.click&&l(e,"input")&&E(e,"click",S),!1},trigger:function(t){var e=this||t;return Xt.test(e.type)&&e.click&&l(e,"input")&&E(e,"click"),!0},_default:function(t){var e=t.target;return Xt.test(e.type)&&e.click&&l(e,"input")&&Ft.get(e,"click")||l(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},mt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},mt.Event=function(t,e){if(!(this instanceof mt.Event))return new mt.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?S:T,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&mt.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[mt.expando]=!0},mt.Event.prototype={constructor:mt.Event,isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=S,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=S,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=S,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},mt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Jt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&te.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},mt.event.addProp),mt.each({focus:"focusin",blur:"focusout"},function(t,e){mt.event.special[t]={setup:function(){return E(this,t,D),!1},trigger:function(){return E(this,t),!0},delegateType:e}}),mt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){mt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,r=t.handleObj;return i&&(i===this||mt.contains(this,i))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),mt.fn.extend({on:function(t,e,n,i){return A(this,t,e,n,i)},one:function(t,e,n,i){return A(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,mt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=T),this.each(function(){mt.event.remove(this,t,n,e)})}});var ne=/<script|<style|<link/i,ie=/checked\s*(?:[^=]|=\s*.checked.)/i,re=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;mt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,o,a,s,l,u,c=t.cloneNode(!0),d=zt(t);if(!(ht.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||mt.isXMLDoc(t)))for(a=w(c),i=0,r=(o=w(t)).length;i<r;i++)s=o[i],l=a[i],"input"===(u=l.nodeName.toLowerCase())&&Xt.test(s.type)?l.checked=s.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=s.defaultValue);if(e)if(n)for(o=o||w(t),a=a||w(c),i=0,r=o.length;i<r;i++)I(o[i],a[i]);else I(t,c);return(a=w(c,"script")).length>0&&C(a,!d&&w(t,"script")),c},cleanData:function(t){for(var e,n,i,r=mt.event.special,o=0;void 0!==(n=t[o]);o++)if(It(n)){if(e=n[Ft.expando]){if(e.events)for(i in e.events)r[i]?mt.event.remove(n,i):mt.removeEvent(n,i,e.handle);n[Ft.expando]=void 0}n[Pt.expando]&&(n[Pt.expando]=void 0)}}}),mt.fn.extend({detach:function(t){return P(this,t,!0)},remove:function(t){return P(this,t)},text:function(t){return Mt(this,function(t){return void 0===t?mt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return F(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||M(this,t).appendChild(t)})},prepend:function(){return F(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=M(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return F(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return F(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(mt.cleanData(w(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return mt.clone(this,t,e)})},html:function(t){return Mt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!ne.test(t)&&!Zt[(Gt.exec(t)||["",""])[1].toLowerCase()]){t=mt.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(mt.cleanData(w(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return F(this,arguments,function(e){var n=this.parentNode;mt.inArray(this,t)<0&&(mt.cleanData(w(this)),n&&n.replaceChild(e,this))},t)}}),mt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){mt.fn[t]=function(t){for(var n,i=[],r=mt(t),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),mt(r[a])[e](n),ot.apply(i,n.get());return this.pushStack(i)}});var oe=new RegExp("^("+jt+")(?!px)[a-z%]+$","i"),ae=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},se=function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=o[r];return i},le=new RegExp(Ut.join("|"),"i");!function(){function t(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Bt.appendChild(u).appendChild(c);var t=n.getComputedStyle(c);i="1%"!==t.top,l=12===e(t.marginLeft),c.style.right="60%",a=36===e(t.right),r=36===e(t.width),c.style.position="absolute",o=12===e(c.offsetWidth/3),Bt.removeChild(u),c=null}}function e(t){return Math.round(parseFloat(t))}var i,r,o,a,s,l,u=gt.createElement("div"),c=gt.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",ht.clearCloneStyle="content-box"===c.style.backgroundClip,mt.extend(ht,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,i,r;return null==s&&(t=gt.createElement("table"),e=gt.createElement("tr"),i=gt.createElement("div"),t.style.cssText="position:absolute;left:-11111px",e.style.height="1px",i.style.height="9px",Bt.appendChild(t).appendChild(e).appendChild(i),r=n.getComputedStyle(e),s=parseInt(r.height)>3,Bt.removeChild(t)),s}}))}()
-;var ue=["Webkit","Moz","ms"],ce=gt.createElement("div").style,de={},he=/^(none|table(?!-c[ea]).+)/,fe=/^--/,pe={position:"absolute",visibility:"hidden",display:"block"},ge={letterSpacing:"0",fontWeight:"400"};mt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=N(t,"opacity");return""===n?"1":n}}}},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,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=v(e),l=fe.test(e),u=t.style;if(l||(e=j(s)),a=mt.cssHooks[e]||mt.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:u[e];"string"==(o=typeof n)&&(r=Rt.exec(n))&&r[1]&&(n=b(t,e,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(mt.cssNumber[s]?"":"px")),ht.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,i){var r,o,a,s=v(e);return fe.test(e)||(e=j(s)),(a=mt.cssHooks[e]||mt.cssHooks[s])&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=N(t,e,i)),"normal"===r&&e in ge&&(r=ge[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),mt.each(["height","width"],function(t,e){mt.cssHooks[e]={get:function(t,n,i){if(n)return!he.test(mt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?B(t,e,i):se(t,pe,function(){return B(t,e,i)})},set:function(t,n,i){var r,o=ae(t),a=!ht.scrollboxSize()&&"absolute"===o.position,s=(a||i)&&"border-box"===mt.css(t,"boxSizing",!1,o),l=i?U(t,e,i,s,o):0;return s&&a&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-U(t,e,"border",!1,o)-.5)),l&&(r=Rt.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=mt.css(t,e)),R(0,n,l)}}}),mt.cssHooks.marginLeft=L(ht.reliableMarginLeft,function(t,e){if(e)return(parseFloat(N(t,"marginLeft"))||t.getBoundingClientRect().left-se(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),mt.each({margin:"",padding:"",border:"Width"},function(t,e){mt.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+Ut[i]+e]=o[i]||o[i-2]||o[0];return r}},"margin"!==t&&(mt.cssHooks[t+e].set=R)}),mt.fn.extend({css:function(t,e){return Mt(this,function(t,e,n){var i,r,o={},a=0;if(Array.isArray(e)){for(i=ae(t),r=e.length;a<r;a++)o[e[a]]=mt.css(t,e[a],!1,i);return o}return void 0!==n?mt.style(t,e,n):mt.css(t,e)},t,e,arguments.length>1)}}),mt.Tween=z,z.prototype={constructor:z,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||mt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(mt.cssNumber[n]?"":"px")},cur:function(){var t=z.propHooks[this.prop];return t&&t.get?t.get(this):z.propHooks._default.get(this)},run:function(t){var e,n=z.propHooks[this.prop];return this.options.duration?this.pos=e=mt.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),n&&n.set?n.set(this):z.propHooks._default.set(this),this}},z.prototype.init.prototype=z.prototype,z.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=mt.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){mt.fx.step[t.prop]?mt.fx.step[t.prop](t):1!==t.elem.nodeType||!mt.cssHooks[t.prop]&&null==t.elem.style[j(t.prop)]?t.elem[t.prop]=t.now:mt.style(t.elem,t.prop,t.now+t.unit)}}},z.propHooks.scrollTop=z.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},mt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},mt.fx=z.prototype.init,mt.fx.step={};var ve,me,ye=/^(?:toggle|show|hide)$/,be=/queueHooks$/;mt.Animation=mt.extend(Y,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return b(n.elem,t,Rt.exec(e),n),n}]},tweener:function(t,e){ft(t)?(e=t,t=["*"]):t=t.match(Dt);for(var n,i=0,r=t.length;i<r;i++)n=t[i],Y.tweeners[n]=Y.tweeners[n]||[],Y.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,r,o,a,s,l,u,c,d="width"in e||"height"in e,h=this,f={},p=t.style,g=t.nodeType&&Wt(t),v=Ft.get(t,"fxshow");for(i in n.queue||(null==(a=mt._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,mt.queue(t,"fx").length||a.empty.fire()})})),e)if(r=e[i],ye.test(r)){if(delete e[i],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!v||void 0===v[i])continue;g=!0}f[i]=v&&v[i]||mt.style(t,i)}if((l=!mt.isEmptyObject(e))||!mt.isEmptyObject(f))for(i in d&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=v&&v.display)&&(u=Ft.get(t,"display")),"none"===(c=mt.css(t,"display"))&&(u?c=u:(x([t],!0),u=t.style.display||u,c=mt.css(t,"display"),x([t]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===mt.css(t,"float")&&(l||(h.done(function(){p.display=u}),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,f)l||(v?"hidden"in v&&(g=v.hidden):v=Ft.access(t,"fxshow",{display:u}),o&&(v.hidden=!g),g&&x([t],!0),h.done(function(){for(i in g||x([t]),Ft.remove(t,"fxshow"),f)mt.style(t,i,f[i])})),l=q(g?v[i]:0,i,h),i in v||(v[i]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?Y.prefilters.unshift(t):Y.prefilters.push(t)}}),mt.speed=function(t,e,n){var i=t&&"object"==typeof t?mt.extend({},t):{complete:n||!n&&e||ft(t)&&t,duration:t,easing:n&&e||e&&!ft(e)&&e};return mt.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in mt.fx.speeds?i.duration=mt.fx.speeds[i.duration]:i.duration=mt.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){ft(i.old)&&i.old.call(this),i.queue&&mt.dequeue(this,i.queue)},i},mt.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Wt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=mt.isEmptyObject(t),o=mt.speed(e,n,i),a=function(){var e=Y(this,mt.extend({},t),o);(r||Ft.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=mt.timers,a=Ft.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&be.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||mt.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=Ft.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=mt.timers,a=i?i.length:0;for(n.finish=!0,mt.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),mt.each(["toggle","show","hide"],function(t,e){var n=mt.fn[e];mt.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(V(e,!0),t,i,r)}}),mt.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){mt.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),mt.timers=[],mt.fx.tick=function(){var t,e=0,n=mt.timers;for(ve=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||mt.fx.stop(),ve=void 0},mt.fx.timer=function(t){mt.timers.push(t),mt.fx.start()},mt.fx.interval=13,mt.fx.start=function(){me||(me=!0,H())},mt.fx.stop=function(){me=null},mt.fx.speeds={slow:600,fast:200,_default:400},mt.fn.delay=function(t,e){return t=mt.fx&&mt.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,i){var r=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(r)}})},function(){var t=gt.createElement("input"),e=gt.createElement("select").appendChild(gt.createElement("option"));t.type="checkbox",ht.checkOn=""!==t.value,ht.optSelected=e.selected,(t=gt.createElement("input")).value="t",t.type="radio",ht.radioValue="t"===t.value}();var _e,xe=mt.expr.attrHandle;mt.fn.extend({attr:function(t,e){return Mt(this,mt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){mt.removeAttr(this,t)})}}),mt.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?mt.prop(t,e,n):(1===o&&mt.isXMLDoc(t)||(r=mt.attrHooks[e.toLowerCase()]||(mt.expr.match.bool.test(e)?_e:void 0)),void 0!==n?null===n?void mt.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=mt.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!ht.radioValue&&"radio"===e&&l(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(Dt);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),_e={set:function(t,e,n){return!1===e?mt.removeAttr(t,n):t.setAttribute(n,n),n}},mt.each(mt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=xe[e]||mt.find.attr;xe[e]=function(t,e,i){var r,o,a=e.toLowerCase();return i||(o=xe[a],xe[a]=r,r=null!=n(t,e,i)?a:null,xe[a]=o),r}});var we=/^(?:input|select|textarea|button)$/i,Ce=/^(?:a|area)$/i;mt.fn.extend({prop:function(t,e){return Mt(this,mt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[mt.propFix[t]||t]})}}),mt.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&mt.isXMLDoc(t)||(e=mt.propFix[e]||e,r=mt.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=mt.find.attr(t,"tabindex");return e?parseInt(e,10):we.test(t.nodeName)||Ce.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ht.optSelected||(mt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),mt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){mt.propFix[this.toLowerCase()]=this}),mt.fn.extend({addClass:function(t){var e,n,i,r,o,a,s,l=0;if(ft(t))return this.each(function(e){mt(this).addClass(t.call(this,e,G(this)))});if((e=K(t)).length)for(;n=this[l++];)if(r=G(n),i=1===n.nodeType&&" "+X(r)+" "){for(a=0;o=e[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(s=X(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,o,a,s,l=0;if(ft(t))return this.each(function(e){mt(this).removeClass(t.call(this,e,G(this)))});if(!arguments.length)return this.attr("class","");if((e=K(t)).length)for(;n=this[l++];)if(r=G(n),i=1===n.nodeType&&" "+X(r)+" "){for(a=0;o=e[a++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(s=X(i))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t,i="string"===n||Array.isArray(t);return"boolean"==typeof e&&i?e?this.addClass(t):this.removeClass(t):ft(t)?this.each(function(n){mt(this).toggleClass(t.call(this,n,G(this),e),e)}):this.each(function(){var e,r,o,a;if(i)for(r=0,o=mt(this),a=K(t);e=a[r++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=G(this))&&Ft.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Ft.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+X(G(n))+" ").indexOf(e)>-1)return!0;return!1}});var ke=/\r/g;mt.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=ft(t),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,mt(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=mt.map(r,function(t){return null==t?"":t+""})),(e=mt.valHooks[this.type]||mt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=mt.valHooks[r.type]||mt.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(ke,""):null==n?"":n:void 0}}),mt.extend({valHooks:{option:{get:function(t){var e=mt.find.attr(t,"value");return null!=e?e:X(mt.text(t))}},select:{get:function(t){var e,n,i,r=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],u=a?o+1:r.length;for(i=o<0?u:a?o:0;i<u;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!l(n.parentNode,"optgroup"))){if(e=mt(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,i,r=t.options,o=mt.makeArray(e),a=r.length;a--;)((i=r[a]).selected=mt.inArray(mt.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),mt.each(["radio","checkbox"],function(){mt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=mt.inArray(mt(t).val(),e)>-1}},ht.checkOn||(mt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),ht.focusin="onfocusin"in n;var Se=/^(?:focusinfocus|focusoutblur)$/,Te=function(t){t.stopPropagation()};mt.extend(mt.event,{trigger:function(t,e,i,r){var o,a,s,l,u,c,d,h,f=[i||gt],p=ut.call(t,"type")?t.type:t,g=ut.call(t,"namespace")?t.namespace.split("."):[];if(a=h=s=i=i||gt,3!==i.nodeType&&8!==i.nodeType&&!Se.test(p+mt.event.triggered)&&(p.indexOf(".")>-1&&(p=(g=p.split(".")).shift(),g.sort()),u=p.indexOf(":")<0&&"on"+p,(t=t[mt.expando]?t:new mt.Event(p,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:mt.makeArray(e,[t]),d=mt.event.special[p]||{},r||!d.trigger||!1!==d.trigger.apply(i,e))){if(!r&&!d.noBubble&&!pt(i)){for(l=d.delegateType||p,Se.test(l+p)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(i.ownerDocument||gt)&&f.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=f[o++])&&!t.isPropagationStopped();)h=a,t.type=o>1?l:d.bindType||p,(c=(Ft.get(a,"events")||Object.create(null))[t.type]&&Ft.get(a,"handle"))&&c.apply(a,e),(c=u&&a[u])&&c.apply&&It(a)&&(t.result=c.apply(a,e),!1===t.result&&t.preventDefault());return t.type=p,r||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),e)||!It(i)||u&&ft(i[p])&&!pt(i)&&((s=i[u])&&(i[u]=null),mt.event.triggered=p,t.isPropagationStopped()&&h.addEventListener(p,Te),i[p](),t.isPropagationStopped()&&h.removeEventListener(p,Te),mt.event.triggered=void 0,s&&(i[u]=s)),t.result}},simulate:function(t,e,n){var i=mt.extend(new mt.Event,n,{type:t,isSimulated:!0});mt.event.trigger(i,null,e)}}),mt.fn.extend({trigger:function(t,e){return this.each(function(){mt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return mt.event.trigger(t,e,n,!0)}}),ht.focusin||mt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){mt.event.simulate(e,t.target,mt.event.fix(t))};mt.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=Ft.access(i,e);r||i.addEventListener(t,n,!0),Ft.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=Ft.access(i,e)-1;r?Ft.access(i,e,r):(i.removeEventListener(t,n,!0),Ft.remove(i,e))}}});var De=n.location,Ae={guid:Date.now()},Ee=/\?/;mt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||mt.error("Invalid XML: "+t),e};var Me=/\[\]$/,Oe=/\r?\n/g,$e=/^(?:submit|button|image|reset|file)$/i,Ie=/^(?:input|select|textarea|keygen)/i;mt.param=function(t,e){var n,i=[],r=function(t,e){var n=ft(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!mt.isPlainObject(t))mt.each(t,function(){r(this.name,this.value)});else for(n in t)Z(n,t[n],e,r);return i.join("&")},mt.fn.extend({serialize:function(){return mt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=mt.prop(this,"elements");return t?mt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!mt(this).is(":disabled")&&Ie.test(this.nodeName)&&!$e.test(t)&&(this.checked||!Xt.test(t))}).map(function(t,e){var n=mt(this).val();return null==n?null:Array.isArray(n)?mt.map(n,function(t){return{name:e.name,value:t.replace(Oe,"\r\n")}}):{name:e.name,value:n.replace(Oe,"\r\n")}}).get()}});var Fe=/%20/g,Pe=/#.*$/,Ne=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,je=/^(?:GET|HEAD)$/,Re=/^\/\//,Ue={},Be={},ze="*/".concat("*"),He=gt.createElement("a");He.href=De.href,mt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:De.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(De.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ze,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":mt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?tt(tt(t,mt.ajaxSettings),e):tt(mt.ajaxSettings,t)},ajaxPrefilter:Q(Ue),ajaxTransport:Q(Be),ajax:function(t,e){function i(t,e,i,s){var u,h,f,_,x,w=e;c||(c=!0,l&&n.clearTimeout(l),r=void 0,a=s||"",C.readyState=t>0?4:0,u=t>=200&&t<300||304===t,i&&(_=function(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,C,i)),!u&&mt.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),_=function(t,e,n,i){var r,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(r in u)if((s=r.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(p,_,C,u),u?(p.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(mt.lastModified[o]=x),(x=C.getResponseHeader("etag"))&&(mt.etag[o]=x)),204===t||"HEAD"===p.type?w="nocontent":304===t?w="notmodified":(w=_.state,h=_.data,u=!(f=_.error))):(f=w,!t&&w||(w="error",t<0&&(t=0))),C.status=t,C.statusText=(e||w)+"",u?m.resolveWith(g,[h,w,C]):m.rejectWith(g,[C,w,f]),C.statusCode(b),b=void 0,d&&v.trigger(u?"ajaxSuccess":"ajaxError",[C,p,u?h:f]),y.fireWith(g,[C,w]),d&&(v.trigger("ajaxComplete",[C,p]),--mt.active||mt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,o,a,s,l,u,c,d,h,f,p=mt.ajaxSetup({},e),g=p.context||p,v=p.context&&(g.nodeType||g.jquery)?mt(g):mt.event,m=mt.Deferred(),y=mt.Callbacks("once memory"),b=p.statusCode||{},_={},x={},w="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Le.exec(a);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(t,e){return null==c&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)C.always(t[C.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||w;return r&&r.abort(e),i(0,e),this}};if(m.promise(C),p.url=((t||p.url||De.href)+"").replace(Re,De.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Dt)||[""],null==p.crossDomain){u=gt.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=He.protocol+"//"+He.host!=u.protocol+"//"+u.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=mt.param(p.data,p.traditional)),J(Ue,p,e,C),c)return C;for(h in(d=mt.event&&p.global)&&0==mt.active++&&mt.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!je.test(p.type),o=p.url.replace(Pe,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Fe,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Ee.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Ne,"$1"),f=(Ee.test(o)?"&":"?")+"_="+Ae.guid+++f),p.url=o+f),p.ifModified&&(mt.lastModified[o]&&C.setRequestHeader("If-Modified-Since",mt.lastModified[o]),mt.etag[o]&&C.setRequestHeader("If-None-Match",mt.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+ze+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(g,C,p)||c))return C.abort();if(w="abort",y.add(p.complete),C.done(p.success),C.fail(p.error),r=J(Be,p,e,C)){if(C.readyState=1,d&&v.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(l=n.setTimeout(function(){C.abort("timeout")},p.timeout));try{c=!1,r.send(_,i)}catch(t){if(c)throw t;i(-1,t)}}else i(-1,"No Transport");return C},getJSON:function(t,e,n){return mt.get(t,e,n,"json")},getScript:function(t,e){return mt.get(t,void 0,e,"script")}}),mt.each(["get","post"],function(t,e){mt[e]=function(t,n,i,r){return ft(n)&&(r=r||i,i=n,n=void 0),mt.ajax(mt.extend({url:t,type:e,dataType:r,data:n,success:i},mt.isPlainObject(t)&&t))}}),mt.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),mt._evalUrl=function(t,e,n){return mt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){mt.globalEval(t,e,n)}})},mt.fn.extend({wrapAll:function(t){var e;return this[0]&&(ft(t)&&(t=t.call(this[0])),e=mt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return ft(t)?this.each(function(e){mt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=mt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=ft(t);return this.each(function(n){mt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){mt(this).replaceWith(this.childNodes)}),this}}),mt.expr.pseudos.hidden=function(t){return!mt.expr.pseudos.visible(t)},mt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},mt.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var We={0:200,1223:204},Ve=mt.ajaxSettings.xhr();ht.cors=!!Ve&&"withCredentials"in Ve,ht.ajax=Ve=!!Ve,mt.ajaxTransport(function(t){var e,i;if(ht.cors||Ve&&!t.crossDomain)return{send:function(r,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);e=function(t){return function(){e&&(e=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(We[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),i=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&i()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),mt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),mt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return mt.globalEval(t),t}}}),mt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),mt.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=mt("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),gt.head.appendChild(e[0])},abort:function(){n&&n()}}});var qe,Ye=[],Xe=/(=)\?(?=&|$)|\?\?/;mt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ye.pop()||mt.expando+"_"+Ae.guid++;return this[t]=!0,t}}),mt.ajaxPrefilter("json jsonp",function(t,e,i){var r,o,a,s=!1!==t.jsonp&&(Xe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xe.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=ft(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Xe,"$1"+r):!1!==t.jsonp&&(t.url+=(Ee.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||mt.error(r+" was not called"),a[0]},t.dataTypes[0]="json",o=n[r],n[r]=function(){a=arguments},i.always(function(){void 0===o?mt(n).removeProp(r):n[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,Ye.push(r)),a&&ft(o)&&o(a[0]),a=o=void 0}),"script"}),ht.createHTMLDocument=((qe=gt.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===qe.childNodes.length),mt.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(ht.createHTMLDocument?((i=(e=gt.implementation.createHTMLDocument("")).createElement("base")).href=gt.location.href,e.head.appendChild(i)):e=gt),r=wt.exec(t),o=!n&&[],r?[e.createElement(r[1])]:(r=k([t],e,o),o&&o.length&&mt(o).remove(),mt.merge([],r.childNodes)));var i,r,o},mt.fn.load=function(t,e,n){var i,r,o,a=this,s=t.indexOf(" ");return s>-1&&(i=X(t.slice(s)),t=t.slice(0,s)),ft(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),a.length>0&&mt.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(i?mt("<div>").append(mt.parseHTML(t)).find(i):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},mt.expr.pseudos.animated=function(t){return mt.grep(mt.timers,function(e){return t===e.elem}).length},mt.offset={setOffset:function(t,e,n){var i,r,o,a,s,l,u=mt.css(t,"position"),c=mt(t),d={};"static"===u&&(t.style.position="relative"),s=c.offset(),o=mt.css(t,"top"),l=mt.css(t,"left"),("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1?(a=(i=c.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),ft(e)&&(e=e.call(t,n,mt.extend({},s))),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+r),"using"in e?e.using.call(t,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),c.css(d))}},mt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){mt.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===mt.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===mt.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=mt(t).offset()).top+=mt.css(t,"borderTopWidth",!0),r.left+=mt.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-mt.css(i,"marginTop",!0),left:e.left-r.left-mt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===mt.css(t,"position");)t=t.offsetParent;return t||Bt})}}),mt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;mt.fn[t]=function(i){return Mt(this,function(t,i,r){var o;if(pt(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r},t,i,arguments.length)}}),mt.each(["top","left"],function(t,e){mt.cssHooks[e]=L(ht.pixelPosition,function(t,n){if(n)return n=N(t,e),oe.test(n)?mt(t).position()[e]+"px":n})}),mt.each({Height:"height",Width:"width"},function(t,e){mt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){mt.fn[i]=function(r,o){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===o?"margin":"border");return Mt(this,function(e,n,r){var o;return pt(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===r?mt.css(e,n,s):mt.style(e,n,r,s)},e,a?r:void 0,a)}})}),mt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){mt.fn[e]=function(t){return this.on(e,t)}}),mt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),mt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){mt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}});var Ge=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;mt.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),ft(t))return i=it.call(arguments,2),(r=function(){return t.apply(e||this,i.concat(it.call(arguments)))}).guid=t.guid=t.guid||mt.guid++,r},mt.holdReady=function(t){t?mt.readyWait++:mt.ready(!0)},mt.isArray=Array.isArray,mt.parseJSON=JSON.parse,mt.nodeName=l,mt.isFunction=ft,mt.isWindow=pt,mt.camelCase=v,mt.type=a,mt.now=Date.now,mt.isNumeric=function(t){var e=mt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},mt.trim=function(t){return null==t?"":(t+"").replace(Ge,"")},void 0===(i=function(){return mt}.apply(e,[]))||(t.exports=i);var Ke=n.jQuery,Ze=n.$;return mt.noConflict=function(t){return n.$===mt&&(n.$=Ze),t&&n.jQuery===mt&&(n.jQuery=Ke),mt},void 0===r&&(n.jQuery=n.$=mt),mt})},"8+8L":function(t,e,n){"use strict";function i(t){this.state=O,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 a(t){return t?t.toLowerCase():""}function s(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 d(t,e,n){var i=r.resolve(t);return arguments.length<2?i:i.then(e,n)}function h(t,e,n){return l(n=n||{})&&(n=n.call(e)),p(t.bind({$vm:e,$options:n}),t,{$options:n})}function f(t,e){var n,i;if(R(t))for(n=0;n<t.length;n++)e.call(t[n],t[n],n);else if(u(t))for(i in t)P.call(t,i)&&e.call(t[i],t[i],i);return t}function p(t){return N.call(arguments,1).forEach(function(e){g(t,e,!0)}),t}function g(t,e,n){for(var i in e)n&&(c(e[i])||R(e[i]))?(c(e[i])&&!c(t[i])&&(t[i]={}),R(e[i])&&!R(t[i])&&(t[i]=[]),g(t[i],e[i],n)):void 0!==e[i]&&(t[i]=e[i])}function v(t,e,n){var i=function(t){var e=["+","#",".","/",";","?","&"],n=[];return{vars:n,expand:function(i){return t.replace(/\{([^{}]+)\}|([^{}]+)/g,function(t,r,o){if(r){var a=null,s=[];if(-1!==e.indexOf(r.charAt(0))&&(a=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach(function(t){var e=/([^:*]*)(?::(\d+)|(\*))?/.exec(t);s.push.apply(s,function(t,e,n,i){var r=t[n],o=[];if(m(r)&&""!==r)if("string"==typeof r||"number"==typeof r||"boolean"==typeof r)r=r.toString(),i&&"*"!==i&&(r=r.substring(0,parseInt(i,10))),o.push(b(e,r,y(e)?n:null));else if("*"===i)Array.isArray(r)?r.filter(m).forEach(function(t){o.push(b(e,t,y(e)?n:null))}):Object.keys(r).forEach(function(t){m(r[t])&&o.push(b(e,r[t],t))});else{var a=[];Array.isArray(r)?r.filter(m).forEach(function(t){a.push(b(e,t))}):Object.keys(r).forEach(function(t){m(r[t])&&(a.push(encodeURIComponent(t)),a.push(b(e,r[t].toString())))}),y(e)?o.push(encodeURIComponent(n)+"="+a.join(",")):0!==a.length&&o.push(a.join(","))}else";"===e?o.push(encodeURIComponent(n)):""!==r||"&"!==e&&"?"!==e?""===r&&o.push(""):o.push(encodeURIComponent(n)+"=");return o}(i,a,e[1],e[2]||e[3])),n.push(e[1])}),a&&"+"!==a){var l=",";return"?"===a?l="&":"#"!==a&&(l=a),(0!==s.length?a:"")+s.join(l)}return s.join(",")}return _(o)})}}}(t),r=i.expand(e);return n&&n.push.apply(n,i.vars),r}function m(t){return void 0!==t&&null!==t}function y(t){return";"===t||"&"===t||"?"===t}function b(t,e,n){return e="+"===t||"#"===t?_(e):encodeURIComponent(e),n?encodeURIComponent(n)+"="+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 n,i=this||{},r=t;return s(t)&&(r={url:t,params:e}),r=p({},x.options,i.$options,r),x.transforms.forEach(function(t){s(t)&&(t=x.transform[t]),l(t)&&(n=function(t,e,n){return function(i){return t.call(n,i,e)}}(t,n,i.$vm))}),n(r)}function w(t){return new r(function(e){var n=new XDomainRequest,i=function(i){var r=i.type,o=0;"load"===r?o=200:"error"===r&&(o=500),e(t.respondWith(n.responseText,{status:o}))};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl()),t.timeout&&(n.timeout=t.timeout),n.onload=i,n.onabort=i,n.onerror=i,n.ontimeout=i,n.onprogress=function(){},n.send(t.getBody())})}function C(t){return new r(function(e){var n,i,r=t.jsonp||"callback",o=t.jsonpCallback||"_jsonp"+Math.random().toString(36).substr(2),a=null;n=function(n){var r=n.type,s=0;"load"===r&&null!==a?s=200:"error"===r&&(s=500),s&&window[o]&&(delete window[o],document.body.removeChild(i)),e(t.respondWith(a,{status:s}))},window[o]=function(t){a=JSON.stringify(t)},t.abort=function(){n({type:"abort"})},t.params[r]=o,t.timeout&&setTimeout(t.abort,t.timeout),(i=document.createElement("script")).src=t.getUrl(),i.type="text/javascript",i.async=!0,i.onload=n,i.onerror=n,document.body.appendChild(i)})}function k(t){return new r(function(e){var n=new XMLHttpRequest,i=function(i){var r=t.respondWith("response"in n?n.response:n.responseText,{status:1223===n.status?204:n.status,statusText:1223===n.status?"No Content":o(n.statusText)});f(o(n.getAllResponseHeaders()).split("\n"),function(t){r.headers.append(t.slice(0,t.indexOf(":")),t.slice(t.indexOf(":")+1))}),e(r)};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl(),!0),t.timeout&&(n.timeout=t.timeout),t.responseType&&"responseType"in n&&(n.responseType=t.responseType),(t.withCredentials||t.credentials)&&(n.withCredentials=!0),t.crossOrigin||t.headers.set("X-Requested-With","XMLHttpRequest"),l(t.progress)&&"GET"===t.method&&n.addEventListener("progress",t.progress),l(t.downloadProgress)&&n.addEventListener("progress",t.downloadProgress),l(t.progress)&&/^(POST|PUT)$/i.test(t.method)&&n.upload.addEventListener("progress",t.progress),l(t.uploadProgress)&&n.upload&&n.upload.addEventListener("progress",t.uploadProgress),t.headers.forEach(function(t,e){n.setRequestHeader(e,t)}),n.onload=i,n.onabort=i,n.onerror=i,n.ontimeout=i,n.send(t.getBody())})}function S(t){var e=n(1);return new r(function(n){var i,r=t.getUrl(),a=t.getBody(),s=t.method,l={};t.headers.forEach(function(t,e){l[e]=t}),e(r,{body:a,method:s,headers:l}).then(i=function(e){var i=t.respondWith(e.body,{status:e.statusCode,statusText:o(e.statusMessage)});f(e.headers,function(t,e){i.headers.set(e,t)}),n(i)},function(t){return i(t.response)})})}function T(t){return(t.client||(j?k:S))(t)}function D(t,e){return Object.keys(t).reduce(function(t,n){return a(e)===a(n)?n:t},null)}function A(t){var e=this||{},n=function(t){function e(e){for(;n.length;){var o=n.pop();if(l(o)){var a=void 0,s=void 0;if(u(a=o.call(t,e,function(t){return s=t})||s))return new r(function(e,n){i.forEach(function(e){a=d(a,function(n){return e.call(t,n)||n},n)}),d(a,e,n)},t);l(a)&&i.unshift(a)}else c="Invalid interceptor of type "+typeof o+", must be a function","undefined"!=typeof console&&L&&console.warn("[VueResource warn]: "+c)}var c}var n=[T],i=[];return u(t)||(t=null),e.use=function(t){n.push(t)},e}(e.$vm);return function(t){N.call(arguments,1).forEach(function(e){for(var n in e)void 0===t[n]&&(t[n]=e[n])})}(t||{},e.$options,A.options),A.interceptors.forEach(function(t){s(t)&&(t=A.interceptor[t]),l(t)&&n.use(t)}),n(new W(t)).then(function(t){return t.ok?t:r.reject(t)},function(t){var e;return t instanceof Error&&(e=t,"undefined"!=typeof console&&console.error(e)),r.reject(t)})}function E(t,e,n,i){var r=this||{},o={};return f(n=U({},E.actions,n),function(n,a){n=p({url:t,params:U({},e)},i,n),o[a]=function(){return(r.$http||A)(function(t,e){var n,i=U({},t),r={};switch(e.length){case 2:r=e[0],n=e[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(i.method)?n=e[0]:r=e[0];break;case 0:break;default:throw"Expected up to 2 arguments [params, body], got "+e.length+" arguments"}return i.body=n,i.params=U({},i.params,r),i}(n,arguments))}}),o}function M(t){var e,n,i;M.installed||(n=(e=t).config,i=e.nextTick,F=i,L=n.debug||!n.silent,t.url=x,t.http=A,t.resource=E,t.Promise=r,Object.defineProperties(t.prototype,{$url:{get:function(){return h(t.url,this,this.$options.url)}},$http:{get:function(){return h(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}},$promise:{get:function(){var e=this;return function(n){return new t.Promise(n,e)}}}}))}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"Url",function(){return x}),n.d(e,"Http",function(){return A}),n.d(e,"Resource",function(){return E});var O=2;i.reject=function(t){return new i(function(e,n){n(t)})},i.resolve=function(t){return new i(function(e,n){e(t)})},i.all=function(t){return new i(function(e,n){var r=0,o=[];0===t.length&&e(o);for(var a=0;a<t.length;a+=1)i.resolve(t[a]).then(function(n){return function(i){o[n]=i,(r+=1)===t.length&&e(o)}}(a),n)})},i.race=function(t){return new i(function(e,n){for(var r=0;r<t.length;r+=1)i.resolve(t[r]).then(e,n)})};var $=i.prototype;$.resolve=function(t){var e=this;if(e.state===O){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=t&&t.then;if(null!==t&&"object"==typeof t&&"function"==typeof i)return void i.call(t,function(t){n||e.resolve(t),n=!0},function(t){n||e.reject(t),n=!0})}catch(t){return void(n||e.reject(t))}e.state=0,e.value=t,e.notify()}},$.reject=function(t){if(this.state===O){if(t===this)throw new TypeError("Promise settled with itself.");this.state=1,this.value=t,this.notify()}},$.notify=function(){var t=this;F(function(){if(t.state!==O)for(;t.deferred.length;){var e=t.deferred.shift(),n=e[0],i=e[1],r=e[2],o=e[3];try{0===t.state?r("function"==typeof n?n.call(void 0,t.value):t.value):1===t.state&&("function"==typeof i?r(i.call(void 0,t.value)):o(t.value))}catch(e){o(e)}}},void 0)},$.then=function(t,e){var n=this;return new i(function(i,r){n.deferred.push([t,e,i,r]),n.notify()})},$.catch=function(t){return this.then(void 0,t)},"undefined"==typeof Promise&&(window.Promise=i),r.all=function(t,e){return new r(Promise.all(t),e)},r.resolve=function(t,e){return new r(Promise.resolve(t),e)},r.reject=function(t,e){return new r(Promise.reject(t),e)},r.race=function(t,e){return new r(Promise.race(t),e)};var I=r.prototype;I.bind=function(t){return this.context=t,this},I.then=function(t,e){return t&&t.bind&&this.context&&(t=t.bind(this.context)),e&&e.bind&&this.context&&(e=e.bind(this.context)),new r(this.promise.then(t,e),this.context)},I.catch=function(t){return t&&t.bind&&this.context&&(t=t.bind(this.context)),new r(this.promise.catch(t),this.context)},I.finally=function(t){return this.then(function(e){return t.call(this),e},function(e){return t.call(this),Promise.reject(e)})};var F,P={}.hasOwnProperty,N=[].slice,L=!1,j="undefined"!=typeof window,R=Array.isArray,U=Object.assign||function(t){return N.call(arguments,1).forEach(function(e){g(t,e)}),t};x.options={url:"",root:null,params:{}},x.transform={template:function(t){var e=[],n=v(t.url,t.params,e);return e.forEach(function(e){delete t.params[e]}),n},query:function(t,e){var n=Object.keys(x.options.params),i={},r=e(t);return f(t.params,function(t,e){-1===n.indexOf(e)&&(i[e]=t)}),(i=x.params(i))&&(r+=(-1==r.indexOf("?")?"?":"&")+i),r},root:function(t,e){var n,i,r=e(t);return s(t.root)&&!/^(https?:)?\//.test(r)&&(n=t.root,i="/",r=(n&&void 0===i?n.replace(/\s+$/,""):n&&i?n.replace(new RegExp("["+i+"]+$"),""):n)+"/"+r),r}},x.transforms=["template","query","root"],x.params=function(t){var e=[],n=encodeURIComponent;return e.add=function(t,e){l(e)&&(e=e()),null===e&&(e=""),this.push(n(t)+"="+n(e))},function t(e,n,i){var r,o=R(n),a=c(n);f(n,function(n,s){r=u(n)||R(n),i&&(s=i+"["+(a||r?s:"")+"]"),!i&&o?e.add(n.name,n.value):r?t(e,n,s):e.add(s,n)})}(e,t),e.join("&").replace(/%20/g,"+")},x.parse=function(t){var e=document.createElement("a");return document.documentMode&&(e.href=t,t=e.href),e.href=t,{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",port:e.port,host:e.host,hostname:e.hostname,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):""}};var B=j&&"withCredentials"in new XMLHttpRequest,z=function(t){var e=this;this.map={},f(t,function(t,n){return e.append(n,t)})};z.prototype.has=function(t){return null!==D(this.map,t)},z.prototype.get=function(t){var e=this.map[D(this.map,t)];return e?e.join():null},z.prototype.getAll=function(t){return this.map[D(this.map,t)]||[]},z.prototype.set=function(t,e){this.map[function(t){if(/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return o(t)}(D(this.map,t)||t)]=[o(e)]},z.prototype.append=function(t,e){var n=this.map[D(this.map,t)];n?n.push(o(e)):this.set(t,e)},z.prototype.delete=function(t){delete this.map[D(this.map,t)]},z.prototype.deleteAll=function(){this.map={}},z.prototype.forEach=function(t,e){var n=this;f(this.map,function(i,r){f(i,function(i){return t.call(e,i,r,n)})})};var H=function(t,e){var n=e.url,i=e.headers,o=e.status,a=e.statusText;this.url=n,this.ok=o>=200&&o<300,this.status=o||0,this.statusText=a||"",this.headers=new z(i),this.body=t,s(t)?this.bodyText=t:"undefined"!=typeof Blob&&t instanceof Blob&&(this.bodyBlob=t,function(t){return 0===t.type.indexOf("text")||-1!==t.type.indexOf("json")}(t)&&(this.bodyText=function(t){return new r(function(e){var n=new FileReader;n.readAsText(t),n.onload=function(){e(n.result)}})}(t)))};H.prototype.blob=function(){return d(this.bodyBlob)},H.prototype.text=function(){return d(this.bodyText)},H.prototype.json=function(){return d(this.text(),function(t){return JSON.parse(t)})},Object.defineProperty(H.prototype,"data",{get:function(){return this.body},set:function(t){this.body=t}});var W=function(t){var e;this.body=null,this.params={},U(this,t,{method:(e=t.method||"GET",e?e.toUpperCase():"")}),this.headers instanceof z||(this.headers=new z(this.headers))};W.prototype.getUrl=function(){return x(this)},W.prototype.getBody=function(){return this.body},W.prototype.respondWith=function(t,e){return new H(t,U(e||{},{url:this.getUrl()}))};var V={"Content-Type":"application/json;charset=utf-8"};A.options={},A.headers={put:V,post:V,patch:V,delete:V,common:{Accept:"application/json, text/plain, */*"},custom:{}},A.interceptor={before:function(t){l(t.before)&&t.before.call(this,t)},method:function(t){t.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(t.method)&&(t.headers.set("X-HTTP-Method-Override",t.method),t.method="POST")},jsonp:function(t){"JSONP"==t.method&&(t.client=C)},json:function(t){var e=t.headers.get("Content-Type")||"";return u(t.body)&&0===e.indexOf("application/json")&&(t.body=JSON.stringify(t.body)),function(t){return t.bodyText?d(t.text(),function(e){var n,i;if(0===(t.headers.get("Content-Type")||"").indexOf("application/json")||(i=(n=e).match(/^\s*(\[|\{)/))&&{"[":/]\s*$/,"{":/}\s*$/}[i[1]].test(n))try{t.body=JSON.parse(e)}catch(e){t.body=null}else t.body=e;return t}):t}},form:function(t){var e;e=t.body,"undefined"!=typeof FormData&&e instanceof FormData?t.headers.delete("Content-Type"):u(t.body)&&t.emulateJSON&&(t.body=x.params(t.body),t.headers.set("Content-Type","application/x-www-form-urlencoded"))},header:function(t){f(U({},A.headers.common,t.crossOrigin?{}:A.headers.custom,A.headers[a(t.method)]),function(e,n){t.headers.has(n)||t.headers.set(n,e)})},cors:function(t){if(j){var e=x.parse(location.href),n=x.parse(t.getUrl());n.protocol===e.protocol&&n.host===e.host||(t.crossOrigin=!0,t.emulateHTTP=!1,B||(t.client=w))}}},A.interceptors=["before","method","jsonp","json","form","header","cors"],["get","delete","head","jsonp"].forEach(function(t){A[t]=function(e,n){return this(U(n||{},{url:e,method:t}))}}),["post","put","patch"].forEach(function(t){A[t]=function(e,n,i){return this(U(i||{},{url:e,method:t,body:n}))}}),E.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(M),e.default=M},"8Hdb":function(t,e,n){var i=n("pQUU");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("55ec6dfe",i,!0,{})},"8tqk":function(t,e,n){var i=n("XDdR");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("e7dfcece",i,!0,{})},"9ozO":function(t,e){},"9zF9":function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-538f99aa]{cursor:pointer}.m-b-none[data-v-538f99aa]{margin-bottom:0}",""])},"A/e+":function(t,e,n){var i=n("VU/8")(n("5m3O"),n("l4G8"),!1,function(t){n("8tqk")},"data-v-7193ece9",null);t.exports=i.exports},DimI:function(t,e,n){var i=n("9zF9");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("3ca06ca7",i,!0,{})},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},F7gb:function(t,e){},FHXl:function(t,e,n){var i,r,o;!function(a){"use strict";r=[n("7t+N"),n("z1kw")],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)}(function(t){"use strict";function e(e){var n="dragover"===e;return function(i){i.dataTransfer=i.originalEvent&&i.originalEvent.dataTransfer;var r=i.dataTransfer;r&&-1!==t.inArray("Files",r.types)&&!1!==this._trigger(e,t.Event(e,{delegatedEvent:i}))&&(i.preventDefault(),n&&(r.dropEffect="copy"))}}t.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||t('<input type="file"/>').prop("disabled")),t.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),t.support.xhrFormDataFileUpload=!!window.FormData,t.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),t.widget("blueimp.fileupload",{options:{dropZone:t(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,uniqueFilenames:void 0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(e,n){return e=this.messages[e]||e.toString(),n&&t.each(n,function(t,n){e=e.replace("{"+t+"}",n)}),e},formData:function(t){return t.serializeArray()},add:function(e,n){if(e.isDefaultPrevented())return!1;(n.autoUpload||!1!==n.autoUpload&&t(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:t.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var i=t-this.timestamp;return(!this.bitrate||!n||i>n)&&(this.bitrate=(e-this.loaded)*(1e3/i)*8,this.loaded=e,this.timestamp=t),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&t.support.xhrFileUpload||t.support.xhrFormDataFileUpload)},_getFormData:function(e){var n;return"function"===t.type(e.formData)?e.formData(e.form):t.isArray(e.formData)?e.formData:"object"===t.type(e.formData)?(n=[],t.each(e.formData,function(t,e){n.push({name:t,value:e})}),n):[]},_getTotal:function(e){var n=0;return t.each(e,function(t,e){n+=e.size||1}),n},_initProgressObject:function(e){var n={loaded:0,total:0,bitrate:0};e._progress?t.extend(e._progress,n):e._progress=n},_initResponseObject:function(t){var e;if(t._response)for(e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(e,n){if(e.lengthComputable){var i,r=Date.now?Date.now():(new Date).getTime();if(n._time&&n.progressInterval&&r-n._time<n.progressInterval&&e.loaded!==e.total)return;n._time=r,i=Math.floor(e.loaded/e.total*(n.chunkSize||n._progress.total))+(n.uploadedBytes||0),this._progress.loaded+=i-n._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(r,this._progress.loaded,n.bitrateInterval),n._progress.loaded=n.loaded=i,n._progress.bitrate=n.bitrate=n._bitrateTimer.getBitrate(r,i,n.bitrateInterval),this._trigger("progress",t.Event("progress",{delegatedEvent:e}),n),this._trigger("progressall",t.Event("progressall",{delegatedEvent:e}),this._progress)}},_initProgressListener:function(e){var n=this,i=e.xhr?e.xhr():t.ajaxSettings.xhr();i.upload&&(t(i.upload).bind("progress",function(t){var i=t.originalEvent;t.lengthComputable=i.lengthComputable,t.loaded=i.loaded,t.total=i.total,n._onProgress(t,e)}),e.xhr=function(){return i})},_deinitProgressListener:function(e){var n=e.xhr?e.xhr():t.ajaxSettings.xhr();n.upload&&t(n.upload).unbind("progress")},_isInstanceOf:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"},_getUniqueFilename:function(t,e){return e[t=String(t)]?(t=t.replace(/(?: \(([\d]+)\))?(\.[^.]+)?$/,function(t,e,n){return" ("+(e?Number(e)+1:1)+")"+(n||"")}),this._getUniqueFilename(t,e)):(e[t]=!0,t)},_initXHRData:function(e){var n,i=this,r=e.files[0],o=e.multipart||!t.support.xhrFileUpload,a="array"===t.type(e.paramName)?e.paramName[0]:e.paramName;e.headers=t.extend({},e.headers),e.contentRange&&(e.headers["Content-Range"]=e.contentRange),o&&!e.blob&&this._isInstanceOf("File",r)||(e.headers["Content-Disposition"]='attachment; filename="'+encodeURI(r.uploadName||r.name)+'"'),o?t.support.xhrFormDataFileUpload&&(e.postMessage?(n=this._getFormData(e),e.blob?n.push({name:a,value:e.blob}):t.each(e.files,function(i,r){n.push({name:"array"===t.type(e.paramName)&&e.paramName[i]||a,value:r})})):(i._isInstanceOf("FormData",e.formData)?n=e.formData:(n=new FormData,t.each(this._getFormData(e),function(t,e){n.append(e.name,e.value)})),e.blob?n.append(a,e.blob,r.uploadName||r.name):t.each(e.files,function(r,o){if(i._isInstanceOf("File",o)||i._isInstanceOf("Blob",o)){var s=o.uploadName||o.name;e.uniqueFilenames&&(s=i._getUniqueFilename(s,e.uniqueFilenames)),n.append("array"===t.type(e.paramName)&&e.paramName[r]||a,o,s)}})),e.data=n):(e.contentType=r.type||"application/octet-stream",e.data=e.blob||r),e.blob=null},_initIframeSettings:function(e){var n=t("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&n&&n!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(e){var n=t(e.fileInput),i=e.paramName;return i?t.isArray(i)||(i=[i]):(i=[],n.each(function(){for(var e=t(this),n=e.prop("name")||"files[]",r=(e.prop("files")||[1]).length;r;)i.push(n),r-=1}),i.length||(i=[n.prop("name")||"files[]"])),i},_initFormSettings:function(e){e.form&&e.form.length||(e.form=t(e.fileInput.prop("form")),e.form.length||(e.form=t(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===t.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var n=t.extend({},this.options,e);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(e,n,i){var r=t.Deferred(),o=r.promise();return n=n||this.options.context||o,!0===e?r.resolveWith(n,i):!1===e&&r.rejectWith(n,i),o.abort=r.promise,this._enhancePromise(o)},_addConvenienceMethods:function(e,n){var i=this,r=function(e){return t.Deferred().resolveWith(i,e).promise()};n.process=function(e,o){return(e||o)&&(n._processQueue=this._processQueue=(this._processQueue||r([this])).then(function(){return n.errorThrown?t.Deferred().rejectWith(i,[n]).promise():r(arguments)}).then(e,o)),this._processQueue||r([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=!1!==i._trigger("submit",t.Event("submit",{delegatedEvent:e}),this)&&i._onSend(e,this)),this.jqXHR||i._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",i._trigger("fail",null,this),i._getXHRPromise(!1))},n.state=function(){return this.jqXHR?i._getDeferredState(this.jqXHR):this._processQueue?i._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===i._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),n=e&&e.split("-"),i=n&&n.length>1&&parseInt(n[1],10);return i&&i+1},_chunkedUpload:function(e,n){e.uploadedBytes=e.uploadedBytes||0;var i,r,o=this,a=e.files[0],s=a.size,l=e.uploadedBytes,u=e.maxChunkSize||s,c=this._blobSlice,d=t.Deferred(),h=d.promise();return!(!(this._isXHRUpload(e)&&c&&(l||("function"===t.type(u)?u(e):u)<s))||e.data)&&(!!n||(l>=s?(a.error=e.i18n("uploadedBytes"),this._getXHRPromise(!1,e.context,[null,"error",a.error])):(r=function(){var n=t.extend({},e),h=n._progress.loaded;n.blob=c.call(a,l,l+("function"===t.type(u)?u(n):u),a.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+l+"-"+(l+n.chunkSize-1)+"/"+s,o._trigger("chunkbeforesend",null,n),o._initXHRData(n),o._initProgressListener(n),i=(!1!==o._trigger("chunksend",null,n)&&t.ajax(n)||o._getXHRPromise(!1,n.context)).done(function(i,a,u){l=o._getUploadedBytes(u)||l+n.chunkSize,h+n.chunkSize-n._progress.loaded&&o._onProgress(t.Event("progress",{lengthComputable:!0,loaded:l-n.uploadedBytes,total:l-n.uploadedBytes}),n),e.uploadedBytes=n.uploadedBytes=l,n.result=i,n.textStatus=a,n.jqXHR=u,o._trigger("chunkdone",null,n),o._trigger("chunkalways",null,n),l<s?r():d.resolveWith(n.context,[i,a,u])}).fail(function(t,e,i){n.jqXHR=t,n.textStatus=e,n.errorThrown=i,o._trigger("chunkfail",null,n),o._trigger("chunkalways",null,n),d.rejectWith(n.context,[t,e,i])}).always(function(){o._deinitProgressListener(n)})},this._enhancePromise(h),h.abort=function(){return i.abort()},r(),h)))},_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,n,i,r){var o=r._progress.total,a=r._response;r._progress.loaded<o&&this._onProgress(t.Event("progress",{lengthComputable:!0,loaded:o,total:o}),r),a.result=r.result=e,a.textStatus=r.textStatus=n,a.jqXHR=r.jqXHR=i,this._trigger("done",null,r)},_onFail:function(t,e,n,i){var r=i._response;i.recalculateProgress&&(this._progress.loaded-=i._progress.loaded,this._progress.total-=i._progress.total),r.jqXHR=i.jqXHR=t,r.textStatus=i.textStatus=e,r.errorThrown=i.errorThrown=n,this._trigger("fail",null,i)},_onAlways:function(t,e,n,i){this._trigger("always",null,i)},_onSend:function(e,n){n.submit||this._addConvenienceMethods(e,n);var i,r,o,a,s=this,l=s._getAJAXSettings(n),u=function(){return s._sending+=1,l._bitrateTimer=new s._BitrateTimer,i=i||((r||!1===s._trigger("send",t.Event("send",{delegatedEvent:e}),l))&&s._getXHRPromise(!1,l.context,r)||s._chunkedUpload(l)||t.ajax(l)).done(function(t,e,n){s._onDone(t,e,n,l)}).fail(function(t,e,n){s._onFail(t,e,n,l)}).always(function(t,e,n){if(s._deinitProgressListener(l),s._onAlways(t,e,n,l),s._sending-=1,s._active-=1,l.limitConcurrentUploads&&l.limitConcurrentUploads>s._sending)for(var i=s._slots.shift();i;){if("pending"===s._getDeferredState(i)){i.resolve();break}i=s._slots.shift()}0===s._active&&s._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),a=o.then(u)):(this._sequence=this._sequence.then(u,u),a=this._sequence),a.abort=function(){return r=[void 0,"abort","abort"],i?i.abort():(o&&o.rejectWith(l.context,r),u())},this._enhancePromise(a)):u()},_onAdd:function(e,n){var i,r,o,a,s=this,l=!0,u=t.extend({},this.options,n),c=n.files,d=c.length,h=u.limitMultiFileUploads,f=u.limitMultiFileUploadSize,p=u.limitMultiFileUploadSizeOverhead,g=0,v=this._getParamName(u),m=0;if(!d)return!1;if(f&&void 0===c[0].size&&(f=void 0),(u.singleFileUploads||h||f)&&this._isXHRUpload(u))if(u.singleFileUploads||f||!h)if(!u.singleFileUploads&&f)for(o=[],i=[],a=0;a<d;a+=1)g+=c[a].size+p,(a+1===d||g+c[a+1].size+p>f||h&&a+1-m>=h)&&(o.push(c.slice(m,a+1)),(r=v.slice(m,a+1)).length||(r=v),i.push(r),m=a+1,g=0);else i=v;else for(o=[],i=[],a=0;a<d;a+=h)o.push(c.slice(a,a+h)),(r=v.slice(a,a+h)).length||(r=v),i.push(r);else o=[c],i=[v];return n.originalFiles=c,t.each(o||c,function(r,a){var u=t.extend({},n);return u.files=o?a:[a],u.paramName=i[r],s._initResponseObject(u),s._initProgressObject(u),s._addConvenienceMethods(e,u),l=s._trigger("add",t.Event("add",{delegatedEvent:e}),u)}),l},_replaceFileInput:function(e){var n=e.fileInput,i=n.clone(!0),r=n.is(document.activeElement);e.fileInputClone=i,t("<form></form>").append(i)[0].reset(),n.after(i).detach(),r&&i.focus(),t.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(t,e){return e===n[0]?i[0]:e}),n[0]===this.element[0]&&(this.element=i)},_handleFileTreeEntry:function(e,n){var i,r=this,o=t.Deferred(),a=[],s=function(t){t&&!t.entry&&(t.entry=e),o.resolve([t])},l=function(){i.readEntries(function(t){t.length?(a=a.concat(t),l()):function(t){r._handleFileTreeEntries(t,n+e.name+"/").done(function(t){o.resolve(t)}).fail(s)}(a)},s)};return n=n||"",e.isFile?e._file?(e._file.relativePath=n,o.resolve(e._file)):e.file(function(t){t.relativePath=n,o.resolve(t)},s):e.isDirectory?(i=e.createReader(),l()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(e,n){var i=this;return t.when.apply(t,t.map(e,function(t){return i._handleFileTreeEntry(t,n)})).then(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){var n=(e=e||{}).items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(t.map(n,function(t){var e;return t.webkitGetAsEntry?((e=t.webkitGetAsEntry())&&(e._file=t.getAsFile()),e):t.getAsEntry()})):t.Deferred().resolve(t.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){var n,i,r=(e=t(e)).prop("webkitEntries")||e.prop("entries");if(r&&r.length)return this._handleFileTreeEntries(r);if((n=t.makeArray(e.prop("files"))).length)void 0===n[0].name&&n[0].fileName&&t.each(n,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(!(i=e.prop("value")))return t.Deferred().resolve([]).promise();n=[{name:i.replace(/^.*\\/,"")}]}return t.Deferred().resolve(n).promise()},_getFileInputFiles:function(e){return e instanceof t&&1!==e.length?t.when.apply(t,t.map(e,this._getSingleFileInputFiles)).then(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(e){var n=this,i={fileInput:t(e.target),form:t(e.target.form)};this._getFileInputFiles(i.fileInput).always(function(r){i.files=r,n.options.replaceFileInput&&n._replaceFileInput(i),!1!==n._trigger("change",t.Event("change",{delegatedEvent:e}),i)&&n._onAdd(e,i)})},_onPaste:function(e){var n=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,i={files:[]};n&&n.length&&(t.each(n,function(t,e){var n=e.getAsFile&&e.getAsFile();n&&i.files.push(n)}),!1!==this._trigger("paste",t.Event("paste",{delegatedEvent:e}),i)&&this._onAdd(e,i))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,i=e.dataTransfer,r={};i&&i.files&&i.files.length&&(e.preventDefault(),this._getDroppedFiles(i).always(function(i){r.files=i,!1!==n._trigger("drop",t.Event("drop",{delegatedEvent:e}),r)&&n._onAdd(e,r)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{
-paste:this._onPaste})),t.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_destroy:function(){this._destroyEventHandlers()},_setOption:function(e,n){var i=-1!==t.inArray(e,this._specialOptions);i&&this._destroyEventHandlers(),this._super(e,n),i&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):e.fileInput instanceof t||(e.fileInput=t(e.fileInput)),e.dropZone instanceof t||(e.dropZone=t(e.dropZone)),e.pasteZone instanceof t||(e.pasteZone=t(e.pasteZone))},_getRegExp:function(t){var e=t.split("/"),n=e.pop();return e.shift(),new RegExp(e.join("/"),n)},_isRegExpOption:function(e,n){return"url"!==e&&"string"===t.type(n)&&/^\/.*\/[igm]{0,3}$/.test(n)},_initDataAttributes:function(){var e=this,n=this.options,i=this.element.data();t.each(this.element[0].attributes,function(t,r){var o,a=r.name.toLowerCase();/^data-/.test(a)&&(a=a.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),o=i[a],e._isRegExpOption(a,o)&&(o=e._getRegExp(o)),n[a]=o)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(e){var n=this;e&&!this.options.disabled&&(e.fileInput&&!e.files?this._getFileInputFiles(e.fileInput).always(function(t){e.files=t,n._onAdd(null,e)}):(e.files=t.makeArray(e.files),this._onAdd(null,e)))},send:function(e){if(e&&!this.options.disabled){if(e.fileInput&&!e.files){var n,i,r=this,o=t.Deferred(),a=o.promise();return a.abort=function(){return i=!0,n?n.abort():(o.reject(null,"abort","abort"),a)},this._getFileInputFiles(e.fileInput).always(function(t){i||(t.length?(e.files=t,(n=r._onSend(null,e)).then(function(t,e,n){o.resolve(t,e,n)},function(t,e,n){o.reject(t,e,n)})):o.reject())}),this._enhancePromise(a)}if(e.files=t.makeArray(e.files),e.files.length)return this._onSend(null,e)}return this._getXHRPromise(!1,e&&e.context)}})})},"FZ+f":function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var r=(o=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");return[n].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([r]).join("\n")}var o;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},GDnL:function(t,e,n){n("WRGp"),Vue.component("passport-clients",n("A/e+")),Vue.component("passport-authorized-clients",n("ooDj")),Vue.component("passport-personal-access-tokens",n("Lypw")),Vue.component("importer",n("NYlw")),Vue.component("fieldset-default-values",n("+sje"))},HB0T:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"legend[data-v-3bdd24a5]{font-size:13px;font-weight:700;border:0}fieldset>div[data-v-3bdd24a5]{background:#f4f4f4;border:1px solid #d3d6de;margin:0 15px 15px;padding:20px 20px 10px}@media (max-width:992px){legend[data-v-3bdd24a5]{text-align:left!important}}@media (min-width:992px){fieldset>div[data-v-3bdd24a5]{width:55%}}",""])},"I3G/":function(t,e,n){"use strict";(function(e){function n(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function r(t){return!0===t}function o(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function a(t){return null!==t&&"object"==typeof t}function s(t){return"[object Object]"===Sn.call(t)}function l(t){var e=parseFloat(t);return e>=0&&Math.floor(e)===e&&isFinite(t)}function u(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function c(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function h(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function f(t,e){return An.call(t,e)}function p(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function g(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function v(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function m(t,e){for(var n in e)t[n]=e[n];return t}function y(t){for(var e={},n=0;n<t.length;n++)t[n]&&m(e,t[n]);return e}function b(t,e,n){}function _(t,e){if(t===e)return!0;var n=a(t),i=a(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every(function(t,n){return _(t,e[n])});if(r||o)return!1;var s=Object.keys(t),l=Object.keys(e);return s.length===l.length&&s.every(function(n){return _(t[n],e[n])})}catch(t){return!1}}function x(t,e){for(var n=0;n<t.length;n++)if(_(t[n],e))return n;return-1}function w(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function C(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function k(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}function S(t,e,n){if(Rn.errorHandler)Rn.errorHandler.call(null,t,e,n);else{if(!Wn||"undefined"==typeof console)throw t;console.error(t)}}function T(t){return"function"==typeof t&&/native code/.test(t.toString())}function D(t,e,n){t.__proto__=e}function A(t,e,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];k(t,o,e[o])}}function E(t,e){var n;if(a(t))return f(t,"__ob__")&&t.__ob__ instanceof fi?n=t.__ob__:hi.shouldConvert&&!ni()&&(Array.isArray(t)||s(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new fi(t)),e&&n&&n.vmCount++,n}function M(t,e,n,i,r){var o=new si,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set,u=!r&&E(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return si.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(e)&&function t(e){for(var n=void 0,i=0,r=e.length;i<r;i++)(n=e[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&t(n)}(e))),e},set:function(e){var i=s?s.call(t):n;e===i||e!=e&&i!=i||(l?l.call(t,e):n=e,u=!r&&E(e),o.notify())}})}}function O(t,e,n){if(Array.isArray(t)&&l(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(f(t,e))return t[e]=n,n;var i=t.__ob__;return t._isVue||i&&i.vmCount?n:i?(M(i.value,e,n),i.dep.notify(),n):(t[e]=n,n)}function $(t,e){if(Array.isArray(t)&&l(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||f(t,e)&&(delete t[e],n&&n.dep.notify())}}function I(t,e){if(!e)return t;for(var n,i,r,o=Object.keys(e),a=0;a<o.length;a++)i=t[n=o[a]],r=e[n],f(t,n)?s(i)&&s(r)&&I(i,r):O(t,n,r);return t}function F(t,e,n){return n?t||e?function(){var i="function"==typeof e?e.call(n):e,r="function"==typeof t?t.call(n):t;return i?I(i,r):r}:void 0:e?t?function(){return I("function"==typeof e?e.call(this):e,"function"==typeof t?t.call(this):t)}:e:t}function P(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function N(t,e){var n=Object.create(t||null);return e?m(n,e):n}function L(t,e,n){function i(i){var r=pi[i]||gi;u[i]=r(t[i],e[i],n,i)}"function"==typeof e&&(e=e.options),function(t){var e=t.props;if(e){var n,i,r={};if(Array.isArray(e))for(n=e.length;n--;)"string"==typeof(i=e[n])&&(r[Mn(i)]={type:null});else if(s(e))for(var o in e)i=e[o],r[Mn(o)]=s(i)?i:{type:i};t.props=r}}(e),function(t){var e=t.inject;if(Array.isArray(e))for(var n=t.inject={},i=0;i<e.length;i++)n[e[i]]=e[i]}(e),function(t){var e=t.directives;if(e)for(var n in e){var i=e[n];"function"==typeof i&&(e[n]={bind:i,update:i})}}(e);var r=e.extends;if(r&&(t=L(t,r,n)),e.mixins)for(var o=0,a=e.mixins.length;o<a;o++)t=L(t,e.mixins[o],n);var l,u={};for(l in t)i(l);for(l in e)f(t,l)||i(l);return u}function j(t,e,n,i){if("string"==typeof n){var r=t[e];if(f(r,n))return r[n];var o=Mn(n);if(f(r,o))return r[o];var a=On(o);return f(r,a)?r[a]:r[n]||r[o]||r[a]}}function R(t,e,n,i){var r=e[t],o=!f(n,t),a=n[t];if(B(Boolean,r.type)&&(o&&!f(r,"default")?a=!1:B(String,r.type)||""!==a&&a!==In(t)||(a=!0)),void 0===a){a=function(t,e,n){if(f(e,"default")){var i=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"==typeof i&&"Function"!==U(e.type)?i.call(t):i}}(i,r,t);var s=hi.shouldConvert;hi.shouldConvert=!0,E(a),hi.shouldConvert=s}return a}function U(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function B(t,e){if(!Array.isArray(e))return U(e)===U(t);for(var n=0,i=e.length;n<i;n++)if(U(e[n])===U(t))return!0;return!1}function z(t){return new vi(void 0,void 0,void 0,String(t))}function H(t,e){var n=new vi(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return n.ns=t.ns,n.isStatic=t.isStatic,n.key=t.key,n.isComment=t.isComment,n.isCloned=!0,e&&t.children&&(n.children=W(t.children)),n}function W(t,e){for(var n=t.length,i=new Array(n),r=0;r<n;r++)i[r]=H(t[r],e);return i}function V(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var i=n.slice(),r=0;r<i.length;r++)i[r].apply(null,t)}return e.fns=t,e}function q(t,e){return t.plain?-1:e.plain?1:0}function Y(t,e,i,r,o){var a,s,l,u,c=[],d=!1;for(a in t)s=t[a],l=e[a],(u=_i(a)).plain||(d=!0),n(s)||(n(l)?(n(s.fns)&&(s=t[a]=V(s)),u.handler=s,c.push(u)):s!==l&&(l.fns=s,t[a]=l));if(c.length){d&&c.sort(q);for(var h=0;h<c.length;h++){var f=c[h];i(f.name,f.handler,f.once,f.capture,f.passive)}}for(a in e)n(t[a])&&r((u=_i(a)).name,e[a],u.capture)}function X(t,e,o){function a(){o.apply(this,arguments),h(s.fns,a)}var s,l=t[e];n(l)?s=V([a]):i(l.fns)&&r(l.merged)?(s=l).fns.push(a):s=V([l,a]),s.merged=!0,t[e]=s}function G(t,e,n,r,o){if(i(e)){if(f(e,n))return t[n]=e[n],o||delete e[n],!0;if(f(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function K(t){return o(t)?[z(t)]:Array.isArray(t)?function t(e,a){var s,l,u,c=[];for(s=0;s<e.length;s++)n(l=e[s])||"boolean"==typeof l||(u=c[c.length-1],Array.isArray(l)?c.push.apply(c,t(l,(a||"")+"_"+s)):o(l)?Z(u)?u.text+=String(l):""!==l&&c.push(z(l)):Z(l)&&Z(u)?c[c.length-1]=z(u.text+l.text):(r(e._isVList)&&i(l.tag)&&n(l.key)&&i(a)&&(l.key="__vlist"+a+"_"+s+"__"),c.push(l)));return c}(t):void 0}function Z(t){return i(t)&&i(t.text)&&!1===t.isComment}function Q(t,e){return t.__esModule&&t.default&&(t=t.default),a(t)?e.extend(t):t}function J(t){return t.isComment&&t.asyncFactory}function tt(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||J(n)))return n}}function et(t,e,n){n?yi.$once(t,e):yi.$on(t,e)}function nt(t,e){yi.$off(t,e)}function it(t,e,n){yi=t,Y(e,n||{},et,nt)}function rt(t,e){var n={};if(!t)return n;for(var i=[],r=0,o=t.length;r<o;r++){var a=t[r],s=a.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,a.context!==e&&a.functionalContext!==e||!s||null==s.slot)i.push(a);else{var l=a.data.slot,u=n[l]||(n[l]=[]);"template"===a.tag?u.push.apply(u,a.children):u.push(a)}}return i.every(ot)||(n.default=i),n}function ot(t){return t.isComment||" "===t.text}function at(t,e){e=e||{};for(var n=0;n<t.length;n++)Array.isArray(t[n])?at(t[n],e):e[t[n].key]=t[n].fn;return e}function st(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function lt(t,e){if(e){if(t._directInactive=!1,st(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)lt(t.$children[n]);ut(t,"activated")}}function ut(t,e){var n=t.$options[e];if(n)for(var i=0,r=n.length;i<r;i++)try{n[i].call(t)}catch(n){S(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e)}function ct(){var t,e;for(Ti=!0,wi.sort(function(t,e){return t.id-e.id}),Di=0;Di<wi.length;Di++)e=(t=wi[Di]).id,ki[e]=null,t.run();var n=Ci.slice(),i=wi.slice();Di=wi.length=Ci.length=0,ki={},Si=Ti=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,lt(t[e],!0)}(n),function(t){for(var e=t.length;e--;){var n=t[e],i=n.vm;i._watcher===n&&i._isMounted&&ut(i,"updated")}}(i),ii&&Rn.devtools&&ii.emit("flush")}function dt(t,e,n){Oi.get=function(){return this[e][n]},Oi.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Oi)}function ht(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[],o=!t.$parent;hi.shouldConvert=o;for(var a in e)!function(o){r.push(o);var a=R(o,e,n,t);M(i,o,a),o in t||dt(t,"_props",o)}(a);hi.shouldConvert=!0}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?b:g(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;s(e=t._data="function"==typeof e?function(t,e){try{return t.call(e)}catch(t){return S(t,e,"data()"),{}}}(e,t):e||{})||(e={});for(var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);r--;){var o=n[r];i&&f(i,o)||C(o)||dt(t,"_data",o)}E(e,!0)}(t):E(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=ni();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;i||(n[r]=new Ei(t,a||b,b,$i)),r in t||ft(t,r,o)}}(t,e.computed),e.watch&&e.watch!==Qn&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)gt(t,n,i[r]);else gt(t,n,i)}}(t,e.watch)}function ft(t,e,n){var i=!ni();"function"==typeof n?(Oi.get=i?pt(e):n,Oi.set=b):(Oi.get=n.get?i&&!1!==n.cache?pt(e):n.get:b,Oi.set=n.set?n.set:b),Object.defineProperty(t,e,Oi)}function pt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),si.target&&e.depend(),e.value}}function gt(t,e,n,i){return s(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}function vt(t,e){if(t){for(var n=Object.create(null),i=ri?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),r=0;r<i.length;r++)for(var o=i[r],a=t[o],s=e;s;){if(s._provided&&a in s._provided){n[o]=s._provided[a];break}s=s.$parent}return n}}function mt(t,e){for(var n in e)t[Mn(n)]=e[n]}function yt(t,e,o,s,l){if(!n(t)){var u=o.$options._base;if(a(t)&&(t=u.extend(t)),"function"==typeof t){var c;if(n(t.cid)&&void 0===(t=function(t,e,o){if(r(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;if(r(t.loading)&&i(t.loadingComp))return t.loadingComp;if(!i(t.contexts)){var s=t.contexts=[o],l=!0,u=function(){for(var t=0,e=s.length;t<e;t++)s[t].$forceUpdate()},c=w(function(n){t.resolved=Q(n,e),l||u()}),d=w(function(e){i(t.errorComp)&&(t.error=!0,u())}),h=t(c,d);return a(h)&&("function"==typeof h.then?n(t.resolved)&&h.then(c,d):i(h.component)&&"function"==typeof h.component.then&&(h.component.then(c,d),i(h.error)&&(t.errorComp=Q(h.error,e)),i(h.loading)&&(t.loadingComp=Q(h.loading,e),0===h.delay?t.loading=!0:setTimeout(function(){n(t.resolved)&&n(t.error)&&(t.loading=!0,u())},h.delay||200)),i(h.timeout)&&setTimeout(function(){n(t.resolved)&&d(null)},h.timeout))),l=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(o)}(c=t,u,o)))return function(t,e,n,i,r){var o=bi();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:i,tag:r},o}(c,e,o,s,l);e=e||{},Ot(t),i(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.props||(e.props={}))[n]=e.model.value;var o=e.on||(e.on={});i(o[r])?o[r]=[e.model.callback].concat(o[r]):o[r]=e.model.callback}(t.options,e);var d=function(t,e,r){var o=e.options.props;if(!n(o)){var a={},s=t.attrs,l=t.props;if(i(s)||i(l))for(var u in o){var c=In(u);G(a,l,u,c,!0)||G(a,s,u,c,!1)}return a}}(e,t);if(r(t.options.functional))return function(t,e,n,r,o){var a={},s=t.options.props;if(i(s))for(var l in s)a[l]=R(l,s,e||Un);else i(n.attrs)&&mt(a,n.attrs),i(n.props)&&mt(a,n.props);var u=Object.create(r),c=t.options.render.call(null,function(t,e,n,i){return _t(u,t,e,n,i,!0)},{data:n,props:a,children:o,parent:r,listeners:n.on||Un,injections:vt(t.options.inject,r),slots:function(){return rt(o,r)}});return c instanceof vi&&(c.functionalContext=r,c.functionalOptions=t.options,n.slot&&((c.data||(c.data={})).slot=n.slot)),c}(t,d,e,o,s);var h=e.on;if(e.on=e.nativeOn,r(t.options.abstract)){var f=e.slot;e={},f&&(e.slot=f)}!function(t){t.hook||(t.hook={});for(var e=0;e<Fi.length;e++){var n=Fi[e],i=t.hook[n],r=Ii[n];t.hook[n]=i?bt(r,i):r}}(e);var p=t.options.name||l;return new vi("vue-component-"+t.cid+(p?"-"+p:""),e,void 0,void 0,void 0,o,{Ctor:t,propsData:d,listeners:h,tag:l,children:s},c)}}}function bt(t,e){return function(n,i,r,o){t(n,i,r,o),e(n,i,r,o)}}function _t(t,e,a,s,l,u){return(Array.isArray(a)||o(a))&&(l=s,s=a,a=void 0),r(u)&&(l=Ni),function(t,e,r,o,a){if(i(r)&&i(r.__ob__))return bi();if(i(r)&&i(r.is)&&(e=r.is),!e)return bi();Array.isArray(o)&&"function"==typeof o[0]&&((r=r||{}).scopedSlots={default:o[0]},o.length=0),a===Ni?o=K(o):a===Pi&&(o=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(o));var s,l;if("string"==typeof e){var u;l=t.$vnode&&t.$vnode.ns||Rn.getTagNamespace(e),s=Rn.isReservedTag(e)?new vi(Rn.parsePlatformTagName(e),r,o,void 0,void 0,t):i(u=j(t.$options,"components",e))?yt(u,r,t,o,e):new vi(e,r,o,void 0,void 0,t)}else s=yt(e,r,t,o);return i(s)?(l&&function t(e,r){if(e.ns=r,"foreignObject"!==e.tag&&i(e.children))for(var o=0,a=e.children.length;o<a;o++){var s=e.children[o];i(s.tag)&&n(s.ns)&&t(s,r)}}(s,l),s):bi()}(t,e,a,s,l)}function xt(t,e){var n,r,o,s,l;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(a(t))for(s=Object.keys(t),n=new Array(s.length),r=0,o=s.length;r<o;r++)l=s[r],n[r]=e(t[l],l,r);return i(n)&&(n._isVList=!0),n}function wt(t,e,n,i){var r=this.$scopedSlots[t];return r?(n=n||{},i&&(n=m(m({},i),n)),r(n)||e):this.$slots[t]||e}function Ct(t){return j(this.$options,"filters",t)||Pn}function kt(t,e,n){var i=Rn.keyCodes[e]||n;return Array.isArray(i)?-1===i.indexOf(t):i!==t}function St(t,e,n,i,r){if(n&&a(n)){var o;Array.isArray(n)&&(n=y(n));for(var s in n)!function(a){if("class"===a||"style"===a||Dn(a))o=t;else{var s=t.attrs&&t.attrs.type;o=i||Rn.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}a in o||(o[a]=n[a],r&&((t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}))}(s)}return t}function Tt(t,e){var n=this._staticTrees[t];return n&&!e?Array.isArray(n)?W(n):H(n):(At(n=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),"__static__"+t,!1),n)}function Dt(t,e,n){return At(t,"__once__"+e+(n?"_"+n:""),!0),t}function At(t,e,n){if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]&&"string"!=typeof t[i]&&Et(t[i],e+"_"+i,n);else Et(t,e,n)}function Et(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Mt(t,e){if(e&&s(e)){var n=t.on=t.on?m({},t.on):{};for(var i in e){var r=n[i],o=e[i];n[i]=r?[].concat(o,r):o}}return t}function Ot(t){var e=t.options;if(t.super){var n=Ot(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.extendOptions,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=$t(n[o],i[o],r[o]));return e}(t);i&&m(t.extendOptions,i),(e=t.options=L(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function $t(t,e,n){if(Array.isArray(t)){var i=[];n=Array.isArray(n)?n:[n],e=Array.isArray(e)?e:[e];for(var r=0;r<t.length;r++)(e.indexOf(t[r])>=0||n.indexOf(t[r])<0)&&i.push(t[r]);return i}return t}function It(t){this._init(t)}function Ft(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name,a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=L(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)dt(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)ft(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Ln.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=m({},a.options),r[i]=a,a}}function Pt(t){return t&&(t.Ctor.options.name||t.tag)}function Nt(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===Sn.call(n)&&t.test(e));var n}function Lt(t,e,n){for(var i in t){var r=t[i];if(r){var o=Pt(r.componentOptions);o&&!n(o)&&(r!==e&&jt(r),t[i]=null)}}}function jt(t){t&&t.componentInstance.$destroy()}function Rt(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode).data&&(e=Ut(r.data,e));for(;i(n=n.parent);)n.data&&(e=Ut(e,n.data));return function(t,e){return i(t)||i(e)?Bt(t,zt(e)):""}(e.staticClass,e.class)}function Ut(t,e){return{staticClass:Bt(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Bt(t,e){return t?e?t+" "+e:t:e||""}function zt(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=zt(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):a(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}function Ht(t){return or(t)?"svg":"math"===t?"math":void 0}function Wt(t){if("string"==typeof t){return document.querySelector(t)||document.createElement("div")}return t}function Vt(t,e){var n=t.data.ref;if(n){var i=t.context,r=t.componentInstance||t.elm,o=i.$refs;e?Array.isArray(o[n])?h(o[n],r):o[n]===r&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(r)<0&&o[n].push(r):o[n]=[r]:o[n]=r}}function qt(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||lr(r)&&lr(o)}(t,e)||r(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function Yt(t,e,n){var r,o,a={};for(r=e;r<=n;++r)i(o=t[r].key)&&(a[o]=r);return a}function Xt(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,i,r,o=t===dr,a=e===dr,s=Gt(t.data.directives,t.context),l=Gt(e.data.directives,e.context),u=[],c=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,Zt(r,"update",e,t),r.def&&r.def.componentUpdated&&c.push(r)):(Zt(r,"bind",e,t),r.def&&r.def.inserted&&u.push(r));if(u.length){var d=function(){for(var n=0;n<u.length;n++)Zt(u[n],"inserted",e,t)};o?X(e.data.hook||(e.data.hook={}),"insert",d):d()}if(c.length&&X(e.data.hook||(e.data.hook={}),"postpatch",function(){for(var n=0;n<c.length;n++)Zt(c[n],"componentUpdated",e,t)}),!o)for(n in s)l[n]||Zt(s[n],"unbind",t,t,a)}(t,e)}function Gt(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++)(i=t[n]).modifiers||(i.modifiers=pr),r[Kt(i)]=i,i.def=j(e.$options,"directives",i.name);return r}function Kt(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Zt(t,e,n,i,r){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,i,r)}catch(i){S(i,n.context,"directive "+t.name+" "+e+" hook")}}function Qt(t,e){var r=e.componentOptions;if(!(i(r)&&!1===r.Ctor.options.inheritAttrs||n(t.data.attrs)&&n(e.data.attrs))){var o,a,s=e.elm,l=t.data.attrs||{},u=e.data.attrs||{};for(o in i(u.__ob__)&&(u=e.data.attrs=m({},u)),u)a=u[o],l[o]!==a&&Jt(s,o,a);for(o in Yn&&u.value!==l.value&&Jt(s,"value",u.value),l)n(u[o])&&(tr(o)?s.removeAttributeNS(Ji,er(o)):Zi(o)||s.removeAttribute(o))}}function Jt(t,e,n){Qi(e)?nr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Zi(e)?t.setAttribute(e,nr(n)||"false"===n?"false":"true"):tr(e)?nr(n)?t.removeAttributeNS(Ji,er(e)):t.setAttributeNS(Ji,e,n):nr(n)?t.removeAttribute(e):t.setAttribute(e,n)}function te(t,e){var r=e.elm,o=e.data,a=t.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=Rt(e),l=r._transitionClasses;i(l)&&(s=Bt(s,zt(l))),s!==r._prevClass&&(r.setAttribute("class",s),r._prevClass=s)}}function ee(t){function e(){(a||(a=[])).push(t.slice(p,r).trim()),p=r+1}var n,i,r,o,a,s=!1,l=!1,u=!1,c=!1,d=0,h=0,f=0,p=0;for(r=0;r<t.length;r++)if(i=n,n=t.charCodeAt(r),s)39===n&&92!==i&&(s=!1);else if(l)34===n&&92!==i&&(l=!1);else if(u)96===n&&92!==i&&(u=!1);else if(c)47===n&&92!==i&&(c=!1);else if(124!==n||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||d||h||f){switch(n){case 34:l=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:f++;break;case 41:f--;break;case 91:h++;break;case 93:h--;break;case 123:d++;break;case 125:d--}if(47===n){for(var g=r-1,v=void 0;g>=0&&" "===(v=t.charAt(g));g--);v&&yr.test(v)||(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(),a)for(r=0;r<a.length;r++)o=ne(o,a[r]);return o}function ne(t,e){var n=e.indexOf("(");return n<0?'_f("'+e+'")('+t+")":'_f("'+e.slice(0,n)+'")('+t+","+e.slice(n+1)}function ie(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,n){(t.props||(t.props=[])).push({name:e,value:n})}function ae(t,e,n){(t.attrs||(t.attrs=[])).push({name:e,value:n})}function se(t,e,n,i,r,o){(t.directives||(t.directives=[])).push({name:e,rawName:n,value:i,arg:r,modifiers:o})}function le(t,e,n,i,r,o){var a;i&&i.capture&&(delete i.capture,e="!"+e),i&&i.once&&(delete i.once,e="~"+e),i&&i.passive&&(delete i.passive,e="&"+e),i&&i.native?(delete i.native,a=t.nativeEvents||(t.nativeEvents={})):a=t.events||(t.events={});var s={value:n,modifiers:i},l=a[e];Array.isArray(l)?r?l.unshift(s):l.push(s):a[e]=l?r?[s,l]:[l,s]:s}function ue(t,e,n){var i=ce(t,":"+e)||ce(t,"v-bind:"+e);if(null!=i)return ee(i);if(!1!==n){var r=ce(t,e);if(null!=r)return JSON.stringify(r)}}function ce(t,e){var n;if(null!=(n=t.attrsMap[e]))for(var i=t.attrsList,r=0,o=i.length;r<o;r++)if(i[r].name===e){i.splice(r,1);break}return n}function de(t,e,n){var i=n||{},r=i.number,o="$$v";i.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(o="_n("+o+")");var a=he(e,o);t.model={value:"("+e+")",expression:'"'+e+'"',callback:"function ($$v) {"+a+"}"}}function he(t,e){var n=function(t){if(Ui=(Bi=t).length,Hi=Wi=Vi=0,t.indexOf("[")<0||t.lastIndexOf("]")<Ui-1)return{exp:t,idx:null};for(;!pe();)ge(zi=fe())?me(zi):91===zi&&ve(zi);return{exp:t.substring(0,Wi),idx:t.substring(Wi+1,Vi)}}(t);return null===n.idx?t+"="+e:"$set("+n.exp+", "+n.idx+", "+e+")"}function fe(){return Bi.charCodeAt(++Hi)}function pe(){return Hi>=Ui}function ge(t){return 34===t||39===t}function ve(t){var e=1;for(Wi=Hi;!pe();)if(ge(t=fe()))me(t);else if(91===t&&e++,93===t&&e--,0===e){Vi=Hi;break}}function me(t){for(var e=t;!pe()&&(t=fe())!==e;);}function ye(t,e,n,i,r){if(n){var o=e,a=qi;e=function(n){null!==(1===arguments.length?o(n):o.apply(null,arguments))&&be(t,e,i,a)}}qi.addEventListener(t,e,Jn?{capture:i,passive:r}:i)}function be(t,e,n,i){(i||qi).removeEventListener(t,e,n)}function _e(t,e){if(!n(t.data.on)||!n(e.data.on)){var r=e.data.on||{},o=t.data.on||{};qi=e.elm,function(t){var e;i(t[br])&&(t[e=qn?"change":"input"]=[].concat(t[br],t[e]||[]),delete t[br]),i(t[_r])&&(t[e=Zn?"click":"change"]=[].concat(t[_r],t[e]||[]),delete t[_r])}(r),Y(r,o,ye,be,e.context)}}function xe(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var r,o,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(r in i(l.__ob__)&&(l=e.data.domProps=m({},l)),s)n(l[r])&&(a[r]="");for(r in l)if(o=l[r],"textContent"!==r&&"innerHTML"!==r||(e.children&&(e.children.length=0),o!==s[r]))if("value"===r){a._value=o;var u=n(o)?"":String(o);we(a,e,u)&&(a.value=u)}else a[r]=o}}function we(t,e,n){return!t.composing&&("option"===e.tag||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,n)||function(t,e){var n=t.value,r=t._vModifiers;return i(r)&&r.number?c(n)!==c(e):i(r)&&r.trim?n.trim()!==e.trim():n!==e}(t,n))}function Ce(t){var e=ke(t.style);return t.staticStyle?m(t.staticStyle,e):e}function ke(t){return Array.isArray(t)?y(t):"string"==typeof t?Cr(t):t}function Se(t,e){var r=e.data,o=t.data;if(!(n(r.staticStyle)&&n(r.style)&&n(o.staticStyle)&&n(o.style))){var a,s,l=e.elm,u=o.staticStyle,c=o.normalizedStyle||o.style||{},d=u||c,h=ke(e.data.style)||{};e.data.normalizedStyle=i(h.__ob__)?m({},h):h;var f=function(t,e){for(var n,i={},r=t;r.componentInstance;)(r=r.componentInstance._vnode).data&&(n=Ce(r.data))&&m(i,n);(n=Ce(t.data))&&m(i,n);for(var o=t;o=o.parent;)o.data&&(n=Ce(o.data))&&m(i,n);return i}(e);for(s in d)n(f[s])&&Tr(l,s,"");for(s in f)(a=f[s])!==d[s]&&Tr(l,s,null==a?"":a)}}function Te(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function De(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ae(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&m(e,Mr(t.name||"v")),m(e,t),e}return"string"==typeof t?Mr(t):void 0}}function Ee(t){jr(function(){jr(t)})}function Me(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Te(t,e))}function Oe(t,e){t._transitionClasses&&h(t._transitionClasses,e),De(t,e)}function $e(t,e,n){var i=Ie(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===$r?Pr:Lr,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout(function(){l<a&&u()},o+1),t.addEventListener(s,c)}function Ie(t,e){var n,i=window.getComputedStyle(t),r=i[Fr+"Delay"].split(", "),o=i[Fr+"Duration"].split(", "),a=Fe(r,o),s=i[Nr+"Delay"].split(", "),l=i[Nr+"Duration"].split(", "),u=Fe(s,l),c=0,d=0;return e===$r?a>0&&(n=$r,c=a,d=o.length):e===Ir?u>0&&(n=Ir,c=u,d=l.length):d=(n=(c=Math.max(a,u))>0?a>u?$r:Ir:null)?n===$r?o.length:l.length:0,{type:n,timeout:c,propCount:d,hasTransform:n===$r&&Rr.test(i[Fr+"Property"])}}function Fe(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Pe(e)+Pe(t[n])}))}function Pe(t){return 1e3*Number(t.slice(0,-1))}function Ne(t,e){var r=t.elm;i(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var o=Ae(t.data.transition);if(!n(o)&&!i(r._enterCb)&&1===r.nodeType){for(var s=o.css,l=o.type,u=o.enterClass,d=o.enterToClass,h=o.enterActiveClass,f=o.appearClass,p=o.appearToClass,g=o.appearActiveClass,v=o.beforeEnter,m=o.enter,y=o.afterEnter,b=o.enterCancelled,_=o.beforeAppear,x=o.appear,C=o.afterAppear,k=o.appearCancelled,S=o.duration,T=xi,D=xi.$vnode;D&&D.parent;)T=(D=D.parent).context;var A=!T._isMounted||!t.isRootInsert;if(!A||x||""===x){var E=A&&f?f:u,M=A&&g?g:h,O=A&&p?p:d,$=A&&_||v,I=A&&"function"==typeof x?x:m,F=A&&C||y,P=A&&k||b,N=c(a(S)?S.enter:S),L=!1!==s&&!Yn,j=Re(I),R=r._enterCb=w(function(){L&&(Oe(r,O),Oe(r,M)),R.cancelled?(L&&Oe(r,E),P&&P(r)):F&&F(r),r._enterCb=null});t.data.show||X(t.data.hook||(t.data.hook={}),"insert",function(){var e=r.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),I&&I(r,R)}),$&&$(r),
-L&&(Me(r,E),Me(r,M),Ee(function(){Me(r,O),Oe(r,E),R.cancelled||j||(je(N)?setTimeout(R,N):$e(r,l,R))})),t.data.show&&(e&&e(),I&&I(r,R)),L||j||R()}}}function Le(t,e){function r(){k.cancelled||(t.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[t.key]=t),p&&p(o),_&&(Me(o,d),Me(o,f),Ee(function(){Me(o,h),Oe(o,d),k.cancelled||x||(je(C)?setTimeout(k,C):$e(o,u,k))})),g&&g(o,k),_||x||k())}var o=t.elm;i(o._enterCb)&&(o._enterCb.cancelled=!0,o._enterCb());var s=Ae(t.data.transition);if(n(s))return e();if(!i(o._leaveCb)&&1===o.nodeType){var l=s.css,u=s.type,d=s.leaveClass,h=s.leaveToClass,f=s.leaveActiveClass,p=s.beforeLeave,g=s.leave,v=s.afterLeave,m=s.leaveCancelled,y=s.delayLeave,b=s.duration,_=!1!==l&&!Yn,x=Re(g),C=c(a(b)?b.leave:b),k=o._leaveCb=w(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[t.key]=null),_&&(Oe(o,h),Oe(o,f)),k.cancelled?(_&&Oe(o,d),m&&m(o)):(e(),v&&v(o)),o._leaveCb=null});y?y(r):r()}}function je(t){return"number"==typeof t&&!isNaN(t)}function Re(t){if(n(t))return!1;var e=t.fns;return i(e)?Re(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Ue(t,e){!0!==e.data.show&&Ne(e)}function Be(t,e,n){ze(t,e,n),(qn||Xn)&&setTimeout(function(){ze(t,e,n)},0)}function ze(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=t.options.length;s<l;s++)if(a=t.options[s],r)o=x(i,We(a))>-1,a.selected!==o&&(a.selected=o);else if(_(We(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function He(t,e){return e.every(function(e){return!_(e,t)})}function We(t){return"_value"in t?t._value:t.value}function Ve(t){t.target.composing=!0}function qe(t){t.target.composing&&(t.target.composing=!1,Ye(t.target,"input"))}function Ye(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Xe(t){return!t.componentInstance||t.data&&t.data.transition?t:Xe(t.componentInstance._vnode)}function Ge(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ge(tt(e.children)):t}function Ke(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[Mn(o)]=r[o];return e}function Ze(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Qe(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Je(t){t.data.newPos=t.elm.getBoundingClientRect()}function tn(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}function en(t,e){var n=e?Jr(e):Zr;if(n.test(t)){for(var i,r,o=[],a=n.lastIndex=0;i=n.exec(t);){(r=i.index)>a&&o.push(JSON.stringify(t.slice(a,r)));var s=ee(i[1].trim());o.push("_s("+s+")"),a=r+i[0].length}return a<t.length&&o.push(JSON.stringify(t.slice(a))),o.join("+")}}function nn(t,e){var n=e?$o:Oo;return t.replace(n,function(t){return Mo[t]})}function rn(t,e){function n(t){t.pre&&(s=!1),Co(t.tag)&&(l=!1)}yo=e.warn||ie,Co=e.isPreTag||Fn,ko=e.mustUseProp||Fn,So=e.getTagNamespace||Fn,_o=re(e.modules,"transformNode"),xo=re(e.modules,"preTransformNode"),wo=re(e.modules,"postTransformNode"),bo=e.delimiters;var i,r,o=[],a=!1!==e.preserveWhitespace,s=!1,l=!1;return function(t,e){function n(e){c+=e,t=t.substring(e)}function i(t,n,i){var r,s;if(null==n&&(n=c),null==i&&(i=c),t&&(s=t.toLowerCase()),t)for(r=a.length-1;r>=0&&a[r].lowerCasedTag!==s;r--);else r=0;if(r>=0){for(var l=a.length-1;l>=r;l--)e.end&&e.end(a[l].tag,n,i);a.length=r,o=r&&a[r-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,i):"p"===s&&(e.start&&e.start(t,[],!1,n,i),e.end&&e.end(t,n,i))}for(var r,o,a=[],s=e.expectHTML,l=e.isUnaryTag||Fn,u=e.canBeLeftOpenTag||Fn,c=0;t;){if(r=t,o&&Ao(o)){var d=0,h=o.toLowerCase(),f=Eo[h]||(Eo[h]=new RegExp("([\\s\\S]*?)(</"+h+"[^>]*>)","i")),p=t.replace(f,function(t,n,i){return d=i.length,Ao(h)||"noscript"===h||(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Fo(h,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});c+=t.length-p.length,t=p,i(h,c-d,c)}else{var g=t.indexOf("<");if(0===g){if(go.test(t)){var v=t.indexOf("--\x3e");if(v>=0){e.shouldKeepComment&&e.comment(t.substring(4,v)),n(v+3);continue}}if(vo.test(t)){var m=t.indexOf("]>");if(m>=0){n(m+2);continue}}var y=t.match(po);if(y){n(y[0].length);continue}var b=t.match(fo);if(b){var _=c;n(b[0].length),i(b[1],_,c);continue}var x=function(){var e=t.match(co);if(e){var i,r,o={tagName:e[1],attrs:[],start:c};for(n(e[0].length);!(i=t.match(ho))&&(r=t.match(so));)n(r[0].length),o.attrs.push(r);if(i)return o.unarySlash=i[1],n(i[0].length),o.end=c,o}}();if(x){(function(t){var n=t.tagName,r=t.unarySlash;s&&("p"===o&&ro(n)&&i(o),u(n)&&o===n&&i(n));for(var c=l(n)||!!r,d=t.attrs.length,h=new Array(d),f=0;f<d;f++){var p=t.attrs[f];mo&&-1===p[0].indexOf('""')&&(""===p[3]&&delete p[3],""===p[4]&&delete p[4],""===p[5]&&delete p[5]);var g=p[3]||p[4]||p[5]||"";h[f]={name:p[1],value:nn(g,e.shouldDecodeNewlines)}}c||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h}),o=n),e.start&&e.start(n,h,c,t.start,t.end)})(x),Fo(o,t)&&n(1);continue}}var w=void 0,C=void 0,k=void 0;if(g>=0){for(C=t.slice(g);!(fo.test(C)||co.test(C)||go.test(C)||vo.test(C)||(k=C.indexOf("<",1))<0);)g+=k,C=t.slice(g);w=t.substring(0,g),n(g)}g<0&&(w=t,t=""),e.chars&&w&&e.chars(w)}if(t===r){e.chars&&e.chars(t);break}}i()}(t,{warn:yo,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldKeepComment:e.comments,start:function(t,a,u){var c=r&&r.ns||So(t);qn&&"svg"===c&&(a=function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];Ho.test(i.name)||(i.name=i.name.replace(Wo,""),e.push(i))}return e}(a));var d,h={type:1,tag:t,attrsList:a,attrsMap:function(t){for(var e={},n=0,i=t.length;n<i;n++)e[t[n].name]=t[n].value;return e}(a),parent:r,children:[]};c&&(h.ns=c),"style"!==(d=h).tag&&("script"!==d.tag||d.attrsMap.type&&"text/javascript"!==d.attrsMap.type)||ni()||(h.forbidden=!0);for(var f=0;f<xo.length;f++)xo[f](h,e);if(s||(function(t){null!=ce(t,"v-pre")&&(t.pre=!0)}(h),h.pre&&(s=!0)),Co(h.tag)&&(l=!0),s)!function(t){var e=t.attrsList.length;if(e)for(var n=t.attrs=new Array(e),i=0;i<e;i++)n[i]={name:t.attrsList[i].name,value:JSON.stringify(t.attrsList[i].value)};else t.pre||(t.plain=!0)}(h);else{!function(t){var e;if(e=ce(t,"v-for")){var n=e.match(Lo);if(!n)return;t.for=n[2].trim();var i=n[1].trim(),r=i.match(jo);r?(t.alias=r[1].trim(),t.iterator1=r[2].trim(),r[3]&&(t.iterator2=r[3].trim())):t.alias=i}}(h),function(t){var e=ce(t,"v-if");if(e)t.if=e,on(t,{exp:e,block:t});else{null!=ce(t,"v-else")&&(t.else=!0);var n=ce(t,"v-else-if");n&&(t.elseif=n)}}(h),function(t){null!=ce(t,"v-once")&&(t.once=!0)}(h),function(t){var e=ue(t,"key");e&&(t.key=e)}(h),h.plain=!h.key&&!a.length,function(t){var e=ue(t,"ref");e&&(t.ref=e,t.refInFor=function(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(h),function(t){if("slot"===t.tag)t.slotName=ue(t,"name");else{var e=ue(t,"slot");e&&(t.slotTarget='""'===e?'"default"':e,ae(t,"slot",e)),"template"===t.tag&&(t.slotScope=ce(t,"scope"))}}(h),function(t){var e;(e=ue(t,"is"))&&(t.component=e),null!=ce(t,"inline-template")&&(t.inlineTemplate=!0)}(h);for(var p=0;p<_o.length;p++)_o[p](h,e);!function(t){var e,n,i,r,o,a,s,l=t.attrsList;for(e=0,n=l.length;e<n;e++)if(i=r=l[e].name,o=l[e].value,No.test(i))if(t.hasBindings=!0,(a=an(i))&&(i=i.replace(Bo,"")),Uo.test(i))i=i.replace(Uo,""),o=ee(o),s=!1,a&&(a.prop&&(s=!0,"innerHtml"===(i=Mn(i))&&(i="innerHTML")),a.camel&&(i=Mn(i)),a.sync&&le(t,"update:"+Mn(i),he(o,"$event"))),s||!t.component&&ko(t.tag,t.attrsMap.type,i)?oe(t,i,o):ae(t,i,o);else if(Po.test(i))i=i.replace(Po,""),le(t,i,o,a,!1);else{var u=(i=i.replace(No,"")).match(Ro),c=u&&u[1];c&&(i=i.slice(0,-(c.length+1))),se(t,i,r,o,c,a)}else ae(t,i,JSON.stringify(o))}(h)}if(i?o.length||i.if&&(h.elseif||h.else)&&on(i,{exp:h.elseif,block:h}):i=h,r&&!h.forbidden)if(h.elseif||h.else)!function(t,e){var n=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(e.children);n&&n.if&&on(n,{exp:t.elseif,block:t})}(h,r);else if(h.slotScope){r.plain=!1;var g=h.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[g]=h}else r.children.push(h),h.parent=r;u?n(h):(r=h,o.push(h));for(var v=0;v<wo.length;v++)wo[v](h,e)},end:function(){var t=o[o.length-1],e=t.children[t.children.length-1];e&&3===e.type&&" "===e.text&&!l&&t.children.pop(),o.length-=1,r=o[o.length-1],n(t)},chars:function(t){if(r&&(!qn||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var e,n,i=r.children;(t=l||t.trim()?"script"===(e=r).tag||"style"===e.tag?t:zo(t):a&&i.length?" ":"")&&(!s&&" "!==t&&(n=en(t,bo))?i.push({type:2,expression:n,text:t}):" "===t&&i.length&&" "===i[i.length-1].text||i.push({type:3,text:t}))}},comment:function(t){r.children.push({type:3,text:t,isComment:!0})}}),i}function on(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function an(t){var e=t.match(Bo);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}function sn(t,e){t&&(To=Vo(e.staticKeys||""),Do=e.isReservedTag||Fn,function t(e){if(e.static=function(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||Tn(t.tag)||!Do(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(To))))}(e),1===e.type){if(!Do(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,i=e.children.length;n<i;n++){var r=e.children[n];t(r),r.static||(e.static=!1)}if(e.ifConditions)for(var o=1,a=e.ifConditions.length;o<a;o++){var s=e.ifConditions[o].block;t(s),s.static||(e.static=!1)}}}(t),function t(e,n){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=n),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var i=0,r=e.children.length;i<r;i++)t(e.children[i],n||!!e.for);if(e.ifConditions)for(var o=1,a=e.ifConditions.length;o<a;o++)t(e.ifConditions[o].block,n)}}(t,!1))}function ln(t,e,n){var i=e?"nativeOn:{":"on:{";for(var r in t)i+='"'+r+'":'+un(r,t[r])+",";return i.slice(0,-1)+"}"}function un(t,e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return un(t,e)}).join(",")+"]";var n=Yo.test(e.value),i=qo.test(e.value);if(e.modifiers){var r="",o="",a=[];for(var s in e.modifiers)Ko[s]?(o+=Ko[s],Xo[s]&&a.push(s)):a.push(s);return a.length&&(r+=function(t){return"if(!('button' in $event)&&"+t.map(cn).join("&&")+")return null;"}(a)),o&&(r+=o),"function($event){"+r+(n?e.value+"($event)":i?"("+e.value+")($event)":e.value)+"}"}return n||i?e.value:"function($event){"+e.value+"}"}function cn(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=Xo[t];return"_k($event.keyCode,"+JSON.stringify(t)+(n?","+JSON.stringify(n):"")+")"}function dn(t,e){var n=new Qo(e);return{render:"with(this){return "+(t?hn(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function hn(t,e){if(t.staticRoot&&!t.staticProcessed)return fn(t,e);if(t.once&&!t.onceProcessed)return pn(t,e);if(t.for&&!t.forProcessed)return function(t,e,n,i){var r=t.for,o=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"_l(("+r+"),function("+o+a+s+"){return "+hn(t,e)+"})"}(t,e);if(t.if&&!t.ifProcessed)return gn(t,e);if("template"!==t.tag||t.slotTarget){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',i=yn(t,e),r="_t("+n+(i?","+i:""),o=t.attrs&&"{"+t.attrs.map(function(t){return Mn(t.name)+":"+t.value}).join(",")+"}",a=t.attrsMap["v-bind"];return!o&&!a||i||(r+=",null"),o&&(r+=","+o),a&&(r+=(o?"":",null")+","+a),r+")"}(t,e);var n;if(t.component)n=function(t,e,n){var i=e.inlineTemplate?null:yn(e,n,!0);return"_c("+t+","+vn(e,n)+(i?","+i:"")+")"}(t.component,t,e);else{var i=t.plain?void 0:vn(t,e),r=t.inlineTemplate?null:yn(t,e,!0);n="_c('"+t.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o<e.transforms.length;o++)n=e.transforms[o](t,n);return n}return yn(t,e)||"void 0"}function fn(t,e){return t.staticProcessed=!0,e.staticRenderFns.push("with(this){return "+hn(t,e)+"}"),"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function pn(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return gn(t,e);if(t.staticInFor){for(var n="",i=t.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+hn(t,e)+","+e.onceId+++","+n+")":hn(t,e)}return fn(t,e)}function gn(t,e,n,i){return t.ifProcessed=!0,function t(e,n,i,r){function o(t){return i?i(t,n):t.once?pn(t,n):hn(t,n)}if(!e.length)return r||"_e()";var a=e.shift();return a.exp?"("+a.exp+")?"+o(a.block)+":"+t(e,n,i,r):""+o(a.block)}(t.ifConditions.slice(),e,n,i)}function vn(t,e){var n="{",i=function(t,e){var n=t.directives;if(n){var i,r,o,a,s="directives:[",l=!1;for(i=0,r=n.length;i<r;i++){o=n[i],a=!0;var u=e.directives[o.name];u&&(a=!!u(t,o,e.warn)),a&&(l=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?',arg:"'+o.arg+'"':"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}return l?s.slice(0,-1)+"]":void 0}}(t,e);i&&(n+=i+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var r=0;r<e.dataGenFns.length;r++)n+=e.dataGenFns[r](t);if(t.attrs&&(n+="attrs:{"+xn(t.attrs)+"},"),t.props&&(n+="domProps:{"+xn(t.props)+"},"),t.events&&(n+=ln(t.events,!1,e.warn)+","),t.nativeEvents&&(n+=ln(t.nativeEvents,!0,e.warn)+","),t.slotTarget&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e){return"scopedSlots:_u(["+Object.keys(t).map(function(n){return mn(n,t[n],e)}).join(",")+"])"}(t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];if(1===n.type){var i=dn(n,e.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function mn(t,e,n){return e.for&&!e.forProcessed?function(t,e,n){var i=e.for,r=e.alias,o=e.iterator1?","+e.iterator1:"",a=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,"_l(("+i+"),function("+r+o+a+"){return "+mn(t,e,n)+"})"}(t,e,n):"{key:"+t+",fn:function("+String(e.attrsMap.scope)+"){return "+("template"===e.tag?yn(e,n)||"void 0":hn(e,n))+"}}"}function yn(t,e,n,i,r){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag)return(i||hn)(a,e);var s=n?function(t,e){for(var n=0,i=0;i<t.length;i++){var r=t[i];if(1===r.type){if(bn(r)||r.ifConditions&&r.ifConditions.some(function(t){return bn(t.block)})){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some(function(t){return e(t.block)}))&&(n=1)}}return n}(o,e.maybeComponent):0,l=r||_n;return"["+o.map(function(t){return l(t,e)}).join(",")+"]"+(s?","+s:"")}}function bn(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function _n(t,e){return 1===t.type?hn(t,e):3===t.type&&t.isComment?(i=t,"_e("+JSON.stringify(i.text)+")"):"_v("+(2===(n=t).type?n.expression:wn(JSON.stringify(n.text)))+")";var n,i}function xn(t){for(var e="",n=0;n<t.length;n++){var i=t[n];e+='"'+i.name+'":'+wn(i.value)+","}return e.slice(0,-1)}function wn(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Cn(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),b}}var kn,Sn=Object.prototype.toString,Tn=d("slot,component",!0),Dn=d("key,ref,slot,is"),An=Object.prototype.hasOwnProperty,En=/-(\w)/g,Mn=p(function(t){return t.replace(En,function(t,e){return e?e.toUpperCase():""})}),On=p(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),$n=/\B([A-Z])/g,In=p(function(t){return t.replace($n,"-$1").toLowerCase()}),Fn=function(t,e,n){return!1},Pn=function(t){return t},Nn="data-server-rendered",Ln=["component","directive","filter"],jn=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],Rn={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Fn,isReservedAttr:Fn,isUnknownElement:Fn,getTagNamespace:b,parsePlatformTagName:Pn,mustUseProp:Fn,_lifecycleHooks:jn},Un=Object.freeze({}),Bn=/[^\w.$]/,zn=b,Hn="__proto__"in{},Wn="undefined"!=typeof window,Vn=Wn&&window.navigator.userAgent.toLowerCase(),qn=Vn&&/msie|trident/.test(Vn),Yn=Vn&&Vn.indexOf("msie 9.0")>0,Xn=Vn&&Vn.indexOf("edge/")>0,Gn=Vn&&Vn.indexOf("android")>0,Kn=Vn&&/iphone|ipad|ipod|ios/.test(Vn),Zn=Vn&&/chrome\/\d+/.test(Vn)&&!Xn,Qn={}.watch,Jn=!1;if(Wn)try{var ti={};Object.defineProperty(ti,"passive",{get:function(){Jn=!0}}),window.addEventListener("test-passive",null,ti)}catch(t){}var ei,ni=function(){return void 0===kn&&(kn=!Wn&&void 0!==e&&"server"===e.process.env.VUE_ENV),kn},ii=Wn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,ri="undefined"!=typeof Symbol&&T(Symbol)&&"undefined"!=typeof Reflect&&T(Reflect.ownKeys),oi=function(){function t(){i=!1;var t=n.slice(0);n.length=0;for(var e=0;e<t.length;e++)t[e]()}var e,n=[],i=!1;if("undefined"!=typeof Promise&&T(Promise)){var r=Promise.resolve(),o=function(t){console.error(t)};e=function(){r.then(t).catch(o),Kn&&setTimeout(b)}}else if(qn||"undefined"==typeof MutationObserver||!T(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())e=function(){setTimeout(t,0)};else{var a=1,s=new MutationObserver(t),l=document.createTextNode(String(a));s.observe(l,{characterData:!0}),e=function(){a=(a+1)%2,l.data=String(a)}}return function(t,r){var o;if(n.push(function(){if(t)try{t.call(r)}catch(t){S(t,r,"nextTick")}else o&&o(r)}),i||(i=!0,e()),!t&&"undefined"!=typeof Promise)return new Promise(function(t,e){o=t})}}();ei="undefined"!=typeof Set&&T(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ai=0,si=function(){this.id=ai++,this.subs=[]};si.prototype.addSub=function(t){this.subs.push(t)},si.prototype.removeSub=function(t){h(this.subs,t)},si.prototype.depend=function(){si.target&&si.target.addDep(this)},si.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},si.target=null;var li=[],ui=Array.prototype,ci=Object.create(ui);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=ui[t];k(ci,t,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var r,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o})});var di=Object.getOwnPropertyNames(ci),hi={shouldConvert:!0},fi=function(t){this.value=t,this.dep=new si,this.vmCount=0,k(t,"__ob__",this),Array.isArray(t)?((Hn?D:A)(t,ci,di),this.observeArray(t)):this.walk(t)};fi.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)M(t,e[n],t[e[n]])},fi.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)E(t[e])};var pi=Rn.optionMergeStrategies;pi.data=function(t,e,n){return n?F(t,e,n):e&&"function"!=typeof e?t:F.call(this,t,e)},jn.forEach(function(t){pi[t]=P}),Ln.forEach(function(t){pi[t+"s"]=N}),pi.watch=function(t,e){if(t===Qn&&(t=void 0),e===Qn&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var n={};for(var i in m(n,t),e){var r=n[i],o=e[i];r&&!Array.isArray(r)&&(r=[r]),n[i]=r?r.concat(o):Array.isArray(o)?o:[o]}return n},pi.props=pi.methods=pi.inject=pi.computed=function(t,e){if(!t)return e;var n=Object.create(null);return m(n,t),e&&m(n,e),n},pi.provide=F;var gi=function(t,e){return void 0===e?t:e},vi=function(t,e,n,i,r,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},mi={child:{}};mi.child.get=function(){return this.componentInstance},Object.defineProperties(vi.prototype,mi);var yi,bi=function(t){void 0===t&&(t="");var e=new vi;return e.text=t,e.isComment=!0,e},_i=p(function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),i="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=i?t.slice(1):t,plain:!(e||n||i),once:n,capture:i,passive:e}}),xi=null,wi=[],Ci=[],ki={},Si=!1,Ti=!1,Di=0,Ai=0,Ei=function(t,e,n,i){this.vm=t,t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Ai,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ei,this.newDepIds=new ei,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!Bn.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Ei.prototype.get=function(){var t,e;t=this,si.target&&li.push(si.target),si.target=t;var n,i=this.vm;try{e=this.getter.call(i,i)}catch(t){if(!this.user)throw t;S(t,i,'getter for watcher "'+this.expression+'"')}finally{this.deep&&(n=e,Mi.clear(),function t(e,n){var i,r,o=Array.isArray(e);if((o||a(e))&&Object.isExtensible(e)){if(e.__ob__){var s=e.__ob__.dep.id;if(n.has(s))return;n.add(s)}if(o)for(i=e.length;i--;)t(e[i],n);else for(r=Object.keys(e),i=r.length;i--;)t(e[r[i]],n)}}(n,Mi)),si.target=li.pop(),this.cleanupDeps()}return e},Ei.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Ei.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Ei.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==ki[e]){if(ki[e]=!0,Ti){for(var n=wi.length-1;n>Di&&wi[n].id>t.id;)n--;wi.splice(n+1,0,t)}else wi.push(t);Si||(Si=!0,oi(ct))}}(this)},Ei.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||a(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){S(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Ei.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ei.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Ei.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Mi=new ei,Oi={enumerable:!0,configurable:!0,get:b,set:b},$i={lazy:!0},Ii={init:function(t,e,n,r){if(!t.componentInstance||t.componentInstance._isDestroyed)(t.componentInstance=function(t,e,n,r){var o=t.componentOptions,a={_isComponent:!0,parent:e,propsData:o.propsData,_componentTag:o.tag,_parentVnode:t,_parentListeners:o.listeners,_renderChildren:o.children,_parentElm:n||null,_refElm:r||null},s=t.data.inlineTemplate;return i(s)&&(a.render=s.render,a.staticRenderFns=s.staticRenderFns),new o.Ctor(a)}(t,xi,n,r)).$mount(e?t.elm:void 0,e);else if(t.data.keepAlive){var o=t;Ii.prepatch(o,o)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,i,r){var o=!!(r||t.$options._renderChildren||i.data.scopedSlots||t.$scopedSlots!==Un);if(t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=r,t.$attrs=i.data&&i.data.attrs||Un,t.$listeners=n||Un,e&&t.$options.props){hi.shouldConvert=!1;for(var a=t._props,s=t.$options._propKeys||[],l=0;l<s.length;l++){var u=s[l];a[u]=R(u,t.$options.props,e,t)}hi.shouldConvert=!0,t.$options.propsData=e}if(n){var c=t.$options._parentListeners;t.$options._parentListeners=n,it(t,n,c)}o&&(t.$slots=rt(r,i.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,i=t.componentInstance;i._isMounted||(i._isMounted=!0,ut(i,"mounted")),t.data.keepAlive&&(n._isMounted?((e=i)._inactive=!1,Ci.push(e)):lt(i,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(!(n&&(e._directInactive=!0,st(e))||e._inactive)){e._inactive=!0;for(var i=0;i<e.$children.length;i++)t(e.$children[i]);ut(e,"deactivated")}}(e,!0):e.$destroy())}},Fi=Object.keys(Ii),Pi=1,Ni=2,Li=0;It.prototype._init=function(t){var e=this;e._uid=Li++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options);n.parent=e.parent,n.propsData=e.propsData,n._parentVnode=e._parentVnode,n._parentListeners=e._parentListeners,n._renderChildren=e._renderChildren,n._componentTag=e._componentTag,n._parentElm=e._parentElm,n._refElm=e._refElm,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=L(Ot(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$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&&it(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$vnode=t.$options._parentVnode,n=e&&e.context;t.$slots=rt(t.$options._renderChildren,n),t.$scopedSlots=Un,t._c=function(e,n,i,r){return _t(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return _t(t,e,n,i,r,!0)};var i=e&&e.data;M(t,"$attrs",i&&i.attrs||Un,0,!0),M(t,"$listeners",t.$options._parentListeners||Un,0,!0)}(e),ut(e,"beforeCreate"),function(t){var e=vt(t.$options.inject,t);e&&(hi.shouldConvert=!1,Object.keys(e).forEach(function(n){M(t,n,e[n])}),hi.shouldConvert=!0)}(e),ht(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}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=O,t.prototype.$delete=$,t.prototype.$watch=function(t,e,n){if(s(e))return gt(this,t,e,n);(n=n||{}).user=!0;var i=new Ei(this,t,e,n);return n.immediate&&e.call(this,i.value),function(){i.teardown()}}}(It),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){if(Array.isArray(t))for(var i=0,r=t.length;i<r;i++)this.$on(t[i],n);else(this._events[t]||(this._events[t]=[])).push(n),e.test(t)&&(this._hasHookEvent=!0);return this},t.prototype.$once=function(t,e){function n(){i.$off(t,n),e.apply(i,arguments)}var i=this;return n.fn=e,i.$on(t,n),i},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var i=0,r=t.length;i<r;i++)this.$off(t[i],e);return n}var o=n._events[t];if(!o)return n;if(1===arguments.length)return n._events[t]=null,n;if(e)for(var a,s=o.length;s--;)if((a=o[s])===e||a.fn===e){o.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?v(n):n;for(var i=v(arguments,1),r=0,o=n.length;r<o;r++)try{n[r].apply(e,i)}catch(n){S(n,e,'event handler for "'+t+'"')}}return e}}(It),function(t){t.prototype._update=function(t,e){var n=this;n._isMounted&&ut(n,"beforeUpdate");var i=n.$el,r=n._vnode,o=xi;xi=n,n._vnode=t,r?n.$el=n.__patch__(r,t):(n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),xi=o,i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){ut(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||h(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),ut(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null)}}}(It),function(t){t.prototype.$nextTick=function(t){return oi(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,r=n.staticRenderFns,o=n._parentVnode;if(e._isMounted)for(var a in e.$slots){var s=e.$slots[a];s._rendered&&(e.$slots[a]=W(s,!0))}e.$scopedSlots=o&&o.data.scopedSlots||Un,r&&!e._staticTrees&&(e._staticTrees=[]),e.$vnode=o;try{t=i.call(e._renderProxy,e.$createElement)}catch(n){S(n,e,"render function"),t=e._vnode}return t instanceof vi||(t=bi()),t.parent=o,t},t.prototype._o=Dt,t.prototype._n=c,t.prototype._s=u,t.prototype._l=xt,t.prototype._t=wt,t.prototype._q=_,t.prototype._i=x,t.prototype._m=Tt,t.prototype._f=Ct,t.prototype._k=kt,t.prototype._b=St,t.prototype._v=z,t.prototype._e=bi,t.prototype._u=at,t.prototype._g=Mt}(It);var ji=[String,RegExp,Array],Ri={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:ji,exclude:ji},created:function(){this.cache=Object.create(null)},destroyed:function(){for(var t in this.cache)jt(this.cache[t])},watch:{include:function(t){Lt(this.cache,this._vnode,function(e){return Nt(t,e)})},exclude:function(t){Lt(this.cache,this._vnode,function(e){return!Nt(t,e)})}},render:function(){var t=tt(this.$slots.default),e=t&&t.componentOptions;if(e){var n=Pt(e);if(n&&(this.include&&!Nt(this.include,n)||this.exclude&&Nt(this.exclude,n)))return t;var i=null==t.key?e.Ctor.cid+(e.tag?"::"+e.tag:""):t.key;this.cache[i]?t.componentInstance=this.cache[i].componentInstance:this.cache[i]=t,t.data.keepAlive=!0}return t}}};!function(t){var e={get:function(){return Rn}};Object.defineProperty(t,"config",e),t.util={warn:zn,extend:m,mergeOptions:L,defineReactive:M},t.set=O,t.delete=$,t.nextTick=oi,t.options=Object.create(null),Ln.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,m(t.options.components,Ri),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=v(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=L(this.options,t),this}}(t),Ft(t),function(t){Ln.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&s(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(It),Object.defineProperty(It.prototype,"$isServer",{get:ni}),Object.defineProperty(It.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),It.version="2.4.4";var Ui,Bi,zi,Hi,Wi,Vi,qi,Yi,Xi=d("style,class"),Gi=d("input,textarea,option,select,progress"),Ki=function(t,e,n){return"value"===n&&Gi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t
-},Zi=d("contenteditable,draggable,spellcheck"),Qi=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ji="http://www.w3.org/1999/xlink",tr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},er=function(t){return tr(t)?t.slice(6,t.length):""},nr=function(t){return null==t||!1===t},ir={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},rr=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),or=d("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ar=function(t){return rr(t)||or(t)},sr=Object.create(null),lr=d("text,number,password,search,email,tel,url"),ur=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(ir[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setAttribute:function(t,e,n){t.setAttribute(e,n)}}),cr={create:function(t,e){Vt(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Vt(t,!0),Vt(e))},destroy:function(t){Vt(t,!0)}},dr=new vi("",{},[]),hr=["create","activate","update","remove","destroy"],fr={create:Xt,update:Xt,destroy:function(t){Xt(t,dr)}},pr=Object.create(null),gr=[cr,fr],vr={create:Qt,update:Qt},mr={create:te,update:te},yr=/[\w).+\-_$\]]/,br="__r",_r="__c",xr={create:_e,update:_e},wr={create:xe,update:xe},Cr=p(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}),kr=/^--/,Sr=/\s*!important$/,Tr=function(t,e,n){if(kr.test(e))t.style.setProperty(e,n);else if(Sr.test(n))t.style.setProperty(e,n.replace(Sr,""),"important");else{var i=Ar(e);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)t.style[i]=n[r];else t.style[i]=n}},Dr=["Webkit","Moz","ms"],Ar=p(function(t){if(Yi=Yi||document.createElement("div").style,"filter"!==(t=Mn(t))&&t in Yi)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Dr.length;n++){var i=Dr[n]+e;if(i in Yi)return i}}),Er={create:Se,update:Se},Mr=p(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Or=Wn&&!Yn,$r="transition",Ir="animation",Fr="transition",Pr="transitionend",Nr="animation",Lr="animationend";Or&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Fr="WebkitTransition",Pr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Nr="WebkitAnimation",Lr="webkitAnimationEnd"));var jr=Wn&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,Rr=/\b(transform|all)(,|$)/,Ur=function(t){function e(t){var e=T.parentNode(t);i(e)&&T.removeChild(e,t)}function a(t,e,n,o,a){if(t.isRootInsert=!a,!function(t,e,n,o){var a=t.data;if(i(a)){var u=i(t.componentInstance)&&a.keepAlive;if(i(a=a.hook)&&i(a=a.init)&&a(t,!1,n,o),i(t.componentInstance))return s(t,e),r(u)&&function(t,e,n,r){for(var o,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,i(o=a.data)&&i(o=o.transition)){for(o=0;o<k.activate.length;++o)k.activate[o](dr,a);e.push(a);break}l(n,t.elm,r)}(t,e,n,o),!0}}(t,e,n,o)){var c=t.data,d=t.children,p=t.tag;i(p)?(t.elm=t.ns?T.createElementNS(t.ns,p):T.createElement(p,t),f(t),u(t,d,e),i(c)&&h(t,e),l(n,t.elm,o)):r(t.isComment)?(t.elm=T.createComment(t.text),l(n,t.elm,o)):(t.elm=T.createTextNode(t.text),l(n,t.elm,o))}}function s(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,c(t)?(h(t,e),f(t)):(Vt(t),e.push(t))}function l(t,e,n){i(t)&&(i(n)?n.parentNode===t&&T.insertBefore(t,e,n):T.appendChild(t,e))}function u(t,e,n){if(Array.isArray(e))for(var i=0;i<e.length;++i)a(e[i],n,t.elm,null,!0);else o(t.text)&&T.appendChild(t.elm,T.createTextNode(t.text))}function c(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return i(t.tag)}function h(t,e){for(var n=0;n<k.create.length;++n)k.create[n](dr,t);i(w=t.data.hook)&&(i(w.create)&&w.create(dr,t),i(w.insert)&&e.push(t))}function f(t){for(var e,n=t;n;)i(e=n.context)&&i(e=e.$options._scopeId)&&T.setAttribute(t.elm,e,""),n=n.parent;i(e=xi)&&e!==t.context&&i(e=e.$options._scopeId)&&T.setAttribute(t.elm,e,"")}function p(t,e,n,i,r,o){for(;i<=r;++i)a(n[i],o,t,e)}function g(t){var e,n,r=t.data;if(i(r))for(i(e=r.hook)&&i(e=e.destroy)&&e(t),e=0;e<k.destroy.length;++e)k.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)g(t.children[n])}function v(t,n,r,o){for(;r<=o;++r){var a=n[r];i(a)&&(i(a.tag)?(m(a),g(a)):e(a.elm))}}function m(t,n){if(i(n)||i(t.data)){var r,o=k.remove.length+1;for(i(n)?n.listeners+=o:n=function(t,n){function i(){0==--i.listeners&&e(t)}return i.listeners=n,i}(t.elm,o),i(r=t.componentInstance)&&i(r=r._vnode)&&i(r.data)&&m(r,n),r=0;r<k.remove.length;++r)k.remove[r](t,n);i(r=t.data.hook)&&i(r=r.remove)?r(t,n):n()}else e(t.elm)}function y(t,e,n,r){for(var o=n;o<r;o++){var a=e[o];if(i(a)&&qt(t,a))return o}}function b(t,e,o,s){if(t!==e){var l=e.elm=t.elm;if(r(t.isAsyncPlaceholder))i(e.asyncFactory.resolved)?x(t.elm,e,o):e.isAsyncPlaceholder=!0;else if(r(e.isStatic)&&r(t.isStatic)&&e.key===t.key&&(r(e.isCloned)||r(e.isOnce)))e.componentInstance=t.componentInstance;else{var u,d=e.data;i(d)&&i(u=d.hook)&&i(u=u.prepatch)&&u(t,e);var h=t.children,f=e.children;if(i(d)&&c(e)){for(u=0;u<k.update.length;++u)k.update[u](t,e);i(u=d.hook)&&i(u=u.update)&&u(t,e)}n(e.text)?i(h)&&i(f)?h!==f&&function(t,e,r,o,s){for(var l,u,c,d=0,h=0,f=e.length-1,g=e[0],m=e[f],_=r.length-1,x=r[0],w=r[_],C=!s;d<=f&&h<=_;)n(g)?g=e[++d]:n(m)?m=e[--f]:qt(g,x)?(b(g,x,o),g=e[++d],x=r[++h]):qt(m,w)?(b(m,w,o),m=e[--f],w=r[--_]):qt(g,w)?(b(g,w,o),C&&T.insertBefore(t,g.elm,T.nextSibling(m.elm)),g=e[++d],w=r[--_]):qt(m,x)?(b(m,x,o),C&&T.insertBefore(t,m.elm,g.elm),m=e[--f],x=r[++h]):(n(l)&&(l=Yt(e,d,f)),n(u=i(x.key)?l[x.key]:y(x,e,d,f))?a(x,o,t,g.elm):qt(c=e[u],x)?(b(c,x,o),e[u]=void 0,C&&T.insertBefore(t,c.elm,g.elm)):a(x,o,t,g.elm),x=r[++h]);d>f?p(t,n(r[_+1])?null:r[_+1].elm,r,h,_,o):h>_&&v(0,e,d,f)}(l,h,f,o,s):i(f)?(i(t.text)&&T.setTextContent(l,""),p(l,null,f,0,f.length-1,o)):i(h)?v(0,h,0,h.length-1):i(t.text)&&T.setTextContent(l,""):t.text!==e.text&&T.setTextContent(l,e.text),i(d)&&i(u=d.hook)&&i(u=u.postpatch)&&u(t,e)}}}function _(t,e,n){if(r(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var o=0;o<e.length;++o)e[o].data.hook.insert(e[o])}function x(t,e,n){if(r(e.isComment)&&i(e.asyncFactory))return e.elm=t,e.isAsyncPlaceholder=!0,!0;e.elm=t;var o=e.tag,a=e.data,l=e.children;if(i(a)&&(i(w=a.hook)&&i(w=w.init)&&w(e,!0),i(w=e.componentInstance)))return s(e,n),!0;if(i(o)){if(i(l))if(t.hasChildNodes())if(i(w=a)&&i(w=w.domProps)&&i(w=w.innerHTML)){if(w!==t.innerHTML)return!1}else{for(var c=!0,d=t.firstChild,f=0;f<l.length;f++){if(!d||!x(d,l[f],n)){c=!1;break}d=d.nextSibling}if(!c||d)return!1}else u(e,l,n);if(i(a))for(var p in a)if(!D(p)){h(e,n);break}}else t.data!==e.text&&(t.data=e.text);return!0}var w,C,k={},S=t.modules,T=t.nodeOps;for(w=0;w<hr.length;++w)for(k[hr[w]]=[],C=0;C<S.length;++C)i(S[C][hr[w]])&&k[hr[w]].push(S[C][hr[w]]);var D=d("attrs,style,class,staticClass,staticStyle,key");return function(t,e,o,s,l,u){if(!n(e)){var d,h=!1,f=[];if(n(t))h=!0,a(e,f,l,u);else{var p=i(t.nodeType);if(!p&&qt(t,e))b(t,e,f,s);else{if(p){if(1===t.nodeType&&t.hasAttribute(Nn)&&(t.removeAttribute(Nn),o=!0),r(o)&&x(t,e,f))return _(e,f,!0),t;d=t,t=new vi(T.tagName(d).toLowerCase(),{},[],void 0,d)}var m=t.elm,y=T.parentNode(m);if(a(e,f,m._leaveCb?null:y,T.nextSibling(m)),i(e.parent))for(var w=e.parent,C=c(e);w;){for(var S=0;S<k.destroy.length;++S)k.destroy[S](w);if(w.elm=e.elm,C){for(var D=0;D<k.create.length;++D)k.create[D](dr,w);var A=w.data.hook.insert;if(A.merged)for(var E=1;E<A.fns.length;E++)A.fns[E]()}w=w.parent}i(y)?v(0,[t],0,0):i(t.tag)&&g(t)}}return _(e,f,h),e.elm}i(t)&&g(t)}}({nodeOps:ur,modules:[vr,mr,xr,wr,Er,Wn?{create:Ue,activate:Ue,remove:function(t,e){!0!==t.data.show?Le(t,e):e()}}:{}].concat(gr)});Yn&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Ye(t,"input")});var Br={model:{inserted:function(t,e,n){"select"===n.tag?(Be(t,e,n.context),t._vOptions=[].map.call(t.options,We)):("textarea"===n.tag||lr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("change",qe),Gn||(t.addEventListener("compositionstart",Ve),t.addEventListener("compositionend",qe)),Yn&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Be(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,We);r.some(function(t,e){return!_(t,i[e])})&&(t.multiple?e.value.some(function(t){return He(t,r)}):e.value!==e.oldValue&&He(e.value,r))&&Ye(t,"change")}}},show:{bind:function(t,e,n){var i=e.value,r=(n=Xe(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,Ne(n,function(){t.style.display=o})):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;i!==e.oldValue&&((n=Xe(n)).data&&n.data.transition?(n.data.show=!0,i?Ne(n,function(){t.style.display=t.__vOriginalDisplay}):Le(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},zr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},Hr={name:"transition",props:zr,abstract:!0,render:function(t){var e=this,n=this.$options._renderChildren;if(n&&(n=n.filter(function(t){return t.tag||J(t)})).length){var i=this.mode,r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var a=Ge(r);if(!a)return r;if(this._leaving)return Ze(t,r);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:o(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var l=(a.data||(a.data={})).transition=Ke(this),u=this._vnode,c=Ge(u);if(a.data.directives&&a.data.directives.some(function(t){return"show"===t.name})&&(a.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(a,c)&&!J(c)){var d=c&&(c.data.transition=m({},l));if("out-in"===i)return this._leaving=!0,X(d,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Ze(t,r);if("in-out"===i){if(J(a))return u;var h,f=function(){h()};X(l,"afterEnter",f),X(l,"enterCancelled",f),X(d,"delayLeave",function(t){h=t})}}return r}}},Wr=m({tag:String,moveClass:String},zr);delete Wr.mode;var Vr={Transition:Hr,TransitionGroup:{props:Wr,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=Ke(this),s=0;s<r.length;s++){var l=r[s];l.tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a)}if(i){for(var u=[],c=[],d=0;d<i.length;d++){var h=i[d];h.data.transition=a,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?u.push(h):c.push(h)}this.kept=t(e,null,u),this.removed=c}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Qe),t.forEach(Je),t.forEach(tn),document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,i=n.style;Me(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Pr,n._moveCb=function t(i){i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Pr,t),n._moveCb=null,Oe(n,e))})}}))},methods:{hasMove:function(t,e){if(!Or)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){De(n,t)}),Te(n,e),n.style.display="none",this.$el.appendChild(n);var i=Ie(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};It.config.mustUseProp=Ki,It.config.isReservedTag=ar,It.config.isReservedAttr=Xi,It.config.getTagNamespace=Ht,It.config.isUnknownElement=function(t){if(!Wn)return!0;if(ar(t))return!1;if(t=t.toLowerCase(),null!=sr[t])return sr[t];var e=document.createElement(t);return t.indexOf("-")>-1?sr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:sr[t]=/HTMLUnknownElement/.test(e.toString())},m(It.options.directives,Br),m(It.options.components,Vr),It.prototype.__patch__=Wn?Ur:b,It.prototype.$mount=function(t,e){return function(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=bi),ut(t,"beforeMount"),i=function(){t._update(t._render(),n)},t._watcher=new Ei(t,i,b),n=!1,null==t.$vnode&&(t._isMounted=!0,ut(t,"mounted")),t}(this,t=t&&Wn?Wt(t):void 0,e)},setTimeout(function(){Rn.devtools&&ii&&ii.emit("init",It)},0);var qr,Yr,Xr,Gr,Kr=!!Wn&&(qr="\n",Yr="&#10;",(Xr=document.createElement("div")).innerHTML='<div a="'+qr+'"/>',Xr.innerHTML.indexOf(Yr)>0),Zr=/\{\{((?:.|\n)+?)\}\}/g,Qr=/[-.*+?^${}()|[\]\/\\]/g,Jr=p(function(t){var e=t[0].replace(Qr,"\\$&"),n=t[1].replace(Qr,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),to=[{staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=ce(t,"class");n&&(t.staticClass=JSON.stringify(n));var i=ue(t,"class",!1);i&&(t.classBinding=i)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}},{staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=ce(t,"style");n&&(t.staticStyle=JSON.stringify(Cr(n)));var i=ue(t,"style",!1);i&&(t.styleBinding=i)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}}],eo={model:function(t,e,n){var i=e.value,r=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return de(t,i,r),!1;if("select"===o)!function(t,e,n){var i='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";i=i+" "+he(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),le(t,"change",i,null,!0)}(t,i,r);else if("input"===o&&"checkbox"===a)!function(t,e,n){var i=n&&n.number,r=ue(t,"value")||"null",o=ue(t,"true-value")||"true",a=ue(t,"false-value")||"false";oe(t,"checked","Array.isArray("+e+")?_i("+e+","+r+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),le(t,_r,"var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+e+"=$$a.concat([$$v]))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+he(e,"$$c")+"}",null,!0)}(t,i,r);else if("input"===o&&"radio"===a)!function(t,e,n){var i=n&&n.number,r=ue(t,"value")||"null";oe(t,"checked","_q("+e+","+(r=i?"_n("+r+")":r)+")"),le(t,_r,he(e,r),null,!0)}(t,i,r);else if("input"===o||"textarea"===o)!function(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,l=!o&&"range"!==i,u=o?"change":"range"===i?br:"input",c="$event.target.value";s&&(c="$event.target.value.trim()"),a&&(c="_n("+c+")");var d=he(e,c);l&&(d="if($event.target.composing)return;"+d),oe(t,"value","("+e+")"),le(t,u,d,null,!0),(s||a)&&le(t,"blur","$forceUpdate()")}(t,i,r);else if(!Rn.isReservedTag(o))return de(t,i,r),!1;return!0},text:function(t,e){e.value&&oe(t,"textContent","_s("+e.value+")")},html:function(t,e){e.value&&oe(t,"innerHTML","_s("+e.value+")")}},no=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),io=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ro=d("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),oo={expectHTML:!0,modules:to,directives:eo,isPreTag:function(t){return"pre"===t},isUnaryTag:no,mustUseProp:Ki,canBeLeftOpenTag:io,isReservedTag:ar,getTagNamespace:Ht,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(to)},ao=function(t){return(Gr=Gr||document.createElement("div")).innerHTML=t,Gr.textContent},so=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,lo="[a-zA-Z_][\\w\\-\\.]*",uo="((?:"+lo+"\\:)?"+lo+")",co=new RegExp("^<"+uo),ho=/^\s*(\/?)>/,fo=new RegExp("^<\\/"+uo+"[^>]*>"),po=/^<!DOCTYPE [^>]+>/i,go=/^<!--/,vo=/^<!\[/,mo=!1;"x".replace(/x(.)?/g,function(t,e){mo=""===e});var yo,bo,_o,xo,wo,Co,ko,So,To,Do,Ao=d("script,style,textarea",!0),Eo={},Mo={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n"},Oo=/&(?:lt|gt|quot|amp);/g,$o=/&(?:lt|gt|quot|amp|#10);/g,Io=d("pre,textarea",!0),Fo=function(t,e){return t&&Io(t)&&"\n"===e[0]},Po=/^@|^v-on:/,No=/^v-|^@|^:/,Lo=/(.*?)\s+(?:in|of)\s+(.*)/,jo=/\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/,Ro=/:(.*)$/,Uo=/^:|^v-bind:/,Bo=/\.[^.]+/g,zo=p(ao),Ho=/^xmlns:NS\d+/,Wo=/^NS\d+:/,Vo=p(function(t){return d("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))}),qo=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Yo=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,Xo={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Go=function(t){return"if("+t+")return null;"},Ko={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Go("$event.target !== $event.currentTarget"),ctrl:Go("!$event.ctrlKey"),shift:Go("!$event.shiftKey"),alt:Go("!$event.altKey"),meta:Go("!$event.metaKey"),left:Go("'button' in $event && $event.button !== 0"),middle:Go("'button' in $event && $event.button !== 1"),right:Go("'button' in $event && $event.button !== 2")},Zo={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:b},Qo=function(t){this.options=t,this.warn=t.warn||ie,this.transforms=re(t.modules,"transformCode"),this.dataGenFns=re(t.modules,"genData"),this.directives=m(m({},Zo),t.directives);var e=t.isReservedTag||Fn;this.maybeComponent=function(t){return!e(t.tag)},this.onceId=0,this.staticRenderFns=[]};new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");var Jo,ta=(Jo=function(t,e){var n=rn(t.trim(),e);sn(n,e);var i=dn(n,e);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(t){function e(e,n){var i=Object.create(t),r=[],o=[];if(i.warn=function(t,e){(e?o:r).push(t)},n)for(var a in n.modules&&(i.modules=(t.modules||[]).concat(n.modules)),n.directives&&(i.directives=m(Object.create(t.directives),n.directives)),n)"modules"!==a&&"directives"!==a&&(i[a]=n[a]);var s=Jo(e,i);return s.errors=r,s.tips=o,s}return{compile:e,compileToFunctions:function(t){var e=Object.create(null);return function(n,i,r){var o=(i=i||{}).delimiters?String(i.delimiters)+n:n;if(e[o])return e[o];var a=t(n,i),s={},l=[];return s.render=Cn(a.render,l),s.staticRenderFns=a.staticRenderFns.map(function(t){return Cn(t,l)}),e[o]=s}}(e)}})(oo).compileToFunctions,ea=p(function(t){var e=Wt(t);return e&&e.innerHTML}),na=It.prototype.$mount;It.prototype.$mount=function(t,e){if((t=t&&Wt(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=ea(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(i){var r=ta(i,{shouldDecodeNewlines:Kr,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return na.call(this,t,e)},It.compile=ta,t.exports=It}).call(e,n("DuR2"))},JHru:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["alertType","title"],computed:{alertClassName:function(){return"alert-"+this.alertType}},methods:{hideEvent:function(){this.$emit("hide")}}}},JfWP:function(t,e){},Lypw:function(t,e,n){var i=n("VU/8")(n("lAxH"),n("mttk"),!1,function(t){n("DimI")},"data-v-538f99aa",null);t.exports=i.exports},M4fF:function(t,e,n){(function(t,i){var r;(function(){function o(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function a(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var a=t[r];e(i,a,n(a),t)}return i}function s(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function l(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function u(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function c(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}function d(t,e){return!!(null==t?0:t.length)&&_(t,e,0)>-1}function h(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function f(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function p(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function g(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function v(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function m(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}function y(t,e,n){var i;return n(t,function(t,n,r){if(e(t,n,r))return i=n,!1}),i}function b(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function _(t,e,n){return e==e?function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):b(t,w,n)}function x(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function w(t){return t!=t}function C(t,e){var n=null==t?0:t.length;return n?D(t,e)/n:pt}function k(t){return function(e){return null==e?H:e[t]}}function S(t){return function(e){return null==t?H:t[e]}}function T(t,e,n,i,r){return r(t,function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)}),n}function D(t,e){for(var n,i=-1,r=t.length;++i<r;){var o=e(t[i]);o!==H&&(n=n===H?o:n+o)}return n}function A(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function E(t){return function(e){return t(e)}}function M(t,e){return f(e,function(e){return t[e]})}function O(t,e){return t.has(e)}function $(t,e){for(var n=-1,i=t.length;++n<i&&_(e,t[n],0)>-1;);return n}function I(t,e){for(var n=t.length;n--&&_(e,t[n],0)>-1;);return n}function F(t){return"\\"+en[t]}function P(t){return Ge.test(t)}function N(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function L(t,e){return function(n){return t(e(n))}}function j(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n];a!==e&&a!==Y||(t[n]=Y,o[r++]=n)}return o}function R(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function U(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function B(t){return P(t)?function(t){for(var e=Ye.lastIndex=0;Ye.test(t);)++e;return e}(t):bn(t)}function z(t){return P(t)?function(t){return t.match(Ye)||[]}(t):function(t){return t.split("")}(t)}var H,W=200,V="Expected a function",q="__lodash_hash_undefined__",Y="__lodash_placeholder__",X=1,G=2,K=4,Z=1,Q=2,J=1,tt=2,et=4,nt=8,it=16,rt=32,ot=64,at=128,st=256,lt=512,ut=800,ct=16,dt=1/0,ht=9007199254740991,ft=1.7976931348623157e308,pt=NaN,gt=4294967295,vt=gt-1,mt=gt>>>1,yt=[["ary",at],["bind",J],["bindKey",tt],["curry",nt],["curryRight",it],["flip",lt],["partial",rt],["partialRight",ot],["rearg",st]],bt="[object Arguments]",_t="[object Array]",xt="[object AsyncFunction]",wt="[object Boolean]",Ct="[object Date]",kt="[object DOMException]",St="[object Error]",Tt="[object Function]",Dt="[object GeneratorFunction]",At="[object Map]",Et="[object Number]",Mt="[object Null]",Ot="[object Object]",$t="[object Proxy]",It="[object RegExp]",Ft="[object Set]",Pt="[object String]",Nt="[object Symbol]",Lt="[object Undefined]",jt="[object WeakMap]",Rt="[object ArrayBuffer]",Ut="[object DataView]",Bt="[object Float32Array]",zt="[object Float64Array]",Ht="[object Int8Array]",Wt="[object Int16Array]",Vt="[object Int32Array]",qt="[object Uint8Array]",Yt="[object Uint8ClampedArray]",Xt="[object Uint16Array]",Gt="[object Uint32Array]",Kt=/\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),ne=RegExp(te.source),ie=/<%-([\s\S]+?)%>/g,re=/<%([\s\S]+?)%>/g,oe=/<%=([\s\S]+?)%>/g,ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,se=/^\w*$/,le=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ue=/[\\^$.*+?()[\]{}|]/g,ce=RegExp(ue.source),de=/^\s+|\s+$/g,he=/^\s+/,fe=/\s+$/,pe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ge=/\{\n\/\* \[wrapped with (.+)\] \*/,ve=/,? & /,me=/[^\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,Se=/^(?:0|[1-9]\d*)$/,Te=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,De=/($^)/,Ae=/['\n\r\u2028\u2029\\]/g,Ee="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Me="\\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",Oe="["+Me+"]",$e="["+Ee+"]",Ie="[a-z\\xdf-\\xf6\\xf8-\\xff]",Fe="[^\\ud800-\\udfff"+Me+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Pe="\\ud83c[\\udffb-\\udfff]",Ne="[^\\ud800-\\udfff]",Le="(?:\\ud83c[\\udde6-\\uddff]){2}",je="[\\ud800-\\udbff][\\udc00-\\udfff]",Re="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Ue="(?:"+Ie+"|"+Fe+")",Be="(?:"+$e+"|"+Pe+")?",ze="[\\ufe0e\\ufe0f]?"+Be+"(?:\\u200d(?:"+[Ne,Le,je].join("|")+")[\\ufe0e\\ufe0f]?"+Be+")*",He="(?:"+["[\\u2700-\\u27bf]",Le,je].join("|")+")"+ze,We="(?:"+[Ne+$e+"?",$e,Le,je,"[\\ud800-\\udfff]"].join("|")+")",Ve=RegExp("['’]","g"),qe=RegExp($e,"g"),Ye=RegExp(Pe+"(?="+Pe+")|"+We+ze,"g"),Xe=RegExp([Re+"?"+Ie+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Oe,Re,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Oe,Re+Ue,"$"].join("|")+")",Re+"?"+Ue+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Re+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",He].join("|"),"g"),Ge=RegExp("[\\u200d\\ud800-\\udfff"+Ee+"\\ufe0e\\ufe0f]"),Ke=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ze=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Qe=-1,Je={};Je[Bt]=Je[zt]=Je[Ht]=Je[Wt]=Je[Vt]=Je[qt]=Je[Yt]=Je[Xt]=Je[Gt]=!0,Je[bt]=Je[_t]=Je[Rt]=Je[wt]=Je[Ut]=Je[Ct]=Je[St]=Je[Tt]=Je[At]=Je[Et]=Je[Ot]=Je[It]=Je[Ft]=Je[Pt]=Je[jt]=!1;var tn={};tn[bt]=tn[_t]=tn[Rt]=tn[Ut]=tn[wt]=tn[Ct]=tn[Bt]=tn[zt]=tn[Ht]=tn[Wt]=tn[Vt]=tn[At]=tn[Et]=tn[Ot]=tn[It]=tn[Ft]=tn[Pt]=tn[Nt]=tn[qt]=tn[Yt]=tn[Xt]=tn[Gt]=!0,tn[St]=tn[Tt]=tn[jt]=!1;var en={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nn=parseFloat,rn=parseInt,on="object"==typeof t&&t&&t.Object===Object&&t,an="object"==typeof self&&self&&self.Object===Object&&self,sn=on||an||Function("return this")(),ln="object"==typeof e&&e&&!e.nodeType&&e,un=ln&&"object"==typeof i&&i&&!i.nodeType&&i,cn=un&&un.exports===ln,dn=cn&&on.process,hn=function(){try{return un&&un.require&&un.require("util").types||dn&&dn.binding&&dn.binding("util")}catch(t){}}(),fn=hn&&hn.isArrayBuffer,pn=hn&&hn.isDate,gn=hn&&hn.isMap,vn=hn&&hn.isRegExp,mn=hn&&hn.isSet,yn=hn&&hn.isTypedArray,bn=k("length"),_n=S({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y",
-"ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),xn=S({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),wn=S({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Cn=function t(e){function n(t){if(eo(t)&&!Ys(t)&&!(t instanceof S)){if(t instanceof r)return t;if(qo.call(t,"__wrapped__"))return Dr(t)}return new r(t)}function i(){}function r(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=H}function S(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=gt,this.__views__=[]}function Ee(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Me(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Oe(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function $e(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Oe;++e<n;)this.add(t[e])}function Ie(t){var e=this.__data__=new Me(t);this.size=e.size}function Fe(t,e){var n=Ys(t),i=!n&&qs(t),r=!n&&!i&&Gs(t),o=!n&&!i&&!r&&tl(t),a=n||i||r||o,s=a?A(t.length,Ro):[],l=s.length;for(var u in t)!e&&!qo.call(t,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||hr(u,l))||s.push(u);return s}function Pe(t){var e=t.length;return e?t[Zn(0,e-1)]:H}function Ne(t,e){return kr(Ai(t),Ye(e,0,t.length))}function Le(t){return kr(Ai(t))}function je(t,e,n){(n===H||Yr(t[e],n))&&(n!==H||e in t)||He(t,e,n)}function Re(t,e,n){var i=t[e];qo.call(t,e)&&Yr(i,n)&&(n!==H||e in t)||He(t,e,n)}function Ue(t,e){for(var n=t.length;n--;)if(Yr(t[n][0],e))return n;return-1}function Be(t,e,n,i){return Wa(t,function(t,r,o){e(i,t,n(t),o)}),i}function ze(t,e){return t&&Ei(e,vo(e),t)}function He(t,e,n){"__proto__"==e&&ca?ca(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function We(t,e){for(var n=-1,i=e.length,r=$o(i),o=null==t;++n<i;)r[n]=o?H:po(t,e[n]);return r}function Ye(t,e,n){return t==t&&(n!==H&&(t=t<=n?t:n),e!==H&&(t=t>=e?t:e)),t}function Ge(t,e,n,i,r,o){var a,l=e&X,u=e&G,c=e&K;if(n&&(a=r?n(t,i,r,o):n(t)),a!==H)return a;if(!to(t))return t;var d=Ys(t);if(d){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&qo.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return Ai(t,a)}else{var h=ns(t),f=h==Tt||h==Dt;if(Gs(t))return wi(t,l);if(h==Ot||h==bt||f&&!r){if(a=u||f?{}:cr(t),!l)return u?function(t,e){return Ei(t,es(t),e)}(t,function(t,e){return t&&Ei(e,mo(e),t)}(a,t)):function(t,e){return Ei(t,ts(t),e)}(t,ze(a,t))}else{if(!tn[h])return r?t:{};a=function(t,e,n){var i,r,o,a=t.constructor;switch(e){case Rt:return Ci(t);case wt:case Ct:return new a(+t);case Ut:return function(t,e){var n=e?Ci(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case Bt:case zt:case Ht:case Wt:case Vt:case qt:case Yt:case Xt:case Gt:return ki(t,n);case At:return new a;case Et:case Pt:return new a(t);case It:return(o=new(r=t).constructor(r.source,_e.exec(r))).lastIndex=r.lastIndex,o;case Ft:return new a;case Nt:return i=t,Ba?Lo(Ba.call(i)):{}}}(t,h,l)}}o||(o=new Ie);var p=o.get(t);if(p)return p;o.set(t,a),Js(t)?t.forEach(function(i){a.add(Ge(i,e,n,i,t,o))}):Zs(t)&&t.forEach(function(i,r){a.set(r,Ge(i,e,n,r,t,o))});var g=d?H:(c?u?nr:er:u?mo:vo)(t);return s(g||t,function(i,r){g&&(i=t[r=i]),Re(a,r,Ge(i,e,n,r,t,o))}),a}function en(t,e,n){var i=n.length;if(null==t)return!i;for(t=Lo(t);i--;){var r=n[i],o=e[r],a=t[r];if(a===H&&!(r in t)||!o(a))return!1}return!0}function on(t,e,n){if("function"!=typeof t)throw new Uo(V);return os(function(){t.apply(H,n)},e)}function an(t,e,n,i){var r=-1,o=d,a=!0,s=t.length,l=[],u=e.length;if(!s)return l;n&&(e=f(e,E(n))),i?(o=h,a=!1):e.length>=W&&(o=O,a=!1,e=new $e(e));t:for(;++r<s;){var c=t[r],p=null==n?c:n(c);if(c=i||0!==c?c:0,a&&p==p){for(var g=u;g--;)if(e[g]===p)continue t;l.push(c)}else o(e,p,i)||l.push(c)}return l}function ln(t,e){var n=!0;return Wa(t,function(t,i,r){return n=!!e(t,i,r)}),n}function un(t,e,n){for(var i=-1,r=t.length;++i<r;){var o=t[i],a=e(o);if(null!=a&&(s===H?a==a&&!oo(a):n(a,s)))var s=a,l=o}return l}function dn(t,e){var n=[];return Wa(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n}function hn(t,e,n,i,r){var o=-1,a=t.length;for(n||(n=dr),r||(r=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?hn(s,e-1,n,i,r):p(r,s):i||(r[r.length]=s)}return r}function bn(t,e){return t&&qa(t,e,vo)}function kn(t,e){return t&&Ya(t,e,vo)}function Sn(t,e){return c(e,function(e){return Zr(t[e])})}function Tn(t,e){for(var n=0,i=(e=_i(e,t)).length;null!=t&&n<i;)t=t[Sr(e[n++])];return n&&n==i?t:H}function Dn(t,e,n){var i=e(t);return Ys(t)?i:p(i,n(t))}function An(t){return null==t?t===H?Lt:Mt:ua&&ua in Lo(t)?function(t){var e=qo.call(t,ua),n=t[ua];try{t[ua]=H;var i=!0}catch(t){}var r=Go.call(t);return i&&(e?t[ua]=n:delete t[ua]),r}(t):function(t){return Go.call(t)}(t)}function En(t,e){return t>e}function Mn(t,e){return null!=t&&qo.call(t,e)}function On(t,e){return null!=t&&e in Lo(t)}function $n(t,e,n){for(var i=n?h:d,r=t[0].length,o=t.length,a=o,s=$o(o),l=1/0,u=[];a--;){var c=t[a];a&&e&&(c=f(c,E(e))),l=wa(c.length,l),s[a]=!n&&(e||r>=120&&c.length>=120)?new $e(a&&c):H}c=t[0];var p=-1,g=s[0];t:for(;++p<r&&u.length<l;){var v=c[p],m=e?e(v):v;if(v=n||0!==v?v:0,!(g?O(g,m):i(u,m,n))){for(a=o;--a;){var y=s[a];if(!(y?O(y,m):i(t[a],m,n)))continue t}g&&g.push(m),u.push(v)}}return u}function In(t,e,n){var i=null==(t=_r(t,e=_i(e,t)))?t:t[Sr($r(e))];return null==i?H:o(i,t,n)}function Fn(t){return eo(t)&&An(t)==bt}function Pn(t,e,n,i,r){return t===e||(null==t||null==e||!eo(t)&&!eo(e)?t!=t&&e!=e:function(t,e,n,i,r,o){var a=Ys(t),s=Ys(e),l=a?_t:ns(t),u=s?_t:ns(e),c=(l=l==bt?Ot:l)==Ot,d=(u=u==bt?Ot:u)==Ot,h=l==u;if(h&&Gs(t)){if(!Gs(e))return!1;a=!0,c=!1}if(h&&!c)return o||(o=new Ie),a||tl(t)?Ji(t,e,n,i,r,o):function(t,e,n,i,r,o,a){switch(n){case Ut:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Rt:return!(t.byteLength!=e.byteLength||!o(new ea(t),new ea(e)));case wt:case Ct:case Et:return Yr(+t,+e);case St:return t.name==e.name&&t.message==e.message;case It:case Pt:return t==e+"";case At:var s=N;case Ft:var l=i&Z;if(s||(s=R),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;i|=Q,a.set(t,e);var c=Ji(s(t),s(e),i,r,o,a);return a.delete(t),c;case Nt:if(Ba)return Ba.call(t)==Ba.call(e)}return!1}(t,e,l,n,i,r,o);if(!(n&Z)){var f=c&&qo.call(t,"__wrapped__"),p=d&&qo.call(e,"__wrapped__");if(f||p){var g=f?t.value():t,v=p?e.value():e;return o||(o=new Ie),r(g,v,n,i,o)}}return!!h&&(o||(o=new Ie),function(t,e,n,i,r,o){var a=n&Z,s=er(t),l=s.length;if(l!=er(e).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in e:qo.call(e,c)))return!1}var d=o.get(t);if(d&&o.get(e))return d==e;var h=!0;o.set(t,e),o.set(e,t);for(var f=a;++u<l;){c=s[u];var p=t[c],g=e[c];if(i)var v=a?i(g,p,c,e,t,o):i(p,g,c,t,e,o);if(!(v===H?p===g||r(p,g,n,i,o):v)){h=!1;break}f||(f="constructor"==c)}if(h&&!f){var m=t.constructor,y=e.constructor;m!=y&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof y&&y instanceof y)&&(h=!1)}return o.delete(t),o.delete(e),h}(t,e,n,i,r,o))}(t,e,n,i,Pn,r))}function Nn(t,e,n,i){var r=n.length,o=r,a=!i;if(null==t)return!o;for(t=Lo(t);r--;){var s=n[r];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<o;){var l=(s=n[r])[0],u=t[l],c=s[1];if(a&&s[2]){if(u===H&&!(l in t))return!1}else{var d=new Ie;if(i)var h=i(u,c,l,t,e,d);if(!(h===H?Pn(c,u,Z|Q,i,d):h))return!1}}return!0}function Ln(t){return!(!to(t)||Xo&&Xo in t)&&(Zr(t)?Qo:Ce).test(Tr(t))}function jn(t){return"function"==typeof t?t:null==t?ko:"object"==typeof t?Ys(t)?Wn(t[0],t[1]):Hn(t):Ao(t)}function Rn(t){if(!vr(t))return _a(t);var e=[];for(var n in Lo(t))qo.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Un(t){if(!to(t))return function(t){var e=[];if(null!=t)for(var n in Lo(t))e.push(n);return e}(t);var e=vr(t),n=[];for(var i in t)("constructor"!=i||!e&&qo.call(t,i))&&n.push(i);return n}function Bn(t,e){return t<e}function zn(t,e){var n=-1,i=Xr(t)?$o(t.length):[];return Wa(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function Hn(t){var e=sr(t);return 1==e.length&&e[0][2]?yr(e[0][0],e[0][1]):function(n){return n===t||Nn(n,t,e)}}function Wn(t,e){return pr(t)&&mr(e)?yr(Sr(t),e):function(n){var i=po(n,t);return i===H&&i===e?go(n,t):Pn(e,i,Z|Q)}}function Vn(t,e,n,i,r){t!==e&&qa(e,function(o,a){if(r||(r=new Ie),to(o))!function(t,e,n,i,r,o,a){var s=xr(t,n),l=xr(e,n),u=a.get(l);if(u)je(t,n,u);else{var c=o?o(s,l,n+"",t,e,a):H,d=c===H;if(d){var h=Ys(l),f=!h&&Gs(l),p=!h&&!f&&tl(l);c=l,h||f||p?Ys(s)?c=s:Gr(s)?c=Ai(s):f?(d=!1,c=wi(l,!0)):p?(d=!1,c=ki(l,!0)):c=[]:io(l)||qs(l)?(c=s,qs(s)?c=ho(s):to(s)&&!Zr(s)||(c=cr(l))):d=!1}d&&(a.set(l,c),r(c,l,i,o,a),a.delete(l)),je(t,n,c)}}(t,e,a,n,Vn,i,r);else{var s=i?i(xr(t,a),o,a+"",t,e,r):H;s===H&&(s=o),je(t,a,s)}},mo)}function qn(t,e){var n=t.length;if(n)return hr(e+=e<0?n:0,n)?t[e]:H}function Yn(t,e,n){var i=-1;return e=f(e.length?e:[ko],E(or())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(zn(t,function(t,n,r){return{criteria:f(e,function(e){return e(t)}),index:++i,value:t}}),function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,a=r.length,s=n.length;++i<a;){var l=Si(r[i],o[i]);if(l){if(i>=s)return l;return l*("desc"==n[i]?-1:1)}}return t.index-e.index}(t,e,n)})}function Xn(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var a=e[i],s=Tn(t,a);n(s,a)&&ni(o,_i(a,t),s)}return o}function Gn(t,e,n,i){var r=i?x:_,o=-1,a=e.length,s=t;for(t===e&&(e=Ai(e)),n&&(s=f(t,E(n)));++o<a;)for(var l=0,u=e[o],c=n?n(u):u;(l=r(s,c,l,i))>-1;)s!==t&&aa.call(s,l,1),aa.call(t,l,1);return t}function Kn(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;hr(r)?aa.call(t,r,1):hi(t,r)}}return t}function Zn(t,e){return t+ga(Sa()*(e-t+1))}function Qn(t,e){var n="";if(!t||e<1||e>ht)return n;do{e%2&&(n+=t),(e=ga(e/2))&&(t+=t)}while(e);return n}function Jn(t,e){return as(br(t,e,ko),t+"")}function ti(t){return Pe(bo(t))}function ei(t,e){var n=bo(t);return kr(n,Ye(e,0,n.length))}function ni(t,e,n,i){if(!to(t))return t;for(var r=-1,o=(e=_i(e,t)).length,a=o-1,s=t;null!=s&&++r<o;){var l=Sr(e[r]),u=n;if(r!=a){var c=s[l];(u=i?i(c,l,s):H)===H&&(u=to(c)?c:hr(e[r+1])?[]:{})}Re(s,l,u),s=s[l]}return t}function ii(t){return kr(bo(t))}function ri(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=$o(r);++i<r;)o[i]=t[i+e];return o}function oi(t,e){var n;return Wa(t,function(t,i,r){return!(n=e(t,i,r))}),!!n}function ai(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=mt){for(;i<r;){var o=i+r>>>1,a=t[o];null!==a&&!oo(a)&&(n?a<=e:a<e)?i=o+1:r=o}return r}return si(t,e,ko,n)}function si(t,e,n,i){e=n(e);for(var r=0,o=null==t?0:t.length,a=e!=e,s=null===e,l=oo(e),u=e===H;r<o;){var c=ga((r+o)/2),d=n(t[c]),h=d!==H,f=null===d,p=d==d,g=oo(d);if(a)var v=i||p;else v=u?p&&(i||h):s?p&&h&&(i||!f):l?p&&h&&!f&&(i||!g):!f&&!g&&(i?d<=e:d<e);v?r=c+1:o=c}return wa(o,vt)}function li(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n],s=e?e(a):a;if(!n||!Yr(s,l)){var l=s;o[r++]=0===a?0:a}}return o}function ui(t){return"number"==typeof t?t:oo(t)?pt:+t}function ci(t){if("string"==typeof t)return t;if(Ys(t))return f(t,ci)+"";if(oo(t))return za?za.call(t):"";var e=t+"";return"0"==e&&1/t==-dt?"-0":e}function di(t,e,n){var i=-1,r=d,o=t.length,a=!0,s=[],l=s;if(n)a=!1,r=h;else if(o>=W){var u=e?null:Qa(t);if(u)return R(u);a=!1,r=O,l=new $e}else l=e?[]:s;t:for(;++i<o;){var c=t[i],f=e?e(c):c;if(c=n||0!==c?c:0,a&&f==f){for(var p=l.length;p--;)if(l[p]===f)continue t;e&&l.push(f),s.push(c)}else r(l,f,n)||(l!==s&&l.push(f),s.push(c))}return s}function hi(t,e){return null==(t=_r(t,e=_i(e,t)))||delete t[Sr($r(e))]}function fi(t,e,n,i){return ni(t,e,n(Tn(t,e)),i)}function pi(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?ri(t,i?0:o,i?o+1:r):ri(t,i?o+1:0,i?r:o)}function gi(t,e){var n=t;return n instanceof S&&(n=n.value()),g(e,function(t,e){return e.func.apply(e.thisArg,p([t],e.args))},n)}function vi(t,e,n){var i=t.length;if(i<2)return i?di(t[0]):[];for(var r=-1,o=$o(i);++r<i;)for(var a=t[r],s=-1;++s<i;)s!=r&&(o[r]=an(o[r]||a,t[s],e,n));return di(hn(o,1),e,n)}function mi(t,e,n){for(var i=-1,r=t.length,o=e.length,a={};++i<r;){var s=i<o?e[i]:H;n(a,t[i],s)}return a}function yi(t){return Gr(t)?t:[]}function bi(t){return"function"==typeof t?t:ko}function _i(t,e){return Ys(t)?t:pr(t,e)?[t]:ss(fo(t))}function xi(t,e,n){var i=t.length;return n=n===H?i:n,!e&&n>=i?t:ri(t,e,n)}function wi(t,e){if(e)return t.slice();var n=t.length,i=na?na(n):new t.constructor(n);return t.copy(i),i}function Ci(t){var e=new t.constructor(t.byteLength);return new ea(e).set(new ea(t)),e}function ki(t,e){var n=e?Ci(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Si(t,e){if(t!==e){var n=t!==H,i=null===t,r=t==t,o=oo(t),a=e!==H,s=null===e,l=e==e,u=oo(e);if(!s&&!u&&!o&&t>e||o&&a&&l&&!s&&!u||i&&a&&l||!n&&l||!r)return 1;if(!i&&!o&&!u&&t<e||u&&n&&r&&!i&&!o||s&&n&&r||!a&&r||!l)return-1}return 0}function Ti(t,e,n,i){for(var r=-1,o=t.length,a=n.length,s=-1,l=e.length,u=xa(o-a,0),c=$o(l+u),d=!i;++s<l;)c[s]=e[s];for(;++r<a;)(d||r<o)&&(c[n[r]]=t[r]);for(;u--;)c[s++]=t[r++];return c}function Di(t,e,n,i){for(var r=-1,o=t.length,a=-1,s=n.length,l=-1,u=e.length,c=xa(o-s,0),d=$o(c+u),h=!i;++r<c;)d[r]=t[r];for(var f=r;++l<u;)d[f+l]=e[l];for(;++a<s;)(h||r<o)&&(d[f+n[a]]=t[r++]);return d}function Ai(t,e){var n=-1,i=t.length;for(e||(e=$o(i));++n<i;)e[n]=t[n];return e}function Ei(t,e,n,i){var r=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],l=i?i(n[s],t[s],s,n,t):H;l===H&&(l=t[s]),r?He(n,s,l):Re(n,s,l)}return n}function Mi(t,e){return function(n,i){var r=Ys(n)?a:Be,o=e?e():{};return r(n,t,or(i,2),o)}}function Oi(t){return Jn(function(e,n){var i=-1,r=n.length,o=r>1?n[r-1]:H,a=r>2?n[2]:H;for(o=t.length>3&&"function"==typeof o?(r--,o):H,a&&fr(n[0],n[1],a)&&(o=r<3?H:o,r=1),e=Lo(e);++i<r;){var s=n[i];s&&t(e,s,i,o)}return e})}function $i(t,e){return function(n,i){if(null==n)return n;if(!Xr(n))return t(n,i);for(var r=n.length,o=e?r:-1,a=Lo(n);(e?o--:++o<r)&&!1!==i(a[o],o,a););return n}}function Ii(t){return function(e,n,i){for(var r=-1,o=Lo(e),a=i(e),s=a.length;s--;){var l=a[t?s:++r];if(!1===n(o[l],l,o))break}return e}}function Fi(t){return function(e){var n=P(e=fo(e))?z(e):H,i=n?n[0]:e.charAt(0),r=n?xi(n,1).join(""):e.slice(1);return i[t]()+r}}function Pi(t){return function(e){return g(wo(xo(e).replace(Ve,"")),t,"")}}function Ni(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Ha(t.prototype),i=t.apply(n,e);return to(i)?i:n}}function Li(t){return function(e,n,i){var r=Lo(e);if(!Xr(e)){var o=or(n,3);e=vo(e),n=function(t){return o(r[t],t,r)}}var a=t(e,n,i);return a>-1?r[o?e[a]:a]:H}}function ji(t){return tr(function(e){var n=e.length,i=n,o=r.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new Uo(V);if(o&&!s&&"wrapper"==ir(a))var s=new r([],!0)}for(i=s?i:n;++i<n;){var l=ir(a=e[i]),u="wrapper"==l?Ja(a):H;s=u&&gr(u[0])&&u[1]==(at|nt|rt|st)&&!u[4].length&&1==u[9]?s[ir(u[0])].apply(s,u[3]):1==a.length&&gr(a)?s[l]():s.thru(a)}return function(){var t=arguments,i=t[0];if(s&&1==t.length&&Ys(i))return s.plant(i).value();for(var r=0,o=n?e[r].apply(this,t):i;++r<n;)o=e[r].call(this,o);return o}})}function Ri(t,e,n,i,r,o,a,s,l,u){var c=e&at,d=e&J,h=e&tt,f=e&(nt|it),p=e&lt,g=h?H:Ni(t);return function v(){for(var m=arguments.length,y=$o(m),b=m;b--;)y[b]=arguments[b];if(f)var _=rr(v),x=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(y,_);if(i&&(y=Ti(y,i,r,f)),o&&(y=Di(y,o,a,f)),m-=x,f&&m<u){var w=j(y,_);return qi(t,e,Ri,v.placeholder,n,y,w,s,l,u-m)}var C=d?n:this,k=h?C[t]:t;return m=y.length,s?y=function(t,e){for(var n=t.length,i=wa(e.length,n),r=Ai(t);i--;){var o=e[i];t[i]=hr(o,n)?r[o]:H}return t}(y,s):p&&m>1&&y.reverse(),c&&l<m&&(y.length=l),this&&this!==sn&&this instanceof v&&(k=g||Ni(k)),k.apply(C,y)}}function Ui(t,e){return function(n,i){return function(t,e,n,i){return bn(t,function(t,r,o){e(i,n(t),r,o)}),i}(n,t,e(i),{})}}function Bi(t,e){return function(n,i){var r;if(n===H&&i===H)return e;if(n!==H&&(r=n),i!==H){if(r===H)return i;"string"==typeof n||"string"==typeof i?(n=ci(n),i=ci(i)):(n=ui(n),i=ui(i)),r=t(n,i)}return r}}function zi(t){return tr(function(e){return e=f(e,E(or())),Jn(function(n){var i=this;return t(e,function(t){return o(t,i,n)})})})}function Hi(t,e){var n=(e=e===H?" ":ci(e)).length;if(n<2)return n?Qn(e,t):e;var i=Qn(e,pa(t/B(e)));return P(e)?xi(z(i),0,t).join(""):i.slice(0,t)}function Wi(t){return function(e,n,i){return i&&"number"!=typeof i&&fr(e,n,i)&&(n=i=H),e=so(e),n===H?(n=e,e=0):n=so(n),function(t,e,n,i){for(var r=-1,o=xa(pa((e-t)/(n||1)),0),a=$o(o);o--;)a[i?o:++r]=t,t+=n;return a}(e,n,i=i===H?e<n?1:-1:so(i),t)}}function Vi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=co(e),n=co(n)),t(e,n)}}function qi(t,e,n,i,r,o,a,s,l,u){var c=e&nt;e|=c?rt:ot,(e&=~(c?ot:rt))&et||(e&=~(J|tt));var d=[t,e,r,c?o:H,c?a:H,c?H:o,c?H:a,s,l,u],h=n.apply(H,d);return gr(t)&&rs(h,d),h.placeholder=i,wr(h,t,e)}function Yi(t){var e=No[t];return function(t,n){if(t=co(t),(n=null==n?0:wa(lo(n),292))&&ya(t)){var i=(fo(t)+"e").split("e");return+((i=(fo(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}function Xi(t){return function(e){var n=ns(e);return n==At?N(e):n==Ft?U(e):function(t,e){return f(e,function(e){return[e,t[e]]})}(e,t(e))}}function Gi(t,e,n,i,r,a,s,l){var u=e&tt;if(!u&&"function"!=typeof t)throw new Uo(V);var c=i?i.length:0;if(c||(e&=~(rt|ot),i=r=H),s=s===H?s:xa(lo(s),0),l=l===H?l:lo(l),c-=r?r.length:0,e&ot){var d=i,h=r;i=r=H}var f=u?H:Ja(t),p=[t,e,n,i,r,d,h,a,s,l];if(f&&function(t,e){var n=t[1],i=e[1],r=n|i,o=r<(J|tt|at),a=i==at&&n==nt||i==at&&n==st&&t[7].length<=e[8]||i==(at|st)&&e[7].length<=e[8]&&n==nt;if(!o&&!a)return t;i&J&&(t[2]=e[2],r|=n&J?0:et);var s=e[3];if(s){var l=t[3];t[3]=l?Ti(l,s,e[4]):s,t[4]=l?j(t[3],Y):e[4]}(s=e[5])&&(l=t[5],t[5]=l?Di(l,s,e[6]):s,t[6]=l?j(t[5],Y):e[6]),(s=e[7])&&(t[7]=s),i&at&&(t[8]=null==t[8]?e[8]:wa(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(p,f),t=p[0],e=p[1],n=p[2],i=p[3],r=p[4],!(l=p[9]=p[9]===H?u?0:t.length:xa(p[9]-c,0))&&e&(nt|it)&&(e&=~(nt|it)),e&&e!=J)g=e==nt||e==it?function(t,e,n){var i=Ni(t);return function r(){for(var a=arguments.length,s=$o(a),l=a,u=rr(r);l--;)s[l]=arguments[l];var c=a<3&&s[0]!==u&&s[a-1]!==u?[]:j(s,u);return(a-=c.length)<n?qi(t,e,Ri,r.placeholder,H,s,c,H,H,n-a):o(this&&this!==sn&&this instanceof r?i:t,this,s)}}(t,e,l):e!=rt&&e!=(J|rt)||r.length?Ri.apply(H,p):function(t,e,n,i){var r=e&J,a=Ni(t);return function e(){for(var s=-1,l=arguments.length,u=-1,c=i.length,d=$o(c+l),h=this&&this!==sn&&this instanceof e?a:t;++u<c;)d[u]=i[u];for(;l--;)d[u++]=arguments[++s];return o(h,r?n:this,d)}}(t,e,n,i);else var g=function(t,e,n){var i=e&J,r=Ni(t);return function e(){return(this&&this!==sn&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,n);return wr((f?Xa:rs)(g,p),t,e)}function Ki(t,e,n,i){return t===H||Yr(t,Ho[n])&&!qo.call(i,n)?e:t}function Zi(t,e,n,i,r,o){return to(t)&&to(e)&&(o.set(e,t),Vn(t,e,H,Zi,o),o.delete(e)),t}function Qi(t){return io(t)?H:t}function Ji(t,e,n,i,r,o){var a=n&Z,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(t);if(u&&o.get(e))return u==e;var c=-1,d=!0,h=n&Q?new $e:H;for(o.set(t,e),o.set(e,t);++c<s;){var f=t[c],p=e[c];if(i)var g=a?i(p,f,c,e,t,o):i(f,p,c,t,e,o);if(g!==H){if(g)continue;d=!1;break}if(h){if(!m(e,function(t,e){if(!O(h,e)&&(f===t||r(f,t,n,i,o)))return h.push(e)})){d=!1;break}}else if(f!==p&&!r(f,p,n,i,o)){d=!1;break}}return o.delete(t),o.delete(e),d}function tr(t){return as(br(t,H,Mr),t+"")}function er(t){return Dn(t,vo,ts)}function nr(t){return Dn(t,mo,es)}function ir(t){for(var e=t.name+"",n=Fa[e],i=qo.call(Fa,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function rr(t){return(qo.call(n,"placeholder")?n:t).placeholder}function or(){var t=n.iteratee||So;return t=t===So?jn:t,arguments.length?t(arguments[0],arguments[1]):t}function ar(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function sr(t){for(var e=vo(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,mr(r)]}return e}function lr(t,e){var n=function(t,e){return null==t?H:t[e]}(t,e);return Ln(n)?n:H}function ur(t,e,n){for(var i=-1,r=(e=_i(e,t)).length,o=!1;++i<r;){var a=Sr(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Jr(r)&&hr(a,r)&&(Ys(t)||qs(t))}function cr(t){return"function"!=typeof t.constructor||vr(t)?{}:Ha(ia(t))}function dr(t){return Ys(t)||qs(t)||!!(sa&&t&&t[sa])}function hr(t,e){var n=typeof t;return!!(e=null==e?ht:e)&&("number"==n||"symbol"!=n&&Se.test(t))&&t>-1&&t%1==0&&t<e}function fr(t,e,n){if(!to(n))return!1;var i=typeof e;return!!("number"==i?Xr(n)&&hr(e,n.length):"string"==i&&e in n)&&Yr(n[e],t)}function pr(t,e){if(Ys(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!oo(t))||se.test(t)||!ae.test(t)||null!=e&&t in Lo(e)}function gr(t){var e=ir(t),i=n[e];if("function"!=typeof i||!(e in S.prototype))return!1;if(t===i)return!0;var r=Ja(i);return!!r&&t===r[0]}function vr(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ho)}function mr(t){return t==t&&!to(t)}function yr(t,e){return function(n){return null!=n&&n[t]===e&&(e!==H||t in Lo(n))}}function br(t,e,n){return e=xa(e===H?t.length-1:e,0),function(){for(var i=arguments,r=-1,a=xa(i.length-e,0),s=$o(a);++r<a;)s[r]=i[e+r];r=-1;for(var l=$o(e+1);++r<e;)l[r]=i[r];return l[e]=n(s),o(t,this,l)}}function _r(t,e){return e.length<2?t:Tn(t,ri(e,0,-1))}function xr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function wr(t,e,n){var i=e+"";return as(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(pe,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return s(yt,function(n){var i="_."+n[0];e&n[1]&&!d(t,i)&&t.push(i)}),t.sort()}(function(t){var e=t.match(ge);return e?e[1].split(ve):[]}(i),n)))}function Cr(t){var e=0,n=0;return function(){var i=Ca(),r=ct-(i-n);if(n=i,r>0){if(++e>=ut)return arguments[0]}else e=0;return t.apply(H,arguments)}}function kr(t,e){var n=-1,i=t.length,r=i-1;for(e=e===H?i:e;++n<e;){var o=Zn(n,r),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}function Sr(t){if("string"==typeof t||oo(t))return t;var e=t+"";return"0"==e&&1/t==-dt?"-0":e}function Tr(t){if(null!=t){try{return Vo.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Dr(t){if(t instanceof S)return t.clone();var e=new r(t.__wrapped__,t.__chain__);return e.__actions__=Ai(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function Ar(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:lo(n);return r<0&&(r=xa(i+r,0)),b(t,or(e,3),r)}function Er(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i-1;return n!==H&&(r=lo(n),r=n<0?xa(i+r,0):wa(r,i-1)),b(t,or(e,3),r,!0)}function Mr(t){return null!=t&&t.length?hn(t,1):[]}function Or(t){return t&&t.length?t[0]:H}function $r(t){var e=null==t?0:t.length;return e?t[e-1]:H}function Ir(t,e){return t&&t.length&&e&&e.length?Gn(t,e):t}function Fr(t){return null==t?t:Ta.call(t)}function Pr(t){if(!t||!t.length)return[];var e=0;return t=c(t,function(t){if(Gr(t))return e=xa(t.length,e),!0}),A(e,function(e){return f(t,k(e))})}function Nr(t,e){if(!t||!t.length)return[];var n=Pr(t);return null==e?n:f(n,function(t){return o(e,H,t)})}function Lr(t){var e=n(t);return e.__chain__=!0,e}function jr(t,e){return e(t)}function Rr(t,e){return(Ys(t)?s:Wa)(t,or(e,3))}function Ur(t,e){return(Ys(t)?l:Va)(t,or(e,3))}function Br(t,e){return(Ys(t)?f:zn)(t,or(e,3))}function zr(t,e,n){return e=n?H:e,e=t&&null==e?t.length:e,Gi(t,at,H,H,H,H,e)}function Hr(t,e){var n;if("function"!=typeof e)throw new Uo(V);return t=lo(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=H),n}}function Wr(t,e,n){function i(e){var n=l,i=u;return l=u=H,p=e,d=t.apply(i,n)}function r(t){var n=t-f;return f===H||n>=e||n<0||v&&t-p>=c}function o(){var t=Fs();if(r(t))return a(t);h=os(o,function(t){var n=e-(t-f);return v?wa(n,c-(t-p)):n}(t))}function a(t){return h=H,m&&l?i(t):(l=u=H,d)}function s(){var t=Fs(),n=r(t);if(l=arguments,u=this,f=t,n){if(h===H)return function(t){return p=t,h=os(o,e),g?i(t):d}(f);if(v)return Za(h),h=os(o,e),i(f)}return h===H&&(h=os(o,e)),d}var l,u,c,d,h,f,p=0,g=!1,v=!1,m=!0;if("function"!=typeof t)throw new Uo(V);return e=co(e)||0,to(n)&&(g=!!n.leading,c=(v="maxWait"in n)?xa(co(n.maxWait)||0,e):c,m="trailing"in n?!!n.trailing:m),s.cancel=function(){h!==H&&Za(h),p=0,l=f=u=h=H},s.flush=function(){return h===H?d:a(Fs())},s}function Vr(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Uo(V);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Vr.Cache||Oe),n}function qr(t){if("function"!=typeof t)throw new Uo(V);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 Gr(t){return eo(t)&&Xr(t)}function Kr(t){if(!eo(t))return!1;var e=An(t);return e==St||e==kt||"string"==typeof t.message&&"string"==typeof t.name&&!io(t)}function Zr(t){if(!to(t))return!1;var e=An(t);return e==Tt||e==Dt||e==xt||e==$t}function Qr(t){return"number"==typeof t&&t==lo(t)}function Jr(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=ht}function to(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function eo(t){return null!=t&&"object"==typeof t}function no(t){return"number"==typeof t||eo(t)&&An(t)==Et}function io(t){if(!eo(t)||An(t)!=Ot)return!1;var e=ia(t);if(null===e)return!0;var n=qo.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Vo.call(n)==Ko}function ro(t){return"string"==typeof t||!Ys(t)&&eo(t)&&An(t)==Pt}function oo(t){return"symbol"==typeof t||eo(t)&&An(t)==Nt}function ao(t){if(!t)return[];if(Xr(t))return ro(t)?z(t):Ai(t);if(la&&t[la])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[la]());var e=ns(t);return(e==At?N:e==Ft?R:bo)(t)}function so(t){return t?(t=co(t))===dt||t===-dt?(t<0?-1:1)*ft:t==t?t:0:0===t?t:0}function lo(t){var e=so(t),n=e%1;return e==e?n?e-n: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(de,"");var n=we.test(t);return n||ke.test(t)?rn(t.slice(2),n?2:8):xe.test(t)?pt:+t}function ho(t){return Ei(t,mo(t))}function fo(t){return null==t?"":ci(t)}function po(t,e,n){var i=null==t?H:Tn(t,e);return i===H?n:i}function go(t,e){return null!=t&&ur(t,e,On)}function vo(t){return Xr(t)?Fe(t):Rn(t)}function mo(t){return Xr(t)?Fe(t,!0):Un(t)}function yo(t,e){if(null==t)return{};var n=f(nr(t),function(t){return[t]});return e=or(e),Xn(t,n,function(t,n){return e(t,n[0])})}function bo(t){return null==t?[]:M(t,vo(t))}function _o(t){return Tl(fo(t).toLowerCase())}function xo(t){return(t=fo(t))&&t.replace(Te,_n).replace(qe,"")}function wo(t,e,n){return t=fo(t),(e=n?H:e)===H?function(t){return Ke.test(t)}(t)?function(t){return t.match(Xe)||[]}(t):function(t){return t.match(me)||[]}(t):t.match(e)||[]}function Co(t){return function(){return t}}function ko(t){return t}function So(t){return jn("function"==typeof t?t:Ge(t,X))}function To(t,e,n){var i=vo(e),r=Sn(e,i);null!=n||to(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=Sn(e,vo(e)));var o=!(to(n)&&"chain"in n&&!n.chain),a=Zr(t);return s(r,function(n){var i=e[n];t[n]=i,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Ai(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,p([this.value()],arguments))})}),t}function Do(){}function Ao(t){return pr(t)?k(Sr(t)):function(t){return function(e){return Tn(e,t)}}(t)}function Eo(){return[]}function Mo(){return!1}var Oo,$o=(e=null==e?sn:Cn.defaults(sn.Object(),e,Cn.pick(sn,Ze))).Array,Io=e.Date,Fo=e.Error,Po=e.Function,No=e.Math,Lo=e.Object,jo=e.RegExp,Ro=e.String,Uo=e.TypeError,Bo=$o.prototype,zo=Po.prototype,Ho=Lo.prototype,Wo=e["__core-js_shared__"],Vo=zo.toString,qo=Ho.hasOwnProperty,Yo=0,Xo=(Oo=/[^.]+$/.exec(Wo&&Wo.keys&&Wo.keys.IE_PROTO||""))?"Symbol(src)_1."+Oo:"",Go=Ho.toString,Ko=Vo.call(Lo),Zo=sn._,Qo=jo("^"+Vo.call(qo).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Jo=cn?e.Buffer:H,ta=e.Symbol,ea=e.Uint8Array,na=Jo?Jo.allocUnsafe:H,ia=L(Lo.getPrototypeOf,Lo),ra=Lo.create,oa=Ho.propertyIsEnumerable,aa=Bo.splice,sa=ta?ta.isConcatSpreadable:H,la=ta?ta.iterator:H,ua=ta?ta.toStringTag:H,ca=function(){try{var t=lr(Lo,"defineProperty");return t({},"",{}),t}catch(t){}}(),da=e.clearTimeout!==sn.clearTimeout&&e.clearTimeout,ha=Io&&Io.now!==sn.Date.now&&Io.now,fa=e.setTimeout!==sn.setTimeout&&e.setTimeout,pa=No.ceil,ga=No.floor,va=Lo.getOwnPropertySymbols,ma=Jo?Jo.isBuffer:H,ya=e.isFinite,ba=Bo.join,_a=L(Lo.keys,Lo),xa=No.max,wa=No.min,Ca=Io.now,ka=e.parseInt,Sa=No.random,Ta=Bo.reverse,Da=lr(e,"DataView"),Aa=lr(e,"Map"),Ea=lr(e,"Promise"),Ma=lr(e,"Set"),Oa=lr(e,"WeakMap"),$a=lr(Lo,"create"),Ia=Oa&&new Oa,Fa={},Pa=Tr(Da),Na=Tr(Aa),La=Tr(Ea),ja=Tr(Ma),Ra=Tr(Oa),Ua=ta?ta.prototype:H,Ba=Ua?Ua.valueOf:H,za=Ua?Ua.toString:H,Ha=function(){function t(){}return function(e){if(!to(e))return{};if(ra)return ra(e);t.prototype=e;var n=new t;return t.prototype=H,n}}();n.templateSettings={escape:ie,evaluate:re,interpolate:oe,variable:"",imports:{_:n}},n.prototype=i.prototype,n.prototype.constructor=n,r.prototype=Ha(i.prototype),r.prototype.constructor=r,S.prototype=Ha(i.prototype),S.prototype.constructor=S,Ee.prototype.clear=function(){this.__data__=$a?$a(null):{},this.size=0},Ee.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Ee.prototype.get=function(t){var e=this.__data__;if($a){var n=e[t];return n===q?H:n}return qo.call(e,t)?e[t]:H},Ee.prototype.has=function(t){var e=this.__data__;return $a?e[t]!==H:qo.call(e,t)},Ee.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=$a&&e===H?q:e,this},Me.prototype.clear=function(){this.__data__=[],this.size=0},Me.prototype.delete=function(t){var e=this.__data__,n=Ue(e,t);return!(n<0||(n==e.length-1?e.pop():aa.call(e,n,1),--this.size,0))},Me.prototype.get=function(t){var e=this.__data__,n=Ue(e,t);return n<0?H:e[n][1]},Me.prototype.has=function(t){return Ue(this.__data__,t)>-1},Me.prototype.set=function(t,e){var n=this.__data__,i=Ue(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Oe.prototype.clear=function(){this.size=0,this.__data__={hash:new Ee,map:new(Aa||Me),string:new Ee}},Oe.prototype.delete=function(t){var e=ar(this,t).delete(t);return this.size-=e?1:0,e},Oe.prototype.get=function(t){return ar(this,t).get(t)},Oe.prototype.has=function(t){return ar(this,t).has(t)},Oe.prototype.set=function(t,e){var n=ar(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},$e.prototype.add=$e.prototype.push=function(t){
-return this.__data__.set(t,q),this},$e.prototype.has=function(t){return this.__data__.has(t)},Ie.prototype.clear=function(){this.__data__=new Me,this.size=0},Ie.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Ie.prototype.get=function(t){return this.__data__.get(t)},Ie.prototype.has=function(t){return this.__data__.has(t)},Ie.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Me){var i=n.__data__;if(!Aa||i.length<W-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Oe(i)}return n.set(t,e),this.size=n.size,this};var Wa=$i(bn),Va=$i(kn,!0),qa=Ii(),Ya=Ii(!0),Xa=Ia?function(t,e){return Ia.set(t,e),t}:ko,Ga=ca?function(t,e){return ca(t,"toString",{configurable:!0,enumerable:!1,value:Co(e),writable:!0})}:ko,Ka=Jn,Za=da||function(t){return sn.clearTimeout(t)},Qa=Ma&&1/R(new Ma([,-0]))[1]==dt?function(t){return new Ma(t)}:Do,Ja=Ia?function(t){return Ia.get(t)}:Do,ts=va?function(t){return null==t?[]:(t=Lo(t),c(va(t),function(e){return oa.call(t,e)}))}:Eo,es=va?function(t){for(var e=[];t;)p(e,ts(t)),t=ia(t);return e}:Eo,ns=An;(Da&&ns(new Da(new ArrayBuffer(1)))!=Ut||Aa&&ns(new Aa)!=At||Ea&&"[object Promise]"!=ns(Ea.resolve())||Ma&&ns(new Ma)!=Ft||Oa&&ns(new Oa)!=jt)&&(ns=function(t){var e=An(t),n=e==Ot?t.constructor:H,i=n?Tr(n):"";if(i)switch(i){case Pa:return Ut;case Na:return At;case La:return"[object Promise]";case ja:return Ft;case Ra:return jt}return e});var is=Wo?Zr:Mo,rs=Cr(Xa),os=fa||function(t,e){return sn.setTimeout(t,e)},as=Cr(Ga),ss=function(t){var e=Vr(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(le,function(t,n,i,r){e.push(i?r.replace(ye,"$1"):n||t)}),e}),ls=Jn(function(t,e){return Gr(t)?an(t,hn(e,1,Gr,!0)):[]}),us=Jn(function(t,e){var n=$r(e);return Gr(n)&&(n=H),Gr(t)?an(t,hn(e,1,Gr,!0),or(n,2)):[]}),cs=Jn(function(t,e){var n=$r(e);return Gr(n)&&(n=H),Gr(t)?an(t,hn(e,1,Gr,!0),H,n):[]}),ds=Jn(function(t){var e=f(t,yi);return e.length&&e[0]===t[0]?$n(e):[]}),hs=Jn(function(t){var e=$r(t),n=f(t,yi);return e===$r(n)?e=H:n.pop(),n.length&&n[0]===t[0]?$n(n,or(e,2)):[]}),fs=Jn(function(t){var e=$r(t),n=f(t,yi);return(e="function"==typeof e?e:H)&&n.pop(),n.length&&n[0]===t[0]?$n(n,H,e):[]}),ps=Jn(Ir),gs=tr(function(t,e){var n=null==t?0:t.length,i=We(t,e);return Kn(t,f(e,function(t){return hr(t,n)?+t:t}).sort(Si)),i}),vs=Jn(function(t){return di(hn(t,1,Gr,!0))}),ms=Jn(function(t){var e=$r(t);return Gr(e)&&(e=H),di(hn(t,1,Gr,!0),or(e,2))}),ys=Jn(function(t){var e=$r(t);return e="function"==typeof e?e:H,di(hn(t,1,Gr,!0),H,e)}),bs=Jn(function(t,e){return Gr(t)?an(t,e):[]}),_s=Jn(function(t){return vi(c(t,Gr))}),xs=Jn(function(t){var e=$r(t);return Gr(e)&&(e=H),vi(c(t,Gr),or(e,2))}),ws=Jn(function(t){var e=$r(t);return e="function"==typeof e?e:H,vi(c(t,Gr),H,e)}),Cs=Jn(Pr),ks=Jn(function(t){var e=t.length,n=e>1?t[e-1]:H;return Nr(t,n="function"==typeof n?(t.pop(),n):H)}),Ss=tr(function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,o=function(e){return We(e,t)};return!(e>1||this.__actions__.length)&&i instanceof S&&hr(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:jr,args:[o],thisArg:H}),new r(i,this.__chain__).thru(function(t){return e&&!t.length&&t.push(H),t})):this.thru(o)}),Ts=Mi(function(t,e,n){qo.call(t,n)?++t[n]:He(t,n,1)}),Ds=Li(Ar),As=Li(Er),Es=Mi(function(t,e,n){qo.call(t,n)?t[n].push(e):He(t,n,[e])}),Ms=Jn(function(t,e,n){var i=-1,r="function"==typeof e,a=Xr(t)?$o(t.length):[];return Wa(t,function(t){a[++i]=r?o(e,t,n):In(t,e,n)}),a}),Os=Mi(function(t,e,n){He(t,n,e)}),$s=Mi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Is=Jn(function(t,e){if(null==t)return[];var n=e.length;return n>1&&fr(t,e[0],e[1])?e=[]:n>2&&fr(e[0],e[1],e[2])&&(e=[e[0]]),Yn(t,hn(e,1),[])}),Fs=ha||function(){return sn.Date.now()},Ps=Jn(function(t,e,n){var i=J;if(n.length){var r=j(n,rr(Ps));i|=rt}return Gi(t,i,e,n,r)}),Ns=Jn(function(t,e,n){var i=J|tt;if(n.length){var r=j(n,rr(Ns));i|=rt}return Gi(e,i,t,n,r)}),Ls=Jn(function(t,e){return on(t,1,e)}),js=Jn(function(t,e,n){return on(t,co(e)||0,n)});Vr.Cache=Oe;var Rs,Us=Ka(function(t,e){var n=(e=1==e.length&&Ys(e[0])?f(e[0],E(or())):f(hn(e,1),E(or()))).length;return Jn(function(i){for(var r=-1,a=wa(i.length,n);++r<a;)i[r]=e[r].call(this,i[r]);return o(t,this,i)})}),Bs=Jn(function(t,e){var n=j(e,rr(Bs));return Gi(t,rt,H,e,n)}),zs=Jn(function(t,e){var n=j(e,rr(zs));return Gi(t,ot,H,e,n)}),Hs=tr(function(t,e){return Gi(t,st,H,H,H,e)}),Ws=Vi(En),Vs=Vi(function(t,e){return t>=e}),qs=Fn(function(){return arguments}())?Fn:function(t){return eo(t)&&qo.call(t,"callee")&&!oa.call(t,"callee")},Ys=$o.isArray,Xs=fn?E(fn):function(t){return eo(t)&&An(t)==Rt},Gs=ma||Mo,Ks=pn?E(pn):function(t){return eo(t)&&An(t)==Ct},Zs=gn?E(gn):function(t){return eo(t)&&ns(t)==At},Qs=vn?E(vn):function(t){return eo(t)&&An(t)==It},Js=mn?E(mn):function(t){return eo(t)&&ns(t)==Ft},tl=yn?E(yn):function(t){return eo(t)&&Jr(t.length)&&!!Je[An(t)]},el=Vi(Bn),nl=Vi(function(t,e){return t<=e}),il=Oi(function(t,e){if(vr(e)||Xr(e))Ei(e,vo(e),t);else for(var n in e)qo.call(e,n)&&Re(t,n,e[n])}),rl=Oi(function(t,e){Ei(e,mo(e),t)}),ol=Oi(function(t,e,n,i){Ei(e,mo(e),t,i)}),al=Oi(function(t,e,n,i){Ei(e,vo(e),t,i)}),sl=tr(We),ll=Jn(function(t,e){t=Lo(t);var n=-1,i=e.length,r=i>2?e[2]:H;for(r&&fr(e[0],e[1],r)&&(i=1);++n<i;)for(var o=e[n],a=mo(o),s=-1,l=a.length;++s<l;){var u=a[s],c=t[u];(c===H||Yr(c,Ho[u])&&!qo.call(t,u))&&(t[u]=o[u])}return t}),ul=Jn(function(t){return t.push(H,Zi),o(pl,H,t)}),cl=Ui(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Go.call(e)),t[e]=n},Co(ko)),dl=Ui(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Go.call(e)),qo.call(t,e)?t[e].push(n):t[e]=[n]},or),hl=Jn(In),fl=Oi(function(t,e,n){Vn(t,e,n)}),pl=Oi(function(t,e,n,i){Vn(t,e,n,i)}),gl=tr(function(t,e){var n={};if(null==t)return n;var i=!1;e=f(e,function(e){return e=_i(e,t),i||(i=e.length>1),e}),Ei(t,nr(t),n),i&&(n=Ge(n,X|G|K,Qi));for(var r=e.length;r--;)hi(n,e[r]);return n}),vl=tr(function(t,e){return null==t?{}:function(t,e){return Xn(t,e,function(e,n){return go(t,n)})}(t,e)}),ml=Xi(vo),yl=Xi(mo),bl=Pi(function(t,e,n){return e=e.toLowerCase(),t+(n?_o(e):e)}),_l=Pi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),xl=Pi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),wl=Fi("toLowerCase"),Cl=Pi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),kl=Pi(function(t,e,n){return t+(n?" ":"")+Tl(e)}),Sl=Pi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Tl=Fi("toUpperCase"),Dl=Jn(function(t,e){try{return o(t,H,e)}catch(t){return Kr(t)?t:new Fo(t)}}),Al=tr(function(t,e){return s(e,function(e){e=Sr(e),He(t,e,Ps(t[e],t))}),t}),El=ji(),Ml=ji(!0),Ol=Jn(function(t,e){return function(n){return In(n,t,e)}}),$l=Jn(function(t,e){return function(n){return In(t,n,e)}}),Il=zi(f),Fl=zi(u),Pl=zi(m),Nl=Wi(),Ll=Wi(!0),jl=Bi(function(t,e){return t+e},0),Rl=Yi("ceil"),Ul=Bi(function(t,e){return t/e},1),Bl=Yi("floor"),zl=Bi(function(t,e){return t*e},1),Hl=Yi("round"),Wl=Bi(function(t,e){return t-e},0);return n.after=function(t,e){if("function"!=typeof e)throw new Uo(V);return t=lo(t),function(){if(--t<1)return e.apply(this,arguments)}},n.ary=zr,n.assign=il,n.assignIn=rl,n.assignInWith=ol,n.assignWith=al,n.at=sl,n.before=Hr,n.bind=Ps,n.bindAll=Al,n.bindKey=Ns,n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ys(t)?t:[t]},n.chain=Lr,n.chunk=function(t,e,n){e=(n?fr(t,e,n):e===H)?1:xa(lo(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var r=0,o=0,a=$o(pa(i/e));r<i;)a[o++]=ri(t,r,r+=e);return a},n.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},n.concat=function(){var t=arguments.length;if(!t)return[];for(var e=$o(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return p(Ys(n)?Ai(n):[n],hn(e,1))},n.cond=function(t){var e=null==t?0:t.length,n=or();return t=e?f(t,function(t){if("function"!=typeof t[1])throw new Uo(V);return[n(t[0]),t[1]]}):[],Jn(function(n){for(var i=-1;++i<e;){var r=t[i];if(o(r[0],this,n))return o(r[1],this,n)}})},n.conforms=function(t){return function(t){var e=vo(t);return function(n){return en(n,t,e)}}(Ge(t,X))},n.constant=Co,n.countBy=Ts,n.create=function(t,e){var n=Ha(t);return null==e?n:ze(n,e)},n.curry=function t(e,n,i){var r=Gi(e,nt,H,H,H,H,H,n=i?H:n);return r.placeholder=t.placeholder,r},n.curryRight=function t(e,n,i){var r=Gi(e,it,H,H,H,H,H,n=i?H:n);return r.placeholder=t.placeholder,r},n.debounce=Wr,n.defaults=ll,n.defaultsDeep=ul,n.defer=Ls,n.delay=js,n.difference=ls,n.differenceBy=us,n.differenceWith=cs,n.drop=function(t,e,n){var i=null==t?0:t.length;return i?ri(t,(e=n||e===H?1:lo(e))<0?0:e,i):[]},n.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?ri(t,0,(e=i-(e=n||e===H?1:lo(e)))<0?0:e):[]},n.dropRightWhile=function(t,e){return t&&t.length?pi(t,or(e,3),!0,!0):[]},n.dropWhile=function(t,e){return t&&t.length?pi(t,or(e,3),!0):[]},n.fill=function(t,e,n,i){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&fr(t,e,n)&&(n=0,i=r),function(t,e,n,i){var r=t.length;for((n=lo(n))<0&&(n=-n>r?0:r+n),(i=i===H||i>r?r:lo(i))<0&&(i+=r),i=n>i?0:uo(i);n<i;)t[n++]=e;return t}(t,e,n,i)):[]},n.filter=function(t,e){return(Ys(t)?c:dn)(t,or(e,3))},n.flatMap=function(t,e){return hn(Br(t,e),1)},n.flatMapDeep=function(t,e){return hn(Br(t,e),dt)},n.flatMapDepth=function(t,e,n){return n=n===H?1:lo(n),hn(Br(t,e),n)},n.flatten=Mr,n.flattenDeep=function(t){return null!=t&&t.length?hn(t,dt):[]},n.flattenDepth=function(t,e){return null!=t&&t.length?hn(t,e=e===H?1:lo(e)):[]},n.flip=function(t){return Gi(t,lt)},n.flow=El,n.flowRight=Ml,n.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},n.functions=function(t){return null==t?[]:Sn(t,vo(t))},n.functionsIn=function(t){return null==t?[]:Sn(t,mo(t))},n.groupBy=Es,n.initial=function(t){return null!=t&&t.length?ri(t,0,-1):[]},n.intersection=ds,n.intersectionBy=hs,n.intersectionWith=fs,n.invert=cl,n.invertBy=dl,n.invokeMap=Ms,n.iteratee=So,n.keyBy=Os,n.keys=vo,n.keysIn=mo,n.map=Br,n.mapKeys=function(t,e){var n={};return e=or(e,3),bn(t,function(t,i,r){He(n,e(t,i,r),t)}),n},n.mapValues=function(t,e){var n={};return e=or(e,3),bn(t,function(t,i,r){He(n,i,e(t,i,r))}),n},n.matches=function(t){return Hn(Ge(t,X))},n.matchesProperty=function(t,e){return Wn(t,Ge(e,X))},n.memoize=Vr,n.merge=fl,n.mergeWith=pl,n.method=Ol,n.methodOf=$l,n.mixin=To,n.negate=qr,n.nthArg=function(t){return t=lo(t),Jn(function(e){return qn(e,t)})},n.omit=gl,n.omitBy=function(t,e){return yo(t,qr(or(e)))},n.once=function(t){return Hr(2,t)},n.orderBy=function(t,e,n,i){return null==t?[]:(Ys(e)||(e=null==e?[]:[e]),Ys(n=i?H:n)||(n=null==n?[]:[n]),Yn(t,e,n))},n.over=Il,n.overArgs=Us,n.overEvery=Fl,n.overSome=Pl,n.partial=Bs,n.partialRight=zs,n.partition=$s,n.pick=vl,n.pickBy=yo,n.property=Ao,n.propertyOf=function(t){return function(e){return null==t?H:Tn(t,e)}},n.pull=ps,n.pullAll=Ir,n.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Gn(t,e,or(n,2)):t},n.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Gn(t,e,H,n):t},n.pullAt=gs,n.range=Nl,n.rangeRight=Ll,n.rearg=Hs,n.reject=function(t,e){return(Ys(t)?c:dn)(t,qr(or(e,3)))},n.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=or(e,3);++i<o;){var a=t[i];e(a,i,t)&&(n.push(a),r.push(i))}return Kn(t,r),n},n.rest=function(t,e){if("function"!=typeof t)throw new Uo(V);return Jn(t,e=e===H?e:lo(e))},n.reverse=Fr,n.sampleSize=function(t,e,n){return e=(n?fr(t,e,n):e===H)?1:lo(e),(Ys(t)?Ne:ei)(t,e)},n.set=function(t,e,n){return null==t?t:ni(t,e,n)},n.setWith=function(t,e,n,i){return i="function"==typeof i?i:H,null==t?t:ni(t,e,n,i)},n.shuffle=function(t){return(Ys(t)?Le:ii)(t)},n.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&fr(t,e,n)?(e=0,n=i):(e=null==e?0:lo(e),n=n===H?i:lo(n)),ri(t,e,n)):[]},n.sortBy=Is,n.sortedUniq=function(t){return t&&t.length?li(t):[]},n.sortedUniqBy=function(t,e){return t&&t.length?li(t,or(e,2)):[]},n.split=function(t,e,n){return n&&"number"!=typeof n&&fr(t,e,n)&&(e=n=H),(n=n===H?gt:n>>>0)?(t=fo(t))&&("string"==typeof e||null!=e&&!Qs(e))&&!(e=ci(e))&&P(t)?xi(z(t),0,n):t.split(e,n):[]},n.spread=function(t,e){if("function"!=typeof t)throw new Uo(V);return e=null==e?0:xa(lo(e),0),Jn(function(n){var i=n[e],r=xi(n,0,e);return i&&p(r,i),o(t,this,r)})},n.tail=function(t){var e=null==t?0:t.length;return e?ri(t,1,e):[]},n.take=function(t,e,n){return t&&t.length?ri(t,0,(e=n||e===H?1:lo(e))<0?0:e):[]},n.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?ri(t,(e=i-(e=n||e===H?1:lo(e)))<0?0:e,i):[]},n.takeRightWhile=function(t,e){return t&&t.length?pi(t,or(e,3),!1,!0):[]},n.takeWhile=function(t,e){return t&&t.length?pi(t,or(e,3)):[]},n.tap=function(t,e){return e(t),t},n.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new Uo(V);return to(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Wr(t,e,{leading:i,maxWait:e,trailing:r})},n.thru=jr,n.toArray=ao,n.toPairs=ml,n.toPairsIn=yl,n.toPath=function(t){return Ys(t)?f(t,Sr):oo(t)?[t]:Ai(ss(fo(t)))},n.toPlainObject=ho,n.transform=function(t,e,n){var i=Ys(t),r=i||Gs(t)||tl(t);if(e=or(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:to(t)&&Zr(o)?Ha(ia(t)):{}}return(r?s:bn)(t,function(t,i,r){return e(n,t,i,r)}),n},n.unary=function(t){return zr(t,1)},n.union=vs,n.unionBy=ms,n.unionWith=ys,n.uniq=function(t){return t&&t.length?di(t):[]},n.uniqBy=function(t,e){return t&&t.length?di(t,or(e,2)):[]},n.uniqWith=function(t,e){return e="function"==typeof e?e:H,t&&t.length?di(t,H,e):[]},n.unset=function(t,e){return null==t||hi(t,e)},n.unzip=Pr,n.unzipWith=Nr,n.update=function(t,e,n){return null==t?t:fi(t,e,bi(n))},n.updateWith=function(t,e,n,i){return i="function"==typeof i?i:H,null==t?t:fi(t,e,bi(n),i)},n.values=bo,n.valuesIn=function(t){return null==t?[]:M(t,mo(t))},n.without=bs,n.words=wo,n.wrap=function(t,e){return Bs(bi(e),t)},n.xor=_s,n.xorBy=xs,n.xorWith=ws,n.zip=Cs,n.zipObject=function(t,e){return mi(t||[],e||[],Re)},n.zipObjectDeep=function(t,e){return mi(t||[],e||[],ni)},n.zipWith=ks,n.entries=ml,n.entriesIn=yl,n.extend=rl,n.extendWith=ol,To(n,n),n.add=jl,n.attempt=Dl,n.camelCase=bl,n.capitalize=_o,n.ceil=Rl,n.clamp=function(t,e,n){return n===H&&(n=e,e=H),n!==H&&(n=(n=co(n))==n?n:0),e!==H&&(e=(e=co(e))==e?e:0),Ye(co(t),e,n)},n.clone=function(t){return Ge(t,K)},n.cloneDeep=function(t){return Ge(t,X|K)},n.cloneDeepWith=function(t,e){return Ge(t,X|K,e="function"==typeof e?e:H)},n.cloneWith=function(t,e){return Ge(t,K,e="function"==typeof e?e:H)},n.conformsTo=function(t,e){return null==e||en(t,e,vo(e))},n.deburr=xo,n.defaultTo=function(t,e){return null==t||t!=t?e:t},n.divide=Ul,n.endsWith=function(t,e,n){t=fo(t),e=ci(e);var i=t.length,r=n=n===H?i:Ye(lo(n),0,i);return(n-=e.length)>=0&&t.slice(n,r)==e},n.eq=Yr,n.escape=function(t){return(t=fo(t))&&ne.test(t)?t.replace(te,xn):t},n.escapeRegExp=function(t){return(t=fo(t))&&ce.test(t)?t.replace(ue,"\\$&"):t},n.every=function(t,e,n){var i=Ys(t)?u:ln;return n&&fr(t,e,n)&&(e=H),i(t,or(e,3))},n.find=Ds,n.findIndex=Ar,n.findKey=function(t,e){return y(t,or(e,3),bn)},n.findLast=As,n.findLastIndex=Er,n.findLastKey=function(t,e){return y(t,or(e,3),kn)},n.floor=Bl,n.forEach=Rr,n.forEachRight=Ur,n.forIn=function(t,e){return null==t?t:qa(t,or(e,3),mo)},n.forInRight=function(t,e){return null==t?t:Ya(t,or(e,3),mo)},n.forOwn=function(t,e){return t&&bn(t,or(e,3))},n.forOwnRight=function(t,e){return t&&kn(t,or(e,3))},n.get=po,n.gt=Ws,n.gte=Vs,n.has=function(t,e){return null!=t&&ur(t,e,Mn)},n.hasIn=go,n.head=Or,n.identity=ko,n.includes=function(t,e,n,i){t=Xr(t)?t:bo(t),n=n&&!i?lo(n):0;var r=t.length;return n<0&&(n=xa(r+n,0)),ro(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&_(t,e,n)>-1},n.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:lo(n);return r<0&&(r=xa(i+r,0)),_(t,e,r)},n.inRange=function(t,e,n){return e=so(e),n===H?(n=e,e=0):n=so(n),function(t,e,n){return t>=wa(e,n)&&t<xa(e,n)}(t=co(t),e,n)},n.invoke=hl,n.isArguments=qs,n.isArray=Ys,n.isArrayBuffer=Xs,n.isArrayLike=Xr,n.isArrayLikeObject=Gr,n.isBoolean=function(t){return!0===t||!1===t||eo(t)&&An(t)==wt},n.isBuffer=Gs,n.isDate=Ks,n.isElement=function(t){return eo(t)&&1===t.nodeType&&!io(t)},n.isEmpty=function(t){if(null==t)return!0;if(Xr(t)&&(Ys(t)||"string"==typeof t||"function"==typeof t.splice||Gs(t)||tl(t)||qs(t)))return!t.length;var e=ns(t);if(e==At||e==Ft)return!t.size;if(vr(t))return!Rn(t).length;for(var n in t)if(qo.call(t,n))return!1;return!0},n.isEqual=function(t,e){return Pn(t,e)},n.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:H)?n(t,e):H;return i===H?Pn(t,e,H,n):!!i},n.isError=Kr,n.isFinite=function(t){return"number"==typeof t&&ya(t)},n.isFunction=Zr,n.isInteger=Qr,n.isLength=Jr,n.isMap=Zs,n.isMatch=function(t,e){return t===e||Nn(t,e,sr(e))},n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:H,Nn(t,e,sr(e),n)},n.isNaN=function(t){return no(t)&&t!=+t},n.isNative=function(t){if(is(t))throw new Fo("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ln(t)},n.isNil=function(t){return null==t},n.isNull=function(t){return null===t},n.isNumber=no,n.isObject=to,n.isObjectLike=eo,n.isPlainObject=io,n.isRegExp=Qs,n.isSafeInteger=function(t){return Qr(t)&&t>=-ht&&t<=ht},n.isSet=Js,n.isString=ro,n.isSymbol=oo,n.isTypedArray=tl,n.isUndefined=function(t){return t===H},n.isWeakMap=function(t){return eo(t)&&ns(t)==jt},n.isWeakSet=function(t){return eo(t)&&"[object WeakSet]"==An(t)},n.join=function(t,e){return null==t?"":ba.call(t,e)},n.kebabCase=_l,n.last=$r,n.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i;return n!==H&&(r=(r=lo(n))<0?xa(i+r,0):wa(r,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,r):b(t,w,r,!0)},n.lowerCase=xl,n.lowerFirst=wl,n.lt=el,n.lte=nl,n.max=function(t){return t&&t.length?un(t,ko,En):H},n.maxBy=function(t,e){return t&&t.length?un(t,or(e,2),En):H},n.mean=function(t){return C(t,ko)},n.meanBy=function(t,e){return C(t,or(e,2))},n.min=function(t){return t&&t.length?un(t,ko,Bn):H},n.minBy=function(t,e){return t&&t.length?un(t,or(e,2),Bn):H},n.stubArray=Eo,n.stubFalse=Mo,n.stubObject=function(){return{}},n.stubString=function(){return""},n.stubTrue=function(){return!0},n.multiply=zl,n.nth=function(t,e){return t&&t.length?qn(t,lo(e)):H},n.noConflict=function(){return sn._===this&&(sn._=Zo),this},n.noop=Do,n.now=Fs,n.pad=function(t,e,n){t=fo(t);var i=(e=lo(e))?B(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Hi(ga(r),n)+t+Hi(pa(r),n)},n.padEnd=function(t,e,n){t=fo(t);var i=(e=lo(e))?B(t):0;return e&&i<e?t+Hi(e-i,n):t},n.padStart=function(t,e,n){t=fo(t);var i=(e=lo(e))?B(t):0;return e&&i<e?Hi(e-i,n)+t:t},n.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),ka(fo(t).replace(he,""),e||0)},n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&fr(t,e,n)&&(e=n=H),n===H&&("boolean"==typeof e?(n=e,e=H):"boolean"==typeof t&&(n=t,t=H)),t===H&&e===H?(t=0,e=1):(t=so(t),e===H?(e=t,t=0):e=so(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=Sa();return wa(t+r*(e-t+nn("1e-"+((r+"").length-1))),e)}return Zn(t,e)},n.reduce=function(t,e,n){var i=Ys(t)?g:T,r=arguments.length<3;return i(t,or(e,4),n,r,Wa)},n.reduceRight=function(t,e,n){var i=Ys(t)?v:T,r=arguments.length<3;return i(t,or(e,4),n,r,Va)},n.repeat=function(t,e,n){return e=(n?fr(t,e,n):e===H)?1:lo(e),Qn(fo(t),e)},n.replace=function(){var t=arguments,e=fo(t[0]);return t.length<3?e:e.replace(t[1],t[2])},n.result=function(t,e,n){var i=-1,r=(e=_i(e,t)).length;for(r||(r=1,t=H);++i<r;){var o=null==t?H:t[Sr(e[i])];o===H&&(i=r,o=n),t=Zr(o)?o.call(t):o}return t},n.round=Hl,n.runInContext=t,n.sample=function(t){return(Ys(t)?Pe:ti)(t)},n.size=function(t){if(null==t)return 0;if(Xr(t))return ro(t)?B(t):t.length;var e=ns(t);return e==At||e==Ft?t.size:Rn(t).length},n.snakeCase=Cl,n.some=function(t,e,n){var i=Ys(t)?m:oi;return n&&fr(t,e,n)&&(e=H),i(t,or(e,3))},n.sortedIndex=function(t,e){return ai(t,e)},n.sortedIndexBy=function(t,e,n){return si(t,e,or(n,2))},n.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=ai(t,e);if(i<n&&Yr(t[i],e))return i}return-1},n.sortedLastIndex=function(t,e){return ai(t,e,!0)},n.sortedLastIndexBy=function(t,e,n){return si(t,e,or(n,2),!0)},n.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ai(t,e,!0)-1;if(Yr(t[n],e))return n}return-1},n.startCase=kl,n.startsWith=function(t,e,n){return t=fo(t),n=null==n?0:Ye(lo(n),0,t.length),e=ci(e),t.slice(n,n+e.length)==e},n.subtract=Wl,n.sum=function(t){return t&&t.length?D(t,ko):0},n.sumBy=function(t,e){return t&&t.length?D(t,or(e,2)):0},n.template=function(t,e,i){var r=n.templateSettings;i&&fr(t,e,i)&&(e=H),t=fo(t),e=ol({},e,r,Ki);var o,a,s=ol({},e.imports,r.imports,Ki),l=vo(s),u=M(s,l),c=0,d=e.interpolate||De,h="__p += '",f=jo((e.escape||De).source+"|"+d.source+"|"+(d===oe?be:De).source+"|"+(e.evaluate||De).source+"|$","g"),p="//# sourceURL="+(qo.call(e,"sourceURL")?(e.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++Qe+"]")+"\n";t.replace(f,function(e,n,i,r,s,l){return i||(i=r),h+=t.slice(c,l).replace(Ae,F),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),i&&(h+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),c=l+e.length,e}),h+="';\n";var g=qo.call(e,"variable")&&e.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(Kt,""):h).replace(Zt,"$1").replace(Qt,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Dl(function(){return Po(l,p+"return "+h).apply(H,u)});if(v.source=h,Kr(v))throw v;return v},n.times=function(t,e){if((t=lo(t))<1||t>ht)return[];var n=gt,i=wa(t,gt);e=or(e),t-=gt;for(var r=A(i,e);++n<t;)e(n);return r},n.toFinite=so,n.toInteger=lo,n.toLength=uo,n.toLower=function(t){return fo(t).toLowerCase()},n.toNumber=co,n.toSafeInteger=function(t){return t?Ye(lo(t),-ht,ht):0===t?t:0},n.toString=fo,n.toUpper=function(t){return fo(t).toUpperCase()},n.trim=function(t,e,n){if((t=fo(t))&&(n||e===H))return t.replace(de,"");if(!t||!(e=ci(e)))return t;var i=z(t),r=z(e);return xi(i,$(i,r),I(i,r)+1).join("")},n.trimEnd=function(t,e,n){if((t=fo(t))&&(n||e===H))return t.replace(fe,"");if(!t||!(e=ci(e)))return t;var i=z(t);return xi(i,0,I(i,z(e))+1).join("")},n.trimStart=function(t,e,n){if((t=fo(t))&&(n||e===H))return t.replace(he,"");if(!t||!(e=ci(e)))return t;var i=z(t);return xi(i,$(i,z(e))).join("")},n.truncate=function(t,e){var n=30,i="...";if(to(e)){var r="separator"in e?e.separator:r;n="length"in e?lo(e.length):n,i="omission"in e?ci(e.omission):i}var o=(t=fo(t)).length;if(P(t)){var a=z(t);o=a.length}if(n>=o)return t;var s=n-B(i);if(s<1)return i;var l=a?xi(a,0,s).join(""):t.slice(0,s);if(r===H)return l+i;if(a&&(s+=l.length-s),Qs(r)){if(t.slice(s).search(r)){var u,c=l;for(r.global||(r=jo(r.source,fo(_e.exec(r))+"g")),r.lastIndex=0;u=r.exec(c);)var d=u.index;l=l.slice(0,d===H?s:d)}}else if(t.indexOf(ci(r),s)!=s){var h=l.lastIndexOf(r);h>-1&&(l=l.slice(0,h))}return l+i},n.unescape=function(t){return(t=fo(t))&&ee.test(t)?t.replace(Jt,wn):t},n.uniqueId=function(t){var e=++Yo;return fo(t)+e},n.upperCase=Sl,n.upperFirst=Tl,n.each=Rr,n.eachRight=Ur,n.first=Or,To(n,(Rs={},bn(n,function(t,e){qo.call(n.prototype,e)||(Rs[e]=t)}),Rs),{chain:!1}),n.VERSION="4.17.15",s(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),s(["drop","take"],function(t,e){S.prototype[t]=function(n){n=n===H?1:xa(lo(n),0);var i=this.__filtered__&&!e?new S(this):this.clone();return i.__filtered__?i.__takeCount__=wa(n,i.__takeCount__):i.__views__.push({size:wa(n,gt),type:t+(i.__dir__<0?"Right":"")}),i},S.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),s(["filter","map","takeWhile"],function(t,e){var n=e+1,i=1==n||3==n;S.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:or(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}}),s(["head","last"],function(t,e){var n="take"+(e?"Right":"");S.prototype[t]=function(){return this[n](1).value()[0]}}),s(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");S.prototype[t]=function(){return this.__filtered__?new S(this):this[n](1)}}),S.prototype.compact=function(){return this.filter(ko)},S.prototype.find=function(t){return this.filter(t).head()},S.prototype.findLast=function(t){return this.reverse().find(t)},S.prototype.invokeMap=Jn(function(t,e){return"function"==typeof t?new S(this):this.map(function(n){return In(n,t,e)})}),S.prototype.reject=function(t){return this.filter(qr(or(t)))},S.prototype.slice=function(t,e){t=lo(t);var n=this;return n.__filtered__&&(t>0||e<0)?new S(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==H&&(n=(e=lo(e))<0?n.dropRight(-e):n.take(e-t)),n)},S.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},S.prototype.toArray=function(){return this.take(gt)},bn(S.prototype,function(t,e){var i=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),a=n[o?"take"+("last"==e?"Right":""):e],s=o||/^find/.test(e);a&&(n.prototype[e]=function(){var e=this.__wrapped__,l=o?[1]:arguments,u=e instanceof S,c=l[0],d=u||Ys(e),h=function(t){var e=a.apply(n,p([t],l));return o&&f?e[0]:e};d&&i&&"function"==typeof c&&1!=c.length&&(u=d=!1);var f=this.__chain__,g=!!this.__actions__.length,v=s&&!f,m=u&&!g;if(!s&&d){e=m?e:new S(this);var y=t.apply(e,l);return y.__actions__.push({func:jr,args:[h],thisArg:H}),new r(y,f)}return v&&m?t.apply(this,l):(y=this.thru(h),v?o?y.value()[0]:y.value():y)})}),s(["pop","push","shift","sort","splice","unshift"],function(t){var e=Bo[t],i=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var n=this.value();return e.apply(Ys(n)?n:[],t)}return this[i](function(n){return e.apply(Ys(n)?n:[],t)})}}),bn(S.prototype,function(t,e){var i=n[e];if(i){var r=i.name+"";qo.call(Fa,r)||(Fa[r]=[]),Fa[r].push({name:e,func:i})}}),Fa[Ri(H,tt).name]=[{name:"wrapper",func:H}],S.prototype.clone=function(){var t=new S(this.__wrapped__);return t.__actions__=Ai(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ai(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ai(this.__views__),t},S.prototype.reverse=function(){if(this.__filtered__){var t=new S(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},S.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ys(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=wa(e,t+a);break;case"takeRight":t=xa(t,e-a)}}return{start:t,end:e}}(0,r,this.__views__),a=o.start,s=o.end,l=s-a,u=i?s:a-1,c=this.__iteratees__,d=c.length,h=0,f=wa(l,this.__takeCount__);if(!n||!i&&r==l&&f==l)return gi(t,this.__actions__);var p=[];t:for(;l--&&h<f;){for(var g=-1,v=t[u+=e];++g<d;){var m=c[g],y=m.iteratee,b=m.type,_=y(v);if(2==b)v=_;else if(!_){if(1==b)continue t;break t}}p[h++]=v}return p},n.prototype.at=Ss,n.prototype.chain=function(){return Lr(this)},n.prototype.commit=function(){return new r(this.value(),this.__chain__)},n.prototype.next=function(){this.__values__===H&&(this.__values__=ao(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?H:this.__values__[this.__index__++]}},n.prototype.plant=function(t){for(var e,n=this;n instanceof i;){var r=Dr(n);r.__index__=0,r.__values__=H,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},n.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof S){var e=t;return this.__actions__.length&&(e=new S(this)),(e=e.reverse()).__actions__.push({func:jr,args:[Fr],thisArg:H}),new r(e,this.__chain__)}return this.thru(Fr)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return gi(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,la&&(n.prototype[la]=function(){return this}),n}();sn._=Cn,(r=function(){return Cn}.call(e,n,e,i))===H||(i.exports=r)}).call(this)}).call(e,n("DuR2"),n("3IRH")(t))},NYlw:function(t,e,n){var i=n("VU/8")(n("5F58"),null,!1,null,null,null);t.exports=i.exports},P4DF:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"",""])},Pq8s:function(t,e){},TNGo:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("hv7s"),e.default={props:["options","value"],mounted:function(){var t=this;$(this.$el).select2({data:this.options}).on("change",function(){t.$emit("input",this.value)}).val(this.value).trigger("change")},watch:{value:function(t){$(this.$el).val(t)},options:function(t){var e=this;$(this.$el).select2("destroy").empty().select2({data:t}).on("change",function(){e.$emit("input",this.value)}).val(this.value).trigger("change")},destroyed:function(){$(this.$el).off().select2("destroy")}}}},UZ9c:function(t,e,n){var i,r,o,a;a=function(t){return t.ui=t.ui||{},t.ui.version="1.12.1"},r=[n("7t+N")],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)},"VU/8":function(t,e){t.exports=function(t,e,n,i,r,o){var a,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(a=t,s=t.default);var u,c="function"==typeof s?s.options:s;if(e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId=r),o?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=u):i&&(u=i),u){var d=c.functional,h=d?c.render:c.beforeCreate;d?(c._injectStyles=u,c.render=function(t,e){return u.call(e),h(t,e)}):c.beforeCreate=h?[].concat(h,u):[u]}return{esModule:a,exports:s,options:c}}},WM06:function(t,e){},WRGp:function(t,e,n){window._=n("M4fF"),window.$=window.jQuery=n("7t+N"),n("z1kw"),jQuery.fn.uitooltip=jQuery.fn.tooltip,n("hSCs"),window.Vue=n("I3G/"),window.eventHub=new Vue,n("8+8L"),Vue.http.interceptors.push(function(t,e){t.headers.set("X-CSRF-TOKEN",Laravel.csrfToken),e()})},XDdR:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-7193ece9]{cursor:pointer}.m-b-none[data-v-7193ece9]{margin-bottom:0}",""])},YDmc:function(t,e,n){var i=n("VU/8")(n("TNGo"),n("0DKT"),!1,function(t){n("rqPf")},"data-v-09a38dce",null);t.exports=i.exports},Z4O5:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"tr{padding-left:30px}",""])},a5IG:function(t,e){},aKHO:function(t,e){function n(t){if(t.loading)return'<i class="fa fa-spinner fa-spin" aria-hidden="true"></i> Loading...';var e="<div class='clearfix'>";return e+="<div class='pull-left' style='padding-right: 10px;'>",t.image?e+="<div style='width: 30px;'><img src='"+t.image+"' alt='"+t.tex+"' style='max-height: 20px; max-width: 30px;'></div>":e+="<div style='height: 20px; width: 30px;'></div>",e+="</div><div>"+t.text+"</div>",e+="</div>"}function i(t){return t.text.replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}$(function(){var t,e;0==$("#createModal").length&&$("body").append('<div class="modal fade" id="createModal"></div>\x3c!-- /.modal --\x3e'),$("#createModal").on("show.bs.modal",function(r){var o=$(r.relatedTarget);o.data("dependency"),t=o.data("select"),e=o.data("refresh"),$("#createModal").load(o.attr("href"),function(){$("#createModal").find("select.select2").select2(),$(".js-data-ajax").each(function(t,e){var r=$(e),o=r.data("endpoint");r.data("select"),r.select2({ajax:{url:Ziggy.baseUrl+"api/v1/"+o+"/selectlist",dataType:"json",delay:250,headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:function(t){return{search:t.term,page:t.page||1,
-assetStatusType:r.data("asset-status-type")}},processResults:function(t,e){return e.page=e.page||1,{results:t.items,pagination:{more:"true"}}},cache:!0},escapeMarkup:function(t){return t},templateResult:n,templateSelection:i})})})}),$("#createModal").on("click","#modal-save",function(){$.ajax({type:"POST",url:$(".modal-body form").attr("action"),headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:$(".modal-body form").serialize(),success:function(n){if("error"==n.status){var i="";for(var r in n.messages)i+="<li>Problem(s) with field <i><strong>"+r+"</strong></i>: "+n.messages[r];return $("#modal_error_msg").html(i).show(),!1}var o=n.payload.id,a=n.payload.name||n.payload.first_name+" "+n.payload.last_name;if(!o||!a)return console.error("Could not find resulting name or ID from modal-create. Name: "+a+", id: "+o),!1;$("#createModal").modal("hide"),$("#createModal").html("");var s=$("#"+e);s.length>0&&s.bootstrapTable("refresh");var l=document.getElementById(t);if(!l)return!1;l.options[l.length]=new Option(a,o),l.selectedIndex=l.length-1,$(l).trigger("change"),window.fetchCustomFields&&fetchCustomFields()},error:function(t){msg=t.responseJSON.messages||t.responseJSON.error,$("#modal_error_msg").html("Server Error: "+msg).show()}})})})},b7rt:function(t,e,n){var i=n("VU/8")(n("JHru"),n("bkb8"),!1,function(t){n("ct/M")},"data-v-473a48c2",null);t.exports=i.exports},"bU+R":function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.processDetail,expression:"processDetail"}]},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-2"}),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"padding-top":"30px",margin:"0 auto"}},[n("div",{staticClass:"dynamic-form-row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("select2",{attrs:{options:t.options.importTypes,required:""},model:{value:t.options.importType,callback:function(e){t.options.importType=e},expression:"options.importType"}},[n("option",{attrs:{disabled:"",value:"0"}})])],1)]),t._v(" "),n("div",{staticClass:"dynamic-form-row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("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 n=t.options.update,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.options.update=n.concat([null])):o>-1&&(t.options.update=n.slice(0,o).concat(n.slice(o+1)))}else t.options.update=r}}})])]),t._v(" "),n("div",{staticClass:"dynamic-form-row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("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 n=t.options.send_welcome,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.options.send_welcome=n.concat([null])):o>-1&&(t.options.send_welcome=n.slice(0,o).concat(n.slice(o+1)))}else t.options.send_welcome=r}}})])]),t._v(" "),n("div",{staticClass:"dynamic-form-row"},[t._m(3),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.options.run_backup,expression:"options.run_backup"}],staticClass:"minimal",attrs:{type:"checkbox",name:"run-backup"},domProps:{checked:Array.isArray(t.options.run_backup)?t._i(t.options.run_backup,null)>-1:t.options.run_backup},on:{__c:function(e){var n=t.options.run_backup,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.options.run_backup=n.concat([null])):o>-1&&(t.options.run_backup=n.slice(0,o).concat(n.slice(o+1)))}else t.options.run_backup=r}}})])]),t._v(" "),t.statusText?n("div",{staticClass:"alert col-md-8 col-md-offset-2",class:t.alertClass,staticStyle:{"text-align":"left"}},[t._v("\n "+t._s(this.statusText)+"\n ")]):t._e()]),t._v(" "),t._m(4),t._v(" "),t._l(t.file.header_row,function(e,i){return[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-2"}),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"col-md-4 text-right"},[n("label",{staticClass:"control-label",attrs:{for:e}},[t._v(t._s(e))])]),t._v(" "),n("div",{staticClass:"col-md-4 form-group"},[n("div",{attrs:{required:""}},[n("select2",{attrs:{options:t.columns},model:{value:t.columnMappings[e],callback:function(n){t.$set(t.columnMappings,e,n)},expression:"columnMappings[header]"}},[n("option",{attrs:{value:"0"}},[t._v("Do Not Import")])])],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("p",{staticClass:"form-control-static"},[t._v(t._s(t.activeFile.first_row[i]))])])])])]}),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6 col-md-offset-2 text-right",staticStyle:{"padding-top":"20px"}},[n("button",{staticClass:"btn btn-sm btn-default",attrs:{type:"button"},on:{click:function(e){t.processDetail=!1}}},[t._v("Cancel")]),t._v(" "),n("button",{staticClass:"btn btn-sm btn-primary",attrs:{type:"submit"},on:{click:t.postSave}},[t._v("Import")]),t._v(" "),n("br"),n("br")])]),t._v(" "),n("div",{staticClass:"row"},[t.statusText?n("div",{staticClass:"alert col-md-8 col-md-offset-2",class:t.alertClass,staticStyle:{"padding-top":"20px"}},[t._v("\n "+t._s(this.statusText)+"\n ")]):t._e()])],2)])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"import-type"}},[this._v("Import Type:")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"import-update"}},[this._v("Update Existing Values?")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"send-welcome"}},[this._v("Send Welcome Email for new Users?")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"run-backup"}},[this._v("Backup before importing?")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-2"}),this._v(" "),e("div",{staticClass:"col-md-8",staticStyle:{"padding-top":"30px"}},[e("div",{staticClass:"col-md-4 text-right"},[e("h4",[this._v("Header Field")])]),this._v(" "),e("div",{staticClass:"col-md-4"},[e("h4",[this._v("Import Field")])]),this._v(" "),e("div",{staticClass:"col-md-4"},[e("h4",[this._v("Sample Value")])])])])}]}},bkb8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"col-md-12",class:t.alertType},[n("div",{staticClass:"alert",class:t.alertClassName},[n("button",{staticClass:"close",attrs:{type:"button"},on:{click:t.hideEvent}},[t._v("×")]),t._v(" "),n("i",{directives:[{name:"show",rawName:"v-show",value:"success"==t.alertType,expression:"alertType == 'success'"}],staticClass:"fa fa-check faa-pulse animated",attrs:{"aria-hidden":"true"}}),t._v(" "),n("strong",[t._v(t._s(t.title)+" ")]),t._v(" "),t._t("default")],2)])},staticRenderFns:[]}},"ct/M":function(t,e,n){var i=n("P4DF");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("77b67673",i,!0,{})},eOaq:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["fieldsetId","modelId","previousInput"],data:function(){return{identifiers:{fieldset:null,model:null},elements:{fieldset:null,field:null},fields:null,show:!1,error:!1}},ready:function(){this.init()},mounted:function(){this.init()},methods:{init:function(){this.defaultValues=JSON.parse(this.previousInput),this.identifiers.fieldset=this.fieldsetId,this.identifiers.model=this.modelId,this.elements.fieldset=$(".js-fieldset-field"),this.elements.field=document.querySelector(".js-default-values-toggler"),this.elements.fieldset&&this.elements.field&&(this.addListeners(),this.getFields())},addListeners:function(){var t=this;this.elements.field.addEventListener("change",function(e){return t.updateShow()}),this.elements.fieldset.on("change",function(e){return t.updateFields()})},getFields:function(){var t=this;if(!this.identifiers.fieldset)return this.fields=[];this.$http.get(this.getUrl()).then(function(t){return t.json()}).then(function(e){return t.checkResponseForError(e)}).then(function(e){return t.fields=e.rows}).then(function(){return t.determineIfShouldShow()})},getValue:function(t){return t.default_value?t.default_value:null!=this.defaultValues?this.defaultValues[t.id.toString()]:""},getUrl:function(){return this.identifiers.model?route("api.fieldsets.fields-with-default-value",{fieldset:this.identifiers.fieldset,model:this.identifiers.model}):route("api.fieldsets.fields",{fieldset:this.identifiers.fieldset})},checkResponseForError:function(t){return this.error="error"==t.status,t},updateShow:function(){this.identifiers.fieldset&&this.elements.field&&(this.show=this.elements.field.checked)},determineIfShouldShow:function(){this.elements.field.checked=this.elements.field.checked||this.show||this.fields.reduce(function(t,e){return t||e.default_value},!1),this.updateShow()},updateFields:function(){this.identifiers.fieldset=!!this.elements.fieldset[0].value&&parseInt(this.elements.fieldset[0].value),this.getFields()}}}},f5J3:function(t,e){},g9VR:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"",""])},hLk5:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".select2-dropdown[data-v-09a38dce]{z-index:9999}",""])},hSCs:function(t,e){"format global";"deps jquery";"exports $";if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;return t(this).one("bsTransitionEnd",function(){n=!0}),setTimeout(function(){n||t(i).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.3.4",n.TRANSITION_DURATION=150,n.prototype.close=function(e){function i(){a.detach().trigger("closed.bs.alert").remove()}var r=t(this),o=r.attr("data-target");o||(o=(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var a=t(o);e&&e.preventDefault(),a.length||(a=r.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i())};var i=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var i=t(this),r=i.data("bs.alert");r||i.data("bs.alert",r=new n(this)),"string"==typeof e&&r[e].call(i)})},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.button"),o="object"==typeof e&&e;r||i.data("bs.button",r=new n(this,o)),"toggle"==e?r.toggle():e&&r.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.4",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",o=i.data();e+="Text",null==o.resetText&&i.data("resetText",i[r]()),setTimeout(t.proxy(function(){i[r](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target);i.hasClass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.carousel"),o=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),a="string"==typeof e?e:o.slide;r||i.data("bs.carousel",r=new n(this,o)),"number"==typeof e?r.to(e):a?r[a]():o.interval&&r.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.4",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(e,i){var r=this.$element.find(".item.active"),o=i||this.getItemForDirection(e,r),a=this.interval,s="next"==e?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var u=o[0],c=t.Event("slide.bs.carousel",{relatedTarget:u,direction:s});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(o)]);d&&d.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:u,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(e),o[0].offsetWidth,r.addClass(s),o.addClass(s),r.one("bsTransitionEnd",function(){o.removeClass([e,s].join(" ")).addClass("active"),r.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(r.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var r=function(n){var i,r=t(this),o=t(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var a=t.extend({},o.data(),r.data()),s=r.attr("data-slide-to");s&&(a.interval=!1),e.call(o,a),s&&o.data("bs.carousel").to(s),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),r=n.data("bs.collapse"),o=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!r&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),r||n.data("bs.collapse",r=new i(this,o)),"string"==typeof e&&r[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.4",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(e=r.data("bs.collapse"))&&e.transitioning)){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){r&&r.length&&(n.call(r,"hide"),e||r.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[a](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return r.call(this);this.$element[n](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var r=t(i);this.addAriaAndCollapsedClass(e(r),r)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var r=t(this);r.attr("data-target")||i.preventDefault();var o=e(r),a=o.data("bs.collapse")?"toggle":r.data();n.call(o,a)})}(jQuery),function(t){"use strict";function e(e){e&&3===e.which||(t(i).remove(),t(r).each(function(){var i=t(this),r=n(i),o={relatedTarget:this};r.hasClass("open")&&(r.trigger(e=t.Event("hide.bs.dropdown",o)),e.isDefaultPrevented()||(i.attr("aria-expanded","false"),r.removeClass("open").trigger("hidden.bs.dropdown",o)))}))}function n(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}var i=".dropdown-backdrop",r='[data-toggle="dropdown"]',o=function(e){t(e).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.4",o.prototype.toggle=function(i){var r=t(this);if(!r.is(".disabled, :disabled")){var o=n(r),a=o.hasClass("open");if(e(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",e);var s={relatedTarget:this};if(o.trigger(i=t.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",s)}return!1}},o.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var i=t(this);if(e.preventDefault(),e.stopPropagation(),!i.is(".disabled, :disabled")){var o=n(i),a=o.hasClass("open");if(!a&&27!=e.which||a&&27==e.which)return 27==e.which&&o.find(r).trigger("focus"),i.trigger("click");var s=" li:not(.disabled):visible a",l=o.find('[role="menu"]'+s+', [role="listbox"]'+s);if(l.length){var u=l.index(e.target);38==e.which&&u>0&&u--,40==e.which&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var a=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new o(this)),"string"==typeof e&&i[e].call(n)})},t.fn.dropdown.Constructor=o,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=a,this},t(document).on("click.bs.dropdown.data-api",e).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,o.prototype.toggle).on("keydown.bs.dropdown.data-api",r,o.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',o.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',o.prototype.keydown)}(jQuery),function(t){"use strict";function e(e,i){return this.each(function(){var r=t(this),o=r.data("bs.modal"),a=t.extend({},n.DEFAULTS,r.data(),"object"==typeof e&&e);o||r.data("bs.modal",o=new n(this,a)),"string"==typeof e?o[e](i):a.show&&o.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.4",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,r=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(r),this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var r=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),r&&i.$element[0].offsetWidth,i.$element.addClass("in").attr("aria-hidden",!1),i.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:e});r?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(o)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&r;if(this.$backdrop=t('<div class="modal-backdrop '+r+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;o?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):a()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),r=i.attr("href"),o=t(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),a=o.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},o.data(),i.data());i.is("a")&&n.preventDefault(),o.one("show.bs.modal",function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(o,a,this)})}(jQuery),function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.init("tooltip",t,e)};e.VERSION="3.3.4",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,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,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),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 a=r[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+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={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},e.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n&&n.$tip&&n.$tip.is(":visible"))n.hoverState="in";else{if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},e.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){
-"out"==n.hoverState&&n.hide()},n.options.delay.hide)},e.prototype.show=function(){var n=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!i)return;var r=this,o=this.tip(),a=this.getUID(this.type);this.setContent(),o.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&o.addClass("fade");var s="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(s);u&&(s=s.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element);var c=this.getPosition(),d=o[0].offsetWidth,h=o[0].offsetHeight;if(u){var f=s,p=this.options.container?t(this.options.container):this.$element.parent(),g=this.getPosition(p);s="bottom"==s&&c.bottom+h>g.bottom?"top":"top"==s&&c.top-h<g.top?"bottom":"right"==s&&c.right+d>g.width?"left":"left"==s&&c.left-d<g.left?"right":s,o.removeClass(f).addClass(s)}var v=this.getCalculatedOffset(s,c,d,h);this.applyPlacement(v,s);var m=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",m).emulateTransitionEnd(e.TRANSITION_DURATION):m()}},e.prototype.applyPlacement=function(e,n){var i=this.tip(),r=i[0].offsetWidth,o=i[0].offsetHeight,a=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),e.top=e.top+a,e.left=e.left+s,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;"top"==n&&u!=o&&(e.top=e.top+o-u);var c=this.getViewportAdjustedDelta(n,e,l,u);c.left?e.left+=c.left:e.top+=c.top;var d=/top|bottom/.test(n),h=d?2*c.left-r+l:2*c.top-o+u,f=d?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(h,i[0][f],d)},e.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(n){function i(){"in"!=r.hoverState&&o.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),n&&n()}var r=this,o=t(this.$tip),a=t.Event("hide.bs."+this.type);if(this.$element.trigger(a),!a.isDefaultPrevented())return o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",i).emulateTransitionEnd(e.TRANSITION_DURATION):i(),this.hoverState=null,this},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var n=(e=e||this.$element)[0],i="BODY"==n.tagName,r=n.getBoundingClientRect();null==r.width&&(r=t.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var o=i?{top:0,left:0}:e.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},s=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},r,a,s,o)},e.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,n,i){var r={top:0,left:0};if(!this.$viewport)return r;var o=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-o-a.scroll,l=e.top+o-a.scroll+i;s<a.top?r.top=a.top-s:l>a.top+a.height&&(r.top=a.top+a.height-l)}else{var u=e.left-o,c=e.left+o+n;u<a.left?r.left=a.left-u:c>a.width&&(r.left=a.left+a.width-c)}return r},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),n.tip().hasClass("in")?n.leave(n):n.enter(n)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var n=t.fn.tooltip;t.fn.tooltip=function(n){return this.each(function(){var i=t(this),r=i.data("bs.tooltip"),o="object"==typeof n&&n;!r&&/destroy|hide/.test(n)||(r||i.data("bs.tooltip",r=new e(this,o)),"string"==typeof n&&r[n]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=n,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.4",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each(function(){var i=t(this),r=i.data("bs.popover"),o="object"==typeof n&&n;!r&&/destroy|hide/.test(n)||(r||i.data("bs.popover",r=new e(this,o)),"string"==typeof n&&r[n]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),r=i.data("bs.scrollspy"),o="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new e(this,o)),"string"==typeof n&&r[n]()})}e.VERSION="3.3.4",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),r=e.data("target")||e.attr("href"),o=/^#./.test(r)&&t(r);return o&&o.length&&o.is(":visible")&&[[o[n]().top+i,r]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),r=this.offsets,o=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return a!=(t=o[o.length-1])&&this.activate(t);if(a&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)a!=o[t]&&e>=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new n(this)),"string"==typeof e&&r[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.4",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=n.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(o),e.trigger(a),!a.isDefaultPrevented()&&!o.isDefaultPrevented()){var s=t(i);this.activate(e.closest("li"),n),this.activate(s,s.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},n.prototype.activate=function(e,i,r){function o(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var a=i.find("> .active"),s=r&&t.support.transition&&(a.length&&a.hasClass("fade")||!!i.find("> .fade").length);a.length&&s?a.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),a.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var r=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.affix"),o="object"==typeof e&&e;r||i.data("bs.affix",r=new n(this,o)),"string"==typeof e&&r[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.4",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var r=this.$target.scrollTop(),o=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return r<n&&"top";if("bottom"==this.affixed)return null!=n?!(r+this.unpin<=o.top)&&"bottom":!(r+a<=t-i)&&"bottom";var s=null==this.affixed,l=s?r:o.top;return null!=n&&r<=n?"top":null!=i&&l+(s?a:e)>=t-i&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,r=i.top,o=i.bottom,a=t(document.body).height();"object"!=typeof i&&(o=r=i),"function"==typeof r&&(r=i.top(this.$element)),"function"==typeof o&&(o=i.bottom(this.$element));var s=this.getState(a,e,r,o);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-e-o})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery)},hv7s:function(t,e,n){var i,r,o,a;a=function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var n,i,r;return e&&e.requirejs||(e?i=e:e={},function(t){function e(t,e){return b.call(t,e)}function o(t,e){var n,i,r,o,a,s,l,u,c,d,h,f=e&&e.split("/"),p=m.map,g=p&&p["*"]||{};if(t){for(a=(t=t.split("/")).length-1,m.nodeIdCompat&&x.test(t[a])&&(t[a]=t[a].replace(x,"")),"."===t[0].charAt(0)&&f&&(t=f.slice(0,f.length-1).concat(t)),c=0;c<t.length;c++)if("."===(h=t[c]))t.splice(c,1),c-=1;else if(".."===h){if(0===c||1===c&&".."===t[2]||".."===t[c-1])continue;c>0&&(t.splice(c-1,2),c-=2)}t=t.join("/")}if((f||g)&&p){for(c=(n=t.split("/")).length;c>0;c-=1){if(i=n.slice(0,c).join("/"),f)for(d=f.length;d>0;d-=1)if((r=p[f.slice(0,d).join("/")])&&(r=r[i])){o=r,s=c;break}if(o)break;!l&&g&&g[i]&&(l=g[i],u=c)}!o&&l&&(o=l,s=u),o&&(n.splice(0,s,o),t=n.join("/"))}return t}function a(e,n){return function(){var i=_.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),h.apply(t,i.concat([e,n]))}}function s(t){return function(e){g[t]=e}}function l(n){if(e(v,n)){var i=v[n];delete v[n],y[n]=!0,d.apply(t,i)}if(!e(g,n)&&!e(y,n))throw new Error("No "+n);return g[n]}function u(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function c(t){return t?u(t):[]}var d,h,f,p,g={},v={},m={},y={},b=Object.prototype.hasOwnProperty,_=[].slice,x=/\.js$/;f=function(t,e){var n,i,r=u(t),a=r[0],s=e[1];return t=r[1],a&&(n=l(a=o(a,s))),a?t=n&&n.normalize?n.normalize(t,(i=s,function(t){return o(t,i)})):o(t,s):(a=(r=u(t=o(t,s)))[0],t=r[1],a&&(n=l(a))),{f:a?a+"!"+t:t,n:t,pr:a,p:n}},p={require:function(t){return a(t)},exports:function(t){var e=g[t];return void 0!==e?e:g[t]={}},module:function(t){return{id:t,uri:"",exports:g[t],config:function(t){return function(){return m&&m.config&&m.config[t]||{}}}(t)}}},d=function(n,i,r,o){var u,d,h,m,b,_,x,w=[],C=typeof r;if(_=c(o=o||n),"undefined"===C||"function"===C){for(i=!i.length&&r.length?["require","exports","module"]:i,b=0;b<i.length;b+=1)if("require"===(d=(m=f(i[b],_)).f))w[b]=p.require(n);else if("exports"===d)w[b]=p.exports(n),x=!0;else if("module"===d)u=w[b]=p.module(n);else if(e(g,d)||e(v,d)||e(y,d))w[b]=l(d);else{if(!m.p)throw new Error(n+" missing "+d);m.p.load(m.n,a(o,!0),s(d),{}),w[b]=g[d]}h=r?r.apply(g[n],w):void 0,n&&(u&&u.exports!==t&&u.exports!==g[n]?g[n]=u.exports:h===t&&x||(g[n]=h))}else n&&(g[n]=r)},n=i=h=function(e,n,i,r,o){if("string"==typeof e)return p[e]?p[e](n):l(f(e,c(n)).f);if(!e.splice){if((m=e).deps&&h(m.deps,m.callback),!n)return;n.splice?(e=n,n=i,i=null):e=t}return n=n||function(){},"function"==typeof i&&(i=r,r=o),r?d(t,e,n,i):setTimeout(function(){d(t,e,n,i)},4),h},h.config=function(t){return h(t)},n._defined=g,(r=function(t,n,i){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");n.splice||(i=n,n=[]),e(g,t)||e(v,t)||(v[t]=[t,n,i])}).amd={jQuery:!0}}(),e.requirejs=n,e.require=i,e.define=r),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(t){function e(t){var e=t.prototype,n=[];for(var i in e)"function"==typeof e[i]&&"constructor"!==i&&n.push(i);return n}var n={};n.Extend=function(t,e){function n(){this.constructor=t}var i={}.hasOwnProperty;for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},n.Decorate=function(t,n){function i(){var e=Array.prototype.unshift,i=n.prototype.constructor.length,r=t.prototype.constructor;i>0&&(e.call(arguments,t.prototype.constructor),r=n.prototype.constructor),r.apply(this,arguments)}var r=e(n),o=e(t);n.displayName=t.displayName,i.prototype=new function(){this.constructor=i};for(var a=0;a<o.length;a++){var s=o[a];i.prototype[s]=t.prototype[s]}for(var l=0;l<r.length;l++){var u=r[l];i.prototype[u]=function(t){var e=function(){};t in i.prototype&&(e=i.prototype[t]);var r=n.prototype[t];return function(){return Array.prototype.unshift.call(arguments,e),r.apply(this,arguments)}}(u)}return i};var i=function(){this.listeners={}};i.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},i.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=t,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].apply(this,e)},n.Observable=i,n.generateChars=function(t){for(var e="",n=0;n<t;n++)e+=Math.floor(36*Math.random()).toString(36);return e},n.bind=function(t,e){return function(){t.apply(e,arguments)}},n._convertData=function(t){for(var e in t){var n=e.split("-"),i=t;if(1!==n.length){for(var r=0;r<n.length;r++){var o=n[r];(o=o.substring(0,1).toLowerCase()+o.substring(1))in i||(i[o]={}),r==n.length-1&&(i[o]=t[e]),i=i[o]}delete t[e]}}return t},n.hasScroll=function(e,n){var i=t(n),r=n.style.overflowX,o=n.style.overflowY;return(r!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===r||"scroll"===o||i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth)},n.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},n.appendMany=function(e,n){if("1.7"===t.fn.jquery.substr(0,3)){var i=t();t.map(n,function(t){i=i.add(t)}),n=i}e.append(n)},n.__cache={};var r=0;return n.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++r),e=r.toString())),e},n.StoreData=function(t,e,i){var r=n.GetUniqueElementId(t);n.__cache[r]||(n.__cache[r]={}),n.__cache[r][e]=i},n.GetData=function(e,i){var r=n.GetUniqueElementId(e);return i?n.__cache[r]&&null!=n.__cache[r][i]?n.__cache[r][i]:t(e).data(i):n.__cache[r]},n.RemoveData=function(t){var e=n.GetUniqueElementId(t);null!=n.__cache[e]&&delete n.__cache[e],t.removeAttribute("data-select2-id")},n}),e.define("select2/results",["jquery","./utils"],function(t,e){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=t('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),r=this.options.get("translations").get(e.message);i.append(n(r(e.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var i=t.results[n],r=this.option(i);e.push(r)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current(function(i){var r=t.map(i,function(t){return t.id.toString()});n.$results.find(".select2-results__option[aria-selected]").each(function(){var n=t(this),i=e.GetData(this,"data"),o=""+i.id;null!=i.element&&i.element.selected||null==i.element&&t.inArray(o,r)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")})})},n.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},n=this.option(e);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var i=document.createElement("li");i.className="select2-results__option";var r={role:"option","aria-selected":"false"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var a in(null!=n.element&&o.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete r["aria-selected"],r["aria-disabled"]="true"),null==n.id&&delete r["aria-selected"],null!=n._resultId&&(i.id=n._resultId),n.title&&(i.title=n.title),n.children&&(r.role="group",r["aria-label"]=n.text,delete r["aria-selected"]),r){var s=r[a];i.setAttribute(a,s)}if(n.children){var l=t(i),u=document.createElement("strong");u.className="select2-results__group",t(u),this.template(n,u);for(var c=[],d=0;d<n.children.length;d++){var h=n.children[d],f=this.option(h);c.push(f)}var p=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(c),l.append(u),l.append(p)}else this.template(n,i);return e.StoreData(i,"data",n),i},n.prototype.bind=function(n,i){var r=this,o=n.id+"-results";this.$results.attr("id",o),n.on("results:all",function(t){r.clear(),r.append(t.data),n.isOpen()&&(r.setClasses(),r.highlightFirstItem())}),n.on("results:append",function(t){r.append(t.data),n.isOpen()&&r.setClasses()}),n.on("query",function(t){r.hideMessages(),r.showLoading(t)}),n.on("select",function(){n.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())}),n.on("unselect",function(){n.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())}),n.on("open",function(){r.$results.attr("aria-expanded","true"),r.$results.attr("aria-hidden","false"),r.setClasses(),r.ensureHighlightVisible()}),n.on("close",function(){r.$results.attr("aria-expanded","false"),r.$results.attr("aria-hidden","true"),r.$results.removeAttr("aria-activedescendant")}),n.on("results:toggle",function(){var t=r.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),n.on("results:select",function(){var t=r.getHighlightedResults();if(0!==t.length){var n=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?r.trigger("close",{}):r.trigger("select",{data:n})}}),n.on("results:previous",function(){var t=r.getHighlightedResults(),e=r.$results.find("[aria-selected]"),n=e.index(t);if(!(n<=0)){var i=n-1;0===t.length&&(i=0);var o=e.eq(i);o.trigger("mouseenter");var a=r.$results.offset().top,s=o.offset().top,l=r.$results.scrollTop()+(s-a);0===i?r.$results.scrollTop(0):s-a<0&&r.$results.scrollTop(l)}}),n.on("results:next",function(){var t=r.getHighlightedResults(),e=r.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var i=e.eq(n);i.trigger("mouseenter");var o=r.$results.offset().top+r.$results.outerHeight(!1),a=i.offset().top+i.outerHeight(!1),s=r.$results.scrollTop()+a-o;0===n?r.$results.scrollTop(0):a>o&&r.$results.scrollTop(s)}}),n.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),n.on("results:message",function(t){r.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=r.$results.scrollTop(),n=r.$results.get(0).scrollHeight-e+t.deltaY,i=t.deltaY>0&&e-t.deltaY<=0,o=t.deltaY<0&&n<=r.$results.height();i?(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(n){var i=t(this),o=e.GetData(this,"data");"true"!==i.attr("aria-selected")?r.trigger("select",{originalEvent:n,data:o}):r.options.get("multiple")?r.trigger("unselect",{originalEvent:n,data:o}):r.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(n){var i=e.GetData(this,"data");r.getHighlightedResults().removeClass("select2-results__option--highlighted"),r.trigger("results:focus",{data:i,element:t(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),n=this.$results.offset().top,i=t.offset().top,r=this.$results.scrollTop()+(i-n),o=i-n;r-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},n.prototype.template=function(e,n){var i=this.options.get("templateResult"),r=this.options.get("escapeMarkup"),o=i(e,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=r(o):t(n).append(o)},n}),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,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var n=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")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},i.prototype.bind=function(t,e){var i=this,r=t.id+"-results";this.container=t,this.$selection.on("focus",function(t){i.trigger("focus",t)}),this.$selection.on("blur",function(t){i._handleBlur(t)}),this.$selection.on("keydown",function(t){i.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){i.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){i.update(t.data)}),t.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",r),i._attachCloseHandler(t)}),t.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.trigger("focus"),i._detachCloseHandler(t)}),t.on("enable",function(){i.$selection.attr("tabindex",i._tabindex),i.$selection.attr("aria-disabled","false")}),t.on("disable",function(){i.$selection.attr("tabindex","-1"),i.$selection.attr("aria-disabled","true")})},i.prototype._handleBlur=function(e){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)},1)},i.prototype._attachCloseHandler=function(n){t(document.body).on("mousedown.select2."+n.id,function(n){var i=t(n.target).closest(".select2");t(".select2.select2-container--open").each(function(){this!=i[0]&&e.GetData(this,"element").select2("close")})})},i.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},i.prototype.position=function(t,e){e.find(".selection").append(t)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,e),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},r.prototype.bind=function(t,e){var n=this;r.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},r.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return t("<span></span>")},r.prototype.update=function(t){if(0!==t.length){var e=t[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(e,n);n.empty().append(i);var r=e.title||e.text;r?n.attr("title",r):n.removeAttr("title")}else this.clear()},r}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,n){function i(t,e){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},i.prototype.bind=function(e,r){var o=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){o.trigger("toggle",{originalEvent:t})}),
-this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!o.isDisabled()){var i=t(this).parent(),r=n.GetData(i[0],"data");o.trigger("unselect",{originalEvent:e,data:r})}})},i.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},i.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],i=0;i<t.length;i++){var r=t[i],o=this.selectionContainer(),a=this.display(r,o);o.append(a);var s=r.title||r.text;s&&o.attr("title",s),n.StoreData(o[0],"data",r),e.push(o)}var l=this.$selection.find(".select2-selection__rendered");n.appendMany(l,e)}},i}),e.define("select2/selection/placeholder",["../utils"],function(t){function e(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();return n.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||n)return t.call(this,e);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},e}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(t,e,n){function i(){}return i.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){i._handleClear(t)}),e.on("keypress",function(t){i._handleKeyboardClear(t,e)})},i.prototype._handleClear=function(t,e){if(!this.isDisabled()){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();var r=n.GetData(i[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var a={data:r};if(this.trigger("clear",a),a.prevented)this.$element.val(o);else{for(var s=0;s<r.length;s++)if(a={data:r[s]},this.trigger("unselect",a),a.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},i.prototype._handleKeyboardClear=function(t,n,i){i.isOpen()||n.which!=e.DELETE&&n.which!=e.BACKSPACE||this._handleClear(n)},i.prototype.update=function(e,i){if(e.call(this,i),!(this.$selection.find(".select2-selection__placeholder").length>0||0===i.length)){var r=this.options.get("translations").get("removeAllItems"),o=t('<span class="select2-selection__clear" title="'+r()+'">&times;</span>');n.StoreData(o[0],"data",i),this.$selection.find(".select2-selection__rendered").prepend(o)}},i}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,n){function i(t,e,n){t.call(this,e,n)}return i.prototype.render=function(e){var n=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=e.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(t,i,r){var o=this,a=i.id+"-results";t.call(this,i,r),i.on("open",function(){o.$search.attr("aria-controls",a),o.$search.trigger("focus")}),i.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),i.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),i.on("disable",function(){o.$search.prop("disabled",!0)}),i.on("focus",function(t){o.$search.trigger("focus")}),i.on("results:focus",function(t){t.data._resultId?o.$search.attr("aria-activedescendant",t.data._resultId):o.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(t){o.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){o._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===n.BACKSPACE&&""===o.$search.val()){var i=o.$searchContainer.prev(".select2-selection__choice");if(i.length>0){var r=e.GetData(i[0],"data");o.searchRemoveChoice(r),t.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(t){o.$search.val()&&t.stopPropagation()});var s=document.documentMode,l=s&&s<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){l?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(l&&"input"===t.type)o.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=n.SHIFT&&e!=n.CTRL&&e!=n.ALT&&e!=n.TAB&&o.handleSearch(t)}})},i.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},i.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",t)},i}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,n,i){var r=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],a=["opening","closing","selecting","unselecting","clearing"];e.call(this,n,i),n.on("*",function(e,n){if(-1!==t.inArray(e,o)){n=n||{};var i=t.Event("select2:"+e,{params:n});r.$element.trigger(i),-1!==t.inArray(e,a)&&(n.prevented=i.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={},n.loadPath=function(t){if(!(t in n._cache)){var i=e(t);n._cache[t]=i}return new n(n._cache[t])},n}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),e.define("select2/data/base",["../utils"],function(t){function e(t,n){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,n){var i=e.id+"-result-";return i+=t.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+t.generateChars(4),i},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,t),i.prototype.current=function(t){var e=[],i=this;this.$element.find(":selected").each(function(){var t=n(this),r=i.item(t);e.push(r)}),t(e)},i.prototype.select=function(t){var e=this;if(t.selected=!0,n(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var r=[];(t=[t]).push.apply(t,i);for(var o=0;o<t.length;o++){var a=t[o].id;-1===n.inArray(a,r)&&r.push(a)}e.$element.val(r),e.$element.trigger("input").trigger("change")});else{var i=t.id;this.$element.val(i),this.$element.trigger("input").trigger("change")}},i.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,n(t.element).is("option"))return t.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(i){for(var r=[],o=0;o<i.length;o++){var a=i[o].id;a!==t.id&&-1===n.inArray(a,r)&&r.push(a)}e.$element.val(r),e.$element.trigger("input").trigger("change")})}},i.prototype.bind=function(t,e){var n=this;this.container=t,t.on("select",function(t){n.select(t.data)}),t.on("unselect",function(t){n.unselect(t.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){e.RemoveData(this)})},i.prototype.query=function(t,e){var i=[],r=this;this.$element.children().each(function(){var e=n(this);if(e.is("option")||e.is("optgroup")){var o=r.item(e),a=r.matches(t,o);null!==a&&i.push(a)}}),e({results:i})},i.prototype.addOptions=function(t){e.appendMany(this.$element,t)},i.prototype.option=function(t){var i;t.children?(i=document.createElement("optgroup")).label=t.text:void 0!==(i=document.createElement("option")).textContent?i.textContent=t.text:i.innerText=t.text,void 0!==t.id&&(i.value=t.id),t.disabled&&(i.disabled=!0),t.selected&&(i.selected=!0),t.title&&(i.title=t.title);var r=n(i),o=this._normalizeItem(t);return o.element=i,e.StoreData(i,"data",o),r},i.prototype.item=function(t){var i={};if(null!=(i=e.GetData(t[0],"data")))return i;if(t.is("option"))i={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){i={text:t.prop("label"),children:[],title:t.prop("title")};for(var r=t.children("option"),o=[],a=0;a<r.length;a++){var s=n(r[a]),l=this.item(s);o.push(l)}i.children=o}return(i=this._normalizeItem(i)).element=t[0],e.StoreData(t[0],"data",i),i},i.prototype._normalizeItem=function(t){return t!==Object(t)&&(t={id:t,text:t}),null!=(t=n.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),n.extend({},{selected:!1,disabled:!1},t)},i.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},i}),e.define("select2/data/array",["./select","../utils","jquery"],function(t,e,n){function i(t,e){this._dataToConvert=e.get("data")||[],i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype.bind=function(t,e){i.__super__.bind.call(this,t,e),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(t){var e=this.$element.find("option").filter(function(e,n){return n.value==t.id.toString()});0===e.length&&(e=this.option(t),this.addOptions(e)),i.__super__.select.call(this,t)},i.prototype.convertToOptions=function(t){for(var i=this,r=this.$element.find("option"),o=r.map(function(){return i.item(n(this)).id}).get(),a=[],s=0;s<t.length;s++){var l=this._normalizeItem(t[s]);if(n.inArray(l.id,o)>=0){var u=r.filter(function(t){return function(){return n(this).val()==t.id}}(l)),c=this.item(u),d=n.extend(!0,{},l,c),h=this.option(d);u.replaceWith(h)}else{var f=this.option(l);if(l.children){var p=this.convertToOptions(l.children);e.appendMany(f,p)}a.push(f)}}return a},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,n){function i(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})},transport:function(t,e,i){var r=n.ajax(t);return r.then(e),r.fail(i),r}};return n.extend({},e,t,!0)},i.prototype.processResults=function(t){return t},i.prototype.query=function(t,e){function i(){var i=o.transport(o,function(i){var o=r.processResults(i,t);r.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(o)},function(){"status"in i&&(0===i.status||"0"===i.status)||r.trigger("results:message",{message:"errorLoading"})});r._request=i}var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var o=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof o.url&&(o.url=o.url.call(this.$element,t)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},i}),e.define("select2/data/tags",["jquery"],function(t){function e(e,n,i){var r=i.get("tags"),o=i.get("createTag");void 0!==o&&(this.createTag=o);var a=i.get("insertTag");if(void 0!==a&&(this.insertTag=a),e.call(this,n,i),t.isArray(r))for(var s=0;s<r.length;s++){var l=r[s],u=this._normalizeItem(l),c=this.option(u);this.$element.append(c)}}return e.prototype.query=function(t,e,n){var i=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,function t(r,o){for(var a=r.results,s=0;s<a.length;s++){var l=a[s],u=null!=l.children&&!t({results:l.children},!0);if((l.text||"").toUpperCase()===(e.term||"").toUpperCase()||u)return!o&&(r.data=a,void n(r))}if(o)return!0;var c=i.createTag(e);if(null!=c){var d=i.option(c);d.attr("data-select2-tag",!0),i.addOptions([d]),i.insertTag(a,c)}r.results=a,n(r)}):t.call(this,e,n)},e.prototype.createTag=function(e,n){var i=t.trim(n.term);return""===i?null:{id:i,text:i}},e.prototype.insertTag=function(t,e,n){e.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),t.call(this,e,n)}return e.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,n,i){var r=this;n.term=n.term||"";var o=this.tokenizer(n,this.options,function(e){var n=r._normalizeItem(e);if(!r.$element.find("option").filter(function(){return t(this).val()===n.id}).length){var i=r.option(n);i.attr("data-select2-tag",!0),r._removeOldTags(),r.addOptions([i])}!function(t){r.trigger("select",{data:t})}(n)});o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),n.term=o.term),e.call(this,n,i)},e.prototype.tokenizer=function(e,n,i,r){for(var o=i.get("tokenSeparators")||[],a=n.term,s=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};s<a.length;){var u=a[s];if(-1!==t.inArray(u,o)){var c=a.substr(0,s),d=l(t.extend({},n,{term:c}));null!=d?(r(d),a=a.substr(s+1)||"",s=0):s++}else s++}return{term:a}},e}),e.define("select2/data/minimumInputLength",[],function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t}),e.define("select2/data/maximumInputLength",[],function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",function(){i._checkIfMaximumSelected()})},t.prototype.query=function(t,e,n){var i=this;this._checkIfMaximumSelected(function(){t.call(i,e,n)})},t.prototype._checkIfMaximumSelected=function(t,e){var n=this;this.current(function(t){var i=null!=t?t.length:0;n.maximumSelectionLength>0&&i>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):e&&e()})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){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 e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(t,e){function n(){}return n.prototype.render=function(e){var n=e.call(this),i=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=i,this.$search=i.find("input"),n.prepend(i),n},n.prototype.bind=function(e,n,i){var r=this,o=n.id+"-results";e.call(this,n,i),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)}),n.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)}),n.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")}),n.on("focus",function(){n.isOpen()||r.$search.trigger("focus")}),n.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"))}),n.on("results:focus",function(t){t.data._resultId?r.$search.attr("aria-activedescendant",t.data._resultId):r.$search.removeAttr("aria-activedescendant")})},n.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.showSearch=function(t,e){return!0},n}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,i)}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 n=e.slice(0),i=e.length-1;i>=0;i--){var r=e[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,n,i){this.lastParams={},t.call(this,e,n,i),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,n){var i=this;t.call(this,e,n),e.on("query",function(t){i.lastParams=t,i.loading=!0}),e.on("query:append",function(t){i.lastParams=t,i.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>'),n=this.options.get("translations").get("loadingMore");return e.html(n(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function n(e,n,i){this.$dropdownParent=t(i.get("dropdownParent")||document.body),e.call(this,n,i)}return n.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("open",function(){i._showDropdown(),i._attachPositioningHandler(e),i._bindContainerResultHandlers(e)}),e.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},n.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(e){var n=t("<span></span>"),i=e.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(t,e){if(!this._containerResultsHandlersBound){var n=this;e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,i){var r=this,o="scroll.select2."+i.id,a="resize.select2."+i.id,s="orientationchange.select2."+i.id,l=this.$container.parents().filter(e.hasScroll);l.each(function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),l.on(o,function(n){var i=e.GetData(this,"select2-scroll-position");t(this).scrollTop(i.y)}),t(window).on(o+" "+a+" "+s,function(t){r._positionDropdown(),r._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var r="scroll.select2."+i.id,o="resize.select2."+i.id,a="orientationchange.select2."+i.id;this.$container.parents().filter(e.hasScroll).off(r),t(window).off(r+" "+o+" "+a)},n.prototype._positionDropdown=function(){var e=t(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),r=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var a={height:this.$container.outerHeight(!1)};a.top=o.top,a.bottom=o.top+a.height;var s=this.$dropdown.outerHeight(!1),l=e.scrollTop(),u=e.scrollTop()+e.height(),c=l<o.top-s,d=u>o.bottom+s,h={left:o.left,top:a.bottom},f=this.$dropdownParent;"static"===f.css("position")&&(f=f.offsetParent());var p={top:0,left:0};(t.contains(document.body,f[0])||f[0].isConnected)&&(p=f.offset()),h.top-=p.top,h.left-=p.left,n||i||(r="below"),d||!c||n?!c&&d&&n&&(r="below"):r="above",("above"==r||n&&"below"!==r)&&(h.top=a.top-p.top-s),null!=r&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+r),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+r)),this.$dropdownContainer.css(h)},n.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var n=0,i=0;i<e.length;i++){var r=e[i];r.children?n+=t(r.children):n++}return n}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t
-}),e.define("select2/dropdown/selectOnClose",["../utils"],function(t){function e(){}return e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("close",function(t){i._handleSelectOnClose(t)})},e.prototype._handleSelectOnClose=function(e,n){if(n&&null!=n.originalSelect2Event){var i=n.originalSelect2Event;if("select"===i._type||"unselect"===i._type)return}var r=this.getHighlightedResults();if(!(r.length<1)){var o=t.GetData(r[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",function(t){i._selectTriggered(t)}),e.on("unselect",function(t){i._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,n="Please delete "+e+" character";return 1!=e&&(n+="s"),n},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(t,e,n,i,r,o,a,s,l,u,c,d,h,f,p,g,v,m,y,b,_,x,w,C,k,S,T,D,A){function E(){this.reset()}return E.prototype.apply=function(c){if(null==(c=t.extend(!0,{},this.defaults,c)).dataAdapter){if(null!=c.ajax?c.dataAdapter=p:null!=c.data?c.dataAdapter=f:c.dataAdapter=h,c.minimumInputLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,m)),c.maximumInputLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,y)),c.maximumSelectionLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,b)),c.tags&&(c.dataAdapter=u.Decorate(c.dataAdapter,g)),null==c.tokenSeparators&&null==c.tokenizer||(c.dataAdapter=u.Decorate(c.dataAdapter,v)),null!=c.query){var d=e(c.amdBase+"compat/query");c.dataAdapter=u.Decorate(c.dataAdapter,d)}if(null!=c.initSelection){var A=e(c.amdBase+"compat/initSelection");c.dataAdapter=u.Decorate(c.dataAdapter,A)}}if(null==c.resultsAdapter&&(c.resultsAdapter=n,null!=c.ajax&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,C)),null!=c.placeholder&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,w)),c.selectOnClose&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,T))),null==c.dropdownAdapter){if(c.multiple)c.dropdownAdapter=_;else{var E=u.Decorate(_,x);c.dropdownAdapter=E}if(0!==c.minimumResultsForSearch&&(c.dropdownAdapter=u.Decorate(c.dropdownAdapter,S)),c.closeOnSelect&&(c.dropdownAdapter=u.Decorate(c.dropdownAdapter,D)),null!=c.dropdownCssClass||null!=c.dropdownCss||null!=c.adaptDropdownCssClass){var M=e(c.amdBase+"compat/dropdownCss");c.dropdownAdapter=u.Decorate(c.dropdownAdapter,M)}c.dropdownAdapter=u.Decorate(c.dropdownAdapter,k)}if(null==c.selectionAdapter){if(c.multiple?c.selectionAdapter=r:c.selectionAdapter=i,null!=c.placeholder&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,o)),c.allowClear&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,a)),c.multiple&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,s)),null!=c.containerCssClass||null!=c.containerCss||null!=c.adaptContainerCssClass){var O=e(c.amdBase+"compat/containerCss");c.selectionAdapter=u.Decorate(c.selectionAdapter,O)}c.selectionAdapter=u.Decorate(c.selectionAdapter,l)}c.language=this._resolveLanguage(c.language),c.language.push("en");for(var $=[],I=0;I<c.language.length;I++){var F=c.language[I];-1===$.indexOf(F)&&$.push(F)}return c.language=$,c.translations=this._processTranslations(c.language,c.debug),c},E.prototype.reset=function(){function e(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return d[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:u.escapeMarkup,language:{},matcher:function n(i,r){if(""===t.trim(i.term))return r;if(r.children&&r.children.length>0){for(var o=t.extend(!0,{},r),a=r.children.length-1;a>=0;a--)null==n(i,r.children[a])&&o.children.splice(a,1);return o.children.length>0?o:n(i,o)}var s=e(r.text).toUpperCase(),l=e(i.term).toUpperCase();return s.indexOf(l)>-1?r:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},E.prototype.applyFromElement=function(t,e){var n=t.language,i=this.defaults.language,r=e.prop("lang"),o=e.closest("[lang]").prop("lang"),a=Array.prototype.concat.call(this._resolveLanguage(r),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(o));return t.language=a,t},E.prototype._resolveLanguage=function(e){if(!e)return[];if(t.isEmptyObject(e))return[];if(t.isPlainObject(e))return[e];var n;n=t.isArray(e)?e:[e];for(var i=[],r=0;r<n.length;r++)if(i.push(n[r]),"string"==typeof n[r]&&n[r].indexOf("-")>0){var o=n[r].split("-")[0];i.push(o)}return i},E.prototype._processTranslations=function(e,n){for(var i=new c,r=0;r<e.length;r++){var o=new c,a=e[r];if("string"==typeof a)try{o=c.loadPath(a)}catch(t){try{a=this.defaults.amdLanguageBase+a,o=c.loadPath(a)}catch(t){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+a+'" could not be automatically loaded. A fallback will be used instead.')}}else o=t.isPlainObject(a)?new c(a):a;i.extend(o)}return i},E.prototype.set=function(e,n){var i={};i[t.camelCase(e)]=n;var r=u._convertData(i);t.extend(!0,this.defaults,r)},new E}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,n,i){function r(e,r){if(this.options=e,null!=r&&this.fromElement(r),null!=r&&(this.options=n.applyFromElement(this.options,r)),this.options=n.apply(this.options),r&&r.is("input")){var o=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,o)}}return r.prototype.fromElement=function(t){function n(t,e){return e.toUpperCase()}var r=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),i.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),i.StoreData(t[0],"data",i.GetData(t[0],"select2Tags")),i.StoreData(t[0],"tags",!0)),i.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",i.GetData(t[0],"ajaxUrl")),i.StoreData(t[0],"ajax-Url",i.GetData(t[0],"ajaxUrl")));for(var o={},a=0;a<t[0].attributes.length;a++){var s=t[0].attributes[a].name;if("data-"==s.substr(0,"data-".length)){var l=s.substring("data-".length),u=i.GetData(t[0],l);o[l.replace(/-([a-z])/g,n)]=u}}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(o=e.extend(!0,{},t[0].dataset,o));var c=e.extend(!0,{},i.GetData(t[0]),o);for(var d in c=i._convertData(c))e.inArray(d,r)>-1||(e.isPlainObject(this.options[d])?e.extend(this.options[d],c[d]):this.options[d]=c[d]);return this},r.prototype.get=function(t){return this.options[t]},r.prototype.set=function(t,e){this.options[t]=e},r}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,n,i){var r=function(t,i){null!=n.GetData(t[0],"select2")&&n.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),i=i||{},this.options=new e(i,t),r.__super__.constructor.call(this);var o=t.attr("tabindex")||0;n.StoreData(t[0],"old-tabindex",o),t.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(t,this.options);var s=this.render();this._placeContainer(s);var l=this.options.get("selectionAdapter");this.selection=new l(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var u=this.options.get("dropdownAdapter");this.dropdown=new u(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var c=this.options.get("resultsAdapter");this.results=new c(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){d.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(t[0],"select2",this),t.data("select2",this)};return n.Extend(r,n.Observable),r.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},r.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},r.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var i=this._resolveWidth(t,"style");return null!=i?i:this._resolveWidth(t,"element")}if("element"==e){var r=t.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"==e){var o=t.attr("style");if("string"!=typeof o)return null;for(var a=o.split(";"),s=0,l=a.length;s<l;s+=1){var u=a[s].replace(/\s/g,"").match(n);if(null!==u&&u.length>=1)return u[1]}return null}return"computedstyle"==e?window.getComputedStyle(t[0]).width:e},r.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},r.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e(function(e){t._syncA(),t._syncS(null,e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},r.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,n){t.trigger(e,n)})},r.prototype._registerSelectionEvents=function(){var e=this,n=["toggle","focus"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("focus",function(t){e.focus(t)}),this.selection.on("*",function(i,r){-1===t.inArray(i,n)&&e.trigger(i,r)})},r.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,n){t.trigger(e,n)})},r.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,n){t.trigger(e,n)})},r.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,function(n){t.trigger("results:all",{data:n,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(n){t.trigger("results:append",{data:n,query:e})})}),this.on("keypress",function(e){var n=e.which;t.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&e.altKey?(t.close(e),e.preventDefault()):n===i.ENTER?(t.trigger("results:select",{}),e.preventDefault()):n===i.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):n===i.UP?(t.trigger("results:previous",{}),e.preventDefault()):n===i.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&e.altKey)&&(t.open(),e.preventDefault())})},r.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},r.prototype._isChangeMutation=function(e,n){var i=!1,r=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(n)if(n.addedNodes&&n.addedNodes.length>0)for(var o=0;o<n.addedNodes.length;o++)n.addedNodes[o].selected&&(i=!0);else n.removedNodes&&n.removedNodes.length>0?i=!0:t.isArray(n)&&t.each(n,function(t,e){if(r._isChangeMutation(t,e))return i=!0,!1});else i=!0;return i}},r.prototype._syncSubtree=function(t,e){var n=this;this._isChangeMutation(t,e)&&this.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})})},r.prototype.trigger=function(t,e){var n=r.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in i){var o=i[t],a={prevented:!1,name:t,args:e};if(n.call(this,o,a),a.prevented)return void(e.prevented=!0)}n.call(this,t,e)},r.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},r.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},r.prototype.close=function(t){this.isOpen()&&this.trigger("close",{originalEvent:t})},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},r.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},r.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},r.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},r.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},r.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var n=e[0];t.isArray(n)&&(n=t.map(n,function(t){return t.toString()})),this.$element.val(n).trigger("input").trigger("change")},r.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},r.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(e[0],"element",this.$element),e},r}),e.define("jquery-mousewheel",["jquery"],function(t){return t}),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(t,e,n,i,r){if(null==t.fn.select2){var o=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var i=t.extend(!0,{},e);new n(t(this),i)}),this;if("string"==typeof e){var i,a=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=r.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),i=t[e].apply(t,a)}),t.inArray(e,o)>-1?this:i}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=i),n}),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n},r=[n("7t+N")],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)},hw3k:function(t,e){lineOptions={legend:{position:"bottom"},scales:{yAxes:[{ticks:{fontColor:"rgba(0,0,0,0.5)",fontStyle:"bold",beginAtZero:!0,maxTicksLimit:5,padding:20},gridLines:{drawTicks:!1,display:!1}}],xAxes:[{gridLines:{zeroLineColor:"transparent"},ticks:{padding:20,fontColor:"rgba(0,0,0,0.5)",fontStyle:"bold"}}]}},pieOptions={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:1,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,responsive:!0,maintainAspectRatio:!1,legendTemplate:"<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<segments.length; i++){%><li><i class='fa fa-circle-o' style='color: <%=segments[i].fillColor%>'></i><%if(segments[i].label){%><%=segments[i].label%><%}%> foo</li><%}%></ul>",tooltipTemplate:"<%=value %> <%=label%> "},$('meta[name="baseUrl"]').attr("content"),function(t,e){var n={modals:{}};n.modals.confirmDelete=function(){var e=t("table"),n=function(e){var n=t(this),i=t("#dataConfirmModal"),r=n.attr("href"),o=n.attr("data-content"),a=n.attr("data-title");return t("#myModalLabel").text(a),i.find(".modal-body").text(o),t("#deleteForm").attr("action",r),i.modal({show:!0}),!1};return{render:function(){e.on("click",".delete-asset",n)}}},t(function(){(new n.modals.confirmDelete).render()})}(jQuery,window.snipeit.settings),$(document).ready(function(){function t(t){t instanceof jQuery||(t=$(t));var e=t.data("select2");return searchElement=e.dropdown.$search||e.$container.find(".select2-search__field"),searchElement.val()}function e(t){if(t.loading)return'<i class="fa fa-spinner fa-spin" aria-hidden="true"></i> Loading...';var e="<div class='clearfix'>";return e+="<div class='pull-left' style='padding-right: 10px;'>",t.image?e+="<div style='width: 30px;'><img src='"+t.image+"' style='max-height: 20px; max-width: 30px;' alt='"+t.text+"'></div>":e+="<div style='height: 20px; width: 30px;'></div>",e+="</div><div>"+t.text+"</div>",e+="</div>"}function n(t){return t.text.replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function i(t){return t<1024?t+" Bytes":t<1048576?(t/1024).toFixed(2)+" KB":t<1073741824?(t/1048576).toFixed(2)+" MB":(t/1073741824).toFixed(2)+" GB"}$(".slideout-menu-toggle").on("click",function(t){t.preventDefault();var e=$(".slideout-menu"),n=$(".slideout-menu").width();e.toggleClass("open"),e.hasClass("open")?(e.show(),e.animate({right:"0px"})):(e.animate({right:-n},"-350px"),e.fadeOut())}),$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({checkboxClass:"icheckbox_minimal-blue",radioClass:"iradio_minimal-blue"}),/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream||$('select.select2:not(".select2-hidden-accessible")').each(function(t,e){$(e).select2()}),$(".js-data-ajax").each(function(t,i){var r=$(i),o=r.data("endpoint");r.data("select"),r.select2({placeholder:"",allowClear:!0,ajax:{url:Ziggy.baseUrl+"api/v1/"+o+"/selectlist",dataType:"json",delay:250,headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:function(t){return{search:t.term,page:t.page||1,assetStatusType:r.data("asset-status-type")}},processResults:function(t,e){return e.page=e.page||1,{results:t.items,pagination:{more:"true"}}},cache:!0},escapeMarkup:function(t){return t},templateResult:e,templateSelection:n})}),$(".select2-hidden-accessible").on("select2:selecting",function(e){var n=e.params.args.data,i=!1,r=$(this),o=t(r);e.params.args.originalEvent&&(i="mouseup"==e.params.args.originalEvent.type),i||(o.toLowerCase()&&n.text.toLowerCase().indexOf(o)<0?(e.preventDefault(),r.select2("close")):o.toLowerCase()&&n.text.toLowerCase().indexOf(o)>-1&&(e.params.args.noForceAjax=!0))}),$(".select2-hidden-accessible").on("select2:closing",function(e){var n=$(this),i=t(n),r=!1,o=!1;if(e.params.args.originalSelect2Event&&(r=e.params.args.originalSelect2Event.noForceAjax),e.params.args.originalEvent&&(o="mouseup"==e.params.args.originalEvent.type),i&&!r&&!o){var a=n.data("endpoint"),s=n.data("asset-status-type");$.ajax({url:Ziggy.baseUrl+"api/v1/"+a+"/selectlist?search="+i+"&page=1"+(s?"&assetStatusType="+s:""),dataType:"json",headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}}).done(function(t){var e=n.select2("data").map(function(t){return+t.id}).filter(function(t){return 0!==t}),i=t.items.filter(function(t){return e.indexOf(+t.id)<0}),r=e.length>0?i[0]:t.items[0];if(r&&r.id){if(r.selected=!0,$("option[value='"+r.id+"']",n).length<1){var o=new Option(r.text,r.id,!0,!0);n.append(o)}else{var a="multiple"==n.attr("multiple");n.val(a?n.val().concat(r.id):n.val(r.id))}n.trigger("change"),n.trigger({type:"select2:select",params:{data:r}})}})}}),$(function(){$("input[name=checkout_to_type]").on("change",function(){var t=$("input[name=checkout_to_type]:checked").val(),e=$("#assigned_user option:selected").val();"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"),n=e+"-status",r=$(n);r.removeClass("text-success").removeClass("text-danger"),$(n+" .goodfile").remove(),$(n+" .badfile").remove(),$(n+" .previewSize").hide(),$(e+"-info").html("");for(var o=t.data("maxsize"),a=0,s=0;s<this.files.length;s++)a+=this.files[s].size,$(e+"-info").append('<span class="label label-default">'+this.files[s].name+" ("+i(this.files[s].size)+")</span> ");if(a>o)r.addClass("text-danger").removeClass("help-block").prepend('<i class="badfile fa fa-times"></i> ').append('<span class="previewSize"> Upload is '+i(a)+".</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 n=new FileReader;n.onload=function(t){e.attr("src",t.target.result)},n.readAsDataURL(t.files[0])}}(this,l),l.fadeIn()}})}),function(t){t.fn.toggleDisabled=function(e){return this.each(function(){var n,i=t(this);i.attr("disabled")?(i.removeAttr("disabled"),n=!1):(i.attr("disabled","disabled"),n=!0),e&&"function"==typeof e&&e(this,n)})}}(jQuery)},jbHB:function(t,e){},kxAE:function(t,e){},l4G8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("h2",[t._v("\n OAuth Clients\n ")]),t._v(" "),n("a",{staticClass:"action-link",on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),n("div",{staticClass:"panel-body"},[0===t.clients.length?n("p",{staticClass:"m-b-none"},[t._v("\n You have not created any OAuth clients.\n ")]):t._e(),t._v(" "),t.clients.length>0?n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.clients,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.id)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("code",[t._v(t._s(e.secret))])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link",on:{click:function(n){t.edit(e)}}},[t._v("\n Edit\n ")])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.destroy(e)}}},[t._v("\n Delete\n ")])])])}))]):t._e()])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.createForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.createForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"create-client-name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.name,expression:"createForm.name"}],staticClass:"form-control",attrs:{id:"create-client-name",type:"text","aria-label":"create-client-name"},domProps:{value:t.createForm.name},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.store(e)},input:function(e){e.target.composing||(t.createForm.name=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"redirect"}},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.redirect,expression:"createForm.redirect"}],staticClass:"form-control",attrs:{type:"text","aria-label":"redirect",name:"redirect"},domProps:{value:t.createForm.redirect},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.store(e)},input:function(e){e.target.composing||(t.createForm.redirect=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-edit-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(3),t._v(" "),n("div",{staticClass:"modal-body"},[t.editForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(4),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.editForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"edit-client-name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.name,expression:"editForm.name"}],staticClass:"form-control",attrs:{id:"edit-client-name",type:"text","aria-label":"edit-client-name"},domProps:{value:t.editForm.name},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.update(e)},input:function(e){e.target.composing||(t.editForm.name=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"redirect"}},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.redirect,expression:"editForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect","aria-label":"redirect"},domProps:{value:t.editForm.redirect},on:{keyup:function(e){
-if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.update(e)},input:function(e){e.target.composing||(t.editForm.redirect=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.update}},[t._v("\n Save Changes\n ")])])])])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Client ID")]),t._v(" "),n("th",[t._v("Name")]),t._v(" "),n("th",[t._v("Secret")]),t._v(" "),n("th",[n("span",{staticClass:"sr-only"},[t._v("Edit")])]),t._v(" "),n("th",[n("span",{staticClass:"sr-only"},[t._v("Delete")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h2",{staticClass:"modal-title"},[this._v("\n Create Client\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h2",{staticClass:"modal-title"},[this._v("\n Edit Client\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])}]}},l9CE:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["file","customFields"],data:function(){return{activeFile:this.file,processDetail:!1,statusText:null,statusType:null,options:{importType:this.file.import_type,update:!1,importTypes:[{id:"asset",text:"Assets"},{id:"accessory",text:"Accessories"},{id:"consumable",text:"Consumables"},{id:"component",text:"Components"},{id:"license",text:"Licenses"},{id:"user",text:"Users"}],statusText:null},columnOptions:{general:[{id:"category",text:"Category"},{id:"company",text:"Company"},{id:"checkout_to",text:"Checked out to"},{id:"email",text:"Email"},{id:"item_name",text:"Item Name"},{id:"location",text:"Location"},{id:"maintained",text:"Maintained"},{id:"manufacturer",text:"Manufacturer"},{id:"notes",text:"Notes"},{id:"order_number",text:"Order Number"},{id:"purchase_cost",text:"Purchase Cost"},{id:"purchase_date",text:"Purchase Date"},{id:"quantity",text:"Quantity"},{id:"requestable",text:"Requestable"},{id:"serial",text:"Serial Number"},{id:"supplier",text:"Supplier"},{id:"username",text:"Username"},{id:"department",text:"Department"}],assets:[{id:"asset_tag",text:"Asset Tag"},{id:"asset_model",text:"Model Name"},{id:"checkout_class",text:"Checkout Type"},{id:"checkout_location",text:"Checkout Location"},{id:"image",text:"Image Filename"},{id:"model_number",text:"Model Number"},{id:"full_name",text:"Full Name"},{id:"status",text:"Status"},{id:"warranty_months",text:"Warranty Months"}],consumables:[{id:"item_no",text:"Item Number"},{id:"model_number",text:"Model Number"}],licenses:[{id:"expiration_date",text:"Expiration Date"},{id:"license_email",text:"Licensed To Email"},{id:"license_name",text:"Licensed To Name"},{id:"purchase_order",text:"Purchase Order"},{id:"reassignable",text:"Reassignable"},{id:"seats",text:"Seats"}],users:[{id:"employee_num",text:"Employee Number"},{id:"first_name",text:"First Name"},{id:"jobtitle",text:"Job Title"},{id:"last_name",text:"Last Name"},{id:"phone_number",text:"Phone Number"},{id:"manager_first_name",text:"Manager First Name"},{id:"manager_last_name",text:"Manager Last Name"},{id:"department",text:"Department"},{id:"activated",text:"Activated"}],customFields:this.customFields},columnMappings:this.file.field_map||{},activeColumn:null}},created:function(){window.eventHub.$on("showDetails",this.toggleExtendedDisplay),this.populateSelect2ActiveItems()},computed:{columns:function(){function t(t,e){return t.text<e.text?-1:t.text>e.text?1:0}switch(this.options.importType){case"asset":return this.columnOptions.general.concat(this.columnOptions.assets).concat(this.columnOptions.customFields).sort(t);case"consumable":return this.columnOptions.general.concat(this.columnOptions.consumables).sort(t);case"license":return this.columnOptions.general.concat(this.columnOptions.licenses).sort(t);case"user":return this.columnOptions.general.concat(this.columnOptions.users).sort(t)}return this.columnOptions.general},alertClass:function(){return"success"==this.statusType?"alert-success":"error"==this.statusType?"alert-danger":"alert-info"}},watch:{columns:function(){this.populateSelect2ActiveItems()}},methods:{postSave:function(){var t=this;if(console.log("saving"),console.log(this.options.importType),!this.options.importType)return this.statusType="error",void(this.statusText="An import type is required... ");this.statusType="pending",this.statusText="Processing...",this.$http.post(route("api.imports.importFile",this.file.id),{"import-update":this.options.update,"send-welcome":this.options.send_welcome,"import-type":this.options.importType,"run-backup":this.options.run_backup,"column-mappings":this.columnMappings}).then(function(e){var n=e.body;t.statusType="success",t.statusText="Success... Redirecting.",window.location.href=n.messages.redirect_url},function(e){var n=e.body;"import-errors"==n.status?(window.eventHub.$emit("importErrors",n.messages),t.statusType="error",t.statusText="Error"):t.$emit("alert",{message:n.messages,type:"danger",visible:!0}),t.displayImportModal=!1})},populateSelect2ActiveItems:function(){if(null==this.file.field_map){for(var t=0;t<this.file.header_row.length;t++)this.$set(this.columnMappings,this.file.header_row[t],null);for(var e=0;e<this.columns.length;e++){var n=this.columns[e],i=this.file.header_row.map(function(t){return t.toLowerCase()}).indexOf(n.text.toLowerCase());-1!=i&&this.$set(this.columnMappings,this.file.header_row[i],n.id)}}},toggleExtendedDisplay:function(t){t==this.file.id&&(this.processDetail=!this.processDetail)},updateModel:function(t,e){this.columnMappings[t]=e}},components:{select2:n("YDmc")}}},lAxH:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default={props:["tokenUrl","scopesUrl"],data:function(){return{accessToken:null,tokens:[],scopes:[],form:{name:"",scopes:[],errors:[]}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens(),this.getScopes(),$("#modal-create-token").on("shown.bs.modal",function(){$("#create-token-name").focus()})},getTokens:function(){var t=this;this.$http.get(this.tokenUrl).then(function(e){t.tokens=e.data})},getScopes:function(){var t=this;this.$http.get(this.scopesUrl).then(function(e){t.scopes=e.data})},showCreateTokenForm:function(){$("#modal-create-token").modal("show")},store:function(){var t=this;this.accessToken=null,this.form.errors=[],this.$http.post(this.tokenUrl,this.form).then(function(e){t.form.name="",t.form.scopes=[],t.form.errors=[],t.tokens.push(e.data.token),t.showAccessToken(e.data.accessToken)}).catch(function(e){"object"===i(e.data)?t.form.errors=_.flatten(_.toArray(e.data)):(console.dir(t.form),t.form.errors=["Something went wrong. Please try again."])})},toggleScope:function(t){this.scopeIsAssigned(t)?this.form.scopes=_.reject(this.form.scopes,function(e){return e==t}):this.form.scopes.push(t)},scopeIsAssigned:function(t){return _.indexOf(this.form.scopes,t)>=0},showAccessToken:function(t){$("#modal-create-token").modal("hide"),this.accessToken=t,$("#modal-access-token").modal("show")},revoke:function(t){var e=this;this.$http.delete(this.tokenUrl+"/"+t.id).then(function(t){e.getTokens()})}}}},lafA:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.show&&t.fields.length?n("div",[n("div",{staticClass:"form-group"},[n("fieldset",[n("legend",{staticClass:"col-md-3 control-label"},[t._v("Default Values")]),t._v(" "),n("div",{staticClass:"col-sm-8 col-xl-7"},[t.error?n("p",[t._v("\n There was a problem retrieving the fields for this fieldset.\n ")]):t._e(),t._v(" "),t._l(t.fields,function(e){return n("div",{staticClass:"row"},[n("div",{staticClass:"col-sm-12 col-lg-6"},[n("label",{staticClass:"control-label",attrs:{for:"default-value"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),n("div",{staticClass:"col-sm-12 col-lg-6"},["text"==e.type?n("input",{staticClass:"form-control m-b-xs",attrs:{type:"text",id:"default-value"+e.id,name:"default_values["+e.id+"]"},domProps:{value:t.getValue(e)}}):t._e(),t._v(" "),"textarea"==e.type?n("textarea",{staticClass:"form-control",attrs:{id:"default-value"+e.id,name:"default_values["+e.id+"]"},domProps:{value:t.getValue(e)}}):t._e(),n("br"),t._v(" "),"listbox"==e.type?n("select",{staticClass:"form-control m-b-xs",attrs:{name:"default_values["+e.id+"]"}},[n("option",{attrs:{value:""}}),t._v(" "),t._l(e.field_values_array,function(i){return n("option",{domProps:{value:i,selected:t.getValue(e)==i}},[t._v(t._s(i))])})],2):t._e()])])})],2)])])]):t._e()])},staticRenderFns:[]}},m5pD:function(t,e){},mttk:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("h2",[t._v("\n Personal Access Tokens\n ")]),t._v(" "),n("a",{staticClass:"action-link",on:{click:t.showCreateTokenForm}},[t._v("\n Create New Token\n ")])])]),t._v(" "),n("div",{staticClass:"panel-body"},[0===t.tokens.length?n("p",{staticClass:"m-b-none"},[t._v("\n You have not created any personal access tokens.\n ")]):t._e(),t._v(" "),t.tokens.length>0?n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.revoke(e)}}},[t._v("\n Delete\n ")])])])}))]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.form.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.form.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"},on:{submit:function(e){e.preventDefault(),t.store(e)}}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label",attrs:{for:"name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.name,expression:"form.name"}],staticClass:"form-control",attrs:{id:"create-token-name",type:"text","aria-label":"name",name:"name"},domProps:{value:t.form.name},on:{input:function(e){e.target.composing||(t.form.name=e.target.value)}}})])]),t._v(" "),t.scopes.length>0?n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label"},[t._v("Scopes")]),t._v(" "),n("div",{staticClass:"col-md-6"},t._l(t.scopes,function(e){return n("div",[n("div",{staticClass:"checkbox"},[n("label",[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.scopeIsAssigned(e.id)},on:{click:function(n){t.toggleScope(e.id)}}}),t._v("\n\n "+t._s(e.id)+"\n ")])])])}))]):t._e()])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn primary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-access-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(3),t._v(" "),n("div",{staticClass:"modal-body"},[n("p",[t._v("\n Here is your new personal access token. This is the only time it will be shown so don't lose it!\n You may now use this token to make API requests.\n ")]),t._v(" "),n("pre",[n("code",[t._v(t._s(t.accessToken))])])]),t._v(" "),t._m(4)])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th",[e("span",{staticClass:"sr-only"},[this._v("Delete")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Create Token\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Personal Access Token\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[this._v("Close")])])}]}},oTR8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.tokens.length>0?n("div",[n("div",{staticClass:"panel panel-default"},[n("h2",{staticClass:"panel-heading"},[t._v("Authorized Applications")]),t._v(" "),n("div",{staticClass:"panel-body"},[n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.client.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[e.scopes.length>0?n("span",[t._v("\n "+t._s(e.scopes.join(", "))+"\n ")]):t._e()]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.revoke(e)}}},[t._v("\n Revoke\n ")])])])}))])])])]):t._e()])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Scopes")]),this._v(" "),e("th",[e("span",{staticClass:"sr-only"},[this._v("Delete")])])])])}]}},ooDj:function(t,e,n){var i=n("VU/8")(n("20cu"),n("oTR8"),!1,function(t){n("8Hdb")},"data-v-18abfa16",null);t.exports=i.exports},pQUU:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-18abfa16]{cursor:pointer}.m-b-none[data-v-18abfa16]{margin-bottom:0}",""])},rjj0:function(t,e,n){function i(t){for(var e=0;e<t.length;e++){var n=t[e],i=u[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(o(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r<n.parts.length;r++)a.push(o(n.parts[r]));u[n.id]={id:n.id,refs:1,parts:a}}}}function r(){var t=document.createElement("style");return t.type="text/css",c.appendChild(t),t}function o(t){var e,n,i=document.querySelector("style["+v+'~="'+t.id+'"]');if(i){if(f)return p;i.parentNode.removeChild(i)}if(m){var o=h++;i=d||(d=r()),e=a.bind(null,i,o,!1),n=a.bind(null,i,o,!0)}else i=r(),e=function(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),g.ssrId&&t.setAttribute(v,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}function a(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}var s="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!s)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l=n("tTVk"),u={},c=s&&(document.head||document.getElementsByTagName("head")[0]),d=null,h=0,f=!1,p=function(){},g=null,v="data-vue-ssr-id",m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n,r){f=n,g=r||{};var o=l(t,e);return i(o),function(e){for(var n=[],r=0;r<o.length;r++){var a=o[r];(s=u[a.id]).refs--,n.push(s)}for(e?i(o=l(t,e)):o=[],r=0;r<n.length;r++){var s;if(0===(s=n[r]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete u[s.id]}}}};var y,b=(y=[],function(t,e){return y[t]=e,y.filter(Boolean).join("\n")})},rqPf:function(t,e,n){var i=n("hLk5");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("1ab6df0e",i,!0,{})},sJcK:function(t,e,n){var i=n("VU/8")(n("l9CE"),n("bU+R"),!1,function(t){n("uOaM")},null,null);t.exports=i.exports},t80F:function(t,e){},tTVk:function(t,e){t.exports=function(t,e){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],a=o[0],s={id:t+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}},tZpc:function(t,e,n){var i=n("g9VR");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("2e084566",i,!0,{})},uOaM:function(t,e,n){var i=n("Z4O5");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("3354428a",i,!0,{})},vvpX:function(t,e){},yDVJ:function(t,e,n){var i=n("VU/8")(n("zJOD"),n("zkjN"),!1,function(t){n("tZpc")},"data-v-3351e4cf",null);t.exports=i.exports},yd7E:function(t,e){},z1kw:function(t,e,n){var i,r,o,a;a=function(t){var e,n=0,i=Array.prototype.slice;return t.cleanData=(e=t.cleanData,function(n){var i,r,o;for(o=0;null!=(r=n[o]);o++)try{(i=t._data(r,"events"))&&i.remove&&t(r).triggerHandler("remove")}catch(t){}e(n)}),t.widget=function(e,n,i){var r,o,a,s={},l=e.split(".")[0],u=l+"-"+(e=e.split(".")[1]);return i||(i=n,n=t.Widget),t.isArray(i)&&(i=t.extend.apply(null,[{}].concat(i))),t.expr[":"][u.toLowerCase()]=function(e){return!!t.data(e,u)},t[l]=t[l]||{},r=t[l][e],o=t[l][e]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},t.extend(o,r,{version:i.version,_proto:t.extend({},i),_childConstructors:[]}),(a=new n).options=t.widget.extend({},a.options),t.each(i,function(e,i){t.isFunction(i)?s[e]=function(){function t(){return n.prototype[e].apply(this,arguments)}function r(t){return n.prototype[e].apply(this,t)}return function(){var e,n=this._super,o=this._superApply;return this._super=t,this._superApply=r,e=i.apply(this,arguments),this._super=n,this._superApply=o,e}}():s[e]=i}),o.prototype=t.widget.extend(a,{widgetEventPrefix:r&&a.widgetEventPrefix||e},s,{constructor:o,namespace:l,widgetName:e,widgetFullName:u}),r?(t.each(r._childConstructors,function(e,n){var i=n.prototype;t.widget(i.namespace+"."+i.widgetName,o,n._proto)}),delete r._childConstructors):n._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var n,r,o=i.call(arguments,1),a=0,s=o.length;a<s;a++)for(n in o[a])r=o[a][n],o[a].hasOwnProperty(n)&&void 0!==r&&(t.isPlainObject(r)?e[n]=t.isPlainObject(e[n])?t.widget.extend({},e[n],r):t.widget.extend({},r):e[n]=r);return e},t.widget.bridge=function(e,n){var r=n.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,s=i.call(arguments,1),l=this;return a?this.length||"instance"!==o?this.each(function(){var n,i=t.data(this,r);return"instance"===o?(l=i,!1):i?t.isFunction(i[o])&&"_"!==o.charAt(0)?(n=i[o].apply(i,s))!==i&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0:t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")}):l=void 0:(s.length&&(o=t.widget.extend.apply(null,[o].concat(s))),this.each(function(){var e=t.data(this,r);e?(e.option(o||{}),e._init&&e._init()):t.data(this,r,new n(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,n){e._removeClass(n,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var i,r,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},e=(i=e.split(".")).shift(),i.length){for(r=a[e]=t.widget.extend({},this.options[e]),o=0;o<i.length-1;o++)r[i[o]]=r[i[o]]||{},r=r[i[o]];if(e=i.pop(),1===arguments.length)return void 0===r[e]?null:r[e];r[e]=n}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=n}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var n,i,r;for(n in e)r=this.classesElementLookup[n],e[n]!==this.options.classes[n]&&r&&r.length&&(i=t(r.get()),this._removeClass(r,n),i.addClass(this._classes({element:i,keys:n,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function n(n,o){var a,s;for(s=0;s<n.length;s++)a=r.classesElementLookup[n[s]]||t(),a=t(e.add?t.unique(a.get().concat(e.element.get())):a.not(e.element).get()),r.classesElementLookup[n[s]]=a,i.push(n[s]),o&&e.classes[n[s]]&&i.push(e.classes[n[s]])}var i=[],r=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&n(e.keys.match(/\S+/g)||[],!0),e.extra&&n(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var n=this;t.each(n.classesElementLookup,function(i,r){-1!==t.inArray(e.target,r)&&(n.classesElementLookup[i]=t(r.not(e.target).get()))})},_removeClass:function(t,e,n){return this._toggleClass(t,e,n,!1)},_addClass:function(t,e,n){return this._toggleClass(t,e,n,!0)},_toggleClass:function(t,e,n,i){i="boolean"==typeof i?i:n;var r="string"==typeof t||null===t,o={extra:r?e:n,keys:r?t:e,element:r?this.element:t,add:i};return o.element.toggleClass(this._classes(o),i),this},_on:function(e,n,i){var r,o=this;"boolean"!=typeof e&&(i=n,n=e,e=!1),i?(n=r=t(n),this.bindings=this.bindings.add(n)):(i=n,n=this.element,r=this.widget()),t.each(i,function(i,a){function s(){if(e||!0!==o.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof a?o[a]:a).apply(o,arguments)}"string"!=typeof a&&(s.guid=a.guid=a.guid||s.guid||t.guid++);var l=i.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+o.eventNamespace,c=l[2];c?r.on(u,c,s):n.on(u,s)})},_off:function(e,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(n).off(n),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){var n=this;return setTimeout(function(){return("string"==typeof t?n[t]:t).apply(n,arguments)},e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,n,i){var r,o,a=this.options[e];if(i=i||{},(n=t.Event(n)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n.target=this.element[0],o=n.originalEvent)for(r in o)r in n||(n[r]=o[r]);return this.element.trigger(n,i),!(t.isFunction(a)&&!1===a.apply(this.element[0],[n].concat(i))||n.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,n){t.Widget.prototype["_"+e]=function(i,r,o){var a;"string"==typeof r&&(r={effect:r});var s=r?!0===r||"number"==typeof r?n:r.effect||n:e;"number"==typeof(r=r||{})&&(r={duration:r}),a=!t.isEmptyObject(r),r.complete=o,r.delay&&i.delay(r.delay),a&&t.effects&&t.effects.effect[s]?i[e](r):s!==e&&i[s]?i[s](r.duration,r.easing,o):i.queue(function(n){t(this)[e](),o&&o.call(i[0]),n()})}}),t.widget},r=[n("7t+N"),n("UZ9c")],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)},zJOD:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["errors"]}},zkjN:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.errors?n("div",{staticClass:"box"},[n("div",{staticClass:"box-body"},[t._m(0),t._v(" "),n("div",{staticClass:"errors-table"},[n("table",{staticClass:"table table-striped table-bordered",attrs:{id:"errors-table"}},[t._m(1),t._v(" "),n("tbody",t._l(t.errors,function(e,i){return n("tr",[n("td",[t._v(t._s(i))]),t._v(" "),t._l(e,function(e,i){return n("td",[n("b",[t._v(t._s(i)+":")]),t._v(" "),t._l(e,function(e){return n("span",[t._v(t._s(e[0]))])}),t._v(" "),n("br")],2)})],2)}))])])])]):t._e()},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"alert alert-warning"},[e("strong",[this._v("Warning")]),this._v(" Some Errors occured while importing\n ")])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("th",[this._v("Item")]),this._v(" "),e("th",[this._v("Errors")])])}]}}}),"undefined"==typeof jQuery)throw new Error("AdminLTE requires jQuery");!function(t){"use strict";function e(e,n){if(this.element=e,this.options=n,this.$overlay=t(n.overlayTemplate),""===n.source)throw new Error("Source url was not defined. Please specify a url in your BoxRefresh source option.");this._setUpListeners(),this.load()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(o,s))}if("string"==typeof a){if(void 0===a[n])throw new Error("No method named "+n);a[n]()}})}var i="lte.boxrefresh",r={source:"",params:{},trigger:".refresh-btn",content:".box-body",loadInContent:!0,responseType:"",overlayTemplate:'<div class="overlay"><div class="fa fa-refresh fa-spin"></div></div>',onLoadStart:function(){},onLoadDone:function(t){return t}};e.prototype.load=function(){this._addOverlay(),this.options.onLoadStart.call(t(this)),t.get(this.options.source,this.options.params,function(e){this.options.loadInContent&&t(this.element).find(this.options.content).html(e),this.options.onLoadDone.call(t(this),e),this._removeOverlay()}.bind(this),""!==this.options.responseType&&this.options.responseType)},e.prototype._setUpListeners=function(){t(this.element).on("click",this.options.trigger,function(t){t&&t.preventDefault(),this.load()}.bind(this))},e.prototype._addOverlay=function(){t(this.element).append(this.$overlay)},e.prototype._removeOverlay=function(){t(this.$overlay).remove()};var o=t.fn.boxRefresh;t.fn.boxRefresh=n,t.fn.boxRefresh.Constructor=e,t.fn.boxRefresh.noConflict=function(){return t.fn.boxRefresh=o,this},t(window).on("load",function(){t('[data-widget="box-refresh"]').each(function(){n.call(t(this))})})}(jQuery),function(t){"use strict";function e(t,e){this.element=t,this.options=e,this._setUpListeners()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(o,s))}if("string"==typeof n){if(void 0===a[n])throw new Error("No method named "+n);a[n]()}})}var i="lte.boxwidget",r={animationSpeed:500,collapseTrigger:'[data-widget="collapse"]',removeTrigger:'[data-widget="remove"]',collapseIcon:"fa-minus",expandIcon:"fa-plus",removeIcon:"fa-times"},o=".box-header",a=".box-body",s=".box-footer",l=".box-tools",u="collapsed-box";e.prototype.toggle=function(){t(this.element).is(".collapsed-box")?this.expand():this.collapse()},e.prototype.expand=function(){var e=t.Event("expanded.boxwidget"),n=t.Event("expanding.boxwidget"),i=this.options.collapseIcon,r=this.options.expandIcon;t(this.element).removeClass(u),t(this.element).children(o+", "+a+", "+s).children(l).find("."+r).removeClass(r).addClass(i),t(this.element).children(a+", "+s).slideDown(this.options.animationSpeed,function(){t(this.element).trigger(e)}.bind(this)).trigger(n)},e.prototype.collapse=function(){var e=t.Event("collapsed.boxwidget"),n=t.Event("collapsing.boxwidget"),i=this.options.collapseIcon,r=this.options.expandIcon
-;t(this.element).children(o+", "+a+", "+s).children(l).find("."+i).removeClass(i).addClass(r),t(this.element).children(a+", "+s).slideUp(this.options.animationSpeed,function(){t(this.element).addClass(u),t(this.element).trigger(e)}.bind(this)).trigger(n)},e.prototype.remove=function(){var e=t.Event("removed.boxwidget"),n=t.Event("removing.boxwidget");t(this.element).slideUp(this.options.animationSpeed,function(){t(this.element).trigger(e),t(this.element).remove()}.bind(this)).trigger(n)},e.prototype._setUpListeners=function(){var e=this;t(this.element).on("click",this.options.collapseTrigger,function(n){return n&&n.preventDefault(),e.toggle(t(this)),!1}),t(this.element).on("click",this.options.removeTrigger,function(n){return n&&n.preventDefault(),e.remove(t(this)),!1})};var c=t.fn.boxWidget;t.fn.boxWidget=n,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(){n.call(t(this))})})}(jQuery),function(t){"use strict";function e(t,e){this.element=t,this.options=e,this.hasBindedResize=!1,this.init()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(o,s))}"string"==typeof n&&a.toggle()})}var i="lte.controlsidebar",r={controlsidebarSlide:!0},o=".control-sidebar",a='[data-toggle="control-sidebar"]',s=".control-sidebar-open",l="control-sidebar-open",u="control-sidebar-hold-transition";e.prototype.init=function(){t(this.element).is(a)||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(s)||t("body").is(s)?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=n,t.fn.controlSidebar.Constructor=e,t.fn.controlSidebar.noConflict=function(){return t.fn.controlSidebar=c,this},t(document).on("click",a,function(e){e&&e.preventDefault(),n.call(t(this),"toggle")})}(jQuery),function(t){"use strict";function e(t){this.element=t}function n(n){return this.each(function(){var r=t(this),o=r.data(i);o||r.data(i,o=new e(r)),"string"==typeof n&&o.toggle(r)})}var i="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=n,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(),n.call(t(this),"toggle")})}(jQuery),function(t){"use strict";function e(t){this.options=t,this.init()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(s))}"toggle"===n&&a.toggle()})}var i="lte.pushmenu",r={collapseScreenSize:767,expandOnHover:!1,expandTransitionDelay:200},o='[data-toggle="push-menu"]',a=".sidebar-mini",s="sidebar-collapse",l="sidebar-open",u="sidebar-expanded-on-hover",c="expanded.pushMenu",d="collapsed.pushMenu";e.prototype.init=function(){(this.options.expandOnHover||t("body").is(a+".fixed"))&&(this.expandOnHover(),t("body").addClass("sidebar-mini-expand-feature")),t(".content-wrapper").click(function(){t(window).width()<=this.options.collapseScreenSize&&t("body").hasClass(l)&&this.close()}.bind(this)),t(".sidebar-form .form-control").click(function(t){t.stopPropagation()})},e.prototype.toggle=function(){var e=t(window).width(),n=!t("body").hasClass(s);e<=this.options.collapseScreenSize&&(n=t("body").hasClass(l)),n?this.close():this.open()},e.prototype.open=function(){t(window).width()>this.options.collapseScreenSize?t("body").removeClass(s).trigger(t.Event(c)):t("body").addClass(l).trigger(t.Event(c))},e.prototype.close=function(){t(window).width()>this.options.collapseScreenSize?t("body").addClass(s).trigger(t.Event(d)):t("body").removeClass(l+" "+s).trigger(t.Event(d))},e.prototype.expandOnHover=function(){t(".main-sidebar").hover(function(){t("body").is(a+".sidebar-collapse")&&t(window).width()>this.options.collapseScreenSize&&this.expand()}.bind(this),function(){t("body").is(".sidebar-expanded-on-hover")&&this.collapse()}.bind(this))},e.prototype.expand=function(){setTimeout(function(){t("body").removeClass(s).addClass(u)},this.options.expandTransitionDelay)},e.prototype.collapse=function(){setTimeout(function(){t("body").removeClass(u).addClass(s)},this.options.expandTransitionDelay)};var h=t.fn.pushMenu;t.fn.pushMenu=n,t.fn.pushMenu.Constructor=e,t.fn.pushMenu.noConflict=function(){return t.fn.pushMenu=h,this},t(document).on("click",o,function(e){e.preventDefault(),n.call(t(this),"toggle")}),t(window).on("load",function(){n.call(t(o))})}(jQuery),function(t){"use strict";function e(t,e){this.element=t,this.options=e,this._setUpListeners()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(o,s))}if("string"==typeof a){if(void 0===a[n])throw new Error("No method named "+n);a[n]()}})}var i="lte.todolist",r={onCheck:function(t){return t},onUnCheck:function(t){return t}},o={data:'[data-widget="todo-list"]'};e.prototype.toggle=function(t){t.parents(o.li).first().toggleClass("done"),t.prop("checked")?this.check(t):this.unCheck(t)},e.prototype.check=function(t){this.options.onCheck.call(t)},e.prototype.unCheck=function(t){this.options.onUnCheck.call(t)},e.prototype._setUpListeners=function(){var e=this;t(this.element).on("change ifChanged","input:checkbox",function(){e.toggle(t(this))})};var a=t.fn.todoList;t.fn.todoList=n,t.fn.todoList.Constructor=e,t.fn.todoList.noConflict=function(){return t.fn.todoList=a,this},t(window).on("load",function(){t(o.data).each(function(){n.call(t(this))})})}(jQuery),function(t){"use strict";function e(e,n){this.element=e,this.options=n,t(this.element).addClass(u),t(o+s,this.element).addClass(l),this._setUpListeners()}function n(n){return this.each(function(){var o=t(this);if(!o.data(i)){var a=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,new e(o,a))}})}var i="lte.tree",r={animationSpeed:500,accordion:!0,followLink:!1,trigger:".treeview a"},o=".treeview",a=".treeview-menu",s=".active",l="menu-open",u="tree";e.prototype.toggle=function(t,e){var n=t.next(a),i=t.parent(),r=i.hasClass(l);i.is(o)&&(this.options.followLink&&"#"!==t.attr("href")||e.preventDefault(),r?this.collapse(n,i):this.expand(n,i))},e.prototype.expand=function(e,n){var i=t.Event("expanded.tree");if(this.options.accordion){var r=n.siblings(".menu-open, .active"),o=r.children(a);this.collapse(o,r)}n.addClass(l),e.stop().slideDown(this.options.animationSpeed,function(){t(this.element).trigger(i),n.height("auto")}.bind(this))},e.prototype.collapse=function(e,n){var i=t.Event("collapsed.tree");n.removeClass(l),e.stop().slideUp(this.options.animationSpeed,function(){t(this.element).trigger(i),n.find(o).removeClass(l).find(a).hide()}.bind(this))},e.prototype._setUpListeners=function(){var e=this;t(this.element).on("click",this.options.trigger,function(n){e.toggle(t(this),n)})};var c=t.fn.tree;t.fn.tree=n,t.fn.tree.Constructor=e,t.fn.tree.noConflict=function(){return t.fn.tree=c,this},t(window).on("load",function(){t('[data-widget="tree"]').each(function(){n.call(t(this))})})}(jQuery),function(t){"use strict";function e(t){this.options=t,this.bindedResize=!1,this.activate()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(s))}if("string"==typeof n){if(void 0===a[n])throw new Error("No method named "+n);a[n]()}})}var i="lte.layout",r={slimscroll:!0,resetHeight:!0},o=".wrapper",a=".content-wrapper",s=".main-header",l=".sidebar",u=".sidebar-menu",c="fixed";e.prototype.activate=function(){this.fix(),this.fixSidebar(),t("body").removeClass("hold-transition"),this.options.resetHeight&&t("body, html, "+o).css({height:"auto","min-height":"100%"}),this.bindedResize||(t(window).resize(function(){this.fix(),this.fixSidebar(),t(".main-header .logo, "+l).one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){this.fix(),this.fixSidebar()}.bind(this))}.bind(this)),this.bindedResize=!0),t(u).on("expanded.tree",function(){this.fix(),this.fixSidebar()}.bind(this)),t(u).on("collapsed.tree",function(){this.fix(),this.fixSidebar()}.bind(this))},e.prototype.fix=function(){t(".layout-boxed > "+o).css("overflow","hidden");var e=t(".main-footer").outerHeight()||0,n=t(s).outerHeight()||0,i=n+e,r=t(window).height(),u=t(l).outerHeight()||0;if(t("body").hasClass(c))t(a).css("min-height",r-e);else{var d;d=u+n<=r?(t(a).css("min-height",r-i),r-i):(t(a).css("min-height",u),u);var h=t(".control-sidebar");void 0!==h&&h.height()>d&&t(a).css("min-height",h.height())}},e.prototype.fixSidebar=function(){t("body").hasClass(c)?this.options.slimscroll&&void 0!==t.fn.slimScroll&&0===t(".main-sidebar").find("slimScrollDiv").length&&t(l).slimScroll({height:t(window).height()-t(s).height()+"px"}):void 0!==t.fn.slimScroll&&t(l).slimScroll({destroy:!0}).height("auto")};var d=t.fn.layout;t.fn.layout=n,t.fn.layout.Constuctor=e,t.fn.layout.noConflict=function(){return t.fn.layout=d,this},t(window).on("load",function(){n.call(t("body"))})}(jQuery),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.Tether=e()}(this,function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t){var n=t.getBoundingClientRect(),i={};for(var r in n)i[r]=n[r];try{if(t.ownerDocument!==document){var o=t.ownerDocument.defaultView.frameElement;if(o){var a=e(o);i.top+=a.top,i.bottom+=a.top,i.left+=a.left,i.right+=a.left}}}catch(t){}return i}function n(t){var e=getComputedStyle(t)||{},n=e.position,i=[];if("fixed"===n)return[t];for(var r=t;(r=r.parentNode)&&r&&1===r.nodeType;){var o=void 0;try{o=getComputedStyle(r)}catch(t){}if(void 0===o||null===o)return i.push(r),i;var a=o,s=a.overflow,l=a.overflowX;/(auto|scroll|overlay)/.test(s+a.overflowY+l)&&("absolute"!==n||["relative","absolute","fixed"].indexOf(o.position)>=0)&&i.push(r)}return i.push(t.ownerDocument.body),t.ownerDocument!==document&&i.push(t.ownerDocument.defaultView),i}function i(){w&&document.body.removeChild(w),w=null}function r(t){var n=void 0;t===document?(n=document,t=document.documentElement):n=t.ownerDocument;var i=n.documentElement,r=e(t),o=S();return r.top-=o.top,r.left-=o.left,void 0===r.width&&(r.width=document.body.scrollWidth-r.left-r.right),void 0===r.height&&(r.height=document.body.scrollHeight-r.top-r.bottom),r.top=r.top-i.clientTop,r.left=r.left-i.clientLeft,r.right=n.body.clientWidth-r.width-r.left,r.bottom=n.body.clientHeight-r.height-r.top,r}function o(t){return t.offsetParent||document.documentElement}function a(){if(T)return T;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");s(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var i=t.offsetWidth;n===i&&(i=e.clientWidth),document.body.removeChild(e);var r=n-i;return T={width:r,height:r}}function s(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach(function(e){if(e)for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t}function l(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var n=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),i=d(t).replace(n," ");h(t,i)}}function u(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{l(t,e);var n=d(t)+" "+e;h(t,n)}}function c(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=d(t);return new RegExp("(^| )"+e+"( |$)","gi").test(n)}function d(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function h(t,e){t.setAttribute("class",e)}function f(t,e,n){n.forEach(function(n){-1===e.indexOf(n)&&c(t,n)&&l(t,n)}),e.forEach(function(e){c(t,e)||u(t,e)})}function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function g(t,e){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+n>=e&&e>=t-n}function v(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}function m(){for(var t={top:0,left:0},e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return n.forEach(function(e){var n=e.top,i=e.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof i&&(i=parseFloat(i,10)),t.top+=n,t.left+=i}),t}function y(t,e){return"string"==typeof t.left&&-1!==t.left.indexOf("%")&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&-1!==t.top.indexOf("%")&&(t.top=parseFloat(t.top,10)/100*e.height),t}function b(t,e){return"scrollParent"===e?e=t.scrollParents[0]:"window"===e&&(e=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),e===document&&(e=e.documentElement),void 0!==e.nodeType&&function(){var t=e,n=r(e),i=n,o=getComputedStyle(e);if(e=[i.left,i.top,n.width+i.left,n.height+i.top],t.ownerDocument!==document){var a=t.ownerDocument.defaultView;e[0]+=a.pageXOffset,e[1]+=a.pageYOffset,e[2]+=a.pageXOffset,e[3]+=a.pageYOffset}q.forEach(function(t,n){t=t[0].toUpperCase()+t.substr(1),"Top"===t||"Left"===t?e[n]+=parseFloat(o["border"+t+"Width"]):e[n]-=parseFloat(o["border"+t+"Width"])})}(),e}var _=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),x=void 0;void 0===x&&(x={modules:[]});var w=null,C=function(){var t=0;return function(){return++t}}(),k={},S=function(){var t=w;t&&document.body.contains(t)||(t=document.createElement("div"),t.setAttribute("data-tether-id",C()),s(t.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(t),w=t);var n=t.getAttribute("data-tether-id");return void 0===k[n]&&(k[n]=e(t),A(function(){delete k[n]})),k[n]},T=null,D=[],A=function(t){D.push(t)},E=function(){for(var t=void 0;t=D.pop();)t()},M=function(){function e(){t(this,e)}return _(e,[{key:"on",value:function(t,e,n){var i=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[t]&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:i})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(t,e){if(void 0!==this.bindings&&void 0!==this.bindings[t])if(void 0===e)delete this.bindings[t];else for(var n=0;n<this.bindings[t].length;)this.bindings[t][n].handler===e?this.bindings[t].splice(n,1):++n}},{key:"trigger",value:function(t){if(void 0!==this.bindings&&this.bindings[t]){for(var e=0,n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];for(;e<this.bindings[t].length;){var o=this.bindings[t][e],a=o.handler,s=o.ctx,l=o.once,u=s;void 0===u&&(u=this),a.apply(u,i),l?this.bindings[t].splice(e,1):++e}}}}]),e}();x.Utils={getActualBoundingClientRect:e,getScrollParents:n,getBounds:r,getOffsetParent:o,extend:s,addClass:u,removeClass:l,hasClass:c,updateClasses:f,defer:A,flush:E,uniqueId:C,Evented:M,getScrollBarSize:a,removeUtilElements:i};var O=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),$=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1,null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var l=s.get;if(void 0===l)return;return l.call(a)}var u=Object.getPrototypeOf(r);if(null===u)return;t=u,e=o,n=a,i=!0,s=u=void 0}};if(void 0===x)throw new Error("You must include the utils.js file before tether.js");var I=x.Utils,n=I.getScrollParents,r=I.getBounds,o=I.getOffsetParent,s=I.extend,u=I.addClass,l=I.removeClass,f=I.updateClasses,A=I.defer,E=I.flush,a=I.getScrollBarSize,i=I.removeUtilElements,F=function(){if("undefined"==typeof document)return"";for(var t=document.createElement("div"),e=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],n=0;n<e.length;++n){var i=e[n];if(void 0!==t.style[i])return i}}(),P=[],N=function(){P.forEach(function(t){t.position(!1)}),E()};!function(){var t=null,e=null,n=null,i=function i(){if(void 0!==e&&e>16)return e=Math.min(e-16,250),void(n=setTimeout(i,250));void 0!==t&&v()-t<10||(null!=n&&(clearTimeout(n),n=null),t=v(),N(),e=v()-t)};"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach(function(t){window.addEventListener(t,i)})}();var L={center:"center",left:"right",right:"left"},j={middle:"middle",top:"bottom",bottom:"top"},R={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},U=function(t,e){var n=t.left,i=t.top;return"auto"===n&&(n=L[e.left]),"auto"===i&&(i=j[e.top]),{left:n,top:i}},B=function(t){var e=t.left,n=t.top;return void 0!==R[t.left]&&(e=R[t.left]),void 0!==R[t.top]&&(n=R[t.top]),{left:e,top:n}},z=function(t){var e=t.split(" "),n=O(e,2);return{top:n[0],left:n[1]}},H=z,W=function(e){function c(e){var n=this;t(this,c),$(Object.getPrototypeOf(c.prototype),"constructor",this).call(this),this.position=this.position.bind(this),P.push(this),this.history=[],this.setOptions(e,!1),x.modules.forEach(function(t){void 0!==t.initialize&&t.initialize.call(n)}),this.position()}return p(c,e),_(c,[{key:"getClass",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"":arguments[0],e=this.options.classes;return void 0!==e&&e[t]?this.options.classes[t]:this.options.classPrefix?this.options.classPrefix+"-"+t:t}},{key:"setOptions",value:function(t){var e=this,i=arguments.length<=1||void 0===arguments[1]||arguments[1],r={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=s(r,t);var o=this.options,a=o.element,l=o.target,c=o.targetModifier;if(this.element=a,this.target=l,this.targetModifier=c,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach(function(t){if(void 0===e[t])throw new Error("Tether Error: Both element and target must be defined");void 0!==e[t].jquery?e[t]=e[t][0]:"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),u(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&u(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=H(this.options.targetAttachment),this.attachment=H(this.options.attachment),this.offset=z(this.options.offset),this.targetOffset=z(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=n(this.target),!1!==this.options.enabled&&this.enable(i)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return r(this.target);if("visible"===this.targetModifier){if(this.target===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};var t=r(this.target),e={height:t.height,width:t.width,top:t.top,left:t.left};return e.height=Math.min(e.height,t.height-(pageYOffset-t.top)),e.height=Math.min(e.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),e.height=Math.min(innerHeight,e.height),e.height-=2,e.width=Math.min(e.width,t.width-(pageXOffset-t.left)),e.width=Math.min(e.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),e.width=Math.min(innerWidth,e.width),e.width-=2,e.top<pageYOffset&&(e.top=pageYOffset),e.left<pageXOffset&&(e.left=pageXOffset),e}if("scroll-handle"===this.targetModifier){var t=void 0,n=this.target;n===document.body?(n=document.documentElement,t={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):t=r(n);var i=getComputedStyle(n),o=n.scrollWidth>n.clientWidth||[i.overflow,i.overflowX].indexOf("scroll")>=0||this.target!==document.body,a=0;o&&(a=15);var s=t.height-parseFloat(i.borderTopWidth)-parseFloat(i.borderBottomWidth)-a,e={width:15,height:.975*s*(s/n.scrollHeight),left:t.left+t.width-parseFloat(i.borderLeftWidth)-15},l=0;s<408&&this.target===document.body&&(l=-11e-5*Math.pow(s,2)-.00727*s+22.58),this.target!==document.body&&(e.height=Math.max(e.height,24));var u=this.target.scrollTop/(n.scrollHeight-s);return e.top=u*(s-e.height-l)+t.top+parseFloat(i.borderTopWidth),this.target===document.body&&(e.height=Math.max(e.height,24)),e}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return void 0===this._cache&&(this._cache={}),void 0===this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&u(this.target,this.getClass("enabled")),u(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach(function(e){e!==t.target.ownerDocument&&e.addEventListener("scroll",t.position)}),e&&this.position()}},{key:"disable",value:function(){var t=this;l(this.target,this.getClass("enabled")),l(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.position)})}},{key:"destroy",value:function(){var t=this;this.disable(),P.forEach(function(e,n){e===t&&P.splice(n,1)}),0===P.length&&i()}},{key:"updateAttachClasses",value:function(t,e){var n=this;t=t||this.attachment,e=e||this.targetAttachment;var i=["left","top","bottom","right","middle","center"];void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var r=this._addAttachClasses;t.top&&r.push(this.getClass("element-attached")+"-"+t.top),t.left&&r.push(this.getClass("element-attached")+"-"+t.left),e.top&&r.push(this.getClass("target-attached")+"-"+e.top),e.left&&r.push(this.getClass("target-attached")+"-"+e.left);var o=[];i.forEach(function(t){o.push(n.getClass("element-attached")+"-"+t),o.push(n.getClass("target-attached")+"-"+t)}),A(function(){void 0!==n._addAttachClasses&&(f(n.element,n._addAttachClasses,o),!1!==n.options.addTargetClasses&&f(n.target,n._addAttachClasses,o),delete n._addAttachClasses)})}},{key:"position",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var n=U(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var i=this.cache("element-bounds",function(){return r(t.element)}),s=i.width,l=i.height;if(0===s&&0===l&&void 0!==this.lastSize){var u=this.lastSize;s=u.width,l=u.height}else this.lastSize={width:s,height:l};var c=this.cache("target-bounds",function(){return t.getTargetBounds()}),d=c,h=y(B(this.attachment),{width:s,height:l}),f=y(B(n),d),p=y(this.offset,{width:s,height:l}),g=y(this.targetOffset,d);h=m(h,p),f=m(f,g);for(var v=c.left+f.left-h.left,b=c.top+f.top-h.top,_=0;_<x.modules.length;++_){var w=x.modules[_],C=w.position.call(this,{left:v,top:b,targetAttachment:n,targetPos:c,elementPos:i,offset:h,targetOffset:f,manualOffset:p,manualTargetOffset:g,scrollbarSize:D,attachment:this.attachment});if(!1===C)return!1;void 0!==C&&"object"==typeof C&&(b=C.top,v=C.left)}var k={page:{top:b,left:v},viewport:{top:b-pageYOffset,bottom:pageYOffset-b-l+innerHeight,left:v-pageXOffset,right:pageXOffset-v-s+innerWidth}},S=this.target.ownerDocument,T=S.defaultView,D=void 0;return T.innerHeight>S.documentElement.clientHeight&&(D=this.cache("scrollbar-size",a),k.viewport.bottom-=D.height),T.innerWidth>S.documentElement.clientWidth&&(D=this.cache("scrollbar-size",a),k.viewport.right-=D.width),-1!==["","static"].indexOf(S.body.style.position)&&-1!==["","static"].indexOf(S.body.parentElement.style.position)||(k.page.bottom=S.body.scrollHeight-b-l,k.page.right=S.body.scrollWidth-v-s),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var e=t.cache("target-offsetparent",function(){return o(t.target)}),n=t.cache("target-offsetparent-bounds",function(){return r(e)}),i=getComputedStyle(e),a=n,s={};if(["Top","Left","Bottom","Right"].forEach(function(t){s[t.toLowerCase()]=parseFloat(i["border"+t+"Width"])}),n.right=S.body.scrollWidth-n.left-a.width+s.right,n.bottom=S.body.scrollHeight-n.top-a.height+s.bottom,k.page.top>=n.top+s.top&&k.page.bottom>=n.bottom&&k.page.left>=n.left+s.left&&k.page.right>=n.right){var l=e.scrollTop,u=e.scrollLeft;k.offset={top:k.page.top-n.top+l-s.top,left:k.page.left-n.left+u-s.left}}}(),this.move(k),this.history.unshift(k),this.history.length>3&&this.history.pop(),e&&E(),!0}}},{key:"move",value:function(t){var e=this;if(void 0!==this.element.parentNode){var n={};for(var i in t){n[i]={};for(var r in t[i]){for(var a=!1,l=0;l<this.history.length;++l){var u=this.history[l];if(void 0!==u[i]&&!g(u[i][r],t[i][r])){a=!0;break}}a||(n[i][r]=!0)}}var c={top:"",left:"",right:"",bottom:""},d=function(t,n){if(!1!==(void 0!==e.options.optimizations?e.options.optimizations.gpu:null)){var i=void 0,r=void 0;t.top?(c.top=0,i=n.top):(c.bottom=0,i=-n.bottom),t.left?(c.left=0,r=n.left):(c.right=0,r=-n.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(r=Math.round(r*devicePixelRatio)/devicePixelRatio,i=Math.round(i*devicePixelRatio)/devicePixelRatio),c[F]="translateX("+r+"px) translateY("+i+"px)","msTransform"!==F&&(c[F]+=" translateZ(0)")}else t.top?c.top=n.top+"px":c.bottom=n.bottom+"px",t.left?c.left=n.left+"px":c.right=n.right+"px"},h=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)?(c.position="absolute",d(n.page,t.page)):(n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)?(c.position="fixed",d(n.viewport,t.viewport)):void 0!==n.offset&&n.offset.top&&n.offset.left?function(){c.position="absolute";var i=e.cache("target-offsetparent",function(){return o(e.target)});o(e.element)!==i&&A(function(){e.element.parentNode.removeChild(e.element),i.appendChild(e.element)}),d(n.offset,t.offset),h=!0}():(c.position="absolute",d({top:!0,left:!0},t.page)),!h)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var f=!0,p=this.element.parentNode;p&&1===p.nodeType&&"BODY"!==p.tagName&&!function(t){var e=t.ownerDocument;return(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)===t}(p);){if("static"!==getComputedStyle(p).position){f=!1;break}p=p.parentNode}f||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var v={},m=!1;for(var r in c){var y=c[r];this.element.style[r]!==y&&(m=!0,v[r]=y)}m&&A(function(){s(e.element.style,v),e.trigger("repositioned")})}}}]),c}(M);W.modules=[],x.position=N;var V=s(W,x),O=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),I=x.Utils,r=I.getBounds,s=I.extend,f=I.updateClasses,A=I.defer,q=["left","top","right","bottom"];x.modules.push({position:function(t){var e=this,n=t.top,i=t.left,o=t.targetAttachment;if(!this.options.constraints)return!0;var a=this.cache("element-bounds",function(){return r(e.element)}),l=a.height,u=a.width;if(0===u&&0===l&&void 0!==this.lastSize){var c=this.lastSize;u=c.width,l=c.height}var d=this.cache("target-bounds",function(){return e.getTargetBounds()}),h=d.height,p=d.width,g=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach(function(t){var e=t.outOfBoundsClass,n=t.pinnedClass;e&&g.push(e),n&&g.push(n)}),g.forEach(function(t){["left","top","right","bottom"].forEach(function(e){g.push(t+"-"+e)})});var v=[],m=s({},o),y=s({},this.attachment);return this.options.constraints.forEach(function(t){var r=t.to,a=t.attachment,s=t.pin;void 0===a&&(a="");var c=void 0,d=void 0;if(a.indexOf(" ")>=0){var f=a.split(" "),g=O(f,2);d=g[0],c=g[1]}else c=d=a;var _=b(e,r);"target"!==d&&"both"!==d||(n<_[1]&&"top"===m.top&&(n+=h,m.top="bottom"),n+l>_[3]&&"bottom"===m.top&&(n-=h,m.top="top")),"together"===d&&("top"===m.top&&("bottom"===y.top&&n<_[1]?(n+=h,m.top="bottom",n+=l,y.top="top"):"top"===y.top&&n+l>_[3]&&n-(l-h)>=_[1]&&(n-=l-h,m.top="bottom",y.top="bottom")),"bottom"===m.top&&("top"===y.top&&n+l>_[3]?(n-=h,m.top="top",n-=l,y.top="bottom"):"bottom"===y.top&&n<_[1]&&n+(2*l-h)<=_[3]&&(n+=l-h,m.top="top",y.top="top")),"middle"===m.top&&(n+l>_[3]&&"top"===y.top?(n-=l,y.top="bottom"):n<_[1]&&"bottom"===y.top&&(n+=l,y.top="top"))),"target"!==c&&"both"!==c||(i<_[0]&&"left"===m.left&&(i+=p,m.left="right"),i+u>_[2]&&"right"===m.left&&(i-=p,m.left="left")),"together"===c&&(i<_[0]&&"left"===m.left?"right"===y.left?(i+=p,m.left="right",i+=u,y.left="left"):"left"===y.left&&(i+=p,m.left="right",i-=u,y.left="right"):i+u>_[2]&&"right"===m.left?"left"===y.left?(i-=p,m.left="left",i-=u,y.left="right"):"right"===y.left&&(i-=p,m.left="left",i+=u,y.left="left"):"center"===m.left&&(i+u>_[2]&&"left"===y.left?(i-=u,y.left="right"):i<_[0]&&"right"===y.left&&(i+=u,y.left="left"))),"element"!==d&&"both"!==d||(n<_[1]&&"bottom"===y.top&&(n+=l,y.top="top"),n+l>_[3]&&"top"===y.top&&(n-=l,y.top="bottom")),"element"!==c&&"both"!==c||(i<_[0]&&("right"===y.left?(i+=u,y.left="left"):"center"===y.left&&(i+=u/2,y.left="left")),i+u>_[2]&&("left"===y.left?(i-=u,y.left="right"):"center"===y.left&&(i-=u/2,y.left="right"))),"string"==typeof s?s=s.split(",").map(function(t){return t.trim()}):!0===s&&(s=["top","left","right","bottom"]),s=s||[];var x=[],w=[];n<_[1]&&(s.indexOf("top")>=0?(n=_[1],
-x.push("top")):w.push("top")),n+l>_[3]&&(s.indexOf("bottom")>=0?(n=_[3]-l,x.push("bottom")):w.push("bottom")),i<_[0]&&(s.indexOf("left")>=0?(i=_[0],x.push("left")):w.push("left")),i+u>_[2]&&(s.indexOf("right")>=0?(i=_[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"),v.push(t),x.forEach(function(e){v.push(t+"-"+e)})}(),w.length&&function(){var t=void 0;t=void 0!==e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),v.push(t),w.forEach(function(e){v.push(t+"-"+e)})}(),(x.indexOf("left")>=0||x.indexOf("right")>=0)&&(y.left=m.left=!1),(x.indexOf("top")>=0||x.indexOf("bottom")>=0)&&(y.top=m.top=!1),m.top===o.top&&m.left===o.left&&y.top===e.attachment.top&&y.left===e.attachment.left||(e.updateAttachClasses(y,m),e.trigger("update",{attachment:y,targetAttachment:m}))}),A(function(){!1!==e.options.addTargetClasses&&f(e.target,v,g),f(e.element,v,g)}),{top:n,left:i}}});var I=x.Utils,r=I.getBounds,f=I.updateClasses,A=I.defer;x.modules.push({position:function(t){var e=this,n=t.top,i=t.left,o=this.cache("element-bounds",function(){return r(e.element)}),a=o.height,s=o.width,l=this.getTargetBounds(),u=n+a,c=i+s,d=[];n<=l.bottom&&u>=l.top&&["left","right"].forEach(function(t){var e=l[t];e!==i&&e!==c||d.push(t)}),i<=l.right&&c>=l.left&&["top","bottom"].forEach(function(t){var e=l[t];e!==n&&e!==u||d.push(t)});var h=[],p=[],g=["left","top","right","bottom"];return h.push(this.getClass("abutted")),g.forEach(function(t){h.push(e.getClass("abutted")+"-"+t)}),d.length&&p.push(this.getClass("abutted")),d.forEach(function(t){p.push(e.getClass("abutted")+"-"+t)}),A(function(){!1!==e.options.addTargetClasses&&f(e.target,p,h),f(e.element,p,h)}),!0}});var O=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();return x.modules.push({position:function(t){var e=t.top,n=t.left;if(this.options.shift){var i=this.options.shift;"function"==typeof this.options.shift&&(i=this.options.shift.call(this,{top:e,left:n}));var r=void 0,o=void 0;if("string"==typeof i){i=i.split(" "),i[1]=i[1]||i[0];var a=i,s=O(a,2);r=s[0],o=s[1],r=parseFloat(r,10),o=parseFloat(o,10)}else r=i.top,o=i.left;return e+=r,n+=o,{top:e,left:n}}}}),V}),function(e){e.fn.extend({slimScroll:function(n){var i={width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},r=e.extend(i,n);return this.each(function(){function i(t){if(u){var t=t||window.event,n=0;t.wheelDelta&&(n=-t.wheelDelta/120),t.detail&&(n=t.detail/3);var i=t.target||t.srcTarget||t.srcElement;e(i).closest("."+r.wrapperClass).is(_.parent())&&o(n,!0),t.preventDefault&&!b&&t.preventDefault(),b||(t.returnValue=!1)}}function o(t,e,n){b=!1;var i=t,o=_.outerHeight()-T.outerHeight();if(e&&(i=parseInt(T.css("top"))+t*parseInt(r.wheelStep)/100*T.outerHeight(),i=Math.min(Math.max(i,0),o),i=t>0?Math.ceil(i):Math.floor(i),T.css({top:i+"px"})),g=parseInt(T.css("top"))/(_.outerHeight()-T.outerHeight()),i=g*(_[0].scrollHeight-_.outerHeight()),n){i=t;var a=i/_[0].scrollHeight*_.outerHeight();a=Math.min(Math.max(a,0),o),T.css({top:a+"px"})}_.scrollTop(i),_.trigger("slimscrolling",~~i),s(),l()}function a(){p=Math.max(_.outerHeight()/_[0].scrollHeight*_.outerHeight(),y),T.css({height:p+"px"});var t=p==_.outerHeight()?"none":"block";T.css({display:t})}function s(){if(a(),clearTimeout(h),g==~~g){if(b=r.allowPageScroll,v!=g){var t=0==~~g?"top":"bottom";_.trigger("slimscroll",t)}}else b=!1;if(v=g,p>=_.outerHeight())return void(b=!0);T.stop(!0,!0).fadeIn("fast"),r.railVisible&&S.stop(!0,!0).fadeIn("fast")}function l(){r.alwaysVisible||(h=setTimeout(function(){r.disableFadeOut&&u||c||d||(T.fadeOut("slow"),S.fadeOut("slow"))},1e3))}var u,c,d,h,f,p,g,v,m="<div></div>",y=30,b=!1,_=e(this);if(_.parent().hasClass(r.wrapperClass)){var x=_.scrollTop();if(T=_.siblings("."+r.barClass),S=_.siblings("."+r.railClass),a(),e.isPlainObject(n)){if("height"in n&&"auto"==n.height){_.parent().css("height","auto"),_.css("height","auto");var w=_.parent().parent().height();_.parent().css("height",w),_.css("height",w)}else if("height"in n){var C=n.height;_.parent().css("height",C),_.css("height",C)}if("scrollTo"in n)x=parseInt(r.scrollTo);else if("scrollBy"in n)x+=parseInt(r.scrollBy);else if("destroy"in n)return T.remove(),S.remove(),void _.unwrap();o(x,!1,!0)}}else if(!(e.isPlainObject(n)&&"destroy"in n)){r.height="auto"==r.height?_.parent().height():r.height;var k=e(m).addClass(r.wrapperClass).css({position:"relative",overflow:"hidden",width:r.width,height:r.height});_.css({overflow:"hidden",width:r.width,height:r.height});var S=e(m).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(m).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}),D="right"==r.position?{right:r.distance}:{left:r.distance};S.css(D),T.css(D),_.wrap(k),_.parent().append(T),_.parent().append(S),r.railDraggable&&T.bind("mousedown",function(n){var i=e(document);return d=!0,t=parseFloat(T.css("top")),pageY=n.pageY,i.bind("mousemove.slimscroll",function(e){currTop=t+e.pageY-pageY,T.css("top",currTop),o(0,T.position().top,!1)}),i.bind("mouseup.slimscroll",function(t){d=!1,l(),i.unbind(".slimscroll")}),!1}).bind("selectstart.slimscroll",function(t){return t.stopPropagation(),t.preventDefault(),!1}),S.hover(function(){s()},function(){l()}),T.hover(function(){c=!0},function(){c=!1}),_.hover(function(){u=!0,s(),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}}),a(),"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",i,!1),t.addEventListener("mousewheel",i,!1)):document.attachEvent("onmousewheel",i)}(this)}}),this}}),e.fn.extend({slimscroll:e.fn.slimScroll})}(jQuery),function(t,e){"use strict";t.ajaxPrefilter(function(t,e,n){if(t.iframe)return t.originalURL=t.url,"iframe"}),t.ajaxTransport("iframe",function(e,n,i){function r(){l.each(function(e,n){var i=t(n);i.data("clone").replaceWith(i)}),o.remove(),a.one("load",function(){a.remove()}),a.attr("src","javascript:false;")}var o=null,a=null,s="iframe-"+t.now(),l=t(e.files).filter(":file:enabled"),u=null;if(e.dataTypes.shift(),e.data=n.data,l.length)return o=t("<form enctype='multipart/form-data' method='post'></form>").hide().attr({action:e.originalURL,target:s}),"string"==typeof e.data&&e.data.length>0&&t.error("data must not be serialized"),t.each(e.data||{},function(e,n){t.isPlainObject(n)&&(e=n.name,n=n.value),t("<input type='hidden' />").attr({name:e,value:n}).appendTo(o)}),t("<input type='hidden' value='IFrame' name='X-Requested-With' />").appendTo(o),u=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+("*"!==e.dataTypes[0]?", */*; q=0.01":""):e.accepts["*"],t("<input type='hidden' name='X-HTTP-Accept'>").attr("value",u).appendTo(o),l.after(function(e){var n=t(this),i=n.clone().prop("disabled",!0);return n.data("clone",i),i}).next(),l.appendTo(o),{send:function(e,n){a=t("<iframe src='javascript:false;' name='"+s+"' id='"+s+"' style='display:none'></iframe>"),a.one("load",function(){a.one("load",function(){var t=this.contentWindow?this.contentWindow.document:this.contentDocument?this.contentDocument:this.document,e=t.documentElement?t.documentElement:t.body,i=e.getElementsByTagName("textarea")[0],o=i&&i.getAttribute("data-type")||null,a=i&&i.getAttribute("data-status")||200,s=i&&i.getAttribute("data-statusText")||"OK",l={html:e.innerHTML,text:o?i.value:e?e.textContent||e.innerText:null};r(),n(a,s,l,o?"Content-Type: "+o:null)}),o[0].submit()}),t("body").append(o,a)},abort:function(){null!==a&&(a.unbind("load").attr("src","javascript:false;"),r())}}})}(jQuery),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery-ui/ui/widget"],t):"object"==typeof exports?t(require("jquery"),require("./vendor/jquery.ui.widget")):t(window.jQuery)}(function(t){"use strict";function e(e){var n="dragover"===e;return function(i){i.dataTransfer=i.originalEvent&&i.originalEvent.dataTransfer;var r=i.dataTransfer;r&&-1!==t.inArray("Files",r.types)&&!1!==this._trigger(e,t.Event(e,{delegatedEvent:i}))&&(i.preventDefault(),n&&(r.dropEffect="copy"))}}t.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||t('<input type="file"/>').prop("disabled")),t.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),t.support.xhrFormDataFileUpload=!!window.FormData,t.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),t.widget("blueimp.fileupload",{options:{dropZone:t(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,uniqueFilenames:void 0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(e,n){return e=this.messages[e]||e.toString(),n&&t.each(n,function(t,n){e=e.replace("{"+t+"}",n)}),e},formData:function(t){return t.serializeArray()},add:function(e,n){if(e.isDefaultPrevented())return!1;(n.autoUpload||!1!==n.autoUpload&&t(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:t.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var i=t-this.timestamp;return(!this.bitrate||!n||i>n)&&(this.bitrate=(e-this.loaded)*(1e3/i)*8,this.loaded=e,this.timestamp=t),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&t.support.xhrFileUpload||t.support.xhrFormDataFileUpload)},_getFormData:function(e){var n;return"function"===t.type(e.formData)?e.formData(e.form):t.isArray(e.formData)?e.formData:"object"===t.type(e.formData)?(n=[],t.each(e.formData,function(t,e){n.push({name:t,value:e})}),n):[]},_getTotal:function(e){var n=0;return t.each(e,function(t,e){n+=e.size||1}),n},_initProgressObject:function(e){var n={loaded:0,total:0,bitrate:0};e._progress?t.extend(e._progress,n):e._progress=n},_initResponseObject:function(t){var e;if(t._response)for(e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(e,n){if(e.lengthComputable){var i,r=Date.now?Date.now():(new Date).getTime();if(n._time&&n.progressInterval&&r-n._time<n.progressInterval&&e.loaded!==e.total)return;n._time=r,i=Math.floor(e.loaded/e.total*(n.chunkSize||n._progress.total))+(n.uploadedBytes||0),this._progress.loaded+=i-n._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(r,this._progress.loaded,n.bitrateInterval),n._progress.loaded=n.loaded=i,n._progress.bitrate=n.bitrate=n._bitrateTimer.getBitrate(r,i,n.bitrateInterval),this._trigger("progress",t.Event("progress",{delegatedEvent:e}),n),this._trigger("progressall",t.Event("progressall",{delegatedEvent:e}),this._progress)}},_initProgressListener:function(e){var n=this,i=e.xhr?e.xhr():t.ajaxSettings.xhr();i.upload&&(t(i.upload).bind("progress",function(t){var i=t.originalEvent;t.lengthComputable=i.lengthComputable,t.loaded=i.loaded,t.total=i.total,n._onProgress(t,e)}),e.xhr=function(){return i})},_deinitProgressListener:function(e){var n=e.xhr?e.xhr():t.ajaxSettings.xhr();n.upload&&t(n.upload).unbind("progress")},_isInstanceOf:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"},_getUniqueFilename:function(t,e){return t=String(t),e[t]?(t=t.replace(/(?: \(([\d]+)\))?(\.[^.]+)?$/,function(t,e,n){return" ("+(e?Number(e)+1:1)+")"+(n||"")}),this._getUniqueFilename(t,e)):(e[t]=!0,t)},_initXHRData:function(e){var n,i=this,r=e.files[0],o=e.multipart||!t.support.xhrFileUpload,a="array"===t.type(e.paramName)?e.paramName[0]:e.paramName;e.headers=t.extend({},e.headers),e.contentRange&&(e.headers["Content-Range"]=e.contentRange),o&&!e.blob&&this._isInstanceOf("File",r)||(e.headers["Content-Disposition"]='attachment; filename="'+encodeURI(r.uploadName||r.name)+'"'),o?t.support.xhrFormDataFileUpload&&(e.postMessage?(n=this._getFormData(e),e.blob?n.push({name:a,value:e.blob}):t.each(e.files,function(i,r){n.push({name:"array"===t.type(e.paramName)&&e.paramName[i]||a,value:r})})):(i._isInstanceOf("FormData",e.formData)?n=e.formData:(n=new FormData,t.each(this._getFormData(e),function(t,e){n.append(e.name,e.value)})),e.blob?n.append(a,e.blob,r.uploadName||r.name):t.each(e.files,function(r,o){if(i._isInstanceOf("File",o)||i._isInstanceOf("Blob",o)){var s=o.uploadName||o.name;e.uniqueFilenames&&(s=i._getUniqueFilename(s,e.uniqueFilenames)),n.append("array"===t.type(e.paramName)&&e.paramName[r]||a,o,s)}})),e.data=n):(e.contentType=r.type||"application/octet-stream",e.data=e.blob||r),e.blob=null},_initIframeSettings:function(e){var n=t("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&n&&n!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(e){var n=t(e.fileInput),i=e.paramName;return i?t.isArray(i)||(i=[i]):(i=[],n.each(function(){for(var e=t(this),n=e.prop("name")||"files[]",r=(e.prop("files")||[1]).length;r;)i.push(n),r-=1}),i.length||(i=[n.prop("name")||"files[]"])),i},_initFormSettings:function(e){e.form&&e.form.length||(e.form=t(e.fileInput.prop("form")),e.form.length||(e.form=t(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===t.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var n=t.extend({},this.options,e);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(e,n,i){var r=t.Deferred(),o=r.promise();return n=n||this.options.context||o,!0===e?r.resolveWith(n,i):!1===e&&r.rejectWith(n,i),o.abort=r.promise,this._enhancePromise(o)},_addConvenienceMethods:function(e,n){var i=this,r=function(e){return t.Deferred().resolveWith(i,e).promise()};n.process=function(e,o){return(e||o)&&(n._processQueue=this._processQueue=(this._processQueue||r([this])).then(function(){return n.errorThrown?t.Deferred().rejectWith(i,[n]).promise():r(arguments)}).then(e,o)),this._processQueue||r([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=!1!==i._trigger("submit",t.Event("submit",{delegatedEvent:e}),this)&&i._onSend(e,this)),this.jqXHR||i._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",i._trigger("fail",null,this),i._getXHRPromise(!1))},n.state=function(){return this.jqXHR?i._getDeferredState(this.jqXHR):this._processQueue?i._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===i._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),n=e&&e.split("-"),i=n&&n.length>1&&parseInt(n[1],10);return i&&i+1},_chunkedUpload:function(e,n){e.uploadedBytes=e.uploadedBytes||0;var i,r,o=this,a=e.files[0],s=a.size,l=e.uploadedBytes,u=e.maxChunkSize||s,c=this._blobSlice,d=t.Deferred(),h=d.promise();return!(!(this._isXHRUpload(e)&&c&&(l||("function"===t.type(u)?u(e):u)<s))||e.data)&&(!!n||(l>=s?(a.error=e.i18n("uploadedBytes"),this._getXHRPromise(!1,e.context,[null,"error",a.error])):(r=function(){var n=t.extend({},e),h=n._progress.loaded;n.blob=c.call(a,l,l+("function"===t.type(u)?u(n):u),a.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+l+"-"+(l+n.chunkSize-1)+"/"+s,o._trigger("chunkbeforesend",null,n),o._initXHRData(n),o._initProgressListener(n),i=(!1!==o._trigger("chunksend",null,n)&&t.ajax(n)||o._getXHRPromise(!1,n.context)).done(function(i,a,u){l=o._getUploadedBytes(u)||l+n.chunkSize,h+n.chunkSize-n._progress.loaded&&o._onProgress(t.Event("progress",{lengthComputable:!0,loaded:l-n.uploadedBytes,total:l-n.uploadedBytes}),n),e.uploadedBytes=n.uploadedBytes=l,n.result=i,n.textStatus=a,n.jqXHR=u,o._trigger("chunkdone",null,n),o._trigger("chunkalways",null,n),l<s?r():d.resolveWith(n.context,[i,a,u])}).fail(function(t,e,i){n.jqXHR=t,n.textStatus=e,n.errorThrown=i,o._trigger("chunkfail",null,n),o._trigger("chunkalways",null,n),d.rejectWith(n.context,[t,e,i])}).always(function(){o._deinitProgressListener(n)})},this._enhancePromise(h),h.abort=function(){return i.abort()},r(),h)))},_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,n,i,r){var o=r._progress.total,a=r._response;r._progress.loaded<o&&this._onProgress(t.Event("progress",{lengthComputable:!0,loaded:o,total:o}),r),a.result=r.result=e,a.textStatus=r.textStatus=n,a.jqXHR=r.jqXHR=i,this._trigger("done",null,r)},_onFail:function(t,e,n,i){var r=i._response;i.recalculateProgress&&(this._progress.loaded-=i._progress.loaded,this._progress.total-=i._progress.total),r.jqXHR=i.jqXHR=t,r.textStatus=i.textStatus=e,r.errorThrown=i.errorThrown=n,this._trigger("fail",null,i)},_onAlways:function(t,e,n,i){this._trigger("always",null,i)},_onSend:function(e,n){n.submit||this._addConvenienceMethods(e,n);var i,r,o,a,s=this,l=s._getAJAXSettings(n),u=function(){return s._sending+=1,l._bitrateTimer=new s._BitrateTimer,i=i||((r||!1===s._trigger("send",t.Event("send",{delegatedEvent:e}),l))&&s._getXHRPromise(!1,l.context,r)||s._chunkedUpload(l)||t.ajax(l)).done(function(t,e,n){s._onDone(t,e,n,l)}).fail(function(t,e,n){s._onFail(t,e,n,l)}).always(function(t,e,n){if(s._deinitProgressListener(l),s._onAlways(t,e,n,l),s._sending-=1,s._active-=1,l.limitConcurrentUploads&&l.limitConcurrentUploads>s._sending)for(var i=s._slots.shift();i;){if("pending"===s._getDeferredState(i)){i.resolve();break}i=s._slots.shift()}0===s._active&&s._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),a=o.then(u)):(this._sequence=this._sequence.then(u,u),a=this._sequence),a.abort=function(){return r=[void 0,"abort","abort"],i?i.abort():(o&&o.rejectWith(l.context,r),u())},this._enhancePromise(a)):u()},_onAdd:function(e,n){var i,r,o,a,s=this,l=!0,u=t.extend({},this.options,n),c=n.files,d=c.length,h=u.limitMultiFileUploads,f=u.limitMultiFileUploadSize,p=u.limitMultiFileUploadSizeOverhead,g=0,v=this._getParamName(u),m=0;if(!d)return!1;if(f&&void 0===c[0].size&&(f=void 0),(u.singleFileUploads||h||f)&&this._isXHRUpload(u))if(u.singleFileUploads||f||!h)if(!u.singleFileUploads&&f)for(o=[],i=[],a=0;a<d;a+=1)g+=c[a].size+p,(a+1===d||g+c[a+1].size+p>f||h&&a+1-m>=h)&&(o.push(c.slice(m,a+1)),r=v.slice(m,a+1),r.length||(r=v),i.push(r),m=a+1,g=0);else i=v;else for(o=[],i=[],a=0;a<d;a+=h)o.push(c.slice(a,a+h)),r=v.slice(a,a+h),r.length||(r=v),i.push(r);else o=[c],i=[v];return n.originalFiles=c,t.each(o||c,function(r,a){var u=t.extend({},n);return u.files=o?a:[a],u.paramName=i[r],s._initResponseObject(u),s._initProgressObject(u),s._addConvenienceMethods(e,u),l=s._trigger("add",t.Event("add",{delegatedEvent:e}),u)}),l},_replaceFileInput:function(e){var n=e.fileInput,i=n.clone(!0),r=n.is(document.activeElement);e.fileInputClone=i,t("<form></form>").append(i)[0].reset(),n.after(i).detach(),r&&i.focus(),t.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(t,e){return e===n[0]?i[0]:e}),n[0]===this.element[0]&&(this.element=i)},_handleFileTreeEntry:function(e,n){var i,r=this,o=t.Deferred(),a=[],s=function(t){t&&!t.entry&&(t.entry=e),o.resolve([t])},l=function(t){r._handleFileTreeEntries(t,n+e.name+"/").done(function(t){o.resolve(t)}).fail(s)},u=function(){i.readEntries(function(t){t.length?(a=a.concat(t),u()):l(a)},s)};return n=n||"",e.isFile?e._file?(e._file.relativePath=n,o.resolve(e._file)):e.file(function(t){t.relativePath=n,o.resolve(t)},s):e.isDirectory?(i=e.createReader(),u()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(e,n){var i=this;return t.when.apply(t,t.map(e,function(t){return i._handleFileTreeEntry(t,n)})).then(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){e=e||{};var n=e.items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(t.map(n,function(t){var e;return t.webkitGetAsEntry?(e=t.webkitGetAsEntry(),e&&(e._file=t.getAsFile()),e):t.getAsEntry()})):t.Deferred().resolve(t.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){e=t(e);var n,i,r=e.prop("webkitEntries")||e.prop("entries");if(r&&r.length)return this._handleFileTreeEntries(r);if(n=t.makeArray(e.prop("files")),n.length)void 0===n[0].name&&n[0].fileName&&t.each(n,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(!(i=e.prop("value")))return t.Deferred().resolve([]).promise();n=[{name:i.replace(/^.*\\/,"")}]}return t.Deferred().resolve(n).promise()},_getFileInputFiles:function(e){return e instanceof t&&1!==e.length?t.when.apply(t,t.map(e,this._getSingleFileInputFiles)).then(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(e){var n=this,i={fileInput:t(e.target),form:t(e.target.form)};this._getFileInputFiles(i.fileInput).always(function(r){i.files=r,n.options.replaceFileInput&&n._replaceFileInput(i),!1!==n._trigger("change",t.Event("change",{delegatedEvent:e}),i)&&n._onAdd(e,i)})},_onPaste:function(e){var n=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,i={files:[]};n&&n.length&&(t.each(n,function(t,e){var n=e.getAsFile&&e.getAsFile();n&&i.files.push(n)}),!1!==this._trigger("paste",t.Event("paste",{delegatedEvent:e}),i)&&this._onAdd(e,i))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,i=e.dataTransfer,r={};i&&i.files&&i.files.length&&(e.preventDefault(),this._getDroppedFiles(i).always(function(i){r.files=i,!1!==n._trigger("drop",t.Event("drop",{delegatedEvent:e}),r)&&n._onAdd(e,r)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),t.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_destroy:function(){this._destroyEventHandlers()},_setOption:function(e,n){var i=-1!==t.inArray(e,this._specialOptions);i&&this._destroyEventHandlers(),this._super(e,n),i&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):e.fileInput instanceof t||(e.fileInput=t(e.fileInput)),e.dropZone instanceof t||(e.dropZone=t(e.dropZone)),e.pasteZone instanceof t||(e.pasteZone=t(e.pasteZone))},_getRegExp:function(t){var e=t.split("/"),n=e.pop();return e.shift(),new RegExp(e.join("/"),n)},_isRegExpOption:function(e,n){return"url"!==e&&"string"===t.type(n)&&/^\/.*\/[igm]{0,3}$/.test(n)},_initDataAttributes:function(){var e=this,n=this.options,i=this.element.data();t.each(this.element[0].attributes,function(t,r){var o,a=r.name.toLowerCase();/^data-/.test(a)&&(a=a.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),o=i[a],e._isRegExpOption(a,o)&&(o=e._getRegExp(o)),n[a]=o)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(e){var n=this;e&&!this.options.disabled&&(e.fileInput&&!e.files?this._getFileInputFiles(e.fileInput).always(function(t){e.files=t,n._onAdd(null,e)}):(e.files=t.makeArray(e.files),this._onAdd(null,e)))},send:function(e){if(e&&!this.options.disabled){if(e.fileInput&&!e.files){var n,i,r=this,o=t.Deferred(),a=o.promise();return a.abort=function(){return i=!0,n?n.abort():(o.reject(null,"abort","abort"),a)},this._getFileInputFiles(e.fileInput).always(function(t){if(!i){if(!t.length)return void o.reject();e.files=t,n=r._onSend(null,e),n.then(function(t,e,n){o.resolve(t,e,n)},function(t,e,n){o.reject(t,e,n)})}}),this._enhancePromise(a)}if(e.files=t.makeArray(e.files),e.files.length)return this._onSend(null,e)}return this._getXHRPromise(!1,e&&e.context)}})}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):jQuery&&!jQuery.fn.colorpicker&&e(jQuery)}(0,function(t){"use strict";var e=function(n,i,r,o,a){this.fallbackValue=r?"string"==typeof r?this.parse(r):r:null,this.fallbackFormat=o||"rgba",this.hexNumberSignPrefix=!0===a,this.value=this.fallbackValue,this.origFormat=null,this.predefinedColors=i||{},this.colors=t.extend({},e.webColors,this.predefinedColors),n&&(void 0!==n.h?this.value=n:this.setColor(String(n))),this.value||(this.value={h:0,s:0,b:0,a:1})};e.webColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32",transparent:"transparent"},e.prototype={constructor:e,colors:{},predefinedColors:{},getValue:function(){return this.value},setValue:function(t){this.value=t},_sanitizeNumber:function(t){return"number"==typeof t?t:isNaN(t)||null===t||""===t||void 0===t?1:""===t?0:void 0!==t.toLowerCase?(t.match(/^\./)&&(t="0"+t),Math.ceil(100*parseFloat(t))/100):1},isTransparent:function(t){return!(!t||!("string"==typeof t||t instanceof String))&&("transparent"===(t=t.toLowerCase().trim())||t.match(/#?00000000/)||t.match(/(rgba|hsla)\(0,0,0,0?\.?0\)/))},rgbaIsTransparent:function(t){return 0===t.r&&0===t.g&&0===t.b&&0===t.a},setColor:function(t){if(t=t.toLowerCase().trim()){if(this.isTransparent(t))return this.value={h:0,s:0,b:0,a:0},!0;var e=this.parse(t);e?(this.value=this.value={h:e.h,s:e.s,b:e.b,a:e.a},this.origFormat||(this.origFormat=e.format)):this.fallbackValue&&(this.value=this.fallbackValue)}return!1},setHue:function(t){this.value.h=1-t},setSaturation:function(t){this.value.s=t},
-setBrightness:function(t){this.value.b=1-t},setAlpha:function(t){this.value.a=Math.round(parseInt(100*(1-t),10)/100*100)/100},toRGB:function(t,e,n,i){0===arguments.length&&(t=this.value.h,e=this.value.s,n=this.value.b,i=this.value.a),t*=360;var r,o,a,s,l;return t=t%360/60,l=n*e,s=l*(1-Math.abs(t%2-1)),r=o=a=n-l,t=~~t,r+=[l,s,0,0,s,l][t],o+=[s,l,l,s,0,0][t],a+=[0,0,s,l,l,s][t],{r:Math.round(255*r),g:Math.round(255*o),b:Math.round(255*a),a:i}},toHex:function(t,e,n,i,r){arguments.length<=1&&(e=this.value.h,n=this.value.s,i=this.value.b,r=this.value.a);var o="#",a=this.toRGB(e,n,i,r);return this.rgbaIsTransparent(a)?"transparent":(t||(o=this.hexNumberSignPrefix?"#":""),o+((1<<24)+(parseInt(a.r)<<16)+(parseInt(a.g)<<8)+parseInt(a.b)).toString(16).slice(1))},toHSL:function(t,e,n,i){0===arguments.length&&(t=this.value.h,e=this.value.s,n=this.value.b,i=this.value.a);var r=t,o=(2-e)*n,a=e*n;return a/=o>0&&o<=1?o:2-o,o/=2,a>1&&(a=1),{h:isNaN(r)?0:r,s:isNaN(a)?0:a,l:isNaN(o)?0:o,a:isNaN(i)?0:i}},toAlias:function(t,e,n,i){var r,o=0===arguments.length?this.toHex(!0):this.toHex(!0,t,e,n,i),a="alias"===this.origFormat?o:this.toString(!1,this.origFormat);for(var s in this.colors)if((r=this.colors[s].toLowerCase().trim())===o||r===a)return s;return!1},RGBtoHSB:function(t,e,n,i){t/=255,e/=255,n/=255;var r,o,a,s;return a=Math.max(t,e,n),s=a-Math.min(t,e,n),r=0===s?null:a===t?(e-n)/s:a===e?(n-t)/s+2:(t-e)/s+4,r=(r+360)%6*60/360,o=0===s?0:s/a,{h:this._sanitizeNumber(r),s:o,b:a,a:this._sanitizeNumber(i)}},HueToRGB:function(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t},HSLtoRGB:function(t,e,n,i){e<0&&(e=0);var r;r=n<=.5?n*(1+e):n+e-n*e;var o=2*n-r,a=t+1/3,s=t,l=t-1/3;return[Math.round(255*this.HueToRGB(o,r,a)),Math.round(255*this.HueToRGB(o,r,s)),Math.round(255*this.HueToRGB(o,r,l)),this._sanitizeNumber(i)]},parse:function(e){if("string"!=typeof e)return this.fallbackValue;if(0===arguments.length)return!1;var n,i,r=this,o=!1,a=void 0!==this.colors[e];return a&&(e=this.colors[e].toLowerCase().trim()),t.each(this.stringParsers,function(t,s){var l=s.re.exec(e);return!(n=l&&s.parse.apply(r,[l]))||(o={},i=a?"alias":s.format?s.format:r.getValidFallbackFormat(),o=i.match(/hsla?/)?r.RGBtoHSB.apply(r,r.HSLtoRGB.apply(r,n)):r.RGBtoHSB.apply(r,n),o instanceof Object&&(o.format=i),!1)}),o},getValidFallbackFormat:function(){var t=["rgba","rgb","hex","hsla","hsl"];return this.origFormat&&-1!==t.indexOf(this.origFormat)?this.origFormat:this.fallbackFormat&&-1!==t.indexOf(this.fallbackFormat)?this.fallbackFormat:"rgba"},toString:function(t,n,i){n=n||this.origFormat||this.fallbackFormat,i=i||!1;var r=!1;switch(n){case"rgb":return r=this.toRGB(),this.rgbaIsTransparent(r)?"transparent":"rgb("+r.r+","+r.g+","+r.b+")";case"rgba":return r=this.toRGB(),"rgba("+r.r+","+r.g+","+r.b+","+r.a+")";case"hsl":return r=this.toHSL(),"hsl("+Math.round(360*r.h)+","+Math.round(100*r.s)+"%,"+Math.round(100*r.l)+"%)";case"hsla":return r=this.toHSL(),"hsla("+Math.round(360*r.h)+","+Math.round(100*r.s)+"%,"+Math.round(100*r.l)+"%,"+r.a+")";case"hex":return this.toHex(t);case"alias":return r=this.toAlias(),!1===r?this.toString(t,this.getValidFallbackFormat()):i&&!(r in e.webColors)&&r in this.predefinedColors?this.predefinedColors[r]:r;default:return r}},stringParsers:[{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 n={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},i=function(e,i){this.element=t(e).addClass("colorpicker-element"),this.options=t.extend(!0,{},n,this.element.data(),i),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,a=o.picker.find(".colorpicker-selectors");a.length>0&&(t.each(this.options.colorSelectors,function(e,n){var i=t("<i />").addClass("colorpicker-selectors-color").css("background-color",n).data("class",e).data("alias",e);i.on("mousedown.colorpicker touchstart.colorpicker",function(e){e.preventDefault(),o.setValue("alias"===o.format?t(this).data("alias"):t(this).css("background-color"))}),a.append(i)}),a.show().addClass("colorpicker-visible"))}r.on("mousedown.colorpicker touchstart.colorpicker",t.proxy(function(t){t.target===t.currentTarget&&t.preventDefault()},this)),r.find(".colorpicker-saturation, .colorpicker-hue, .colorpicker-alpha").on("mousedown.colorpicker touchstart.colorpicker",t.proxy(this.mousedown,this)),r.appendTo(this.container?this.container:t("body")),!1!==this.input&&(this.input.on({"keyup.colorpicker":t.proxy(this.keyup,this)}),this.input.on({"input.colorpicker":t.proxy(this.change,this)}),!1===this.component&&this.element.on({"focus.colorpicker":t.proxy(this.show,this)}),!1===this.options.inline&&this.element.on({"focusout.colorpicker":t.proxy(this.hide,this)})),!1!==this.component&&this.component.on({"click.colorpicker":t.proxy(this.show,this)}),!1===this.input&&!1===this.component&&this.element.on({"click.colorpicker":t.proxy(this.show,this)}),!1!==this.input&&!1!==this.component&&"color"===this.input.attr("type")&&this.input.on({"click.colorpicker":t.proxy(this.show,this),"focus.colorpicker":t.proxy(this.show,this)}),this.update(),t(t.proxy(function(){this.element.trigger("create")},this))};i.Color=e,i.prototype={constructor:i,destroy:function(){this.picker.remove(),this.element.removeData("colorpicker","color").off(".colorpicker"),!1!==this.input&&this.input.off(".colorpicker"),!1!==this.component&&this.component.off(".colorpicker"),this.element.removeClass("colorpicker-element"),this.element.trigger({type:"destroy"})},reposition:function(){if(!1!==this.options.inline||this.options.container)return!1;var t=this.container&&this.container[0]!==window.document.body?"position":"offset",e=this.component||this.element,n=e[t]();"right"===this.options.align&&(n.left-=this.picker.outerWidth()-e.outerWidth()),this.picker.css({top:n.top+e.outerHeight(),left:n.left})},show:function(e){this.isDisabled()||(this.picker.addClass("colorpicker-visible").removeClass("colorpicker-hidden"),this.reposition(),t(window).on("resize.colorpicker",t.proxy(this.reposition,this)),!e||this.hasInput()&&"color"!==this.input.attr("type")||e.stopPropagation&&e.preventDefault&&(e.stopPropagation(),e.preventDefault()),!this.component&&this.input||!1!==this.options.inline||t(window.document).on({"mousedown.colorpicker":t.proxy(this.hide,this)}),this.element.trigger({type:"showPicker",color:this.color}))},hide:function(e){if(void 0!==e&&e.target&&(t(e.currentTarget).parents(".colorpicker").length>0||t(e.target).parents(".colorpicker").length>0))return!1;this.picker.addClass("colorpicker-hidden").removeClass("colorpicker-visible"),t(window).off("resize.colorpicker",this.reposition),t(window.document).off({"mousedown.colorpicker":this.hide}),this.update(),this.element.trigger({type:"hidePicker",color:this.color})},updateData:function(t){return t=t||this.color.toString(!1,this.format),this.element.data("color",t),t},updateInput:function(t){return t=t||this.color.toString(!1,this.format),!1!==this.input&&(this.input.prop("value",t),this.input.trigger("change")),t},updatePicker:function(t){void 0!==t&&(this.color=this.createColor(t));var e=!1===this.options.horizontal?this.options.sliders:this.options.slidersHorz,n=this.picker.find("i");if(0!==n.length)return!1===this.options.horizontal?(e=this.options.sliders,n.eq(1).css("top",e.hue.maxTop*(1-this.color.value.h)).end().eq(2).css("top",e.alpha.maxTop*(1-this.color.value.a))):(e=this.options.slidersHorz,n.eq(1).css("left",e.hue.maxLeft*(1-this.color.value.h)).end().eq(2).css("left",e.alpha.maxLeft*(1-this.color.value.a))),n.eq(0).css({top:e.saturation.maxTop-this.color.value.b*e.saturation.maxTop,left:this.color.value.s*e.saturation.maxLeft}),this.picker.find(".colorpicker-saturation").css("backgroundColor",this.color.toHex(!0,this.color.value.h,1,1,1)),this.picker.find(".colorpicker-alpha").css("backgroundColor",this.color.toHex(!0)),this.picker.find(".colorpicker-color, .colorpicker-color div").css("backgroundColor",this.color.toString(!0,this.format)),t},updateComponent:function(t){var e;if(e=void 0!==t?this.createColor(t):this.color,!1!==this.component){var n=this.component.find("i").eq(0);n.length>0?n.css({backgroundColor:e.toString(!0,this.format)}):this.component.css({backgroundColor:e.toString(!0,this.format)})}return e.toString(!1,this.format)},update:function(t){var e;return!1===this.getValue(!1)&&!0!==t||(e=this.updateComponent(),this.updateInput(e),this.updateData(e),this.updatePicker()),e},setValue:function(t){this.color=this.createColor(t),this.update(!0),this.element.trigger({type:"changeColor",color:this.color,value:t})},createColor:function(t){return new e(t||null,this.options.colorSelectors,this.options.fallbackColor?this.options.fallbackColor:this.color,this.options.fallbackFormat,this.options.hexNumberSignPrefix)},getValue:function(t){t=void 0===t?this.options.fallbackColor:t;var e;return e=this.hasInput()?this.input.val():this.element.data("color"),void 0!==e&&""!==e&&null!==e||(e=t),e},hasInput:function(){return!1!==this.input},isDisabled:function(){return this.disabled},disable:function(){return this.hasInput()&&this.input.prop("disabled",!0),this.disabled=!0,this.element.trigger({type:"disable",color:this.color,value:this.getValue()}),!0},enable:function(){return this.hasInput()&&this.input.prop("disabled",!1),this.disabled=!1,this.element.trigger({type:"enable",color:this.color,value:this.getValue()}),!0},currentSlider:null,mousePointer:{left:0,top:0},mousedown:function(e){!e.pageX&&!e.pageY&&e.originalEvent&&e.originalEvent.touches&&(e.pageX=e.originalEvent.touches[0].pageX,e.pageY=e.originalEvent.touches[0].pageY),e.stopPropagation(),e.preventDefault();var n=t(e.target),i=n.closest("div"),r=this.options.horizontal?this.options.slidersHorz:this.options.sliders;if(!i.is(".colorpicker")){if(i.is(".colorpicker-saturation"))this.currentSlider=t.extend({},r.saturation);else if(i.is(".colorpicker-hue"))this.currentSlider=t.extend({},r.hue);else{if(!i.is(".colorpicker-alpha"))return!1;this.currentSlider=t.extend({},r.alpha)}var o=i.offset();this.currentSlider.guide=i.find("i")[0].style,this.currentSlider.left=e.pageX-o.left,this.currentSlider.top=e.pageY-o.top,this.mousePointer={left:e.pageX,top:e.pageY},t(window.document).on({"mousemove.colorpicker":t.proxy(this.mousemove,this),"touchmove.colorpicker":t.proxy(this.mousemove,this),"mouseup.colorpicker":t.proxy(this.mouseup,this),"touchend.colorpicker":t.proxy(this.mouseup,this)}).trigger("mousemove")}return!1},mousemove:function(t){!t.pageX&&!t.pageY&&t.originalEvent&&t.originalEvent.touches&&(t.pageX=t.originalEvent.touches[0].pageX,t.pageY=t.originalEvent.touches[0].pageY),t.stopPropagation(),t.preventDefault();var e=Math.max(0,Math.min(this.currentSlider.maxLeft,this.currentSlider.left+((t.pageX||this.mousePointer.left)-this.mousePointer.left))),n=Math.max(0,Math.min(this.currentSlider.maxTop,this.currentSlider.top+((t.pageY||this.mousePointer.top)-this.mousePointer.top)));return this.currentSlider.guide.left=e+"px",this.currentSlider.guide.top=n+"px",this.currentSlider.callLeft&&this.color[this.currentSlider.callLeft].call(this.color,e/this.currentSlider.maxLeft),this.currentSlider.callTop&&this.color[this.currentSlider.callTop].call(this.color,n/this.currentSlider.maxTop),!1!==this.options.format||"setAlpha"!==this.currentSlider.callTop&&"setAlpha"!==this.currentSlider.callLeft||(1!==this.color.value.a?(this.format="rgba",this.color.origFormat="rgba"):(this.format="hex",this.color.origFormat="hex")),this.update(!0),this.element.trigger({type:"changeColor",color:this.color}),!1},mouseup:function(e){return e.stopPropagation(),e.preventDefault(),t(window.document).off({"mousemove.colorpicker":this.mousemove,"touchmove.colorpicker":this.mousemove,"mouseup.colorpicker":this.mouseup,"touchend.colorpicker":this.mouseup}),!1},change:function(t){this.color=this.createColor(this.input.val()),this.color.origFormat&&!1===this.options.format&&(this.format=this.color.origFormat),!1!==this.getValue(!1)&&(this.updateData(),this.updateComponent(),this.updatePicker()),this.element.trigger({type:"changeColor",color:this.color,value:this.input.val()})},keyup:function(t){38===t.keyCode?(this.color.value.a<1&&(this.color.value.a=Math.round(100*(this.color.value.a+.01))/100),this.update(!0)):40===t.keyCode&&(this.color.value.a>0&&(this.color.value.a=Math.round(100*(this.color.value.a-.01))/100),this.update(!0)),this.element.trigger({type:"changeColor",color:this.color,value:this.input.val()})}},t.colorpicker=i,t.fn.colorpicker=function(e){var n=Array.prototype.slice.call(arguments,1),r=1===this.length,o=null,a=this.each(function(){var r=t(this),a=r.data("colorpicker"),s="object"==typeof e?e:{};a||(a=new i(this,s),r.data("colorpicker",a)),"string"==typeof e?t.isFunction(a[e])?o=a[e].apply(a,n):(n.length&&(a[e]=n[0]),o=a[e]):o=r});return r?o:a},t.fn.colorpicker.constructor=i}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t,e){function n(){return new Date(Date.UTC.apply(Date,arguments))}function i(){var t=new Date;return n(t.getFullYear(),t.getMonth(),t.getDate())}function r(t,e){return t.getUTCFullYear()===e.getUTCFullYear()&&t.getUTCMonth()===e.getUTCMonth()&&t.getUTCDate()===e.getUTCDate()}function o(n,i){return function(){return i!==e&&t.fn.datepicker.deprecated(i),this[n].apply(this,arguments)}}function a(t){return t&&!isNaN(t.getTime())}function s(e,n){function i(t,e){return e.toLowerCase()}var r,o=t(e).data(),a={},s=new RegExp("^"+n.toLowerCase()+"([A-Z])");n=new RegExp("^"+n.toLowerCase());for(var l in o)n.test(l)&&(r=l.replace(s,i),a[r]=o[l]);return a}function l(e){var n={};if(v[e]||(e=e.split("-")[0],v[e])){var i=v[e];return t.each(g,function(t,e){e in i&&(n[e]=i[e])}),n}}var u=function(){var e={get:function(t){return this.slice(t)[0]},contains:function(t){for(var e=t&&t.valueOf(),n=0,i=this.length;n<i;n++)if(0<=this[n].valueOf()-e&&this[n].valueOf()-e<864e5)return n;return-1},remove:function(t){this.splice(t,1)},replace:function(e){e&&(t.isArray(e)||(e=[e]),this.clear(),this.push.apply(this,e))},clear:function(){this.length=0},copy:function(){var t=new u;return t.replace(this),t}};return function(){var n=[];return n.push.apply(n,arguments),t.extend(n,e),n}}(),c=function(e,n){t.data(e,"datepicker",this),this._events=[],this._secondaryEvents=[],this._process_options(n),this.dates=new u,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=t(e),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=!!this.element.hasClass("date")&&this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"),this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=t(m.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.o.calendarWeeks&&this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(t,e){return Number(e)+1}),this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled}),this._allow_update=!1,this.setViewMode(this.o.startView),this._allow_update=!0,this.fillDow(),this.fillMonths(),this.update(),this.isInline&&this.show()};c.prototype={constructor:c,_resolveViewName:function(e){return t.each(m.viewModes,function(n,i){if(e===n||-1!==t.inArray(e,i.names))return e=n,!1}),e},_resolveDaysOfWeek:function(e){return t.isArray(e)||(e=e.split(/[,\s]*/)),t.map(e,Number)},_check_template:function(n){try{if(n===e||""===n)return!1;if((n.match(/[<>]/g)||[]).length<=0)return!0;return t(n).length>0}catch(t){return!1}},_process_options:function(e){this._o=t.extend({},this._o,e);var r=this.o=t.extend({},this._o),o=r.language;v[o]||(o=o.split("-")[0],v[o]||(o=p.language)),r.language=o,r.startView=this._resolveViewName(r.startView),r.minViewMode=this._resolveViewName(r.minViewMode),r.maxViewMode=this._resolveViewName(r.maxViewMode),r.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,r.startView)),!0!==r.multidate&&(r.multidate=Number(r.multidate)||!1,!1!==r.multidate&&(r.multidate=Math.max(0,r.multidate))),r.multidateSeparator=String(r.multidateSeparator),r.weekStart%=7,r.weekEnd=(r.weekStart+6)%7;var a=m.parseFormat(r.format);r.startDate!==-1/0&&(r.startDate?r.startDate instanceof Date?r.startDate=this._local_to_utc(this._zero_time(r.startDate)):r.startDate=m.parseDate(r.startDate,a,r.language,r.assumeNearbyYear):r.startDate=-1/0),r.endDate!==1/0&&(r.endDate?r.endDate instanceof Date?r.endDate=this._local_to_utc(this._zero_time(r.endDate)):r.endDate=m.parseDate(r.endDate,a,r.language,r.assumeNearbyYear):r.endDate=1/0),r.daysOfWeekDisabled=this._resolveDaysOfWeek(r.daysOfWeekDisabled||[]),r.daysOfWeekHighlighted=this._resolveDaysOfWeek(r.daysOfWeekHighlighted||[]),r.datesDisabled=r.datesDisabled||[],t.isArray(r.datesDisabled)||(r.datesDisabled=r.datesDisabled.split(",")),r.datesDisabled=t.map(r.datesDisabled,function(t){return m.parseDate(t,a,r.language,r.assumeNearbyYear)});var s=String(r.orientation).toLowerCase().split(/\s+/g),l=r.orientation.toLowerCase();if(s=t.grep(s,function(t){return/^auto|left|right|top|bottom$/.test(t)}),r.orientation={x:"auto",y:"auto"},l&&"auto"!==l)if(1===s.length)switch(s[0]){case"top":case"bottom":r.orientation.y=s[0];break;case"left":case"right":r.orientation.x=s[0]}else l=t.grep(s,function(t){return/^left|right$/.test(t)}),r.orientation.x=l[0]||"auto",l=t.grep(s,function(t){return/^top|bottom$/.test(t)}),r.orientation.y=l[0]||"auto";else;if(r.defaultViewDate instanceof Date||"string"==typeof r.defaultViewDate)r.defaultViewDate=m.parseDate(r.defaultViewDate,a,r.language,r.assumeNearbyYear);else if(r.defaultViewDate){var u=r.defaultViewDate.year||(new Date).getFullYear(),c=r.defaultViewDate.month||0,d=r.defaultViewDate.day||1;r.defaultViewDate=n(u,c,d)}else r.defaultViewDate=i()},_applyEvents:function(t){for(var n,i,r,o=0;o<t.length;o++)n=t[o][0],2===t[o].length?(i=e,r=t[o][1]):3===t[o].length&&(i=t[o][1],r=t[o][2]),n.on(r,i)},_unapplyEvents:function(t){for(var n,i,r,o=0;o<t.length;o++)n=t[o][0],2===t[o].length?(r=e,i=t[o][1]):3===t[o].length&&(r=t[o][1],i=t[o][2]),n.off(i,r)},_buildEvents:function(){var e={keyup:t.proxy(function(e){-1===t.inArray(e.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:t.proxy(this.keydown,this),paste:t.proxy(this.paste,this)};!0===this.o.showOnFocus&&(e.focus=t.proxy(this.show,this)),this.isInput?this._events=[[this.element,e]]:this.component&&this.inputField.length?this._events=[[this.inputField,e],[this.component,{click:t.proxy(this.show,this)}]]:this._events=[[this.element,{click:t.proxy(this.show,this),keydown:t.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:t.proxy(function(t){this._focused_from=t.target},this)}],[this.element,{blur:t.proxy(function(t){this._focused_from=t.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":t.proxy(function(t){this.update(t.date)},this)}]),this._secondaryEvents=[[this.picker,{click:t.proxy(this.click,this)}],[this.picker,".prev, .next",{click:t.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:t.proxy(this.dayCellClick,this)}],[t(window),{resize:t.proxy(this.place,this)}],[t(document),{"mousedown touchstart":t.proxy(function(t){this.element.is(t.target)||this.element.find(t.target).length||this.picker.is(t.target)||this.picker.find(t.target).length||this.isInline||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(e,n){var i=n||this.dates.get(-1),r=this._utc_to_local(i);this.element.trigger({type:e,date:r,viewMode:this.viewMode,dates:t.map(this.dates,this._utc_to_local),format:t.proxy(function(t,e){0===arguments.length?(t=this.dates.length-1,e=this.o.format):"string"==typeof t&&(e=t,t=this.dates.length-1),e=e||this.o.format;var n=this.dates.get(t);return m.formatDate(n,e,this.o.language)},this)})},show:function(){if(!(this.inputField.is(":disabled")||this.inputField.prop("readonly")&&!1===this.o.enableOnReadonly))return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&t(this.element).blur(),this},hide:function(){return this.isInline||!this.picker.is(":visible")?this:(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.setViewMode(this.o.startView),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide"),this)},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(e){var n;if(e.originalEvent.clipboardData&&e.originalEvent.clipboardData.types&&-1!==t.inArray("text/plain",e.originalEvent.clipboardData.types))n=e.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;n=window.clipboardData.getData("Text")}this.setDate(n),this.update(),e.preventDefault()},_utc_to_local:function(t){if(!t)return t;var e=new Date(t.getTime()+6e4*t.getTimezoneOffset());return e.getTimezoneOffset()!==t.getTimezoneOffset()&&(e=new Date(t.getTime()+6e4*e.getTimezoneOffset())),e},_local_to_utc:function(t){return t&&new Date(t.getTime()-6e4*t.getTimezoneOffset())},_zero_time:function(t){return t&&new Date(t.getFullYear(),t.getMonth(),t.getDate())},_zero_utc_time:function(t){return t&&n(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())},getDates:function(){return t.map(this.dates,this._utc_to_local)},getUTCDates:function(){return t.map(this.dates,function(t){return new Date(t)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var t=this.dates.get(-1);return t!==e?new Date(t):null},clearDates:function(){this.inputField.val(""),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var e=t.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,e),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var e=t.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,t.map(e,this._utc_to_local)),this},setDate:o("setDates"),setUTCDate:o("setUTCDates"),remove:o("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var t=this.getFormattedDate();return this.inputField.val(t),this},getFormattedDate:function(n){n===e&&(n=this.o.format);var i=this.o.language;return t.map(this.dates,function(t){return m.formatDate(t,n,i)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(t){return this._process_options({startDate:t}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(t){return this._process_options({endDate:t}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(t){return this._process_options({daysOfWeekDisabled:t}),this.update(),this},setDaysOfWeekHighlighted:function(t){return this._process_options({daysOfWeekHighlighted:t}),this.update(),this},setDatesDisabled:function(t){return this._process_options({datesDisabled:t}),this.update(),this},place:function(){if(this.isInline)return this;var e=this.picker.outerWidth(),n=this.picker.outerHeight(),i=t(this.o.container),r=i.width(),o="body"===this.o.container?t(document).scrollTop():i.scrollTop(),a=i.offset(),s=[0];this.element.parents().each(function(){var e=t(this).css("z-index");"auto"!==e&&0!==Number(e)&&s.push(Number(e))});var l=Math.max.apply(Math,s)+this.o.zIndexOffset,u=this.component?this.component.parent().offset():this.element.offset(),c=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),d=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),h=u.left-a.left,f=u.top-a.top;"body"!==this.o.container&&(f+=o),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(h-=e-d)):u.left<0?(this.picker.addClass("datepicker-orient-left"),h-=u.left-10):h+e>r?(this.picker.addClass("datepicker-orient-right"),h+=d-e):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var p,g=this.o.orientation.y;if("auto"===g&&(p=-o+f-n,g=p<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+g),"top"===g?f-=n+parseInt(this.picker.css("padding-top")):f+=c,this.o.rtl){var v=r-(h+d);this.picker.css({top:f,right:v,zIndex:l})}else this.picker.css({top:f,left:h,zIndex:l});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var e=this.dates.copy(),n=[],i=!1;return arguments.length?(t.each(arguments,t.proxy(function(t,e){e instanceof Date&&(e=this._local_to_utc(e)),n.push(e)},this)),i=!0):(n=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),n=n&&this.o.multidate?n.split(this.o.multidateSeparator):[n],delete this.element.data().date),n=t.map(n,t.proxy(function(t){return m.parseDate(t,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),n=t.grep(n,t.proxy(function(t){return!this.dateWithinRange(t)||!t},this),!0),this.dates.replace(n),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),i?(this.setValue(),this.element.change()):this.dates.length&&String(e)!==String(this.dates)&&i&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&e.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var e=this.o.weekStart,n="<tr>";for(this.o.calendarWeeks&&(n+='<th class="cw">&#160;</th>');e<this.o.weekStart+7;)n+='<th class="dow',-1!==t.inArray(e,this.o.daysOfWeekDisabled)&&(n+=" disabled"),n+='">'+v[this.o.language].daysMin[e++%7]+"</th>";n+="</tr>",this.picker.find(".datepicker-days thead").append(n)}},fillMonths:function(){for(var t,e=this._utc_to_local(this.viewDate),n="",i=0;i<12;i++)t=e&&e.getMonth()===i?" focused":"",n+='<span class="month'+t+'">'+v[this.o.language].monthsShort[i]+"</span>";this.picker.find(".datepicker-months td").html(n)},setRange:function(e){e&&e.length?this.range=t.map(e,function(t){return t.valueOf()}):delete this.range,this.fill()},getClassNames:function(e){var n=[],o=this.viewDate.getUTCFullYear(),a=this.viewDate.getUTCMonth(),s=i();return e.getUTCFullYear()<o||e.getUTCFullYear()===o&&e.getUTCMonth()<a?n.push("old"):(e.getUTCFullYear()>o||e.getUTCFullYear()===o&&e.getUTCMonth()>a)&&n.push("new"),this.focusDate&&e.valueOf()===this.focusDate.valueOf()&&n.push("focused"),this.o.todayHighlight&&r(e,s)&&n.push("today"),-1!==this.dates.contains(e)&&n.push("active"),this.dateWithinRange(e)||n.push("disabled"),this.dateIsDisabled(e)&&n.push("disabled","disabled-date"),-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekHighlighted)&&n.push("highlighted"),this.range&&(e>this.range[0]&&e<this.range[this.range.length-1]&&n.push("range"),-1!==t.inArray(e.valueOf(),this.range)&&n.push("selected"),e.valueOf()===this.range[0]&&n.push("range-start"),e.valueOf()===this.range[this.range.length-1]&&n.push("range-end")),n},_fill_yearsView:function(n,i,r,o,a,s,l){
-for(var u,c,d,h="",f=r/10,p=this.picker.find(n),g=Math.floor(o/r)*r,v=g+9*f,m=Math.floor(this.viewDate.getFullYear()/f)*f,y=t.map(this.dates,function(t){return Math.floor(t.getUTCFullYear()/f)*f}),b=g-f;b<=v+f;b+=f)u=[i],c=null,b===g-f?u.push("old"):b===v+f&&u.push("new"),-1!==t.inArray(b,y)&&u.push("active"),(b<a||b>s)&&u.push("disabled"),b===m&&u.push("focused"),l!==t.noop&&(d=l(new Date(b,0,1)),d===e?d={}:"boolean"==typeof d?d={enabled:d}:"string"==typeof d&&(d={classes:d}),!1===d.enabled&&u.push("disabled"),d.classes&&(u=u.concat(d.classes.split(/\s+/))),d.tooltip&&(c=d.tooltip)),h+='<span class="'+u.join(" ")+'"'+(c?' title="'+c+'"':"")+">"+b+"</span>";p.find(".datepicker-switch").text(g+"-"+v),p.find("td").html(h)},fill:function(){var r,o,a=new Date(this.viewDate),s=a.getUTCFullYear(),l=a.getUTCMonth(),u=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,c=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,d=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,h=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,f=v[this.o.language].today||v.en.today||"",p=v[this.o.language].clear||v.en.clear||"",g=v[this.o.language].titleFormat||v.en.titleFormat,y=i(),b=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&y>=this.o.startDate&&y<=this.o.endDate&&!this.weekOfDateIsDisabled(y);if(!isNaN(s)&&!isNaN(l)){this.picker.find(".datepicker-days .datepicker-switch").text(m.formatDate(a,g,this.o.language)),this.picker.find("tfoot .today").text(f).css("display",b?"table-cell":"none"),this.picker.find("tfoot .clear").text(p).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var _=n(s,l,0),x=_.getUTCDate();_.setUTCDate(x-(_.getUTCDay()-this.o.weekStart+7)%7);var w=new Date(_);_.getUTCFullYear()<100&&w.setUTCFullYear(_.getUTCFullYear()),w.setUTCDate(w.getUTCDate()+42),w=w.valueOf();for(var C,k,S=[];_.valueOf()<w;){if((C=_.getUTCDay())===this.o.weekStart&&(S.push("<tr>"),this.o.calendarWeeks)){var T=new Date(+_+(this.o.weekStart-C-7)%7*864e5),D=new Date(Number(T)+(11-T.getUTCDay())%7*864e5),A=new Date(Number(A=n(D.getUTCFullYear(),0,1))+(11-A.getUTCDay())%7*864e5),E=(D-A)/864e5/7+1;S.push('<td class="cw">'+E+"</td>")}k=this.getClassNames(_),k.push("day");var M=_.getUTCDate();this.o.beforeShowDay!==t.noop&&(o=this.o.beforeShowDay(this._utc_to_local(_)),o===e?o={}:"boolean"==typeof o?o={enabled:o}:"string"==typeof o&&(o={classes:o}),!1===o.enabled&&k.push("disabled"),o.classes&&(k=k.concat(o.classes.split(/\s+/))),o.tooltip&&(r=o.tooltip),o.content&&(M=o.content)),k=t.isFunction(t.uniqueSort)?t.uniqueSort(k):t.unique(k),S.push('<td class="'+k.join(" ")+'"'+(r?' title="'+r+'"':"")+' data-date="'+_.getTime().toString()+'">'+M+"</td>"),r=null,C===this.o.weekEnd&&S.push("</tr>"),_.setUTCDate(_.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(S.join(""));var O=v[this.o.language].monthsTitle||v.en.monthsTitle||"Months",$=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?O:s).end().find("tbody span").removeClass("active");if(t.each(this.dates,function(t,e){e.getUTCFullYear()===s&&$.eq(e.getUTCMonth()).addClass("active")}),(s<u||s>d)&&$.addClass("disabled"),s===u&&$.slice(0,c).addClass("disabled"),s===d&&$.slice(h+1).addClass("disabled"),this.o.beforeShowMonth!==t.noop){var I=this;t.each($,function(n,i){var r=new Date(s,n,1),o=I.o.beforeShowMonth(r);o===e?o={}:"boolean"==typeof o?o={enabled:o}:"string"==typeof o&&(o={classes:o}),!1!==o.enabled||t(i).hasClass("disabled")||t(i).addClass("disabled"),o.classes&&t(i).addClass(o.classes),o.tooltip&&t(i).prop("title",o.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,s,u,d,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,s,u,d,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,s,u,d,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var t,e,n=new Date(this.viewDate),i=n.getUTCFullYear(),r=n.getUTCMonth(),o=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,a=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,s=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(i/u)*u<=o,e=Math.floor(i/u)*u+u>s;break;case 0:t=i<=o&&r<=a,e=i>=s&&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,a,s;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(i(),"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?(s=r.parent().find("span").index(r),a=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(s)):(s=0,a=Number(r.text()),this.viewDate.setUTCFullYear(a)),this._trigger(m.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(n(a,s,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 n=t(e.currentTarget),i=n.data("date"),r=new Date(i);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 n=t(e.currentTarget),i=n.hasClass("prev")?-1:1;0!==this.viewMode&&(i*=12*m.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,i),this._trigger(m.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 n=new Date(t);return n.setUTCDate(t.getUTCDate()+e),n},moveWeek:function(t,e){return this.moveDay(t,7*e)},moveMonth:function(t,e){if(!a(t))return this.o.defaultViewDate;if(!e)return t;var n,i,r=new Date(t.valueOf()),o=r.getUTCDate(),s=r.getUTCMonth(),l=Math.abs(e);if(e=e>0?1:-1,1===l)i=-1===e?function(){return r.getUTCMonth()===s}:function(){return r.getUTCMonth()!==n},n=s+e,r.setUTCMonth(n),n=(n+12)%12;else{for(var u=0;u<l;u++)r=this.moveMonth(r,e);n=r.getUTCMonth(),r.setUTCDate(o),i=function(){return n!==r.getUTCMonth()}}for(;i();)r.setUTCDate(--o),r.setUTCMonth(n);return r},moveYear:function(t,e){return this.moveMonth(t,12*e)},moveAvailableDate:function(t,e,n){do{if(t=this[n](t,e),!this.dateWithinRange(t))return!1;n="moveDay"}while(this.dateIsDisabled(t));return t},weekOfDateIsDisabled:function(e){return-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(e){return this.weekOfDateIsDisabled(e)||t.grep(this.o.datesDisabled,function(t){return r(e,t)}).length>0},dateWithinRange:function(t){return t>=this.o.startDate&&t<=this.o.endDate},keydown:function(t){if(!this.picker.is(":visible"))return void(40!==t.keyCode&&27!==t.keyCode||(this.show(),t.stopPropagation()));var e,n,i=!1,r=this.focusDate||this.viewDate;switch(t.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),t.preventDefault(),t.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;e=37===t.keyCode||38===t.keyCode?-1:1,0===this.viewMode?t.ctrlKey?(n=this.moveAvailableDate(r,e,"moveYear"))&&this._trigger("changeYear",this.viewDate):t.shiftKey?(n=this.moveAvailableDate(r,e,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===t.keyCode||39===t.keyCode?n=this.moveAvailableDate(r,e,"moveDay"):this.weekOfDateIsDisabled(r)||(n=this.moveAvailableDate(r,e,"moveWeek")):1===this.viewMode?(38!==t.keyCode&&40!==t.keyCode||(e*=4),n=this.moveAvailableDate(r,e,"moveMonth")):2===this.viewMode&&(38!==t.keyCode&&40!==t.keyCode||(e*=4),n=this.moveAvailableDate(r,e,"moveYear")),n&&(this.focusDate=this.viewDate=n,this.setValue(),this.fill(),t.preventDefault());break;case 13:if(!this.o.forceParse)break;r=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(r),i=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(t.preventDefault(),t.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}i&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(t){this.viewMode=t,this.picker.children("div").hide().filter(".datepicker-"+m.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var d=function(e,n){t.data(e,"datepicker",this),this.element=t(e),this.inputs=t.map(n.inputs,function(t){return t.jquery?t[0]:t}),delete n.inputs,this.keepEmptyValues=n.keepEmptyValues,delete n.keepEmptyValues,f.call(t(this.inputs),n).on("changeDate",t.proxy(this.dateUpdated,this)),this.pickers=t.map(this.inputs,function(e){return t.data(e,"datepicker")}),this.updateDates()};d.prototype={updateDates:function(){this.dates=t.map(this.pickers,function(t){return t.getUTCDate()}),this.updateRanges()},updateRanges:function(){var e=t.map(this.dates,function(t){return t.valueOf()});t.each(this.pickers,function(t,n){n.setRange(e)})},clearDates:function(){t.each(this.pickers,function(t,e){e.clearDates()})},dateUpdated:function(n){if(!this.updating){this.updating=!0;var i=t.data(n.target,"datepicker");if(i!==e){var r=i.getUTCDate(),o=this.keepEmptyValues,a=t.inArray(n.target,this.inputs),s=a-1,l=a+1,u=this.inputs.length;if(-1!==a){if(t.each(this.pickers,function(t,e){e.getUTCDate()||e!==i&&o||e.setUTCDate(r)}),r<this.dates[s])for(;s>=0&&r<this.dates[s];)this.pickers[s--].setUTCDate(r);else if(r>this.dates[l])for(;l<u&&r>this.dates[l];)this.pickers[l++].setUTCDate(r);this.updateDates(),delete this.updating}}}},destroy:function(){t.map(this.pickers,function(t){t.destroy()}),t(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:o("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var h=t.fn.datepicker,f=function(n){var i=Array.apply(null,arguments);i.shift();var r;if(this.each(function(){var e=t(this),o=e.data("datepicker"),a="object"==typeof n&&n;if(!o){var u=s(this,"date"),h=t.extend({},p,u,a),f=l(h.language),g=t.extend({},p,f,u,a);e.hasClass("input-daterange")||g.inputs?(t.extend(g,{inputs:g.inputs||e.find("input").toArray()}),o=new d(this,g)):o=new c(this,g),e.data("datepicker",o)}"string"==typeof n&&"function"==typeof o[n]&&(r=o[n].apply(o,i))}),r===e||r instanceof c||r instanceof d)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+n+" function)");return r};t.fn.datepicker=f;var p=t.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:t.noop,beforeShowMonth:t.noop,beforeShowYear:t.noop,beforeShowDecade:t.noop,beforeShowCentury:t.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"&#x00AB;",rightArrow:"&#x00BB;"},showWeekDays:!0},g=t.fn.datepicker.locale_opts=["format","rtl","weekStart"];t.fn.datepicker.Constructor=c;var v=t.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},m={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(t){if("function"==typeof t.toValue&&"function"==typeof t.toDisplay)return t;var e=t.replace(this.validParts,"\0").split("\0"),n=t.match(this.validParts);if(!e||!e.length||!n||0===n.length)throw new Error("Invalid date format.");return{separators:e,parts:n}},parseDate:function(n,r,o,a){function s(t,e){return!0===e&&(e=10),t<100&&(t+=2e3)>(new Date).getFullYear()+e&&(t-=100),t}function l(){var t=this.slice(0,u[f].length),e=u[f].slice(0,t.length);return t.toLowerCase()===e.toLowerCase()}if(!n)return e;if(n instanceof Date)return n;if("string"==typeof r&&(r=m.parseFormat(r)),r.toValue)return r.toValue(n,r,o);var u,d,h,f,p,g={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},y={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(n in y&&(n=y[n]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(n)){for(u=n.match(/([\-+]\d+)([dmwy])/gi),n=new Date,f=0;f<u.length;f++)d=u[f].match(/([\-+]\d+)([dmwy])/i),h=Number(d[1]),p=g[d[2].toLowerCase()],n=c.prototype[p](n,h);return c.prototype._zero_utc_time(n)}u=n&&n.match(this.nonpunctuation)||[];var b,_,x={},w=["yyyy","yy","M","MM","m","mm","d","dd"],C={yyyy:function(t,e){return t.setUTCFullYear(a?s(e,a):e)},m:function(t,e){if(isNaN(t))return t;for(e-=1;e<0;)e+=12;for(e%=12,t.setUTCMonth(e);t.getUTCMonth()!==e;)t.setUTCDate(t.getUTCDate()-1);return t},d:function(t,e){return t.setUTCDate(e)}};C.yy=C.yyyy,C.M=C.MM=C.mm=C.m,C.dd=C.d,n=i();var k=r.parts.slice();if(u.length!==k.length&&(k=t(k).filter(function(e,n){return-1!==t.inArray(n,w)}).toArray()),u.length===k.length){var S;for(f=0,S=k.length;f<S;f++){if(b=parseInt(u[f],10),d=k[f],isNaN(b))switch(d){case"MM":_=t(v[o].months).filter(l),b=t.inArray(_[0],v[o].months)+1;break;case"M":_=t(v[o].monthsShort).filter(l),b=t.inArray(_[0],v[o].monthsShort)+1}x[d]=b}var T,D;for(f=0;f<w.length;f++)(D=w[f])in x&&!isNaN(x[D])&&(T=new Date(n),C[D](T,x[D]),isNaN(T)||(n=T))}return n},formatDate:function(e,n,i){if(!e)return"";if("string"==typeof n&&(n=m.parseFormat(n)),n.toDisplay)return n.toDisplay(e,n,i);var r={d:e.getUTCDate(),D:v[i].daysShort[e.getUTCDay()],DD:v[i].days[e.getUTCDay()],m:e.getUTCMonth()+1,M:v[i].monthsShort[e.getUTCMonth()],MM:v[i].months[e.getUTCMonth()],yy:e.getUTCFullYear().toString().substring(2),yyyy:e.getUTCFullYear()};r.dd=(r.d<10?"0":"")+r.d,r.mm=(r.m<10?"0":"")+r.m,e=[];for(var o=t.extend([],n.separators),a=0,s=n.parts.length;a<=s;a++)o.length&&e.push(o.shift()),e.push(r[n.parts[a]]);return e.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">'+p.templates.leftArrow+'</th><th colspan="5" class="datepicker-switch"></th><th class="next">'+p.templates.rightArrow+"</th></tr></thead>",contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};m.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+m.headTemplate+"<tbody></tbody>"+m.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+m.headTemplate+m.contTemplate+m.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+m.headTemplate+m.contTemplate+m.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+m.headTemplate+m.contTemplate+m.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+m.headTemplate+m.contTemplate+m.footTemplate+"</table></div></div>",t.fn.datepicker.DPGlobal=m,t.fn.datepicker.noConflict=function(){return t.fn.datepicker=h,this},t.fn.datepicker.version="1.9.0",t.fn.datepicker.deprecated=function(t){var e=window.console;e&&e.warn&&e.warn("DEPRECATED: "+t)},t(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(e){var n=t(this);n.data("datepicker")||(e.preventDefault(),f.call(n,"show"))}),t(function(){f.call(t('[data-provide="datepicker-inline"]'))})}),function(t){"use strict";function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();!function(t){var i="ekkoLightbox",r=t.fn[i],o={title:"",footer:"",maxWidth:9999,maxHeight:9999,showArrows:!0,wrapping:!0,type:null,alwaysShowClose:!1,loadingMessage:'<div class="ekko-lightbox-loader"><div><div></div><div></div></div></div>',leftArrow:"<span>&#10094;</span>",rightArrow:"<span>&#10095;</span>",strings:{close:"Close",fail:"Failed to load image:",type:"Could not detect remote target type. Force the type using data-type"},doc:document,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){},onNavigate:function(){},onContentLoaded:function(){}},a=function(){function i(n,r){var a=this;e(this,i),this._config=t.extend({},o,r),this._$modalArrows=null,this._galleryIndex=0,this._galleryName=null,this._padding=null,this._border=null,this._titleIsShown=!1,this._footerIsShown=!1,this._wantedWidth=0,this._wantedHeight=0,this._touchstartX=0,this._touchendX=0,this._modalId="ekkoLightbox-"+Math.floor(1e3*Math.random()+1),this._$element=n instanceof jQuery?n:t(n),this._isBootstrap3=3==t.fn.modal.Constructor.VERSION[0];var s='<h4 class="modal-title">'+(this._config.title||"&nbsp;")+"</h4>",l='<button type="button" class="close" data-dismiss="modal" aria-label="'+this._config.strings.close+'"><span aria-hidden="true">&times;</span></button>',u='<div class="modal-header'+(this._config.title||this._config.alwaysShowClose?"":" hide")+'">'+(this._isBootstrap3?l+s:s+l)+"</div>",c='<div class="modal-footer'+(this._config.footer?"":" hide")+'">'+(this._config.footer||"&nbsp;")+"</div>",d='<div class="modal-dialog" role="document"><div class="modal-content">'+u+'<div class="modal-body"><div class="ekko-lightbox-container"><div class="ekko-lightbox-item fade in show"></div><div class="ekko-lightbox-item fade"></div></div></div>'+c+"</div></div>";t(this._config.doc.body).append('<div id="'+this._modalId+'" class="ekko-lightbox modal fade" tabindex="-1" tabindex="-1" role="dialog" aria-hidden="true">'+d+"</div>"),this._$modal=t("#"+this._modalId,this._config.doc),this._$modalDialog=this._$modal.find(".modal-dialog").first(),this._$modalContent=this._$modal.find(".modal-content").first(),this._$modalBody=this._$modal.find(".modal-body").first(),this._$modalHeader=this._$modal.find(".modal-header").first(),this._$modalFooter=this._$modal.find(".modal-footer").first(),this._$lightboxContainer=this._$modalBody.find(".ekko-lightbox-container").first(),this._$lightboxBodyOne=this._$lightboxContainer.find("> div:first-child").first(),this._$lightboxBodyTwo=this._$lightboxContainer.find("> div:last-child").first(),this._border=this._calculateBorders(),this._padding=this._calculatePadding(),this._galleryName=this._$element.data("gallery"),this._galleryName&&(this._$galleryItems=t(document.body).find('*[data-gallery="'+this._galleryName+'"]'),this._galleryIndex=this._$galleryItems.index(this._$element),t(document).on("keydown.ekkoLightbox",this._navigationalBinder.bind(this)),this._config.showArrows&&this._$galleryItems.length>1&&(this._$lightboxContainer.append('<div class="ekko-lightbox-nav-overlay"><a href="#">'+this._config.leftArrow+'</a><a href="#">'+this._config.rightArrow+"</a></div>"),this._$modalArrows=this._$lightboxContainer.find("div.ekko-lightbox-nav-overlay").first(),this._$lightboxContainer.on("click","a:first-child",function(t){return t.preventDefault(),a.navigateLeft()}),this._$lightboxContainer.on("click","a:last-child",function(t){return t.preventDefault(),a.navigateRight()}),this.updateNavigation())),this._$modal.on("show.bs.modal",this._config.onShow.bind(this)).on("shown.bs.modal",function(){return a._toggleLoading(!0),a._handle(),a._config.onShown.call(a)}).on("hide.bs.modal",this._config.onHide.bind(this)).on("hidden.bs.modal",function(){return a._galleryName&&(t(document).off("keydown.ekkoLightbox"),t(window).off("resize.ekkoLightbox")),a._$modal.remove(),a._config.onHidden.call(a)}).modal(this._config),t(window).on("resize.ekkoLightbox",function(){a._resize(a._wantedWidth,a._wantedHeight)}),this._$lightboxContainer.on("touchstart",function(){a._touchstartX=event.changedTouches[0].screenX}).on("touchend",function(){a._touchendX=event.changedTouches[0].screenX,a._swipeGesure()})}return n(i,null,[{key:"Default",get:function(){return o}}]),n(i,[{key:"element",value:function(){return this._$element}},{key:"modal",value:function(){return this._$modal}},{key:"navigateTo",value:function(e){if(e<0||e>this._$galleryItems.length-1)return this;this._galleryIndex=e,this.updateNavigation(),this._$element=t(this._$galleryItems.get(this._galleryIndex)),this._handle()}},{key:"navigateLeft",value:function(){if(this._$galleryItems&&1!==this._$galleryItems.length){if(0===this._galleryIndex){if(!this._config.wrapping)return;this._galleryIndex=this._$galleryItems.length-1}else this._galleryIndex--;return this._config.onNavigate.call(this,"left",this._galleryIndex),this.navigateTo(this._galleryIndex)}}},{key:"navigateRight",value:function(){if(this._$galleryItems&&1!==this._$galleryItems.length){if(this._galleryIndex===this._$galleryItems.length-1){if(!this._config.wrapping)return;this._galleryIndex=0}else this._galleryIndex++;return this._config.onNavigate.call(this,"right",this._galleryIndex),this.navigateTo(this._galleryIndex)}}},{key:"updateNavigation",value:function(){if(!this._config.wrapping){var t=this._$lightboxContainer.find("div.ekko-lightbox-nav-overlay");0===this._galleryIndex?t.find("a:first-child").addClass("disabled"):t.find("a:first-child").removeClass("disabled"),this._galleryIndex===this._$galleryItems.length-1?t.find("a:last-child").addClass("disabled"):t.find("a:last-child").removeClass("disabled")}}},{key:"close",value:function(){return this._$modal.modal("hide")}},{key:"_navigationalBinder",value:function(t){return t=t||window.event,39===t.keyCode?this.navigateRight():37===t.keyCode?this.navigateLeft():void 0}},{key:"_detectRemoteType",value:function(t,e){return e=e||!1,!e&&this._isImage(t)&&(e="image"),!e&&this._getYoutubeId(t)&&(e="youtube"),!e&&this._getVimeoId(t)&&(e="vimeo"),!e&&this._getInstagramId(t)&&(e="instagram"),(!e||["image","youtube","vimeo","instagram","video","url"].indexOf(e)<0)&&(e="url"),e}},{key:"_isImage",value:function(t){return t&&t.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)}},{key:"_containerToUse",value:function(){var t=this,e=this._$lightboxBodyTwo,n=this._$lightboxBodyOne;return this._$lightboxBodyTwo.hasClass("in")&&(e=this._$lightboxBodyOne,n=this._$lightboxBodyTwo),n.removeClass("in show"),setTimeout(function(){t._$lightboxBodyTwo.hasClass("in")||t._$lightboxBodyTwo.empty(),t._$lightboxBodyOne.hasClass("in")||t._$lightboxBodyOne.empty()},500),e.addClass("in show"),e}},{key:"_handle",value:function(){var t=this._containerToUse();this._updateTitleAndFooter();var e=this._$element.attr("data-remote")||this._$element.attr("href"),n=this._detectRemoteType(e,this._$element.attr("data-type")||!1);if(["image","youtube","vimeo","instagram","video","url"].indexOf(n)<0)return this._error(this._config.strings.type);switch(n){case"image":this._preloadImage(e,t),this._preloadImageByIndex(this._galleryIndex,3);break;case"youtube":this._showYoutubeVideo(e,t);break;case"vimeo":this._showVimeoVideo(this._getVimeoId(e),t);break;case"instagram":this._showInstagramVideo(this._getInstagramId(e),t);break;case"video":this._showHtml5Video(e,t);break;default:this._loadRemoteContent(e,t)}return this}},{key:"_getYoutubeId",value:function(t){if(!t)return!1;var e=t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);return!(!e||11!==e[2].length)&&e[2]}},{key:"_getVimeoId",value:function(t){return!!(t&&t.indexOf("vimeo")>0)&&t}},{key:"_getInstagramId",value:function(t){return!!(t&&t.indexOf("instagram")>0)&&t}},{key:"_toggleLoading",value:function(e){return e=e||!1,e?(this._$modalDialog.css("display","none"),this._$modal.removeClass("in show"),t(".modal-backdrop").append(this._config.loadingMessage)):(this._$modalDialog.css("display","block"),this._$modal.addClass("in show"),t(".modal-backdrop").find(".ekko-lightbox-loader").remove()),this}},{key:"_calculateBorders",value:function(){return{top:this._totalCssByAttribute("border-top-width"),right:this._totalCssByAttribute("border-right-width"),bottom:this._totalCssByAttribute("border-bottom-width"),left:this._totalCssByAttribute("border-left-width")}}},{key:"_calculatePadding",value:function(){return{top:this._totalCssByAttribute("padding-top"),right:this._totalCssByAttribute("padding-right"),bottom:this._totalCssByAttribute("padding-bottom"),left:this._totalCssByAttribute("padding-left")}}},{key:"_totalCssByAttribute",value:function(t){return parseInt(this._$modalDialog.css(t),10)+parseInt(this._$modalContent.css(t),10)+parseInt(this._$modalBody.css(t),10)}},{key:"_updateTitleAndFooter",value:function(){var t=this._$element.data("title")||"",e=this._$element.data("footer")||"";return this._titleIsShown=!1,t||this._config.alwaysShowClose?(this._titleIsShown=!0,this._$modalHeader.css("display","").find(".modal-title").html(t||"&nbsp;")):this._$modalHeader.css("display","none"),this._footerIsShown=!1,e?(this._footerIsShown=!0,this._$modalFooter.css("display","").html(e)):this._$modalFooter.css("display","none"),this}},{key:"_showYoutubeVideo",value:function(t,e){var n=this._getYoutubeId(t),i=t.indexOf("&")>0?t.substr(t.indexOf("&")):"",r=this._$element.data("width")||560,o=this._$element.data("height")||r/(560/315);return this._showVideoIframe("//www.youtube.com/embed/"+n+"?badge=0&autoplay=1&html5=1"+i,r,o,e)}},{key:"_showVimeoVideo",value:function(t,e){var n=this._$element.data("width")||500,i=this._$element.data("height")||n/(560/315);return this._showVideoIframe(t+"?autoplay=1",n,i,e)}},{key:"_showInstagramVideo",value:function(t,e){var n=this._$element.data("width")||612,i=n+80;return t="/"!==t.substr(-1)?t+"/":t,e.html('<iframe width="'+n+'" height="'+i+'" src="'+t+'embed/" frameborder="0" allowfullscreen></iframe>'),this._resize(n,i),this._config.onContentLoaded.call(this),this._$modalArrows&&this._$modalArrows.css("display","none"),this._toggleLoading(!1),this}},{key:"_showVideoIframe",value:function(t,e,n,i){return n=n||e,i.html('<div class="embed-responsive embed-responsive-16by9"><iframe width="'+e+'" height="'+n+'" src="'+t+'" frameborder="0" allowfullscreen class="embed-responsive-item"></iframe></div>'),this._resize(e,n),this._config.onContentLoaded.call(this),this._$modalArrows&&this._$modalArrows.css("display","none"),this._toggleLoading(!1),this}},{key:"_showHtml5Video",value:function(t,e){var n=this._$element.data("width")||560,i=this._$element.data("height")||n/(560/315);return e.html('<div class="embed-responsive embed-responsive-16by9"><video width="'+n+'" height="'+i+'" src="'+t+'" preload="auto" autoplay controls class="embed-responsive-item"></video></div>'),this._resize(n,i),this._config.onContentLoaded.call(this),this._$modalArrows&&this._$modalArrows.css("display","none"),this._toggleLoading(!1),this}},{key:"_loadRemoteContent",value:function(e,n){var i=this,r=this._$element.data("width")||560,o=this._$element.data("height")||560,a=this._$element.data("disableExternalCheck")||!1;return this._toggleLoading(!1),a||this._isExternal(e)?(n.html('<iframe src="'+e+'" frameborder="0" allowfullscreen></iframe>'),this._config.onContentLoaded.call(this)):n.load(e,t.proxy(function(){return i._$element.trigger("loaded.bs.modal")})),this._$modalArrows&&this._$modalArrows.css("display","none"),this._resize(r,o),this}},{key:"_isExternal",value:function(t){var e=t.match(/^([^:\/?#]+:)?(?:\/\/([^\/?#]*))?([^?#]+)?(\?[^#]*)?(#.*)?/);return"string"==typeof e[1]&&e[1].length>0&&e[1].toLowerCase()!==location.protocol||"string"==typeof e[2]&&e[2].length>0&&e[2].replace(new RegExp(":("+{"http:":80,"https:":443}[location.protocol]+")?$"),"")!==location.host}},{key:"_error",value:function(t){return console.error(t),this._containerToUse().html(t),this._resize(300,300),this}},{key:"_preloadImageByIndex",value:function(e,n){if(this._$galleryItems){var i=t(this._$galleryItems.get(e),!1);if(void 0!==i){var r=i.attr("data-remote")||i.attr("href");return("image"===i.attr("data-type")||this._isImage(r))&&this._preloadImage(r,!1),n>0?this._preloadImageByIndex(e+1,n-1):void 0}}}},{key:"_preloadImage",value:function(e,n){var i=this;n=n||!1;var r=new Image;return n&&function(){var o=setTimeout(function(){n.append(i._config.loadingMessage)},200);r.onload=function(){o&&clearTimeout(o),o=null;var e=t("<img />");return e.attr("src",r.src),e.addClass("img-fluid"),e.css("width","100%"),n.html(e),i._$modalArrows&&i._$modalArrows.css("display",""),i._resize(r.width,r.height),i._toggleLoading(!1),i._config.onContentLoaded.call(i)},r.onerror=function(){return i._toggleLoading(!1),i._error(i._config.strings.fail+" "+e)}}(),r.src=e,r}},{key:"_swipeGesure",value:function(){return this._touchendX<this._touchstartX?this.navigateRight():this._touchendX>this._touchstartX?this.navigateLeft():void 0}},{key:"_resize",value:function(e,n){n=n||e,this._wantedWidth=e,this._wantedHeight=n;var i=e/n,r=this._padding.left+this._padding.right+this._border.left+this._border.right,o=this._config.doc.body.clientWidth>575?20:0,a=this._config.doc.body.clientWidth>575?0:20,s=Math.min(e+r,this._config.doc.body.clientWidth-o,this._config.maxWidth);e+r>s?(n=(s-r-a)/i,e=s):e+=r;var l=0,u=0;this._footerIsShown&&(u=this._$modalFooter.outerHeight(!0)||55),this._titleIsShown&&(l=this._$modalHeader.outerHeight(!0)||67);var c=this._padding.top+this._padding.bottom+this._border.bottom+this._border.top,d=parseFloat(this._$modalDialog.css("margin-top"))+parseFloat(this._$modalDialog.css("margin-bottom")),h=Math.min(n,t(window).height()-c-d-l-u,this._config.maxHeight-c-l-u);n>h&&(e=Math.ceil(h*i)+r),this._$lightboxContainer.css("height",h),
-this._$modalDialog.css("flex",1).css("maxWidth",e);var f=this._$modal.data("bs.modal");if(f)try{f._handleUpdate()}catch(t){f.handleUpdate()}return this}}],[{key:"_jQueryInterface",value:function(e){var n=this;return e=e||{},this.each(function(){var r=t(n),o=t.extend({},i.Default,r.data(),"object"==typeof e&&e);new i(n,o)})}}]),i}();t.fn[i]=a._jQueryInterface,t.fn[i].Constructor=a,t.fn[i].noConflict=function(){return t.fn[i]=r,a._jQueryInterface}}(jQuery)}(jQuery),function(t){function e(t,e,r){var o=t[0],a=/er/.test(r)?g:/bl/.test(r)?f:d,s=r==v?{checked:o[d],disabled:o[f],indeterminate:"true"==t.attr(g)||"false"==t.attr(p)}:o[a];if(/^(ch|di|in)/.test(r)&&!s)n(t,a);else if(/^(un|en|de)/.test(r)&&s)i(t,a);else if(r==v)for(var l in s)s[l]?n(t,l,!0):i(t,l,!0);else e&&"toggle"!=r||(e||t[x]("ifClicked"),s?o[m]!==c&&i(t,a):n(t,a))}function n(e,n,r){var v=e[0],y=e.parent(),x=n==d,w=n==g,k=n==f,S=w?p:x?h:"enabled",T=o(e,S+a(v[m])),D=o(e,n+a(v[m]));if(!0!==v[n]){if(!r&&n==d&&v[m]==c&&v.name){var A=e.closest("form"),E='input[name="'+v.name+'"]';E=A.length?A.find(E):t(E),E.each(function(){this!==v&&t(this).data(l)&&i(t(this),n)})}w?(v[n]=!0,v[d]&&i(e,d,"force")):(r||(v[n]=!0),x&&v[g]&&i(e,g,!1)),s(e,x,n,r)}v[f]&&o(e,C,!0)&&y.find("."+u).css(C,"default"),y[b](D||o(e,n)||""),y.attr("role")&&!w&&y.attr("aria-"+(k?f:d),"true"),y[_](T||o(e,S)||"")}function i(t,e,n){var i=t[0],r=t.parent(),l=e==d,c=e==g,v=e==f,y=c?p:l?h:"enabled",x=o(t,y+a(i[m])),w=o(t,e+a(i[m]));!1!==i[e]&&(!c&&n&&"force"!=n||(i[e]=!1),s(t,l,y,n)),!i[f]&&o(t,C,!0)&&r.find("."+u).css(C,"pointer"),r[_](w||o(t,e)||""),r.attr("role")&&!c&&r.attr("aria-"+(v?f:d),"false"),r[b](x||o(t,y)||"")}function r(e,n){e.data(l)&&(e.parent().html(e.attr("style",e.data(l).s||"")),n&&e[x](n),e.off(".i").unwrap(),t(w+'[for="'+e[0].id+'"]').add(e.closest(w)).off(".i"))}function o(t,e,n){if(t.data(l))return t.data(l).o[e+(n?"":"Class")]}function a(t){return t.charAt(0).toUpperCase()+t.slice(1)}function s(t,e,n,i){i||(e&&t[x]("ifToggled"),t[x]("ifChanged")[x]("if"+a(n)))}var l="iCheck",u=l+"-helper",c="radio",d="checked",h="un"+d,f="disabled",p="determinate",g="in"+p,v="update",m="type",y="touchbegin.i touchend.i",b="addClass",_="removeClass",x="trigger",w="label",C="cursor",k=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);t.fn[l]=function(o,a){var s='input[type="checkbox"], input[type="'+c+'"]',h=t(),p=function(e){e.each(function(){var e=t(this);h=e.is(s)?h.add(e):h.add(e.find(s))})};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(o))return o=o.toLowerCase(),p(this),h.each(function(){var n=t(this);"destroy"==o?r(n,"ifDestroyed"):e(n,!0,o),t.isFunction(a)&&a()});if("object"!=typeof o&&o)return this;var C=t.extend({checkedClass:d,disabledClass:f,indeterminateClass:g,labelHover:!0},o),S=C.handle,T=C.hoverClass||"hover",D=C.focusClass||"focus",A=C.activeClass||"active",E=!!C.labelHover,M=C.labelHoverClass||"hover",O=0|(""+C.increaseArea).replace("%","");return"checkbox"!=S&&S!=c||(s='input[type="'+S+'"]'),O<-50&&(O=-50),p(this),h.each(function(){var o=t(this);r(o);var a,s=this,h=s.id,p=-O+"%",g=100+2*O+"%",S={position:"absolute",top:p,left:p,display:"block",width:g,height:g,margin:0,padding:0,background:"#fff",border:0,opacity:0},$=k?{position:"absolute",visibility:"hidden"}:O?S:{position:"absolute",opacity:0},I="checkbox"==s[m]?C.checkboxClass||"icheckbox":C.radioClass||"i"+c,F=t(w+'[for="'+h+'"]').add(o.closest(w)),P=!!C.aria,N=l+"-"+Math.random().toString(36).substr(2,6),L='<div class="'+I+'" '+(P?'role="'+s[m]+'" ':"");P&&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),a=t('<ins class="'+u+'"/>').css(S).appendTo(L),o.data(l,{o:C,s:o.attr("style")}).css($),!!C.inheritClass&&L[b](s.className||""),!!C.inheritID&&h&&L.attr("id",l+"-"+h),"static"==L.css("position")&&L.css("position","relative"),e(o,!0,v),F.length&&F.on("click.i mouseover.i mouseout.i "+y,function(n){var i=n[m],r=t(this);if(!s[f]){if("click"==i){if(t(n.target).is("a"))return;e(o,!1,!0)}else E&&(/ut|nd/.test(i)?(L[_](T),r[_](M)):(L[b](T),r[b](M)));if(!k)return!1;n.stopPropagation()}}),o.on("click.i focus.i blur.i keyup.i keydown.i keypress.i",function(t){var e=t[m],r=t.keyCode;return"click"!=e&&("keydown"==e&&32==r?(s[m]==c&&s[d]||(s[d]?i(o,d):n(o,d)),!1):void("keyup"==e&&s[m]==c?!s[d]&&n(o,d):/us|ur/.test(e)&&L["blur"==e?_:b](D)))}),a.on("click mousedown mouseup mouseover mouseout "+y,function(t){var n=t[m],i=/wn|up/.test(n)?A:T;if(!s[f]){if("click"==n?e(o,!1,!0):(/wn|er|in/.test(n)?L[b](i):L[_](i+" "+A),F.length&&E&&i==T&&F[/ut|nd/.test(n)?_:b](M)),!k)return!1;t.stopPropagation()}})})}}(window.jQuery||window.Zepto),function(t){function e(t){for(var e,n,i=t.length;i;e=parseInt(Math.random()*i),n=t[--i],t[i]=t[e],t[e]=n);return t}function n(t,e){return Math.floor(Math.random()*(e-t+1)+t)}var i=[],r=[],o=[],a=[],s=null,l={init:function(e,n){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++)i.push(c);for(c=65;c<91;c++)r.push(c);for(c=97;c<123;c++)o.push(c);return a=[33,35,64,36,38,42,91,93,123,125,92,47,63,58,59,95,45].concat(u.additionalSpecialChars),this.each(function(){s=t(this),s.bind(u.bind,function(t){t.preventDefault(),l.generatePassword(u)})})},generatePassword:function(s){var l=new Array,u=s.uppercase+s.lowercase+s.numbers+s.specialChars,c=0,d=new Array,h=Math.floor(s.passwordLength/u);if(s.uppercase){for(var f=0;f<h;f++)l.push(String.fromCharCode(r[n(0,r.length-1)]));d=d.concat(r),c++}if(s.numbers){for(var f=0;f<h;f++)l.push(String.fromCharCode(i[n(0,i.length-1)]));d=d.concat(i),c++}if(s.specialChars){for(var f=0;f<h;f++)l.push(String.fromCharCode(a[n(0,a.length-1)]));d=d.concat(a),c++}var p=s.passwordLength-c*h;if(s.lowercase)for(var f=0;f<p;f++)l.push(String.fromCharCode(o[n(0,o.length-1)]));else for(var f=0;f<p;f++)l.push(String.fromCharCode(d[n(0,d.length-1)]));l=e(l).join(""),null!==s.passwordElement&&t(s.passwordElement).val(l),null!==s.displayElement&&(t(s.displayElement).is("input")?t(s.displayElement).val(l):t(s.displayElement).text(l)),s.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(qe),n=e.length,i=0;i<n;i++)t[e[i]]={distance:-1,parent:null};return t}function n(t){var n=e(),i=[t];for(n[t].distance=0;i.length;)for(var r=i.pop(),o=Object.keys(qe[r]),a=o.length,s=0;s<a;s++){var l=o[s],u=n[l];-1===u.distance&&(u.distance=n[r].distance+1,u.parent=r,i.unshift(l))}return n}function i(t,e){return function(n){return e(t(n))}}function r(t,e){for(var n=[e[t].parent,t],r=qe[e[t].parent][t],o=e[t].parent;e[o].parent;)n.unshift(e[o].parent),r=i(qe[e[o].parent][o],r),o=e[o].parent;return r.conversion=n,r}function o(t){var e=function(e){return void 0===e||null===e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}function a(t){var e=function(e){if(void 0===e||null===e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var i=n.length,r=0;r<i;r++)n[r]=Math.round(n[r]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}function s(t){if(t){var e=/^#([a-fA-F0-9]{3,4})$/i,n=/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i,i=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,o=/(\w+)/,a=[0,0,0],s=1,l=t.match(e),u="";if(l){l=l[1],u=l[3];for(var c=0;c<a.length;c++)a[c]=parseInt(l[c]+l[c],16);u&&(s=Math.round(parseInt(u+u,16)/255*100)/100)}else if(l=t.match(n)){u=l[2],l=l[1];for(var c=0;c<a.length;c++)a[c]=parseInt(l.slice(2*c,2*c+2),16);u&&(s=Math.round(parseInt(u,16)/255*100)/100)}else if(l=t.match(i)){for(var c=0;c<a.length;c++)a[c]=parseInt(l[c+1]);s=parseFloat(l[4])}else if(l=t.match(r)){for(var c=0;c<a.length;c++)a[c]=Math.round(2.55*parseFloat(l[c+1]));s=parseFloat(l[4])}else if(l=t.match(o)){if("transparent"==l[1])return[0,0,0,0];if(!(a=Ke[l[1]]))return}for(var c=0;c<a.length;c++)a[c]=w(a[c],0,255);return s=s||0==s?w(s,0,1):1,a[3]=s,a}}function l(t){if(t){var e=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=t.match(e);if(n){var i=parseFloat(n[4]);return[w(parseInt(n[1]),0,360),w(parseFloat(n[2]),0,100),w(parseFloat(n[3]),0,100),w(isNaN(i)?1:i,0,1)]}}}function u(t){if(t){var e=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=t.match(e);if(n){var i=parseFloat(n[4]);return[w(parseInt(n[1]),0,360),w(parseFloat(n[2]),0,100),w(parseFloat(n[3]),0,100),w(isNaN(i)?1:i,0,1)]}}}function c(t){var e=s(t);return e&&e.slice(0,3)}function d(t){var e=l(t);return e&&e.slice(0,3)}function h(t){var e=s(t);return e?e[3]:(e=l(t))?e[3]:(e=u(t))?e[3]:void 0}function f(t,e){var e=void 0!==e&&3===t.length?e:t[3];return"#"+C(t[0])+C(t[1])+C(t[2])+(e>=0&&e<1?C(Math.round(255*e)):"")}function p(t,e){return e<1||t[3]&&t[3]<1?g(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}function g(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function v(t,e){return e<1||t[3]&&t[3]<1?m(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"}function m(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function y(t,e){return e<1||t[3]&&t[3]<1?b(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"}function b(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function _(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"}function x(t){return Qe[t.slice(0,3)]}function w(t,e,n){return Math.min(Math.max(e,t),n)}function C(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}function k(t){return!t||rn.isNullOrUndef(t.size)||rn.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function S(t,e,n,i){var r,o,a,s,l,u,c,d,h,f=Object.keys(n);for(r=0,o=f.length;r<o;++r)if(a=f[r],u=n[a],e.hasOwnProperty(a)||(e[a]=u),(s=e[a])!==u&&"_"!==a[0]){if(t.hasOwnProperty(a)||(t[a]=s),l=t[a],(c=typeof u)===typeof l)if("string"===c){if(d=en(l),d.valid&&(h=en(u),h.valid)){e[a]=h.mix(d,i).rgbString();continue}}else if(Dn.isFinite(l)&&Dn.isFinite(u)){e[a]=l+(u-l)*i;continue}e[a]=u}}function T(t,e){if(t._chartjs)return void t._chartjs.listeners.push(e);Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Rn.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),i=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),r=i.apply(this,e);return Dn.each(t._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),r}})})}function D(t,e){var n=t._chartjs;if(n){var i=n.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),i.length>0||(Rn.forEach(function(e){delete t[e]}),delete t._chartjs)}}function A(t,e){var n=e.startAngle,i=e.endAngle,r=e.pixelMargin,o=r/e.outerRadius,a=e.x,s=e.y;t.beginPath(),t.arc(a,s,e.outerRadius,n-o,i+o),e.innerRadius>r?(o=r/e.innerRadius,t.arc(a,s,e.innerRadius-r,i+o,n-o,!0)):t.arc(a,s,r,i+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function E(t,e,n,i){var r,o=n.endAngle;for(i&&(n.endAngle=n.startAngle+zn,A(t,n),n.endAngle=o,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=zn,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+zn,n.startAngle,!0),r=0;r<n.fullCircles;++r)t.stroke();for(t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.startAngle+zn),r=0;r<n.fullCircles;++r)t.stroke()}function M(t,e,n){var i="inner"===e.borderAlign;i?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&E(t,e,n,i),i&&A(t,n),t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.endAngle),t.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),t.closePath(),t.stroke()}function O(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}function $(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius}function I(t){return t&&void 0!==t.width}function F(t){var e,n,i,r,o;return I(t)?(o=t.width/2,e=t.x-o,n=t.x+o,i=Math.min(t.y,t.base),r=Math.max(t.y,t.base)):(o=t.height/2,e=Math.min(t.x,t.base),n=Math.max(t.x,t.base),i=t.y-o,r=t.y+o),{left:e,top:i,right:n,bottom:r}}function P(t,e,n){return t===e?n:t===n?e:t}function N(t){var e=t.borderSkipped,n={};return e?(t.horizontal?t.base>t.x&&(e=P(e,"left","right")):t.base<t.y&&(e=P(e,"bottom","top")),n[e]=!0,n):n}function L(t,e,n){var i,r,o,a,s=t.borderWidth,l=N(t);return Dn.isObject(s)?(i=+s.top||0,r=+s.right||0,o=+s.bottom||0,a=+s.left||0):i=r=o=a=+s||0,{t:l.top||i<0?0:i>n?n:i,r:l.right||r<0?0:r>e?e:r,b:l.bottom||o<0?0:o>n?n:o,l:l.left||a<0?0:a>e?e:a}}function j(t){var e=F(t),n=e.right-e.left,i=e.bottom-e.top,r=L(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i},inner:{x:e.left+r.l,y:e.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b}}}function R(t,e,n){var i=null===e,r=null===n,o=!(!t||i&&r)&&F(t);return o&&(i||e>=o.left&&e<=o.right)&&(r||n>=o.top&&n<=o.bottom)}function U(t,e){var n,i,r,o,a=t._length;for(r=1,o=e.length;r<o;++r)a=Math.min(a,Math.abs(e[r]-e[r-1]));for(r=0,o=t.getTicks().length;r<o;++r)i=t.getPixelForTick(r),a=r>0?Math.min(a,Math.abs(i-n)):a,n=i;return a}function B(t,e,n){var i,r,o=n.barThickness,a=e.stackCount,s=e.pixels[t],l=Dn.isNullOrUndef(o)?U(e.scale,e.pixels):-1;return Dn.isNullOrUndef(o)?(i=l*n.categoryPercentage,r=n.barPercentage):(i=o*a,r=1),{chunk:i/a,ratio:r,start:s-i/2}}function z(t,e,n){var i,r,o=e.pixels,a=o[t],s=t>0?o[t-1]:null,l=t<o.length-1?o[t+1]:null,u=n.categoryPercentage;return null===s&&(s=a-(null===l?e.end-e.start:l-a)),null===l&&(l=a+a-s),i=a-(a-Math.min(s,l))/2*u,r=Math.abs(l-s)/2*u,{chunk:r/e.stackCount,ratio:n.barPercentage,start:i}}function H(t,e){var n=t&&t.options.ticks||{},i=n.reverse,r=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:i?o:r,end:i?r:o}}function W(t,e,n){var i=n/2,r=H(t,i),o=H(e,i);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}function V(t){var e,n,i,r;return Dn.isObject(t)?(e=t.top,n=t.right,i=t.bottom,r=t.left):e=n=i=r=t,{top:e,right:n,bottom:i,left:r}}function q(t,e){return t.native?{x:t.x,y:t.y}:Dn.getRelativePosition(t,e)}function Y(t,e){var n,i,r,o,a,s,l=t._getSortedVisibleDatasetMetas();for(i=0,o=l.length;i<o;++i)for(n=l[i].data,r=0,a=n.length;r<a;++r)s=n[r],s._view.skip||e(s)}function X(t,e){var n=[];return Y(t,function(t){t.inRange(e.x,e.y)&&n.push(t)}),n}function G(t,e,n,i){var r=Number.POSITIVE_INFINITY,o=[];return Y(t,function(t){if(!n||t.inRange(e.x,e.y)){var a=t.getCenterPoint(),s=i(e,a);s<r?(o=[t],r=s):s===r&&o.push(t)}}),o}function K(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,i){var r=e?Math.abs(t.x-i.x):0,o=n?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}function Z(t,e,n){var i=q(e,t);n.axis=n.axis||"x";var r=K(n.axis),o=n.intersect?X(t,i):G(t,i,!1,r),a=[];return o.length?(t._getSortedVisibleDatasetMetas().forEach(function(t){var e=t.data[o[0]._index];e&&!e._view.skip&&a.push(e)}),a):[]}function Q(t,e){return Dn.where(t,function(t){return t.pos===e})}function J(t,e){return t.sort(function(t,n){var i=e?n:t,r=e?t:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight})}function tt(t){var e,n,i,r=[];for(e=0,n=(t||[]).length;e<n;++e)i=t[e],r.push({index:e,box:i,pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return r}function et(t,e){var n,i,r;for(n=0,i=t.length;n<i;++n)r=t[n],r.width=r.horizontal?r.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,r.height=r.horizontal&&e.hBoxMaxHeight}function nt(t){var e=tt(t),n=J(Q(e,"left"),!0),i=J(Q(e,"right")),r=J(Q(e,"top"),!0),o=J(Q(e,"bottom"));return{leftAndTop:n.concat(r),rightAndBottom:i.concat(o),chartArea:Q(e,"chartArea"),vertical:n.concat(i),horizontal:r.concat(o)}}function it(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function rt(t,e,n){var i,r,o=n.box,a=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?o.height:o.width,t[n.pos]+=n.size,o.getPadding){var s=o.getPadding();a.top=Math.max(a.top,s.top),a.left=Math.max(a.left,s.left),a.bottom=Math.max(a.bottom,s.bottom),a.right=Math.max(a.right,s.right)}if(i=e.outerWidth-it(a,t,"left","right"),r=e.outerHeight-it(a,t,"top","bottom"),i!==t.w||r!==t.h)return t.w=i,t.h=r,n.horizontal?i!==t.w:r!==t.h}function ot(t){function e(e){var i=Math.max(n[e]-t[e],0);return t[e]+=i,i}var n=t.maxPadding;t.y+=e("top"),t.x+=e("left"),e("right"),e("bottom")}function at(t,e){function n(t){var n={left:0,top:0,right:0,bottom:0};return t.forEach(function(t){n[t]=Math.max(e[t],i[t])}),n}var i=e.maxPadding;return n(t?["left","right"]:["top","bottom"])}function st(t,e,n){var i,r,o,a,s,l,u=[];for(i=0,r=t.length;i<r;++i)o=t[i],a=o.box,a.update(o.width||e.w,o.height||e.h,at(o.horizontal,e)),rt(e,n,o)&&(l=!0,u.length&&(s=!0)),a.fullWidth||u.push(o);return s?st(u,e,n)||l:l}function lt(t,e,n){var i,r,o,a,s=n.padding,l=e.x,u=e.y;for(i=0,r=t.length;i<r;++i)o=t[i],a=o.box,o.horizontal?(a.left=a.fullWidth?s.left:e.left,a.right=a.fullWidth?n.outerWidth-s.right:e.left+e.w,a.top=u,a.bottom=u+a.height,a.width=a.right-a.left,u=a.bottom):(a.left=l,a.right=l+a.width,a.top=e.top,a.bottom=e.top+e.h,a.height=a.bottom-a.top,l=a.right);e.x=l,e.y=u}function ut(t,e){var n=Dn.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}function ct(t,e){var n=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t[$i]={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var o=ut(t,"width");void 0!==o&&(t.width=o)}if(null===i||""===i)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var a=ut(t,"height");void 0!==o&&(t.height=a)}return t}function dt(t,e,n){t.addEventListener(e,n,Ri)}function ht(t,e,n){t.removeEventListener(e,n,Ri)}function ft(t,e,n,i,r){return{type:t,chart:e,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function pt(t,e){var n=Li[t.type]||t.type,i=Dn.getRelativePosition(t,e);return ft(n,e,i.x,i.y,t)}function gt(t,e){var n=!1,i=[];return function(){i=Array.prototype.slice.call(arguments),e=e||this,n||(n=!0,Dn.requestAnimFrame.call(window,function(){n=!1,t.apply(e,i)}))}}function vt(t){var e=document.createElement("div");return e.className=t||"",e}function mt(t){var e=vt(Ii),n=vt(Ii+"-expand"),i=vt(Ii+"-shrink");n.appendChild(vt()),i.appendChild(vt()),e.appendChild(n),e.appendChild(i),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var r=function(){e._reset(),t()};return dt(n,"scroll",r.bind(n,"expand")),dt(i,"scroll",r.bind(i,"shrink")),e}function yt(t,e){var n=t[$i]||(t[$i]={}),i=n.renderProxy=function(t){t.animationName===Pi&&e()};Dn.each(Ni,function(e){dt(t,e,i)}),n.reflow=!!t.offsetParent,t.classList.add(Fi)}function bt(t){var e=t[$i]||{},n=e.renderProxy;n&&(Dn.each(Ni,function(e){ht(t,e,n)}),delete e.renderProxy),t.classList.remove(Fi)}function _t(t,e,n){var i=t[$i]||(t[$i]={}),r=i.resizer=mt(gt(function(){if(i.resizer){var r=n.options.maintainAspectRatio&&t.parentNode,o=r?r.clientWidth:0;e(ft("resize",n)),r&&r.clientWidth<o&&n.canvas&&e(ft("resize",n))}}));yt(t,function(){if(i.resizer){var e=t.parentNode;e&&e!==r.parentNode&&e.insertBefore(r,e.firstChild),r._reset()}})}function xt(t){var e=t[$i]||{},n=e.resizer;delete e.resizer,bt(t),n&&n.parentNode&&n.parentNode.removeChild(n)}function wt(t,e){var n=t[$i]||(t[$i]={});if(!n.containsStyles){n.containsStyles=!0,e="/* Chart.js */\n"+e;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(e)),t.appendChild(i)}}function Ct(t,e){return e&&(Dn.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function kt(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function St(t){var e=t._xScale,n=t._yScale||t._scale,i=t._index,r=t._datasetIndex,o=t._chart.getDatasetMeta(r).controller,a=o._getIndexScale(),s=o._getValueScale();return{xLabel:e?e.getLabelForIndex(i,r):"",yLabel:n?n.getLabelForIndex(i,r):"",label:a?""+a.getLabelForIndex(i,r):"",value:s?""+s.getLabelForIndex(i,r):"",index:i,datasetIndex:r,x:t._model.x,y:t._model.y}}function Tt(t){var e=vn.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Vi(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Vi(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Vi(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Vi(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Vi(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Vi(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Vi(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Vi(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Vi(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Dt(t,e){var n=t._chart.ctx,i=2*e.yPadding,r=0,o=e.body,a=o.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);a+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,u=e.titleFontSize,c=e.bodyFontSize,d=e.footerFontSize;i+=s*u,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=a*c,i+=a?(a-1)*e.bodySpacing:0,i+=l?e.footerMarginTop:0,i+=l*d,i+=l?(l-1)*e.footerSpacing:0;var h=0,f=function(t){r=Math.max(r,n.measureText(t).width+h)};return n.font=Dn.fontString(u,e._titleFontStyle,e._titleFontFamily),Dn.each(e.title,f),n.font=Dn.fontString(c,e._bodyFontStyle,e._bodyFontFamily),Dn.each(e.beforeBody.concat(e.afterBody),f),h=e.displayColors?c+2:0,Dn.each(o,function(t){Dn.each(t.before,f),Dn.each(t.lines,f),Dn.each(t.after,f)}),h=0,n.font=Dn.fontString(d,e._footerFontStyle,e._footerFontFamily),Dn.each(e.footer,f),r+=2*e.xPadding,{width:r,height:i}}function At(t,e){var n=t._model,i=t._chart,r=t._chart.chartArea,o="center",a="center";n.y<e.height?a="top":n.y>i.height-e.height&&(a="bottom");var s,l,u,c,d,h=(r.left+r.right)/2,f=(r.top+r.bottom)/2;"center"===a?(s=function(t){return t<=h},l=function(t){return t>h}):(s=function(t){return t<=e.width/2},l=function(t){return t>=i.width-e.width/2}),u=function(t){return t+e.width+n.caretSize+n.caretPadding>i.width},c=function(t){return t-e.width-n.caretSize-n.caretPadding<0},d=function(t){return t<=f?"top":"bottom"},s(n.x)?(o="left",u(n.x)&&(o="center",a=d(n.y))):l(n.x)&&(o="right",c(n.x)&&(o="center",a=d(n.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:o,yAlign:p.yAlign?p.yAlign:a}}function Et(t,e,n,i){var r=t.x,o=t.y,a=t.caretSize,s=t.caretPadding,l=t.cornerRadius,u=n.xAlign,c=n.yAlign,d=a+s,h=l+s;return"right"===u?r-=e.width:"center"===u&&(r-=e.width/2,r+e.width>i.width&&(r=i.width-e.width),r<0&&(r=0)),"top"===c?o+=d:o-="bottom"===c?e.height+d:e.height/2,"center"===c?"left"===u?r+=d:"right"===u&&(r-=d):"left"===u?r-=h:"right"===u&&(r+=h),{x:r,y:o}}function Mt(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Ot(t){return Ct([],kt(t))}function $t(){return Dn.merge({},[].slice.call(arguments),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var r,o,a,s=n[t].length;for(e[t]||(e[t]=[]),r=0;r<s;++r)a=n[t][r],o=Zi(a.type,"xAxes"===t?"category":"linear"),r>=e[t].length&&e[t].push({}),!e[t][r].type||a.type&&a.type!==e[t][r].type?Dn.merge(e[t][r],[Wi.getScaleDefaults(o),a]):Dn.merge(e[t][r],a)}else Dn._merger(t,e,n,i)}})}function It(){return Dn.merge({},[].slice.call(arguments),{merger:function(t,e,n,i){var r=e[t]||{},o=n[t];"scales"===t?e[t]=$t(r,o):"scale"===t?e[t]=Dn.merge(r,[Wi.getScaleDefaults(o.type),o]):Dn._merger(t,e,n,i)}})}function Ft(t){t=t||{};var e=t.data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=It(vn.global,vn[t.type],t.options||{}),t}function Pt(t){var e=t.options;Dn.each(t.scales,function(e){Ai.removeBox(t,e)}),e=It(vn.global,vn[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function Nt(t,e,n){var i,r=function(t){return t.id===i};do{i=e+n++}while(Dn.findIndex(t,r)>=0);return i}function Lt(t){return"top"===t||"bottom"===t}function jt(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}function Rt(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Ut(t){this.options=t||{}}function Bt(t,e){for(var n=[],i=t.length/e,r=0,o=t.length;r<o;r+=i)n.push(t[Math.floor(r)]);return n}function zt(t,e,n){var i,r=t.getTicks().length,o=Math.min(e,r-1),a=t.getPixelForTick(o),s=t._startPixel,l=t._endPixel;if(!(n&&(i=1===r?Math.max(a-s,l-a):0===e?(t.getPixelForTick(1)-a)/2:(a-t.getPixelForTick(o-1))/2,(a+=o<e?i:-i)<s-1e-6||a>l+1e-6)))return a}function Ht(t,e){Dn.each(t,function(t){var n,i=t.gc,r=i.length/2;if(r>e){for(n=0;n<r;++n)delete t.data[i[n]];i.splice(0,r)}})}function Wt(t,e,n,i){function r(t){return{width:b[t]||0,height:_[t]||0,offset:x[t]||0}}var o,a,s,l,u,c,d,h,f,p,g,v,m,y=n.length,b=[],_=[],x=[];for(o=0;o<y;++o){if(l=n[o].label,u=n[o].major?e.major:e.minor,t.font=c=u.string,d=i[c]=i[c]||{data:{},gc:[]},h=u.lineHeight,f=p=0,rr(l)||ir(l)){if(ir(l))for(a=0,s=l.length;a<s;++a)g=l[a],rr(g)||ir(g)||(f=Dn.measureText(t,d.data,d.gc,f,g),p+=h)}else f=Dn.measureText(t,d.data,d.gc,f,l),p=h;b.push(f),_.push(p),x.push(h/2)}return Ht(i,y),v=b.indexOf(Math.max.apply(null,b)),m=_.indexOf(Math.max.apply(null,_)),{first:r(0),last:r(y-1),widest:r(v),highest:r(m)}}function Vt(t){return t.drawTicks?t.tickMarkLength:0}function qt(t){var e,n;return t.display?(e=Dn.options._parseFont(t),n=Dn.options.toPadding(t.padding),e.lineHeight+n.height):0}function Yt(t,e){return Dn.extend(Dn.options._parseFont({fontFamily:or(e.fontFamily,t.fontFamily),fontSize:or(e.fontSize,t.fontSize),fontStyle:or(e.fontStyle,t.fontStyle),lineHeight:or(e.lineHeight,t.lineHeight)}),{color:Dn.options.resolve([e.fontColor,t.fontColor,vn.global.defaultFontColor])})}function Xt(t){var e=Yt(t,t.minor);return{minor:e,major:t.major.enabled?Yt(t,t.major):e}}function Gt(t){var e,n,i,r=[];for(n=0,i=t.length;n<i;++n)e=t[n],void 0!==e._index&&r.push(e);return r}function Kt(t){var e,n,i=t.length;if(i<2)return!1;for(n=t[0],e=1;e<i;++e)if(t[e]-t[e-1]!==n)return!1;return n}function Zt(t,e,n,i){var r,o,a,s,l=Kt(t),u=(e.length-1)/i;if(!l)return Math.max(u,1);for(r=Dn.math._factorize(l),a=0,s=r.length-1;a<s;a++)if((o=r[a])>u)return o;return Math.max(u,1)}function Qt(t){var e,n,i=[];for(e=0,n=t.length;e<n;e++)t[e].major&&i.push(e);return i}function Jt(t,e,n){var i,r,o=0,a=e[0];for(n=Math.ceil(n),i=0;i<t.length;i++)r=t[i],i===a?(r._index=i,o++,a=e[o*n]):delete r.label}function te(t,e,n,i){var r,o,a,s,l=or(n,0),u=Math.min(or(i,t.length),t.length),c=0;for(e=Math.ceil(e),i&&(r=i-n,e=r/Math.floor(r/e)),s=l;s<0;)c++,s=Math.round(l+c*e);for(o=Math.max(l,0);o<u;o++)a=t[o],o===s?(a._index=o,c++,s=Math.round(l+c*e)):delete a.label}function ee(t,e){var n,i,r,o,a=[],s=t.stepSize,l=s||1,u=t.maxTicks-1,c=t.min,d=t.max,h=t.precision,f=e.min,p=e.max,g=Dn.niceNum((p-f)/u/l)*l;if(g<1e-14&&pr(c)&&pr(d))return[f,p];o=Math.ceil(p/g)-Math.floor(f/g),o>u&&(g=Dn.niceNum(o*g/u/l)*l),s||pr(h)?n=Math.pow(10,Dn._decimalPlaces(g)):(n=Math.pow(10,h),g=Math.ceil(g*n)/n),i=Math.floor(f/g)*g,r=Math.ceil(p/g)*g,s&&(!pr(c)&&Dn.almostWhole(c/g,g/1e3)&&(i=c),!pr(d)&&Dn.almostWhole(d/g,g/1e3)&&(r=d)),o=(r-i)/g,o=Dn.almostEquals(o,Math.round(o),g/1e3)?Math.round(o):Math.ceil(o),i=Math.round(i*n)/n,r=Math.round(r*n)/n,a.push(pr(c)?i:c);for(var v=1;v<o;++v)a.push(Math.round((i+v*g)*n)/n);return a.push(pr(d)?r:d),a}function ne(t,e,n){var i=[n.type,void 0===e&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===t[i]&&(t[i]={pos:[],neg:[]}),t[i]}function ie(t,e,n,i){var r,o,a=t.options,s=a.stacked,l=ne(e,s,n),u=l.pos,c=l.neg,d=i.length;for(r=0;r<d;++r)o=t._parseValue(i[r]),isNaN(o.min)||isNaN(o.max)||n.data[r].hidden||(u[r]=u[r]||0,c[r]=c[r]||0,a.relativePoints?u[r]=100:o.min<0||o.max<0?c[r]+=o.min:u[r]+=o.max)}function re(t,e,n){var i,r,o=n.length;for(i=0;i<o;++i)r=t._parseValue(n[i]),isNaN(r.min)||isNaN(r.max)||e.data[i].hidden||(t.min=Math.min(t.min,r.min),t.max=Math.max(t.max,r.max))}function oe(t,e){var n,i,r=[],o=br(t.min,Math.pow(10,Math.floor(_r(e.min)))),a=Math.floor(_r(e.max)),s=Math.ceil(e.max/Math.pow(10,a));0===o?(n=Math.floor(_r(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),r.push(o),o=i*Math.pow(10,n)):(n=Math.floor(_r(o)),i=Math.floor(o/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{r.push(o),++i,10===i&&(i=1,++n,l=n>=0?1:l),o=Math.round(i*Math.pow(10,n)*l)/l}while(n<a||n===a&&i<s);var u=br(t.max,o);return r.push(u),r}function ae(t,e){return Dn.isFinite(t)&&t>=0?t:e}function se(t){var e=t.ticks;return e.display&&t.display?kr(e.fontSize,vn.global.defaultFontSize)+2*e.backdropPaddingY:0}function le(t,e,n){return Dn.isArray(n)?{w:Dn.longestText(t,t.font,n),h:n.length*e}:{w:t.measureText(n).width,h:e}}function ue(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:t<i||t>r?{start:e-n,end:e}:{start:e,end:e+n}}function ce(t){var e,n,i,r=Dn.options._parseFont(t.options.pointLabels),o={l:0,r:t.width,t:0,b:t.height-t.paddingTop},a={};t.ctx.font=r.string,t._pointLabelSizes=[];var s=t.chart.data.labels.length;for(e=0;e<s;e++){i=t.getPointPosition(e,t.drawingArea+5),n=le(t.ctx,r.lineHeight,t.pointLabels[e]),t._pointLabelSizes[e]=n;var l=t.getIndexAngle(e),u=Dn.toDegrees(l)%360,c=ue(u,i.x,n.w,0,180),d=ue(u,i.y,n.h,90,270);c.start<o.l&&(o.l=c.start,a.l=l),c.end>o.r&&(o.r=c.end,a.r=l),d.start<o.t&&(o.t=d.start,a.t=l),d.end>o.b&&(o.b=d.end,a.b=l)}t.setReductions(t.drawingArea,o,a)}function de(t){return 0===t||180===t?"center":t<180?"left":"right"}function he(t,e,n,i){var r,o,a=n.y+i/2;if(Dn.isArray(e))for(r=0,o=e.length;r<o;++r)t.fillText(e[r],n.x,a),a+=i;else t.fillText(e,n.x,a)}function fe(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function pe(t){var e=t.ctx,n=t.options,i=n.pointLabels,r=se(n),o=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),a=Dn.options._parseFont(i);e.save(),e.font=a.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){var l=0===s?r/2:0,u=t.getPointPosition(s,o+l+5),c=Sr(i.fontColor,s,vn.global.defaultFontColor);e.fillStyle=c;var d=t.getIndexAngle(s),h=Dn.toDegrees(d);e.textAlign=de(h),fe(h,t._pointLabelSizes[s],u),he(e,t.pointLabels[s],u,a.lineHeight)}e.restore()}function ge(t,e,n,i){
-var r,o=t.ctx,a=e.circular,s=t.chart.data.labels.length,l=Sr(e.color,i-1),u=Sr(e.lineWidth,i-1);if((a||s)&&l&&u){if(o.save(),o.strokeStyle=l,o.lineWidth=u,o.setLineDash&&(o.setLineDash(e.borderDash||[]),o.lineDashOffset=e.borderDashOffset||0),o.beginPath(),a)o.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{r=t.getPointPosition(0,n),o.moveTo(r.x,r.y);for(var c=1;c<s;c++)r=t.getPointPosition(c,n),o.lineTo(r.x,r.y)}o.closePath(),o.stroke(),o.restore()}}function ve(t){return Dn.isNumber(t)?t:0}function me(t,e){return t-e}function ye(t){var e,n,i,r={},o=[];for(e=0,n=t.length;e<n;++e)i=t[e],r[i]||(r[i]=!0,o.push(i));return o}function be(t){return Dn.valueOrDefault(t.time.min,t.ticks.min)}function _e(t){return Dn.valueOrDefault(t.time.max,t.ticks.max)}function xe(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var r,o,a,s,l,u=[],c=[e];for(r=0,o=t.length;r<o;++r)(s=t[r])>e&&s<n&&c.push(s);for(c.push(n),r=0,o=c.length;r<o;++r)l=c[r+1],a=c[r-1],s=c[r],void 0!==a&&void 0!==l&&Math.round((l+a)/2)===s||u.push({time:s,pos:r/(o-1)});return u}function we(t,e,n){for(var i,r,o,a=0,s=t.length-1;a>=0&&a<=s;){if(i=a+s>>1,r=t[i-1]||null,o=t[i],!r)return{lo:null,hi:o};if(o[e]<n)a=i+1;else{if(!(r[e]>n))return{lo:r,hi:o};s=i-1}}return{lo:o,hi:null}}function Ce(t,e,n,i){var r=we(t,e,n),o=r.lo?r.hi?r.lo:t[t.length-2]:t[0],a=r.lo?r.hi?r.hi:t[t.length-1]:t[1],s=a[e]-o[e],l=s?(n-o[e])/s:0,u=(a[i]-o[i])*l;return o[i]+u}function ke(t,e){var n=t._adapter,i=t.options.time,r=i.parser,o=r||i.format,a=e;return"function"==typeof r&&(a=r(a)),Dn.isFinite(a)||(a="string"==typeof o?n.parse(a,o):n.parse(a)),null!==a?+a:(r||"function"!=typeof o||(a=o(e),Dn.isFinite(a)||(a=n.parse(a))),a)}function Se(t,e){if(Dn.isNullOrUndef(e))return null;var n=t.options.time,i=ke(t,t.getRightValue(e));return null===i?i:(n.round&&(i=+t._adapter.startOf(i,n.round)),i)}function Te(t,e,n,i){var r,o,a,s=Nr.length;for(r=Nr.indexOf(t);r<s-1;++r)if(o=Pr[Nr[r]],a=o.steps?o.steps:Fr,o.common&&Math.ceil((n-e)/(a*o.size))<=i)return Nr[r];return Nr[s-1]}function De(t,e,n,i,r){var o,a;for(o=Nr.length-1;o>=Nr.indexOf(n);o--)if(a=Nr[o],Pr[a].common&&t._adapter.diff(r,i,a)>=e-1)return a;return Nr[n?Nr.indexOf(n):0]}function Ae(t){for(var e=Nr.indexOf(t)+1,n=Nr.length;e<n;++e)if(Pr[Nr[e]].common)return Nr[e]}function Ee(t,e,n,i){var r,o=t._adapter,a=t.options,s=a.time,l=s.unit||Te(s.minUnit,e,n,i),u=Or([s.stepSize,s.unitStepSize,1]),c="week"===l&&s.isoWeekday,d=e,h=[];if(c&&(d=+o.startOf(d,"isoWeek",c)),d=+o.startOf(d,c?"day":l),o.diff(n,e,l)>1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(r=d;r<n;r=+o.add(r,u,l))h.push(r);return r!==n&&"ticks"!==a.bounds||h.push(r),h}function Me(t,e,n,i,r){var o,a,s=0,l=0;return r.offset&&e.length&&(o=Ce(t,"time",e[0],"pos"),s=1===e.length?1-o:(Ce(t,"time",e[1],"pos")-o)/2,a=Ce(t,"time",e[e.length-1],"pos"),l=1===e.length?a:(a-Ce(t,"time",e[e.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}function Oe(t,e,n,i){var r,o,a=t._adapter,s=+a.startOf(e[0].value,i),l=e[e.length-1].value;for(r=s;r<=l;r=+a.add(r,1,i))(o=n[r])>=0&&(e[o].major=!0);return e}function $e(t,e,n){var i,r,o=[],a={},s=e.length;for(i=0;i<s;++i)r=e[i],a[r]=i,o.push({value:r,major:!1});return 0!==s&&n?Oe(t,o,a,n):o}function Ie(t,e,n){var i,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(i=parseFloat(o,10),isFinite(i)&&Math.floor(i)===i)return"-"!==o[0]&&"+"!==o[0]||(i=e+i),!(i===e||i<0||i>=n)&&i;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 Fe(t){var e,n=t.el._model||{},i=t.el._scale||{},r=t.fill,o=null;if(isFinite(r))return null;if("start"===r?o=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===r?o=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:i.getBasePixel&&(o=i.getBasePixel()),void 0!==o&&null!==o){if(void 0!==o.x&&void 0!==o.y)return o;if(Dn.isFinite(o))return e=i.isHorizontal(),{x:e?o:null,y:e?null:o}}return null}function Pe(t){var e,n,i,r,o,a=t.el._scale,s=a.options,l=a.chart.data.labels.length,u=t.fill,c=[];if(!l)return null;for(e=s.ticks.reverse?a.max:a.min,n=s.ticks.reverse?a.min:a.max,i=a.getPointPositionForValue(0,e),r=0;r<l;++r)o="start"===u||"end"===u?a.getPointPositionForValue(r,"start"===u?e:n):a.getBasePosition(r),s.gridLines.circular&&(o.cx=i.x,o.cy=i.y,o.angle=a.getIndexAngle(r)-Math.PI/2),c.push(o);return c}function Ne(t){return(t.el._scale||{}).getPointPositionForValue?Pe(t):Fe(t)}function Le(t,e,n){var i,r=t[e],o=r.fill,a=[e];if(!n)return o;for(;!1!==o&&-1===a.indexOf(o);){if(!isFinite(o))return o;if(!(i=t[o]))return!1;if(i.visible)return o;a.push(o),o=i.fill}return!1}function je(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),zr[n](t))}function Re(t){return t&&!t.skip}function Ue(t,e,n,i,r){var o,a,s,l;if(i&&r){for(t.moveTo(e[0].x,e[0].y),o=1;o<i;++o)Dn.canvas.lineTo(t,e[o-1],e[o]);if(void 0===n[0].angle)for(t.lineTo(n[r-1].x,n[r-1].y),o=r-1;o>0;--o)Dn.canvas.lineTo(t,n[o],n[o-1],!0);else for(a=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-a,2)+Math.pow(n[0].y-s,2)),o=r-1;o>0;--o)t.arc(a,s,l,n[o].angle,n[o-1].angle,!0)}}function Be(t,e,n,i,r,o){var a,s,l,u,c,d,h,f,p=e.length,g=i.spanGaps,v=[],m=[],y=0,b=0;for(t.beginPath(),a=0,s=p;a<s;++a)l=a%p,u=e[l]._view,c=n(u,l,i),d=Re(u),h=Re(c),o&&void 0===f&&d&&(f=a+1,s=p+f),d&&h?(y=v.push(u),b=m.push(c)):y&&b&&(g?(d&&v.push(u),h&&m.push(c)):(Ue(t,v,m,y,b),y=b=0,v=[],m=[]));Ue(t,v,m,y,b),t.closePath(),t.fillStyle=r,t.fill()}function ze(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}function He(t,e){var n=new Yr({ctx:t.ctx,options:e,chart:t});Ai.configure(t,n,e),Ai.addBox(t,n),t.legend=n}function We(t,e){var n=new Kr({ctx:t.ctx,options:e,chart:t});Ai.configure(t,n,e),Ai.addBox(t,n),t.titleBlock=n}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],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},qe=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t){function e(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}var n={};for(var i in Ve)Ve.hasOwnProperty(i)&&(n[Ve[i]]=i);var r=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var a=r[o].channels,s=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:a}),Object.defineProperty(r[o],"labels",{value:s})}r.rgb.hsl=function(t){var e,n,i,r=t[0]/255,o=t[1]/255,a=t[2]/255,s=Math.min(r,o,a),l=Math.max(r,o,a),u=l-s;return l===s?e=0:r===l?e=(o-a)/u:o===l?e=2+(a-r)/u:a===l&&(e=4+(r-o)/u),e=Math.min(60*e,360),e<0&&(e+=360),i=(s+l)/2,n=l===s?0:i<=.5?u/(l+s):u/(2-l-s),[e,100*n,100*i]},r.rgb.hsv=function(t){var e,n,i,r,o,a=t[0]/255,s=t[1]/255,l=t[2]/255,u=Math.max(a,s,l),c=u-Math.min(a,s,l),d=function(t){return(u-t)/6/c+.5};return 0===c?r=o=0:(o=c/u,e=d(a),n=d(s),i=d(l),a===u?r=i-n:s===u?r=1/3+e-i:l===u&&(r=2/3+n-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*o,100*u]},r.rgb.hwb=function(t){var e=t[0],n=t[1],i=t[2],o=r.rgb.hsl(t)[0],a=1/255*Math.min(e,Math.min(n,i));return i=1-1/255*Math.max(e,Math.max(n,i)),[o,100*a,100*i]},r.rgb.cmyk=function(t){var e,n,i,r,o=t[0]/255,a=t[1]/255,s=t[2]/255;return r=Math.min(1-o,1-a,1-s),e=(1-o-r)/(1-r)||0,n=(1-a-r)/(1-r)||0,i=(1-s-r)/(1-r)||0,[100*e,100*n,100*i,100*r]},r.rgb.keyword=function(t){var i=n[t];if(i)return i;var r,o=1/0;for(var a in Ve)if(Ve.hasOwnProperty(a)){var s=Ve[a],l=e(t,s);l<o&&(o=l,r=a)}return r},r.keyword.rgb=function(t){return Ve[t]},r.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,[100*(.4124*e+.3576*n+.1805*i),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]},r.rgb.lab=function(t){var e,n,i,o=r.rgb.xyz(t),a=o[0],s=o[1],l=o[2];return a/=95.047,s/=100,l/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,l=l>.008856?Math.pow(l,1/3):7.787*l+16/116,e=116*s-16,n=500*(a-s),i=200*(s-l),[e,n,i]},r.hsl.rgb=function(t){var e,n,i,r,o,a=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return o=255*l,[o,o,o];n=l<.5?l*(1+s):l+s-l*s,e=2*l-n,r=[0,0,0];for(var u=0;u<3;u++)i=a+1/3*-(u-1),i<0&&i++,i>1&&i--,o=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,r[u]=255*o;return r},r.hsl.hsv=function(t){var e,n,i=t[0],r=t[1]/100,o=t[2]/100,a=r,s=Math.max(o,.01);return o*=2,r*=o<=1?o:2-o,a*=s<=1?s:2-s,n=(o+r)/2,e=0===o?2*a/(s+a):2*r/(o+r),[i,100*e,100*n]},r.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,r=Math.floor(e)%6,o=e-Math.floor(e),a=255*i*(1-n),s=255*i*(1-n*o),l=255*i*(1-n*(1-o));switch(i*=255,r){case 0:return[i,l,a];case 1:return[s,i,a];case 2:return[a,i,l];case 3:return[a,s,i];case 4:return[l,a,i];case 5:return[i,a,s]}},r.hsv.hsl=function(t){var e,n,i,r=t[0],o=t[1]/100,a=t[2]/100,s=Math.max(a,.01);return i=(2-o)*a,e=(2-o)*s,n=o*s,n/=e<=1?e:2-e,n=n||0,i/=2,[r,100*n,100*i]},r.hwb.rgb=function(t){var e,n,i,r,o=t[0]/360,a=t[1]/100,s=t[2]/100,l=a+s;l>1&&(a/=l,s/=l),e=Math.floor(6*o),n=1-s,i=6*o-e,0!=(1&e)&&(i=1-i),r=a+i*(n-a);var u,c,d;switch(e){default:case 6:case 0:u=n,c=r,d=a;break;case 1:u=r,c=n,d=a;break;case 2:u=a,c=n,d=r;break;case 3:u=a,c=r,d=n;break;case 4:u=r,c=a,d=n;break;case 5:u=n,c=a,d=r}return[255*u,255*c,255*d]},r.cmyk.rgb=function(t){var e,n,i,r=t[0]/100,o=t[1]/100,a=t[2]/100,s=t[3]/100;return e=1-Math.min(1,r*(1-s)+s),n=1-Math.min(1,o*(1-s)+s),i=1-Math.min(1,a*(1-s)+s),[255*e,255*n,255*i]},r.xyz.rgb=function(t){var e,n,i,r=t[0]/100,o=t[1]/100,a=t[2]/100;return e=3.2406*r+-1.5372*o+-.4986*a,n=-.9689*r+1.8758*o+.0415*a,i=.0557*r+-.204*o+1.057*a,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,e=Math.min(Math.max(0,e),1),n=Math.min(Math.max(0,n),1),i=Math.min(Math.max(0,i),1),[255*e,255*n,255*i]},r.xyz.lab=function(t){var e,n,i,r=t[0],o=t[1],a=t[2];return r/=95.047,o/=100,a/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,e=116*o-16,n=500*(r-o),i=200*(o-a),[e,n,i]},r.lab.xyz=function(t){var e,n,i,r=t[0],o=t[1],a=t[2];n=(r+16)/116,e=o/500+n,i=n-a/200;var s=Math.pow(n,3),l=Math.pow(e,3),u=Math.pow(i,3);return n=s>.008856?s:(n-16/116)/7.787,e=l>.008856?l:(e-16/116)/7.787,i=u>.008856?u:(i-16/116)/7.787,e*=95.047,n*=100,i*=108.883,[e,n,i]},r.lab.lch=function(t){var e,n,i,r=t[0],o=t[1],a=t[2];return e=Math.atan2(a,o),n=360*e/2/Math.PI,n<0&&(n+=360),i=Math.sqrt(o*o+a*a),[r,i,n]},r.lch.lab=function(t){var e,n,i,r=t[0],o=t[1],a=t[2];return i=a/360*2*Math.PI,e=o*Math.cos(i),n=o*Math.sin(i),[r,e,n]},r.rgb.ansi16=function(t){var e=t[0],n=t[1],i=t[2],o=1 in arguments?arguments[1]:r.rgb.hsv(t)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){var e=t[0],n=t[1],i=t[2];return e===n&&n===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},r.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},r.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}t-=16;var n;return[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(t){var e=((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2])),n=e.toString(16).toUpperCase();return"000000".substring(n.length)+n},r.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map(function(t){return t+t}).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},r.rgb.hcg=function(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.max(Math.max(i,r),o),s=Math.min(Math.min(i,r),o),l=a-s;return e=l<1?s/(1-l):0,n=l<=0?0:a===i?(r-o)/l%6:a===r?2+(o-i)/l:4+(i-r)/l+4,n/=6,n%=1,[360*n,100*l,100*e]},r.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=1,r=0;return i=n<.5?2*e*n:2*e*(1-n),i<1&&(r=(n-.5*i)/(1-i)),[t[0],100*i,100*r]},r.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=e*n,r=0;return i<1&&(r=(n-i)/(1-i)),[t[0],100*i,100*r]},r.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,i=t[2]/100;if(0===n)return[255*i,255*i,255*i];var r=[0,0,0],o=e%1*6,a=o%1,s=1-a,l=0;switch(Math.floor(o)){case 0:r[0]=1,r[1]=a,r[2]=0;break;case 1:r[0]=s,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=a;break;case 3:r[0]=0,r[1]=s,r[2]=1;break;case 4:r[0]=a,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=s}return l=(1-n)*i,[255*(n*r[0]+l),255*(n*r[1]+l),255*(n*r[2]+l)]},r.hcg.hsv=function(t){var e=t[1]/100,n=t[2]/100,i=e+n*(1-e),r=0;return i>0&&(r=e/i),[t[0],100*r,100*i]},r.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100,i=n*(1-e)+.5*e,r=0;return i>0&&i<.5?r=e/(2*i):i>=.5&&i<1&&(r=e/(2*(1-i))),[t[0],100*r,100*i]},r.hcg.hwb=function(t){var e=t[1]/100,n=t[2]/100,i=e+n*(1-e);return[t[0],100*(i-e),100*(1-i)]},r.hwb.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=1-n,r=i-e,o=0;return r<1&&(o=(i-r)/(1-r)),[t[0],100*r,100*o]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=r.gray.hsv=function(t){return[0,0,t[0]]},r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=(e<<16)+(e<<8)+e,i=n.toString(16).toUpperCase();return"000000".substring(i.length)+i},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}),Ye=(qe.rgb,qe.hsl,qe.hsv,qe.hwb,qe.cmyk,qe.xyz,qe.lab,qe.lch,qe.hex,qe.keyword,qe.ansi16,qe.ansi256,qe.hcg,qe.apple,qe.gray,function(t){for(var e=n(t),i={},o=Object.keys(e),a=o.length,s=0;s<a;s++){var l=o[s];null!==e[l].parent&&(i[l]=r(l,e))}return i}),Xe={};Object.keys(qe).forEach(function(t){Xe[t]={},Object.defineProperty(Xe[t],"channels",{value:qe[t].channels}),Object.defineProperty(Xe[t],"labels",{value:qe[t].labels});var e=Ye(t);Object.keys(e).forEach(function(n){var i=e[n];Xe[t][n]=a(i),Xe[t][n].raw=o(i)})});var Ge=Xe,Ke={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],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Ze={getRgba:s,getHsla:l,getRgb:c,getHsl:d,getHwb:u,getAlpha:h,hexString:f,rgbString:p,rgbaString:g,percentString:v,percentaString:m,hslString:y,hslaString:b,hwbString:_,keyword:x},Qe={};for(var Je in Ke)Qe[Ke[Je]]=Je;var tn=function(t){if(t instanceof tn)return t;if(!(this instanceof tn))return new tn(t);this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1};var e;"string"==typeof t?(e=Ze.getRgba(t),e?this.setValues("rgb",e):(e=Ze.getHsla(t))?this.setValues("hsl",e):(e=Ze.getHwb(t))&&this.setValues("hwb",e)):"object"==typeof t&&(e=t,void 0!==e.r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e))};tn.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t%=360,t=t<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return Ze.hexString(this.values.rgb)},rgbString:function(){return Ze.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return Ze.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return Ze.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return Ze.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return Ze.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return Ze.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return Ze.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,i=t,r=void 0===e?.5:e,o=2*r-1,a=n.alpha()-i.alpha(),s=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,l=1-s;return this.rgb(s*n.red()+l*i.red(),s*n.green()+l*i.green(),s*n.blue()+l*i.blue()).alpha(n.alpha()*r+i.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new tn,i=this.values,r=n.values;for(var o in i)i.hasOwnProperty(o)&&(t=i[o],e={}.toString.call(t),"[object Array]"===e?r[o]=t.slice(0):"[object Number]"===e?r[o]=t:console.error("unexpected color value:",t));return n}},tn.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},tn.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},tn.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},tn.prototype.setValues=function(t,e){var n,i=this.values,r=this.spaces,o=this.maxes,a=1;if(this.valid=!0,"alpha"===t)a=e;else if(e.length)i[t]=e.slice(0,t.length),a=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)i[t][n]=e[t.charAt(n)];a=e.a}else if(void 0!==e[r[t][0]]){var s=r[t];for(n=0;n<t.length;n++)i[t][n]=e[s[n]];a=e.alpha}if(i.alpha=Math.max(0,Math.min(1,void 0===a?i.alpha:a)),"alpha"===t)return!1;var l;for(n=0;n<t.length;n++)l=Math.max(0,Math.min(o[t][n],i[t][n])),i[t][n]=Math.round(l);for(var u in r)u!==t&&(i[u]=Ge[t][u](i[t]));return!0},tn.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},tn.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:n===i[e]?this:(i[e]=n,this.setValues(t,i),this)},"undefined"!=typeof window&&(window.Color=tn);var en=tn,nn={noop:function(){},uid:function(){var t=0;return function(){return t++}}(),isNullOrUndef:function(t){return null===t||void 0===t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return nn.valueOrDefault(nn.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var r,o,a;if(nn.isArray(t))if(o=t.length,i)for(r=o-1;r>=0;r--)e.call(n,t[r],r);else for(r=0;r<o;r++)e.call(n,t[r],r);else if(nn.isObject(t))for(a=Object.keys(t),o=a.length,r=0;r<o;r++)e.call(n,t[a[r]],a[r])},arrayEquals:function(t,e){var n,i,r,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(r=t[n],o=e[n],r instanceof Array&&o instanceof Array){if(!nn.arrayEquals(r,o))return!1}else if(r!==o)return!1;return!0},clone:function(t){if(nn.isArray(t))return t.map(nn.clone);if(nn.isObject(t)){for(var e={},n=Object.keys(t),i=n.length,r=0;r<i;++r)e[n[r]]=nn.clone(t[n[r]]);return e}return t},_merger:function(t,e,n,i){var r=e[t],o=n[t];nn.isObject(r)&&nn.isObject(o)?nn.merge(r,o,i):e[t]=nn.clone(o)},_mergerIf:function(t,e,n){var i=e[t],r=n[t];nn.isObject(i)&&nn.isObject(r)?nn.mergeIf(i,r):e.hasOwnProperty(t)||(e[t]=nn.clone(r))},merge:function(t,e,n){var i,r,o,a,s,l=nn.isArray(e)?e:[e],u=l.length;if(!nn.isObject(t))return t;for(n=n||{},i=n.merger||nn._merger,r=0;r<u;++r)if(e=l[r],nn.isObject(e))for(o=Object.keys(e),s=0,a=o.length;s<a;++s)i(o[s],t,e,n);return t},mergeIf:function(t,e){return nn.merge(t,e,{merger:nn._mergerIf})},extend:Object.assign||function(t){return nn.merge(t,[].slice.call(arguments,1),{merger:function(t,e,n){e[t]=n[t]}})},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=e.prototype,n.prototype=new i,n.extend=nn.inherits,t&&nn.extend(n.prototype,t),n.__super__=e.prototype,n},_deprecated:function(t,e,n,i){void 0!==e&&console.warn(t+': "'+n+'" is deprecated. Please use "'+i+'" instead')}},rn=nn;nn.callCallback=nn.callback,nn.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},nn.getValueOrDefault=nn.valueOrDefault,nn.getValueAtIndexOrDefault=nn.valueAtIndexOrDefault;var on={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){
-return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-on.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*on.easeInBounce(2*t):.5*on.easeOutBounce(2*t-1)+.5}},an={effects:on};rn.easingEffects=on;var sn=Math.PI,ln=sn/180,un=2*sn,cn=sn/2,dn=sn/4,hn=2*sn/3,fn={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,r,o){if(o){var a=Math.min(o,r/2,i/2),s=e+a,l=n+a,u=e+i-a,c=n+r-a;t.moveTo(e,l),s<u&&l<c?(t.arc(s,l,a,-sn,-cn),t.arc(u,l,a,-cn,0),t.arc(u,c,a,0,cn),t.arc(s,c,a,cn,sn)):s<u?(t.moveTo(s,n),t.arc(u,l,a,-cn,cn),t.arc(s,l,a,cn,sn+cn)):l<c?(t.arc(s,l,a,-sn,0),t.arc(s,c,a,0,sn)):t.arc(s,l,a,-sn,sn),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,i,r)},drawPoint:function(t,e,n,i,r,o){var a,s,l,u,c,d=(o||0)*ln;if(e&&"object"==typeof e&&("[object HTMLImageElement]"===(a=e.toString())||"[object HTMLCanvasElement]"===a))return t.save(),t.translate(i,r),t.rotate(d),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n<=0)){switch(t.beginPath(),e){default:t.arc(i,r,n,0,un),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=hn,t.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=hn,t.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),t.closePath();break;case"rectRounded":c=.516*n,u=n-c,s=Math.cos(d+dn)*u,l=Math.sin(d+dn)*u,t.arc(i-s,r-l,c,d-sn,d-cn),t.arc(i+l,r-s,c,d-cn,d),t.arc(i+s,r+l,c,d,d+cn),t.arc(i-l,r+s,c,d+cn,d+sn),t.closePath();break;case"rect":if(!o){u=Math.SQRT1_2*n,t.rect(i-u,r-u,2*u,2*u);break}d+=dn;case"rectRot":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+l,r-s),t.lineTo(i+s,r+l),t.lineTo(i-l,r+s),t.closePath();break;case"crossRot":d+=dn;case"cross":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i+l,r-s),t.lineTo(i-l,r+s);break;case"star":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i+l,r-s),t.lineTo(i-l,r+s),d+=dn,s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i+l,r-s),t.lineTo(i-l,r+s);break;case"line":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l);break;case"dash":t.moveTo(i,r),t.lineTo(i+Math.cos(d)*n,r+Math.sin(d)*n)}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,n,i){var r=n.steppedLine;if(r){if("middle"===r){var o=(e.x+n.x)/2;t.lineTo(o,i?n.y:e.y),t.lineTo(o,i?e.y:n.y)}else"after"===r&&!i||"after"!==r&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);return void t.lineTo(n.x,n.y)}if(!n.tension)return void t.lineTo(n.x,n.y);t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y)}},pn=fn;rn.clear=fn.clear,rn.drawRoundedRectangle=function(t){t.beginPath(),fn.roundedRect.apply(fn,arguments)};var gn={_set:function(t,e){return rn.merge(this[t]||(this[t]={}),e)}};gn._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 vn=gn,mn=rn.valueOrDefault,yn={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,i,r;return rn.isObject(t)?(e=+t.top||0,n=+t.right||0,i=+t.bottom||0,r=+t.left||0):e=n=i=r=+t||0,{top:e,right:n,bottom:i,left:r,height:e+i,width:r+n}},_parseFont:function(t){var e=vn.global,n=mn(t.fontSize,e.defaultFontSize),i={family:mn(t.fontFamily,e.defaultFontFamily),lineHeight:rn.options.toLineHeight(mn(t.lineHeight,e.defaultLineHeight),n),size:n,style:mn(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return i.string=k(i),i},resolve:function(t,e,n,i){var r,o,a,s=!0;for(r=0,o=t.length;r<o;++r)if(void 0!==(a=t[r])&&(void 0!==e&&"function"==typeof a&&(a=a(e),s=!1),void 0!==n&&rn.isArray(a)&&(a=a[n],s=!1),void 0!==a))return i&&!s&&(i.cacheable=!1),a}},bn={_factorize:function(t){var e,n=[],i=Math.sqrt(t);for(e=1;e<i;e++)t%e==0&&(n.push(e),n.push(t/e));return i===(0|i)&&n.push(i),n.sort(function(t,e){return t-e}).pop(),n},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e}},_n=bn;rn.log10=bn.log10;var xn=function(t,e){return{x:function(n){return t+t+e-n},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}}},wn=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}}},Cn=function(t,e,n){return t?xn(e,n):wn()},kn=function(t,e){var n,i;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)},Sn=function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))},Tn={getRtlAdapter:Cn,overrideTextDirection:kn,restoreTextDirection:Sn},Dn=rn,An=an,En=pn,Mn=yn,On=_n,$n=Tn;Dn.easing=An,Dn.canvas=En,Dn.options=Mn,Dn.math=On,Dn.rtl=$n;var In=function(t){Dn.extend(this,t),this.initialize.apply(this,arguments)};Dn.extend(In.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=Dn.extend({},t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,i=e._start,r=e._view;return n&&1!==t?(r||(r=e._view={}),i||(i=e._start={}),S(i,r,n,t),e):(e._view=Dn.extend({},n),e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return Dn.isNumber(this._model.x)&&Dn.isNumber(this._model.y)}}),In.extend=Dn.inherits;var Fn=In,Pn=Fn.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Nn=Pn;Object.defineProperty(Pn.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(Pn.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),vn._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:Dn.noop,onComplete:Dn.noop}});var Ln={animations:[],request:null,addAnimation:function(t,e,n,i){var r,o,a=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=n,i||(t.animating=!0),r=0,o=a.length;r<o;++r)if(a[r].chart===t)return void(a[r]=e);a.push(e),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=Dn.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=Dn.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this;t.advance(),t.animations.length>0&&t.requestAnimationFrame()},advance:function(){for(var t,e,n,i,r=this.animations,o=0;o<r.length;)t=r[o],e=t.chart,n=t.numSteps,i=Math.floor((Date.now()-t.startTime)/t.duration*n)+1,t.currentStep=Math.min(i,n),Dn.callback(t.render,[e,t],e),Dn.callback(t.onAnimationProgress,[t],e),t.currentStep>=n?(Dn.callback(t.onAnimationComplete,[t],e),e.animating=!1,r.splice(o,1)):++o}},jn=Dn.options.resolve,Rn=["push","pop","shift","splice","unshift"],Un=function(t,e){this.initialize(t,e)};Dn.extend(Un.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.chart,i=n.scales,r=t.getDataset(),o=n.options.scales;null!==e.xAxisID&&e.xAxisID in i&&!r.xAxisID||(e.xAxisID=r.xAxisID||o.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in i&&!r.yAxisID||(e.yAxisID=r.yAxisID||o.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&D(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,n=e.dataElementType;return n&&new n({_chart:e.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,n=this,i=n.getMeta(),r=n.getDataset().data||[],o=i.data;for(t=0,e=r.length;t<e;++t)o[t]=o[t]||n.createMetaData(t);i.dataset=i.dataset||n.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t=this,e=t.getDataset(),n=e.data||(e.data=[]);t._data!==n&&(t._data&&D(t._data,t),n&&Object.isExtensible(n)&&T(n,t),t._data=n),t.resyncElements()},_configure:function(){var t=this;t._config=Dn.merge({},[t.chart.options.datasets[t._type],t.getDataset()],{merger:function(t,e,n){"_meta"!==t&&"data"!==t&&Dn._merger(t,e,n)}})},_update:function(t){var e=this;e._configure(),e._cachedDataOpts=null,e.update(t)},update:Dn.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,r=0;r<i;++r)n[r].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},getStyle:function(t){var e,n=this,i=n.getMeta(),r=i.dataset;return n._configure(),r&&void 0===t?e=n._resolveDatasetElementOptions(r||{}):(t=t||0,e=n._resolveDataElementOptions(i.data[t]||{},t)),!1!==e.fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var n,i,r,o,a=this,s=a.chart,l=a._config,u=t.custom||{},c=s.options.elements[a.datasetElementType.prototype._type]||{},d=a._datasetElementOptions,h={},f={chart:s,dataset:a.getDataset(),datasetIndex:a.index,hover:e};for(n=0,i=d.length;n<i;++n)r=d[n],o=e?"hover"+r.charAt(0).toUpperCase()+r.slice(1):r,h[r]=jn([u[o],l[o],c[o]],f);return h},_resolveDataElementOptions:function(t,e){var n=this,i=t&&t.custom,r=n._cachedDataOpts;if(r&&!i)return r;var o,a,s,l,u=n.chart,c=n._config,d=u.options.elements[n.dataElementType.prototype._type]||{},h=n._dataElementOptions,f={},p={chart:u,dataIndex:e,dataset:n.getDataset(),datasetIndex:n.index},g={cacheable:!i};if(i=i||{},Dn.isArray(h))for(a=0,s=h.length;a<s;++a)l=h[a],f[l]=jn([i[l],c[l],d[l]],p,e,g);else for(o=Object.keys(h),a=0,s=o.length;a<s;++a)l=o[a],f[l]=jn([i[l],c[h[l]],c[l],d[l]],p,e,g);return g.cacheable&&(n._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(t){Dn.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},r=t._model,o=Dn.getHoverColor;t.$previousStyle={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth},r.backgroundColor=jn([i.hoverBackgroundColor,e.hoverBackgroundColor,o(r.backgroundColor)],void 0,n),r.borderColor=jn([i.hoverBorderColor,e.hoverBorderColor,o(r.borderColor)],void 0,n),r.borderWidth=jn([i.hoverBorderWidth,e.hoverBorderWidth,r.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,n,i,r,o,a=this.getMeta().dataset,s={};if(a){for(o=a._model,r=this._resolveDatasetElementOptions(a,!0),i=Object.keys(r),t=0,e=i.length;t<e;++t)n=i[t],s[n]=o[n],o[n]=r[n];a.$previousStyle=s}},resyncElements:function(){var t=this,e=t.getMeta(),n=t.getDataset().data,i=e.data.length,r=n.length;r<i?e.data.splice(r,i-r):r>i&&t.insertElements(i,r-i)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),Un.extend=Dn.inherits;var Bn=Un,zn=2*Math.PI;vn._set("global",{elements:{arc:{backgroundColor:vn.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var Hn=Fn.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var i=Dn.getAngleFromPoint(n,{x:t,y:e}),r=i.angle,o=i.distance,a=n.startAngle,s=n.endAngle;s<a;)s+=zn;for(;r>s;)r-=zn;for(;r<a;)r+=zn;var l=r>=a&&r<=s,u=o>=n.innerRadius&&o<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/zn)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+zn,e.beginPath(),e.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),e.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),e.closePath(),t=0;t<r.fullCircles;++t)e.fill();r.endAngle=r.startAngle+n.circumference%zn}e.beginPath(),e.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),e.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),e.closePath(),e.fill(),n.borderWidth&&M(e,n,r),e.restore()}}),Wn=Dn.valueOrDefault,Vn=vn.global.defaultColor;vn._set("global",{elements:{line:{tension:.4,backgroundColor:Vn,borderWidth:3,borderColor:Vn,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var qn=Fn.extend({_type:"line",draw:function(){var t,e,n,i=this,r=i._view,o=i._chart.ctx,a=r.spanGaps,s=i._children.slice(),l=vn.global,u=l.elements.line,c=-1,d=i._loop;if(s.length){if(i._loop){for(t=0;t<s.length;++t)if(e=Dn.previousItem(s,t),!s[t]._view.skip&&e._view.skip){s=s.slice(t).concat(s.slice(0,t)),d=a;break}d&&s.push(s[0])}for(o.save(),o.lineCap=r.borderCapStyle||u.borderCapStyle,o.setLineDash&&o.setLineDash(r.borderDash||u.borderDash),o.lineDashOffset=Wn(r.borderDashOffset,u.borderDashOffset),o.lineJoin=r.borderJoinStyle||u.borderJoinStyle,o.lineWidth=Wn(r.borderWidth,u.borderWidth),o.strokeStyle=r.borderColor||l.defaultColor,o.beginPath(),n=s[0]._view,n.skip||(o.moveTo(n.x,n.y),c=0),t=1;t<s.length;++t)n=s[t]._view,e=-1===c?Dn.previousItem(s,t):s[c],n.skip||(c!==t-1&&!a||-1===c?o.moveTo(n.x,n.y):Dn.canvas.lineTo(o,e._view,n),c=t);d&&o.closePath(),o.stroke(),o.restore()}}}),Yn=Dn.valueOrDefault,Xn=vn.global.defaultColor;vn._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:Xn,borderColor:Xn,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var Gn=Fn.extend({_type:"point",inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:O,inXRange:O,inYRange:$,getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._chart.ctx,i=e.pointStyle,r=e.rotation,o=e.radius,a=e.x,s=e.y,l=vn.global,u=l.defaultColor;e.skip||(void 0===t||Dn.canvas._isPointInArea(e,t))&&(n.strokeStyle=e.borderColor||u,n.lineWidth=Yn(e.borderWidth,l.elements.point.borderWidth),n.fillStyle=e.backgroundColor||u,Dn.canvas.drawPoint(n,i,o,a,s,r))}}),Kn=vn.global.defaultColor;vn._set("global",{elements:{rectangle:{backgroundColor:Kn,borderColor:Kn,borderSkipped:"bottom",borderWidth:0}}});var Zn=Fn.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=j(e),i=n.outer,r=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.w===r.w&&i.h===r.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStyle=e.borderColor,t.rect(r.x,r.y,r.w,r.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return R(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return I(n)?R(n,t,null):R(n,null,e)},inXRange:function(t){return R(this._view,t,null)},inYRange:function(t){return R(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return I(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return I(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),Qn={},Jn=Hn,ti=qn,ei=Gn,ni=Zn;Qn.Arc=Jn,Qn.Line=ti,Qn.Point=ei,Qn.Rectangle=ni;var ii=Dn._deprecated,ri=Dn.valueOrDefault;vn._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),vn._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var oi=Bn.extend({dataElementType:Qn.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;Bn.prototype.initialize.apply(n,arguments),t=n.getMeta(),t.stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,ii("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),ii("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),ii("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),ii("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),ii("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,i=this,r=i.getMeta().data;for(i._ruler=i.getRuler(),e=0,n=r.length;e<n;++e)i.updateElement(r[e],e,t)},updateElement:function(t,e,n){var i=this,r=i.getMeta(),o=i.getDataset(),a=i._resolveDataElementOptions(t,e);t._xScale=i.getScaleForId(r.xAxisID),t._yScale=i.getScaleForId(r.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:o.label,label:i.chart.data.labels[e]},Dn.isArray(o.data[e])&&(t._model.borderSkipped=null),i._updateElementGeometry(t,e,n,a),t.pivot()},_updateElementGeometry:function(t,e,n,i){var r=this,o=t._model,a=r._getValueScale(),s=a.getBasePixel(),l=a.isHorizontal(),u=r._ruler||r.getRuler(),c=r.calculateBarValuePixels(r.index,e,i),d=r.calculateBarIndexPixels(r.index,e,u,i);o.horizontal=l,o.base=n?s:c.base,o.x=l?n?s:c.head:d.center,o.y=l?d.center:n?s:c.head,o.height=l?d.size:void 0,o.width=l?void 0:d.size},_getStacks:function(t){var e,n,i=this,r=i._getIndexScale(),o=r._getMatchingVisibleMetas(i._type),a=r.options.stacked,s=o.length,l=[];for(e=0;e<s&&(n=o[e],(!1===a||-1===l.indexOf(n.stack)||void 0===a&&void 0===n.stack)&&l.push(n.stack),n.index!==t);++e);return l},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),i=void 0!==e?n.indexOf(e):-1;return-1===i?n.length-1:i},getRuler:function(){var t,e,n=this,i=n._getIndexScale(),r=[];for(t=0,e=n.getMeta().data.length;t<e;++t)r.push(i.getPixelForValue(null,t,n.index));return{pixels:r,start:i._startPixel,end:i._endPixel,stackCount:n.getStackCount(),scale:i}},calculateBarValuePixels:function(t,e,n){var i,r,o,a,s,l,u,c=this,d=c.chart,h=c._getValueScale(),f=h.isHorizontal(),p=d.data.datasets,g=h._getMatchingVisibleMetas(c._type),v=h._parseValue(p[t].data[e]),m=n.minBarLength,y=h.options.stacked,b=c.getMeta().stack,_=void 0===v.start?0:v.max>=0&&v.min>=0?v.min:v.max,x=void 0===v.start?v.end:v.max>=0&&v.min>=0?v.max-v.min:v.min-v.max,w=g.length;if(y||void 0===y&&void 0!==b)for(i=0;i<w&&(r=g[i],r.index!==t);++i)r.stack===b&&(u=h._parseValue(p[r.index].data[e]),o=void 0===u.start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(v.min<0&&o<0||v.max>=0&&o>0)&&(_+=o));return a=h.getPixelForValue(_),s=h.getPixelForValue(_+x),l=s-a,void 0!==m&&Math.abs(l)<m&&(l=m,s=x>=0&&!f||x<0&&f?a-m:a+m),{size:l,base:a,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,n,i){var r=this,o="flex"===i.barThickness?z(e,n,i):B(e,n,i),a=r.getStackIndex(t,r.getMeta().stack),s=o.start+o.chunk*a+o.chunk/2,l=Math.min(ri(i.maxBarThickness,1/0),o.chunk*o.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}},draw:function(){var t=this,e=t.chart,n=t._getValueScale(),i=t.getMeta().data,r=t.getDataset(),o=i.length,a=0;for(Dn.canvas.clipArea(e.ctx,e.chartArea);a<o;++a){var s=n._parseValue(r.data[a]);isNaN(s.min)||isNaN(s.max)||i[a].draw()}Dn.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var t=this,e=Dn.extend({},Bn.prototype._resolveDataElementOptions.apply(t,arguments)),n=t._getIndexScale().options,i=t._getValueScale().options;return e.barPercentage=ri(n.barPercentage,e.barPercentage),e.barThickness=ri(n.barThickness,e.barThickness),e.categoryPercentage=ri(n.categoryPercentage,e.categoryPercentage),e.maxBarThickness=ri(n.maxBarThickness,e.maxBarThickness),e.minBarLength=ri(i.minBarLength,e.minBarLength),e}}),ai=Dn.valueOrDefault,si=Dn.options.resolve;vn._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}});var li=Bn.extend({dataElementType:Qn.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,n=e.getMeta(),i=n.data;Dn.each(i,function(n,i){e.updateElement(n,i,t)})},updateElement:function(t,e,n){var i=this,r=i.getMeta(),o=t.custom||{},a=i.getScaleForId(r.xAxisID),s=i.getScaleForId(r.yAxisID),l=i._resolveDataElementOptions(t,e),u=i.getDataset().data[e],c=i.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof u?u:NaN,e,c),h=n?s.getBasePixel():s.getPixelForValue(u,e,c);t._xScale=a,t._yScale=s,t._options=l,t._datasetIndex=c,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:o.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options,i=Dn.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=ai(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=ai(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=ai(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(t,e){var n=this,i=n.chart,r=n.getDataset(),o=t.custom||{},a=r.data[e]||{},s=Bn.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:i,dataIndex:e,dataset:r,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=Dn.extend({},s)),s.radius=si([o.radius,a.r,n._config.radius,i.options.elements.point.radius],l,e),s}}),ui=Dn.valueOrDefault,ci=Math.PI,di=2*ci,hi=ci/2;vn._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,n,i,r,o=document.createElement("ul"),a=t.data,s=a.datasets,l=a.labels;if(o.setAttribute("class",t.id+"-legend"),s.length)for(e=0,n=s[0].data.length;e<n;++e)i=o.appendChild(document.createElement("li")),r=i.appendChild(document.createElement("span")),r.style.backgroundColor=s[0].backgroundColor[e],l[e]&&i.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(n,i){var r=t.getDatasetMeta(0),o=r.controller.getStyle(i);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(e.datasets[0].data[i])||r.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,r,o=e.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)r=a.getDatasetMeta(n),r.data[o]&&(r.data[o].hidden=!r.data[o].hidden);a.update()}},cutoutPercentage:50,rotation:-hi,circumference:di,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return Dn.isArray(n)?(n=n.slice(),n[0]+=i):n+=i,n}}}});var fi=Bn.extend({dataElementType:Qn.Arc,linkScales:Dn.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e,n,i,r,o=this,a=o.chart,s=a.chartArea,l=a.options,u=1,c=1,d=0,h=0,f=o.getMeta(),p=f.data,g=l.cutoutPercentage/100||0,v=l.circumference,m=o._getRingWeight(o.index);if(v<di){var y=l.rotation%di;y+=y>=ci?-di:y<-ci?di:0;var b=y+v,_=Math.cos(y),x=Math.sin(y),w=Math.cos(b),C=Math.sin(b),k=y<=0&&b>=0||b>=di,S=y<=hi&&b>=hi||b>=di+hi,T=y===-ci||b>=ci,D=y<=-hi&&b>=-hi||b>=ci+hi,A=T?-1:Math.min(_,_*g,w,w*g),E=D?-1:Math.min(x,x*g,C,C*g),M=k?1:Math.max(_,_*g,w,w*g),O=S?1:Math.max(x,x*g,C,C*g);u=(M-A)/2,c=(O-E)/2,d=-(M+A)/2,h=-(O+E)/2}for(i=0,r=p.length;i<r;++i)p[i]._options=o._resolveDataElementOptions(p[i],i);for(a.borderWidth=o.getMaxBorderWidth(),e=(s.right-s.left-a.borderWidth)/u,n=(s.bottom-s.top-a.borderWidth)/c,a.outerRadius=Math.max(Math.min(e,n)/2,0),a.innerRadius=Math.max(a.outerRadius*g,0),a.radiusLength=(a.outerRadius-a.innerRadius)/(o._getVisibleDatasetWeightTotal()||1),a.offsetX=d*a.outerRadius,a.offsetY=h*a.outerRadius,f.total=o.calculateTotal(),o.outerRadius=a.outerRadius-a.radiusLength*o._getRingWeightOffset(o.index),o.innerRadius=Math.max(o.outerRadius-a.radiusLength*m,0),i=0,r=p.length;i<r;++i)o.updateElement(p[i],i,t)},updateElement:function(t,e,n){var i=this,r=i.chart,o=r.chartArea,a=r.options,s=a.animation,l=(o.left+o.right)/2,u=(o.top+o.bottom)/2,c=a.rotation,d=a.rotation,h=i.getDataset(),f=n&&s.animateRotate?0:t.hidden?0:i.calculateCircumference(h.data[e])*(a.circumference/di),p=n&&s.animateScale?0:i.innerRadius,g=n&&s.animateScale?0:i.outerRadius,v=t._options||{};Dn.extend(t,{_datasetIndex:i.index,_index:e,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:l+r.offsetX,y:u+r.offsetY,startAngle:c,endAngle:d,circumference:f,outerRadius:g,innerRadius:p,label:Dn.valueAtIndexOrDefault(h.label,e,r.data.labels[e])}});var m=t._model;n&&s.animateRotate||(m.startAngle=0===e?a.rotation:i.getMeta().data[e-1]._model.endAngle,m.endAngle=m.startAngle+m.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return Dn.each(n.data,function(n,r){t=e.data[r],isNaN(t)||n.hidden||(i+=Math.abs(t))}),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?di*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,i,r,o,a,s,l,u=this,c=0,d=u.chart;if(!t)for(e=0,n=d.data.datasets.length;e<n;++e)if(d.isDatasetVisible(e)){i=d.getDatasetMeta(e),t=i.data,e!==u.index&&(o=i.controller);break}if(!t)return 0;for(e=0,n=t.length;e<n;++e)r=t[e],o?(o._configure(),a=o._resolveDataElementOptions(r,e)):a=r._options,"inner"!==a.borderAlign&&(s=a.borderWidth,l=a.hoverBorderWidth,c=s>c?s:c,c=l>c?l:c);return c},setHoverStyle:function(t){var e=t._model,n=t._options,i=Dn.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=ui(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=ui(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=ui(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e},_getRingWeight:function(t){return Math.max(ui(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});vn._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),vn._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var pi=oi.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),gi=Dn.valueOrDefault,vi=Dn.options.resolve,mi=Dn.canvas._isPointInArea;vn._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var yi=Bn.extend({datasetElementType:Qn.Line,dataElementType:Qn.Point,
-_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,n,i=this,r=i.getMeta(),o=r.dataset,a=r.data||[],s=i.chart.options,l=i._config,u=i._showLine=gi(l.showLine,s.showLines);for(i._xScale=i.getScaleForId(r.xAxisID),i._yScale=i.getScaleForId(r.yAxisID),u&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=i._yScale,o._datasetIndex=i.index,o._children=a,o._model=i._resolveDatasetElementOptions(o),o.pivot()),e=0,n=a.length;e<n;++e)i.updateElement(a[e],e,t);for(u&&0!==o._model.tension&&i.updateBezierControlPoints(),e=0,n=a.length;e<n;++e)a[e].pivot()},updateElement:function(t,e,n){var i,r,o=this,a=o.getMeta(),s=t.custom||{},l=o.getDataset(),u=o.index,c=l.data[e],d=o._xScale,h=o._yScale,f=a.dataset._model,p=o._resolveDataElementOptions(t,e);i=d.getPixelForValue("object"==typeof c?c:NaN,e,u),r=n?h.getBasePixel():o.calculatePointY(c,e,u),t._xScale=d,t._yScale=h,t._options=p,t._datasetIndex=u,t._index=e,t._model={x:i,y:r,skip:s.skip||isNaN(i)||isNaN(r),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:gi(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:p.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this,n=e._config,i=t.custom||{},r=e.chart.options,o=r.elements.line,a=Bn.prototype._resolveDatasetElementOptions.apply(e,arguments);return a.spanGaps=gi(n.spanGaps,r.spanGaps),a.tension=gi(n.lineTension,o.tension),a.steppedLine=vi([i.steppedLine,n.steppedLine,o.stepped]),a.clip=V(gi(n.clip,W(e._xScale,e._yScale,a.borderWidth))),a},calculatePointY:function(t,e,n){var i,r,o,a,s,l,u,c=this,d=c.chart,h=c._yScale,f=0,p=0;if(h.options.stacked){for(s=+h.getRightValue(t),l=d._getSortedVisibleDatasetMetas(),u=l.length,i=0;i<u&&(o=l[i],o.index!==n);++i)r=d.data.datasets[o.index],"line"===o.type&&o.yAxisID===h.id&&(a=+h.getRightValue(r.data[e]),a<0?p+=a||0:f+=a||0);return s<0?h.getPixelForValue(p+s):h.getPixelForValue(f+s)}return h.getPixelForValue(t)},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,n,i,r,o=this,a=o.chart,s=o.getMeta(),l=s.dataset._model,u=a.chartArea,c=s.data||[];if(l.spanGaps&&(c=c.filter(function(t){return!t._model.skip})),"monotone"===l.cubicInterpolationMode)Dn.splineCurveMonotone(c);else for(e=0,n=c.length;e<n;++e)i=c[e]._model,r=Dn.splineCurve(Dn.previousItem(c,e)._model,i,Dn.nextItem(c,e)._model,l.tension),i.controlPointPreviousX=r.previous.x,i.controlPointPreviousY=r.previous.y,i.controlPointNextX=r.next.x,i.controlPointNextY=r.next.y;if(a.options.elements.line.capBezierPoints)for(e=0,n=c.length;e<n;++e)i=c[e]._model,mi(i,u)&&(e>0&&mi(c[e-1]._model,u)&&(i.controlPointPreviousX=t(i.controlPointPreviousX,u.left,u.right),i.controlPointPreviousY=t(i.controlPointPreviousY,u.top,u.bottom)),e<c.length-1&&mi(c[e+1]._model,u)&&(i.controlPointNextX=t(i.controlPointNextX,u.left,u.right),i.controlPointNextY=t(i.controlPointNextY,u.top,u.bottom)))},draw:function(){var t,e=this,n=e.chart,i=e.getMeta(),r=i.data||[],o=n.chartArea,a=n.canvas,s=0,l=r.length;for(e._showLine&&(t=i.dataset._model.clip,Dn.canvas.clipArea(n.ctx,{left:!1===t.left?0:o.left-t.left,right:!1===t.right?a.width:o.right+t.right,top:!1===t.top?0:o.top-t.top,bottom:!1===t.bottom?a.height:o.bottom+t.bottom}),i.dataset.draw(),Dn.canvas.unclipArea(n.ctx));s<l;++s)r[s].draw(o)},setHoverStyle:function(t){var e=t._model,n=t._options,i=Dn.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=gi(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=gi(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=gi(n.hoverBorderWidth,n.borderWidth),e.radius=gi(n.hoverRadius,n.radius)}}),bi=Dn.options.resolve;vn._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,n,i,r,o=document.createElement("ul"),a=t.data,s=a.datasets,l=a.labels;if(o.setAttribute("class",t.id+"-legend"),s.length)for(e=0,n=s[0].data.length;e<n;++e)i=o.appendChild(document.createElement("li")),r=i.appendChild(document.createElement("span")),r.style.backgroundColor=s[0].backgroundColor[e],l[e]&&i.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(n,i){var r=t.getDatasetMeta(0),o=r.controller.getStyle(i);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(e.datasets[0].data[i])||r.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,r,o=e.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)r=a.getDatasetMeta(n),r.data[o].hidden=!r.data[o].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var _i=Bn.extend({dataElementType:Qn.Arc,linkScales:Dn.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,n,i,r=this,o=r.getDataset(),a=r.getMeta(),s=r.chart.options.startAngle||0,l=r._starts=[],u=r._angles=[],c=a.data;for(r._updateRadius(),a.count=r.countVisibleElements(),e=0,n=o.data.length;e<n;e++)l[e]=s,i=r._computeAngle(e),u[e]=i,s+=i;for(e=0,n=c.length;e<n;++e)c[e]._options=r._resolveDataElementOptions(c[e],e),r.updateElement(c[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,n=e.chartArea,i=e.options,r=Math.min(n.right-n.left,n.bottom-n.top);e.outerRadius=Math.max(r/2,0),e.innerRadius=Math.max(i.cutoutPercentage?e.outerRadius/100*i.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,n){var i=this,r=i.chart,o=i.getDataset(),a=r.options,s=a.animation,l=r.scale,u=r.data.labels,c=l.xCenter,d=l.yCenter,h=a.startAngle,f=t.hidden?0:l.getDistanceFromCenterForValue(o.data[e]),p=i._starts[e],g=p+(t.hidden?0:i._angles[e]),v=s.animateScale?0:l.getDistanceFromCenterForValue(o.data[e]),m=t._options||{};Dn.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:c,y:d,innerRadius:0,outerRadius:n?v:f,startAngle:n&&s.animateRotate?h:p,endAngle:n&&s.animateRotate?h:g,label:Dn.valueAtIndexOrDefault(u,e,u[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return Dn.each(e.data,function(e,i){isNaN(t.data[i])||e.hidden||n++}),n},setHoverStyle:function(t){var e=t._model,n=t._options,i=Dn.getHoverColor,r=Dn.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=r(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=r(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=r(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(t){var e=this,n=this.getMeta().count,i=e.getDataset(),r=e.getMeta();if(isNaN(i.data[t])||r.data[t].hidden)return 0;var o={chart:e.chart,dataIndex:t,dataset:i,datasetIndex:e.index};return bi([e.chart.options.elements.arc.angle,2*Math.PI/n],o,t)}});vn._set("pie",Dn.clone(vn.doughnut)),vn._set("pie",{cutoutPercentage:0});var xi=fi,wi=Dn.valueOrDefault;vn._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Ci=Bn.extend({datasetElementType:Qn.Line,dataElementType:Qn.Point,linkScales:Dn.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,i=this,r=i.getMeta(),o=r.dataset,a=r.data||[],s=i.chart.scale,l=i._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=s,o._datasetIndex=i.index,o._children=a,o._loop=!0,o._model=i._resolveDatasetElementOptions(o),o.pivot(),e=0,n=a.length;e<n;++e)i.updateElement(a[e],e,t);for(i.updateBezierControlPoints(),e=0,n=a.length;e<n;++e)a[e].pivot()},updateElement:function(t,e,n){var i=this,r=t.custom||{},o=i.getDataset(),a=i.chart.scale,s=a.getPointPositionForValue(e,o.data[e]),l=i._resolveDataElementOptions(t,e),u=i.getMeta().dataset._model,c=n?a.xCenter:s.x,d=n?a.yCenter:s.y;t._scale=a,t._options=l,t._datasetIndex=i.index,t._index=e,t._model={x:c,y:d,skip:r.skip||isNaN(c)||isNaN(d),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:wi(r.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var t=this,e=t._config,n=t.chart.options,i=Bn.prototype._resolveDatasetElementOptions.apply(t,arguments);return i.spanGaps=wi(e.spanGaps,n.spanGaps),i.tension=wi(e.lineTension,n.elements.line.tension),i},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,n,i,r,o=this,a=o.getMeta(),s=o.chart.chartArea,l=a.data||[];for(a.dataset._model.spanGaps&&(l=l.filter(function(t){return!t._model.skip})),e=0,n=l.length;e<n;++e)i=l[e]._model,r=Dn.splineCurve(Dn.previousItem(l,e,!0)._model,i,Dn.nextItem(l,e,!0)._model,i.tension),i.controlPointPreviousX=t(r.previous.x,s.left,s.right),i.controlPointPreviousY=t(r.previous.y,s.top,s.bottom),i.controlPointNextX=t(r.next.x,s.left,s.right),i.controlPointNextY=t(r.next.y,s.top,s.bottom)},setHoverStyle:function(t){var e=t._model,n=t._options,i=Dn.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=wi(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=wi(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=wi(n.hoverBorderWidth,n.borderWidth),e.radius=wi(n.hoverRadius,n.radius)}});vn._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),vn._set("global",{datasets:{scatter:{showLine:!1}}});var ki=yi,Si={bar:oi,bubble:li,doughnut:fi,horizontalBar:pi,line:yi,polarArea:_i,pie:xi,radar:Ci,scatter:ki},Ti={modes:{single:function(t,e){var n=q(e,t),i=[];return Y(t,function(t){if(t.inRange(n.x,n.y))return i.push(t),i}),i.slice(0,1)},label:Z,index:Z,dataset:function(t,e,n){var i=q(e,t);n.axis=n.axis||"xy";var r=K(n.axis),o=n.intersect?X(t,i):G(t,i,!1,r);return o.length>0&&(o=t.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(t,e){return Z(t,e,{intersect:!1})},point:function(t,e){return X(t,q(e,t))},nearest:function(t,e,n){var i=q(e,t);n.axis=n.axis||"xy";var r=K(n.axis);return G(t,i,n.intersect,r)},x:function(t,e,n){var i=q(e,t),r=[],o=!1;return Y(t,function(t){t.inXRange(i.x)&&r.push(t),t.inRange(i.x,i.y)&&(o=!0)}),n.intersect&&!o&&(r=[]),r},y:function(t,e,n){var i=q(e,t),r=[],o=!1;return Y(t,function(t){t.inYRange(i.y)&&r.push(t),t.inRange(i.x,i.y)&&(o=!0)}),n.intersect&&!o&&(r=[]),r}}},Di=Dn.extend;vn._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var Ai={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,r=["fullWidth","position","weight"],o=r.length,a=0;a<o;++a)i=r[a],n.hasOwnProperty(i)&&(e[i]=n[i])},update:function(t,e,n){if(t){var i=t.options.layout||{},r=Dn.options.toPadding(i.padding),o=e-r.width,a=n-r.height,s=nt(t.boxes),l=s.vertical,u=s.horizontal,c=Object.freeze({outerWidth:e,outerHeight:n,padding:r,availableWidth:o,vBoxMaxWidth:o/2/l.length,hBoxMaxHeight:a/2}),d=Di({maxPadding:Di({},r),w:o,h:a,x:r.left,y:r.top},r);et(l.concat(u),c),st(l,d,c),st(u,d,c)&&st(l,d,c),ot(d),lt(s.leftAndTop,d,c),d.x+=d.w,d.y+=d.h,lt(s.rightAndBottom,d,c),t.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h},Dn.each(s.chartArea,function(e){var n=e.box;Di(n,t.chartArea),n.update(d.w,d.h)})}}},Ei={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}},Mi=Object.freeze({__proto__:null,default:"/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n"}),Oi=function(t){return t&&t.default||t}(Mi),$i="$chartjs",Ii="chartjs-size-monitor",Fi="chartjs-render-monitor",Pi="chartjs-render-animation",Ni=["animationstart","webkitAnimationStart"],Li={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ji=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}(),Ri=!!ji&&{passive:!0},Ui={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document;wt(e.host?e:document.head,Oi)}},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(this._ensureLoaded(t),ct(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e[$i]){var n=e[$i].initial;["height","width"].forEach(function(t){var i=n[t];Dn.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)}),Dn.each(n.style||{},function(t,n){e.style[n]=t}),e.width=e.width,delete e[$i]}},addEventListener:function(t,e,n){var i=t.canvas;if("resize"===e)return void _t(i,n,t);var r=n[$i]||(n[$i]={});dt(i,e,(r.proxies||(r.proxies={}))[t.id+"_"+e]=function(e){n(pt(e,t))})},removeEventListener:function(t,e,n){var i=t.canvas;if("resize"===e)return void xt(i);var r=n[$i]||{},o=r.proxies||{},a=o[t.id+"_"+e];a&&ht(i,e,a)}};Dn.addEvent=dt,Dn.removeEvent=ht;var Bi=Ui._enabled?Ui:Ei,zi=Dn.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Bi);vn._set("global",{plugins:{}});var Hi={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,r,o,a,s,l=this.descriptors(t),u=l.length;for(i=0;i<u;++i)if(r=l[i],o=r.plugin,"function"==typeof(s=o[e])&&(a=[t].concat(n||[]),a.push(r.options),!1===s.apply(o,a)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],i=[],r=t&&t.config||{},o=r.options&&r.options.plugins||{};return this._plugins.concat(r.plugins||[]).forEach(function(t){if(-1===n.indexOf(t)){var e=t.id,r=o[e];!1!==r&&(!0===r&&(r=Dn.clone(vn.global.plugins[e])),n.push(t),i.push({plugin:t,options:r||{}}))}}),e.descriptors=i,e.id=this._cacheId,i},_invalidate:function(t){delete t.$plugins}},Wi={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=Dn.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?Dn.merge({},[vn.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){var n=this;n.defaults.hasOwnProperty(t)&&(n.defaults[t]=Dn.extend(n.defaults[t],e))},addScalesToLayout:function(t){Dn.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,Ai.addBox(t,e)})}},Vi=Dn.valueOrDefault,qi=Dn.rtl.getRtlAdapter;vn._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:Dn.noop,title:function(t,e){var n="",i=e.labels,r=i?i.length:0;if(t.length>0){var o=t[0];o.label?n=o.label:o.xLabel?n=o.xLabel:r>0&&o.index<r&&(n=i[o.index])}return n},afterTitle:Dn.noop,beforeBody:Dn.noop,beforeLabel:Dn.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),Dn.isNullOrUndef(t.value)?n+=t.yLabel:n+=t.value,n},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex),i=n.data[t.index],r=i._view;return{borderColor:r.borderColor,backgroundColor:r.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:Dn.noop,afterBody:Dn.noop,beforeFooter:Dn.noop,footer:Dn.noop,afterFooter:Dn.noop}}});var Yi={average:function(t){if(!t.length)return!1;var e,n,i=0,r=0,o=0;for(e=0,n=t.length;e<n;++e){var a=t[e];if(a&&a.hasValue()){var s=a.tooltipPosition();i+=s.x,r+=s.y,++o}}return{x:i/o,y:r/o}},nearest:function(t,e){var n,i,r,o=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){var l=t[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),c=Dn.distanceBetweenPoints(e,u);c<s&&(s=c,r=l)}}if(r){var d=r.tooltipPosition();o=d.x,a=d.y}return{x:o,y:a}}},Xi=Fn.extend({initialize:function(){this._model=Tt(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,n=e.callbacks,i=n.beforeTitle.apply(t,arguments),r=n.title.apply(t,arguments),o=n.afterTitle.apply(t,arguments),a=[];return a=Ct(a,kt(i)),a=Ct(a,kt(r)),a=Ct(a,kt(o))},getBeforeBody:function(){return Ot(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,i=n._options.callbacks,r=[];return Dn.each(t,function(t){var o={before:[],lines:[],after:[]};Ct(o.before,kt(i.beforeLabel.call(n,t,e))),Ct(o.lines,i.label.call(n,t,e)),Ct(o.after,kt(i.afterLabel.call(n,t,e))),r.push(o)}),r},getAfterBody:function(){return Ot(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),i=e.footer.apply(t,arguments),r=e.afterFooter.apply(t,arguments),o=[];return o=Ct(o,kt(n)),o=Ct(o,kt(i)),o=Ct(o,kt(r))},update:function(t){var e,n,i=this,r=i._options,o=i._model,a=i._model=Tt(r),s=i._active,l=i._data,u={xAlign:o.xAlign,yAlign:o.yAlign},c={x:o.x,y:o.y},d={width:o.width,height:o.height},h={x:o.caretX,y:o.caretY};if(s.length){a.opacity=1;var f=[],p=[];h=Yi[r.position].call(i,s,i._eventPosition);var g=[];for(e=0,n=s.length;e<n;++e)g.push(St(s[e]));r.filter&&(g=g.filter(function(t){return r.filter(t,l)})),r.itemSort&&(g=g.sort(function(t,e){return r.itemSort(t,e,l)})),Dn.each(g,function(t){f.push(r.callbacks.labelColor.call(i,t,i._chart)),p.push(r.callbacks.labelTextColor.call(i,t,i._chart))}),a.title=i.getTitle(g,l),a.beforeBody=i.getBeforeBody(g,l),a.body=i.getBody(g,l),a.afterBody=i.getAfterBody(g,l),a.footer=i.getFooter(g,l),a.x=h.x,a.y=h.y,a.caretPadding=r.caretPadding,a.labelColors=f,a.labelTextColors=p,a.dataPoints=g,d=Dt(this,a),u=At(this,d),c=Et(a,d,u,i._chart)}else a.opacity=0;return a.xAlign=u.xAlign,a.yAlign=u.yAlign,a.x=c.x,a.y=c.y,a.width=d.width,a.height=d.height,a.caretX=h.x,a.caretY=h.y,i._model=a,t&&r.custom&&r.custom.call(i,a),i},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,r=this.getCaretPosition(t,e,i);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)},getCaretPosition:function(t,e,n){var i,r,o,a,s,l,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=t.x,p=t.y,g=e.width,v=e.height;if("center"===h)s=p+v/2,"left"===d?(i=f,r=i-u,o=i,a=s+u,l=s-u):(i=f+g,r=i+u,o=i,a=s-u,l=s+u);else if("left"===d?(r=f+c+u,i=r-u,o=r+u):"right"===d?(r=f+g-c-u,i=r-u,o=r+u):(r=n.caretX,i=r-u,o=r+u),"top"===h)a=p,s=a-u,l=a;else{a=p+v,s=a+u,l=a;var m=o;o=i,i=m}return{x1:i,x2:r,x3:o,y1:a,y2:s,y3:l}},drawTitle:function(t,e,n){var i,r,o,a=e.title,s=a.length;if(s){var l=qi(e.rtl,e.x,e.width);for(t.x=Mt(e,e._titleAlign),n.textAlign=l.textAlign(e._titleAlign),n.textBaseline="middle",i=e.titleFontSize,r=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=Dn.fontString(i,e._titleFontStyle,e._titleFontFamily),o=0;o<s;++o)n.fillText(a[o],l.x(t.x),t.y+i/2),t.y+=i+r,o+1===s&&(t.y+=e.titleMarginBottom-r)}},drawBody:function(t,e,n){var i,r,o,a,s,l,u,c,d=e.bodyFontSize,h=e.bodySpacing,f=e._bodyAlign,p=e.body,g=e.displayColors,v=0,m=g?Mt(e,"left"):0,y=qi(e.rtl,e.x,e.width),b=function(e){n.fillText(e,y.x(t.x+v),t.y+d/2),t.y+=d+h},_=y.textAlign(f);for(n.textAlign=f,n.textBaseline="middle",n.font=Dn.fontString(d,e._bodyFontStyle,e._bodyFontFamily),t.x=Mt(e,_),n.fillStyle=e.bodyFontColor,Dn.each(e.beforeBody,b),v=g&&"right"!==_?"center"===f?d/2+1:d+2:0,s=0,u=p.length;s<u;++s){for(i=p[s],r=e.labelTextColors[s],o=e.labelColors[s],n.fillStyle=r,Dn.each(i.before,b),a=i.lines,l=0,c=a.length;l<c;++l){if(g){var x=y.x(m);n.fillStyle=e.legendColorBackground,n.fillRect(y.leftForLtr(x,d),t.y,d,d),n.lineWidth=1,n.strokeStyle=o.borderColor,n.strokeRect(y.leftForLtr(x,d),t.y,d,d),n.fillStyle=o.backgroundColor,n.fillRect(y.leftForLtr(y.xPlus(x,1),d-2),t.y+1,d-2,d-2),n.fillStyle=r}b(a[l])}Dn.each(i.after,b)}v=0,Dn.each(e.afterBody,b),t.y-=h},drawFooter:function(t,e,n){var i,r,o=e.footer,a=o.length;if(a){var s=qi(e.rtl,e.x,e.width);for(t.x=Mt(e,e._footerAlign),t.y+=e.footerMarginTop,n.textAlign=s.textAlign(e._footerAlign),n.textBaseline="middle",i=e.footerFontSize,n.fillStyle=e.footerFontColor,n.font=Dn.fontString(i,e._footerFontStyle,e._footerFontFamily),r=0;r<a;++r)n.fillText(o[r],s.x(t.x),t.y+i/2),t.y+=i+e.footerSpacing}},drawBackground:function(t,e,n,i){n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,n.lineWidth=e.borderWidth;var r=e.xAlign,o=e.yAlign,a=t.x,s=t.y,l=i.width,u=i.height,c=e.cornerRadius;n.beginPath(),n.moveTo(a+c,s),"top"===o&&this.drawCaret(t,i),n.lineTo(a+l-c,s),n.quadraticCurveTo(a+l,s,a+l,s+c),"center"===o&&"right"===r&&this.drawCaret(t,i),n.lineTo(a+l,s+u-c),n.quadraticCurveTo(a+l,s+u,a+l-c,s+u),"bottom"===o&&this.drawCaret(t,i),n.lineTo(a+c,s+u),n.quadraticCurveTo(a,s+u,a,s+u-c),"center"===o&&"left"===r&&this.drawCaret(t,i),n.lineTo(a,s+c),n.quadraticCurveTo(a,s,a+c,s),n.closePath(),n.fill(),e.borderWidth>0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity,o=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&o&&(t.save(),t.globalAlpha=r,this.drawBackground(i,e,t,n),i.y+=e.yPadding,Dn.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),Dn.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e=this,n=e._options,i=!1;return e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:(e._active=e._chart.getElementsAtEventForMode(t,n.mode,n),n.reverse&&e._active.reverse()),i=!Dn.arrayEquals(e._active,e._lastActive),i&&(e._lastActive=e._active,(n.enabled||n.custom)&&(e._eventPosition={x:t.x,y:t.y},e.update(!0),e.pivot())),i}}),Gi=Yi,Ki=Xi;Ki.positioners=Gi;var Zi=Dn.valueOrDefault;vn._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Qi=function(t,e){return this.construct(t,e),this};Dn.extend(Qi.prototype,{construct:function(t,e){var n=this;e=Ft(e);var i=zi.acquireContext(t,e),r=i&&i.canvas,o=r&&r.height,a=r&&r.width;if(n.id=Dn.uid(),n.ctx=i,n.canvas=r,n.config=e,n.width=a,n.height=o,n.aspectRatio=o?a/o:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Qi.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),!i||!r)return void console.error("Failed to create chart: can't acquire context from the given item");n.initialize(),n.update()},initialize:function(){var t=this;return Hi.notify(t,"beforeInit"),Dn.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Hi.notify(t,"afterInit"),t},clear:function(){return Dn.canvas.clear(this),this},stop:function(){return Ln.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,r=n.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(Dn.getMaximumWidth(i))),a=Math.max(0,Math.floor(r?o/r:Dn.getMaximumHeight(i)));if((e.width!==o||e.height!==a)&&(i.width=e.width=o,i.height=e.height=a,i.style.width=o+"px",i.style.height=a+"px",Dn.retinaScale(e,n.devicePixelRatio),!t)){var s={width:o,height:a};Hi.notify(e,"resize",[s]),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;Dn.each(e.xAxes,function(t,n){t.id||(t.id=Nt(e.xAxes,"x-axis-",n))}),Dn.each(e.yAxes,function(t,n){t.id||(t.id=Nt(e.yAxes,"y-axis-",n))}),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},i=[],r=Object.keys(n).reduce(function(t,e){return t[e]=!1,t},{});e.scales&&(i=i.concat((e.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),e.scale&&i.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),Dn.each(i,function(e){var i=e.options,o=i.id,a=Zi(i.type,e.dtype);Lt(i.position)!==Lt(e.dposition)&&(i.position=e.dposition),r[o]=!0;var s=null;if(o in n&&n[o].type===a)s=n[o],s.options=i,s.ctx=t.ctx,s.chart=t;else{var l=Wi.getScaleConstructor(a);if(!l)return;s=new l({id:o,type:a,options:i,ctx:t.ctx,chart:t}),n[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)}),Dn.each(r,function(t,e){t||delete n[e]}),t.scales=n,Wi.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,i=[],r=n.data.datasets;for(t=0,e=r.length;t<e;t++){var o=r[t],a=n.getDatasetMeta(t),s=o.type||n.config.type;if(a.type&&a.type!==s&&(n.destroyDatasetMeta(t),a=n.getDatasetMeta(t)),a.type=s,a.order=o.order||0,a.index=t,a.controller)a.controller.updateIndex(t),a.controller.linkScales();else{var l=Si[a.type];if(void 0===l)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new l(n,t),i.push(a.controller)}}return i},resetElements:function(){var t=this;Dn.each(t.data.datasets,function(e,n){t.getDatasetMeta(n).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,i=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),Pt(i),Hi._invalidate(i),!1!==Hi.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var r=i.buildOrUpdateControllers();for(e=0,n=i.data.datasets.length;e<n;e++)i.getDatasetMeta(e).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&Dn.each(r,function(t){t.reset()}),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],Hi.notify(i,"afterUpdate"),i._layers.sort(jt("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){var t=this;!1!==Hi.notify(t,"beforeLayout")&&(Ai.update(this,this.width,this.height),t._layers=[],Dn.each(t.boxes,function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())},t),t._layers.forEach(function(t,e){t._idx=e}),Hi.notify(t,"afterScaleUpdate"),Hi.notify(t,"afterLayout"))},updateDatasets:function(){var t=this;if(!1!==Hi.notify(t,"beforeDatasetsUpdate")){for(var e=0,n=t.data.datasets.length;e<n;++e)t.updateDataset(e);Hi.notify(t,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this,n=e.getDatasetMeta(t),i={meta:n,index:t};!1!==Hi.notify(e,"beforeDatasetUpdate",[i])&&(n.controller._update(),Hi.notify(e,"afterDatasetUpdate",[i]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=e.options.animation,i=Zi(t.duration,n&&n.duration),r=t.lazy;if(!1!==Hi.notify(e,"beforeRender")){var o=function(t){Hi.notify(e,"afterRender"),Dn.callback(n&&n.onComplete,[t],e)};if(n&&i){var a=new Nn({numSteps:i/16.66,easing:t.easing||n.easing,render:function(t,e){var n=Dn.easing.effects[e.easing],i=e.currentStep,r=i/e.numSteps;t.draw(n(r),r,i)},onAnimationProgress:n.onProgress,onAnimationComplete:o});Ln.addAnimation(e,a,i,r)}else e.draw(),o(new Nn({numSteps:0,chart:e}));return e}},draw:function(t){var e,n,i=this;if(i.clear(),Dn.isNullOrUndef(t)&&(t=1),i.transition(t),!(i.width<=0||i.height<=0)&&!1!==Hi.notify(i,"beforeDraw",[t])){for(n=i._layers,e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(i.chartArea);for(i.drawDatasets(t);e<n.length;++e)n[e].draw(i.chartArea);i._drawTooltip(t),Hi.notify(i,"afterDraw",[t])}},transition:function(t){for(var e=this,n=0,i=(e.data.datasets||[]).length;n<i;++n)e.isDatasetVisible(n)&&e.getDatasetMeta(n).controller.transition(t);e.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,i=this,r=i.data.datasets||[],o=[];for(e=0,n=r.length;e<n;++e)t&&!i.isDatasetVisible(e)||o.push(i.getDatasetMeta(e));return o.sort(jt("order","index")),o},_getSortedVisibleDatasetMetas:function(){
-return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n,i=this;if(!1!==Hi.notify(i,"beforeDatasetsDraw",[t])){for(e=i._getSortedVisibleDatasetMetas(),n=e.length-1;n>=0;--n)i.drawDataset(e[n],t);Hi.notify(i,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this,i={meta:t,index:t.index,easingValue:e};!1!==Hi.notify(n,"beforeDatasetDraw",[i])&&(t.controller.draw(e),Hi.notify(n,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this,n=e.tooltip,i={tooltip:n,easingValue:t};!1!==Hi.notify(e,"beforeTooltipDraw",[i])&&(n.draw(),Hi.notify(e,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return Ti.modes.single(this,t)},getElementsAtEvent:function(t){return Ti.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Ti.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=Ti.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return Ti.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this,n=e.data.datasets[t];n._meta||(n._meta={});var i=n._meta[e.id];return i||(i=n._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n.order||0,index:t}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],i=n._meta&&n._meta[e];i&&(i.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,i=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),Dn.canvas.clear(n),zi.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Hi.notify(n,"destroy"),delete Qi.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new Ki({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};Dn.each(t.options.events,function(i){zi.addEventListener(t,i,n),e[i]=n}),t.options.responsive&&(n=function(){t.resize()},zi.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,Dn.each(e,function(e,n){zi.removeEventListener(t,n,e)}))},updateHoverStyle:function(t,e,n){var i,r,o,a=n?"set":"remove";for(r=0,o=t.length;r<o;++r)(i=t[r])&&this.getDatasetMeta(i._datasetIndex).controller[a+"HoverStyle"](i);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+a+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==Hi.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);n&&(i=n._start?n.handleEvent(t):i|n.handleEvent(t)),Hi.notify(e,"afterEvent",[t]);var r=e._bufferedRequest;return r?e.render(r):i&&!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,n=e.options||{},i=n.hover,r=!1;return e.lastActive=e.lastActive||[],"mouseout"===t.type?e.active=[]:e.active=e.getElementsAtEventForMode(t,i.mode,i),Dn.callback(n.onHover||n.hover.onHover,[t.native,e.active],e),"mouseup"!==t.type&&"click"!==t.type||n.onClick&&n.onClick.call(e,t.native,e.active),e.lastActive.length&&e.updateHoverStyle(e.lastActive,i.mode,!1),e.active.length&&i.mode&&e.updateHoverStyle(e.active,i.mode,!0),r=!Dn.arrayEquals(e.active,e.lastActive),e.lastActive=e.active,r}}),Qi.instances={};var Ji=Qi;Qi.Controller=Qi,Qi.types={},Dn.configMerge=It,Dn.scaleMerge=$t;Dn.extend(Ut.prototype,{formats:Rt,parse:Rt,format:Rt,add:Rt,diff:Rt,startOf:Rt,endOf:Rt,_create:function(t){return t}}),Ut.override=function(t){Dn.extend(Ut.prototype,t)};var tr=Ut,er={_date:tr},nr={formatters:{values:function(t){return Dn.isArray(t)?t:""+t},linear:function(t,e,n){var i=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var r=Dn.log10(Math.abs(i)),o="";if(0!==t){if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var a=Dn.log10(Math.abs(t)),s=Math.floor(a)-Math.floor(r);s=Math.max(Math.min(s,20),0),o=t.toExponential(s)}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,n){var i=t/Math.pow(10,Math.floor(Dn.log10(t)));return 0===t?"0":1===i||2===i||5===i||0===e||e===n.length-1?t.toExponential():""}}},ir=Dn.isArray,rr=Dn.isNullOrUndef,or=Dn.valueOrDefault,ar=Dn.valueAtIndexOrDefault;vn._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 sr=Fn.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(){Dn.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,r,o,a,s,l=this,u=l.options.ticks,c=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=Dn.extend({left:0,right:0,top:0,bottom:0},n),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(),a=l.buildTicks()||[],(!(a=l.afterBuildTicks(a)||a)||!a.length)&&l.ticks)for(a=[],i=0,r=l.ticks.length;i<r;++i)a.push({value:l.ticks[i],major:!1});return l._ticks=a,s=c<a.length,o=l._convertTicksToLabels(s?Bt(a,c):a),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(a):a,s&&(o=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=o,l.afterUpdate(),l.minSize},_configure:function(){var t,e,n=this,i=n.options.ticks.reverse;n.isHorizontal()?(t=n.left,e=n.right):(t=n.top,e=n.bottom,i=!i),n._startPixel=t,n._endPixel=e,n._reversePixels=i,n._length=e-t},afterUpdate:function(){Dn.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){Dn.callback(this.options.beforeSetDimensions,[this])},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},afterSetDimensions:function(){Dn.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){Dn.callback(this.options.beforeDataLimits,[this])},determineDataLimits:Dn.noop,afterDataLimits:function(){Dn.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){Dn.callback(this.options.beforeBuildTicks,[this])},buildTicks:Dn.noop,afterBuildTicks:function(t){var e=this;return ir(t)&&t.length?Dn.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=Dn.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){Dn.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this,e=t.options.ticks;t.ticks=t.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){Dn.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){Dn.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,n,i,r,o,a,s=this,l=s.options,u=l.ticks,c=s.getTicks().length,d=u.minRotation||0,h=u.maxRotation,f=d;if(!s._isVisible()||!u.display||d>=h||c<=1||!s.isHorizontal())return void(s.labelRotation=d);t=s._getLabelSizes(),e=t.widest.width,n=t.highest.height-t.highest.offset,i=Math.min(s.maxWidth,s.chart.width-e),r=l.offset?s.maxWidth/c:i/(c-1),e+6>r&&(r=i/(c-(l.offset?.5:1)),o=s.maxHeight-Vt(l.gridLines)-u.padding-qt(l.scaleLabel),a=Math.sqrt(e*e+n*n),f=Dn.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/r,1)),Math.asin(Math.min(o/a,1))-Math.asin(n/a))),f=Math.max(d,Math.min(h,f))),s.labelRotation=f},afterCalculateTickRotation:function(){Dn.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){Dn.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,i=t.options,r=i.ticks,o=i.scaleLabel,a=i.gridLines,s=t._isVisible(),l="bottom"===i.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:s&&(e.width=Vt(a)+qt(o)),u?s&&(e.height=Vt(a)+qt(o)):e.height=t.maxHeight,r.display&&s){var c=Xt(r),d=t._getLabelSizes(),h=d.first,f=d.last,p=d.widest,g=d.highest,v=.4*c.minor.lineHeight,m=r.padding;if(u){var y=0!==t.labelRotation,b=Dn.toRadians(t.labelRotation),_=Math.cos(b),x=Math.sin(b),w=x*p.width+_*(g.height-(y?g.offset:0))+(y?0:v);e.height=Math.min(t.maxHeight,e.height+w+m);var C,k,S=t.getPixelForTick(0)-t.left,T=t.right-t.getPixelForTick(t.getTicks().length-1);y?(C=l?_*h.width+x*h.offset:x*(h.height-h.offset),k=l?x*(f.height-f.offset):_*f.width+x*f.offset):(C=h.width/2,k=f.width/2),t.paddingLeft=Math.max((C-S)*t.width/(t.width-S),0)+3,t.paddingRight=Math.max((k-T)*t.width/(t.width-T),0)+3}else{var D=r.mirror?0:p.width+m+v;e.width=Math.min(t.maxWidth,e.width+D),t.paddingTop=h.height/2,t.paddingBottom=f.height/2}}t.handleMargins(),u?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){Dn.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(rr(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,i,r=this;for(r.ticks=t.map(function(t){return t.value}),r.beforeTickToLabelConversion(),e=r.convertTicksToLabels(t)||r.ticks,r.afterTickToLabelConversion(),n=0,i=t.length;n<i;++n)t[n].label=e[n];return e},_getLabelSizes:function(){var t=this,e=t._labelSizes;return e||(t._labelSizes=e=Wt(t.ctx,Xt(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=e.widest.width),e},_parseValue:function(t){var e,n,i,r;return ir(t)?(e=+this.getRightValue(t[0]),n=+this.getRightValue(t[1]),i=Math.min(e,n),r=Math.max(e,n)):(t=+this.getRightValue(t),e=void 0,n=t,i=t,r=t),{min:i,max:r,start:e,end:n}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:Dn.noop,getPixelForValue:Dn.noop,getValueForPixel:Dn.noop,getPixelForTick:function(t){var e=this,n=e.options.offset,i=e._ticks.length,r=1/Math.max(i-(n?0:1),1);return t<0||t>i-1?null:e.getPixelForDecimal(t*r+(n?r/2:0))},getPixelForDecimal:function(t){var e=this;return e._reversePixels&&(t=1-t),e._startPixel+t*e._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this,e=t.min,n=t.max;return t.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0},_autoSkip:function(t){var e,n,i,r,o=this,a=o.options.ticks,s=o._length,l=a.maxTicksLimit||s/o._tickSize()+1,u=a.major.enabled?Qt(t):[],c=u.length,d=u[0],h=u[c-1];if(c>l)return Jt(t,u,c/l),Gt(t);if(i=Zt(u,t,s,l),c>0){for(e=0,n=c-1;e<n;e++)te(t,i,u[e],u[e+1]);return r=c>1?(h-d)/(c-1):null,te(t,i,Dn.isNullOrUndef(r)?0:d-r,d),te(t,i,h,Dn.isNullOrUndef(r)?t.length:h+r),Gt(t)}return te(t,i),Gt(t)},_tickSize:function(){var t=this,e=t.options.ticks,n=Dn.toRadians(t.labelRotation),i=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n)),o=t._getLabelSizes(),a=e.autoSkipPadding||0,s=o?o.widest.width+a:0,l=o?o.highest.height+a:0;return t.isHorizontal()?l*i>s*r?s/i:l/r:l*r<s*i?l/i:s/r},_isVisible:function(){var t,e,n,i=this,r=i.chart,o=i.options.display;if("auto"!==o)return!!o;for(t=0,e=r.data.datasets.length;t<e;++t)if(r.isDatasetVisible(t)&&(n=r.getDatasetMeta(t),n.xAxisID===i.id||n.yAxisID===i.id))return!0;return!1},_computeGridLineItems:function(t){var e,n,i,r,o,a,s,l,u,c,d,h,f,p,g,v,m,y=this,b=y.chart,_=y.options,x=_.gridLines,w=_.position,C=x.offsetGridLines,k=y.isHorizontal(),S=y._ticksToDraw,T=S.length+(C?1:0),D=Vt(x),A=[],E=x.drawBorder?ar(x.lineWidth,0,0):0,M=E/2,O=Dn._alignPixel,$=function(t){return O(b,t,E)};for("top"===w?(e=$(y.bottom),s=y.bottom-D,u=e-M,d=$(t.top)+M,f=t.bottom):"bottom"===w?(e=$(y.top),d=t.top,f=$(t.bottom)-M,s=e+M,u=y.top+D):"left"===w?(e=$(y.right),a=y.right-D,l=e-M,c=$(t.left)+M,h=t.right):(e=$(y.left),c=t.left,h=$(t.right)-M,a=e+M,l=y.left+D),n=0;n<T;++n)i=S[n]||{},rr(i.label)&&n<S.length||(n===y.zeroLineIndex&&_.offset===C?(p=x.zeroLineWidth,g=x.zeroLineColor,v=x.zeroLineBorderDash||[],m=x.zeroLineBorderDashOffset||0):(p=ar(x.lineWidth,n,1),g=ar(x.color,n,"rgba(0,0,0,0.1)"),v=x.borderDash||[],m=x.borderDashOffset||0),void 0!==(r=zt(y,i._index||n,C))&&(o=O(b,r,p),k?a=l=c=h=o:s=u=d=f=o,A.push({tx1:a,ty1:s,tx2:l,ty2:u,x1:c,y1:d,x2:h,y2:f,width:p,color:g,borderDash:v,borderDashOffset:m})));return A.ticksLength=T,A.borderValue=e,A},_computeLabelItems:function(){var t,e,n,i,r,o,a,s,l,u,c,d,h=this,f=h.options,p=f.ticks,g=f.position,v=p.mirror,m=h.isHorizontal(),y=h._ticksToDraw,b=Xt(p),_=p.padding,x=Vt(f.gridLines),w=-Dn.toRadians(h.labelRotation),C=[];for("top"===g?(o=h.bottom-x-_,a=w?"left":"center"):"bottom"===g?(o=h.top+x+_,a=w?"right":"center"):"left"===g?(r=h.right-(v?0:x)-_,a=v?"left":"right"):(r=h.left+(v?0:x)+_,a=v?"right":"left"),t=0,e=y.length;t<e;++t)n=y[t],i=n.label,rr(i)||(s=h.getPixelForTick(n._index||t)+p.labelOffset,l=n.major?b.major:b.minor,u=l.lineHeight,c=ir(i)?i.length:1,m?(r=s,d="top"===g?((w?1:.5)-c)*u:(w?0:.5)*u):(o=s,d=(1-c)*u/2),C.push({x:r,y:o,rotation:w,label:i,font:l,textOffset:d,textAlign:a}));return C},_drawGrid:function(t){var e=this,n=e.options.gridLines;if(n.display){var i,r,o,a,s,l=e.ctx,u=e.chart,c=Dn._alignPixel,d=n.drawBorder?ar(n.lineWidth,0,0):0,h=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));for(o=0,a=h.length;o<a;++o)s=h[o],i=s.width,r=s.color,i&&r&&(l.save(),l.lineWidth=i,l.strokeStyle=r,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(d){var f,p,g,v,m=d,y=ar(n.lineWidth,h.ticksLength-1,1),b=h.borderValue;e.isHorizontal()?(f=c(u,e.left,m)-m/2,p=c(u,e.right,y)+y/2,g=v=b):(g=c(u,e.top,m)-m/2,v=c(u,e.bottom,y)+y/2,f=p=b),l.lineWidth=d,l.strokeStyle=ar(n.color,0),l.beginPath(),l.moveTo(f,g),l.lineTo(p,v),l.stroke()}}},_drawLabels:function(){var t=this;if(t.options.ticks.display){var e,n,i,r,o,a,s,l,u=t.ctx,c=t._labelItems||(t._labelItems=t._computeLabelItems());for(e=0,i=c.length;e<i;++e){if(o=c[e],a=o.font,u.save(),u.translate(o.x,o.y),u.rotate(o.rotation),u.font=a.string,u.fillStyle=a.color,u.textBaseline="middle",u.textAlign=o.textAlign,s=o.label,l=o.textOffset,ir(s))for(n=0,r=s.length;n<r;++n)u.fillText(""+s[n],0,l),l+=a.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var t=this,e=t.ctx,n=t.options,i=n.scaleLabel;if(i.display){var r,o,a=or(i.fontColor,vn.global.defaultFontColor),s=Dn.options._parseFont(i),l=Dn.options.toPadding(i.padding),u=s.lineHeight/2,c=n.position,d=0;if(t.isHorizontal())r=t.left+t.width/2,o="bottom"===c?t.bottom-u-l.bottom:t.top+u+l.top;else{var h="left"===c;r=h?t.left+u+l.top:t.right-u-l.top,o=t.top+t.height/2,d=h?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(r,o),e.rotate(d),e.textAlign="center",e.textBaseline="middle",e.fillStyle=a,e.font=s.string,e.fillText(i.labelString,0,0),e.restore()}},draw:function(t){var e=this;e._isVisible()&&(e._drawGrid(t),e._drawTitle(),e._drawLabels())},_layers:function(){var t=this,e=t.options,n=e.ticks&&e.ticks.z||0,i=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&n!==i&&t.draw===t._draw?[{z:i,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:n,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:n,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var e=this,n=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter(function(i){return(!t||i.type===t)&&(n?i.xAxisID===e.id:i.yAxisID===e.id)})}});sr.prototype._draw=sr.prototype.draw;var lr=sr,ur=Dn.isNullOrUndef,cr={position:"bottom"},dr=lr.extend({determineDataLimits:function(){var t,e=this,n=e._getLabels(),i=e.options.ticks,r=i.min,o=i.max,a=0,s=n.length-1;void 0!==r&&(t=n.indexOf(r))>=0&&(a=t),void 0!==o&&(t=n.indexOf(o))>=0&&(s=t),e.minIndex=a,e.maxIndex=s,e.min=n[a],e.max=n[s]},buildTicks:function(){var t=this,e=t._getLabels(),n=t.minIndex,i=t.maxIndex;t.ticks=0===n&&i===e.length-1?e:e.slice(n,i+1)},getLabelForIndex:function(t,e){var n=this,i=n.chart;return i.getDatasetMeta(e).controller._getValueScaleId()===n.id?n.getRightValue(i.data.datasets[e].data[t]):n._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;lr.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,r,o,a=this;return ur(e)||ur(n)||(t=a.chart.data.datasets[n].data[e]),ur(t)||(i=a.isHorizontal()?t.x:t.y),(void 0!==i||void 0!==t&&isNaN(e))&&(r=a._getLabels(),t=Dn.valueOrDefault(i,t),o=r.indexOf(t),e=-1!==o?o:e,isNaN(e)&&(e=t)),a.getPixelForDecimal((e-a._startValue)/a._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=this,n=Math.round(e._startValue+e.getDecimalForPixel(t)*e._valueRange);return Math.min(Math.max(n,0),e.ticks.length-1)},getBasePixel:function(){return this.bottom}}),hr=cr;dr._defaults=hr;var fr=Dn.noop,pr=Dn.isNullOrUndef,gr=lr.extend({getRightValue:function(t){return"string"==typeof t?+t:lr.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options,n=e.ticks;if(n.beginAtZero){var i=Dn.sign(t.min),r=Dn.sign(t.max);i<0&&r<0?t.max=0:i>0&&r>0&&(t.min=0)}var o=void 0!==n.min||void 0!==n.suggestedMin,a=void 0!==n.max||void 0!==n.suggestedMax;void 0!==n.min?t.min=n.min:void 0!==n.suggestedMin&&(null===t.min?t.min=n.suggestedMin:t.min=Math.min(t.min,n.suggestedMin)),void 0!==n.max?t.max=n.max:void 0!==n.suggestedMax&&(null===t.max?t.max=n.suggestedMax:t.max=Math.max(t.max,n.suggestedMax)),o!==a&&t.min>=t.max&&(o?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,n.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this,n=e.options.ticks,i=n.stepSize,r=n.maxTicksLimit;return i?t=Math.ceil(e.max/i)-Math.floor(e.min/i)+1:(t=e._computeTickLimit(),r=r||11),r&&(t=Math.min(r,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:fr,buildTicks:function(){var t=this,e=t.options,n=e.ticks,i=t.getTickLimit();i=Math.max(2,i);var r={maxTicks:i,min:n.min,max:n.max,precision:n.precision,stepSize:Dn.valueOrDefault(n.fixedStepSize,n.stepSize)},o=t.ticks=ee(r,t);t.handleDirectionalChanges(),t.max=Dn.max(o),t.min=Dn.min(o),n.reverse?(o.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),lr.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,n=e.getTicks(),i=e.min,r=e.max;lr.prototype._configure.call(e),e.options.offset&&n.length&&(t=(r-i)/Math.max(n.length-1,1)/2,i-=t,r+=t),e._startValue=i,e._endValue=r,e._valueRange=r-i}}),vr={position:"left",ticks:{callback:nr.formatters.linear}},mr=gr.extend({determineDataLimits:function(){var t,e,n,i,r=this,o=r.options,a=r.chart,s=a.data.datasets,l=r._getMatchingVisibleMetas(),u=o.stacked,c={},d=l.length;if(r.min=Number.POSITIVE_INFINITY,r.max=Number.NEGATIVE_INFINITY,void 0===u)for(t=0;!u&&t<d;++t)e=l[t],u=void 0!==e.stack;for(t=0;t<d;++t)e=l[t],n=s[e.index].data,u?ie(r,c,e,n):re(r,e,n);Dn.each(c,function(t){i=t.pos.concat(t.neg),r.min=Math.min(r.min,Dn.min(i)),r.max=Math.max(r.max,Dn.max(i))}),r.min=Dn.isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=Dn.isFinite(r.max)&&!isNaN(r.max)?r.max:1,r.handleTickRangeOptions()},_computeTickLimit:function(){var t,e=this;return e.isHorizontal()?Math.ceil(e.width/40):(t=Dn.options._parseFont(e.options.ticks),Math.ceil(e.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this;return e.getPixelForDecimal((+e.getRightValue(t)-e._startValue)/e._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}}),yr=vr;mr._defaults=yr;var br=Dn.valueOrDefault,_r=Dn.math.log10,xr={position:"left",ticks:{callback:nr.formatters.logarithmic}},wr=lr.extend({determineDataLimits:function(){function t(t){return d?t.xAxisID===s.id:t.yAxisID===s.id}var e,n,i,r,o,a,s=this,l=s.options,u=s.chart,c=u.data.datasets,d=s.isHorizontal();s.min=Number.POSITIVE_INFINITY,s.max=Number.NEGATIVE_INFINITY,s.minNotZero=Number.POSITIVE_INFINITY;var h=l.stacked;if(void 0===h)for(e=0;e<c.length;e++)if(n=u.getDatasetMeta(e),u.isDatasetVisible(e)&&t(n)&&void 0!==n.stack){h=!0;break}if(l.stacked||h){var f={};for(e=0;e<c.length;e++){n=u.getDatasetMeta(e);var p=[n.type,void 0===l.stacked&&void 0===n.stack?e:"",n.stack].join(".");if(u.isDatasetVisible(e)&&t(n))for(void 0===f[p]&&(f[p]=[]),r=c[e].data,o=0,a=r.length;o<a;o++){var g=f[p];i=s._parseValue(r[o]),isNaN(i.min)||isNaN(i.max)||n.data[o].hidden||i.min<0||i.max<0||(g[o]=g[o]||0,g[o]+=i.max)}}Dn.each(f,function(t){if(t.length>0){var e=Dn.min(t),n=Dn.max(t);s.min=Math.min(s.min,e),s.max=Math.max(s.max,n)}})}else for(e=0;e<c.length;e++)if(n=u.getDatasetMeta(e),u.isDatasetVisible(e)&&t(n))for(r=c[e].data,o=0,a=r.length;o<a;o++)i=s._parseValue(r[o]),isNaN(i.min)||isNaN(i.max)||n.data[o].hidden||i.min<0||i.max<0||(s.min=Math.min(i.min,s.min),s.max=Math.max(i.max,s.max),0!==i.min&&(s.minNotZero=Math.min(i.min,s.minNotZero)));s.min=Dn.isFinite(s.min)?s.min:null,s.max=Dn.isFinite(s.max)?s.max:null,s.minNotZero=Dn.isFinite(s.minNotZero)?s.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=ae(e.min,t.min),t.max=ae(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(_r(t.min))-1),t.max=Math.pow(10,Math.floor(_r(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(_r(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(_r(t.min))+1):10),null===t.minNotZero&&(t.min>0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(_r(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:ae(e.min),max:ae(e.max)},r=t.ticks=oe(i,t);t.max=Dn.max(r),t.min=Dn.min(r),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),lr.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(_r(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;lr.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=br(t.options.ticks.fontSize,vn.global.defaultFontSize)/t._length),t._startValue=_r(e),t._valueOffset=n,t._valueRange=(_r(t.max)-_r(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return t=+e.getRightValue(t),t>e.min&&t>0&&(n=(_r(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),Cr=xr;wr._defaults=Cr;var kr=Dn.valueOrDefault,Sr=Dn.valueAtIndexOrDefault,Tr=Dn.options.resolve,Dr={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:nr.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}},Ar=gr.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=se(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;Dn.each(e.data.datasets,function(r,o){if(e.isDatasetVisible(o)){var a=e.getDatasetMeta(o);Dn.each(r.data,function(e,r){var o=+t.getRightValue(e);isNaN(o)||a.data[r].hidden||(n=Math.min(o,n),i=Math.max(o,i))})}}),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/se(this.options))},convertTicksToLabels:function(){var t=this;gr.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(function(){var e=Dn.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""})},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this,e=t.options;e.display&&e.pointLabels.display?ce(t):t.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var i=this,r=e.l/Math.sin(n.l),o=Math.max(e.r-i.width,0)/Math.sin(n.r),a=-e.t/Math.cos(n.t),s=-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);r=ve(r),o=ve(o),a=ve(a),s=ve(s),i.drawingArea=Math.min(Math.floor(t-(r+o)/2),Math.floor(t-(a+s)/2)),i.setCenterPoint(r,o,a,s)},setCenterPoint:function(t,e,n,i){var r=this,o=r.width-e-r.drawingArea,a=t+r.drawingArea,s=n+r.drawingArea,l=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((a+o)/2+r.left),r.yCenter=Math.floor((s+l)/2+r.top+r.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=360/e.data.labels.length,i=e.options||{},r=i.startAngle||0,o=(t*n+r)%360;return(o<0?o+360:o)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(Dn.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this,i=n.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(i)*e+n.xCenter,y:Math.sin(i)*e+n.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this,n=e.min,i=e.max;return e.getPointPositionForValue(t||0,e.beginAtZero?0:n<0&&i<0?i:n>0&&i>0?n:0)},_drawGrid:function(){var t,e,n,i=this,r=i.ctx,o=i.options,a=o.gridLines,s=o.angleLines,l=kr(s.lineWidth,a.lineWidth),u=kr(s.color,a.color);if(o.pointLabels.display&&pe(i),a.display&&Dn.each(i.ticks,function(t,n){0!==n&&(e=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),ge(i,a,e,n))}),s.display&&l&&u){for(r.save(),r.lineWidth=l,r.strokeStyle=u,r.setLineDash&&(r.setLineDash(Tr([s.borderDash,a.borderDash,[]])),r.lineDashOffset=Tr([s.borderDashOffset,a.borderDashOffset,0])),t=i.chart.data.labels.length-1;t>=0;t--)e=i.getDistanceFromCenterForValue(o.ticks.reverse?i.min:i.max),n=i.getPointPosition(t,e),r.beginPath(),r.moveTo(i.xCenter,i.yCenter),r.lineTo(n.x,n.y),r.stroke();r.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options,i=n.ticks;if(i.display){var r,o,a=t.getIndexAngle(0),s=Dn.options._parseFont(i),l=kr(i.fontColor,vn.global.defaultFontColor);e.save(),e.font=s.string,e.translate(t.xCenter,t.yCenter),e.rotate(a),e.textAlign="center",e.textBaseline="middle",Dn.each(t.ticks,function(n,a){(0!==a||i.reverse)&&(r=t.getDistanceFromCenterForValue(t.ticksAsNumbers[a]),i.showLabelBackdrop&&(o=e.measureText(n).width,e.fillStyle=i.backdropColor,e.fillRect(-o/2-i.backdropPaddingX,-r-s.size/2-i.backdropPaddingY,o+2*i.backdropPaddingX,s.size+2*i.backdropPaddingY)),e.fillStyle=l,e.fillText(n,0,-r))}),e.restore()}},_drawTitle:Dn.noop}),Er=Dr;Ar._defaults=Er;var Mr=Dn._deprecated,Or=Dn.options.resolve,$r=Dn.valueOrDefault,Ir=Number.MIN_SAFE_INTEGER||-9007199254740991,Fr=Number.MAX_SAFE_INTEGER||9007199254740991,Pr={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Nr=Object.keys(Pr),Lr={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}},jr=lr.extend({initialize:function(){this.mergeTicksOptions(),lr.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),i=t._adapter=new er._date(e.adapters.date);return Mr("time scale",n.format,"time.format","time.parser"),Mr("time scale",n.min,"time.min","ticks.min"),Mr("time scale",n.max,"time.max","ticks.max"),Dn.mergeIf(n.displayFormats,i.formats()),lr.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),lr.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,r,o,a,s=this,l=s.chart,u=s._adapter,c=s.options,d=c.time.unit||"day",h=Fr,f=Ir,p=[],g=[],v=[],m=s._getLabels();for(t=0,n=m.length;t<n;++t)v.push(Se(s,m[t]));for(t=0,n=(l.data.datasets||[]).length;t<n;++t)if(l.isDatasetVisible(t))if(r=l.data.datasets[t].data,Dn.isObject(r[0]))for(g[t]=[],e=0,i=r.length;e<i;++e)o=Se(s,r[e]),p.push(o),g[t][e]=o;else g[t]=v.slice(0),a||(p=p.concat(v),a=!0);else g[t]=[];v.length&&(h=Math.min(h,v[0]),f=Math.max(f,v[v.length-1])),p.length&&(p=n>1?ye(p).sort(me):p.sort(me),h=Math.min(h,p[0]),f=Math.max(f,p[p.length-1])),h=Se(s,be(c))||h,f=Se(s,_e(c))||f,h=h===Fr?+u.startOf(Date.now(),d):h,f=f===Ir?+u.endOf(Date.now(),d)+1:f,s.min=Math.min(h,f),s.max=Math.max(h+1,f),s._table=[],s._timestamps={data:p,datasets:g,labels:v}},buildTicks:function(){
-var t,e,n,i=this,r=i.min,o=i.max,a=i.options,s=a.ticks,l=a.time,u=i._timestamps,c=[],d=i.getLabelCapacity(r),h=s.source,f=a.distribution;for(u="data"===h||"auto"===h&&"series"===f?u.data:"labels"===h?u.labels:Ee(i,r,o,d),"ticks"===a.bounds&&u.length&&(r=u[0],o=u[u.length-1]),r=Se(i,be(a))||r,o=Se(i,_e(a))||o,t=0,e=u.length;t<e;++t)(n=u[t])>=r&&n<=o&&c.push(n);return i.min=r,i.max=o,i._unit=l.unit||(s.autoSkip?Te(l.minUnit,i.min,i.max,d):De(i,c.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?Ae(i._unit):void 0,i._table=xe(i._timestamps.data,r,o,f),i._offsets=Me(i._table,c,r,o,a),s.reverse&&c.reverse(),$e(i,c,i._majorUnit)},getLabelForIndex:function(t,e){var n=this,i=n._adapter,r=n.chart.data,o=n.options.time,a=r.labels&&t<r.labels.length?r.labels[t]:"",s=r.datasets[e].data[t];return Dn.isObject(s)&&(a=n.getRightValue(s)),o.tooltipFormat?i.format(ke(n,a),o.tooltipFormat):"string"==typeof a?a:i.format(ke(n,a),o.displayFormats.datetime)},tickFormatFunction:function(t,e,n,i){var r=this,o=r._adapter,a=r.options,s=a.time.displayFormats,l=s[r._unit],u=r._majorUnit,c=s[u],d=n[e],h=a.ticks,f=u&&c&&d&&d.major,p=o.format(t,i||(f?c:l)),g=f?h.major:h.minor,v=Or([g.callback,g.userCallback,h.callback,h.userCallback]);return v?v(p,e,n):p},convertTicksToLabels:function(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(this.tickFormatFunction(t[e].value,e,t));return i},getPixelForOffset:function(t){var e=this,n=e._offsets,i=Ce(e._table,"time",t,"pos");return e.getPixelForDecimal((n.start+i)*n.factor)},getPixelForValue:function(t,e,n){var i=this,r=null;if(void 0!==e&&void 0!==n&&(r=i._timestamps.datasets[n][e]),null===r&&(r=Se(i,t)),null!==r)return i.getPixelForOffset(r)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,n=e._offsets,i=e.getDecimalForPixel(t)/n.factor-n.end,r=Ce(e._table,"pos",i,"time");return e._adapter._create(r)},_getLabelSize:function(t){var e=this,n=e.options.ticks,i=e.ctx.measureText(t).width,r=Dn.toRadians(e.isHorizontal()?n.maxRotation:n.minRotation),o=Math.cos(r),a=Math.sin(r),s=$r(n.fontSize,vn.global.defaultFontSize);return{w:i*o+s*a,h:i*a+s*o}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this,n=e.options.time,i=n.displayFormats,r=i[n.unit]||i.millisecond,o=e.tickFormatFunction(t,0,$e(e,[t],e._majorUnit),r),a=e._getLabelSize(o),s=Math.floor(e.isHorizontal()?e.width/a.w:e.height/a.h);return e.options.offset&&s--,s>0?s:1}}),Rr=Lr;jr._defaults=Rr;var Ur={category:dr,linear:mr,logarithmic:wr,radialLinear:Ar,time:jr},Br={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};er._date.override("function"==typeof t?{_id:"moment",formats:function(){return Br},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){return t(e).diff(t(n),i)},startOf:function(e,n,i){return e=t(e),"isoWeek"===n?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),vn._set("global",{plugins:{filler:{propagate:!0}}});var zr={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),r=i&&n.isDatasetVisible(e),o=r&&i.dataset._children||[],a=o.length||0;return a?function(t,e){return e<a&&o[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,i=e?e.y:null;return Dn.isArray(e)?function(t,n){return e[n]}:function(t){return{x:null===n?t.x:n,y:null===i?t.y:i}}}},Hr={id:"filler",afterDatasetsUpdate:function(t,e){var n,i,r,o,a=(t.data.datasets||[]).length,s=e.propagate,l=[];for(i=0;i<a;++i)n=t.getDatasetMeta(i),r=n.dataset,o=null,r&&r._model&&r instanceof Qn.Line&&(o={visible:t.isDatasetVisible(i),fill:Ie(r,i,a),chart:t,el:r}),n.$filler=o,l.push(o);for(i=0;i<a;++i)(o=l[i])&&(o.fill=Le(l,i,s),o.boundary=Ne(o),o.mapper=je(o))},beforeDatasetsDraw:function(t){var e,n,i,r,o,a,s,l=t._getSortedVisibleDatasetMetas(),u=t.ctx;for(n=l.length-1;n>=0;--n)(e=l[n].$filler)&&e.visible&&(i=e.el,r=i._view,o=i._children||[],a=e.mapper,s=r.backgroundColor||vn.global.defaultColor,a&&s&&o.length&&(Dn.canvas.clipArea(u,t.chartArea),Be(u,o,a,r,s,i._loop),Dn.canvas.unclipArea(u)))}},Wr=Dn.rtl.getRtlAdapter,Vr=Dn.noop,qr=Dn.valueOrDefault;vn._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},i=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map(function(n){var r=n.controller.getStyle(i?0:void 0);return{text:e[n.index].label,fillStyle:r.backgroundColor,hidden:!t.isDatasetVisible(n.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:n.index}},this)}}},legendCallback:function(t){var e,n,i,r,o=document.createElement("ul"),a=t.data.datasets;for(o.setAttribute("class",t.id+"-legend"),e=0,n=a.length;e<n;e++)i=o.appendChild(document.createElement("li")),r=i.appendChild(document.createElement("span")),r.style.backgroundColor=a[e].backgroundColor,a[e].label&&i.appendChild(document.createTextNode(a[e].label));return o.outerHTML}});var Yr=Fn.extend({initialize:function(t){var e=this;Dn.extend(e,t),e.legendHitBoxes=[],e._hoveredItem=null,e.doughnutMode=!1},beforeUpdate:Vr,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.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||{},n=Dn.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter(function(n){return e.filter(n,t.chart.data)})),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:Vr,beforeFit:Vr,fit:function(){var t=this,e=t.options,n=e.labels,i=e.display,r=t.ctx,o=Dn.options._parseFont(n),a=o.size,s=t.legendHitBoxes=[],l=t.minSize,u=t.isHorizontal();if(u?(l.width=t.maxWidth,l.height=i?10:0):(l.width=i?10:0,l.height=t.maxHeight),!i)return void(t.width=l.width=t.height=l.height=0);if(r.font=o.string,u){var c=t.lineWidths=[0],d=0;r.textAlign="left",r.textBaseline="middle",Dn.each(t.legendItems,function(t,e){var i=ze(n,a),o=i+a/2+r.measureText(t.text).width;(0===e||c[c.length-1]+o+2*n.padding>l.width)&&(d+=a+n.padding,c[c.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:o,height:a},c[c.length-1]+=o+n.padding}),l.height+=d}else{var h=n.padding,f=t.columnWidths=[],p=t.columnHeights=[],g=n.padding,v=0,m=0;Dn.each(t.legendItems,function(t,e){var i=ze(n,a),o=i+a/2+r.measureText(t.text).width;e>0&&m+a+2*h>l.height&&(g+=v+n.padding,f.push(v),p.push(m),v=0,m=0),v=Math.max(v,o),m+=a+h,s[e]={left:0,top:0,width:o,height:a}}),g+=v,f.push(v),p.push(m),l.width+=g}t.width=l.width,t.height=l.height},afterFit:Vr,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,i=vn.global,r=i.defaultColor,o=i.elements.line,a=t.height,s=t.columnHeights,l=t.width,u=t.lineWidths;if(e.display){var c,d=Wr(e.rtl,t.left,t.minSize.width),h=t.ctx,f=qr(n.fontColor,i.defaultFontColor),p=Dn.options._parseFont(n),g=p.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var v=ze(n,g),m=t.legendHitBoxes,y=function(t,e,i){if(!(isNaN(v)||v<=0)){h.save();var a=qr(i.lineWidth,o.borderWidth);if(h.fillStyle=qr(i.fillStyle,r),h.lineCap=qr(i.lineCap,o.borderCapStyle),h.lineDashOffset=qr(i.lineDashOffset,o.borderDashOffset),h.lineJoin=qr(i.lineJoin,o.borderJoinStyle),h.lineWidth=a,h.strokeStyle=qr(i.strokeStyle,r),h.setLineDash&&h.setLineDash(qr(i.lineDash,o.borderDash)),n&&n.usePointStyle){var s=v*Math.SQRT2/2,l=d.xPlus(t,v/2),u=e+g/2;Dn.canvas.drawPoint(h,i.pointStyle,s,l,u,i.rotation)}else h.fillRect(d.leftForLtr(t,v),e,v,g),0!==a&&h.strokeRect(d.leftForLtr(t,v),e,v,g);h.restore()}},b=function(t,e,n,i){var r=g/2,o=d.xPlus(t,v+r),a=e+r;h.fillText(n.text,o,a),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(o,a),h.lineTo(d.xPlus(o,i),a),h.stroke())},_=function(t,i){switch(e.align){case"start":return n.padding;case"end":return t-i;default:return(t-i+n.padding)/2}},x=t.isHorizontal();c=x?{x:t.left+_(l,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+_(a,s[0]),line:0},Dn.rtl.overrideTextDirection(t.ctx,e.textDirection);var w=g+n.padding;Dn.each(t.legendItems,function(e,i){var r=h.measureText(e.text).width,o=v+g/2+r,f=c.x,p=c.y;d.setWidth(t.minSize.width),x?i>0&&f+o+n.padding>t.left+t.minSize.width&&(p=c.y+=w,c.line++,f=c.x=t.left+_(l,u[c.line])):i>0&&p+w>t.top+t.minSize.height&&(f=c.x=f+t.columnWidths[c.line]+n.padding,c.line++,p=c.y=t.top+_(a,s[c.line]));var C=d.x(f);y(C,p,e),m[i].left=d.leftForLtr(C,m[i].width),m[i].top=p,b(C,p,e,r),x?c.x+=o+n.padding:c.y+=w}),Dn.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,i,r,o=this;if(t>=o.left&&t<=o.right&&e>=o.top&&e<=o.bottom)for(r=o.legendHitBoxes,n=0;n<r.length;++n)if(i=r[n],t>=i.left&&t<=i.left+i.width&&e>=i.top&&e<=i.top+i.height)return o.legendItems[n];return null},handleEvent:function(t){var e,n=this,i=n.options,r="mouseup"===t.type?"click":t.type;if("mousemove"===r){if(!i.onHover&&!i.onLeave)return}else{if("click"!==r)return;if(!i.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===r?e&&i.onClick&&i.onClick.call(n,t.native,e):(i.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),i.onHover&&e&&i.onHover.call(n,t.native,e))}}),Xr={id:"legend",_element:Yr,beforeInit:function(t){var e=t.options.legend;e&&He(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(Dn.mergeIf(e,vn.global.legend),n?(Ai.configure(t,n,e),n.options=e):He(t,e)):n&&(Ai.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},Gr=Dn.noop;vn._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Kr=Fn.extend({initialize:function(t){var e=this;Dn.extend(e,t),e.legendHitBoxes=[]},beforeUpdate:Gr,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Gr,beforeSetDimensions:Gr,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:Gr,beforeBuildLabels:Gr,buildLabels:Gr,afterBuildLabels:Gr,beforeFit:Gr,fit:function(){var t,e,n=this,i=n.options,r=n.minSize={},o=n.isHorizontal();if(!i.display)return void(n.width=r.width=n.height=r.height=0);t=Dn.isArray(i.text)?i.text.length:1,e=t*Dn.options._parseFont(i).lineHeight+2*i.padding,n.width=r.width=o?n.maxWidth:e,n.height=r.height=o?e:n.maxHeight},afterFit:Gr,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var i,r,o,a=Dn.options._parseFont(n),s=a.lineHeight,l=s/2+n.padding,u=0,c=t.top,d=t.left,h=t.bottom,f=t.right;e.fillStyle=Dn.valueOrDefault(n.fontColor,vn.global.defaultFontColor),e.font=a.string,t.isHorizontal()?(r=d+(f-d)/2,o=c+l,i=f-d):(r="left"===n.position?d+l:f-l,o=c+(h-c)/2,i=h-c,u=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(r,o),e.rotate(u),e.textAlign="center",e.textBaseline="middle";var p=n.text;if(Dn.isArray(p))for(var g=0,v=0;v<p.length;++v)e.fillText(p[v],0,g,i),g+=s;else e.fillText(p,0,0,i);e.restore()}}}),Zr={id:"title",_element:Kr,beforeInit:function(t){var e=t.options.title;e&&We(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(Dn.mergeIf(e,vn.global.title),n?(Ai.configure(t,n,e),n.options=e):We(t,e)):n&&(Ai.removeBox(t,n),delete t.titleBlock)}},Qr={},Jr=Hr,to=Xr,eo=Zr;Qr.filler=Jr,Qr.legend=to,Qr.title=eo,Ji.helpers=Dn,function(){function t(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function e(t){return void 0!==t&&null!==t&&"none"!==t}function n(n,i,r){var o=document.defaultView,a=Dn._getParentNode(n),s=o.getComputedStyle(n)[i],l=o.getComputedStyle(a)[i],u=e(s),c=e(l),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?t(s,n,r):d,c?t(l,a,r):d):"none"}Dn.where=function(t,e){if(Dn.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return Dn.each(t,function(t){e(t)&&n.push(t)}),n},Dn.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,r=t.length;i<r;++i)if(e.call(n,t[i],i,t))return i;return-1},Dn.findNextWhere=function(t,e,n){Dn.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<t.length;i++){var r=t[i];if(e(r))return r}},Dn.findPreviousWhere=function(t,e,n){Dn.isNullOrUndef(n)&&(n=t.length);for(var i=n-1;i>=0;i--){var r=t[i];if(e(r))return r}},Dn.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},Dn.almostEquals=function(t,e,n){return Math.abs(t-e)<n},Dn.almostWhole=function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t},Dn.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},Dn.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},Dn.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return t=+t,0===t||isNaN(t)?t:t>0?1:-1},Dn.toRadians=function(t){return t*(Math.PI/180)},Dn.toDegrees=function(t){return t*(180/Math.PI)},Dn._decimalPlaces=function(t){if(Dn.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},Dn.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i),o=Math.atan2(i,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:r}},Dn.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},Dn.aliasPixel=function(t){return t%2==0?0:.5},Dn._alignPixel=function(t,e,n){var i=t.currentDevicePixelRatio,r=n/2;return Math.round((e-r)*i)/i+r},Dn.splineCurve=function(t,e,n,i){var r=t.skip?e:t,o=e,a=n.skip?e:n,s=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),l=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),u=s/(s+l),c=l/(s+l);u=isNaN(u)?0:u,c=isNaN(c)?0:c;var d=i*u,h=i*c;return{previous:{x:o.x-d*(a.x-r.x),y:o.y-d*(a.y-r.y)},next:{x:o.x+h*(a.x-r.x),y:o.y+h*(a.y-r.y)}}},Dn.EPSILON=Number.EPSILON||1e-14,Dn.splineCurveMonotone=function(t){var e,n,i,r,o=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),a=o.length;for(e=0;e<a;++e)if(i=o[e],!i.model.skip){if(n=e>0?o[e-1]:null,(r=e<a-1?o[e+1]:null)&&!r.model.skip){var s=r.model.x-i.model.x;i.deltaK=0!==s?(r.model.y-i.model.y)/s:0}!n||n.model.skip?i.mK=i.deltaK:!r||r.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}var l,u,c,d;for(e=0;e<a-1;++e)i=o[e],r=o[e+1],i.model.skip||r.model.skip||(Dn.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=r.mK=0:(l=i.mK/i.deltaK,u=r.mK/i.deltaK,(d=Math.pow(l,2)+Math.pow(u,2))<=9||(c=3/Math.sqrt(d),i.mK=l*c*i.deltaK,r.mK=u*c*i.deltaK)));var h;for(e=0;e<a;++e)i=o[e],i.model.skip||(n=e>0?o[e-1]:null,r=e<a-1?o[e+1]:null,n&&!n.model.skip&&(h=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-h,i.model.controlPointPreviousY=i.model.y-h*i.mK),r&&!r.model.skip&&(h=(r.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+h,i.model.controlPointNextY=i.model.y+h*i.mK))},Dn.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},Dn.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},Dn.niceNum=function(t,e){var n=Math.floor(Dn.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},Dn.requestAnimFrame=function(){return"undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}(),Dn.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,o=t.target||t.srcElement,a=o.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var l=parseFloat(Dn.getStyle(o,"padding-left")),u=parseFloat(Dn.getStyle(o,"padding-top")),c=parseFloat(Dn.getStyle(o,"padding-right")),d=parseFloat(Dn.getStyle(o,"padding-bottom")),h=a.right-a.left-l-c,f=a.bottom-a.top-u-d;return n=Math.round((n-a.left-l)/h*o.width/e.currentDevicePixelRatio),i=Math.round((i-a.top-u)/f*o.height/e.currentDevicePixelRatio),{x:n,y:i}},Dn.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},Dn.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},Dn._calculatePadding=function(t,e,n){return e=Dn.getStyle(t,e),e.indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},Dn._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},Dn.getMaximumWidth=function(t){var e=Dn._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,i=Dn._calculatePadding(e,"padding-left",n),r=Dn._calculatePadding(e,"padding-right",n),o=n-i-r,a=Dn.getConstraintWidth(t);return isNaN(a)?o:Math.min(o,a)},Dn.getMaximumHeight=function(t){var e=Dn._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,i=Dn._calculatePadding(e,"padding-top",n),r=Dn._calculatePadding(e,"padding-bottom",n),o=n-i-r,a=Dn.getConstraintHeight(t);return isNaN(a)?o:Math.min(o,a)},Dn.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},Dn.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=t.canvas,r=t.height,o=t.width;i.height=r*n,i.width=o*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=o+"px")}},Dn.fontString=function(t,e,n){return e+" "+t+"px "+n},Dn.longestText=function(t,e,n,i){i=i||{};var r=i.data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},o=i.garbageCollect=[],i.font=e),t.font=e;var a,s,l,u,c,d=0,h=n.length;for(a=0;a<h;a++)if(void 0!==(u=n[a])&&null!==u&&!0!==Dn.isArray(u))d=Dn.measureText(t,r,o,d,u);else if(Dn.isArray(u))for(s=0,l=u.length;s<l;s++)void 0===(c=u[s])||null===c||Dn.isArray(c)||(d=Dn.measureText(t,r,o,d,c));var f=o.length/2;if(f>n.length){for(a=0;a<f;a++)delete r[o[a]];o.splice(0,f)}return d},Dn.measureText=function(t,e,n,i,r){var o=e[r];return o||(o=e[r]=t.measureText(r).width,n.push(r)),o>i&&(i=o),i},Dn.numberOfLabelLines=function(t){var e=1;return Dn.each(t,function(t){Dn.isArray(t)&&t.length>e&&(e=t.length)}),e},Dn.color=en?function(t){return t instanceof CanvasGradient&&(t=vn.global.defaultColor),en(t)}:function(t){return console.error("Color.js not found!"),t},Dn.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:Dn.color(t).saturate(.5).darken(.1).rgbString()}}(),Ji._adapters=er,Ji.Animation=Nn,Ji.animationService=Ln,Ji.controllers=Si,Ji.DatasetController=Bn,Ji.defaults=vn,Ji.Element=Fn,Ji.elements=Qn,Ji.Interaction=Ti,Ji.layouts=Ai,Ji.platform=zi,Ji.plugins=Hi,Ji.Scale=lr,Ji.scaleService=Wi,Ji.Ticks=nr,Ji.Tooltip=Ki,Ji.helpers.each(Ur,function(t,e){Ji.scaleService.registerScaleType(e,t,t._defaults)});for(var no in Qr)Qr.hasOwnProperty(no)&&Ji.plugins.register(Qr[no]);Ji.platform.initialize();var io=Ji;return"undefined"!=typeof window&&(window.Chart=Ji),Ji.Chart=Ji,Ji.Legend=Qr.legend._element,Ji.Title=Qr.title._element,Ji.pluginService=Ji.plugins,Ji.PluginBase=Ji.Element.extend({}),Ji.canvasHelpers=Ji.helpers.canvas,Ji.layoutService=Ji.layouts,Ji.LinearScaleBase=gr,Ji.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(t){Ji[t]=function(e,n){return new Ji(e,Ji.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}}),io}),function(t,e){"function"==typeof define&&define.amd?define([],function(){return t.SignaturePad=e()}):"object"==typeof exports?module.exports=e():t.SignaturePad=e()}(this,function(){return function(t){"use strict";var e=function(t,e){var n=this,i=e||{};this.velocityFilterWeight=i.velocityFilterWeight||.7,this.minWidth=i.minWidth||.5,this.maxWidth=i.maxWidth||2.5,this.dotSize=i.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=i.penColor||"black",this.backgroundColor=i.backgroundColor||"rgba(0,0,0,0)",this.onEnd=i.onEnd,this.onBegin=i.onBegin,this._canvas=t,this._ctx=t.getContext("2d"),this.clear(),this._handleMouseDown=function(t){1===t.which&&(n._mouseButtonDown=!0,n._strokeBegin(t))},this._handleMouseMove=function(t){n._mouseButtonDown&&n._strokeUpdate(t)},this._handleMouseUp=function(t){1===t.which&&n._mouseButtonDown&&(n._mouseButtonDown=!1,n._strokeEnd(t))},this._handleTouchStart=function(t){if(1==t.targetTouches.length){var e=t.changedTouches[0];n._strokeBegin(e)}},this._handleTouchMove=function(t){t.preventDefault();var e=t.targetTouches[0];n._strokeUpdate(e)},this._handleTouchEnd=function(t){t.target===n._canvas&&(t.preventDefault(),n._strokeEnd(t))},this._handleMouseEvents(),this._handleTouchEvents()};e.prototype.clear=function(){var t=this._ctx,e=this._canvas;t.fillStyle=this.backgroundColor,t.clearRect(0,0,e.width,e.height),t.fillRect(0,0,e.width,e.height),this._reset()},e.prototype.toDataURL=function(t,e){var n=this._canvas;return n.toDataURL.apply(n,arguments)},e.prototype.fromDataURL=function(t){var e=this,n=new Image,i=window.devicePixelRatio||1,r=this._canvas.width/i,o=this._canvas.height/i;this._reset(),n.src=t,n.onload=function(){e._ctx.drawImage(n,0,0,r,o)},this._isEmpty=!1},e.prototype._strokeUpdate=function(t){var e=this._createPoint(t);this._addPoint(e)},e.prototype._strokeBegin=function(t){this._reset(),this._strokeUpdate(t),"function"==typeof this.onBegin&&this.onBegin(t)},e.prototype._strokeDraw=function(t){var e=this._ctx,n="function"==typeof this.dotSize?this.dotSize():this.dotSize;e.beginPath(),this._drawPoint(t.x,t.y,n),e.closePath(),e.fill()},e.prototype._strokeEnd=function(t){var e=this.points.length>2,n=this.points[0];!e&&n&&this._strokeDraw(n),"function"==typeof this.onEnd&&this.onEnd(t)},e.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),t.addEventListener("mouseup",this._handleMouseUp)},e.prototype._handleTouchEvents=function(){this._canvas.style.msTouchAction="none",this._canvas.style.touchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart),this._canvas.addEventListener("touchmove",this._handleTouchMove),this._canvas.addEventListener("touchend",this._handleTouchEnd)},e.prototype.on=function(){this._handleMouseEvents(),this._handleTouchEvents()},e.prototype.off=function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),t.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),this._canvas.removeEventListener("touchend",this._handleTouchEnd)},e.prototype.isEmpty=function(){return this._isEmpty},e.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._isEmpty=!0,this._ctx.fillStyle=this.penColor},e.prototype._createPoint=function(t){var e=this._canvas.getBoundingClientRect();return new n(t.clientX-e.left,t.clientY-e.top)},e.prototype._addPoint=function(t){var e,n,r,o,a=this.points;a.push(t),a.length>2&&(3===a.length&&a.unshift(a[0]),o=this._calculateCurveControlPoints(a[0],a[1],a[2]),e=o.c2,o=this._calculateCurveControlPoints(a[1],a[2],a[3]),n=o.c1,r=new i(a[1],e,n,a[2]),this._addCurve(r),a.shift())},e.prototype._calculateCurveControlPoints=function(t,e,i){var r=t.x-e.x,o=t.y-e.y,a=e.x-i.x,s=e.y-i.y,l={x:(t.x+e.x)/2,y:(t.y+e.y)/2},u={x:(e.x+i.x)/2,y:(e.y+i.y)/2},c=Math.sqrt(r*r+o*o),d=Math.sqrt(a*a+s*s),h=l.x-u.x,f=l.y-u.y,p=d/(c+d),g={x:u.x+h*p,y:u.y+f*p},v=e.x-g.x,m=e.y-g.y;return{c1:new n(l.x+v,l.y+m),c2:new n(u.x+v,u.y+m)}},e.prototype._addCurve=function(t){var e,n,i=t.startPoint,r=t.endPoint;e=r.velocityFrom(i),e=this.velocityFilterWeight*e+(1-this.velocityFilterWeight)*this._lastVelocity,n=this._strokeWidth(e),this._drawCurve(t,this._lastWidth,n),this._lastVelocity=e,this._lastWidth=n},e.prototype._drawPoint=function(t,e,n){var i=this._ctx;i.moveTo(t,e),i.arc(t,e,n,0,2*Math.PI,!1),this._isEmpty=!1},e.prototype._drawCurve=function(t,e,n){var i,r,o,a,s,l,u,c,d,h,f,p=this._ctx,g=n-e;for(i=Math.floor(t.length()),p.beginPath(),o=0;o<i;o++)a=o/i,s=a*a,l=s*a,u=1-a,c=u*u,d=c*u,h=d*t.startPoint.x,h+=3*c*a*t.control1.x,h+=3*u*s*t.control2.x,h+=l*t.endPoint.x,f=d*t.startPoint.y,f+=3*c*a*t.control1.y,f+=3*u*s*t.control2.y,f+=l*t.endPoint.y,r=e+l*g,this._drawPoint(h,f,r);p.closePath(),p.fill()},e.prototype._strokeWidth=function(t){return Math.max(this.maxWidth/(t+1),this.minWidth)};var n=function(t,e,n){this.x=t,this.y=e,this.time=n||(new Date).getTime()};n.prototype.velocityFrom=function(t){return this.time!==t.time?this.distanceTo(t)/(this.time-t.time):1},n.prototype.distanceTo=function(t){return Math.sqrt(Math.pow(this.x-t.x,2)+Math.pow(this.y-t.y,2))};var i=function(t,e,n,i){this.startPoint=t,this.control1=e,this.control2=n,this.endPoint=i};return i.prototype.length=function(){var t,e,n,i,r,o,a,s,l=0;for(t=0;t<=10;t++)e=t/10,n=this._point(e,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),i=this._point(e,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y),t>0&&(a=n-r,s=i-o,l+=Math.sqrt(a*a+s*s)),r=n,o=i;return l},i.prototype._point=function(t,e,n,i,r){return e*(1-t)*(1-t)*(1-t)+3*n*(1-t)*(1-t)*t+3*i*(1-t)*t*t+r*t*t*t},e}(document)}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(t.jQuery)}(this,function(t){!function(t,e,n){function i(t,e){this.$form=t,this.$input=e,this.reset(),e.on("change paste",this.reset.bind(this))}var r=function(){return!1},o=null,a={numHalted:0,haltValidation:function(e){this.numHalted++,t.formUtils.haltValidation=!0,e.unbind("submit",r).bind("submit",r).find('*[type="submit"]').addClass("disabled").attr("disabled","disabled")},unHaltValidation:function(e){0===--this.numHalted&&(t.formUtils.haltValidation=!1,e.unbind("submit",r).find('*[type="submit"]').removeClass("disabled").removeAttr("disabled","disabled"))}};i.prototype.reset=function(){this.haltedFormValidation=!1,this.hasRun=!1,this.isRunning=!1,this.result=void 0},i.prototype.run=function(t,e){return"keyup"===t?null:this.isRunning?(o=t,this.haltedFormValidation||(a.haltValidation(),this.haltedFormValidation=!0),null):this.hasRun?this.result:(o=t,a.haltValidation(this.$form),this.haltedFormValidation=!0,this.isRunning=!0,this.$input.attr("disabled","disabled").addClass("async-validation"),this.$form.addClass("async-validation"),e(function(t){this.done(t)}.bind(this)),null)},i.prototype.done=function(t){this.result=t,this.hasRun=!0,this.isRunning=!1,this.$input.removeAttr("disabled").removeClass("async-validation"),this.$form.removeClass("async-validation"),this.haltedFormValidation&&(a.unHaltValidation(this.$form),"submit"===o?this.$form.trigger("submit"):this.$input.trigger("validation.revalidate"))},i.loadInstance=function(t,e,n){var r,o=e.get(0);return o.asyncValidators||(o.asyncValidators={}),o.asyncValidators[t]?r=o.asyncValidators[t]:(r=new i(n,e),o.asyncValidators[t]=r),r},t.formUtils=t.extend(t.formUtils||{},{asyncValidation:function(t,e,n){return this.warn("Use of deprecated function $.formUtils.asyncValidation, use $.formUtils.addAsyncValidator() instead"),i.loadInstance(t,e,n)},addAsyncValidator:function(e){var n=t.extend({},e),r=n.validatorFunction;n.async=!0,n.validatorFunction=function(t,e,o,a,s,l){return i.loadInstance(this.name,e,s).run(l,function(i){r.apply(n,[i,t,e,o,a,s,l])})},this.addValidator(n)}}),t(e).bind("validatorsLoaded formValidationSetup",function(e,n){n||(n=t("form")),n.find("[data-validation]").each(function(){var e=t(this);e.valAttr("async",!1),t.each(t.split(e.attr("data-validation")),function(n,i){var r=t.formUtils.validators["validate_"+i];r&&r.async&&e.valAttr("async","yes")})})})}(t,window),function(t,e){"use strict";function n(e){e&&"custom"===e.errorMessagePosition&&"function"==typeof e.errorMessageCustom&&(t.formUtils.warn("Use of deprecated function errorMessageCustom, use config.submitErrorMessageCallback instead"),e.submitErrorMessageCallback=function(t,n){e.errorMessageCustom(t,e.language.errorTitle,n,e)})}function i(e){if(e.errorMessagePosition&&"object"==typeof e.errorMessagePosition){t.formUtils.warn("Deprecated use of config parameter errorMessagePosition, use config.submitErrorMessageCallback instead");var n=e.errorMessagePosition;e.errorMessagePosition="top",e.submitErrorMessageCallback=function(){return n}}}function r(e){var n=e.find("[data-validation-if-checked]");n.length&&t.formUtils.warn('Detected use of attribute "data-validation-if-checked" which is deprecated. Use "data-validation-depends-on" provided by module "logic"'),n.on("beforeValidation",function(){var n=t(this),i=n.valAttr("if-checked"),r=t('input[name="'+i+'"]',e),o=r.is(":checked"),a=(t.formUtils.getValue(r)||"").toString(),s=n.valAttr("if-checked-value");(!o||s&&s!==a)&&n.valAttr("skipped",!0)})}function o(e){var n={se:"sv",cz:"cs",dk:"da"};if(e.lang in n){var i=n[e.lang];t.formUtils.warn('Deprecated use of lang code "'+e.lang+'" use "'+i+'" instead'),e.lang=i}}t.fn.validateForm=function(e,n){return t.formUtils.warn("Use of deprecated function $.validateForm, use $.isValid instead"),this.isValid(e,n,!0)},t(window).on("formValidationPluginInit",function(t,e){o(e),n(e),i(e)}).on("validatorsLoaded formValidationSetup",function(e,n){n||(n=t("form")),r(n)})}(t),function(t){"use strict";var e={resolveErrorMessage:function(t,e,n,i,r){var o=i.validationErrorMsgAttribute+"-"+n.replace("validate_",""),a=t.attr(o);return a||(a=t.attr(i.validationErrorMsgAttribute))||(a="function"!=typeof e.errorMessageKey?r[e.errorMessageKey]:r[e.errorMessageKey(i)])||(a=e.errorMessage),a},getParentContainer:function(e){if(e.valAttr("error-msg-container"))return t(e.valAttr("error-msg-container"));var n=e.parent();return"checkbox"===e.attr("type")&&e.closest(".checkbox").length?n=e.closest(".checkbox").parent():"radio"===e.attr("type")&&e.closest(".radio").length&&(n=e.closest(".radio").parent()),n.closest(".input-group").length&&(n=n.closest(".input-group").parent()),n},applyInputErrorStyling:function(t,e){
-t.addClass(e.errorElementClass).removeClass(e.successElementClass),this.getParentContainer(t).addClass(e.inputParentClassOnError).removeClass(e.inputParentClassOnSuccess),""!==e.borderColorOnError&&t.css("border-color",e.borderColorOnError)},applyInputSuccessStyling:function(t,e){t.addClass(e.successElementClass),this.getParentContainer(t).addClass(e.inputParentClassOnSuccess)},removeInputStylingAndMessage:function(t,n){t.removeClass(n.successElementClass).removeClass(n.errorElementClass).css("border-color","");var i=e.getParentContainer(t);if(i.removeClass(n.inputParentClassOnError).removeClass(n.inputParentClassOnSuccess),"function"==typeof n.inlineErrorMessageCallback){var r=n.inlineErrorMessageCallback(t,!1,n);r&&r.html("")}else i.find("."+n.errorMessageClass).remove()},removeAllMessagesAndStyling:function(n,i){if("function"==typeof i.submitErrorMessageCallback){var r=i.submitErrorMessageCallback(n,!1,i);r&&r.html("")}else n.find("."+i.errorMessageClass+".alert").remove();n.find("."+i.errorElementClass+",."+i.successElementClass).each(function(){e.removeInputStylingAndMessage(t(this),i)})},setInlineMessage:function(e,n,i){this.applyInputErrorStyling(e,i);var r,o=document.getElementById(e.attr("name")+"_err_msg"),a=!1,s=function(i){t.formUtils.$win.trigger("validationErrorDisplay",[e,i]),i.html(n)},l=function(){var o=!1;a.find("."+i.errorMessageClass).each(function(){if(this.inputReferer===e[0])return o=t(this),!1}),o?n?s(o):o.remove():""!==n&&(r=t('<div class="'+i.errorMessageClass+' alert"></div>'),s(r),r[0].inputReferer=e[0],a.prepend(r))};if(o)t.formUtils.warn("Using deprecated element reference "+o.id),a=t(o),l();else if("function"==typeof i.inlineErrorMessageCallback){if(!(a=i.inlineErrorMessageCallback(e,n,i)))return;l()}else{var u=this.getParentContainer(e);r=u.find("."+i.errorMessageClass+".help-block"),0===r.length&&(r=t("<span></span>").addClass("help-block").addClass(i.errorMessageClass),r.appendTo(u)),s(r)}},setMessageInTopOfForm:function(e,n,i,r){var o='<div class="{errorMessageClass} alert alert-danger"><strong>{errorTitle}</strong><ul>{fields}</ul></div>',a=!1;if("function"!=typeof i.submitErrorMessageCallback||(a=i.submitErrorMessageCallback(e,n,i))){var s={errorTitle:r.errorTitle,fields:"",errorMessageClass:i.errorMessageClass};t.each(n,function(t,e){s.fields+="<li>"+e+"</li>"}),t.each(s,function(t,e){o=o.replace("{"+t+"}",e)}),a?a.html(o):e.children().eq(0).before(t(o))}}};t.formUtils=t.extend(t.formUtils||{},{dialogs:e})}(t),function(t,e,n){"use strict";var i=0;t.fn.validateOnBlur=function(e,n){var i=this,r=this.find("*[data-validation]");return r.each(function(){var r=t(this);if(r.is("[type=radio]")){var o=i.find('[type=radio][name="'+r.attr("name")+'"]');o.bind("blur.validation",function(){r.validateInputOnBlur(e,n,!0,"blur")}),n.validateCheckboxRadioOnClick&&o.bind("click.validation",function(){r.validateInputOnBlur(e,n,!0,"click")})}}),r.bind("blur.validation",function(){t(this).validateInputOnBlur(e,n,!0,"blur")}),n.validateCheckboxRadioOnClick&&this.find("input[type=checkbox][data-validation],input[type=radio][data-validation]").bind("click.validation",function(){t(this).validateInputOnBlur(e,n,!0,"click")}),this},t.fn.validateOnEvent=function(e,n){if(0!==this.length){return("FORM"===this[0].nodeName?this.find("*[data-validation-event]"):this).each(function(){var i=t(this),r=i.valAttr("event");r&&i.unbind(r+".validation").bind(r+".validation",function(i){9!==(i||{}).keyCode&&t(this).validateInputOnBlur(e,n,!0,r)})}),this}},t.fn.showHelpOnFocus=function(e){return e||(e="data-validation-help"),this.find("textarea,input").each(function(){var n=t(this),r="jquery_form_help_"+ ++i,o=n.attr(e);n.removeClass("has-help-text").unbind("focus.help").unbind("blur.help"),o&&n.addClass("has-help-txt").bind("focus.help",function(){var e=n.parent().find("."+r);0===e.length&&(e=t("<span />").addClass(r).addClass("help").addClass("help-block").text(o).hide(),n.after(e)),e.fadeIn()}).bind("blur.help",function(){t(this).parent().find("."+r).fadeOut("slow")})}),this},t.fn.validate=function(e,n,i){var r=t.extend({},t.formUtils.LANG,i||{});this.each(function(){var i=t(this),o=i.closest("form").get(0)||{},a=o.validationConfig||t.formUtils.defaultConfig();i.one("validation",function(t,n){"function"==typeof e&&e(n,this,t)}),i.validateInputOnBlur(r,t.extend({},a,n||{}),!0)})},t.fn.willPostponeValidation=function(){return(this.valAttr("suggestion-nr")||this.valAttr("postpone")||this.hasClass("hasDatepicker"))&&!e.postponedValidation},t.fn.validateInputOnBlur=function(n,i,r,o){if(t.formUtils.eventType=o,this.willPostponeValidation()){var a=this,s=this.valAttr("postpone")||200;return e.postponedValidation=function(){a.validateInputOnBlur(n,i,r,o),e.postponedValidation=!1},setTimeout(function(){e.postponedValidation&&e.postponedValidation()},s),this}n=t.extend({},t.formUtils.LANG,n||{}),t.formUtils.dialogs.removeInputStylingAndMessage(this,i);var l=this,u=l.closest("form"),c=t.formUtils.validateInput(l,n,i,u,o),d=function(){l.validateInputOnBlur(n,i,!1,"blur.revalidated")};return"blur"===o&&l.unbind("validation.revalidate",d).one("validation.revalidate",d),r&&l.removeKeyUpValidation(),c.shouldChangeDisplay&&(c.isValid?t.formUtils.dialogs.applyInputSuccessStyling(l,i):t.formUtils.dialogs.setInlineMessage(l,c.errorMsg,i)),!c.isValid&&r&&l.validateOnKeyUp(n,i),this},t.fn.validateOnKeyUp=function(e,n){return this.each(function(){var i=t(this);i.valAttr("has-keyup-event")||i.valAttr("has-keyup-event","true").bind("keyup.validation",function(t){9!==t.keyCode&&i.validateInputOnBlur(e,n,!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,n,i){if(t.formUtils.isLoadingModules){var r=this;return setTimeout(function(){r.isValid(e,n,i)},200),null}n=t.extend({},t.formUtils.defaultConfig(),n||{}),e=t.extend({},t.formUtils.LANG,e||{}),i=!1!==i,t.formUtils.errorDisplayPreventedWhenHalted&&(delete t.formUtils.errorDisplayPreventedWhenHalted,i=!1);var o=function(e,r){t.inArray(e,s)<0&&s.push(e),l.push(r),r.valAttr("current-error",e),i&&t.formUtils.dialogs.applyInputErrorStyling(r,n)},a=[],s=[],l=[],u=this,c=function(e,i){return"submit"===i||"button"===i||"reset"===i||t.inArray(e,n.ignore||[])>-1};if(i&&t.formUtils.dialogs.removeAllMessagesAndStyling(u,n),u.find("input,textarea,select").filter(':not([type="submit"],[type="button"])').each(function(){var i=t(this),r=i.attr("type"),s="radio"===r||"checkbox"===r,l=i.attr("name");if(!c(l,r)&&(!s||t.inArray(l,a)<0)){s&&a.push(l);var d=t.formUtils.validateInput(i,e,n,u,"submit");d.isValid?d.isValid&&d.shouldChangeDisplay&&(i.valAttr("current-error",!1),t.formUtils.dialogs.applyInputSuccessStyling(i,n)):o(d.errorMsg,i)}}),"function"==typeof n.onValidate){var d=n.onValidate(u);t.isArray(d)?t.each(d,function(t,e){o(e.message,e.element)}):d&&d.element&&d.message&&o(d.message,d.element)}return t.formUtils.isValidatingEntireForm=!1,l.length>0&&i&&("top"===n.errorMessagePosition?t.formUtils.dialogs.setMessageInTopOfForm(u,s,n,e):t.each(l,function(e,i){t.formUtils.dialogs.setInlineMessage(i,i.valAttr("current-error"),n)}),n.scrollToTopOnError&&t.formUtils.$win.scrollTop(u.offset().top-20)),!i&&t.formUtils.haltValidation&&(t.formUtils.errorDisplayPreventedWhenHalted=!0),0===l.length&&!t.formUtils.haltValidation},t.fn.restrictLength=function(e){return new t.formUtils.lengthRestriction(this,e),this},t.fn.addSuggestions=function(e){var n=!1;return this.find("input").each(function(){var i=t(this);n=t.split(i.attr("data-suggestions")),n.length>0&&!i.hasClass("has-suggestions")&&(t.formUtils.suggest(i,n,e),i.addClass("has-suggestions"))}),this}}(t,window),function(t){"use strict";t.formUtils=t.extend(t.formUtils||{},{isLoadingModules:!1,loadedModules:{},registerLoadedModule:function(e){this.loadedModules[t.trim(e).toLowerCase()]=!0},hasLoadedModule:function(e){return t.trim(e).toLowerCase()in this.loadedModules},loadModules:function(e,n,i){if(t.formUtils.isLoadingModules)return void setTimeout(function(){t.formUtils.loadModules(e,n,i)},100);var r=function(e,n){var r=t.split(e),o=r.length,a=function(){0===--o&&(t.formUtils.isLoadingModules=!1,"function"==typeof i&&i())};o>0&&(t.formUtils.isLoadingModules=!0);var s="?_="+(new Date).getTime(),l=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0];t.each(r,function(e,i){if(i=t.trim(i),0===i.length||t.formUtils.hasLoadedModule(i))a();else{var r=n+i+(".js"===i.slice(-3)?"":".js"),o=document.createElement("SCRIPT");"function"==typeof define&&define.amd?require([r+(".dev.js"===r.slice(-7)?s:"")],a):(o.type="text/javascript",o.onload=a,o.src=r+(".dev.js"===r.slice(-7)?s:""),o.onerror=function(){t.formUtils.warn("Unable to load form validation module "+r,!0),a()},o.onreadystatechange=function(){"complete"!==this.readyState&&"loaded"!==this.readyState||(a(),this.onload=null,this.onreadystatechange=null)},l.appendChild(o))}})};if(n)r(e,n);else{var o=function(){var n=!1;return t('script[src*="form-validator"]').each(function(){if(!(this.src.split("form-validator")[1].split("node_modules").length>1))return n=this.src.substr(0,this.src.lastIndexOf("/"))+"/","/"===n&&(n=""),!1}),!1!==n&&(r(e,n),!0)};o()||t(function(){o()||"function"==typeof i&&i()})}}})}(t),function(t){"use strict";t.split=function(e,n,i){i=void 0===i||!0===i;var r="[,|"+(i?"\\s":"")+"-]\\s*",o=new RegExp(r,"g");if("function"!=typeof n){if(!e)return[];var a=[];return t.each(e.split(n||o),function(e,n){n=t.trim(n),n.length&&a.push(n)}),a}e&&t.each(e.split(o),function(e,i){if(i=t.trim(i),i.length)return n(i,e)})},t.validate=function(e){var n=t.extend(t.formUtils.defaultConfig(),{form:"form",validateOnEvent:!1,validateOnBlur:!0,validateCheckboxRadioOnClick:!0,showHelpOnFocus:!0,addSuggestions:!0,modules:"",onModulesLoaded:null,language:!1,onSuccess:!1,onError:!1,onElementValidate:!1});if(e=t.extend(n,e||{}),t(window).trigger("formValidationPluginInit",[e]),e.lang&&"en"!==e.lang){var i="lang/"+e.lang+".js";e.modules+=e.modules.length?","+i:i}t(e.form).each(function(n,i){i.validationConfig=e;var r=t(i);r.trigger("formValidationSetup",[r,e]),r.find(".has-help-txt").unbind("focus.validation").unbind("blur.validation"),r.removeClass("has-validation-callback").unbind("submit.validation").unbind("reset.validation").find("input[data-validation],textarea[data-validation]").unbind("blur.validation"),r.bind("submit.validation",function(n){var i=t(this),r=function(){return n.stopImmediatePropagation(),!1};if(t.formUtils.haltValidation)return r();if(t.formUtils.isLoadingModules)return setTimeout(function(){i.trigger("submit.validation")},200),r();var o=i.isValid(e.language,e);return t.formUtils.haltValidation?r():o&&"function"==typeof e.onSuccess?!1===e.onSuccess(i)?r():void 0:o||"function"!=typeof e.onError?!!o||r():(e.onError(i),r())}).bind("reset.validation",function(){t.formUtils.dialogs.removeAllMessagesAndStyling(r,e)}).addClass("has-validation-callback"),e.showHelpOnFocus&&r.showHelpOnFocus(),e.addSuggestions&&r.addSuggestions(),e.validateOnBlur&&(r.validateOnBlur(e.language,e),r.bind("html5ValidationAttrsFound",function(){r.validateOnBlur(e.language,e)})),e.validateOnEvent&&r.validateOnEvent(e.language,e)}),""!==e.modules&&t.formUtils.loadModules(e.modules,null,function(){"function"==typeof e.onModulesLoaded&&e.onModulesLoaded();var n="string"==typeof e.form?t(e.form):e.form;t.formUtils.$win.trigger("validatorsLoaded",[n,e])})}}(t),function(t,e){"use strict";var n=t(e);t.formUtils=t.extend(t.formUtils||{},{$win:n,defaultConfig:function(){return{ignore:[],errorElementClass:"error",successElementClass:"valid",borderColorOnError:"#b94a48",errorMessageClass:"form-error",validationRuleAttribute:"data-validation",validationErrorMsgAttribute:"data-validation-error-msg",errorMessagePosition:"inline",errorMessageTemplate:{container:'<div class="{errorMessageClass} alert alert-danger">{messages}</div>',messages:"<strong>{errorTitle}</strong><ul>{fields}</ul>",field:"<li>{msg}</li>"},scrollToTopOnError:!0,dateFormat:"yyyy-mm-dd",addValidClassOnAll:!1,decimalSeparator:".",inputParentClassOnError:"has-error",inputParentClassOnSuccess:"has-success",validateHiddenInputs:!1,inlineErrorMessageCallback:!1,submitErrorMessageCallback:!1}},validators:{},sanitizers:{},_events:{load:[],valid:[],invalid:[]},haltValidation:!1,addValidator:function(t){var e=0===t.name.indexOf("validate_")?t.name:"validate_"+t.name;void 0===t.validateOnKeyUp&&(t.validateOnKeyUp=!0),this.validators[e]=t},addSanitizer:function(t){this.sanitizers[t.name]=t},warn:function(t,n){"console"in e?"function"==typeof e.console.warn?e.console.warn(t):"function"==typeof e.console.log&&e.console.log(t):n&&alert(t)},getValue:function(t,e){var n=e?e.find(t):t;if(n.length>0){var i=n.eq(0).attr("type");return"radio"===i||"checkbox"===i?n.filter(":checked").val()||"":n.val()||""}return!1},validateInput:function(e,n,i,r,o){i=i||t.formUtils.defaultConfig(),n=n||t.formUtils.LANG,r.length||(r=e.parent());var a=this.getValue(e);e.valAttr("skipped",!1).one("beforeValidation",function(){(e.attr("disabled")||!e.is(":visible")&&!i.validateHiddenInputs)&&e.valAttr("skipped",1)}).trigger("beforeValidation",[a,n,i]);var s="true"===e.valAttr("optional"),l=!a&&s,u=e.attr(i.validationRuleAttribute),c=!0,d="",h={isValid:!0,shouldChangeDisplay:!0,errorMsg:""};if(!u||l||e.valAttr("skipped"))return h.shouldChangeDisplay=i.addValidClassOnAll,h;var f=e.valAttr("ignore");return f&&t.each(f.split(""),function(t,e){a=a.replace(new RegExp("\\"+e,"g"),"")}),t.split(u,function(s){0!==s.indexOf("validate_")&&(s="validate_"+s);var l=t.formUtils.validators[s];if(!l)throw new Error('Using undefined validator "'+s+'". Maybe you have forgotten to load the module that "'+s+'" belongs to?');if("validate_checkbox_group"===s&&(e=r.find('[name="'+e.attr("name")+'"]:eq(0)')),("keyup"!==o||l.validateOnKeyUp)&&(c=l.validatorFunction(a,e,i,n,r,o)),!c)return i.validateOnBlur&&e.validateOnKeyUp(n,i),d=t.formUtils.dialogs.resolveErrorMessage(e,l,s,i,n),!1}),!1===c?(e.trigger("validation",!1),h.errorMsg=d,h.isValid=!1,h.shouldChangeDisplay=!0):null===c?h.shouldChangeDisplay=!1:(e.trigger("validation",!0),h.shouldChangeDisplay=!0),"function"==typeof i.onElementValidate&&null!==d&&i.onElementValidate(h.isValid,e,r,d),e.trigger("afterValidation",[h,o]),h},parseDate:function(e,n,i){var r,o,a,s,l=n.replace(/[a-zA-Z]/gi,"").substring(0,1),u="^",c=n.split(l||null);if(t.each(c,function(t,e){u+=(t>0?"\\"+l:"")+"(\\d{"+e.length+"})"}),u+="$",i){var d=[];t.each(e.split(l),function(t,e){1===e.length&&(e="0"+e),d.push(e)}),e=d.join(l)}if(null===(r=e.match(new RegExp(u))))return!1;var h=function(e,n,i){for(var r=0;r<n.length;r++)if(n[r].substring(0,1)===e)return t.formUtils.parseDateInt(i[r+1]);return-1};return a=h("m",c,r),o=h("d",c,r),s=h("y",c,r),!(2===a&&o>28&&(s%4!=0||s%100==0&&s%400!=0)||2===a&&o>29&&(s%4==0||s%100!=0&&s%400==0)||a>12||0===a)&&(!(this.isShortMonth(a)&&o>30||!this.isShortMonth(a)&&o>31||0===o)&&[s,a,o])},parseDateInt:function(t){return 0===t.indexOf("0")&&(t=t.replace("0","")),parseInt(t,10)},isShortMonth:function(t){return t%2==0&&t<7||t%2!=0&&t>7},lengthRestriction:function(e,n){var i=parseInt(n.text(),10),r=0,o=function(){var t=e.val().length;if(t>i){var o=e.scrollTop();e.val(e.val().substring(0,i)),e.scrollTop(o)}r=i-t,r<0&&(r=0),n.text(r)};t(e).bind("keydown keyup keypress focus blur",o).bind("cut paste",function(){setTimeout(o,100)}),t(document).bind("ready",o)},numericRangeCheck:function(e,n){var i=t.split(n),r=parseInt(n.substr(3),10);return 1===i.length&&-1===n.indexOf("min")&&-1===n.indexOf("max")&&(i=[n,n]),2===i.length&&(e<parseInt(i[0],10)||e>parseInt(i[1],10))?["out",i[0],i[1]]:0===n.indexOf("min")&&e<r?["min",r]:0===n.indexOf("max")&&e>r?["max",r]:["ok"]},_numSuggestionElements:0,_selectedSuggestion:null,_previousTypedVal:null,suggest:function(e,i,r){var o={css:{maxHeight:"150px",background:"#FFF",lineHeight:"150%",textDecoration:"underline",overflowX:"hidden",overflowY:"auto",border:"#CCC solid 1px",borderTop:"none",cursor:"pointer"},activeSuggestionCSS:{background:"#E9E9E9"}},a=function(t,e){var n=e.offset();t.css({width:e.outerWidth(),left:n.left+"px",top:n.top+e.outerHeight()+"px"})};r&&t.extend(o,r),o.css.position="absolute",o.css["z-index"]=9999,e.attr("autocomplete","off"),0===this._numSuggestionElements&&n.bind("resize",function(){t(".jquery-form-suggestions").each(function(){var e=t(this),n=e.attr("data-suggest-container");a(e,t(".suggestions-"+n).eq(0))})}),this._numSuggestionElements++;var s=function(e){var n=e.valAttr("suggestion-nr");t.formUtils._selectedSuggestion=null,t.formUtils._previousTypedVal=null,t(".jquery-form-suggestion-"+n).fadeOut("fast")};return e.data("suggestions",i).valAttr("suggestion-nr",this._numSuggestionElements).unbind("focus.suggest").bind("focus.suggest",function(){t(this).trigger("keyup"),t.formUtils._selectedSuggestion=null}).unbind("keyup.suggest").bind("keyup.suggest",function(){var n=t(this),i=[],r=t.trim(n.val()).toLocaleLowerCase();if(r!==t.formUtils._previousTypedVal){t.formUtils._previousTypedVal=r;var l=!1,u=n.valAttr("suggestion-nr"),c=t(".jquery-form-suggestion-"+u);if(c.scrollTop(0),""!==r){var d=r.length>2;t.each(n.data("suggestions"),function(t,e){var n=e.toLocaleLowerCase();if(n===r)return i.push("<strong>"+e+"</strong>"),l=!0,!1;(0===n.indexOf(r)||d&&n.indexOf(r)>-1)&&i.push(e.replace(new RegExp(r,"gi"),"<strong>$&</strong>"))})}l||0===i.length&&c.length>0?c.hide():i.length>0&&0===c.length?(c=t("<div></div>").css(o.css).appendTo("body"),e.addClass("suggestions-"+u),c.attr("data-suggest-container",u).addClass("jquery-form-suggestions").addClass("jquery-form-suggestion-"+u)):i.length>0&&!c.is(":visible")&&c.show(),i.length>0&&r.length!==i[0].length&&(a(c,n),c.html(""),t.each(i,function(e,i){t("<div></div>").append(i).css({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"5px"}).addClass("form-suggest-element").appendTo(c).click(function(){n.focus(),n.val(t(this).text()),n.trigger("change"),s(n)})}))}}).unbind("keydown.validation").bind("keydown.validation",function(e){var n,i,r=e.keyCode?e.keyCode:e.which,a=t(this);if(13===r&&null!==t.formUtils._selectedSuggestion){if(n=a.valAttr("suggestion-nr"),i=t(".jquery-form-suggestion-"+n),i.length>0){var l=i.find("div").eq(t.formUtils._selectedSuggestion).text();a.val(l),a.trigger("change"),s(a),e.preventDefault()}}else{n=a.valAttr("suggestion-nr"),i=t(".jquery-form-suggestion-"+n);var u=i.children();if(u.length>0&&t.inArray(r,[38,40])>-1){38===r?(null===t.formUtils._selectedSuggestion?t.formUtils._selectedSuggestion=u.length-1:t.formUtils._selectedSuggestion--,t.formUtils._selectedSuggestion<0&&(t.formUtils._selectedSuggestion=u.length-1)):40===r&&(null===t.formUtils._selectedSuggestion?t.formUtils._selectedSuggestion=0:t.formUtils._selectedSuggestion++,t.formUtils._selectedSuggestion>u.length-1&&(t.formUtils._selectedSuggestion=0));var c=i.innerHeight(),d=i.scrollTop(),h=i.children().eq(0).outerHeight(),f=h*t.formUtils._selectedSuggestion;return(f<d||f>d+c)&&i.scrollTop(f),u.removeClass("active-suggestion").css("background","none").eq(t.formUtils._selectedSuggestion).addClass("active-suggestion").css(o.activeSuggestionCSS),e.preventDefault(),!1}}}).unbind("blur.suggest").bind("blur.suggest",function(){s(t(this))}),e},LANG:{errorTitle:"Form submission failed!",requiredField:"This is a required field",requiredFields:"You have not answered all required fields",badTime:"You have not given a correct time",badEmail:"You have not given a correct e-mail address",badTelephone:"You have not given a correct phone number",badSecurityAnswer:"You have not given a correct answer to the security question",badDate:"You have not given a correct date",lengthBadStart:"The input value must be between ",lengthBadEnd:" characters",lengthTooLongStart:"The input value is longer than ",lengthTooShortStart:"The input value is shorter than ",notConfirmed:"Input values could not be confirmed",badDomain:"Incorrect domain value",badUrl:"The input value is not a correct URL",badCustomVal:"The input value is incorrect",andSpaces:" and spaces ",badInt:"The input value was not a correct number",badSecurityNumber:"Your social security number was incorrect",badUKVatAnswer:"Incorrect UK VAT Number",badUKNin:"Incorrect UK NIN",badUKUtr:"Incorrect UK UTR Number",badStrength:"The password isn't strong enough",badNumberOfSelectedOptionsStart:"You have to choose at least ",badNumberOfSelectedOptionsEnd:" answers",badAlphaNumeric:"The input value can only contain alphanumeric characters ",badAlphaNumericExtra:" and ",wrongFileSize:"The file you are trying to upload is too large (max %s)",wrongFileType:"Only files of type %s is allowed",groupCheckedRangeStart:"Please choose between ",groupCheckedTooFewStart:"Please choose at least ",groupCheckedTooManyStart:"Please choose a maximum of ",groupCheckedEnd:" item(s)",badCreditCard:"The credit card number is not correct",badCVV:"The CVV number was not correct",wrongFileDim:"Incorrect image dimensions,",imageTooTall:"the image can not be taller than",imageTooWide:"the image can not be wider than",imageTooSmall:"the image was too small",min:"min",max:"max",imageRatioNotAccepted:"Image ratio is not be accepted",badBrazilTelephoneAnswer:"The phone number entered is invalid",badBrazilCEPAnswer:"The CEP entered is invalid",badBrazilCPFAnswer:"The CPF entered is invalid",badPlPesel:"The PESEL entered is invalid",badPlNip:"The NIP entered is invalid",badPlRegon:"The REGON entered is invalid",badreCaptcha:"Please confirm that you are not a bot",passwordComplexityStart:"Password must contain at least ",passwordComplexitySeparator:", ",passwordComplexityUppercaseInfo:" uppercase letter(s)",passwordComplexityLowercaseInfo:" lowercase letter(s)",passwordComplexitySpecialCharsInfo:" special character(s)",passwordComplexityNumericCharsInfo:" numeric character(s)",passwordComplexityEnd:"."}})}(t,window),function(t){t.formUtils.addValidator({name:"email",validatorFunction:function(e){var n=e.toLowerCase().split("@"),i=n[0],r=n[1];if(i&&r){if(0===i.indexOf('"')){var o=i.length;if(i=i.replace(/\"/g,""),i.length!==o-2)return!1}return t.formUtils.validators.validate_domain.validatorFunction(n[1])&&0!==i.indexOf(".")&&"."!==i.substring(i.length-1,i.length)&&-1===i.indexOf("..")&&!/[^\w\+\.\-\#\-\_\~\!\$\&\'\(\)\*\+\,\;\=\:]/.test(i)}return!1},errorMessage:"",errorMessageKey:"badEmail"}),t.formUtils.addValidator({name:"domain",validatorFunction:function(t){return t.length>0&&t.length<=253&&!/[^a-zA-Z0-9]/.test(t.slice(-2))&&!/[^a-zA-Z0-9]/.test(t.substr(0,1))&&!/[^a-zA-Z0-9\.\-]/.test(t)&&1===t.split("..").length&&t.split(".").length>1},errorMessage:"",errorMessageKey:"badDomain"}),t.formUtils.addValidator({name:"required",validatorFunction:function(e,n,i,r,o){switch(n.attr("type")){case"checkbox":return n.is(":checked");case"radio":return o.find('input[name="'+n.attr("name")+'"]').filter(":checked").length>0;default:return""!==t.trim(e)}},errorMessage:"",errorMessageKey:function(t){return"top"===t.errorMessagePosition||"function"==typeof t.errorMessagePosition?"requiredFields":"requiredField"}}),t.formUtils.addValidator({name:"length",validatorFunction:function(e,n,i,r){var o=n.valAttr("length"),a=n.attr("type");if(void 0===o)return alert('Please add attribute "data-validation-length" to '+n[0].nodeName+" named "+n.attr("name")),!0;var s,l="file"===a&&void 0!==n.get(0).files?n.get(0).files.length:e.length,u=t.formUtils.numericRangeCheck(l,o);switch(u[0]){case"out":this.errorMessage=r.lengthBadStart+o+r.lengthBadEnd,s=!1;break;case"min":this.errorMessage=r.lengthTooShortStart+u[1]+r.lengthBadEnd,s=!1;break;case"max":this.errorMessage=r.lengthTooLongStart+u[1]+r.lengthBadEnd,s=!1;break;default:s=!0}return s},errorMessage:"",errorMessageKey:""}),t.formUtils.addValidator({name:"url",validatorFunction:function(e){if(/^(https?|ftp):\/\/((((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])(\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])(\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/(((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|\[|\]|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#(((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(e)){var n=e.split("://")[1],i=n.indexOf("/");return i>-1&&(n=n.substr(0,i)),t.formUtils.validators.validate_domain.validatorFunction(n)}return!1},errorMessage:"",errorMessageKey:"badUrl"}),t.formUtils.addValidator({name:"number",validatorFunction:function(t,e,n){if(""!==t){var i,r,o=e.valAttr("allowing")||"",a=e.valAttr("decimal-separator")||n.decimalSeparator,s=!1,l=e.valAttr("step")||"",u=!1;if((e.attr("data-sanitize")||"").match(/(^|[\s])numberFormat([\s]|$)/i)){if(!window.numeral)throw new ReferenceError("The data-sanitize value numberFormat cannot be used without the numeral library. Please see Data Validation in http://www.formvalidator.net for more information.");t.length&&(t=String(numeral().unformat(t)))}if(-1===o.indexOf("number")&&(o+=",number"),-1===o.indexOf("negative")&&0===t.indexOf("-"))return!1;if(o.indexOf("range")>-1&&(i=parseFloat(o.substring(o.indexOf("[")+1,o.indexOf(";"))),r=parseFloat(o.substring(o.indexOf(";")+1,o.indexOf("]"))),s=!0),""!==l&&(u=!0),","===a){if(t.indexOf(".")>-1)return!1;t=t.replace(",",".")}if(""===t.replace(/[0-9-]/g,"")&&(!s||t>=i&&t<=r)&&(!u||t%l==0))return!0;if(o.indexOf("float")>-1&&null!==t.match(new RegExp("^([0-9-]+)\\.([0-9]+)$"))&&(!s||t>=i&&t<=r)&&(!u||t%l==0))return!0}return!1},errorMessage:"",errorMessageKey:"badInt"}),t.formUtils.addValidator({name:"alphanumeric",validatorFunction:function(e,n,i,r){var o=n.valAttr("allowing"),a="",s=!1;if(o){a="^([a-zA-Z0-9"+o+"]+)$";var l=o.replace(/\\/g,"");l.indexOf(" ")>-1&&(s=!0,l=l.replace(" ",""),l+=r.andSpaces||t.formUtils.LANG.andSpaces),r.badAlphaNumericAndExtraAndSpaces&&r.badAlphaNumericAndExtra?this.errorMessage=s?r.badAlphaNumericAndExtraAndSpaces+l:r.badAlphaNumericAndExtra+l+r.badAlphaNumericExtra:this.errorMessage=r.badAlphaNumeric+r.badAlphaNumericExtra+l}else a="^([a-zA-Z0-9]+)$",this.errorMessage=r.badAlphaNumeric;return new RegExp(a).test(e)},errorMessage:"",errorMessageKey:""}),t.formUtils.addValidator({name:"custom",validatorFunction:function(t,e){return new RegExp(e.valAttr("regexp")).test(t)},errorMessage:"",errorMessageKey:"badCustomVal"}),t.formUtils.addValidator({name:"date",validatorFunction:function(e,n,i){var r=n.valAttr("format")||i.dateFormat||"yyyy-mm-dd",o="false"===n.valAttr("require-leading-zero");return!1!==t.formUtils.parseDate(e,r,o)},errorMessage:"",errorMessageKey:"badDate"}),t.formUtils.addValidator({name:"checkbox_group",validatorFunction:function(e,n,i,r,o){var a=!0,s=n.attr("name"),l=t('input[type=checkbox][name^="'+s+'"]',o),u=l.filter(":checked").length,c=n.valAttr("qty");if(void 0===c){var d=n.get(0).nodeName;alert('Attribute "data-validation-qty" is missing from '+d+" named "+n.attr("name"))}var h=t.formUtils.numericRangeCheck(u,c);switch(h[0]){case"out":this.errorMessage=r.groupCheckedRangeStart+c+r.groupCheckedEnd,a=!1;break;case"min":this.errorMessage=r.groupCheckedTooFewStart+h[1]+(r.groupCheckedTooFewEnd||r.groupCheckedEnd),a=!1;break;case"max":this.errorMessage=r.groupCheckedTooManyStart+h[1]+(r.groupCheckedTooManyEnd||r.groupCheckedEnd),a=!1;break;default:a=!0}if(!a){var f=function(){l.unbind("click",f),l.filter("*[data-validation]").validateInputOnBlur(r,i,!1,"blur")};l.bind("click",f)}return a}})}(t)});var List=function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=11)}([function(t,e,n){function i(t){if(!t||!t.nodeType)throw new Error("A DOM element reference is required");this.el=t,this.list=t.classList}var r=n(4),o=/\s+/;Object.prototype.toString;t.exports=function(t){return new i(t)},i.prototype.add=function(t){if(this.list)return this.list.add(t),this;var e=this.array();return~r(e,t)||e.push(t),this.el.className=e.join(" "),this},i.prototype.remove=function(t){if(this.list)return this.list.remove(t),this;var e=this.array(),n=r(e,t);return~n&&e.splice(n,1),this.el.className=e.join(" "),this},i.prototype.toggle=function(t,e){return this.list?(void 0!==e?e!==this.list.toggle(t,e)&&this.list.toggle(t):this.list.toggle(t),this):(void 0!==e?e?this.add(t):this.remove(t):this.has(t)?this.remove(t):this.add(t),this)},i.prototype.array=function(){var t=this.el.getAttribute("class")||"",e=t.replace(/^\s+|\s+$/g,""),n=e.split(o);return""===n[0]&&n.shift(),n},i.prototype.has=i.prototype.contains=function(t){return this.list?this.list.contains(t):!!~r(this.array(),t)}},function(t,e,n){var i=window.addEventListener?"addEventListener":"attachEvent",r=window.removeEventListener?"removeEventListener":"detachEvent",o="addEventListener"!==i?"on":"",a=n(5);e.bind=function(t,e,n,r){t=a(t);for(var s=0;s<t.length;s++)t[s][i](o+e,n,r||!1)},e.unbind=function(t,e,n,i){t=a(t);for(var s=0;s<t.length;s++)t[s][r](o+e,n,i||!1)}},function(t,e){t.exports=function(t){return function(e,n,i){var r=this;this._values={},this.found=!1,this.filtered=!1;this.values=function(e,n){if(void 0===e)return r._values;for(var i in e)r._values[i]=e[i];!0!==n&&t.templater.set(r,r.values())},this.show=function(){t.templater.show(r)},this.hide=function(){t.templater.hide(r)},this.matching=function(){return t.filtered&&t.searched&&r.found&&r.filtered||t.filtered&&!t.searched&&r.filtered||!t.filtered&&t.searched&&r.found||!t.filtered&&!t.searched},this.visible=function(){return!(!r.elm||r.elm.parentNode!=t.list)},function(e,n,i){if(void 0===n)i?r.values(e,i):r.values(e);else{r.elm=n;var o=t.templater.get(r,e);r.values(o)}}(e,n,i)}}},function(t,e){var n=function(t,e,n){return n?t.getElementsByClassName(e)[0]:t.getElementsByClassName(e)},i=function(t,e,n){return e="."+e,n?t.querySelector(e):t.querySelectorAll(e)},r=function(t,e,n){for(var i=[],r=t.getElementsByTagName("*"),o=r.length,a=new RegExp("(^|\\s)"+e+"(\\s|$)"),s=0,l=0;s<o;s++)if(a.test(r[s].className)){if(n)return r[s];i[l]=r[s],l++}return i};t.exports=function(){return function(t,e,o,a){return a=a||{},a.test&&a.getElementsByClassName||!a.test&&document.getElementsByClassName?n(t,e,o):a.test&&a.querySelector||!a.test&&document.querySelector?i(t,e,o):r(t,e,o)}}()},function(t,e){var n=[].indexOf;t.exports=function(t,e){if(n)return t.indexOf(e);for(var i=0;i<t.length;++i)if(t[i]===e)return i;return-1}},function(t,e){function n(t){return"[object Array]"===Object.prototype.toString.call(t)}t.exports=function(t){if(void 0===t)return[];if(null===t)return[null];if(t===window)return[window]
-;if("string"==typeof t)return[t];if(n(t))return t;if("number"!=typeof t.length)return[t];if("function"==typeof t&&t instanceof Function)return[t];for(var e=[],i=0;i<t.length;i++)(Object.prototype.hasOwnProperty.call(t,i)||i in t)&&e.push(t[i]);return e.length?e:[]}},function(t,e){t.exports=function(t){return t=void 0===t?"":t,t=null===t?"":t,t=t.toString()}},function(t,e){t.exports=function(t){for(var e,n=Array.prototype.slice.call(arguments,1),i=0;e=n[i];i++)if(e)for(var r in e)t[r]=e[r];return t}},function(t,e){t.exports=function(t){var e=function(n,i,r){var o=n.splice(0,50);r=r||[],r=r.concat(t.add(o)),n.length>0?setTimeout(function(){e(n,i,r)},1):(t.update(),i(r))};return e}},function(t,e){t.exports=function(t){return t.handlers.filterStart=t.handlers.filterStart||[],t.handlers.filterComplete=t.handlers.filterComplete||[],function(e){if(t.trigger("filterStart"),t.i=1,t.reset.filter(),void 0===e)t.filtered=!1;else{t.filtered=!0;for(var n=t.items,i=0,r=n.length;i<r;i++){var o=n[i];e(o)?o.filtered=!0:o.filtered=!1}}return t.update(),t.trigger("filterComplete"),t.visibleItems}}},function(t,e,n){var i=(n(0),n(1)),r=n(7),o=n(6),a=n(3),s=n(19);t.exports=function(t,e){e=e||{},e=r({location:0,distance:100,threshold:.4,multiSearch:!0,searchClass:"fuzzy-search"},e);var n={search:function(i,r){for(var o=e.multiSearch?i.replace(/ +$/,"").split(/ +/):[i],a=0,s=t.items.length;a<s;a++)n.item(t.items[a],r,o)},item:function(t,e,i){for(var r=!0,o=0;o<i.length;o++){for(var a=!1,s=0,l=e.length;s<l;s++)n.values(t.values(),e[s],i[o])&&(a=!0);a||(r=!1)}t.found=r},values:function(t,n,i){if(t.hasOwnProperty(n)){var r=o(t[n]).toLowerCase();if(s(r,i,e))return!0}return!1}};return i.bind(a(t.listContainer,e.searchClass),"keyup",function(e){var i=e.target||e.srcElement;t.search(i.value,n.search)}),function(e,i){t.search(e,i,n.search)}}},function(t,e,n){var i=n(18),r=n(3),o=n(7),a=n(4),s=n(1),l=n(6),u=n(0),c=n(17),d=n(5);t.exports=function(t,e,h){var f,p=this,g=n(2)(p),v=n(8)(p),m=n(12)(p);f={start:function(){p.listClass="list",p.searchClass="search",p.sortClass="sort",p.page=1e4,p.i=1,p.items=[],p.visibleItems=[],p.matchingItems=[],p.searched=!1,p.filtered=!1,p.searchColumns=void 0,p.handlers={updated:[]},p.valueNames=[],p.utils={getByClass:r,extend:o,indexOf:a,events:s,toString:l,naturalSort:i,classes:u,getAttribute:c,toArray:d},p.utils.extend(p,e),p.listContainer="string"==typeof t?document.getElementById(t):t,p.listContainer&&(p.list=r(p.listContainer,p.listClass,!0),p.parse=n(13)(p),p.templater=n(16)(p),p.search=n(14)(p),p.filter=n(9)(p),p.sort=n(15)(p),p.fuzzySearch=n(10)(p,e.fuzzySearch),this.handlers(),this.items(),this.pagination(),p.update())},handlers:function(){for(var t in p.handlers)p[t]&&p.on(t,p[t])},items:function(){p.parse(p.list),void 0!==h&&p.add(h)},pagination:function(){if(void 0!==e.pagination){!0===e.pagination&&(e.pagination=[{}]),void 0===e.pagination[0]&&(e.pagination=[e.pagination]);for(var t=0,n=e.pagination.length;t<n;t++)m(e.pagination[t])}}},this.reIndex=function(){p.items=[],p.visibleItems=[],p.matchingItems=[],p.searched=!1,p.filtered=!1,p.parse(p.list)},this.toJSON=function(){for(var t=[],e=0,n=p.items.length;e<n;e++)t.push(p.items[e].values());return t},this.add=function(t,e){if(0!==t.length){if(e)return void v(t,e);var n=[],i=!1;void 0===t[0]&&(t=[t]);for(var r=0,o=t.length;r<o;r++){var a=null;i=p.items.length>p.page,a=new g(t[r],void 0,i),p.items.push(a),n.push(a)}return p.update(),n}},this.show=function(t,e){return this.i=t,this.page=e,p.update(),p},this.remove=function(t,e,n){for(var i=0,r=0,o=p.items.length;r<o;r++)p.items[r].values()[t]==e&&(p.templater.remove(p.items[r],n),p.items.splice(r,1),o--,r--,i++);return p.update(),i},this.get=function(t,e){for(var n=[],i=0,r=p.items.length;i<r;i++){var o=p.items[i];o.values()[t]==e&&n.push(o)}return n},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 n=p.handlers[t],i=a(n,e);return i>-1&&n.splice(i,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 n=0;n<e;n++)t[n].matching()&&p.matchingItems.length+1>=p.i&&p.visibleItems.length<p.page?(t[n].show(),p.visibleItems.push(t[n]),p.matchingItems.push(t[n])):t[n].matching()?(p.matchingItems.push(t[n]),t[n].hide()):t[n].hide();return p.trigger("updated"),p},f.start()}},function(t,e,n){var i=n(0),r=n(1),o=n(11);t.exports=function(t){var e=function(e,r){var o,s=t.matchingItems.length,l=t.i,u=t.page,c=Math.ceil(s/u),d=Math.ceil(l/u),h=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 v=d===g?"active":"";n.number(g,f,p,d,h)?(o=e.add({page:g,dotted:!1})[0],v&&i(o.elm).add(v),a(o.elm,g,u)):n.dotted(e,g,f,p,d,h,e.size())&&(o=e.add({page:"...",dotted:!0})[0],i(o.elm).add("disabled"))}},n={number:function(t,e,n,i,r){return this.left(t,e)||this.right(t,n)||this.innerWindow(t,i,r)},left:function(t,e){return t<=e},right:function(t,e){return t>e},innerWindow:function(t,e,n){return t>=e-n&&t<=e+n},dotted:function(t,e,n,i,r,o,a){return this.dottedLeft(t,e,n,i,r,o)||this.dottedRight(t,e,n,i,r,o,a)},dottedLeft:function(t,e,n,i,r,o){return e==n+1&&!this.innerWindow(e,r,o)&&!this.right(e,i)},dottedRight:function(t,e,n,i,r,o,a){return!t.items[a-1].values().dotted&&(e==i&&!this.innerWindow(e,r,o)&&!this.right(e,i))}},a=function(e,n,i){r.bind(e,"click",function(){t.show((n-1)*i+1,i)})};return function(n){var i=new o(t.listContainer.id,{listClass:n.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(i,n)}),e(i,n)}}},function(t,e,n){t.exports=function(t){var e=n(2)(t),i=function(t){for(var e=t.childNodes,n=[],i=0,r=e.length;i<r;i++)void 0===e[i].data&&n.push(e[i]);return n},r=function(n,i){for(var r=0,o=n.length;r<o;r++)t.items.push(new e(i,n[r]))},o=function(e,n){var i=e.splice(0,50);r(i,n),e.length>0?setTimeout(function(){o(e,n)},1):(t.update(),t.trigger("parseComplete"))};return t.handlers.parseComplete=t.handlers.parseComplete||[],function(){var e=i(t.list),n=t.valueNames;t.indexAsync?o(e,n):r(e,n)}}},function(t,e){t.exports=function(t){var e,n,i,r,o={resetList:function(){t.i=1,t.templater.clear(),r=void 0},setOptions:function(t){2==t.length&&t[1]instanceof Array?n=t[1]:2==t.length&&"function"==typeof t[1]?(n=void 0,r=t[1]):3==t.length?(n=t[1],r=t[2]):n=void 0},setColumns:function(){0!==t.items.length&&void 0===n&&(n=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,"\\$&"),i=e},toArray:function(t){var e=[];for(var n in t)e.push(n);return e}},a={list:function(){for(var e=0,n=t.items.length;e<n;e++)a.item(t.items[e])},item:function(t){t.found=!1;for(var e=0,i=n.length;e<i;e++)if(a.values(t.values(),n[e]))return void(t.found=!0)},values:function(n,r){return!!(n.hasOwnProperty(r)&&(e=t.utils.toString(n[r]).toLowerCase(),""!==i&&e.search(i)>-1))},reset:function(){t.reset.search(),t.searched=!1}},s=function(e){return t.trigger("searchStart"),o.resetList(),o.setSearchString(e),o.setOptions(arguments),o.setColumns(),""===i?a.reset():(t.searched=!0,r?r(i,n):a.list()),t.update(),t.trigger("searchComplete"),t.visibleItems};return t.handlers.searchStart=t.handlers.searchStart||[],t.handlers.searchComplete=t.handlers.searchComplete||[],t.utils.events.bind(t.utils.getByClass(t.listContainer,t.searchClass),"keyup",function(e){var n=e.target||e.srcElement;""===n.value&&!t.searched||s(n.value)}),t.utils.events.bind(t.utils.getByClass(t.listContainer,t.searchClass),"input",function(t){""===(t.target||t.srcElement).value&&s("")}),s}},function(t,e){t.exports=function(t){var e={els:void 0,clear:function(){for(var n=0,i=e.els.length;n<i;n++)t.utils.classes(e.els[n]).remove("asc"),t.utils.classes(e.els[n]).remove("desc")},getOrder:function(e){var n=t.utils.getAttribute(e,"data-order");return"asc"==n||"desc"==n?n:t.utils.classes(e).has("desc")?"asc":t.utils.classes(e).has("asc")?"desc":"asc"},getInSensitive:function(e,n){var i=t.utils.getAttribute(e,"data-insensitive");n.insensitive="false"!==i},setOrder:function(n){for(var i=0,r=e.els.length;i<r;i++){var o=e.els[i];if(t.utils.getAttribute(o,"data-sort")===n.valueName){var a=t.utils.getAttribute(o,"data-order");"asc"==a||"desc"==a?a==n.order&&t.utils.classes(o).add(n.order):t.utils.classes(o).add(n.order)}}}},n=function(){t.trigger("sortStart");var n={},i=arguments[0].currentTarget||arguments[0].srcElement||void 0;i?(n.valueName=t.utils.getAttribute(i,"data-sort"),e.getInSensitive(i,n),n.order=e.getOrder(i)):(n=arguments[1]||n,n.valueName=arguments[0],n.order=n.order||"asc",n.insensitive=void 0===n.insensitive||n.insensitive),e.clear(),e.setOrder(n);var r,o=n.sortFunction||t.sortFunction||null,a="desc"===n.order?-1:1;r=o?function(t,e){return o(t,e,n)*a}:function(e,i){var r=t.utils.naturalSort;return r.alphabet=t.alphabet||n.alphabet||void 0,!r.alphabet&&n.insensitive&&(r=t.utils.naturalSort.caseInsensitive),r(e.values()[n.valueName],i.values()[n.valueName])*a},t.items.sort(r),t.update(),t.trigger("sortComplete")};return t.handlers.sortStart=t.handlers.sortStart||[],t.handlers.sortComplete=t.handlers.sortComplete||[],e.els=t.utils.getByClass(t.listContainer,t.sortClass),t.utils.events.bind(e.els,"click",n),t.on("searchStart",e.clear),t.on("filterStart",e.clear),n}},function(t,e){var n=function(t){var e,n=this;this.clearSourceItem=function(e,n){for(var i=0,r=n.length;i<r;i++){var o;if(n[i].data)for(var a=0,s=n[i].data.length;a<s;a++)e.setAttribute("data-"+n[i].data[a],"");else n[i].attr&&n[i].name?(o=t.utils.getByClass(e,n[i].name,!0))&&o.setAttribute(n[i].attr,""):(o=t.utils.getByClass(e,n[i],!0))&&(o.innerHTML="");o=void 0}return e},this.getItemSource=function(e){if(void 0===e){for(var n=t.list.childNodes,i=0,r=n.length;i<r;i++)if(void 0===n[i].data)return n[i].cloneNode(!0)}else{if(/<tr[\s>]/g.exec(e)){var o=document.createElement("tbody");return o.innerHTML=e,o.firstChild}if(-1!==e.indexOf("<")){var a=document.createElement("div");return a.innerHTML=e,a.firstChild}var s=document.getElementById(t.item);if(s)return s}},this.get=function(e,i){n.create(e);for(var r={},o=0,a=i.length;o<a;o++){var s;if(i[o].data)for(var l=0,u=i[o].data.length;l<u;l++)r[i[o].data[l]]=t.utils.getAttribute(e.elm,"data-"+i[o].data[l]);else i[o].attr&&i[o].name?(s=t.utils.getByClass(e.elm,i[o].name,!0),r[i[o].name]=s?t.utils.getAttribute(s,i[o].attr):""):(s=t.utils.getByClass(e.elm,i[o],!0),r[i[o]]=s?s.innerHTML:"");s=void 0}return r},this.set=function(e,i){var r=function(e){for(var n=0,i=t.valueNames.length;n<i;n++)if(t.valueNames[n].data){for(var r=t.valueNames[n].data,o=0,a=r.length;o<a;o++)if(r[o]===e)return{data:e}}else{if(t.valueNames[n].attr&&t.valueNames[n].name&&t.valueNames[n].name==e)return t.valueNames[n];if(t.valueNames[n]===e)return e}};if(!n.create(e))for(var o in i)i.hasOwnProperty(o)&&function(n,i){var o,a=r(n);a&&(a.data?e.elm.setAttribute("data-"+a.data,i):a.attr&&a.name?(o=t.utils.getByClass(e.elm,a.name,!0))&&o.setAttribute(a.attr,i):(o=t.utils.getByClass(e.elm,a,!0))&&(o.innerHTML=i),o=void 0)}(o,i[o])},this.create=function(t){if(void 0!==t.elm)return!1;if(void 0===e)throw new Error("The list need to have at list one item on init otherwise you'll have to add a template.");var i=e.cloneNode(!0);return i.removeAttribute("id"),t.elm=i,n.set(t,t.values()),!0},this.remove=function(e){e.elm.parentNode===t.list&&t.list.removeChild(e.elm)},this.show=function(e){n.create(e),t.list.appendChild(e.elm)},this.hide=function(e){void 0!==e.elm&&e.elm.parentNode===t.list&&t.list.removeChild(e.elm)},this.clear=function(){if(t.list.hasChildNodes())for(;t.list.childNodes.length>=1;)t.list.removeChild(t.list.firstChild)},function(){(e=n.getItemSource(t.item))&&(e=n.clearSourceItem(e,t.valueNames))}()};t.exports=function(t){return new n(t)}},function(t,e){t.exports=function(t,e){var n=t.getAttribute&&t.getAttribute(e)||null;if(!n)for(var i=t.attributes,r=i.length,o=0;o<r;o++)void 0!==e[o]&&e[o].nodeName===e&&(n=e[o].nodeValue);return n}},function(t,e,n){"use strict";function i(t){return t>=48&&t<=57}function r(t,e){for(var n=(t+="").length,r=(e+="").length,o=0,l=0;o<n&&l<r;){var u=t.charCodeAt(o),c=e.charCodeAt(l);if(i(u)){if(!i(c))return u-c;for(var d=o,h=l;48===u&&++d<n;)u=t.charCodeAt(d);for(;48===c&&++h<r;)c=e.charCodeAt(h);for(var f=d,p=h;f<n&&i(t.charCodeAt(f));)++f;for(;p<r&&i(e.charCodeAt(p));)++p;var g=f-d-p+h;if(g)return g;for(;d<f;)if(g=t.charCodeAt(d++)-e.charCodeAt(h++))return g;o=f,l=p}else{if(u!==c)return u<s&&c<s&&-1!==a[u]&&-1!==a[c]?a[u]-a[c]:u-c;++o,++l}}return n-r}var o,a,s=0;r.caseInsensitive=r.i=function(t,e){return r((""+t).toLowerCase(),(""+e).toLowerCase())},Object.defineProperties(r,{alphabet:{get:function(){return o},set:function(t){o=t,a=[];var e=0;if(o)for(;e<o.length;e++)a[o.charCodeAt(e)]=e;for(s=a.length,e=0;e<s;e++)void 0===a[e]&&(a[e]=-1)}}}),t.exports=r},function(t,e){t.exports=function(t,e,n){function i(t,n){var i=t/e.length,r=Math.abs(s-n);return o?i+r/o:r?1:i}var r=n.location||0,o=n.distance||100,a=n.threshold||.4;if(e===t)return!0;if(e.length>32)return!1;var s=r,l=function(){var t,n={};for(t=0;t<e.length;t++)n[e.charAt(t)]=0;for(t=0;t<e.length;t++)n[e.charAt(t)]|=1<<e.length-t-1;return n}(),u=a,c=t.indexOf(e,s);-1!=c&&(u=Math.min(i(0,c),u),-1!=(c=t.lastIndexOf(e,s+e.length))&&(u=Math.min(i(0,c),u)));var d=1<<e.length-1;c=-1;for(var h,f,p,g=e.length+t.length,v=0;v<e.length;v++){for(h=0,f=g;h<f;)i(v,s+f)<=u?h=f:g=f,f=Math.floor((g-h)/2+h);g=f;var m=Math.max(1,s-f+1),y=Math.min(s+f,t.length)+e.length,b=Array(y+2);b[y+1]=(1<<v)-1;for(var _=y;_>=m;_--){var x=l[t.charAt(_-1)];if(b[_]=0===v?(b[_+1]<<1|1)&x:(b[_+1]<<1|1)&x|(p[_+1]|p[_])<<1|1|p[_+1],b[_]&d){var w=i(v,_-1);if(w<=u){if(u=w,!((c=_-1)>s))break;m=Math.max(1,2*s-c)}}}if(i(v+1,s)>u)break;p=b}return!(c<0)}}]);
+if(function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=0)}({"+sje":function(t,e,n){var i=n("VU/8")(n("eOaq"),n("lafA"),!1,function(t){n("4UNm")},"data-v-3bdd24a5",null);t.exports=i.exports},0:function(t,e,n){n("GDnL"),n("hw3k"),n("aKHO"),n("9ozO"),n("1CH1"),n("f5J3"),n("yd7E"),n("m5pD"),n("JfWP"),n("Pq8s"),n("WM06"),n("t80F"),n("2WJo"),n("F7gb"),n("jbHB"),n("a5IG"),n("1dC+"),n("0hTo"),n("vvpX"),n("4Jtp"),t.exports=n("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,n){"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()})}}}},"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,n){var i=n("HB0T");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("5d321c9c",i,!0,{})},"5F58":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("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,n){t.progress.currentClass="progress-bar-success",t.progress.statusText="Success!",t.files=n.result.files.concat(t.files),console.log(n.result.header_row)},add:function(e,n){n.headers={"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":Laravel.csrfToken},n.process().done(function(){n.submit()}),t.progress.visible=!0},progress:function(e,n){var i=parseInt((n.loaded,n.total,10));t.progress.currentPercent=i,t.progress.statusText=i+"% Complete"},fail:function(e,n){t.progress.currentClass="progress-bar-danger",t.progress.statusText=n.jqXHR.responseJSON.messages}})},methods:{fetchFiles:function(){var t=this;this.$http.get(route("api.imports.index")).then(function(e){var n=e.data;return t.files=n},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 n=e.data;(n=n.rows).forEach(function(e){t.customFields.push({id:e.db_column_name,text:e.name})})})},deleteFile:function(t,e){var n=this;this.$http.delete(route("api.imports.destroy",t.id)).then(function(t){n.files.splice(e,1),n.alert.type=t.body.status,n.alert.visible=!0,n.alert.message=t.body.messages},function(t){n.alert.type="error",n.alert.visible=!0,n.alert.message=t.body.messages})},toggleEvent:function(t){window.eventHub.$emit("showDetails",t)},updateAlert:function(t){this.alert=t},updateImportErrors:function(t){this.importErrors=t}},computed:{progressWidth:function(){return"width: "+10*this.progress.currentPercent+"%"}},components:{alert:n("b7rt"),errors:n("yDVJ"),importFile:n("sJcK")}}},"5m3O":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default={props:["clientsUrl"],data:function(){return{clients:[],createForm:{errors:[],name:"",redirect:""},editForm:{errors:[],name:"",redirect:""}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getClients(),$("#modal-create-client").on("shown.bs.modal",function(){$("#create-client-name").focus()}),$("#modal-edit-client").on("shown.bs.modal",function(){$("#edit-client-name").focus()})},getClients:function(){var t=this;this.$http.get(this.clientsUrl).then(function(e){t.clients=e.data})},showCreateClientForm:function(){$("#modal-create-client").modal("show")},store:function(){this.persistClient("post",this.clientsUrl,this.createForm,"#modal-create-client")},edit:function(t){this.editForm.id=t.id,this.editForm.name=t.name,this.editForm.redirect=t.redirect,$("#modal-edit-client").modal("show")},update:function(){this.persistClient("put",this.clientsUrl+"/"+this.editForm.id,this.editForm,"#modal-edit-client")},persistClient:function(t,e,n,r){var o=this;console.log("persisting"),n.errors=[],console.log("method: "+t),this.$http[t](e,n).then(function(t){o.getClients(),n.name="",n.redirect="",n.errors=[],$(r).modal("hide")}).catch(function(t){"object"===i(t.data)?n.errors=_.flatten(_.toArray(t.data)):n.errors=["Something went wrong. Please try again."]})},destroy:function(t){var e=this;this.$http.delete(this.clientsUrl+"/"+t.id).then(function(t){e.getClients()})}}}},"7t+N":function(t,e,n){var i;!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,r){"use strict";function o(t,e,n){var i,r,o=(n=n||gt).createElement("script");if(o.text=t,e)for(i in vt)(r=e[i]||e.getAttribute&&e.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function a(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?st[lt.call(t)]||"object":typeof t}function s(t){var e=!!t&&"length"in t&&t.length,n=a(t);return!ft(t)&&!pt(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function l(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function u(t,e,n){return ft(e)?mt.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?mt.grep(t,function(t){return t===e!==n}):"string"!=typeof e?mt.grep(t,function(t){return at.call(e,t)>-1!==n}):mt.filter(e,t,n)}function c(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function d(t){return t}function h(t){throw t}function f(t,e,n,i){var r;try{t&&ft(r=t.promise)?r.call(t).done(e).fail(n):t&&ft(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}function p(){gt.removeEventListener("DOMContentLoaded",p),n.removeEventListener("load",p),mt.ready()}function g(t,e){return e.toUpperCase()}function v(t){return t.replace(Ot,"ms-").replace($t,g)}function m(){this.expando=mt.expando+m.uid++}function y(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Lt,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Nt.test(t)?JSON.parse(t):t)}(n)}catch(t){}Pt.set(t,e,n)}else n=void 0;return n}function b(t,e,n,i){var r,o,a=20,s=i?function(){return i.cur()}:function(){return mt.css(t,e,"")},l=s(),u=n&&n[3]||(mt.cssNumber[e]?"":"px"),c=t.nodeType&&(mt.cssNumber[e]||"px"!==u&&+l)&&Rt.exec(mt.css(t,e));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)mt.style(t,e,c+u),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),c/=o;c*=2,mt.style(t,e,c+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}function _(t){var e,n=t.ownerDocument,i=t.nodeName,r=Vt[i];return r||(e=n.body.appendChild(n.createElement(i)),r=mt.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),Vt[i]=r,r)}function x(t,e){for(var n,i,r=[],o=0,a=t.length;o<a;o++)(i=t[o]).style&&(n=i.style.display,e?("none"===n&&(r[o]=Ft.get(i,"display")||null,r[o]||(i.style.display="")),""===i.style.display&&Wt(i)&&(r[o]=_(i))):"none"!==n&&(r[o]="none",Ft.set(i,"display",n)));for(o=0;o<a;o++)null!=r[o]&&(t[o].style.display=r[o]);return t}function w(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&l(t,e)?mt.merge([t],n):n}function C(t,e){for(var n=0,i=t.length;n<i;n++)Ft.set(t[n],"globalEval",!e||Ft.get(e[n],"globalEval"))}function k(t,e,n,i,r){for(var o,s,l,u,c,d,h=e.createDocumentFragment(),f=[],p=0,g=t.length;p<g;p++)if((o=t[p])||0===o)if("object"===a(o))mt.merge(f,o.nodeType?[o]:o);else if(Qt.test(o)){for(s=s||h.appendChild(e.createElement("div")),l=(Gt.exec(o)||["",""])[1].toLowerCase(),u=Zt[l]||Zt._default,s.innerHTML=u[1]+mt.htmlPrefilter(o)+u[2],d=u[0];d--;)s=s.lastChild;mt.merge(f,s.childNodes),(s=h.firstChild).textContent=""}else f.push(e.createTextNode(o));for(h.textContent="",p=0;o=f[p++];)if(i&&mt.inArray(o,i)>-1)r&&r.push(o);else if(c=zt(o),s=w(h.appendChild(o),"script"),c&&C(s),n)for(d=0;o=s[d++];)Kt.test(o.type||"")&&n.push(o);return h}function T(){return!0}function S(){return!1}function D(t,e){return t===function(){try{return gt.activeElement}catch(t){}}()==("focus"===e)}function A(t,e,n,i,r,o){var a,s;if("object"==typeof e){for(s in"string"!=typeof n&&(i=i||n,n=void 0),e)A(t,s,n,i,e[s],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=S;else if(!r)return t;return 1===o&&(a=r,(r=function(t){return mt().off(t),a.apply(this,arguments)}).guid=a.guid||(a.guid=mt.guid++)),t.each(function(){mt.event.add(this,e,r,i,n)})}function E(t,e,n){n?(Ft.set(t,e,!1),mt.event.add(t,e,{namespace:!1,handler:function(t){var i,r,o=Ft.get(this,e);if(1&t.isTrigger&&this[e]){if(o.length)(mt.event.special[e]||{}).delegateType&&t.stopPropagation();else if(o=it.call(arguments),Ft.set(this,e,o),i=n(this,e),this[e](),o!==(r=Ft.get(this,e))||i?Ft.set(this,e,!1):r={},o!==r)return t.stopImmediatePropagation(),t.preventDefault(),r.value}else o.length&&(Ft.set(this,e,{value:mt.event.trigger(mt.extend(o[0],mt.Event.prototype),o.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===Ft.get(t,e)&&mt.event.add(t,e,T)}function M(t,e){return l(t,"table")&&l(11!==e.nodeType?e:e.firstChild,"tr")&&mt(t).children("tbody")[0]||t}function O(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function $(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function I(t,e){var n,i,r,o,a,s;if(1===e.nodeType){if(Ft.hasData(t)&&(s=Ft.get(t).events))for(r in Ft.remove(e,"handle events"),s)for(n=0,i=s[r].length;n<i;n++)mt.event.add(e,r,s[r][n]);Pt.hasData(t)&&(o=Pt.access(t),a=mt.extend({},o),Pt.set(e,a))}}function F(t,e,n,i){e=rt(e);var r,a,s,l,u,c,d=0,h=t.length,f=h-1,p=e[0],g=ft(p);if(g||h>1&&"string"==typeof p&&!ht.checkClone&&ie.test(p))return t.each(function(r){var o=t.eq(r);g&&(e[0]=p.call(this,r,o.html())),F(o,e,n,i)});if(h&&(a=(r=k(e,t[0].ownerDocument,!1,t,i)).firstChild,1===r.childNodes.length&&(r=a),a||i)){for(l=(s=mt.map(w(r,"script"),O)).length;d<h;d++)u=r,d!==f&&(u=mt.clone(u,!0,!0),l&&mt.merge(s,w(u,"script"))),n.call(t[d],u,d);if(l)for(c=s[s.length-1].ownerDocument,mt.map(s,$),d=0;d<l;d++)u=s[d],Kt.test(u.type||"")&&!Ft.access(u,"globalEval")&&mt.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?mt._evalUrl&&!u.noModule&&mt._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):o(u.textContent.replace(re,""),u,c))}return t}function P(t,e,n){for(var i,r=e?mt.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||mt.cleanData(w(i)),i.parentNode&&(n&&zt(i)&&C(w(i,"script")),i.parentNode.removeChild(i));return t}function N(t,e,n){var i,r,o,a,s=t.style;return(n=n||ae(t))&&(""!==(a=n.getPropertyValue(e)||n[e])||zt(t)||(a=mt.style(t,e)),!ht.pixelBoxStyles()&&oe.test(a)&&le.test(e)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o)),void 0!==a?a+"":a}function L(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function j(t){return mt.cssProps[t]||de[t]||(t in ce?t:de[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=ue.length;n--;)if((t=ue[n]+e)in ce)return t}(t)||t)}function R(t,e,n){var i=Rt.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function U(t,e,n,i,r,o){var a="width"===e?1:0,s=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=mt.css(t,n+Ut[a],!0,r)),i?("content"===n&&(l-=mt.css(t,"padding"+Ut[a],!0,r)),"margin"!==n&&(l-=mt.css(t,"border"+Ut[a]+"Width",!0,r))):(l+=mt.css(t,"padding"+Ut[a],!0,r),"padding"!==n?l+=mt.css(t,"border"+Ut[a]+"Width",!0,r):s+=mt.css(t,"border"+Ut[a]+"Width",!0,r));return!i&&o>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-l-s-.5))||0),l}function B(t,e,n){var i=ae(t),r=(!ht.boxSizingReliable()||n)&&"border-box"===mt.css(t,"boxSizing",!1,i),o=r,a=N(t,e,i),s="offset"+e[0].toUpperCase()+e.slice(1);if(oe.test(a)){if(!n)return a;a="auto"}return(!ht.boxSizingReliable()&&r||!ht.reliableTrDimensions()&&l(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===mt.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===mt.css(t,"boxSizing",!1,i),(o=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+U(t,e,n||(r?"border":"content"),o,i,a)+"px"}function z(t,e,n,i,r){return new z.prototype.init(t,e,n,i,r)}function H(){me&&(!1===gt.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(H):n.setTimeout(H,mt.fx.interval),mt.fx.tick())}function W(){return n.setTimeout(function(){ve=void 0}),ve=Date.now()}function V(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)r["margin"+(n=Ut[i])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function q(t,e,n){for(var i,r=(Y.tweeners[e]||[]).concat(Y.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}function Y(t,e,n){var i,r,o=0,a=Y.prefilters.length,s=mt.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=ve||W(),n=Math.max(0,u.startTime+u.duration-e),i=1-(n/u.duration||0),o=0,a=u.tweens.length;o<a;o++)u.tweens[o].run(i);return s.notifyWith(t,[u,i,n]),i<1&&a?n:(a||s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:mt.extend({},e),opts:mt.extend(!0,{specialEasing:{},easing:mt.easing._default},n),originalProperties:e,originalOptions:n,startTime:ve||W(),duration:n.duration,tweens:[],createTween:function(e,n){var i=mt.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return e?(s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u,e])):s.rejectWith(t,[u,e]),this}}),c=u.props;for((!function(t,e){var n,i,r,o,a;for(n in t)if(r=e[i=v(n)],o=t[n],Array.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(a=mt.cssHooks[i])&&"expand"in a)for(n in o=a.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}(c,u.opts.specialEasing));o<a;o++)if(i=Y.prefilters[o].call(u,t,c,u.opts))return ft(i.stop)&&(mt._queueHooks(u.elem,u.opts.queue).stop=i.stop.bind(i)),i;return mt.map(c,q,u),ft(u.opts.start)&&u.opts.start.call(t,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),mt.fx.timer(mt.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u}function X(t){return(t.match(Dt)||[]).join(" ")}function G(t){return t.getAttribute&&t.getAttribute("class")||""}function K(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Dt)||[]}function Z(t,e,n,i){var r;if(Array.isArray(e))mt.each(e,function(e,r){n||Me.test(t)?i(t,r):Z(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)});else if(n||"object"!==a(e))i(t,e);else for(r in e)Z(t+"["+r+"]",e[r],n,i)}function Q(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(Dt)||[];if(ft(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function J(t,e,n,i){function r(s){var l;return o[s]=!0,mt.each(t[s]||[],function(t,s){var u=s(e,n,i);return"string"!=typeof u||a||o[u]?a?!(l=u):void 0:(e.dataTypes.unshift(u),r(u),!1)}),l}var o={},a=t===Be;return r(e.dataTypes[0])||!o["*"]&&r("*")}function tt(t,e){var n,i,r=mt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&mt.extend(!0,t,i),t}var et=[],nt=Object.getPrototypeOf,it=et.slice,rt=et.flat?function(t){return et.flat.call(t)}:function(t){return et.concat.apply([],t)},ot=et.push,at=et.indexOf,st={},lt=st.toString,ut=st.hasOwnProperty,ct=ut.toString,dt=ct.call(Object),ht={},ft=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},pt=function(t){return null!=t&&t===t.window},gt=n.document,vt={type:!0,src:!0,nonce:!0,noModule:!0},mt=function(t,e){return new mt.fn.init(t,e)};mt.fn=mt.prototype={jquery:"3.5.0",constructor:mt,length:0,toArray:function(){return it.call(this)},get:function(t){return null==t?it.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=mt.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return mt.each(this,t)},map:function(t){return this.pushStack(mt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(it.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(mt.grep(this,function(t,e){return(e+1)%2}))},odd:function(){return this.pushStack(mt.grep(this,function(t,e){return e%2}))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ot,sort:et.sort,splice:et.splice},mt.extend=mt.fn.extend=function(){var t,e,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||ft(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)i=t[e],"__proto__"!==e&&a!==i&&(u&&i&&(mt.isPlainObject(i)||(r=Array.isArray(i)))?(n=a[e],o=r&&!Array.isArray(n)?[]:r||mt.isPlainObject(n)?n:{},r=!1,a[e]=mt.extend(u,o,i)):void 0!==i&&(a[e]=i));return a},mt.extend({expando:"jQuery"+("3.5.0"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==lt.call(t)||(e=nt(t))&&("function"!=typeof(n=ut.call(e,"constructor")&&e.constructor)||ct.call(n)!==dt))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){o(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(s(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(s(Object(t))?mt.merge(n,"string"==typeof t?[t]:t):ot.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:at.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,a=!n;r<o;r++)!e(t[r],r)!==a&&i.push(t[r]);return i},map:function(t,e,n){var i,r,o=0,a=[];if(s(t))for(i=t.length;o<i;o++)null!=(r=e(t[o],o,n))&&a.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&a.push(r);return rt(a)},guid:1,support:ht}),"function"==typeof Symbol&&(mt.fn[Symbol.iterator]=et[Symbol.iterator]),mt.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){st["[object "+e+"]"]=e.toLowerCase()});var yt=function(t){function e(t,e,n,i){var r,o,a,s,l,c,h,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!i&&(A(e),e=e||E,O)){if(11!==p&&(l=gt.exec(t)))if(r=l[1]){if(9===p){if(!(a=e.getElementById(r)))return n;if(a.id===r)return n.push(a),n}else if(f&&(a=f.getElementById(r))&&P(e,a)&&a.id===r)return n.push(a),n}else{if(l[2])return G.apply(n,e.getElementsByTagName(t)),n;if((r=l[3])&&y.getElementsByClassName&&e.getElementsByClassName)return G.apply(n,e.getElementsByClassName(r)),n}if(y.qsa&&!H[t+" "]&&(!$||!$.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(h=t,f=e,1===p&&(st.test(t)||at.test(t))){for((f=vt.test(t)&&u(e.parentNode)||e)===e&&y.scope||((s=e.getAttribute("id"))?s=s.replace(bt,_t):e.setAttribute("id",s=N)),o=(c=w(t)).length;o--;)c[o]=(s?"#"+s:":scope")+" "+d(c[o]);h=c.join(",")}try{return G.apply(n,f.querySelectorAll(h)),n}catch(e){H(t,!0)}finally{s===N&&e.removeAttribute("id")}}}return k(t.replace(rt,"$1"),e,n,i)}function n(){var t=[];return function e(n,i){return t.push(n+" ")>b.cacheLength&&delete e[t.shift()],e[n+" "]=i}}function i(t){return t[N]=!0,t}function r(t){var e=E.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=n.length;i--;)b.attrHandle[n[i]]=e}function a(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function s(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&wt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function l(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function u(t){return t&&void 0!==t.getElementsByTagName&&t}function c(){}function d(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function h(t,e,n){var i=e.dir,r=e.next,o=r||i,a=n&&"parentNode"===o,s=R++;return e.first?function(e,n,r){for(;e=e[i];)if(1===e.nodeType||a)return t(e,n,r);return!1}:function(e,n,l){var u,c,d,h=[j,s];if(l){for(;e=e[i];)if((1===e.nodeType||a)&&t(e,n,l))return!0}else for(;e=e[i];)if(1===e.nodeType||a)if(c=(d=e[N]||(e[N]={}))[e.uniqueID]||(d[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[i]||e;else{if((u=c[o])&&u[0]===j&&u[1]===s)return h[2]=u[2];if(c[o]=h,h[2]=t(e,n,l))return!0}return!1}}function f(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function p(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,u=null!=e;s<l;s++)(o=t[s])&&(n&&!n(o,i,r)||(a.push(o),u&&e.push(s)));return a}function g(t,n,r,o,a,s){return o&&!o[N]&&(o=g(o)),a&&!a[N]&&(a=g(a,s)),i(function(i,s,l,u){var c,d,h,f=[],g=[],v=s.length,m=i||function(t,n,i){for(var r=0,o=n.length;r<o;r++)e(t,n[r],i);return i}(n||"*",l.nodeType?[l]:l,[]),y=!t||!i&&n?m:p(m,f,t,l,u),b=r?a||(i?t:v||o)?[]:s:y;if(r&&r(y,b,l,u),o)for(c=p(b,g),o(c,[],l,u),d=c.length;d--;)(h=c[d])&&(b[g[d]]=!(y[g[d]]=h));if(i){if(a||t){if(a){for(c=[],d=b.length;d--;)(h=b[d])&&c.push(y[d]=h);a(null,b=[],c,u)}for(d=b.length;d--;)(h=b[d])&&(c=a?Z(i,h):f[d])>-1&&(i[c]=!(s[c]=h))}}else b=p(b===s?b.splice(v,b.length):b),a?a(null,s,b,u):G.apply(s,b)})}function v(t){for(var e,n,i,r=t.length,o=b.relative[t[0].type],a=o||b.relative[" "],s=o?1:0,l=h(function(t){return t===e},a,!0),u=h(function(t){return Z(e,t)>-1},a,!0),c=[function(t,n,i){var r=!o&&(i||n!==T)||((e=n).nodeType?l(t,n,i):u(t,n,i));return e=null,r}];s<r;s++)if(n=b.relative[t[s].type])c=[h(f(c),n)];else{if((n=b.filter[t[s].type].apply(null,t[s].matches))[N]){for(i=++s;i<r&&!b.relative[t[i].type];i++);return g(s>1&&f(c),s>1&&d(t.slice(0,s-1).concat({value:" "===t[s-2].type?"*":""})).replace(rt,"$1"),n,s<i&&v(t.slice(s,i)),i<r&&v(t=t.slice(i)),i<r&&d(t))}c.push(n)}return f(c)}var m,y,b,_,x,w,C,k,T,S,D,A,E,M,O,$,I,F,P,N="sizzle"+1*new Date,L=t.document,j=0,R=0,U=n(),B=n(),z=n(),H=n(),W=function(t,e){return t===e&&(D=!0),0},V={}.hasOwnProperty,q=[],Y=q.pop,X=q.push,G=q.push,K=q.slice,Z=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",J="[\\x20\\t\\r\\n\\f]",tt="(?:\\\\[\\da-fA-F]{1,6}"+J+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",et="\\["+J+"*("+tt+")(?:"+J+"*([*^$|!~]?=)"+J+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+tt+"))|)"+J+"*\\]",nt=":("+tt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+et+")*)|.*)\\)|)",it=new RegExp(J+"+","g"),rt=new RegExp("^"+J+"+|((?:^|[^\\\\])(?:\\\\.)*)"+J+"+$","g"),ot=new RegExp("^"+J+"*,"+J+"*"),at=new RegExp("^"+J+"*([>+~]|"+J+")"+J+"*"),st=new RegExp(J+"|>"),lt=new RegExp(nt),ut=new RegExp("^"+tt+"$"),ct={ID:new RegExp("^#("+tt+")"),CLASS:new RegExp("^\\.("+tt+")"),TAG:new RegExp("^("+tt+"|[*])"),ATTR:new RegExp("^"+et),PSEUDO:new RegExp("^"+nt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+J+"*(even|odd|(([+-]|)(\\d*)n|)"+J+"*(?:([+-]|)"+J+"*(\\d+)|))"+J+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+J+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+J+"*((?:-\\d)?\\d*)"+J+"*\\)|)(?=[^-]|$)","i")},dt=/HTML$/i,ht=/^(?:input|select|textarea|button)$/i,ft=/^h\d$/i,pt=/^[^{]+\{\s*\[native \w/,gt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vt=/[+~]/,mt=new RegExp("\\\\[\\da-fA-F]{1,6}"+J+"?|\\\\([^\\r\\n\\f])","g"),yt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},bt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,_t=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},xt=function(){A()},wt=h(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{G.apply(q=K.call(L.childNodes),L.childNodes),q[L.childNodes.length].nodeType}catch(t){G={apply:q.length?function(t,e){X.apply(t,K.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}for(m in y=e.support={},x=e.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!dt.test(e||n&&n.nodeName||"HTML")},A=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:L;return i!=E&&9===i.nodeType&&i.documentElement?(M=(E=i).documentElement,O=!x(E),L!=E&&(n=E.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",xt,!1):n.attachEvent&&n.attachEvent("onunload",xt)),y.scope=r(function(t){return M.appendChild(t).appendChild(E.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),y.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),y.getElementsByTagName=r(function(t){return t.appendChild(E.createComment("")),!t.getElementsByTagName("*").length}),y.getElementsByClassName=pt.test(E.getElementsByClassName),y.getById=r(function(t){return M.appendChild(t).id=N,!E.getElementsByName||!E.getElementsByName(N).length}),y.getById?(b.filter.ID=function(t){var e=t.replace(mt,yt);return function(t){return t.getAttribute("id")===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&O){var n=e.getElementById(t);return n?[n]:[]}}):(b.filter.ID=function(t){var e=t.replace(mt,yt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},b.find.ID=function(t,e){if(void 0!==e.getElementById&&O){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),b.find.TAG=y.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):y.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},b.find.CLASS=y.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&O)return e.getElementsByClassName(t)},I=[],$=[],(y.qsa=pt.test(E.querySelectorAll))&&(r(function(t){var e;M.appendChild(t).innerHTML="<a id='"+N+"'></a><select id='"+N+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&$.push("[*^$]="+J+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||$.push("\\["+J+"*(?:value|"+Q+")"),t.querySelectorAll("[id~="+N+"-]").length||$.push("~="),(e=E.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||$.push("\\["+J+"*name"+J+"*="+J+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||$.push(":checked"),t.querySelectorAll("a#"+N+"+*").length||$.push(".#.+[+~]"),t.querySelectorAll("\\\f"),$.push("[\\r\\n\\f]")}),r(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=E.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&$.push("name"+J+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&$.push(":enabled",":disabled"),M.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&$.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),$.push(",.*:")})),(y.matchesSelector=pt.test(F=M.matches||M.webkitMatchesSelector||M.mozMatchesSelector||M.oMatchesSelector||M.msMatchesSelector))&&r(function(t){y.disconnectedMatch=F.call(t,"*"),F.call(t,"[s!='']:x"),I.push("!=",nt)}),$=$.length&&new RegExp($.join("|")),I=I.length&&new RegExp(I.join("|")),e=pt.test(M.compareDocumentPosition),P=e||pt.test(M.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},W=e?function(t,e){if(t===e)return D=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!y.sortDetached&&e.compareDocumentPosition(t)===n?t==E||t.ownerDocument==L&&P(L,t)?-1:e==E||e.ownerDocument==L&&P(L,e)?1:S?Z(S,t)-Z(S,e):0:4&n?-1:1)}:function(t,e){if(t===e)return D=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,s=[t],l=[e];if(!r||!o)return t==E?-1:e==E?1:r?-1:o?1:S?Z(S,t)-Z(S,e):0;if(r===o)return a(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)l.unshift(n);for(;s[i]===l[i];)i++;return i?a(s[i],l[i]):s[i]==L?-1:l[i]==L?1:0},E):E},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if(A(t),y.matchesSelector&&O&&!H[n+" "]&&(!I||!I.test(n))&&(!$||!$.test(n)))try{var i=F.call(t,n);if(i||y.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){H(n,!0)}return e(n,E,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!=E&&A(t),P(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!=E&&A(t);var n=b.attrHandle[e.toLowerCase()],i=n&&V.call(b.attrHandle,e.toLowerCase())?n(t,e,!O):void 0;return void 0!==i?i:y.attributes||!O?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.escape=function(t){return(t+"").replace(bt,_t)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(D=!y.detectDuplicates,S=!y.sortStable&&t.slice(0),t.sort(W),D){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return S=null,t},
+_=e.getText=function(t){var e,n="",i=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)n+=_(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=_(e);return n},(b=e.selectors={cacheLength:50,createPseudo:i,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(mt,yt),t[3]=(t[3]||t[4]||t[5]||"").replace(mt,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,n=!t[6]&&t[2];return ct.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&lt.test(n)&&(e=w(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(mt,yt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=U[t+" "];return e||(e=new RegExp("(^|"+J+")"+t+"("+J+"|$)"))&&U(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(it," ")+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,c,d,h,f,p,g=o!==a?"nextSibling":"previousSibling",v=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(v){if(o){for(;g;){for(h=e;h=h[g];)if(s?h.nodeName.toLowerCase()===m:1===h.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){for(b=(f=(u=(c=(d=(h=v)[N]||(h[N]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]||[])[0]===j&&u[1])&&u[2],h=f&&v.childNodes[f];h=++f&&h&&h[g]||(b=f=0)||p.pop();)if(1===h.nodeType&&++b&&h===e){c[t]=[j,f,b];break}}else if(y&&(b=f=(u=(c=(d=(h=e)[N]||(h[N]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]||[])[0]===j&&u[1]),!1===b)for(;(h=++f&&h&&h[g]||(b=f=0)||p.pop())&&((s?h.nodeName.toLowerCase()!==m:1!==h.nodeType)||!++b||(y&&((c=(d=h[N]||(h[N]={}))[h.uniqueID]||(d[h.uniqueID]={}))[t]=[j,b]),h!==e)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,n){var r,o=b.pseudos[t]||b.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[N]?o(n):o.length>1?(r=[t,t,"",n],b.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=o(t,n),a=r.length;a--;)t[i=Z(t,r[a])]=!(e[i]=r[a])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=C(t.replace(rt,"$1"));return r[N]?i(function(t,e,n,i){for(var o,a=r(t,null,i,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(mt,yt),function(e){return(e.textContent||_(e)).indexOf(t)>-1}}),lang:i(function(t){return ut.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(mt,yt).toLowerCase(),function(e){var n;do{if(n=O?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===M},focus:function(t){return t===E.activeElement&&(!E.hasFocus||E.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:s(!1),disabled:s(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return ft.test(t.nodeName)},input:function(t){return ht.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,n){return[n<0?n+e:n]}),even:l(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:l(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:l(function(t,e,n){for(var i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t}),gt:l(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[m]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(m);for(m in{submit:!0,reset:!0})b.pseudos[m]=function(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}(m);return c.prototype=b.filters=b.pseudos,b.setFilters=new c,w=e.tokenize=function(t,n){var i,r,o,a,s,l,u,c=B[t+" "];if(c)return n?0:c.slice(0);for(s=t,l=[],u=b.preFilter;s;){for(a in i&&!(r=ot.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),i=!1,(r=at.exec(s))&&(i=r.shift(),o.push({value:i,type:r[0].replace(rt," ")}),s=s.slice(i.length)),b.filter)!(r=ct[a].exec(s))||u[a]&&!(r=u[a](r))||(i=r.shift(),o.push({value:i,type:a,matches:r}),s=s.slice(i.length));if(!i)break}return n?s.length:s?e.error(t):B(t,l).slice(0)},C=e.compile=function(t,n){var r,o=[],a=[],s=z[t+" "];if(!s){for(n||(n=w(t)),r=n.length;r--;)(s=v(n[r]))[N]?o.push(s):a.push(s);(s=z(t,function(t,n){var r=n.length>0,o=t.length>0,a=function(i,a,s,l,u){var c,d,h,f=0,g="0",v=i&&[],m=[],y=T,_=i||o&&b.find.TAG("*",u),x=j+=null==y?1:Math.random()||.1,w=_.length;for(u&&(T=a==E||a||u);g!==w&&null!=(c=_[g]);g++){if(o&&c){for(d=0,a||c.ownerDocument==E||(A(c),s=!O);h=t[d++];)if(h(c,a||E,s)){l.push(c);break}u&&(j=x)}r&&((c=!h&&c)&&f--,i&&v.push(c))}if(f+=g,r&&g!==f){for(d=0;h=n[d++];)h(v,m,a,s);if(i){if(f>0)for(;g--;)v[g]||m[g]||(m[g]=Y.call(l));m=p(m)}G.apply(l,m),u&&!i&&m.length>0&&f+n.length>1&&e.uniqueSort(l)}return u&&(j=x,T=y),v};return r?i(a):a}(a,o))).selector=t}return s},k=e.select=function(t,e,n,i){var r,o,a,s,l,c="function"==typeof t&&t,h=!i&&w(t=c.selector||t);if(n=n||[],1===h.length){if((o=h[0]=h[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===e.nodeType&&O&&b.relative[o[1].type]){if(!(e=(b.find.ID(a.matches[0].replace(mt,yt),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=ct.needsContext.test(t)?0:o.length;r--&&(a=o[r],!b.relative[s=a.type]);)if((l=b.find[s])&&(i=l(a.matches[0].replace(mt,yt),vt.test(o[0].type)&&u(e.parentNode)||e))){if(o.splice(r,1),!(t=i.length&&d(o)))return G.apply(n,i),n;break}}return(c||C(t,h))(i,e,!O,n,!e||vt.test(t)&&u(e.parentNode)||e),n},y.sortStable=N.split("").sort(W).join("")===N,y.detectDuplicates=!!D,A(),y.sortDetached=r(function(t){return 1&t.compareDocumentPosition(E.createElement("fieldset"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),y.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(Q,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(n);mt.find=yt,mt.expr=yt.selectors,mt.expr[":"]=mt.expr.pseudos,mt.uniqueSort=mt.unique=yt.uniqueSort,mt.text=yt.getText,mt.isXMLDoc=yt.isXML,mt.contains=yt.contains,mt.escapeSelector=yt.escape;var bt=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&mt(t).is(n))break;i.push(t)}return i},_t=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},xt=mt.expr.match.needsContext,wt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;mt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?mt.find.matchesSelector(i,t)?[i]:[]:mt.find.matches(t,mt.grep(e,function(t){return 1===t.nodeType}))},mt.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(mt(t).filter(function(){for(e=0;e<i;e++)if(mt.contains(r[e],this))return!0}));for(n=this.pushStack([]),e=0;e<i;e++)mt.find(t,r[e],n);return i>1?mt.uniqueSort(n):n},filter:function(t){return this.pushStack(u(this,t||[],!1))},not:function(t){return this.pushStack(u(this,t||[],!0))},is:function(t){return!!u(this,"string"==typeof t&&xt.test(t)?mt(t):t||[],!1).length}});var Ct,kt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(mt.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||Ct,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:kt.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof mt?e[0]:e,mt.merge(this,mt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:gt,!0)),wt.test(i[1])&&mt.isPlainObject(e))for(i in e)ft(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=gt.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ft(t)?void 0!==n.ready?n.ready(t):t(mt):mt.makeArray(t,this)}).prototype=mt.fn,Ct=mt(gt);var Tt=/^(?:parents|prev(?:Until|All))/,St={children:!0,contents:!0,next:!0,prev:!0};mt.fn.extend({has:function(t){var e=mt(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(mt.contains(this,e[t]))return!0})},closest:function(t,e){var n,i=0,r=this.length,o=[],a="string"!=typeof t&&mt(t);if(!xt.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&mt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?mt.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?at.call(mt(t),this[0]):at.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(mt.uniqueSort(mt.merge(this.get(),mt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),mt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return bt(t,"parentNode")},parentsUntil:function(t,e,n){return bt(t,"parentNode",n)},next:function(t){return c(t,"nextSibling")},prev:function(t){return c(t,"previousSibling")},nextAll:function(t){return bt(t,"nextSibling")},prevAll:function(t){return bt(t,"previousSibling")},nextUntil:function(t,e,n){return bt(t,"nextSibling",n)},prevUntil:function(t,e,n){return bt(t,"previousSibling",n)},siblings:function(t){return _t((t.parentNode||{}).firstChild,t)},children:function(t){return _t(t.firstChild)},contents:function(t){return null!=t.contentDocument&&nt(t.contentDocument)?t.contentDocument:(l(t,"template")&&(t=t.content||t),mt.merge([],t.childNodes))}},function(t,e){mt.fn[t]=function(n,i){var r=mt.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=mt.filter(i,r)),this.length>1&&(St[t]||mt.uniqueSort(r),Tt.test(t)&&r.reverse()),this.pushStack(r)}});var Dt=/[^\x20\t\r\n\f]+/g;mt.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return mt.each(t.match(Dt)||[],function(t,n){e[n]=!0}),e}(t):mt.extend({},t);var e,n,i,r,o=[],s=[],l=-1,u=function(){for(r=r||t.once,i=e=!0;s.length;l=-1)for(n=s.shift();++l<o.length;)!1===o[l].apply(n[0],n[1])&&t.stopOnFalse&&(l=o.length,n=!1);t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},c={add:function(){return o&&(n&&!e&&(l=o.length-1,s.push(n)),function e(n){mt.each(n,function(n,i){ft(i)?t.unique&&c.has(i)||o.push(i):i&&i.length&&"string"!==a(i)&&e(i)})}(arguments),n&&!e&&u()),this},remove:function(){return mt.each(arguments,function(t,e){for(var n;(n=mt.inArray(e,o,n))>-1;)o.splice(n,1),n<=l&&l--}),this},has:function(t){return t?mt.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||e||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},mt.extend({Deferred:function(t){var e=[["notify","progress",mt.Callbacks("memory"),mt.Callbacks("memory"),2],["resolve","done",mt.Callbacks("once memory"),mt.Callbacks("once memory"),0,"resolved"],["reject","fail",mt.Callbacks("once memory"),mt.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return mt.Deferred(function(n){mt.each(e,function(e,i){var r=ft(t[i[4]])&&t[i[4]];o[i[1]](function(){var t=r&&r.apply(this,arguments);t&&ft(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(t,i,r){function o(t,e,i,r){return function(){var s=this,l=arguments,u=function(){var n,u;if(!(t<a)){if((n=i.apply(s,l))===e.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,ft(u)?r?u.call(n,o(a,e,d,r),o(a,e,h,r)):(a++,u.call(n,o(a,e,d,r),o(a,e,h,r),o(a,e,d,e.notifyWith))):(i!==d&&(s=void 0,l=[n]),(r||e.resolveWith)(s,l))}},c=r?u:function(){try{u()}catch(n){mt.Deferred.exceptionHook&&mt.Deferred.exceptionHook(n,c.stackTrace),t+1>=a&&(i!==h&&(s=void 0,l=[n]),e.rejectWith(s,l))}};t?c():(mt.Deferred.getStackHook&&(c.stackTrace=mt.Deferred.getStackHook()),n.setTimeout(c))}}var a=0;return mt.Deferred(function(n){e[0][3].add(o(0,n,ft(r)?r:d,n.notifyWith)),e[1][3].add(o(0,n,ft(t)?t:d)),e[2][3].add(o(0,n,ft(i)?i:h))}).promise()},promise:function(t){return null!=t?mt.extend(t,r):r}},o={};return mt.each(e,function(t,n){var a=n[2],s=n[5];r[n[1]]=a.add,s&&a.add(function(){i=s},e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),a.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=a.fireWith}),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),r=it.call(arguments),o=mt.Deferred(),a=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?it.call(arguments):n,--e||o.resolveWith(i,r)}};if(e<=1&&(f(t,o.done(a(n)).resolve,o.reject,!e),"pending"===o.state()||ft(r[n]&&r[n].then)))return o.then();for(;n--;)f(r[n],a(n),o.reject);return o.promise()}});var At=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;mt.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&At.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},mt.readyException=function(t){n.setTimeout(function(){throw t})};var Et=mt.Deferred();mt.fn.ready=function(t){return Et.then(t).catch(function(t){mt.readyException(t)}),this},mt.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--mt.readyWait:mt.isReady)||(mt.isReady=!0,!0!==t&&--mt.readyWait>0||Et.resolveWith(gt,[mt]))}}),mt.ready.then=Et.then,"complete"===gt.readyState||"loading"!==gt.readyState&&!gt.documentElement.doScroll?n.setTimeout(mt.ready):(gt.addEventListener("DOMContentLoaded",p),n.addEventListener("load",p));var Mt=function(t,e,n,i,r,o,s){var l=0,u=t.length,c=null==n;if("object"===a(n))for(l in r=!0,n)Mt(t,e,l,n[l],!0,o,s);else if(void 0!==i&&(r=!0,ft(i)||(s=!0),c&&(s?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(mt(t),n)})),e))for(;l<u;l++)e(t[l],n,s?i:i.call(t[l],l,e(t[l],n)));return r?t:c?e.call(t):u?e(t[0],n):o},Ot=/^-ms-/,$t=/-([a-z])/g,It=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};m.uid=1,m.prototype={cache:function(t){var e=t[this.expando];return e||(e=Object.create(null),It(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[v(e)]=n;else for(i in e)r[v(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][v(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){n=(e=Array.isArray(e)?e.map(v):(e=v(e))in i?[e]:e.match(Dt)||[]).length;for(;n--;)delete i[e[n]]}(void 0===e||mt.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!mt.isEmptyObject(e)}};var Ft=new m,Pt=new m,Nt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Lt=/[A-Z]/g;mt.extend({hasData:function(t){return Pt.hasData(t)||Ft.hasData(t)},data:function(t,e,n){return Pt.access(t,e,n)},removeData:function(t,e){Pt.remove(t,e)},_data:function(t,e,n){return Ft.access(t,e,n)},_removeData:function(t,e){Ft.remove(t,e)}}),mt.fn.extend({data:function(t,e){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(r=Pt.get(o),1===o.nodeType&&!Ft.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(i=a[n].name).indexOf("data-")&&(i=v(i.slice(5)),y(o,i,r[i]));Ft.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){Pt.set(this,t)}):Mt(this,function(e){var n;if(o&&void 0===e)return void 0!==(n=Pt.get(o,t))?n:void 0!==(n=y(o,t))?n:void 0;this.each(function(){Pt.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){Pt.remove(this,t)})}}),mt.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=Ft.get(t,e),n&&(!i||Array.isArray(n)?i=Ft.access(t,e,mt.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=mt.queue(t,e),i=n.length,r=n.shift(),o=mt._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,function(){mt.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return Ft.get(t,n)||Ft.access(t,n,{empty:mt.Callbacks("once memory").add(function(){Ft.remove(t,[e+"queue",n])})})}}),mt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?mt.queue(this[0],t):void 0===e?this:this.each(function(){var n=mt.queue(this,t,e);mt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&mt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){mt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=mt.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=Ft.get(o[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var jt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Rt=new RegExp("^(?:([+-])=|)("+jt+")([a-z%]*)$","i"),Ut=["Top","Right","Bottom","Left"],Bt=gt.documentElement,zt=function(t){return mt.contains(t.ownerDocument,t)},Ht={composed:!0};Bt.getRootNode&&(zt=function(t){return mt.contains(t.ownerDocument,t)||t.getRootNode(Ht)===t.ownerDocument});var Wt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&zt(t)&&"none"===mt.css(t,"display")},Vt={};mt.fn.extend({show:function(){return x(this,!0)},hide:function(){return x(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Wt(this)?mt(this).show():mt(this).hide()})}});var qt,Yt,Xt=/^(?:checkbox|radio)$/i,Gt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Kt=/^$|^module$|\/(?:java|ecma)script/i;qt=gt.createDocumentFragment().appendChild(gt.createElement("div")),(Yt=gt.createElement("input")).setAttribute("type","radio"),Yt.setAttribute("checked","checked"),Yt.setAttribute("name","t"),qt.appendChild(Yt),ht.checkClone=qt.cloneNode(!0).cloneNode(!0).lastChild.checked,qt.innerHTML="<textarea>x</textarea>",ht.noCloneChecked=!!qt.cloneNode(!0).lastChild.defaultValue,qt.innerHTML="<option></option>",ht.option=!!qt.lastChild;var Zt={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Zt.tbody=Zt.tfoot=Zt.colgroup=Zt.caption=Zt.thead,Zt.th=Zt.td,ht.option||(Zt.optgroup=Zt.option=[1,"<select multiple='multiple'>","</select>"]);var Qt=/<|&#?\w+;/,Jt=/^key/,te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ee=/^([^.]*)(?:\.(.+)|)/;mt.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,d,h,f,p,g,v=Ft.get(t);if(It(t))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&mt.find.matchesSelector(Bt,r),n.guid||(n.guid=mt.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return void 0!==mt&&mt.event.triggered!==e.type?mt.event.dispatch.apply(t,arguments):void 0}),u=(e=(e||"").match(Dt)||[""]).length;u--;)f=g=(s=ee.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),f&&(d=mt.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=mt.event.special[f]||{},c=mt.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&mt.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[f])||((h=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,a)||t.addEventListener&&t.addEventListener(f,a)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,c):h.push(c),mt.event.global[f]=!0)},remove:function(t,e,n,i,r){var o,a,s,l,u,c,d,h,f,p,g,v=Ft.hasData(t)&&Ft.get(t);if(v&&(l=v.events)){for(u=(e=(e||"").match(Dt)||[""]).length;u--;)if(f=g=(s=ee.exec(e[u])||[])[1],p=(s[2]||"").split(".").sort(),f){for(d=mt.event.special[f]||{},h=l[f=(i?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=h.length;o--;)c=h[o],!r&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(h.splice(o,1),c.selector&&h.delegateCount--,d.remove&&d.remove.call(t,c));a&&!h.length&&(d.teardown&&!1!==d.teardown.call(t,p,v.handle)||mt.removeEvent(t,f,v.handle),delete l[f])}else for(f in l)mt.event.remove(t,f+e[u],n,i,!0);mt.isEmptyObject(l)&&Ft.remove(t,"handle events")}},dispatch:function(t){var e,n,i,r,o,a,s=new Array(arguments.length),l=mt.event.fix(t),u=(Ft.get(this,"events")||Object.create(null))[l.type]||[],c=mt.event.special[l.type]||{};for(s[0]=l,e=1;e<arguments.length;e++)s[e]=arguments[e];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(a=mt.event.handlers.call(this,l,u),e=0;(r=a[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((mt.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,i,r,o,a,s=[],l=e.delegateCount,u=t.target;if(l&&u.nodeType&&!("click"===t.type&&t.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==t.type||!0!==u.disabled)){for(o=[],a={},n=0;n<l;n++)void 0===a[r=(i=e[n]).selector+" "]&&(a[r]=i.needsContext?mt(r,this).index(u)>-1:mt.find(r,this,null,[u]).length),a[r]&&o.push(i);o.length&&s.push({elem:u,handlers:o})}return u=this,l<e.length&&s.push({elem:u,handlers:e.slice(l)}),s},addProp:function(t,e){Object.defineProperty(mt.Event.prototype,t,{enumerable:!0,configurable:!0,get:ft(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[mt.expando]?t:new mt.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Xt.test(e.type)&&e.click&&l(e,"input")&&E(e,"click",T),!1},trigger:function(t){var e=this||t;return Xt.test(e.type)&&e.click&&l(e,"input")&&E(e,"click"),!0},_default:function(t){var e=t.target;return Xt.test(e.type)&&e.click&&l(e,"input")&&Ft.get(e,"click")||l(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},mt.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},mt.Event=function(t,e){if(!(this instanceof mt.Event))return new mt.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?T:S,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&mt.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[mt.expando]=!0},mt.Event.prototype={constructor:mt.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=T,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=T,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=T,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},mt.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&Jt.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&te.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},mt.event.addProp),mt.each({focus:"focusin",blur:"focusout"},function(t,e){mt.event.special[t]={setup:function(){return E(this,t,D),!1},trigger:function(){return E(this,t),!0},delegateType:e}}),mt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){mt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,r=t.handleObj;return i&&(i===this||mt.contains(this,i))||(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),mt.fn.extend({on:function(t,e,n,i){return A(this,t,e,n,i)},one:function(t,e,n,i){return A(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,mt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=S),this.each(function(){mt.event.remove(this,t,n,e)})}});var ne=/<script|<style|<link/i,ie=/checked\s*(?:[^=]|=\s*.checked.)/i,re=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;mt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var i,r,o,a,s,l,u,c=t.cloneNode(!0),d=zt(t);if(!(ht.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||mt.isXMLDoc(t)))for(a=w(c),i=0,r=(o=w(t)).length;i<r;i++)s=o[i],l=a[i],"input"===(u=l.nodeName.toLowerCase())&&Xt.test(s.type)?l.checked=s.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=s.defaultValue);if(e)if(n)for(o=o||w(t),a=a||w(c),i=0,r=o.length;i<r;i++)I(o[i],a[i]);else I(t,c);return(a=w(c,"script")).length>0&&C(a,!d&&w(t,"script")),c},cleanData:function(t){for(var e,n,i,r=mt.event.special,o=0;void 0!==(n=t[o]);o++)if(It(n)){if(e=n[Ft.expando]){if(e.events)for(i in e.events)r[i]?mt.event.remove(n,i):mt.removeEvent(n,i,e.handle);n[Ft.expando]=void 0}n[Pt.expando]&&(n[Pt.expando]=void 0)}}}),mt.fn.extend({detach:function(t){return P(this,t,!0)},remove:function(t){return P(this,t)},text:function(t){return Mt(this,function(t){return void 0===t?mt.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return F(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||M(this,t).appendChild(t)})},prepend:function(){return F(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=M(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return F(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return F(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(mt.cleanData(w(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return mt.clone(this,t,e)})},html:function(t){return Mt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!ne.test(t)&&!Zt[(Gt.exec(t)||["",""])[1].toLowerCase()]){t=mt.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(mt.cleanData(w(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return F(this,arguments,function(e){var n=this.parentNode;mt.inArray(this,t)<0&&(mt.cleanData(w(this)),n&&n.replaceChild(e,this))},t)}}),mt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){mt.fn[t]=function(t){for(var n,i=[],r=mt(t),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),mt(r[a])[e](n),ot.apply(i,n.get());return this.pushStack(i)}});var oe=new RegExp("^("+jt+")(?!px)[a-z%]+$","i"),ae=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},se=function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=o[r];return i},le=new RegExp(Ut.join("|"),"i");!function(){function t(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Bt.appendChild(u).appendChild(c);var t=n.getComputedStyle(c);i="1%"!==t.top,l=12===e(t.marginLeft),c.style.right="60%",a=36===e(t.right),r=36===e(t.width),c.style.position="absolute",o=12===e(c.offsetWidth/3),Bt.removeChild(u),c=null}}function e(t){return Math.round(parseFloat(t))}var i,r,o,a,s,l,u=gt.createElement("div"),c=gt.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",ht.clearCloneStyle="content-box"===c.style.backgroundClip,mt.extend(ht,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,i,r;return null==s&&(t=gt.createElement("table"),e=gt.createElement("tr"),i=gt.createElement("div"),t.style.cssText="position:absolute;left:-11111px",e.style.height="1px",i.style.height="9px",Bt.appendChild(t).appendChild(e).appendChild(i),r=n.getComputedStyle(e),s=parseInt(r.height)>3,Bt.removeChild(t)),s}}))}()
+;var ue=["Webkit","Moz","ms"],ce=gt.createElement("div").style,de={},he=/^(none|table(?!-c[ea]).+)/,fe=/^--/,pe={position:"absolute",visibility:"hidden",display:"block"},ge={letterSpacing:"0",fontWeight:"400"};mt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=N(t,"opacity");return""===n?"1":n}}}},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,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=v(e),l=fe.test(e),u=t.style;if(l||(e=j(s)),a=mt.cssHooks[e]||mt.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:u[e];"string"==(o=typeof n)&&(r=Rt.exec(n))&&r[1]&&(n=b(t,e,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(mt.cssNumber[s]?"":"px")),ht.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l?u.setProperty(e,n):u[e]=n))}},css:function(t,e,n,i){var r,o,a,s=v(e);return fe.test(e)||(e=j(s)),(a=mt.cssHooks[e]||mt.cssHooks[s])&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=N(t,e,i)),"normal"===r&&e in ge&&(r=ge[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),mt.each(["height","width"],function(t,e){mt.cssHooks[e]={get:function(t,n,i){if(n)return!he.test(mt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?B(t,e,i):se(t,pe,function(){return B(t,e,i)})},set:function(t,n,i){var r,o=ae(t),a=!ht.scrollboxSize()&&"absolute"===o.position,s=(a||i)&&"border-box"===mt.css(t,"boxSizing",!1,o),l=i?U(t,e,i,s,o):0;return s&&a&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-U(t,e,"border",!1,o)-.5)),l&&(r=Rt.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=mt.css(t,e)),R(0,n,l)}}}),mt.cssHooks.marginLeft=L(ht.reliableMarginLeft,function(t,e){if(e)return(parseFloat(N(t,"marginLeft"))||t.getBoundingClientRect().left-se(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),mt.each({margin:"",padding:"",border:"Width"},function(t,e){mt.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+Ut[i]+e]=o[i]||o[i-2]||o[0];return r}},"margin"!==t&&(mt.cssHooks[t+e].set=R)}),mt.fn.extend({css:function(t,e){return Mt(this,function(t,e,n){var i,r,o={},a=0;if(Array.isArray(e)){for(i=ae(t),r=e.length;a<r;a++)o[e[a]]=mt.css(t,e[a],!1,i);return o}return void 0!==n?mt.style(t,e,n):mt.css(t,e)},t,e,arguments.length>1)}}),mt.Tween=z,z.prototype={constructor:z,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||mt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(mt.cssNumber[n]?"":"px")},cur:function(){var t=z.propHooks[this.prop];return t&&t.get?t.get(this):z.propHooks._default.get(this)},run:function(t){var e,n=z.propHooks[this.prop];return this.options.duration?this.pos=e=mt.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),n&&n.set?n.set(this):z.propHooks._default.set(this),this}},z.prototype.init.prototype=z.prototype,z.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=mt.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){mt.fx.step[t.prop]?mt.fx.step[t.prop](t):1!==t.elem.nodeType||!mt.cssHooks[t.prop]&&null==t.elem.style[j(t.prop)]?t.elem[t.prop]=t.now:mt.style(t.elem,t.prop,t.now+t.unit)}}},z.propHooks.scrollTop=z.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},mt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},mt.fx=z.prototype.init,mt.fx.step={};var ve,me,ye=/^(?:toggle|show|hide)$/,be=/queueHooks$/;mt.Animation=mt.extend(Y,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return b(n.elem,t,Rt.exec(e),n),n}]},tweener:function(t,e){ft(t)?(e=t,t=["*"]):t=t.match(Dt);for(var n,i=0,r=t.length;i<r;i++)n=t[i],Y.tweeners[n]=Y.tweeners[n]||[],Y.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var i,r,o,a,s,l,u,c,d="width"in e||"height"in e,h=this,f={},p=t.style,g=t.nodeType&&Wt(t),v=Ft.get(t,"fxshow");for(i in n.queue||(null==(a=mt._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,mt.queue(t,"fx").length||a.empty.fire()})})),e)if(r=e[i],ye.test(r)){if(delete e[i],o=o||"toggle"===r,r===(g?"hide":"show")){if("show"!==r||!v||void 0===v[i])continue;g=!0}f[i]=v&&v[i]||mt.style(t,i)}if((l=!mt.isEmptyObject(e))||!mt.isEmptyObject(f))for(i in d&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=v&&v.display)&&(u=Ft.get(t,"display")),"none"===(c=mt.css(t,"display"))&&(u?c=u:(x([t],!0),u=t.style.display||u,c=mt.css(t,"display"),x([t]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===mt.css(t,"float")&&(l||(h.done(function(){p.display=u}),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,f)l||(v?"hidden"in v&&(g=v.hidden):v=Ft.access(t,"fxshow",{display:u}),o&&(v.hidden=!g),g&&x([t],!0),h.done(function(){for(i in g||x([t]),Ft.remove(t,"fxshow"),f)mt.style(t,i,f[i])})),l=q(g?v[i]:0,i,h),i in v||(v[i]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?Y.prefilters.unshift(t):Y.prefilters.push(t)}}),mt.speed=function(t,e,n){var i=t&&"object"==typeof t?mt.extend({},t):{complete:n||!n&&e||ft(t)&&t,duration:t,easing:n&&e||e&&!ft(e)&&e};return mt.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in mt.fx.speeds?i.duration=mt.fx.speeds[i.duration]:i.duration=mt.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){ft(i.old)&&i.old.call(this),i.queue&&mt.dequeue(this,i.queue)},i},mt.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Wt).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=mt.isEmptyObject(t),o=mt.speed(e,n,i),a=function(){var e=Y(this,mt.extend({},t),o);(r||Ft.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=mt.timers,a=Ft.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&be.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||mt.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=Ft.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=mt.timers,a=i?i.length:0;for(n.finish=!0,mt.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),mt.each(["toggle","show","hide"],function(t,e){var n=mt.fn[e];mt.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(V(e,!0),t,i,r)}}),mt.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){mt.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),mt.timers=[],mt.fx.tick=function(){var t,e=0,n=mt.timers;for(ve=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||mt.fx.stop(),ve=void 0},mt.fx.timer=function(t){mt.timers.push(t),mt.fx.start()},mt.fx.interval=13,mt.fx.start=function(){me||(me=!0,H())},mt.fx.stop=function(){me=null},mt.fx.speeds={slow:600,fast:200,_default:400},mt.fn.delay=function(t,e){return t=mt.fx&&mt.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,i){var r=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(r)}})},function(){var t=gt.createElement("input"),e=gt.createElement("select").appendChild(gt.createElement("option"));t.type="checkbox",ht.checkOn=""!==t.value,ht.optSelected=e.selected,(t=gt.createElement("input")).value="t",t.type="radio",ht.radioValue="t"===t.value}();var _e,xe=mt.expr.attrHandle;mt.fn.extend({attr:function(t,e){return Mt(this,mt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){mt.removeAttr(this,t)})}}),mt.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?mt.prop(t,e,n):(1===o&&mt.isXMLDoc(t)||(r=mt.attrHooks[e.toLowerCase()]||(mt.expr.match.bool.test(e)?_e:void 0)),void 0!==n?null===n?void mt.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:null==(i=mt.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){if(!ht.radioValue&&"radio"===e&&l(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i=0,r=e&&e.match(Dt);if(r&&1===t.nodeType)for(;n=r[i++];)t.removeAttribute(n)}}),_e={set:function(t,e,n){return!1===e?mt.removeAttr(t,n):t.setAttribute(n,n),n}},mt.each(mt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=xe[e]||mt.find.attr;xe[e]=function(t,e,i){var r,o,a=e.toLowerCase();return i||(o=xe[a],xe[a]=r,r=null!=n(t,e,i)?a:null,xe[a]=o),r}});var we=/^(?:input|select|textarea|button)$/i,Ce=/^(?:a|area)$/i;mt.fn.extend({prop:function(t,e){return Mt(this,mt.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[mt.propFix[t]||t]})}}),mt.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&mt.isXMLDoc(t)||(e=mt.propFix[e]||e,r=mt.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=mt.find.attr(t,"tabindex");return e?parseInt(e,10):we.test(t.nodeName)||Ce.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ht.optSelected||(mt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),mt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){mt.propFix[this.toLowerCase()]=this}),mt.fn.extend({addClass:function(t){var e,n,i,r,o,a,s,l=0;if(ft(t))return this.each(function(e){mt(this).addClass(t.call(this,e,G(this)))});if((e=K(t)).length)for(;n=this[l++];)if(r=G(n),i=1===n.nodeType&&" "+X(r)+" "){for(a=0;o=e[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(s=X(i))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,o,a,s,l=0;if(ft(t))return this.each(function(e){mt(this).removeClass(t.call(this,e,G(this)))});if(!arguments.length)return this.attr("class","");if((e=K(t)).length)for(;n=this[l++];)if(r=G(n),i=1===n.nodeType&&" "+X(r)+" "){for(a=0;o=e[a++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");r!==(s=X(i))&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t,i="string"===n||Array.isArray(t);return"boolean"==typeof e&&i?e?this.addClass(t):this.removeClass(t):ft(t)?this.each(function(n){mt(this).toggleClass(t.call(this,n,G(this),e),e)}):this.each(function(){var e,r,o,a;if(i)for(r=0,o=mt(this),a=K(t);e=a[r++];)o.hasClass(e)?o.removeClass(e):o.addClass(e);else void 0!==t&&"boolean"!==n||((e=G(this))&&Ft.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":Ft.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+X(G(n))+" ").indexOf(e)>-1)return!0;return!1}});var ke=/\r/g;mt.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=ft(t),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,mt(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=mt.map(r,function(t){return null==t?"":t+""})),(e=mt.valHooks[this.type]||mt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=mt.valHooks[r.type]||mt.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(ke,""):null==n?"":n:void 0}}),mt.extend({valHooks:{option:{get:function(t){var e=mt.find.attr(t,"value");return null!=e?e:X(mt.text(t))}},select:{get:function(t){var e,n,i,r=t.options,o=t.selectedIndex,a="select-one"===t.type,s=a?null:[],u=a?o+1:r.length;for(i=o<0?u:a?o:0;i<u;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!l(n.parentNode,"optgroup"))){if(e=mt(n).val(),a)return e;s.push(e)}return s},set:function(t,e){for(var n,i,r=t.options,o=mt.makeArray(e),a=r.length;a--;)((i=r[a]).selected=mt.inArray(mt.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),mt.each(["radio","checkbox"],function(){mt.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=mt.inArray(mt(t).val(),e)>-1}},ht.checkOn||(mt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}),ht.focusin="onfocusin"in n;var Te=/^(?:focusinfocus|focusoutblur)$/,Se=function(t){t.stopPropagation()};mt.extend(mt.event,{trigger:function(t,e,i,r){var o,a,s,l,u,c,d,h,f=[i||gt],p=ut.call(t,"type")?t.type:t,g=ut.call(t,"namespace")?t.namespace.split("."):[];if(a=h=s=i=i||gt,3!==i.nodeType&&8!==i.nodeType&&!Te.test(p+mt.event.triggered)&&(p.indexOf(".")>-1&&(p=(g=p.split(".")).shift(),g.sort()),u=p.indexOf(":")<0&&"on"+p,(t=t[mt.expando]?t:new mt.Event(p,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:mt.makeArray(e,[t]),d=mt.event.special[p]||{},r||!d.trigger||!1!==d.trigger.apply(i,e))){if(!r&&!d.noBubble&&!pt(i)){for(l=d.delegateType||p,Te.test(l+p)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(i.ownerDocument||gt)&&f.push(s.defaultView||s.parentWindow||n)}for(o=0;(a=f[o++])&&!t.isPropagationStopped();)h=a,t.type=o>1?l:d.bindType||p,(c=(Ft.get(a,"events")||Object.create(null))[t.type]&&Ft.get(a,"handle"))&&c.apply(a,e),(c=u&&a[u])&&c.apply&&It(a)&&(t.result=c.apply(a,e),!1===t.result&&t.preventDefault());return t.type=p,r||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(f.pop(),e)||!It(i)||u&&ft(i[p])&&!pt(i)&&((s=i[u])&&(i[u]=null),mt.event.triggered=p,t.isPropagationStopped()&&h.addEventListener(p,Se),i[p](),t.isPropagationStopped()&&h.removeEventListener(p,Se),mt.event.triggered=void 0,s&&(i[u]=s)),t.result}},simulate:function(t,e,n){var i=mt.extend(new mt.Event,n,{type:t,isSimulated:!0});mt.event.trigger(i,null,e)}}),mt.fn.extend({trigger:function(t,e){return this.each(function(){mt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return mt.event.trigger(t,e,n,!0)}}),ht.focusin||mt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){mt.event.simulate(e,t.target,mt.event.fix(t))};mt.event.special[e]={setup:function(){var i=this.ownerDocument||this.document||this,r=Ft.access(i,e);r||i.addEventListener(t,n,!0),Ft.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=Ft.access(i,e)-1;r?Ft.access(i,e,r):(i.removeEventListener(t,n,!0),Ft.remove(i,e))}}});var De=n.location,Ae={guid:Date.now()},Ee=/\?/;mt.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||mt.error("Invalid XML: "+t),e};var Me=/\[\]$/,Oe=/\r?\n/g,$e=/^(?:submit|button|image|reset|file)$/i,Ie=/^(?:input|select|textarea|keygen)/i;mt.param=function(t,e){var n,i=[],r=function(t,e){var n=ft(e)?e():e;i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!mt.isPlainObject(t))mt.each(t,function(){r(this.name,this.value)});else for(n in t)Z(n,t[n],e,r);return i.join("&")},mt.fn.extend({serialize:function(){return mt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=mt.prop(this,"elements");return t?mt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!mt(this).is(":disabled")&&Ie.test(this.nodeName)&&!$e.test(t)&&(this.checked||!Xt.test(t))}).map(function(t,e){var n=mt(this).val();return null==n?null:Array.isArray(n)?mt.map(n,function(t){return{name:e.name,value:t.replace(Oe,"\r\n")}}):{name:e.name,value:n.replace(Oe,"\r\n")}}).get()}});var Fe=/%20/g,Pe=/#.*$/,Ne=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)$/gm,je=/^(?:GET|HEAD)$/,Re=/^\/\//,Ue={},Be={},ze="*/".concat("*"),He=gt.createElement("a");He.href=De.href,mt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:De.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(De.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":ze,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":mt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?tt(tt(t,mt.ajaxSettings),e):tt(mt.ajaxSettings,t)},ajaxPrefilter:Q(Ue),ajaxTransport:Q(Be),ajax:function(t,e){function i(t,e,i,s){var u,h,f,_,x,w=e;c||(c=!0,l&&n.clearTimeout(l),r=void 0,a=s||"",C.readyState=t>0?4:0,u=t>=200&&t<300||304===t,i&&(_=function(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,C,i)),!u&&mt.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),_=function(t,e,n,i){var r,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(r in u)if((s=r.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}(p,_,C,u),u?(p.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(mt.lastModified[o]=x),(x=C.getResponseHeader("etag"))&&(mt.etag[o]=x)),204===t||"HEAD"===p.type?w="nocontent":304===t?w="notmodified":(w=_.state,h=_.data,u=!(f=_.error))):(f=w,!t&&w||(w="error",t<0&&(t=0))),C.status=t,C.statusText=(e||w)+"",u?m.resolveWith(g,[h,w,C]):m.rejectWith(g,[C,w,f]),C.statusCode(b),b=void 0,d&&v.trigger(u?"ajaxSuccess":"ajaxError",[C,p,u?h:f]),y.fireWith(g,[C,w]),d&&(v.trigger("ajaxComplete",[C,p]),--mt.active||mt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var r,o,a,s,l,u,c,d,h,f,p=mt.ajaxSetup({},e),g=p.context||p,v=p.context&&(g.nodeType||g.jquery)?mt(g):mt.event,m=mt.Deferred(),y=mt.Callbacks("once memory"),b=p.statusCode||{},_={},x={},w="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=Le.exec(a);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(t,e){return null==c&&(t=x[t.toLowerCase()]=x[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==c&&(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)C.always(t[C.status]);else for(e in t)b[e]=[b[e],t[e]];return this},abort:function(t){var e=t||w;return r&&r.abort(e),i(0,e),this}};if(m.promise(C),p.url=((t||p.url||De.href)+"").replace(Re,De.protocol+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(Dt)||[""],null==p.crossDomain){u=gt.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=He.protocol+"//"+He.host!=u.protocol+"//"+u.host}catch(t){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=mt.param(p.data,p.traditional)),J(Ue,p,e,C),c)return C;for(h in(d=mt.event&&p.global)&&0==mt.active++&&mt.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!je.test(p.type),o=p.url.replace(Pe,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Fe,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Ee.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Ne,"$1"),f=(Ee.test(o)?"&":"?")+"_="+Ae.guid+++f),p.url=o+f),p.ifModified&&(mt.lastModified[o]&&C.setRequestHeader("If-Modified-Since",mt.lastModified[o]),mt.etag[o]&&C.setRequestHeader("If-None-Match",mt.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+ze+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(h,p.headers[h]);if(p.beforeSend&&(!1===p.beforeSend.call(g,C,p)||c))return C.abort();if(w="abort",y.add(p.complete),C.done(p.success),C.fail(p.error),r=J(Be,p,e,C)){if(C.readyState=1,d&&v.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(l=n.setTimeout(function(){C.abort("timeout")},p.timeout));try{c=!1,r.send(_,i)}catch(t){if(c)throw t;i(-1,t)}}else i(-1,"No Transport");return C},getJSON:function(t,e,n){return mt.get(t,e,n,"json")},getScript:function(t,e){return mt.get(t,void 0,e,"script")}}),mt.each(["get","post"],function(t,e){mt[e]=function(t,n,i,r){return ft(n)&&(r=r||i,i=n,n=void 0),mt.ajax(mt.extend({url:t,type:e,dataType:r,data:n,success:i},mt.isPlainObject(t)&&t))}}),mt.ajaxPrefilter(function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")}),mt._evalUrl=function(t,e,n){return mt.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){mt.globalEval(t,e,n)}})},mt.fn.extend({wrapAll:function(t){var e;return this[0]&&(ft(t)&&(t=t.call(this[0])),e=mt(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this},wrapInner:function(t){return ft(t)?this.each(function(e){mt(this).wrapInner(t.call(this,e))}):this.each(function(){var e=mt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=ft(t);return this.each(function(n){mt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(t){return this.parent(t).not("body").each(function(){mt(this).replaceWith(this.childNodes)}),this}}),mt.expr.pseudos.hidden=function(t){return!mt.expr.pseudos.visible(t)},mt.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},mt.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var We={0:200,1223:204},Ve=mt.ajaxSettings.xhr();ht.cors=!!Ve&&"withCredentials"in Ve,ht.ajax=Ve=!!Ve,mt.ajaxTransport(function(t){var e,i;if(ht.cors||Ve&&!t.crossDomain)return{send:function(r,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];for(a in t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)s.setRequestHeader(a,r[a]);e=function(t){return function(){e&&(e=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(We[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),i=s.onerror=s.ontimeout=e("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&i()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),mt.ajaxPrefilter(function(t){t.crossDomain&&(t.contents.script=!1)}),mt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return mt.globalEval(t),t}}}),mt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),mt.ajaxTransport("script",function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(i,r){e=mt("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),gt.head.appendChild(e[0])},abort:function(){n&&n()}}});var qe,Ye=[],Xe=/(=)\?(?=&|$)|\?\?/;mt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ye.pop()||mt.expando+"_"+Ae.guid++;return this[t]=!0,t}}),mt.ajaxPrefilter("json jsonp",function(t,e,i){var r,o,a,s=!1!==t.jsonp&&(Xe.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xe.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=ft(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Xe,"$1"+r):!1!==t.jsonp&&(t.url+=(Ee.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||mt.error(r+" was not called"),a[0]},t.dataTypes[0]="json",o=n[r],n[r]=function(){a=arguments},i.always(function(){void 0===o?mt(n).removeProp(r):n[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,Ye.push(r)),a&&ft(o)&&o(a[0]),a=o=void 0}),"script"}),ht.createHTMLDocument=((qe=gt.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===qe.childNodes.length),mt.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(ht.createHTMLDocument?((i=(e=gt.implementation.createHTMLDocument("")).createElement("base")).href=gt.location.href,e.head.appendChild(i)):e=gt),r=wt.exec(t),o=!n&&[],r?[e.createElement(r[1])]:(r=k([t],e,o),o&&o.length&&mt(o).remove(),mt.merge([],r.childNodes)));var i,r,o},mt.fn.load=function(t,e,n){var i,r,o,a=this,s=t.indexOf(" ");return s>-1&&(i=X(t.slice(s)),t=t.slice(0,s)),ft(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),a.length>0&&mt.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(i?mt("<div>").append(mt.parseHTML(t)).find(i):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},mt.expr.pseudos.animated=function(t){return mt.grep(mt.timers,function(e){return t===e.elem}).length},mt.offset={setOffset:function(t,e,n){var i,r,o,a,s,l,u=mt.css(t,"position"),c=mt(t),d={};"static"===u&&(t.style.position="relative"),s=c.offset(),o=mt.css(t,"top"),l=mt.css(t,"left"),("absolute"===u||"fixed"===u)&&(o+l).indexOf("auto")>-1?(a=(i=c.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),ft(e)&&(e=e.call(t,n,mt.extend({},s))),null!=e.top&&(d.top=e.top-s.top+a),null!=e.left&&(d.left=e.left-s.left+r),"using"in e?e.using.call(t,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),c.css(d))}},mt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){mt.offset.setOffset(this,t,e)});var e,n,i=this[0];return i?i.getClientRects().length?(e=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,i=this[0],r={top:0,left:0};if("fixed"===mt.css(i,"position"))e=i.getBoundingClientRect();else{for(e=this.offset(),n=i.ownerDocument,t=i.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===mt.css(t,"position");)t=t.parentNode;t&&t!==i&&1===t.nodeType&&((r=mt(t).offset()).top+=mt.css(t,"borderTopWidth",!0),r.left+=mt.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-mt.css(i,"marginTop",!0),left:e.left-r.left-mt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===mt.css(t,"position");)t=t.offsetParent;return t||Bt})}}),mt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;mt.fn[t]=function(i){return Mt(this,function(t,i,r){var o;if(pt(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r},t,i,arguments.length)}}),mt.each(["top","left"],function(t,e){mt.cssHooks[e]=L(ht.pixelPosition,function(t,n){if(n)return n=N(t,e),oe.test(n)?mt(t).position()[e]+"px":n})}),mt.each({Height:"height",Width:"width"},function(t,e){mt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){mt.fn[i]=function(r,o){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===o?"margin":"border");return Mt(this,function(e,n,r){var o;return pt(e)?0===i.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===r?mt.css(e,n,s):mt.style(e,n,r,s)},e,a?r:void 0,a)}})}),mt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){mt.fn[e]=function(t){return this.on(e,t)}}),mt.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),mt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){mt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}});var Ge=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;mt.proxy=function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),ft(t))return i=it.call(arguments,2),(r=function(){return t.apply(e||this,i.concat(it.call(arguments)))}).guid=t.guid=t.guid||mt.guid++,r},mt.holdReady=function(t){t?mt.readyWait++:mt.ready(!0)},mt.isArray=Array.isArray,mt.parseJSON=JSON.parse,mt.nodeName=l,mt.isFunction=ft,mt.isWindow=pt,mt.camelCase=v,mt.type=a,mt.now=Date.now,mt.isNumeric=function(t){var e=mt.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},mt.trim=function(t){return null==t?"":(t+"").replace(Ge,"")},void 0===(i=function(){return mt}.apply(e,[]))||(t.exports=i);var Ke=n.jQuery,Ze=n.$;return mt.noConflict=function(t){return n.$===mt&&(n.$=Ze),t&&n.jQuery===mt&&(n.jQuery=Ke),mt},void 0===r&&(n.jQuery=n.$=mt),mt})},"8+8L":function(t,e,n){"use strict";function i(t){this.state=O,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 a(t){return t?t.toLowerCase():""}function s(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 d(t,e,n){var i=r.resolve(t);return arguments.length<2?i:i.then(e,n)}function h(t,e,n){return l(n=n||{})&&(n=n.call(e)),p(t.bind({$vm:e,$options:n}),t,{$options:n})}function f(t,e){var n,i;if(R(t))for(n=0;n<t.length;n++)e.call(t[n],t[n],n);else if(u(t))for(i in t)P.call(t,i)&&e.call(t[i],t[i],i);return t}function p(t){return N.call(arguments,1).forEach(function(e){g(t,e,!0)}),t}function g(t,e,n){for(var i in e)n&&(c(e[i])||R(e[i]))?(c(e[i])&&!c(t[i])&&(t[i]={}),R(e[i])&&!R(t[i])&&(t[i]=[]),g(t[i],e[i],n)):void 0!==e[i]&&(t[i]=e[i])}function v(t,e,n){var i=function(t){var e=["+","#",".","/",";","?","&"],n=[];return{vars:n,expand:function(i){return t.replace(/\{([^{}]+)\}|([^{}]+)/g,function(t,r,o){if(r){var a=null,s=[];if(-1!==e.indexOf(r.charAt(0))&&(a=r.charAt(0),r=r.substr(1)),r.split(/,/g).forEach(function(t){var e=/([^:*]*)(?::(\d+)|(\*))?/.exec(t);s.push.apply(s,function(t,e,n,i){var r=t[n],o=[];if(m(r)&&""!==r)if("string"==typeof r||"number"==typeof r||"boolean"==typeof r)r=r.toString(),i&&"*"!==i&&(r=r.substring(0,parseInt(i,10))),o.push(b(e,r,y(e)?n:null));else if("*"===i)Array.isArray(r)?r.filter(m).forEach(function(t){o.push(b(e,t,y(e)?n:null))}):Object.keys(r).forEach(function(t){m(r[t])&&o.push(b(e,r[t],t))});else{var a=[];Array.isArray(r)?r.filter(m).forEach(function(t){a.push(b(e,t))}):Object.keys(r).forEach(function(t){m(r[t])&&(a.push(encodeURIComponent(t)),a.push(b(e,r[t].toString())))}),y(e)?o.push(encodeURIComponent(n)+"="+a.join(",")):0!==a.length&&o.push(a.join(","))}else";"===e?o.push(encodeURIComponent(n)):""!==r||"&"!==e&&"?"!==e?""===r&&o.push(""):o.push(encodeURIComponent(n)+"=");return o}(i,a,e[1],e[2]||e[3])),n.push(e[1])}),a&&"+"!==a){var l=",";return"?"===a?l="&":"#"!==a&&(l=a),(0!==s.length?a:"")+s.join(l)}return s.join(",")}return _(o)})}}}(t),r=i.expand(e);return n&&n.push.apply(n,i.vars),r}function m(t){return void 0!==t&&null!==t}function y(t){return";"===t||"&"===t||"?"===t}function b(t,e,n){return e="+"===t||"#"===t?_(e):encodeURIComponent(e),n?encodeURIComponent(n)+"="+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 n,i=this||{},r=t;return s(t)&&(r={url:t,params:e}),r=p({},x.options,i.$options,r),x.transforms.forEach(function(t){s(t)&&(t=x.transform[t]),l(t)&&(n=function(t,e,n){return function(i){return t.call(n,i,e)}}(t,n,i.$vm))}),n(r)}function w(t){return new r(function(e){var n=new XDomainRequest,i=function(i){var r=i.type,o=0;"load"===r?o=200:"error"===r&&(o=500),e(t.respondWith(n.responseText,{status:o}))};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl()),t.timeout&&(n.timeout=t.timeout),n.onload=i,n.onabort=i,n.onerror=i,n.ontimeout=i,n.onprogress=function(){},n.send(t.getBody())})}function C(t){return new r(function(e){var n,i,r=t.jsonp||"callback",o=t.jsonpCallback||"_jsonp"+Math.random().toString(36).substr(2),a=null;n=function(n){var r=n.type,s=0;"load"===r&&null!==a?s=200:"error"===r&&(s=500),s&&window[o]&&(delete window[o],document.body.removeChild(i)),e(t.respondWith(a,{status:s}))},window[o]=function(t){a=JSON.stringify(t)},t.abort=function(){n({type:"abort"})},t.params[r]=o,t.timeout&&setTimeout(t.abort,t.timeout),(i=document.createElement("script")).src=t.getUrl(),i.type="text/javascript",i.async=!0,i.onload=n,i.onerror=n,document.body.appendChild(i)})}function k(t){return new r(function(e){var n=new XMLHttpRequest,i=function(i){var r=t.respondWith("response"in n?n.response:n.responseText,{status:1223===n.status?204:n.status,statusText:1223===n.status?"No Content":o(n.statusText)});f(o(n.getAllResponseHeaders()).split("\n"),function(t){r.headers.append(t.slice(0,t.indexOf(":")),t.slice(t.indexOf(":")+1))}),e(r)};t.abort=function(){return n.abort()},n.open(t.method,t.getUrl(),!0),t.timeout&&(n.timeout=t.timeout),t.responseType&&"responseType"in n&&(n.responseType=t.responseType),(t.withCredentials||t.credentials)&&(n.withCredentials=!0),t.crossOrigin||t.headers.set("X-Requested-With","XMLHttpRequest"),l(t.progress)&&"GET"===t.method&&n.addEventListener("progress",t.progress),l(t.downloadProgress)&&n.addEventListener("progress",t.downloadProgress),l(t.progress)&&/^(POST|PUT)$/i.test(t.method)&&n.upload.addEventListener("progress",t.progress),l(t.uploadProgress)&&n.upload&&n.upload.addEventListener("progress",t.uploadProgress),t.headers.forEach(function(t,e){n.setRequestHeader(e,t)}),n.onload=i,n.onabort=i,n.onerror=i,n.ontimeout=i,n.send(t.getBody())})}function T(t){var e=n(1);return new r(function(n){var i,r=t.getUrl(),a=t.getBody(),s=t.method,l={};t.headers.forEach(function(t,e){l[e]=t}),e(r,{body:a,method:s,headers:l}).then(i=function(e){var i=t.respondWith(e.body,{status:e.statusCode,statusText:o(e.statusMessage)});f(e.headers,function(t,e){i.headers.set(e,t)}),n(i)},function(t){return i(t.response)})})}function S(t){return(t.client||(j?k:T))(t)}function D(t,e){return Object.keys(t).reduce(function(t,n){return a(e)===a(n)?n:t},null)}function A(t){var e=this||{},n=function(t){function e(e){for(;n.length;){var o=n.pop();if(l(o)){var a=void 0,s=void 0;if(u(a=o.call(t,e,function(t){return s=t})||s))return new r(function(e,n){i.forEach(function(e){a=d(a,function(n){return e.call(t,n)||n},n)}),d(a,e,n)},t);l(a)&&i.unshift(a)}else c="Invalid interceptor of type "+typeof o+", must be a function","undefined"!=typeof console&&L&&console.warn("[VueResource warn]: "+c)}var c}var n=[S],i=[];return u(t)||(t=null),e.use=function(t){n.push(t)},e}(e.$vm);return function(t){N.call(arguments,1).forEach(function(e){for(var n in e)void 0===t[n]&&(t[n]=e[n])})}(t||{},e.$options,A.options),A.interceptors.forEach(function(t){s(t)&&(t=A.interceptor[t]),l(t)&&n.use(t)}),n(new W(t)).then(function(t){return t.ok?t:r.reject(t)},function(t){var e;return t instanceof Error&&(e=t,"undefined"!=typeof console&&console.error(e)),r.reject(t)})}function E(t,e,n,i){var r=this||{},o={};return f(n=U({},E.actions,n),function(n,a){n=p({url:t,params:U({},e)},i,n),o[a]=function(){return(r.$http||A)(function(t,e){var n,i=U({},t),r={};switch(e.length){case 2:r=e[0],n=e[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(i.method)?n=e[0]:r=e[0];break;case 0:break;default:throw"Expected up to 2 arguments [params, body], got "+e.length+" arguments"}return i.body=n,i.params=U({},i.params,r),i}(n,arguments))}}),o}function M(t){var e,n,i;M.installed||(n=(e=t).config,i=e.nextTick,F=i,L=n.debug||!n.silent,t.url=x,t.http=A,t.resource=E,t.Promise=r,Object.defineProperties(t.prototype,{$url:{get:function(){return h(t.url,this,this.$options.url)}},$http:{get:function(){return h(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}},$promise:{get:function(){var e=this;return function(n){return new t.Promise(n,e)}}}}))}Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"Url",function(){return x}),n.d(e,"Http",function(){return A}),n.d(e,"Resource",function(){return E});var O=2;i.reject=function(t){return new i(function(e,n){n(t)})},i.resolve=function(t){return new i(function(e,n){e(t)})},i.all=function(t){return new i(function(e,n){var r=0,o=[];0===t.length&&e(o);for(var a=0;a<t.length;a+=1)i.resolve(t[a]).then(function(n){return function(i){o[n]=i,(r+=1)===t.length&&e(o)}}(a),n)})},i.race=function(t){return new i(function(e,n){for(var r=0;r<t.length;r+=1)i.resolve(t[r]).then(e,n)})};var $=i.prototype;$.resolve=function(t){var e=this;if(e.state===O){if(t===e)throw new TypeError("Promise settled with itself.");var n=!1;try{var i=t&&t.then;if(null!==t&&"object"==typeof t&&"function"==typeof i)return void i.call(t,function(t){n||e.resolve(t),n=!0},function(t){n||e.reject(t),n=!0})}catch(t){return void(n||e.reject(t))}e.state=0,e.value=t,e.notify()}},$.reject=function(t){if(this.state===O){if(t===this)throw new TypeError("Promise settled with itself.");this.state=1,this.value=t,this.notify()}},$.notify=function(){var t=this;F(function(){if(t.state!==O)for(;t.deferred.length;){var e=t.deferred.shift(),n=e[0],i=e[1],r=e[2],o=e[3];try{0===t.state?r("function"==typeof n?n.call(void 0,t.value):t.value):1===t.state&&("function"==typeof i?r(i.call(void 0,t.value)):o(t.value))}catch(e){o(e)}}},void 0)},$.then=function(t,e){var n=this;return new i(function(i,r){n.deferred.push([t,e,i,r]),n.notify()})},$.catch=function(t){return this.then(void 0,t)},"undefined"==typeof Promise&&(window.Promise=i),r.all=function(t,e){return new r(Promise.all(t),e)},r.resolve=function(t,e){return new r(Promise.resolve(t),e)},r.reject=function(t,e){return new r(Promise.reject(t),e)},r.race=function(t,e){return new r(Promise.race(t),e)};var I=r.prototype;I.bind=function(t){return this.context=t,this},I.then=function(t,e){return t&&t.bind&&this.context&&(t=t.bind(this.context)),e&&e.bind&&this.context&&(e=e.bind(this.context)),new r(this.promise.then(t,e),this.context)},I.catch=function(t){return t&&t.bind&&this.context&&(t=t.bind(this.context)),new r(this.promise.catch(t),this.context)},I.finally=function(t){return this.then(function(e){return t.call(this),e},function(e){return t.call(this),Promise.reject(e)})};var F,P={}.hasOwnProperty,N=[].slice,L=!1,j="undefined"!=typeof window,R=Array.isArray,U=Object.assign||function(t){return N.call(arguments,1).forEach(function(e){g(t,e)}),t};x.options={url:"",root:null,params:{}},x.transform={template:function(t){var e=[],n=v(t.url,t.params,e);return e.forEach(function(e){delete t.params[e]}),n},query:function(t,e){var n=Object.keys(x.options.params),i={},r=e(t);return f(t.params,function(t,e){-1===n.indexOf(e)&&(i[e]=t)}),(i=x.params(i))&&(r+=(-1==r.indexOf("?")?"?":"&")+i),r},root:function(t,e){var n,i,r=e(t);return s(t.root)&&!/^(https?:)?\//.test(r)&&(n=t.root,i="/",r=(n&&void 0===i?n.replace(/\s+$/,""):n&&i?n.replace(new RegExp("["+i+"]+$"),""):n)+"/"+r),r}},x.transforms=["template","query","root"],x.params=function(t){var e=[],n=encodeURIComponent;return e.add=function(t,e){l(e)&&(e=e()),null===e&&(e=""),this.push(n(t)+"="+n(e))},function t(e,n,i){var r,o=R(n),a=c(n);f(n,function(n,s){r=u(n)||R(n),i&&(s=i+"["+(a||r?s:"")+"]"),!i&&o?e.add(n.name,n.value):r?t(e,n,s):e.add(s,n)})}(e,t),e.join("&").replace(/%20/g,"+")},x.parse=function(t){var e=document.createElement("a");return document.documentMode&&(e.href=t,t=e.href),e.href=t,{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",port:e.port,host:e.host,hostname:e.hostname,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):""}};var B=j&&"withCredentials"in new XMLHttpRequest,z=function(t){var e=this;this.map={},f(t,function(t,n){return e.append(n,t)})};z.prototype.has=function(t){return null!==D(this.map,t)},z.prototype.get=function(t){var e=this.map[D(this.map,t)];return e?e.join():null},z.prototype.getAll=function(t){return this.map[D(this.map,t)]||[]},z.prototype.set=function(t,e){this.map[function(t){if(/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return o(t)}(D(this.map,t)||t)]=[o(e)]},z.prototype.append=function(t,e){var n=this.map[D(this.map,t)];n?n.push(o(e)):this.set(t,e)},z.prototype.delete=function(t){delete this.map[D(this.map,t)]},z.prototype.deleteAll=function(){this.map={}},z.prototype.forEach=function(t,e){var n=this;f(this.map,function(i,r){f(i,function(i){return t.call(e,i,r,n)})})};var H=function(t,e){var n=e.url,i=e.headers,o=e.status,a=e.statusText;this.url=n,this.ok=o>=200&&o<300,this.status=o||0,this.statusText=a||"",this.headers=new z(i),this.body=t,s(t)?this.bodyText=t:"undefined"!=typeof Blob&&t instanceof Blob&&(this.bodyBlob=t,function(t){return 0===t.type.indexOf("text")||-1!==t.type.indexOf("json")}(t)&&(this.bodyText=function(t){return new r(function(e){var n=new FileReader;n.readAsText(t),n.onload=function(){e(n.result)}})}(t)))};H.prototype.blob=function(){return d(this.bodyBlob)},H.prototype.text=function(){return d(this.bodyText)},H.prototype.json=function(){return d(this.text(),function(t){return JSON.parse(t)})},Object.defineProperty(H.prototype,"data",{get:function(){return this.body},set:function(t){this.body=t}});var W=function(t){var e;this.body=null,this.params={},U(this,t,{method:(e=t.method||"GET",e?e.toUpperCase():"")}),this.headers instanceof z||(this.headers=new z(this.headers))};W.prototype.getUrl=function(){return x(this)},W.prototype.getBody=function(){return this.body},W.prototype.respondWith=function(t,e){return new H(t,U(e||{},{url:this.getUrl()}))};var V={"Content-Type":"application/json;charset=utf-8"};A.options={},A.headers={put:V,post:V,patch:V,delete:V,common:{Accept:"application/json, text/plain, */*"},custom:{}},A.interceptor={before:function(t){l(t.before)&&t.before.call(this,t)},method:function(t){t.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(t.method)&&(t.headers.set("X-HTTP-Method-Override",t.method),t.method="POST")},jsonp:function(t){"JSONP"==t.method&&(t.client=C)},json:function(t){var e=t.headers.get("Content-Type")||"";return u(t.body)&&0===e.indexOf("application/json")&&(t.body=JSON.stringify(t.body)),function(t){return t.bodyText?d(t.text(),function(e){var n,i;if(0===(t.headers.get("Content-Type")||"").indexOf("application/json")||(i=(n=e).match(/^\s*(\[|\{)/))&&{"[":/]\s*$/,"{":/}\s*$/}[i[1]].test(n))try{t.body=JSON.parse(e)}catch(e){t.body=null}else t.body=e;return t}):t}},form:function(t){var e;e=t.body,"undefined"!=typeof FormData&&e instanceof FormData?t.headers.delete("Content-Type"):u(t.body)&&t.emulateJSON&&(t.body=x.params(t.body),t.headers.set("Content-Type","application/x-www-form-urlencoded"))},header:function(t){f(U({},A.headers.common,t.crossOrigin?{}:A.headers.custom,A.headers[a(t.method)]),function(e,n){t.headers.has(n)||t.headers.set(n,e)})},cors:function(t){if(j){var e=x.parse(location.href),n=x.parse(t.getUrl());n.protocol===e.protocol&&n.host===e.host||(t.crossOrigin=!0,t.emulateHTTP=!1,B||(t.client=w))}}},A.interceptors=["before","method","jsonp","json","form","header","cors"],["get","delete","head","jsonp"].forEach(function(t){A[t]=function(e,n){return this(U(n||{},{url:e,method:t}))}}),["post","put","patch"].forEach(function(t){A[t]=function(e,n,i){return this(U(i||{},{url:e,method:t,body:n}))}}),E.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(M),e.default=M},"8Hdb":function(t,e,n){var i=n("pQUU");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("55ec6dfe",i,!0,{})},"8tqk":function(t,e,n){var i=n("XDdR");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("e7dfcece",i,!0,{})},"9ozO":function(t,e){},"9zF9":function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-538f99aa]{cursor:pointer}.m-b-none[data-v-538f99aa]{margin-bottom:0}",""])},"A/e+":function(t,e,n){var i=n("VU/8")(n("5m3O"),n("l4G8"),!1,function(t){n("8tqk")},"data-v-7193ece9",null);t.exports=i.exports},DimI:function(t,e,n){var i=n("9zF9");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("3ca06ca7",i,!0,{})},DuR2:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},F7gb:function(t,e){},FHXl:function(t,e,n){var i,r,o;!function(a){"use strict";r=[n("7t+N"),n("z1kw")],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)}(function(t){"use strict";function e(e){var n="dragover"===e;return function(i){i.dataTransfer=i.originalEvent&&i.originalEvent.dataTransfer;var r=i.dataTransfer;r&&-1!==t.inArray("Files",r.types)&&!1!==this._trigger(e,t.Event(e,{delegatedEvent:i}))&&(i.preventDefault(),n&&(r.dropEffect="copy"))}}t.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||t('<input type="file"/>').prop("disabled")),t.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),t.support.xhrFormDataFileUpload=!!window.FormData,t.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),t.widget("blueimp.fileupload",{options:{dropZone:t(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,uniqueFilenames:void 0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(e,n){return e=this.messages[e]||e.toString(),n&&t.each(n,function(t,n){e=e.replace("{"+t+"}",n)}),e},formData:function(t){return t.serializeArray()},add:function(e,n){if(e.isDefaultPrevented())return!1;(n.autoUpload||!1!==n.autoUpload&&t(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:t.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var i=t-this.timestamp;return(!this.bitrate||!n||i>n)&&(this.bitrate=(e-this.loaded)*(1e3/i)*8,this.loaded=e,this.timestamp=t),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&t.support.xhrFileUpload||t.support.xhrFormDataFileUpload)},_getFormData:function(e){var n;return"function"===t.type(e.formData)?e.formData(e.form):t.isArray(e.formData)?e.formData:"object"===t.type(e.formData)?(n=[],t.each(e.formData,function(t,e){n.push({name:t,value:e})}),n):[]},_getTotal:function(e){var n=0;return t.each(e,function(t,e){n+=e.size||1}),n},_initProgressObject:function(e){var n={loaded:0,total:0,bitrate:0};e._progress?t.extend(e._progress,n):e._progress=n},_initResponseObject:function(t){var e;if(t._response)for(e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(e,n){if(e.lengthComputable){var i,r=Date.now?Date.now():(new Date).getTime();if(n._time&&n.progressInterval&&r-n._time<n.progressInterval&&e.loaded!==e.total)return;n._time=r,i=Math.floor(e.loaded/e.total*(n.chunkSize||n._progress.total))+(n.uploadedBytes||0),this._progress.loaded+=i-n._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(r,this._progress.loaded,n.bitrateInterval),n._progress.loaded=n.loaded=i,n._progress.bitrate=n.bitrate=n._bitrateTimer.getBitrate(r,i,n.bitrateInterval),this._trigger("progress",t.Event("progress",{delegatedEvent:e}),n),this._trigger("progressall",t.Event("progressall",{delegatedEvent:e}),this._progress)}},_initProgressListener:function(e){var n=this,i=e.xhr?e.xhr():t.ajaxSettings.xhr();i.upload&&(t(i.upload).bind("progress",function(t){var i=t.originalEvent;t.lengthComputable=i.lengthComputable,t.loaded=i.loaded,t.total=i.total,n._onProgress(t,e)}),e.xhr=function(){return i})},_deinitProgressListener:function(e){var n=e.xhr?e.xhr():t.ajaxSettings.xhr();n.upload&&t(n.upload).unbind("progress")},_isInstanceOf:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"},_getUniqueFilename:function(t,e){return e[t=String(t)]?(t=t.replace(/(?: \(([\d]+)\))?(\.[^.]+)?$/,function(t,e,n){return" ("+(e?Number(e)+1:1)+")"+(n||"")}),this._getUniqueFilename(t,e)):(e[t]=!0,t)},_initXHRData:function(e){var n,i=this,r=e.files[0],o=e.multipart||!t.support.xhrFileUpload,a="array"===t.type(e.paramName)?e.paramName[0]:e.paramName;e.headers=t.extend({},e.headers),e.contentRange&&(e.headers["Content-Range"]=e.contentRange),o&&!e.blob&&this._isInstanceOf("File",r)||(e.headers["Content-Disposition"]='attachment; filename="'+encodeURI(r.uploadName||r.name)+'"'),o?t.support.xhrFormDataFileUpload&&(e.postMessage?(n=this._getFormData(e),e.blob?n.push({name:a,value:e.blob}):t.each(e.files,function(i,r){n.push({name:"array"===t.type(e.paramName)&&e.paramName[i]||a,value:r})})):(i._isInstanceOf("FormData",e.formData)?n=e.formData:(n=new FormData,t.each(this._getFormData(e),function(t,e){n.append(e.name,e.value)})),e.blob?n.append(a,e.blob,r.uploadName||r.name):t.each(e.files,function(r,o){if(i._isInstanceOf("File",o)||i._isInstanceOf("Blob",o)){var s=o.uploadName||o.name;e.uniqueFilenames&&(s=i._getUniqueFilename(s,e.uniqueFilenames)),n.append("array"===t.type(e.paramName)&&e.paramName[r]||a,o,s)}})),e.data=n):(e.contentType=r.type||"application/octet-stream",e.data=e.blob||r),e.blob=null},_initIframeSettings:function(e){var n=t("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&n&&n!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(e){var n=t(e.fileInput),i=e.paramName;return i?t.isArray(i)||(i=[i]):(i=[],n.each(function(){for(var e=t(this),n=e.prop("name")||"files[]",r=(e.prop("files")||[1]).length;r;)i.push(n),r-=1}),i.length||(i=[n.prop("name")||"files[]"])),i},_initFormSettings:function(e){e.form&&e.form.length||(e.form=t(e.fileInput.prop("form")),e.form.length||(e.form=t(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===t.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var n=t.extend({},this.options,e);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(e,n,i){var r=t.Deferred(),o=r.promise();return n=n||this.options.context||o,!0===e?r.resolveWith(n,i):!1===e&&r.rejectWith(n,i),o.abort=r.promise,this._enhancePromise(o)},_addConvenienceMethods:function(e,n){var i=this,r=function(e){return t.Deferred().resolveWith(i,e).promise()};n.process=function(e,o){return(e||o)&&(n._processQueue=this._processQueue=(this._processQueue||r([this])).then(function(){return n.errorThrown?t.Deferred().rejectWith(i,[n]).promise():r(arguments)}).then(e,o)),this._processQueue||r([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=!1!==i._trigger("submit",t.Event("submit",{delegatedEvent:e}),this)&&i._onSend(e,this)),this.jqXHR||i._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",i._trigger("fail",null,this),i._getXHRPromise(!1))},n.state=function(){return this.jqXHR?i._getDeferredState(this.jqXHR):this._processQueue?i._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===i._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),n=e&&e.split("-"),i=n&&n.length>1&&parseInt(n[1],10);return i&&i+1},_chunkedUpload:function(e,n){e.uploadedBytes=e.uploadedBytes||0;var i,r,o=this,a=e.files[0],s=a.size,l=e.uploadedBytes,u=e.maxChunkSize||s,c=this._blobSlice,d=t.Deferred(),h=d.promise();return!(!(this._isXHRUpload(e)&&c&&(l||("function"===t.type(u)?u(e):u)<s))||e.data)&&(!!n||(l>=s?(a.error=e.i18n("uploadedBytes"),this._getXHRPromise(!1,e.context,[null,"error",a.error])):(r=function(){var n=t.extend({},e),h=n._progress.loaded;n.blob=c.call(a,l,l+("function"===t.type(u)?u(n):u),a.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+l+"-"+(l+n.chunkSize-1)+"/"+s,o._trigger("chunkbeforesend",null,n),o._initXHRData(n),o._initProgressListener(n),i=(!1!==o._trigger("chunksend",null,n)&&t.ajax(n)||o._getXHRPromise(!1,n.context)).done(function(i,a,u){l=o._getUploadedBytes(u)||l+n.chunkSize,h+n.chunkSize-n._progress.loaded&&o._onProgress(t.Event("progress",{lengthComputable:!0,loaded:l-n.uploadedBytes,total:l-n.uploadedBytes}),n),e.uploadedBytes=n.uploadedBytes=l,n.result=i,n.textStatus=a,n.jqXHR=u,o._trigger("chunkdone",null,n),o._trigger("chunkalways",null,n),l<s?r():d.resolveWith(n.context,[i,a,u])}).fail(function(t,e,i){n.jqXHR=t,n.textStatus=e,n.errorThrown=i,o._trigger("chunkfail",null,n),o._trigger("chunkalways",null,n),d.rejectWith(n.context,[t,e,i])}).always(function(){o._deinitProgressListener(n)})},this._enhancePromise(h),h.abort=function(){return i.abort()},r(),h)))},_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,n,i,r){var o=r._progress.total,a=r._response;r._progress.loaded<o&&this._onProgress(t.Event("progress",{lengthComputable:!0,loaded:o,total:o}),r),a.result=r.result=e,a.textStatus=r.textStatus=n,a.jqXHR=r.jqXHR=i,this._trigger("done",null,r)},_onFail:function(t,e,n,i){var r=i._response;i.recalculateProgress&&(this._progress.loaded-=i._progress.loaded,this._progress.total-=i._progress.total),r.jqXHR=i.jqXHR=t,r.textStatus=i.textStatus=e,r.errorThrown=i.errorThrown=n,this._trigger("fail",null,i)},_onAlways:function(t,e,n,i){this._trigger("always",null,i)},_onSend:function(e,n){n.submit||this._addConvenienceMethods(e,n);var i,r,o,a,s=this,l=s._getAJAXSettings(n),u=function(){return s._sending+=1,l._bitrateTimer=new s._BitrateTimer,i=i||((r||!1===s._trigger("send",t.Event("send",{delegatedEvent:e}),l))&&s._getXHRPromise(!1,l.context,r)||s._chunkedUpload(l)||t.ajax(l)).done(function(t,e,n){s._onDone(t,e,n,l)}).fail(function(t,e,n){s._onFail(t,e,n,l)}).always(function(t,e,n){if(s._deinitProgressListener(l),s._onAlways(t,e,n,l),s._sending-=1,s._active-=1,l.limitConcurrentUploads&&l.limitConcurrentUploads>s._sending)for(var i=s._slots.shift();i;){if("pending"===s._getDeferredState(i)){i.resolve();break}i=s._slots.shift()}0===s._active&&s._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),a=o.then(u)):(this._sequence=this._sequence.then(u,u),a=this._sequence),a.abort=function(){return r=[void 0,"abort","abort"],i?i.abort():(o&&o.rejectWith(l.context,r),u())},this._enhancePromise(a)):u()},_onAdd:function(e,n){var i,r,o,a,s=this,l=!0,u=t.extend({},this.options,n),c=n.files,d=c.length,h=u.limitMultiFileUploads,f=u.limitMultiFileUploadSize,p=u.limitMultiFileUploadSizeOverhead,g=0,v=this._getParamName(u),m=0;if(!d)return!1;if(f&&void 0===c[0].size&&(f=void 0),(u.singleFileUploads||h||f)&&this._isXHRUpload(u))if(u.singleFileUploads||f||!h)if(!u.singleFileUploads&&f)for(o=[],i=[],a=0;a<d;a+=1)g+=c[a].size+p,(a+1===d||g+c[a+1].size+p>f||h&&a+1-m>=h)&&(o.push(c.slice(m,a+1)),(r=v.slice(m,a+1)).length||(r=v),i.push(r),m=a+1,g=0);else i=v;else for(o=[],i=[],a=0;a<d;a+=h)o.push(c.slice(a,a+h)),(r=v.slice(a,a+h)).length||(r=v),i.push(r);else o=[c],i=[v];return n.originalFiles=c,t.each(o||c,function(r,a){var u=t.extend({},n);return u.files=o?a:[a],u.paramName=i[r],s._initResponseObject(u),s._initProgressObject(u),s._addConvenienceMethods(e,u),l=s._trigger("add",t.Event("add",{delegatedEvent:e}),u)}),l},_replaceFileInput:function(e){var n=e.fileInput,i=n.clone(!0),r=n.is(document.activeElement);e.fileInputClone=i,t("<form></form>").append(i)[0].reset(),n.after(i).detach(),r&&i.focus(),t.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(t,e){return e===n[0]?i[0]:e}),n[0]===this.element[0]&&(this.element=i)},_handleFileTreeEntry:function(e,n){var i,r=this,o=t.Deferred(),a=[],s=function(t){t&&!t.entry&&(t.entry=e),o.resolve([t])},l=function(){i.readEntries(function(t){t.length?(a=a.concat(t),l()):function(t){r._handleFileTreeEntries(t,n+e.name+"/").done(function(t){o.resolve(t)}).fail(s)}(a)},s)};return n=n||"",e.isFile?e._file?(e._file.relativePath=n,o.resolve(e._file)):e.file(function(t){t.relativePath=n,o.resolve(t)},s):e.isDirectory?(i=e.createReader(),l()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(e,n){var i=this;return t.when.apply(t,t.map(e,function(t){return i._handleFileTreeEntry(t,n)})).then(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){var n=(e=e||{}).items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(t.map(n,function(t){var e;return t.webkitGetAsEntry?((e=t.webkitGetAsEntry())&&(e._file=t.getAsFile()),e):t.getAsEntry()})):t.Deferred().resolve(t.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){var n,i,r=(e=t(e)).prop("webkitEntries")||e.prop("entries");if(r&&r.length)return this._handleFileTreeEntries(r);if((n=t.makeArray(e.prop("files"))).length)void 0===n[0].name&&n[0].fileName&&t.each(n,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(!(i=e.prop("value")))return t.Deferred().resolve([]).promise();n=[{name:i.replace(/^.*\\/,"")}]}return t.Deferred().resolve(n).promise()},_getFileInputFiles:function(e){return e instanceof t&&1!==e.length?t.when.apply(t,t.map(e,this._getSingleFileInputFiles)).then(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(e){var n=this,i={fileInput:t(e.target),form:t(e.target.form)};this._getFileInputFiles(i.fileInput).always(function(r){i.files=r,n.options.replaceFileInput&&n._replaceFileInput(i),!1!==n._trigger("change",t.Event("change",{delegatedEvent:e}),i)&&n._onAdd(e,i)})},_onPaste:function(e){var n=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,i={files:[]};n&&n.length&&(t.each(n,function(t,e){var n=e.getAsFile&&e.getAsFile();n&&i.files.push(n)}),!1!==this._trigger("paste",t.Event("paste",{delegatedEvent:e}),i)&&this._onAdd(e,i))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,i=e.dataTransfer,r={};i&&i.files&&i.files.length&&(e.preventDefault(),this._getDroppedFiles(i).always(function(i){r.files=i,!1!==n._trigger("drop",t.Event("drop",{delegatedEvent:e}),r)&&n._onAdd(e,r)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{
+paste:this._onPaste})),t.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_destroy:function(){this._destroyEventHandlers()},_setOption:function(e,n){var i=-1!==t.inArray(e,this._specialOptions);i&&this._destroyEventHandlers(),this._super(e,n),i&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):e.fileInput instanceof t||(e.fileInput=t(e.fileInput)),e.dropZone instanceof t||(e.dropZone=t(e.dropZone)),e.pasteZone instanceof t||(e.pasteZone=t(e.pasteZone))},_getRegExp:function(t){var e=t.split("/"),n=e.pop();return e.shift(),new RegExp(e.join("/"),n)},_isRegExpOption:function(e,n){return"url"!==e&&"string"===t.type(n)&&/^\/.*\/[igm]{0,3}$/.test(n)},_initDataAttributes:function(){var e=this,n=this.options,i=this.element.data();t.each(this.element[0].attributes,function(t,r){var o,a=r.name.toLowerCase();/^data-/.test(a)&&(a=a.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),o=i[a],e._isRegExpOption(a,o)&&(o=e._getRegExp(o)),n[a]=o)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(e){var n=this;e&&!this.options.disabled&&(e.fileInput&&!e.files?this._getFileInputFiles(e.fileInput).always(function(t){e.files=t,n._onAdd(null,e)}):(e.files=t.makeArray(e.files),this._onAdd(null,e)))},send:function(e){if(e&&!this.options.disabled){if(e.fileInput&&!e.files){var n,i,r=this,o=t.Deferred(),a=o.promise();return a.abort=function(){return i=!0,n?n.abort():(o.reject(null,"abort","abort"),a)},this._getFileInputFiles(e.fileInput).always(function(t){i||(t.length?(e.files=t,(n=r._onSend(null,e)).then(function(t,e,n){o.resolve(t,e,n)},function(t,e,n){o.reject(t,e,n)})):o.reject())}),this._enhancePromise(a)}if(e.files=t.makeArray(e.files),e.files.length)return this._onSend(null,e)}return this._getXHRPromise(!1,e&&e.context)}})})},"FZ+f":function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=function(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var r=(o=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");return[n].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([r]).join("\n")}var o;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&i[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},GDnL:function(t,e,n){n("WRGp"),Vue.component("passport-clients",n("A/e+")),Vue.component("passport-authorized-clients",n("ooDj")),Vue.component("passport-personal-access-tokens",n("Lypw")),Vue.component("importer",n("NYlw")),Vue.component("fieldset-default-values",n("+sje"))},HB0T:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"legend[data-v-3bdd24a5]{font-size:13px;font-weight:700;border:0}fieldset>div[data-v-3bdd24a5]{background:#f4f4f4;border:1px solid #d3d6de;margin:0 15px 15px;padding:20px 20px 10px}@media (max-width:992px){legend[data-v-3bdd24a5]{text-align:left!important}}@media (min-width:992px){fieldset>div[data-v-3bdd24a5]{width:55%}}",""])},"I3G/":function(t,e,n){"use strict";(function(e){function n(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function r(t){return!0===t}function o(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t}function a(t){return null!==t&&"object"==typeof t}function s(t){return"[object Object]"===Tn.call(t)}function l(t){var e=parseFloat(t);return e>=0&&Math.floor(e)===e&&isFinite(t)}function u(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function c(t){var e=parseFloat(t);return isNaN(e)?t:e}function d(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}function h(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}function f(t,e){return An.call(t,e)}function p(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}function g(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function v(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function m(t,e){for(var n in e)t[n]=e[n];return t}function y(t){for(var e={},n=0;n<t.length;n++)t[n]&&m(e,t[n]);return e}function b(t,e,n){}function _(t,e){if(t===e)return!0;var n=a(t),i=a(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every(function(t,n){return _(t,e[n])});if(r||o)return!1;var s=Object.keys(t),l=Object.keys(e);return s.length===l.length&&s.every(function(n){return _(t[n],e[n])})}catch(t){return!1}}function x(t,e){for(var n=0;n<t.length;n++)if(_(t[n],e))return n;return-1}function w(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function C(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function k(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}function T(t,e,n){if(Rn.errorHandler)Rn.errorHandler.call(null,t,e,n);else{if(!Wn||"undefined"==typeof console)throw t;console.error(t)}}function S(t){return"function"==typeof t&&/native code/.test(t.toString())}function D(t,e,n){t.__proto__=e}function A(t,e,n){for(var i=0,r=n.length;i<r;i++){var o=n[i];k(t,o,e[o])}}function E(t,e){var n;if(a(t))return f(t,"__ob__")&&t.__ob__ instanceof fi?n=t.__ob__:hi.shouldConvert&&!ni()&&(Array.isArray(t)||s(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new fi(t)),e&&n&&n.vmCount++,n}function M(t,e,n,i,r){var o=new si,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,l=a&&a.set,u=!r&&E(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return si.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(e)&&function t(e){for(var n=void 0,i=0,r=e.length;i<r;i++)(n=e[i])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&t(n)}(e))),e},set:function(e){var i=s?s.call(t):n;e===i||e!=e&&i!=i||(l?l.call(t,e):n=e,u=!r&&E(e),o.notify())}})}}function O(t,e,n){if(Array.isArray(t)&&l(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(f(t,e))return t[e]=n,n;var i=t.__ob__;return t._isVue||i&&i.vmCount?n:i?(M(i.value,e,n),i.dep.notify(),n):(t[e]=n,n)}function $(t,e){if(Array.isArray(t)&&l(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||f(t,e)&&(delete t[e],n&&n.dep.notify())}}function I(t,e){if(!e)return t;for(var n,i,r,o=Object.keys(e),a=0;a<o.length;a++)i=t[n=o[a]],r=e[n],f(t,n)?s(i)&&s(r)&&I(i,r):O(t,n,r);return t}function F(t,e,n){return n?t||e?function(){var i="function"==typeof e?e.call(n):e,r="function"==typeof t?t.call(n):t;return i?I(i,r):r}:void 0:e?t?function(){return I("function"==typeof e?e.call(this):e,"function"==typeof t?t.call(this):t)}:e:t}function P(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function N(t,e){var n=Object.create(t||null);return e?m(n,e):n}function L(t,e,n){function i(i){var r=pi[i]||gi;u[i]=r(t[i],e[i],n,i)}"function"==typeof e&&(e=e.options),function(t){var e=t.props;if(e){var n,i,r={};if(Array.isArray(e))for(n=e.length;n--;)"string"==typeof(i=e[n])&&(r[Mn(i)]={type:null});else if(s(e))for(var o in e)i=e[o],r[Mn(o)]=s(i)?i:{type:i};t.props=r}}(e),function(t){var e=t.inject;if(Array.isArray(e))for(var n=t.inject={},i=0;i<e.length;i++)n[e[i]]=e[i]}(e),function(t){var e=t.directives;if(e)for(var n in e){var i=e[n];"function"==typeof i&&(e[n]={bind:i,update:i})}}(e);var r=e.extends;if(r&&(t=L(t,r,n)),e.mixins)for(var o=0,a=e.mixins.length;o<a;o++)t=L(t,e.mixins[o],n);var l,u={};for(l in t)i(l);for(l in e)f(t,l)||i(l);return u}function j(t,e,n,i){if("string"==typeof n){var r=t[e];if(f(r,n))return r[n];var o=Mn(n);if(f(r,o))return r[o];var a=On(o);return f(r,a)?r[a]:r[n]||r[o]||r[a]}}function R(t,e,n,i){var r=e[t],o=!f(n,t),a=n[t];if(B(Boolean,r.type)&&(o&&!f(r,"default")?a=!1:B(String,r.type)||""!==a&&a!==In(t)||(a=!0)),void 0===a){a=function(t,e,n){if(f(e,"default")){var i=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"==typeof i&&"Function"!==U(e.type)?i.call(t):i}}(i,r,t);var s=hi.shouldConvert;hi.shouldConvert=!0,E(a),hi.shouldConvert=s}return a}function U(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function B(t,e){if(!Array.isArray(e))return U(e)===U(t);for(var n=0,i=e.length;n<i;n++)if(U(e[n])===U(t))return!0;return!1}function z(t){return new vi(void 0,void 0,void 0,String(t))}function H(t,e){var n=new vi(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return n.ns=t.ns,n.isStatic=t.isStatic,n.key=t.key,n.isComment=t.isComment,n.isCloned=!0,e&&t.children&&(n.children=W(t.children)),n}function W(t,e){for(var n=t.length,i=new Array(n),r=0;r<n;r++)i[r]=H(t[r],e);return i}function V(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var i=n.slice(),r=0;r<i.length;r++)i[r].apply(null,t)}return e.fns=t,e}function q(t,e){return t.plain?-1:e.plain?1:0}function Y(t,e,i,r,o){var a,s,l,u,c=[],d=!1;for(a in t)s=t[a],l=e[a],(u=_i(a)).plain||(d=!0),n(s)||(n(l)?(n(s.fns)&&(s=t[a]=V(s)),u.handler=s,c.push(u)):s!==l&&(l.fns=s,t[a]=l));if(c.length){d&&c.sort(q);for(var h=0;h<c.length;h++){var f=c[h];i(f.name,f.handler,f.once,f.capture,f.passive)}}for(a in e)n(t[a])&&r((u=_i(a)).name,e[a],u.capture)}function X(t,e,o){function a(){o.apply(this,arguments),h(s.fns,a)}var s,l=t[e];n(l)?s=V([a]):i(l.fns)&&r(l.merged)?(s=l).fns.push(a):s=V([l,a]),s.merged=!0,t[e]=s}function G(t,e,n,r,o){if(i(e)){if(f(e,n))return t[n]=e[n],o||delete e[n],!0;if(f(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function K(t){return o(t)?[z(t)]:Array.isArray(t)?function t(e,a){var s,l,u,c=[];for(s=0;s<e.length;s++)n(l=e[s])||"boolean"==typeof l||(u=c[c.length-1],Array.isArray(l)?c.push.apply(c,t(l,(a||"")+"_"+s)):o(l)?Z(u)?u.text+=String(l):""!==l&&c.push(z(l)):Z(l)&&Z(u)?c[c.length-1]=z(u.text+l.text):(r(e._isVList)&&i(l.tag)&&n(l.key)&&i(a)&&(l.key="__vlist"+a+"_"+s+"__"),c.push(l)));return c}(t):void 0}function Z(t){return i(t)&&i(t.text)&&!1===t.isComment}function Q(t,e){return t.__esModule&&t.default&&(t=t.default),a(t)?e.extend(t):t}function J(t){return t.isComment&&t.asyncFactory}function tt(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||J(n)))return n}}function et(t,e,n){n?yi.$once(t,e):yi.$on(t,e)}function nt(t,e){yi.$off(t,e)}function it(t,e,n){yi=t,Y(e,n||{},et,nt)}function rt(t,e){var n={};if(!t)return n;for(var i=[],r=0,o=t.length;r<o;r++){var a=t[r],s=a.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,a.context!==e&&a.functionalContext!==e||!s||null==s.slot)i.push(a);else{var l=a.data.slot,u=n[l]||(n[l]=[]);"template"===a.tag?u.push.apply(u,a.children):u.push(a)}}return i.every(ot)||(n.default=i),n}function ot(t){return t.isComment||" "===t.text}function at(t,e){e=e||{};for(var n=0;n<t.length;n++)Array.isArray(t[n])?at(t[n],e):e[t[n].key]=t[n].fn;return e}function st(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function lt(t,e){if(e){if(t._directInactive=!1,st(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)lt(t.$children[n]);ut(t,"activated")}}function ut(t,e){var n=t.$options[e];if(n)for(var i=0,r=n.length;i<r;i++)try{n[i].call(t)}catch(n){T(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e)}function ct(){var t,e;for(Si=!0,wi.sort(function(t,e){return t.id-e.id}),Di=0;Di<wi.length;Di++)e=(t=wi[Di]).id,ki[e]=null,t.run();var n=Ci.slice(),i=wi.slice();Di=wi.length=Ci.length=0,ki={},Ti=Si=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,lt(t[e],!0)}(n),function(t){for(var e=t.length;e--;){var n=t[e],i=n.vm;i._watcher===n&&i._isMounted&&ut(i,"updated")}}(i),ii&&Rn.devtools&&ii.emit("flush")}function dt(t,e,n){Oi.get=function(){return this[e][n]},Oi.set=function(t){this[e][n]=t},Object.defineProperty(t,n,Oi)}function ht(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},r=t.$options._propKeys=[],o=!t.$parent;hi.shouldConvert=o;for(var a in e)!function(o){r.push(o);var a=R(o,e,n,t);M(i,o,a),o in t||dt(t,"_props",o)}(a);hi.shouldConvert=!0}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?b:g(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;s(e=t._data="function"==typeof e?function(t,e){try{return t.call(e)}catch(t){return T(t,e,"data()"),{}}}(e,t):e||{})||(e={});for(var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);r--;){var o=n[r];i&&f(i,o)||C(o)||dt(t,"_data",o)}E(e,!0)}(t):E(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=ni();for(var r in e){var o=e[r],a="function"==typeof o?o:o.get;i||(n[r]=new Ei(t,a||b,b,$i)),r in t||ft(t,r,o)}}(t,e.computed),e.watch&&e.watch!==Qn&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var r=0;r<i.length;r++)gt(t,n,i[r]);else gt(t,n,i)}}(t,e.watch)}function ft(t,e,n){var i=!ni();"function"==typeof n?(Oi.get=i?pt(e):n,Oi.set=b):(Oi.get=n.get?i&&!1!==n.cache?pt(e):n.get:b,Oi.set=n.set?n.set:b),Object.defineProperty(t,e,Oi)}function pt(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),si.target&&e.depend(),e.value}}function gt(t,e,n,i){return s(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}function vt(t,e){if(t){for(var n=Object.create(null),i=ri?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),r=0;r<i.length;r++)for(var o=i[r],a=t[o],s=e;s;){if(s._provided&&a in s._provided){n[o]=s._provided[a];break}s=s.$parent}return n}}function mt(t,e){for(var n in e)t[Mn(n)]=e[n]}function yt(t,e,o,s,l){if(!n(t)){var u=o.$options._base;if(a(t)&&(t=u.extend(t)),"function"==typeof t){var c;if(n(t.cid)&&void 0===(t=function(t,e,o){if(r(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;if(r(t.loading)&&i(t.loadingComp))return t.loadingComp;if(!i(t.contexts)){var s=t.contexts=[o],l=!0,u=function(){for(var t=0,e=s.length;t<e;t++)s[t].$forceUpdate()},c=w(function(n){t.resolved=Q(n,e),l||u()}),d=w(function(e){i(t.errorComp)&&(t.error=!0,u())}),h=t(c,d);return a(h)&&("function"==typeof h.then?n(t.resolved)&&h.then(c,d):i(h.component)&&"function"==typeof h.component.then&&(h.component.then(c,d),i(h.error)&&(t.errorComp=Q(h.error,e)),i(h.loading)&&(t.loadingComp=Q(h.loading,e),0===h.delay?t.loading=!0:setTimeout(function(){n(t.resolved)&&n(t.error)&&(t.loading=!0,u())},h.delay||200)),i(h.timeout)&&setTimeout(function(){n(t.resolved)&&d(null)},h.timeout))),l=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(o)}(c=t,u,o)))return function(t,e,n,i,r){var o=bi();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:i,tag:r},o}(c,e,o,s,l);e=e||{},Ot(t),i(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.props||(e.props={}))[n]=e.model.value;var o=e.on||(e.on={});i(o[r])?o[r]=[e.model.callback].concat(o[r]):o[r]=e.model.callback}(t.options,e);var d=function(t,e,r){var o=e.options.props;if(!n(o)){var a={},s=t.attrs,l=t.props;if(i(s)||i(l))for(var u in o){var c=In(u);G(a,l,u,c,!0)||G(a,s,u,c,!1)}return a}}(e,t);if(r(t.options.functional))return function(t,e,n,r,o){var a={},s=t.options.props;if(i(s))for(var l in s)a[l]=R(l,s,e||Un);else i(n.attrs)&&mt(a,n.attrs),i(n.props)&&mt(a,n.props);var u=Object.create(r),c=t.options.render.call(null,function(t,e,n,i){return _t(u,t,e,n,i,!0)},{data:n,props:a,children:o,parent:r,listeners:n.on||Un,injections:vt(t.options.inject,r),slots:function(){return rt(o,r)}});return c instanceof vi&&(c.functionalContext=r,c.functionalOptions=t.options,n.slot&&((c.data||(c.data={})).slot=n.slot)),c}(t,d,e,o,s);var h=e.on;if(e.on=e.nativeOn,r(t.options.abstract)){var f=e.slot;e={},f&&(e.slot=f)}!function(t){t.hook||(t.hook={});for(var e=0;e<Fi.length;e++){var n=Fi[e],i=t.hook[n],r=Ii[n];t.hook[n]=i?bt(r,i):r}}(e);var p=t.options.name||l;return new vi("vue-component-"+t.cid+(p?"-"+p:""),e,void 0,void 0,void 0,o,{Ctor:t,propsData:d,listeners:h,tag:l,children:s},c)}}}function bt(t,e){return function(n,i,r,o){t(n,i,r,o),e(n,i,r,o)}}function _t(t,e,a,s,l,u){return(Array.isArray(a)||o(a))&&(l=s,s=a,a=void 0),r(u)&&(l=Ni),function(t,e,r,o,a){if(i(r)&&i(r.__ob__))return bi();if(i(r)&&i(r.is)&&(e=r.is),!e)return bi();Array.isArray(o)&&"function"==typeof o[0]&&((r=r||{}).scopedSlots={default:o[0]},o.length=0),a===Ni?o=K(o):a===Pi&&(o=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(o));var s,l;if("string"==typeof e){var u;l=t.$vnode&&t.$vnode.ns||Rn.getTagNamespace(e),s=Rn.isReservedTag(e)?new vi(Rn.parsePlatformTagName(e),r,o,void 0,void 0,t):i(u=j(t.$options,"components",e))?yt(u,r,t,o,e):new vi(e,r,o,void 0,void 0,t)}else s=yt(e,r,t,o);return i(s)?(l&&function t(e,r){if(e.ns=r,"foreignObject"!==e.tag&&i(e.children))for(var o=0,a=e.children.length;o<a;o++){var s=e.children[o];i(s.tag)&&n(s.ns)&&t(s,r)}}(s,l),s):bi()}(t,e,a,s,l)}function xt(t,e){var n,r,o,s,l;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(a(t))for(s=Object.keys(t),n=new Array(s.length),r=0,o=s.length;r<o;r++)l=s[r],n[r]=e(t[l],l,r);return i(n)&&(n._isVList=!0),n}function wt(t,e,n,i){var r=this.$scopedSlots[t];return r?(n=n||{},i&&(n=m(m({},i),n)),r(n)||e):this.$slots[t]||e}function Ct(t){return j(this.$options,"filters",t)||Pn}function kt(t,e,n){var i=Rn.keyCodes[e]||n;return Array.isArray(i)?-1===i.indexOf(t):i!==t}function Tt(t,e,n,i,r){if(n&&a(n)){var o;Array.isArray(n)&&(n=y(n));for(var s in n)!function(a){if("class"===a||"style"===a||Dn(a))o=t;else{var s=t.attrs&&t.attrs.type;o=i||Rn.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}a in o||(o[a]=n[a],r&&((t.on||(t.on={}))["update:"+a]=function(t){n[a]=t}))}(s)}return t}function St(t,e){var n=this._staticTrees[t];return n&&!e?Array.isArray(n)?W(n):H(n):(At(n=this._staticTrees[t]=this.$options.staticRenderFns[t].call(this._renderProxy),"__static__"+t,!1),n)}function Dt(t,e,n){return At(t,"__once__"+e+(n?"_"+n:""),!0),t}function At(t,e,n){if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]&&"string"!=typeof t[i]&&Et(t[i],e+"_"+i,n);else Et(t,e,n)}function Et(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Mt(t,e){if(e&&s(e)){var n=t.on=t.on?m({},t.on):{};for(var i in e){var r=n[i],o=e[i];n[i]=r?[].concat(o,r):o}}return t}function Ot(t){var e=t.options;if(t.super){var n=Ot(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.extendOptions,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=$t(n[o],i[o],r[o]));return e}(t);i&&m(t.extendOptions,i),(e=t.options=L(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function $t(t,e,n){if(Array.isArray(t)){var i=[];n=Array.isArray(n)?n:[n],e=Array.isArray(e)?e:[e];for(var r=0;r<t.length;r++)(e.indexOf(t[r])>=0||n.indexOf(t[r])<0)&&i.push(t[r]);return i}return t}function It(t){this._init(t)}function Ft(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=t.name||n.options.name,a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=L(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)dt(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)ft(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,Ln.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=m({},a.options),r[i]=a,a}}function Pt(t){return t&&(t.Ctor.options.name||t.tag)}function Nt(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===Tn.call(n)&&t.test(e));var n}function Lt(t,e,n){for(var i in t){var r=t[i];if(r){var o=Pt(r.componentOptions);o&&!n(o)&&(r!==e&&jt(r),t[i]=null)}}}function jt(t){t&&t.componentInstance.$destroy()}function Rt(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode).data&&(e=Ut(r.data,e));for(;i(n=n.parent);)n.data&&(e=Ut(e,n.data));return function(t,e){return i(t)||i(e)?Bt(t,zt(e)):""}(e.staticClass,e.class)}function Ut(t,e){return{staticClass:Bt(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Bt(t,e){return t?e?t+" "+e:t:e||""}function zt(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=zt(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):a(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}function Ht(t){return or(t)?"svg":"math"===t?"math":void 0}function Wt(t){if("string"==typeof t){return document.querySelector(t)||document.createElement("div")}return t}function Vt(t,e){var n=t.data.ref;if(n){var i=t.context,r=t.componentInstance||t.elm,o=i.$refs;e?Array.isArray(o[n])?h(o[n],r):o[n]===r&&(o[n]=void 0):t.data.refInFor?Array.isArray(o[n])?o[n].indexOf(r)<0&&o[n].push(r):o[n]=[r]:o[n]=r}}function qt(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||lr(r)&&lr(o)}(t,e)||r(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function Yt(t,e,n){var r,o,a={};for(r=e;r<=n;++r)i(o=t[r].key)&&(a[o]=r);return a}function Xt(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,i,r,o=t===dr,a=e===dr,s=Gt(t.data.directives,t.context),l=Gt(e.data.directives,e.context),u=[],c=[];for(n in l)i=s[n],r=l[n],i?(r.oldValue=i.value,Zt(r,"update",e,t),r.def&&r.def.componentUpdated&&c.push(r)):(Zt(r,"bind",e,t),r.def&&r.def.inserted&&u.push(r));if(u.length){var d=function(){for(var n=0;n<u.length;n++)Zt(u[n],"inserted",e,t)};o?X(e.data.hook||(e.data.hook={}),"insert",d):d()}if(c.length&&X(e.data.hook||(e.data.hook={}),"postpatch",function(){for(var n=0;n<c.length;n++)Zt(c[n],"componentUpdated",e,t)}),!o)for(n in s)l[n]||Zt(s[n],"unbind",t,t,a)}(t,e)}function Gt(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++)(i=t[n]).modifiers||(i.modifiers=pr),r[Kt(i)]=i,i.def=j(e.$options,"directives",i.name);return r}function Kt(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Zt(t,e,n,i,r){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,i,r)}catch(i){T(i,n.context,"directive "+t.name+" "+e+" hook")}}function Qt(t,e){var r=e.componentOptions;if(!(i(r)&&!1===r.Ctor.options.inheritAttrs||n(t.data.attrs)&&n(e.data.attrs))){var o,a,s=e.elm,l=t.data.attrs||{},u=e.data.attrs||{};for(o in i(u.__ob__)&&(u=e.data.attrs=m({},u)),u)a=u[o],l[o]!==a&&Jt(s,o,a);for(o in Yn&&u.value!==l.value&&Jt(s,"value",u.value),l)n(u[o])&&(tr(o)?s.removeAttributeNS(Ji,er(o)):Zi(o)||s.removeAttribute(o))}}function Jt(t,e,n){Qi(e)?nr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Zi(e)?t.setAttribute(e,nr(n)||"false"===n?"false":"true"):tr(e)?nr(n)?t.removeAttributeNS(Ji,er(e)):t.setAttributeNS(Ji,e,n):nr(n)?t.removeAttribute(e):t.setAttribute(e,n)}function te(t,e){var r=e.elm,o=e.data,a=t.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=Rt(e),l=r._transitionClasses;i(l)&&(s=Bt(s,zt(l))),s!==r._prevClass&&(r.setAttribute("class",s),r._prevClass=s)}}function ee(t){function e(){(a||(a=[])).push(t.slice(p,r).trim()),p=r+1}var n,i,r,o,a,s=!1,l=!1,u=!1,c=!1,d=0,h=0,f=0,p=0;for(r=0;r<t.length;r++)if(i=n,n=t.charCodeAt(r),s)39===n&&92!==i&&(s=!1);else if(l)34===n&&92!==i&&(l=!1);else if(u)96===n&&92!==i&&(u=!1);else if(c)47===n&&92!==i&&(c=!1);else if(124!==n||124===t.charCodeAt(r+1)||124===t.charCodeAt(r-1)||d||h||f){switch(n){case 34:l=!0;break;case 39:s=!0;break;case 96:u=!0;break;case 40:f++;break;case 41:f--;break;case 91:h++;break;case 93:h--;break;case 123:d++;break;case 125:d--}if(47===n){for(var g=r-1,v=void 0;g>=0&&" "===(v=t.charAt(g));g--);v&&yr.test(v)||(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(),a)for(r=0;r<a.length;r++)o=ne(o,a[r]);return o}function ne(t,e){var n=e.indexOf("(");return n<0?'_f("'+e+'")('+t+")":'_f("'+e.slice(0,n)+'")('+t+","+e.slice(n+1)}function ie(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,n){(t.props||(t.props=[])).push({name:e,value:n})}function ae(t,e,n){(t.attrs||(t.attrs=[])).push({name:e,value:n})}function se(t,e,n,i,r,o){(t.directives||(t.directives=[])).push({name:e,rawName:n,value:i,arg:r,modifiers:o})}function le(t,e,n,i,r,o){var a;i&&i.capture&&(delete i.capture,e="!"+e),i&&i.once&&(delete i.once,e="~"+e),i&&i.passive&&(delete i.passive,e="&"+e),i&&i.native?(delete i.native,a=t.nativeEvents||(t.nativeEvents={})):a=t.events||(t.events={});var s={value:n,modifiers:i},l=a[e];Array.isArray(l)?r?l.unshift(s):l.push(s):a[e]=l?r?[s,l]:[l,s]:s}function ue(t,e,n){var i=ce(t,":"+e)||ce(t,"v-bind:"+e);if(null!=i)return ee(i);if(!1!==n){var r=ce(t,e);if(null!=r)return JSON.stringify(r)}}function ce(t,e){var n;if(null!=(n=t.attrsMap[e]))for(var i=t.attrsList,r=0,o=i.length;r<o;r++)if(i[r].name===e){i.splice(r,1);break}return n}function de(t,e,n){var i=n||{},r=i.number,o="$$v";i.trim&&(o="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(o="_n("+o+")");var a=he(e,o);t.model={value:"("+e+")",expression:'"'+e+'"',callback:"function ($$v) {"+a+"}"}}function he(t,e){var n=function(t){if(Ui=(Bi=t).length,Hi=Wi=Vi=0,t.indexOf("[")<0||t.lastIndexOf("]")<Ui-1)return{exp:t,idx:null};for(;!pe();)ge(zi=fe())?me(zi):91===zi&&ve(zi);return{exp:t.substring(0,Wi),idx:t.substring(Wi+1,Vi)}}(t);return null===n.idx?t+"="+e:"$set("+n.exp+", "+n.idx+", "+e+")"}function fe(){return Bi.charCodeAt(++Hi)}function pe(){return Hi>=Ui}function ge(t){return 34===t||39===t}function ve(t){var e=1;for(Wi=Hi;!pe();)if(ge(t=fe()))me(t);else if(91===t&&e++,93===t&&e--,0===e){Vi=Hi;break}}function me(t){for(var e=t;!pe()&&(t=fe())!==e;);}function ye(t,e,n,i,r){if(n){var o=e,a=qi;e=function(n){null!==(1===arguments.length?o(n):o.apply(null,arguments))&&be(t,e,i,a)}}qi.addEventListener(t,e,Jn?{capture:i,passive:r}:i)}function be(t,e,n,i){(i||qi).removeEventListener(t,e,n)}function _e(t,e){if(!n(t.data.on)||!n(e.data.on)){var r=e.data.on||{},o=t.data.on||{};qi=e.elm,function(t){var e;i(t[br])&&(t[e=qn?"change":"input"]=[].concat(t[br],t[e]||[]),delete t[br]),i(t[_r])&&(t[e=Zn?"click":"change"]=[].concat(t[_r],t[e]||[]),delete t[_r])}(r),Y(r,o,ye,be,e.context)}}function xe(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var r,o,a=e.elm,s=t.data.domProps||{},l=e.data.domProps||{};for(r in i(l.__ob__)&&(l=e.data.domProps=m({},l)),s)n(l[r])&&(a[r]="");for(r in l)if(o=l[r],"textContent"!==r&&"innerHTML"!==r||(e.children&&(e.children.length=0),o!==s[r]))if("value"===r){a._value=o;var u=n(o)?"":String(o);we(a,e,u)&&(a.value=u)}else a[r]=o}}function we(t,e,n){return!t.composing&&("option"===e.tag||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,n)||function(t,e){var n=t.value,r=t._vModifiers;return i(r)&&r.number?c(n)!==c(e):i(r)&&r.trim?n.trim()!==e.trim():n!==e}(t,n))}function Ce(t){var e=ke(t.style);return t.staticStyle?m(t.staticStyle,e):e}function ke(t){return Array.isArray(t)?y(t):"string"==typeof t?Cr(t):t}function Te(t,e){var r=e.data,o=t.data;if(!(n(r.staticStyle)&&n(r.style)&&n(o.staticStyle)&&n(o.style))){var a,s,l=e.elm,u=o.staticStyle,c=o.normalizedStyle||o.style||{},d=u||c,h=ke(e.data.style)||{};e.data.normalizedStyle=i(h.__ob__)?m({},h):h;var f=function(t,e){for(var n,i={},r=t;r.componentInstance;)(r=r.componentInstance._vnode).data&&(n=Ce(r.data))&&m(i,n);(n=Ce(t.data))&&m(i,n);for(var o=t;o=o.parent;)o.data&&(n=Ce(o.data))&&m(i,n);return i}(e);for(s in d)n(f[s])&&Sr(l,s,"");for(s in f)(a=f[s])!==d[s]&&Sr(l,s,null==a?"":a)}}function Se(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function De(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Ae(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&m(e,Mr(t.name||"v")),m(e,t),e}return"string"==typeof t?Mr(t):void 0}}function Ee(t){jr(function(){jr(t)})}function Me(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Se(t,e))}function Oe(t,e){t._transitionClasses&&h(t._transitionClasses,e),De(t,e)}function $e(t,e,n){var i=Ie(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===$r?Pr:Lr,l=0,u=function(){t.removeEventListener(s,c),n()},c=function(e){e.target===t&&++l>=a&&u()};setTimeout(function(){l<a&&u()},o+1),t.addEventListener(s,c)}function Ie(t,e){var n,i=window.getComputedStyle(t),r=i[Fr+"Delay"].split(", "),o=i[Fr+"Duration"].split(", "),a=Fe(r,o),s=i[Nr+"Delay"].split(", "),l=i[Nr+"Duration"].split(", "),u=Fe(s,l),c=0,d=0;return e===$r?a>0&&(n=$r,c=a,d=o.length):e===Ir?u>0&&(n=Ir,c=u,d=l.length):d=(n=(c=Math.max(a,u))>0?a>u?$r:Ir:null)?n===$r?o.length:l.length:0,{type:n,timeout:c,propCount:d,hasTransform:n===$r&&Rr.test(i[Fr+"Property"])}}function Fe(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return Pe(e)+Pe(t[n])}))}function Pe(t){return 1e3*Number(t.slice(0,-1))}function Ne(t,e){var r=t.elm;i(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var o=Ae(t.data.transition);if(!n(o)&&!i(r._enterCb)&&1===r.nodeType){for(var s=o.css,l=o.type,u=o.enterClass,d=o.enterToClass,h=o.enterActiveClass,f=o.appearClass,p=o.appearToClass,g=o.appearActiveClass,v=o.beforeEnter,m=o.enter,y=o.afterEnter,b=o.enterCancelled,_=o.beforeAppear,x=o.appear,C=o.afterAppear,k=o.appearCancelled,T=o.duration,S=xi,D=xi.$vnode;D&&D.parent;)S=(D=D.parent).context;var A=!S._isMounted||!t.isRootInsert;if(!A||x||""===x){var E=A&&f?f:u,M=A&&g?g:h,O=A&&p?p:d,$=A&&_||v,I=A&&"function"==typeof x?x:m,F=A&&C||y,P=A&&k||b,N=c(a(T)?T.enter:T),L=!1!==s&&!Yn,j=Re(I),R=r._enterCb=w(function(){L&&(Oe(r,O),Oe(r,M)),R.cancelled?(L&&Oe(r,E),P&&P(r)):F&&F(r),r._enterCb=null});t.data.show||X(t.data.hook||(t.data.hook={}),"insert",function(){var e=r.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),I&&I(r,R)}),$&&$(r),
+L&&(Me(r,E),Me(r,M),Ee(function(){Me(r,O),Oe(r,E),R.cancelled||j||(je(N)?setTimeout(R,N):$e(r,l,R))})),t.data.show&&(e&&e(),I&&I(r,R)),L||j||R()}}}function Le(t,e){function r(){k.cancelled||(t.data.show||((o.parentNode._pending||(o.parentNode._pending={}))[t.key]=t),p&&p(o),_&&(Me(o,d),Me(o,f),Ee(function(){Me(o,h),Oe(o,d),k.cancelled||x||(je(C)?setTimeout(k,C):$e(o,u,k))})),g&&g(o,k),_||x||k())}var o=t.elm;i(o._enterCb)&&(o._enterCb.cancelled=!0,o._enterCb());var s=Ae(t.data.transition);if(n(s))return e();if(!i(o._leaveCb)&&1===o.nodeType){var l=s.css,u=s.type,d=s.leaveClass,h=s.leaveToClass,f=s.leaveActiveClass,p=s.beforeLeave,g=s.leave,v=s.afterLeave,m=s.leaveCancelled,y=s.delayLeave,b=s.duration,_=!1!==l&&!Yn,x=Re(g),C=c(a(b)?b.leave:b),k=o._leaveCb=w(function(){o.parentNode&&o.parentNode._pending&&(o.parentNode._pending[t.key]=null),_&&(Oe(o,h),Oe(o,f)),k.cancelled?(_&&Oe(o,d),m&&m(o)):(e(),v&&v(o)),o._leaveCb=null});y?y(r):r()}}function je(t){return"number"==typeof t&&!isNaN(t)}function Re(t){if(n(t))return!1;var e=t.fns;return i(e)?Re(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Ue(t,e){!0!==e.data.show&&Ne(e)}function Be(t,e,n){ze(t,e,n),(qn||Xn)&&setTimeout(function(){ze(t,e,n)},0)}function ze(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=t.options.length;s<l;s++)if(a=t.options[s],r)o=x(i,We(a))>-1,a.selected!==o&&(a.selected=o);else if(_(We(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function He(t,e){return e.every(function(e){return!_(e,t)})}function We(t){return"_value"in t?t._value:t.value}function Ve(t){t.target.composing=!0}function qe(t){t.target.composing&&(t.target.composing=!1,Ye(t.target,"input"))}function Ye(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Xe(t){return!t.componentInstance||t.data&&t.data.transition?t:Xe(t.componentInstance._vnode)}function Ge(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ge(tt(e.children)):t}function Ke(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var o in r)e[Mn(o)]=r[o];return e}function Ze(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Qe(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Je(t){t.data.newPos=t.elm.getBoundingClientRect()}function tn(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+r+"px)",o.transitionDuration="0s"}}function en(t,e){var n=e?Jr(e):Zr;if(n.test(t)){for(var i,r,o=[],a=n.lastIndex=0;i=n.exec(t);){(r=i.index)>a&&o.push(JSON.stringify(t.slice(a,r)));var s=ee(i[1].trim());o.push("_s("+s+")"),a=r+i[0].length}return a<t.length&&o.push(JSON.stringify(t.slice(a))),o.join("+")}}function nn(t,e){var n=e?$o:Oo;return t.replace(n,function(t){return Mo[t]})}function rn(t,e){function n(t){t.pre&&(s=!1),Co(t.tag)&&(l=!1)}yo=e.warn||ie,Co=e.isPreTag||Fn,ko=e.mustUseProp||Fn,To=e.getTagNamespace||Fn,_o=re(e.modules,"transformNode"),xo=re(e.modules,"preTransformNode"),wo=re(e.modules,"postTransformNode"),bo=e.delimiters;var i,r,o=[],a=!1!==e.preserveWhitespace,s=!1,l=!1;return function(t,e){function n(e){c+=e,t=t.substring(e)}function i(t,n,i){var r,s;if(null==n&&(n=c),null==i&&(i=c),t&&(s=t.toLowerCase()),t)for(r=a.length-1;r>=0&&a[r].lowerCasedTag!==s;r--);else r=0;if(r>=0){for(var l=a.length-1;l>=r;l--)e.end&&e.end(a[l].tag,n,i);a.length=r,o=r&&a[r-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,i):"p"===s&&(e.start&&e.start(t,[],!1,n,i),e.end&&e.end(t,n,i))}for(var r,o,a=[],s=e.expectHTML,l=e.isUnaryTag||Fn,u=e.canBeLeftOpenTag||Fn,c=0;t;){if(r=t,o&&Ao(o)){var d=0,h=o.toLowerCase(),f=Eo[h]||(Eo[h]=new RegExp("([\\s\\S]*?)(</"+h+"[^>]*>)","i")),p=t.replace(f,function(t,n,i){return d=i.length,Ao(h)||"noscript"===h||(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Fo(h,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""});c+=t.length-p.length,t=p,i(h,c-d,c)}else{var g=t.indexOf("<");if(0===g){if(go.test(t)){var v=t.indexOf("--\x3e");if(v>=0){e.shouldKeepComment&&e.comment(t.substring(4,v)),n(v+3);continue}}if(vo.test(t)){var m=t.indexOf("]>");if(m>=0){n(m+2);continue}}var y=t.match(po);if(y){n(y[0].length);continue}var b=t.match(fo);if(b){var _=c;n(b[0].length),i(b[1],_,c);continue}var x=function(){var e=t.match(co);if(e){var i,r,o={tagName:e[1],attrs:[],start:c};for(n(e[0].length);!(i=t.match(ho))&&(r=t.match(so));)n(r[0].length),o.attrs.push(r);if(i)return o.unarySlash=i[1],n(i[0].length),o.end=c,o}}();if(x){(function(t){var n=t.tagName,r=t.unarySlash;s&&("p"===o&&ro(n)&&i(o),u(n)&&o===n&&i(n));for(var c=l(n)||!!r,d=t.attrs.length,h=new Array(d),f=0;f<d;f++){var p=t.attrs[f];mo&&-1===p[0].indexOf('""')&&(""===p[3]&&delete p[3],""===p[4]&&delete p[4],""===p[5]&&delete p[5]);var g=p[3]||p[4]||p[5]||"";h[f]={name:p[1],value:nn(g,e.shouldDecodeNewlines)}}c||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:h}),o=n),e.start&&e.start(n,h,c,t.start,t.end)})(x),Fo(o,t)&&n(1);continue}}var w=void 0,C=void 0,k=void 0;if(g>=0){for(C=t.slice(g);!(fo.test(C)||co.test(C)||go.test(C)||vo.test(C)||(k=C.indexOf("<",1))<0);)g+=k,C=t.slice(g);w=t.substring(0,g),n(g)}g<0&&(w=t,t=""),e.chars&&w&&e.chars(w)}if(t===r){e.chars&&e.chars(t);break}}i()}(t,{warn:yo,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldKeepComment:e.comments,start:function(t,a,u){var c=r&&r.ns||To(t);qn&&"svg"===c&&(a=function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];Ho.test(i.name)||(i.name=i.name.replace(Wo,""),e.push(i))}return e}(a));var d,h={type:1,tag:t,attrsList:a,attrsMap:function(t){for(var e={},n=0,i=t.length;n<i;n++)e[t[n].name]=t[n].value;return e}(a),parent:r,children:[]};c&&(h.ns=c),"style"!==(d=h).tag&&("script"!==d.tag||d.attrsMap.type&&"text/javascript"!==d.attrsMap.type)||ni()||(h.forbidden=!0);for(var f=0;f<xo.length;f++)xo[f](h,e);if(s||(function(t){null!=ce(t,"v-pre")&&(t.pre=!0)}(h),h.pre&&(s=!0)),Co(h.tag)&&(l=!0),s)!function(t){var e=t.attrsList.length;if(e)for(var n=t.attrs=new Array(e),i=0;i<e;i++)n[i]={name:t.attrsList[i].name,value:JSON.stringify(t.attrsList[i].value)};else t.pre||(t.plain=!0)}(h);else{!function(t){var e;if(e=ce(t,"v-for")){var n=e.match(Lo);if(!n)return;t.for=n[2].trim();var i=n[1].trim(),r=i.match(jo);r?(t.alias=r[1].trim(),t.iterator1=r[2].trim(),r[3]&&(t.iterator2=r[3].trim())):t.alias=i}}(h),function(t){var e=ce(t,"v-if");if(e)t.if=e,on(t,{exp:e,block:t});else{null!=ce(t,"v-else")&&(t.else=!0);var n=ce(t,"v-else-if");n&&(t.elseif=n)}}(h),function(t){null!=ce(t,"v-once")&&(t.once=!0)}(h),function(t){var e=ue(t,"key");e&&(t.key=e)}(h),h.plain=!h.key&&!a.length,function(t){var e=ue(t,"ref");e&&(t.ref=e,t.refInFor=function(t){for(var e=t;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(h),function(t){if("slot"===t.tag)t.slotName=ue(t,"name");else{var e=ue(t,"slot");e&&(t.slotTarget='""'===e?'"default"':e,ae(t,"slot",e)),"template"===t.tag&&(t.slotScope=ce(t,"scope"))}}(h),function(t){var e;(e=ue(t,"is"))&&(t.component=e),null!=ce(t,"inline-template")&&(t.inlineTemplate=!0)}(h);for(var p=0;p<_o.length;p++)_o[p](h,e);!function(t){var e,n,i,r,o,a,s,l=t.attrsList;for(e=0,n=l.length;e<n;e++)if(i=r=l[e].name,o=l[e].value,No.test(i))if(t.hasBindings=!0,(a=an(i))&&(i=i.replace(Bo,"")),Uo.test(i))i=i.replace(Uo,""),o=ee(o),s=!1,a&&(a.prop&&(s=!0,"innerHtml"===(i=Mn(i))&&(i="innerHTML")),a.camel&&(i=Mn(i)),a.sync&&le(t,"update:"+Mn(i),he(o,"$event"))),s||!t.component&&ko(t.tag,t.attrsMap.type,i)?oe(t,i,o):ae(t,i,o);else if(Po.test(i))i=i.replace(Po,""),le(t,i,o,a,!1);else{var u=(i=i.replace(No,"")).match(Ro),c=u&&u[1];c&&(i=i.slice(0,-(c.length+1))),se(t,i,r,o,c,a)}else ae(t,i,JSON.stringify(o))}(h)}if(i?o.length||i.if&&(h.elseif||h.else)&&on(i,{exp:h.elseif,block:h}):i=h,r&&!h.forbidden)if(h.elseif||h.else)!function(t,e){var n=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(e.children);n&&n.if&&on(n,{exp:t.elseif,block:t})}(h,r);else if(h.slotScope){r.plain=!1;var g=h.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[g]=h}else r.children.push(h),h.parent=r;u?n(h):(r=h,o.push(h));for(var v=0;v<wo.length;v++)wo[v](h,e)},end:function(){var t=o[o.length-1],e=t.children[t.children.length-1];e&&3===e.type&&" "===e.text&&!l&&t.children.pop(),o.length-=1,r=o[o.length-1],n(t)},chars:function(t){if(r&&(!qn||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var e,n,i=r.children;(t=l||t.trim()?"script"===(e=r).tag||"style"===e.tag?t:zo(t):a&&i.length?" ":"")&&(!s&&" "!==t&&(n=en(t,bo))?i.push({type:2,expression:n,text:t}):" "===t&&i.length&&" "===i[i.length-1].text||i.push({type:3,text:t}))}},comment:function(t){r.children.push({type:3,text:t,isComment:!0})}}),i}function on(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function an(t){var e=t.match(Bo);if(e){var n={};return e.forEach(function(t){n[t.slice(1)]=!0}),n}}function sn(t,e){t&&(So=Vo(e.staticKeys||""),Do=e.isReservedTag||Fn,function t(e){if(e.static=function(t){return 2!==t.type&&(3===t.type||!(!t.pre&&(t.hasBindings||t.if||t.for||Sn(t.tag)||!Do(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(So))))}(e),1===e.type){if(!Do(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,i=e.children.length;n<i;n++){var r=e.children[n];t(r),r.static||(e.static=!1)}if(e.ifConditions)for(var o=1,a=e.ifConditions.length;o<a;o++){var s=e.ifConditions[o].block;t(s),s.static||(e.static=!1)}}}(t),function t(e,n){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=n),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var i=0,r=e.children.length;i<r;i++)t(e.children[i],n||!!e.for);if(e.ifConditions)for(var o=1,a=e.ifConditions.length;o<a;o++)t(e.ifConditions[o].block,n)}}(t,!1))}function ln(t,e,n){var i=e?"nativeOn:{":"on:{";for(var r in t)i+='"'+r+'":'+un(r,t[r])+",";return i.slice(0,-1)+"}"}function un(t,e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return un(t,e)}).join(",")+"]";var n=Yo.test(e.value),i=qo.test(e.value);if(e.modifiers){var r="",o="",a=[];for(var s in e.modifiers)Ko[s]?(o+=Ko[s],Xo[s]&&a.push(s)):a.push(s);return a.length&&(r+=function(t){return"if(!('button' in $event)&&"+t.map(cn).join("&&")+")return null;"}(a)),o&&(r+=o),"function($event){"+r+(n?e.value+"($event)":i?"("+e.value+")($event)":e.value)+"}"}return n||i?e.value:"function($event){"+e.value+"}"}function cn(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=Xo[t];return"_k($event.keyCode,"+JSON.stringify(t)+(n?","+JSON.stringify(n):"")+")"}function dn(t,e){var n=new Qo(e);return{render:"with(this){return "+(t?hn(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function hn(t,e){if(t.staticRoot&&!t.staticProcessed)return fn(t,e);if(t.once&&!t.onceProcessed)return pn(t,e);if(t.for&&!t.forProcessed)return function(t,e,n,i){var r=t.for,o=t.alias,a=t.iterator1?","+t.iterator1:"",s=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,"_l(("+r+"),function("+o+a+s+"){return "+hn(t,e)+"})"}(t,e);if(t.if&&!t.ifProcessed)return gn(t,e);if("template"!==t.tag||t.slotTarget){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',i=yn(t,e),r="_t("+n+(i?","+i:""),o=t.attrs&&"{"+t.attrs.map(function(t){return Mn(t.name)+":"+t.value}).join(",")+"}",a=t.attrsMap["v-bind"];return!o&&!a||i||(r+=",null"),o&&(r+=","+o),a&&(r+=(o?"":",null")+","+a),r+")"}(t,e);var n;if(t.component)n=function(t,e,n){var i=e.inlineTemplate?null:yn(e,n,!0);return"_c("+t+","+vn(e,n)+(i?","+i:"")+")"}(t.component,t,e);else{var i=t.plain?void 0:vn(t,e),r=t.inlineTemplate?null:yn(t,e,!0);n="_c('"+t.tag+"'"+(i?","+i:"")+(r?","+r:"")+")"}for(var o=0;o<e.transforms.length;o++)n=e.transforms[o](t,n);return n}return yn(t,e)||"void 0"}function fn(t,e){return t.staticProcessed=!0,e.staticRenderFns.push("with(this){return "+hn(t,e)+"}"),"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function pn(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return gn(t,e);if(t.staticInFor){for(var n="",i=t.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o("+hn(t,e)+","+e.onceId+++","+n+")":hn(t,e)}return fn(t,e)}function gn(t,e,n,i){return t.ifProcessed=!0,function t(e,n,i,r){function o(t){return i?i(t,n):t.once?pn(t,n):hn(t,n)}if(!e.length)return r||"_e()";var a=e.shift();return a.exp?"("+a.exp+")?"+o(a.block)+":"+t(e,n,i,r):""+o(a.block)}(t.ifConditions.slice(),e,n,i)}function vn(t,e){var n="{",i=function(t,e){var n=t.directives;if(n){var i,r,o,a,s="directives:[",l=!1;for(i=0,r=n.length;i<r;i++){o=n[i],a=!0;var u=e.directives[o.name];u&&(a=!!u(t,o,e.warn)),a&&(l=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?',arg:"'+o.arg+'"':"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}return l?s.slice(0,-1)+"]":void 0}}(t,e);i&&(n+=i+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var r=0;r<e.dataGenFns.length;r++)n+=e.dataGenFns[r](t);if(t.attrs&&(n+="attrs:{"+xn(t.attrs)+"},"),t.props&&(n+="domProps:{"+xn(t.props)+"},"),t.events&&(n+=ln(t.events,!1,e.warn)+","),t.nativeEvents&&(n+=ln(t.nativeEvents,!0,e.warn)+","),t.slotTarget&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e){return"scopedSlots:_u(["+Object.keys(t).map(function(n){return mn(n,t[n],e)}).join(",")+"])"}(t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var o=function(t,e){var n=t.children[0];if(1===n.type){var i=dn(n,e.options);return"inlineTemplate:{render:function(){"+i.render+"},staticRenderFns:["+i.staticRenderFns.map(function(t){return"function(){"+t+"}"}).join(",")+"]}"}}(t,e);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function mn(t,e,n){return e.for&&!e.forProcessed?function(t,e,n){var i=e.for,r=e.alias,o=e.iterator1?","+e.iterator1:"",a=e.iterator2?","+e.iterator2:"";return e.forProcessed=!0,"_l(("+i+"),function("+r+o+a+"){return "+mn(t,e,n)+"})"}(t,e,n):"{key:"+t+",fn:function("+String(e.attrsMap.scope)+"){return "+("template"===e.tag?yn(e,n)||"void 0":hn(e,n))+"}}"}function yn(t,e,n,i,r){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag)return(i||hn)(a,e);var s=n?function(t,e){for(var n=0,i=0;i<t.length;i++){var r=t[i];if(1===r.type){if(bn(r)||r.ifConditions&&r.ifConditions.some(function(t){return bn(t.block)})){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some(function(t){return e(t.block)}))&&(n=1)}}return n}(o,e.maybeComponent):0,l=r||_n;return"["+o.map(function(t){return l(t,e)}).join(",")+"]"+(s?","+s:"")}}function bn(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function _n(t,e){return 1===t.type?hn(t,e):3===t.type&&t.isComment?(i=t,"_e("+JSON.stringify(i.text)+")"):"_v("+(2===(n=t).type?n.expression:wn(JSON.stringify(n.text)))+")";var n,i}function xn(t){for(var e="",n=0;n<t.length;n++){var i=t[n];e+='"'+i.name+'":'+wn(i.value)+","}return e.slice(0,-1)}function wn(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function Cn(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),b}}var kn,Tn=Object.prototype.toString,Sn=d("slot,component",!0),Dn=d("key,ref,slot,is"),An=Object.prototype.hasOwnProperty,En=/-(\w)/g,Mn=p(function(t){return t.replace(En,function(t,e){return e?e.toUpperCase():""})}),On=p(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),$n=/\B([A-Z])/g,In=p(function(t){return t.replace($n,"-$1").toLowerCase()}),Fn=function(t,e,n){return!1},Pn=function(t){return t},Nn="data-server-rendered",Ln=["component","directive","filter"],jn=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],Rn={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Fn,isReservedAttr:Fn,isUnknownElement:Fn,getTagNamespace:b,parsePlatformTagName:Pn,mustUseProp:Fn,_lifecycleHooks:jn},Un=Object.freeze({}),Bn=/[^\w.$]/,zn=b,Hn="__proto__"in{},Wn="undefined"!=typeof window,Vn=Wn&&window.navigator.userAgent.toLowerCase(),qn=Vn&&/msie|trident/.test(Vn),Yn=Vn&&Vn.indexOf("msie 9.0")>0,Xn=Vn&&Vn.indexOf("edge/")>0,Gn=Vn&&Vn.indexOf("android")>0,Kn=Vn&&/iphone|ipad|ipod|ios/.test(Vn),Zn=Vn&&/chrome\/\d+/.test(Vn)&&!Xn,Qn={}.watch,Jn=!1;if(Wn)try{var ti={};Object.defineProperty(ti,"passive",{get:function(){Jn=!0}}),window.addEventListener("test-passive",null,ti)}catch(t){}var ei,ni=function(){return void 0===kn&&(kn=!Wn&&void 0!==e&&"server"===e.process.env.VUE_ENV),kn},ii=Wn&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,ri="undefined"!=typeof Symbol&&S(Symbol)&&"undefined"!=typeof Reflect&&S(Reflect.ownKeys),oi=function(){function t(){i=!1;var t=n.slice(0);n.length=0;for(var e=0;e<t.length;e++)t[e]()}var e,n=[],i=!1;if("undefined"!=typeof Promise&&S(Promise)){var r=Promise.resolve(),o=function(t){console.error(t)};e=function(){r.then(t).catch(o),Kn&&setTimeout(b)}}else if(qn||"undefined"==typeof MutationObserver||!S(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())e=function(){setTimeout(t,0)};else{var a=1,s=new MutationObserver(t),l=document.createTextNode(String(a));s.observe(l,{characterData:!0}),e=function(){a=(a+1)%2,l.data=String(a)}}return function(t,r){var o;if(n.push(function(){if(t)try{t.call(r)}catch(t){T(t,r,"nextTick")}else o&&o(r)}),i||(i=!0,e()),!t&&"undefined"!=typeof Promise)return new Promise(function(t,e){o=t})}}();ei="undefined"!=typeof Set&&S(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ai=0,si=function(){this.id=ai++,this.subs=[]};si.prototype.addSub=function(t){this.subs.push(t)},si.prototype.removeSub=function(t){h(this.subs,t)},si.prototype.depend=function(){si.target&&si.target.addDep(this)},si.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},si.target=null;var li=[],ui=Array.prototype,ci=Object.create(ui);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=ui[t];k(ci,t,function(){for(var n=[],i=arguments.length;i--;)n[i]=arguments[i];var r,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o})});var di=Object.getOwnPropertyNames(ci),hi={shouldConvert:!0},fi=function(t){this.value=t,this.dep=new si,this.vmCount=0,k(t,"__ob__",this),Array.isArray(t)?((Hn?D:A)(t,ci,di),this.observeArray(t)):this.walk(t)};fi.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)M(t,e[n],t[e[n]])},fi.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)E(t[e])};var pi=Rn.optionMergeStrategies;pi.data=function(t,e,n){return n?F(t,e,n):e&&"function"!=typeof e?t:F.call(this,t,e)},jn.forEach(function(t){pi[t]=P}),Ln.forEach(function(t){pi[t+"s"]=N}),pi.watch=function(t,e){if(t===Qn&&(t=void 0),e===Qn&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var n={};for(var i in m(n,t),e){var r=n[i],o=e[i];r&&!Array.isArray(r)&&(r=[r]),n[i]=r?r.concat(o):Array.isArray(o)?o:[o]}return n},pi.props=pi.methods=pi.inject=pi.computed=function(t,e){if(!t)return e;var n=Object.create(null);return m(n,t),e&&m(n,e),n},pi.provide=F;var gi=function(t,e){return void 0===e?t:e},vi=function(t,e,n,i,r,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.functionalContext=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},mi={child:{}};mi.child.get=function(){return this.componentInstance},Object.defineProperties(vi.prototype,mi);var yi,bi=function(t){void 0===t&&(t="");var e=new vi;return e.text=t,e.isComment=!0,e},_i=p(function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),i="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=i?t.slice(1):t,plain:!(e||n||i),once:n,capture:i,passive:e}}),xi=null,wi=[],Ci=[],ki={},Ti=!1,Si=!1,Di=0,Ai=0,Ei=function(t,e,n,i){this.vm=t,t._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Ai,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ei,this.newDepIds=new ei,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!Bn.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Ei.prototype.get=function(){var t,e;t=this,si.target&&li.push(si.target),si.target=t;var n,i=this.vm;try{e=this.getter.call(i,i)}catch(t){if(!this.user)throw t;T(t,i,'getter for watcher "'+this.expression+'"')}finally{this.deep&&(n=e,Mi.clear(),function t(e,n){var i,r,o=Array.isArray(e);if((o||a(e))&&Object.isExtensible(e)){if(e.__ob__){var s=e.__ob__.dep.id;if(n.has(s))return;n.add(s)}if(o)for(i=e.length;i--;)t(e[i],n);else for(r=Object.keys(e),i=r.length;i--;)t(e[r[i]],n)}}(n,Mi)),si.target=li.pop(),this.cleanupDeps()}return e},Ei.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Ei.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Ei.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==ki[e]){if(ki[e]=!0,Si){for(var n=wi.length-1;n>Di&&wi[n].id>t.id;)n--;wi.splice(n+1,0,t)}else wi.push(t);Ti||(Ti=!0,oi(ct))}}(this)},Ei.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||a(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){T(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Ei.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ei.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Ei.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||h(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var Mi=new ei,Oi={enumerable:!0,configurable:!0,get:b,set:b},$i={lazy:!0},Ii={init:function(t,e,n,r){if(!t.componentInstance||t.componentInstance._isDestroyed)(t.componentInstance=function(t,e,n,r){var o=t.componentOptions,a={_isComponent:!0,parent:e,propsData:o.propsData,_componentTag:o.tag,_parentVnode:t,_parentListeners:o.listeners,_renderChildren:o.children,_parentElm:n||null,_refElm:r||null},s=t.data.inlineTemplate;return i(s)&&(a.render=s.render,a.staticRenderFns=s.staticRenderFns),new o.Ctor(a)}(t,xi,n,r)).$mount(e?t.elm:void 0,e);else if(t.data.keepAlive){var o=t;Ii.prepatch(o,o)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,i,r){var o=!!(r||t.$options._renderChildren||i.data.scopedSlots||t.$scopedSlots!==Un);if(t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=r,t.$attrs=i.data&&i.data.attrs||Un,t.$listeners=n||Un,e&&t.$options.props){hi.shouldConvert=!1;for(var a=t._props,s=t.$options._propKeys||[],l=0;l<s.length;l++){var u=s[l];a[u]=R(u,t.$options.props,e,t)}hi.shouldConvert=!0,t.$options.propsData=e}if(n){var c=t.$options._parentListeners;t.$options._parentListeners=n,it(t,n,c)}o&&(t.$slots=rt(r,i.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,i=t.componentInstance;i._isMounted||(i._isMounted=!0,ut(i,"mounted")),t.data.keepAlive&&(n._isMounted?((e=i)._inactive=!1,Ci.push(e)):lt(i,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(!(n&&(e._directInactive=!0,st(e))||e._inactive)){e._inactive=!0;for(var i=0;i<e.$children.length;i++)t(e.$children[i]);ut(e,"deactivated")}}(e,!0):e.$destroy())}},Fi=Object.keys(Ii),Pi=1,Ni=2,Li=0;It.prototype._init=function(t){var e=this;e._uid=Li++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options);n.parent=e.parent,n.propsData=e.propsData,n._parentVnode=e._parentVnode,n._parentListeners=e._parentListeners,n._renderChildren=e._renderChildren,n._componentTag=e._componentTag,n._parentElm=e._parentElm,n._refElm=e._refElm,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=L(Ot(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$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&&it(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$vnode=t.$options._parentVnode,n=e&&e.context;t.$slots=rt(t.$options._renderChildren,n),t.$scopedSlots=Un,t._c=function(e,n,i,r){return _t(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return _t(t,e,n,i,r,!0)};var i=e&&e.data;M(t,"$attrs",i&&i.attrs||Un,0,!0),M(t,"$listeners",t.$options._parentListeners||Un,0,!0)}(e),ut(e,"beforeCreate"),function(t){var e=vt(t.$options.inject,t);e&&(hi.shouldConvert=!1,Object.keys(e).forEach(function(n){M(t,n,e[n])}),hi.shouldConvert=!0)}(e),ht(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}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=O,t.prototype.$delete=$,t.prototype.$watch=function(t,e,n){if(s(e))return gt(this,t,e,n);(n=n||{}).user=!0;var i=new Ei(this,t,e,n);return n.immediate&&e.call(this,i.value),function(){i.teardown()}}}(It),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){if(Array.isArray(t))for(var i=0,r=t.length;i<r;i++)this.$on(t[i],n);else(this._events[t]||(this._events[t]=[])).push(n),e.test(t)&&(this._hasHookEvent=!0);return this},t.prototype.$once=function(t,e){function n(){i.$off(t,n),e.apply(i,arguments)}var i=this;return n.fn=e,i.$on(t,n),i},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var i=0,r=t.length;i<r;i++)this.$off(t[i],e);return n}var o=n._events[t];if(!o)return n;if(1===arguments.length)return n._events[t]=null,n;if(e)for(var a,s=o.length;s--;)if((a=o[s])===e||a.fn===e){o.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?v(n):n;for(var i=v(arguments,1),r=0,o=n.length;r<o;r++)try{n[r].apply(e,i)}catch(n){T(n,e,'event handler for "'+t+'"')}}return e}}(It),function(t){t.prototype._update=function(t,e){var n=this;n._isMounted&&ut(n,"beforeUpdate");var i=n.$el,r=n._vnode,o=xi;xi=n,n._vnode=t,r?n.$el=n.__patch__(r,t):(n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),xi=o,i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){ut(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||h(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),ut(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null)}}}(It),function(t){t.prototype.$nextTick=function(t){return oi(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,i=n.render,r=n.staticRenderFns,o=n._parentVnode;if(e._isMounted)for(var a in e.$slots){var s=e.$slots[a];s._rendered&&(e.$slots[a]=W(s,!0))}e.$scopedSlots=o&&o.data.scopedSlots||Un,r&&!e._staticTrees&&(e._staticTrees=[]),e.$vnode=o;try{t=i.call(e._renderProxy,e.$createElement)}catch(n){T(n,e,"render function"),t=e._vnode}return t instanceof vi||(t=bi()),t.parent=o,t},t.prototype._o=Dt,t.prototype._n=c,t.prototype._s=u,t.prototype._l=xt,t.prototype._t=wt,t.prototype._q=_,t.prototype._i=x,t.prototype._m=St,t.prototype._f=Ct,t.prototype._k=kt,t.prototype._b=Tt,t.prototype._v=z,t.prototype._e=bi,t.prototype._u=at,t.prototype._g=Mt}(It);var ji=[String,RegExp,Array],Ri={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:ji,exclude:ji},created:function(){this.cache=Object.create(null)},destroyed:function(){for(var t in this.cache)jt(this.cache[t])},watch:{include:function(t){Lt(this.cache,this._vnode,function(e){return Nt(t,e)})},exclude:function(t){Lt(this.cache,this._vnode,function(e){return!Nt(t,e)})}},render:function(){var t=tt(this.$slots.default),e=t&&t.componentOptions;if(e){var n=Pt(e);if(n&&(this.include&&!Nt(this.include,n)||this.exclude&&Nt(this.exclude,n)))return t;var i=null==t.key?e.Ctor.cid+(e.tag?"::"+e.tag:""):t.key;this.cache[i]?t.componentInstance=this.cache[i].componentInstance:this.cache[i]=t,t.data.keepAlive=!0}return t}}};!function(t){var e={get:function(){return Rn}};Object.defineProperty(t,"config",e),t.util={warn:zn,extend:m,mergeOptions:L,defineReactive:M},t.set=O,t.delete=$,t.nextTick=oi,t.options=Object.create(null),Ln.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,m(t.options.components,Ri),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=v(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=L(this.options,t),this}}(t),Ft(t),function(t){Ln.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&s(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(It),Object.defineProperty(It.prototype,"$isServer",{get:ni}),Object.defineProperty(It.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),It.version="2.4.4";var Ui,Bi,zi,Hi,Wi,Vi,qi,Yi,Xi=d("style,class"),Gi=d("input,textarea,option,select,progress"),Ki=function(t,e,n){return"value"===n&&Gi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t
+},Zi=d("contenteditable,draggable,spellcheck"),Qi=d("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Ji="http://www.w3.org/1999/xlink",tr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},er=function(t){return tr(t)?t.slice(6,t.length):""},nr=function(t){return null==t||!1===t},ir={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},rr=d("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),or=d("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),ar=function(t){return rr(t)||or(t)},sr=Object.create(null),lr=d("text,number,password,search,email,tel,url"),ur=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(ir[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setAttribute:function(t,e,n){t.setAttribute(e,n)}}),cr={create:function(t,e){Vt(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Vt(t,!0),Vt(e))},destroy:function(t){Vt(t,!0)}},dr=new vi("",{},[]),hr=["create","activate","update","remove","destroy"],fr={create:Xt,update:Xt,destroy:function(t){Xt(t,dr)}},pr=Object.create(null),gr=[cr,fr],vr={create:Qt,update:Qt},mr={create:te,update:te},yr=/[\w).+\-_$\]]/,br="__r",_r="__c",xr={create:_e,update:_e},wr={create:xe,update:xe},Cr=p(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}),kr=/^--/,Tr=/\s*!important$/,Sr=function(t,e,n){if(kr.test(e))t.style.setProperty(e,n);else if(Tr.test(n))t.style.setProperty(e,n.replace(Tr,""),"important");else{var i=Ar(e);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)t.style[i]=n[r];else t.style[i]=n}},Dr=["Webkit","Moz","ms"],Ar=p(function(t){if(Yi=Yi||document.createElement("div").style,"filter"!==(t=Mn(t))&&t in Yi)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Dr.length;n++){var i=Dr[n]+e;if(i in Yi)return i}}),Er={create:Te,update:Te},Mr=p(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Or=Wn&&!Yn,$r="transition",Ir="animation",Fr="transition",Pr="transitionend",Nr="animation",Lr="animationend";Or&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Fr="WebkitTransition",Pr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Nr="WebkitAnimation",Lr="webkitAnimationEnd"));var jr=Wn&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout,Rr=/\b(transform|all)(,|$)/,Ur=function(t){function e(t){var e=S.parentNode(t);i(e)&&S.removeChild(e,t)}function a(t,e,n,o,a){if(t.isRootInsert=!a,!function(t,e,n,o){var a=t.data;if(i(a)){var u=i(t.componentInstance)&&a.keepAlive;if(i(a=a.hook)&&i(a=a.init)&&a(t,!1,n,o),i(t.componentInstance))return s(t,e),r(u)&&function(t,e,n,r){for(var o,a=t;a.componentInstance;)if(a=a.componentInstance._vnode,i(o=a.data)&&i(o=o.transition)){for(o=0;o<k.activate.length;++o)k.activate[o](dr,a);e.push(a);break}l(n,t.elm,r)}(t,e,n,o),!0}}(t,e,n,o)){var c=t.data,d=t.children,p=t.tag;i(p)?(t.elm=t.ns?S.createElementNS(t.ns,p):S.createElement(p,t),f(t),u(t,d,e),i(c)&&h(t,e),l(n,t.elm,o)):r(t.isComment)?(t.elm=S.createComment(t.text),l(n,t.elm,o)):(t.elm=S.createTextNode(t.text),l(n,t.elm,o))}}function s(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,c(t)?(h(t,e),f(t)):(Vt(t),e.push(t))}function l(t,e,n){i(t)&&(i(n)?n.parentNode===t&&S.insertBefore(t,e,n):S.appendChild(t,e))}function u(t,e,n){if(Array.isArray(e))for(var i=0;i<e.length;++i)a(e[i],n,t.elm,null,!0);else o(t.text)&&S.appendChild(t.elm,S.createTextNode(t.text))}function c(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return i(t.tag)}function h(t,e){for(var n=0;n<k.create.length;++n)k.create[n](dr,t);i(w=t.data.hook)&&(i(w.create)&&w.create(dr,t),i(w.insert)&&e.push(t))}function f(t){for(var e,n=t;n;)i(e=n.context)&&i(e=e.$options._scopeId)&&S.setAttribute(t.elm,e,""),n=n.parent;i(e=xi)&&e!==t.context&&i(e=e.$options._scopeId)&&S.setAttribute(t.elm,e,"")}function p(t,e,n,i,r,o){for(;i<=r;++i)a(n[i],o,t,e)}function g(t){var e,n,r=t.data;if(i(r))for(i(e=r.hook)&&i(e=e.destroy)&&e(t),e=0;e<k.destroy.length;++e)k.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)g(t.children[n])}function v(t,n,r,o){for(;r<=o;++r){var a=n[r];i(a)&&(i(a.tag)?(m(a),g(a)):e(a.elm))}}function m(t,n){if(i(n)||i(t.data)){var r,o=k.remove.length+1;for(i(n)?n.listeners+=o:n=function(t,n){function i(){0==--i.listeners&&e(t)}return i.listeners=n,i}(t.elm,o),i(r=t.componentInstance)&&i(r=r._vnode)&&i(r.data)&&m(r,n),r=0;r<k.remove.length;++r)k.remove[r](t,n);i(r=t.data.hook)&&i(r=r.remove)?r(t,n):n()}else e(t.elm)}function y(t,e,n,r){for(var o=n;o<r;o++){var a=e[o];if(i(a)&&qt(t,a))return o}}function b(t,e,o,s){if(t!==e){var l=e.elm=t.elm;if(r(t.isAsyncPlaceholder))i(e.asyncFactory.resolved)?x(t.elm,e,o):e.isAsyncPlaceholder=!0;else if(r(e.isStatic)&&r(t.isStatic)&&e.key===t.key&&(r(e.isCloned)||r(e.isOnce)))e.componentInstance=t.componentInstance;else{var u,d=e.data;i(d)&&i(u=d.hook)&&i(u=u.prepatch)&&u(t,e);var h=t.children,f=e.children;if(i(d)&&c(e)){for(u=0;u<k.update.length;++u)k.update[u](t,e);i(u=d.hook)&&i(u=u.update)&&u(t,e)}n(e.text)?i(h)&&i(f)?h!==f&&function(t,e,r,o,s){for(var l,u,c,d=0,h=0,f=e.length-1,g=e[0],m=e[f],_=r.length-1,x=r[0],w=r[_],C=!s;d<=f&&h<=_;)n(g)?g=e[++d]:n(m)?m=e[--f]:qt(g,x)?(b(g,x,o),g=e[++d],x=r[++h]):qt(m,w)?(b(m,w,o),m=e[--f],w=r[--_]):qt(g,w)?(b(g,w,o),C&&S.insertBefore(t,g.elm,S.nextSibling(m.elm)),g=e[++d],w=r[--_]):qt(m,x)?(b(m,x,o),C&&S.insertBefore(t,m.elm,g.elm),m=e[--f],x=r[++h]):(n(l)&&(l=Yt(e,d,f)),n(u=i(x.key)?l[x.key]:y(x,e,d,f))?a(x,o,t,g.elm):qt(c=e[u],x)?(b(c,x,o),e[u]=void 0,C&&S.insertBefore(t,c.elm,g.elm)):a(x,o,t,g.elm),x=r[++h]);d>f?p(t,n(r[_+1])?null:r[_+1].elm,r,h,_,o):h>_&&v(0,e,d,f)}(l,h,f,o,s):i(f)?(i(t.text)&&S.setTextContent(l,""),p(l,null,f,0,f.length-1,o)):i(h)?v(0,h,0,h.length-1):i(t.text)&&S.setTextContent(l,""):t.text!==e.text&&S.setTextContent(l,e.text),i(d)&&i(u=d.hook)&&i(u=u.postpatch)&&u(t,e)}}}function _(t,e,n){if(r(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var o=0;o<e.length;++o)e[o].data.hook.insert(e[o])}function x(t,e,n){if(r(e.isComment)&&i(e.asyncFactory))return e.elm=t,e.isAsyncPlaceholder=!0,!0;e.elm=t;var o=e.tag,a=e.data,l=e.children;if(i(a)&&(i(w=a.hook)&&i(w=w.init)&&w(e,!0),i(w=e.componentInstance)))return s(e,n),!0;if(i(o)){if(i(l))if(t.hasChildNodes())if(i(w=a)&&i(w=w.domProps)&&i(w=w.innerHTML)){if(w!==t.innerHTML)return!1}else{for(var c=!0,d=t.firstChild,f=0;f<l.length;f++){if(!d||!x(d,l[f],n)){c=!1;break}d=d.nextSibling}if(!c||d)return!1}else u(e,l,n);if(i(a))for(var p in a)if(!D(p)){h(e,n);break}}else t.data!==e.text&&(t.data=e.text);return!0}var w,C,k={},T=t.modules,S=t.nodeOps;for(w=0;w<hr.length;++w)for(k[hr[w]]=[],C=0;C<T.length;++C)i(T[C][hr[w]])&&k[hr[w]].push(T[C][hr[w]]);var D=d("attrs,style,class,staticClass,staticStyle,key");return function(t,e,o,s,l,u){if(!n(e)){var d,h=!1,f=[];if(n(t))h=!0,a(e,f,l,u);else{var p=i(t.nodeType);if(!p&&qt(t,e))b(t,e,f,s);else{if(p){if(1===t.nodeType&&t.hasAttribute(Nn)&&(t.removeAttribute(Nn),o=!0),r(o)&&x(t,e,f))return _(e,f,!0),t;d=t,t=new vi(S.tagName(d).toLowerCase(),{},[],void 0,d)}var m=t.elm,y=S.parentNode(m);if(a(e,f,m._leaveCb?null:y,S.nextSibling(m)),i(e.parent))for(var w=e.parent,C=c(e);w;){for(var T=0;T<k.destroy.length;++T)k.destroy[T](w);if(w.elm=e.elm,C){for(var D=0;D<k.create.length;++D)k.create[D](dr,w);var A=w.data.hook.insert;if(A.merged)for(var E=1;E<A.fns.length;E++)A.fns[E]()}w=w.parent}i(y)?v(0,[t],0,0):i(t.tag)&&g(t)}}return _(e,f,h),e.elm}i(t)&&g(t)}}({nodeOps:ur,modules:[vr,mr,xr,wr,Er,Wn?{create:Ue,activate:Ue,remove:function(t,e){!0!==t.data.show?Le(t,e):e()}}:{}].concat(gr)});Yn&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Ye(t,"input")});var Br={model:{inserted:function(t,e,n){"select"===n.tag?(Be(t,e,n.context),t._vOptions=[].map.call(t.options,We)):("textarea"===n.tag||lr(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("change",qe),Gn||(t.addEventListener("compositionstart",Ve),t.addEventListener("compositionend",qe)),Yn&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Be(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,We);r.some(function(t,e){return!_(t,i[e])})&&(t.multiple?e.value.some(function(t){return He(t,r)}):e.value!==e.oldValue&&He(e.value,r))&&Ye(t,"change")}}},show:{bind:function(t,e,n){var i=e.value,r=(n=Xe(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,Ne(n,function(){t.style.display=o})):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;i!==e.oldValue&&((n=Xe(n)).data&&n.data.transition?(n.data.show=!0,i?Ne(n,function(){t.style.display=t.__vOriginalDisplay}):Le(n,function(){t.style.display="none"})):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}}},zr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]},Hr={name:"transition",props:zr,abstract:!0,render:function(t){var e=this,n=this.$options._renderChildren;if(n&&(n=n.filter(function(t){return t.tag||J(t)})).length){var i=this.mode,r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var a=Ge(r);if(!a)return r;if(this._leaving)return Ze(t,r);var s="__transition-"+this._uid+"-";a.key=null==a.key?a.isComment?s+"comment":s+a.tag:o(a.key)?0===String(a.key).indexOf(s)?a.key:s+a.key:a.key;var l=(a.data||(a.data={})).transition=Ke(this),u=this._vnode,c=Ge(u);if(a.data.directives&&a.data.directives.some(function(t){return"show"===t.name})&&(a.data.show=!0),c&&c.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(a,c)&&!J(c)){var d=c&&(c.data.transition=m({},l));if("out-in"===i)return this._leaving=!0,X(d,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Ze(t,r);if("in-out"===i){if(J(a))return u;var h,f=function(){h()};X(l,"afterEnter",f),X(l,"enterCancelled",f),X(d,"delayLeave",function(t){h=t})}}return r}}},Wr=m({tag:String,moveClass:String},zr);delete Wr.mode;var Vr={Transition:Hr,TransitionGroup:{props:Wr,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=Ke(this),s=0;s<r.length;s++){var l=r[s];l.tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(o.push(l),n[l.key]=l,(l.data||(l.data={})).transition=a)}if(i){for(var u=[],c=[],d=0;d<i.length;d++){var h=i[d];h.data.transition=a,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?u.push(h):c.push(h)}this.kept=t(e,null,u),this.removed=c}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Qe),t.forEach(Je),t.forEach(tn),document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,i=n.style;Me(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(Pr,n._moveCb=function t(i){i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(Pr,t),n._moveCb=null,Oe(n,e))})}}))},methods:{hasMove:function(t,e){if(!Or)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){De(n,t)}),Se(n,e),n.style.display="none",this.$el.appendChild(n);var i=Ie(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}}};It.config.mustUseProp=Ki,It.config.isReservedTag=ar,It.config.isReservedAttr=Xi,It.config.getTagNamespace=Ht,It.config.isUnknownElement=function(t){if(!Wn)return!0;if(ar(t))return!1;if(t=t.toLowerCase(),null!=sr[t])return sr[t];var e=document.createElement(t);return t.indexOf("-")>-1?sr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:sr[t]=/HTMLUnknownElement/.test(e.toString())},m(It.options.directives,Br),m(It.options.components,Vr),It.prototype.__patch__=Wn?Ur:b,It.prototype.$mount=function(t,e){return function(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=bi),ut(t,"beforeMount"),i=function(){t._update(t._render(),n)},t._watcher=new Ei(t,i,b),n=!1,null==t.$vnode&&(t._isMounted=!0,ut(t,"mounted")),t}(this,t=t&&Wn?Wt(t):void 0,e)},setTimeout(function(){Rn.devtools&&ii&&ii.emit("init",It)},0);var qr,Yr,Xr,Gr,Kr=!!Wn&&(qr="\n",Yr="&#10;",(Xr=document.createElement("div")).innerHTML='<div a="'+qr+'"/>',Xr.innerHTML.indexOf(Yr)>0),Zr=/\{\{((?:.|\n)+?)\}\}/g,Qr=/[-.*+?^${}()|[\]\/\\]/g,Jr=p(function(t){var e=t[0].replace(Qr,"\\$&"),n=t[1].replace(Qr,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}),to=[{staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=ce(t,"class");n&&(t.staticClass=JSON.stringify(n));var i=ue(t,"class",!1);i&&(t.classBinding=i)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}},{staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=ce(t,"style");n&&(t.staticStyle=JSON.stringify(Cr(n)));var i=ue(t,"style",!1);i&&(t.styleBinding=i)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}}],eo={model:function(t,e,n){var i=e.value,r=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return de(t,i,r),!1;if("select"===o)!function(t,e,n){var i='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";i=i+" "+he(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),le(t,"change",i,null,!0)}(t,i,r);else if("input"===o&&"checkbox"===a)!function(t,e,n){var i=n&&n.number,r=ue(t,"value")||"null",o=ue(t,"true-value")||"true",a=ue(t,"false-value")||"false";oe(t,"checked","Array.isArray("+e+")?_i("+e+","+r+")>-1"+("true"===o?":("+e+")":":_q("+e+","+o+")")),le(t,_r,"var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(i?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+e+"=$$a.concat([$$v]))}else{$$i>-1&&("+e+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+he(e,"$$c")+"}",null,!0)}(t,i,r);else if("input"===o&&"radio"===a)!function(t,e,n){var i=n&&n.number,r=ue(t,"value")||"null";oe(t,"checked","_q("+e+","+(r=i?"_n("+r+")":r)+")"),le(t,_r,he(e,r),null,!0)}(t,i,r);else if("input"===o||"textarea"===o)!function(t,e,n){var i=t.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,l=!o&&"range"!==i,u=o?"change":"range"===i?br:"input",c="$event.target.value";s&&(c="$event.target.value.trim()"),a&&(c="_n("+c+")");var d=he(e,c);l&&(d="if($event.target.composing)return;"+d),oe(t,"value","("+e+")"),le(t,u,d,null,!0),(s||a)&&le(t,"blur","$forceUpdate()")}(t,i,r);else if(!Rn.isReservedTag(o))return de(t,i,r),!1;return!0},text:function(t,e){e.value&&oe(t,"textContent","_s("+e.value+")")},html:function(t,e){e.value&&oe(t,"innerHTML","_s("+e.value+")")}},no=d("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),io=d("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ro=d("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),oo={expectHTML:!0,modules:to,directives:eo,isPreTag:function(t){return"pre"===t},isUnaryTag:no,mustUseProp:Ki,canBeLeftOpenTag:io,isReservedTag:ar,getTagNamespace:Ht,staticKeys:function(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}(to)},ao=function(t){return(Gr=Gr||document.createElement("div")).innerHTML=t,Gr.textContent},so=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,lo="[a-zA-Z_][\\w\\-\\.]*",uo="((?:"+lo+"\\:)?"+lo+")",co=new RegExp("^<"+uo),ho=/^\s*(\/?)>/,fo=new RegExp("^<\\/"+uo+"[^>]*>"),po=/^<!DOCTYPE [^>]+>/i,go=/^<!--/,vo=/^<!\[/,mo=!1;"x".replace(/x(.)?/g,function(t,e){mo=""===e});var yo,bo,_o,xo,wo,Co,ko,To,So,Do,Ao=d("script,style,textarea",!0),Eo={},Mo={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n"},Oo=/&(?:lt|gt|quot|amp);/g,$o=/&(?:lt|gt|quot|amp|#10);/g,Io=d("pre,textarea",!0),Fo=function(t,e){return t&&Io(t)&&"\n"===e[0]},Po=/^@|^v-on:/,No=/^v-|^@|^:/,Lo=/(.*?)\s+(?:in|of)\s+(.*)/,jo=/\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/,Ro=/:(.*)$/,Uo=/^:|^v-bind:/,Bo=/\.[^.]+/g,zo=p(ao),Ho=/^xmlns:NS\d+/,Wo=/^NS\d+:/,Vo=p(function(t){return d("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(t?","+t:""))}),qo=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Yo=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,Xo={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Go=function(t){return"if("+t+")return null;"},Ko={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Go("$event.target !== $event.currentTarget"),ctrl:Go("!$event.ctrlKey"),shift:Go("!$event.shiftKey"),alt:Go("!$event.altKey"),meta:Go("!$event.metaKey"),left:Go("'button' in $event && $event.button !== 0"),middle:Go("'button' in $event && $event.button !== 1"),right:Go("'button' in $event && $event.button !== 2")},Zo={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:b},Qo=function(t){this.options=t,this.warn=t.warn||ie,this.transforms=re(t.modules,"transformCode"),this.dataGenFns=re(t.modules,"genData"),this.directives=m(m({},Zo),t.directives);var e=t.isReservedTag||Fn;this.maybeComponent=function(t){return!e(t.tag)},this.onceId=0,this.staticRenderFns=[]};new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");var Jo,ta=(Jo=function(t,e){var n=rn(t.trim(),e);sn(n,e);var i=dn(n,e);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(t){function e(e,n){var i=Object.create(t),r=[],o=[];if(i.warn=function(t,e){(e?o:r).push(t)},n)for(var a in n.modules&&(i.modules=(t.modules||[]).concat(n.modules)),n.directives&&(i.directives=m(Object.create(t.directives),n.directives)),n)"modules"!==a&&"directives"!==a&&(i[a]=n[a]);var s=Jo(e,i);return s.errors=r,s.tips=o,s}return{compile:e,compileToFunctions:function(t){var e=Object.create(null);return function(n,i,r){var o=(i=i||{}).delimiters?String(i.delimiters)+n:n;if(e[o])return e[o];var a=t(n,i),s={},l=[];return s.render=Cn(a.render,l),s.staticRenderFns=a.staticRenderFns.map(function(t){return Cn(t,l)}),e[o]=s}}(e)}})(oo).compileToFunctions,ea=p(function(t){var e=Wt(t);return e&&e.innerHTML}),na=It.prototype.$mount;It.prototype.$mount=function(t,e){if((t=t&&Wt(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=ea(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(i){var r=ta(i,{shouldDecodeNewlines:Kr,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return na.call(this,t,e)},It.compile=ta,t.exports=It}).call(e,n("DuR2"))},JHru:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["alertType","title"],computed:{alertClassName:function(){return"alert-"+this.alertType}},methods:{hideEvent:function(){this.$emit("hide")}}}},JfWP:function(t,e){},Lypw:function(t,e,n){var i=n("VU/8")(n("lAxH"),n("mttk"),!1,function(t){n("DimI")},"data-v-538f99aa",null);t.exports=i.exports},M4fF:function(t,e,n){(function(t,i){var r;(function(){function o(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function a(t,e,n,i){for(var r=-1,o=null==t?0:t.length;++r<o;){var a=t[r];e(i,a,n(a),t)}return i}function s(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function l(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function u(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(!e(t[n],n,t))return!1;return!0}function c(t,e){for(var n=-1,i=null==t?0:t.length,r=0,o=[];++n<i;){var a=t[n];e(a,n,t)&&(o[r++]=a)}return o}function d(t,e){return!!(null==t?0:t.length)&&_(t,e,0)>-1}function h(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1}function f(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}function p(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}function g(t,e,n,i){var r=-1,o=null==t?0:t.length;for(i&&o&&(n=t[++r]);++r<o;)n=e(n,t[r],r,t);return n}function v(t,e,n,i){var r=null==t?0:t.length;for(i&&r&&(n=t[--r]);r--;)n=e(n,t[r],r,t);return n}function m(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1}function y(t,e,n){var i;return n(t,function(t,n,r){if(e(t,n,r))return i=n,!1}),i}function b(t,e,n,i){for(var r=t.length,o=n+(i?1:-1);i?o--:++o<r;)if(e(t[o],o,t))return o;return-1}function _(t,e,n){return e==e?function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):b(t,w,n)}function x(t,e,n,i){for(var r=n-1,o=t.length;++r<o;)if(i(t[r],e))return r;return-1}function w(t){return t!=t}function C(t,e){var n=null==t?0:t.length;return n?D(t,e)/n:pt}function k(t){return function(e){return null==e?H:e[t]}}function T(t){return function(e){return null==t?H:t[e]}}function S(t,e,n,i,r){return r(t,function(t,r,o){n=i?(i=!1,t):e(n,t,r,o)}),n}function D(t,e){for(var n,i=-1,r=t.length;++i<r;){var o=e(t[i]);o!==H&&(n=n===H?o:n+o)}return n}function A(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function E(t){return function(e){return t(e)}}function M(t,e){return f(e,function(e){return t[e]})}function O(t,e){return t.has(e)}function $(t,e){for(var n=-1,i=t.length;++n<i&&_(e,t[n],0)>-1;);return n}function I(t,e){for(var n=t.length;n--&&_(e,t[n],0)>-1;);return n}function F(t){return"\\"+en[t]}function P(t){return Ge.test(t)}function N(t){var e=-1,n=Array(t.size);return t.forEach(function(t,i){n[++e]=[i,t]}),n}function L(t,e){return function(n){return t(e(n))}}function j(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n];a!==e&&a!==Y||(t[n]=Y,o[r++]=n)}return o}function R(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function U(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function B(t){return P(t)?function(t){for(var e=Ye.lastIndex=0;Ye.test(t);)++e;return e}(t):bn(t)}function z(t){return P(t)?function(t){return t.match(Ye)||[]}(t):function(t){return t.split("")}(t)}var H,W=200,V="Expected a function",q="__lodash_hash_undefined__",Y="__lodash_placeholder__",X=1,G=2,K=4,Z=1,Q=2,J=1,tt=2,et=4,nt=8,it=16,rt=32,ot=64,at=128,st=256,lt=512,ut=800,ct=16,dt=1/0,ht=9007199254740991,ft=1.7976931348623157e308,pt=NaN,gt=4294967295,vt=gt-1,mt=gt>>>1,yt=[["ary",at],["bind",J],["bindKey",tt],["curry",nt],["curryRight",it],["flip",lt],["partial",rt],["partialRight",ot],["rearg",st]],bt="[object Arguments]",_t="[object Array]",xt="[object AsyncFunction]",wt="[object Boolean]",Ct="[object Date]",kt="[object DOMException]",Tt="[object Error]",St="[object Function]",Dt="[object GeneratorFunction]",At="[object Map]",Et="[object Number]",Mt="[object Null]",Ot="[object Object]",$t="[object Proxy]",It="[object RegExp]",Ft="[object Set]",Pt="[object String]",Nt="[object Symbol]",Lt="[object Undefined]",jt="[object WeakMap]",Rt="[object ArrayBuffer]",Ut="[object DataView]",Bt="[object Float32Array]",zt="[object Float64Array]",Ht="[object Int8Array]",Wt="[object Int16Array]",Vt="[object Int32Array]",qt="[object Uint8Array]",Yt="[object Uint8ClampedArray]",Xt="[object Uint16Array]",Gt="[object Uint32Array]",Kt=/\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),ne=RegExp(te.source),ie=/<%-([\s\S]+?)%>/g,re=/<%([\s\S]+?)%>/g,oe=/<%=([\s\S]+?)%>/g,ae=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,se=/^\w*$/,le=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ue=/[\\^$.*+?()[\]{}|]/g,ce=RegExp(ue.source),de=/^\s+|\s+$/g,he=/^\s+/,fe=/\s+$/,pe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ge=/\{\n\/\* \[wrapped with (.+)\] \*/,ve=/,? & /,me=/[^\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,Te=/^(?:0|[1-9]\d*)$/,Se=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,De=/($^)/,Ae=/['\n\r\u2028\u2029\\]/g,Ee="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Me="\\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",Oe="["+Me+"]",$e="["+Ee+"]",Ie="[a-z\\xdf-\\xf6\\xf8-\\xff]",Fe="[^\\ud800-\\udfff"+Me+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Pe="\\ud83c[\\udffb-\\udfff]",Ne="[^\\ud800-\\udfff]",Le="(?:\\ud83c[\\udde6-\\uddff]){2}",je="[\\ud800-\\udbff][\\udc00-\\udfff]",Re="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Ue="(?:"+Ie+"|"+Fe+")",Be="(?:"+$e+"|"+Pe+")?",ze="[\\ufe0e\\ufe0f]?"+Be+"(?:\\u200d(?:"+[Ne,Le,je].join("|")+")[\\ufe0e\\ufe0f]?"+Be+")*",He="(?:"+["[\\u2700-\\u27bf]",Le,je].join("|")+")"+ze,We="(?:"+[Ne+$e+"?",$e,Le,je,"[\\ud800-\\udfff]"].join("|")+")",Ve=RegExp("['’]","g"),qe=RegExp($e,"g"),Ye=RegExp(Pe+"(?="+Pe+")|"+We+ze,"g"),Xe=RegExp([Re+"?"+Ie+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Oe,Re,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\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\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Oe,Re+Ue,"$"].join("|")+")",Re+"?"+Ue+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Re+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",He].join("|"),"g"),Ge=RegExp("[\\u200d\\ud800-\\udfff"+Ee+"\\ufe0e\\ufe0f]"),Ke=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ze=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Qe=-1,Je={};Je[Bt]=Je[zt]=Je[Ht]=Je[Wt]=Je[Vt]=Je[qt]=Je[Yt]=Je[Xt]=Je[Gt]=!0,Je[bt]=Je[_t]=Je[Rt]=Je[wt]=Je[Ut]=Je[Ct]=Je[Tt]=Je[St]=Je[At]=Je[Et]=Je[Ot]=Je[It]=Je[Ft]=Je[Pt]=Je[jt]=!1;var tn={};tn[bt]=tn[_t]=tn[Rt]=tn[Ut]=tn[wt]=tn[Ct]=tn[Bt]=tn[zt]=tn[Ht]=tn[Wt]=tn[Vt]=tn[At]=tn[Et]=tn[Ot]=tn[It]=tn[Ft]=tn[Pt]=tn[Nt]=tn[qt]=tn[Yt]=tn[Xt]=tn[Gt]=!0,tn[Tt]=tn[St]=tn[jt]=!1;var en={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nn=parseFloat,rn=parseInt,on="object"==typeof t&&t&&t.Object===Object&&t,an="object"==typeof self&&self&&self.Object===Object&&self,sn=on||an||Function("return this")(),ln="object"==typeof e&&e&&!e.nodeType&&e,un=ln&&"object"==typeof i&&i&&!i.nodeType&&i,cn=un&&un.exports===ln,dn=cn&&on.process,hn=function(){try{return un&&un.require&&un.require("util").types||dn&&dn.binding&&dn.binding("util")}catch(t){}}(),fn=hn&&hn.isArrayBuffer,pn=hn&&hn.isDate,gn=hn&&hn.isMap,vn=hn&&hn.isRegExp,mn=hn&&hn.isSet,yn=hn&&hn.isTypedArray,bn=k("length"),_n=T({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y",
+"ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),xn=T({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"}),wn=T({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),Cn=function t(e){function n(t){if(eo(t)&&!Ys(t)&&!(t instanceof T)){if(t instanceof r)return t;if(qo.call(t,"__wrapped__"))return Dr(t)}return new r(t)}function i(){}function r(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=H}function T(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=gt,this.__views__=[]}function Ee(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Me(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function Oe(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}function $e(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Oe;++e<n;)this.add(t[e])}function Ie(t){var e=this.__data__=new Me(t);this.size=e.size}function Fe(t,e){var n=Ys(t),i=!n&&qs(t),r=!n&&!i&&Gs(t),o=!n&&!i&&!r&&tl(t),a=n||i||r||o,s=a?A(t.length,Ro):[],l=s.length;for(var u in t)!e&&!qo.call(t,u)||a&&("length"==u||r&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||hr(u,l))||s.push(u);return s}function Pe(t){var e=t.length;return e?t[Zn(0,e-1)]:H}function Ne(t,e){return kr(Ai(t),Ye(e,0,t.length))}function Le(t){return kr(Ai(t))}function je(t,e,n){(n===H||Yr(t[e],n))&&(n!==H||e in t)||He(t,e,n)}function Re(t,e,n){var i=t[e];qo.call(t,e)&&Yr(i,n)&&(n!==H||e in t)||He(t,e,n)}function Ue(t,e){for(var n=t.length;n--;)if(Yr(t[n][0],e))return n;return-1}function Be(t,e,n,i){return Wa(t,function(t,r,o){e(i,t,n(t),o)}),i}function ze(t,e){return t&&Ei(e,vo(e),t)}function He(t,e,n){"__proto__"==e&&ca?ca(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function We(t,e){for(var n=-1,i=e.length,r=$o(i),o=null==t;++n<i;)r[n]=o?H:po(t,e[n]);return r}function Ye(t,e,n){return t==t&&(n!==H&&(t=t<=n?t:n),e!==H&&(t=t>=e?t:e)),t}function Ge(t,e,n,i,r,o){var a,l=e&X,u=e&G,c=e&K;if(n&&(a=r?n(t,i,r,o):n(t)),a!==H)return a;if(!to(t))return t;var d=Ys(t);if(d){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&qo.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return Ai(t,a)}else{var h=ns(t),f=h==St||h==Dt;if(Gs(t))return wi(t,l);if(h==Ot||h==bt||f&&!r){if(a=u||f?{}:cr(t),!l)return u?function(t,e){return Ei(t,es(t),e)}(t,function(t,e){return t&&Ei(e,mo(e),t)}(a,t)):function(t,e){return Ei(t,ts(t),e)}(t,ze(a,t))}else{if(!tn[h])return r?t:{};a=function(t,e,n){var i,r,o,a=t.constructor;switch(e){case Rt:return Ci(t);case wt:case Ct:return new a(+t);case Ut:return function(t,e){var n=e?Ci(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case Bt:case zt:case Ht:case Wt:case Vt:case qt:case Yt:case Xt:case Gt:return ki(t,n);case At:return new a;case Et:case Pt:return new a(t);case It:return(o=new(r=t).constructor(r.source,_e.exec(r))).lastIndex=r.lastIndex,o;case Ft:return new a;case Nt:return i=t,Ba?Lo(Ba.call(i)):{}}}(t,h,l)}}o||(o=new Ie);var p=o.get(t);if(p)return p;o.set(t,a),Js(t)?t.forEach(function(i){a.add(Ge(i,e,n,i,t,o))}):Zs(t)&&t.forEach(function(i,r){a.set(r,Ge(i,e,n,r,t,o))});var g=d?H:(c?u?nr:er:u?mo:vo)(t);return s(g||t,function(i,r){g&&(i=t[r=i]),Re(a,r,Ge(i,e,n,r,t,o))}),a}function en(t,e,n){var i=n.length;if(null==t)return!i;for(t=Lo(t);i--;){var r=n[i],o=e[r],a=t[r];if(a===H&&!(r in t)||!o(a))return!1}return!0}function on(t,e,n){if("function"!=typeof t)throw new Uo(V);return os(function(){t.apply(H,n)},e)}function an(t,e,n,i){var r=-1,o=d,a=!0,s=t.length,l=[],u=e.length;if(!s)return l;n&&(e=f(e,E(n))),i?(o=h,a=!1):e.length>=W&&(o=O,a=!1,e=new $e(e));t:for(;++r<s;){var c=t[r],p=null==n?c:n(c);if(c=i||0!==c?c:0,a&&p==p){for(var g=u;g--;)if(e[g]===p)continue t;l.push(c)}else o(e,p,i)||l.push(c)}return l}function ln(t,e){var n=!0;return Wa(t,function(t,i,r){return n=!!e(t,i,r)}),n}function un(t,e,n){for(var i=-1,r=t.length;++i<r;){var o=t[i],a=e(o);if(null!=a&&(s===H?a==a&&!oo(a):n(a,s)))var s=a,l=o}return l}function dn(t,e){var n=[];return Wa(t,function(t,i,r){e(t,i,r)&&n.push(t)}),n}function hn(t,e,n,i,r){var o=-1,a=t.length;for(n||(n=dr),r||(r=[]);++o<a;){var s=t[o];e>0&&n(s)?e>1?hn(s,e-1,n,i,r):p(r,s):i||(r[r.length]=s)}return r}function bn(t,e){return t&&qa(t,e,vo)}function kn(t,e){return t&&Ya(t,e,vo)}function Tn(t,e){return c(e,function(e){return Zr(t[e])})}function Sn(t,e){for(var n=0,i=(e=_i(e,t)).length;null!=t&&n<i;)t=t[Tr(e[n++])];return n&&n==i?t:H}function Dn(t,e,n){var i=e(t);return Ys(t)?i:p(i,n(t))}function An(t){return null==t?t===H?Lt:Mt:ua&&ua in Lo(t)?function(t){var e=qo.call(t,ua),n=t[ua];try{t[ua]=H;var i=!0}catch(t){}var r=Go.call(t);return i&&(e?t[ua]=n:delete t[ua]),r}(t):function(t){return Go.call(t)}(t)}function En(t,e){return t>e}function Mn(t,e){return null!=t&&qo.call(t,e)}function On(t,e){return null!=t&&e in Lo(t)}function $n(t,e,n){for(var i=n?h:d,r=t[0].length,o=t.length,a=o,s=$o(o),l=1/0,u=[];a--;){var c=t[a];a&&e&&(c=f(c,E(e))),l=wa(c.length,l),s[a]=!n&&(e||r>=120&&c.length>=120)?new $e(a&&c):H}c=t[0];var p=-1,g=s[0];t:for(;++p<r&&u.length<l;){var v=c[p],m=e?e(v):v;if(v=n||0!==v?v:0,!(g?O(g,m):i(u,m,n))){for(a=o;--a;){var y=s[a];if(!(y?O(y,m):i(t[a],m,n)))continue t}g&&g.push(m),u.push(v)}}return u}function In(t,e,n){var i=null==(t=_r(t,e=_i(e,t)))?t:t[Tr($r(e))];return null==i?H:o(i,t,n)}function Fn(t){return eo(t)&&An(t)==bt}function Pn(t,e,n,i,r){return t===e||(null==t||null==e||!eo(t)&&!eo(e)?t!=t&&e!=e:function(t,e,n,i,r,o){var a=Ys(t),s=Ys(e),l=a?_t:ns(t),u=s?_t:ns(e),c=(l=l==bt?Ot:l)==Ot,d=(u=u==bt?Ot:u)==Ot,h=l==u;if(h&&Gs(t)){if(!Gs(e))return!1;a=!0,c=!1}if(h&&!c)return o||(o=new Ie),a||tl(t)?Ji(t,e,n,i,r,o):function(t,e,n,i,r,o,a){switch(n){case Ut:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Rt:return!(t.byteLength!=e.byteLength||!o(new ea(t),new ea(e)));case wt:case Ct:case Et:return Yr(+t,+e);case Tt:return t.name==e.name&&t.message==e.message;case It:case Pt:return t==e+"";case At:var s=N;case Ft:var l=i&Z;if(s||(s=R),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;i|=Q,a.set(t,e);var c=Ji(s(t),s(e),i,r,o,a);return a.delete(t),c;case Nt:if(Ba)return Ba.call(t)==Ba.call(e)}return!1}(t,e,l,n,i,r,o);if(!(n&Z)){var f=c&&qo.call(t,"__wrapped__"),p=d&&qo.call(e,"__wrapped__");if(f||p){var g=f?t.value():t,v=p?e.value():e;return o||(o=new Ie),r(g,v,n,i,o)}}return!!h&&(o||(o=new Ie),function(t,e,n,i,r,o){var a=n&Z,s=er(t),l=s.length;if(l!=er(e).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in e:qo.call(e,c)))return!1}var d=o.get(t);if(d&&o.get(e))return d==e;var h=!0;o.set(t,e),o.set(e,t);for(var f=a;++u<l;){c=s[u];var p=t[c],g=e[c];if(i)var v=a?i(g,p,c,e,t,o):i(p,g,c,t,e,o);if(!(v===H?p===g||r(p,g,n,i,o):v)){h=!1;break}f||(f="constructor"==c)}if(h&&!f){var m=t.constructor,y=e.constructor;m!=y&&"constructor"in t&&"constructor"in e&&!("function"==typeof m&&m instanceof m&&"function"==typeof y&&y instanceof y)&&(h=!1)}return o.delete(t),o.delete(e),h}(t,e,n,i,r,o))}(t,e,n,i,Pn,r))}function Nn(t,e,n,i){var r=n.length,o=r,a=!i;if(null==t)return!o;for(t=Lo(t);r--;){var s=n[r];if(a&&s[2]?s[1]!==t[s[0]]:!(s[0]in t))return!1}for(;++r<o;){var l=(s=n[r])[0],u=t[l],c=s[1];if(a&&s[2]){if(u===H&&!(l in t))return!1}else{var d=new Ie;if(i)var h=i(u,c,l,t,e,d);if(!(h===H?Pn(c,u,Z|Q,i,d):h))return!1}}return!0}function Ln(t){return!(!to(t)||Xo&&Xo in t)&&(Zr(t)?Qo:Ce).test(Sr(t))}function jn(t){return"function"==typeof t?t:null==t?ko:"object"==typeof t?Ys(t)?Wn(t[0],t[1]):Hn(t):Ao(t)}function Rn(t){if(!vr(t))return _a(t);var e=[];for(var n in Lo(t))qo.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Un(t){if(!to(t))return function(t){var e=[];if(null!=t)for(var n in Lo(t))e.push(n);return e}(t);var e=vr(t),n=[];for(var i in t)("constructor"!=i||!e&&qo.call(t,i))&&n.push(i);return n}function Bn(t,e){return t<e}function zn(t,e){var n=-1,i=Xr(t)?$o(t.length):[];return Wa(t,function(t,r,o){i[++n]=e(t,r,o)}),i}function Hn(t){var e=sr(t);return 1==e.length&&e[0][2]?yr(e[0][0],e[0][1]):function(n){return n===t||Nn(n,t,e)}}function Wn(t,e){return pr(t)&&mr(e)?yr(Tr(t),e):function(n){var i=po(n,t);return i===H&&i===e?go(n,t):Pn(e,i,Z|Q)}}function Vn(t,e,n,i,r){t!==e&&qa(e,function(o,a){if(r||(r=new Ie),to(o))!function(t,e,n,i,r,o,a){var s=xr(t,n),l=xr(e,n),u=a.get(l);if(u)je(t,n,u);else{var c=o?o(s,l,n+"",t,e,a):H,d=c===H;if(d){var h=Ys(l),f=!h&&Gs(l),p=!h&&!f&&tl(l);c=l,h||f||p?Ys(s)?c=s:Gr(s)?c=Ai(s):f?(d=!1,c=wi(l,!0)):p?(d=!1,c=ki(l,!0)):c=[]:io(l)||qs(l)?(c=s,qs(s)?c=ho(s):to(s)&&!Zr(s)||(c=cr(l))):d=!1}d&&(a.set(l,c),r(c,l,i,o,a),a.delete(l)),je(t,n,c)}}(t,e,a,n,Vn,i,r);else{var s=i?i(xr(t,a),o,a+"",t,e,r):H;s===H&&(s=o),je(t,a,s)}},mo)}function qn(t,e){var n=t.length;if(n)return hr(e+=e<0?n:0,n)?t[e]:H}function Yn(t,e,n){var i=-1;return e=f(e.length?e:[ko],E(or())),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(zn(t,function(t,n,r){return{criteria:f(e,function(e){return e(t)}),index:++i,value:t}}),function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,o=e.criteria,a=r.length,s=n.length;++i<a;){var l=Ti(r[i],o[i]);if(l){if(i>=s)return l;return l*("desc"==n[i]?-1:1)}}return t.index-e.index}(t,e,n)})}function Xn(t,e,n){for(var i=-1,r=e.length,o={};++i<r;){var a=e[i],s=Sn(t,a);n(s,a)&&ni(o,_i(a,t),s)}return o}function Gn(t,e,n,i){var r=i?x:_,o=-1,a=e.length,s=t;for(t===e&&(e=Ai(e)),n&&(s=f(t,E(n)));++o<a;)for(var l=0,u=e[o],c=n?n(u):u;(l=r(s,c,l,i))>-1;)s!==t&&aa.call(s,l,1),aa.call(t,l,1);return t}function Kn(t,e){for(var n=t?e.length:0,i=n-1;n--;){var r=e[n];if(n==i||r!==o){var o=r;hr(r)?aa.call(t,r,1):hi(t,r)}}return t}function Zn(t,e){return t+ga(Ta()*(e-t+1))}function Qn(t,e){var n="";if(!t||e<1||e>ht)return n;do{e%2&&(n+=t),(e=ga(e/2))&&(t+=t)}while(e);return n}function Jn(t,e){return as(br(t,e,ko),t+"")}function ti(t){return Pe(bo(t))}function ei(t,e){var n=bo(t);return kr(n,Ye(e,0,n.length))}function ni(t,e,n,i){if(!to(t))return t;for(var r=-1,o=(e=_i(e,t)).length,a=o-1,s=t;null!=s&&++r<o;){var l=Tr(e[r]),u=n;if(r!=a){var c=s[l];(u=i?i(c,l,s):H)===H&&(u=to(c)?c:hr(e[r+1])?[]:{})}Re(s,l,u),s=s[l]}return t}function ii(t){return kr(bo(t))}function ri(t,e,n){var i=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(n=n>r?r:n)<0&&(n+=r),r=e>n?0:n-e>>>0,e>>>=0;for(var o=$o(r);++i<r;)o[i]=t[i+e];return o}function oi(t,e){var n;return Wa(t,function(t,i,r){return!(n=e(t,i,r))}),!!n}function ai(t,e,n){var i=0,r=null==t?i:t.length;if("number"==typeof e&&e==e&&r<=mt){for(;i<r;){var o=i+r>>>1,a=t[o];null!==a&&!oo(a)&&(n?a<=e:a<e)?i=o+1:r=o}return r}return si(t,e,ko,n)}function si(t,e,n,i){e=n(e);for(var r=0,o=null==t?0:t.length,a=e!=e,s=null===e,l=oo(e),u=e===H;r<o;){var c=ga((r+o)/2),d=n(t[c]),h=d!==H,f=null===d,p=d==d,g=oo(d);if(a)var v=i||p;else v=u?p&&(i||h):s?p&&h&&(i||!f):l?p&&h&&!f&&(i||!g):!f&&!g&&(i?d<=e:d<e);v?r=c+1:o=c}return wa(o,vt)}function li(t,e){for(var n=-1,i=t.length,r=0,o=[];++n<i;){var a=t[n],s=e?e(a):a;if(!n||!Yr(s,l)){var l=s;o[r++]=0===a?0:a}}return o}function ui(t){return"number"==typeof t?t:oo(t)?pt:+t}function ci(t){if("string"==typeof t)return t;if(Ys(t))return f(t,ci)+"";if(oo(t))return za?za.call(t):"";var e=t+"";return"0"==e&&1/t==-dt?"-0":e}function di(t,e,n){var i=-1,r=d,o=t.length,a=!0,s=[],l=s;if(n)a=!1,r=h;else if(o>=W){var u=e?null:Qa(t);if(u)return R(u);a=!1,r=O,l=new $e}else l=e?[]:s;t:for(;++i<o;){var c=t[i],f=e?e(c):c;if(c=n||0!==c?c:0,a&&f==f){for(var p=l.length;p--;)if(l[p]===f)continue t;e&&l.push(f),s.push(c)}else r(l,f,n)||(l!==s&&l.push(f),s.push(c))}return s}function hi(t,e){return null==(t=_r(t,e=_i(e,t)))||delete t[Tr($r(e))]}function fi(t,e,n,i){return ni(t,e,n(Sn(t,e)),i)}function pi(t,e,n,i){for(var r=t.length,o=i?r:-1;(i?o--:++o<r)&&e(t[o],o,t););return n?ri(t,i?0:o,i?o+1:r):ri(t,i?o+1:0,i?r:o)}function gi(t,e){var n=t;return n instanceof T&&(n=n.value()),g(e,function(t,e){return e.func.apply(e.thisArg,p([t],e.args))},n)}function vi(t,e,n){var i=t.length;if(i<2)return i?di(t[0]):[];for(var r=-1,o=$o(i);++r<i;)for(var a=t[r],s=-1;++s<i;)s!=r&&(o[r]=an(o[r]||a,t[s],e,n));return di(hn(o,1),e,n)}function mi(t,e,n){for(var i=-1,r=t.length,o=e.length,a={};++i<r;){var s=i<o?e[i]:H;n(a,t[i],s)}return a}function yi(t){return Gr(t)?t:[]}function bi(t){return"function"==typeof t?t:ko}function _i(t,e){return Ys(t)?t:pr(t,e)?[t]:ss(fo(t))}function xi(t,e,n){var i=t.length;return n=n===H?i:n,!e&&n>=i?t:ri(t,e,n)}function wi(t,e){if(e)return t.slice();var n=t.length,i=na?na(n):new t.constructor(n);return t.copy(i),i}function Ci(t){var e=new t.constructor(t.byteLength);return new ea(e).set(new ea(t)),e}function ki(t,e){var n=e?Ci(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ti(t,e){if(t!==e){var n=t!==H,i=null===t,r=t==t,o=oo(t),a=e!==H,s=null===e,l=e==e,u=oo(e);if(!s&&!u&&!o&&t>e||o&&a&&l&&!s&&!u||i&&a&&l||!n&&l||!r)return 1;if(!i&&!o&&!u&&t<e||u&&n&&r&&!i&&!o||s&&n&&r||!a&&r||!l)return-1}return 0}function Si(t,e,n,i){for(var r=-1,o=t.length,a=n.length,s=-1,l=e.length,u=xa(o-a,0),c=$o(l+u),d=!i;++s<l;)c[s]=e[s];for(;++r<a;)(d||r<o)&&(c[n[r]]=t[r]);for(;u--;)c[s++]=t[r++];return c}function Di(t,e,n,i){for(var r=-1,o=t.length,a=-1,s=n.length,l=-1,u=e.length,c=xa(o-s,0),d=$o(c+u),h=!i;++r<c;)d[r]=t[r];for(var f=r;++l<u;)d[f+l]=e[l];for(;++a<s;)(h||r<o)&&(d[f+n[a]]=t[r++]);return d}function Ai(t,e){var n=-1,i=t.length;for(e||(e=$o(i));++n<i;)e[n]=t[n];return e}function Ei(t,e,n,i){var r=!n;n||(n={});for(var o=-1,a=e.length;++o<a;){var s=e[o],l=i?i(n[s],t[s],s,n,t):H;l===H&&(l=t[s]),r?He(n,s,l):Re(n,s,l)}return n}function Mi(t,e){return function(n,i){var r=Ys(n)?a:Be,o=e?e():{};return r(n,t,or(i,2),o)}}function Oi(t){return Jn(function(e,n){var i=-1,r=n.length,o=r>1?n[r-1]:H,a=r>2?n[2]:H;for(o=t.length>3&&"function"==typeof o?(r--,o):H,a&&fr(n[0],n[1],a)&&(o=r<3?H:o,r=1),e=Lo(e);++i<r;){var s=n[i];s&&t(e,s,i,o)}return e})}function $i(t,e){return function(n,i){if(null==n)return n;if(!Xr(n))return t(n,i);for(var r=n.length,o=e?r:-1,a=Lo(n);(e?o--:++o<r)&&!1!==i(a[o],o,a););return n}}function Ii(t){return function(e,n,i){for(var r=-1,o=Lo(e),a=i(e),s=a.length;s--;){var l=a[t?s:++r];if(!1===n(o[l],l,o))break}return e}}function Fi(t){return function(e){var n=P(e=fo(e))?z(e):H,i=n?n[0]:e.charAt(0),r=n?xi(n,1).join(""):e.slice(1);return i[t]()+r}}function Pi(t){return function(e){return g(wo(xo(e).replace(Ve,"")),t,"")}}function Ni(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Ha(t.prototype),i=t.apply(n,e);return to(i)?i:n}}function Li(t){return function(e,n,i){var r=Lo(e);if(!Xr(e)){var o=or(n,3);e=vo(e),n=function(t){return o(r[t],t,r)}}var a=t(e,n,i);return a>-1?r[o?e[a]:a]:H}}function ji(t){return tr(function(e){var n=e.length,i=n,o=r.prototype.thru;for(t&&e.reverse();i--;){var a=e[i];if("function"!=typeof a)throw new Uo(V);if(o&&!s&&"wrapper"==ir(a))var s=new r([],!0)}for(i=s?i:n;++i<n;){var l=ir(a=e[i]),u="wrapper"==l?Ja(a):H;s=u&&gr(u[0])&&u[1]==(at|nt|rt|st)&&!u[4].length&&1==u[9]?s[ir(u[0])].apply(s,u[3]):1==a.length&&gr(a)?s[l]():s.thru(a)}return function(){var t=arguments,i=t[0];if(s&&1==t.length&&Ys(i))return s.plant(i).value();for(var r=0,o=n?e[r].apply(this,t):i;++r<n;)o=e[r].call(this,o);return o}})}function Ri(t,e,n,i,r,o,a,s,l,u){var c=e&at,d=e&J,h=e&tt,f=e&(nt|it),p=e&lt,g=h?H:Ni(t);return function v(){for(var m=arguments.length,y=$o(m),b=m;b--;)y[b]=arguments[b];if(f)var _=rr(v),x=function(t,e){for(var n=t.length,i=0;n--;)t[n]===e&&++i;return i}(y,_);if(i&&(y=Si(y,i,r,f)),o&&(y=Di(y,o,a,f)),m-=x,f&&m<u){var w=j(y,_);return qi(t,e,Ri,v.placeholder,n,y,w,s,l,u-m)}var C=d?n:this,k=h?C[t]:t;return m=y.length,s?y=function(t,e){for(var n=t.length,i=wa(e.length,n),r=Ai(t);i--;){var o=e[i];t[i]=hr(o,n)?r[o]:H}return t}(y,s):p&&m>1&&y.reverse(),c&&l<m&&(y.length=l),this&&this!==sn&&this instanceof v&&(k=g||Ni(k)),k.apply(C,y)}}function Ui(t,e){return function(n,i){return function(t,e,n,i){return bn(t,function(t,r,o){e(i,n(t),r,o)}),i}(n,t,e(i),{})}}function Bi(t,e){return function(n,i){var r;if(n===H&&i===H)return e;if(n!==H&&(r=n),i!==H){if(r===H)return i;"string"==typeof n||"string"==typeof i?(n=ci(n),i=ci(i)):(n=ui(n),i=ui(i)),r=t(n,i)}return r}}function zi(t){return tr(function(e){return e=f(e,E(or())),Jn(function(n){var i=this;return t(e,function(t){return o(t,i,n)})})})}function Hi(t,e){var n=(e=e===H?" ":ci(e)).length;if(n<2)return n?Qn(e,t):e;var i=Qn(e,pa(t/B(e)));return P(e)?xi(z(i),0,t).join(""):i.slice(0,t)}function Wi(t){return function(e,n,i){return i&&"number"!=typeof i&&fr(e,n,i)&&(n=i=H),e=so(e),n===H?(n=e,e=0):n=so(n),function(t,e,n,i){for(var r=-1,o=xa(pa((e-t)/(n||1)),0),a=$o(o);o--;)a[i?o:++r]=t,t+=n;return a}(e,n,i=i===H?e<n?1:-1:so(i),t)}}function Vi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=co(e),n=co(n)),t(e,n)}}function qi(t,e,n,i,r,o,a,s,l,u){var c=e&nt;e|=c?rt:ot,(e&=~(c?ot:rt))&et||(e&=~(J|tt));var d=[t,e,r,c?o:H,c?a:H,c?H:o,c?H:a,s,l,u],h=n.apply(H,d);return gr(t)&&rs(h,d),h.placeholder=i,wr(h,t,e)}function Yi(t){var e=No[t];return function(t,n){if(t=co(t),(n=null==n?0:wa(lo(n),292))&&ya(t)){var i=(fo(t)+"e").split("e");return+((i=(fo(e(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return e(t)}}function Xi(t){return function(e){var n=ns(e);return n==At?N(e):n==Ft?U(e):function(t,e){return f(e,function(e){return[e,t[e]]})}(e,t(e))}}function Gi(t,e,n,i,r,a,s,l){var u=e&tt;if(!u&&"function"!=typeof t)throw new Uo(V);var c=i?i.length:0;if(c||(e&=~(rt|ot),i=r=H),s=s===H?s:xa(lo(s),0),l=l===H?l:lo(l),c-=r?r.length:0,e&ot){var d=i,h=r;i=r=H}var f=u?H:Ja(t),p=[t,e,n,i,r,d,h,a,s,l];if(f&&function(t,e){var n=t[1],i=e[1],r=n|i,o=r<(J|tt|at),a=i==at&&n==nt||i==at&&n==st&&t[7].length<=e[8]||i==(at|st)&&e[7].length<=e[8]&&n==nt;if(!o&&!a)return t;i&J&&(t[2]=e[2],r|=n&J?0:et);var s=e[3];if(s){var l=t[3];t[3]=l?Si(l,s,e[4]):s,t[4]=l?j(t[3],Y):e[4]}(s=e[5])&&(l=t[5],t[5]=l?Di(l,s,e[6]):s,t[6]=l?j(t[5],Y):e[6]),(s=e[7])&&(t[7]=s),i&at&&(t[8]=null==t[8]?e[8]:wa(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=r}(p,f),t=p[0],e=p[1],n=p[2],i=p[3],r=p[4],!(l=p[9]=p[9]===H?u?0:t.length:xa(p[9]-c,0))&&e&(nt|it)&&(e&=~(nt|it)),e&&e!=J)g=e==nt||e==it?function(t,e,n){var i=Ni(t);return function r(){for(var a=arguments.length,s=$o(a),l=a,u=rr(r);l--;)s[l]=arguments[l];var c=a<3&&s[0]!==u&&s[a-1]!==u?[]:j(s,u);return(a-=c.length)<n?qi(t,e,Ri,r.placeholder,H,s,c,H,H,n-a):o(this&&this!==sn&&this instanceof r?i:t,this,s)}}(t,e,l):e!=rt&&e!=(J|rt)||r.length?Ri.apply(H,p):function(t,e,n,i){var r=e&J,a=Ni(t);return function e(){for(var s=-1,l=arguments.length,u=-1,c=i.length,d=$o(c+l),h=this&&this!==sn&&this instanceof e?a:t;++u<c;)d[u]=i[u];for(;l--;)d[u++]=arguments[++s];return o(h,r?n:this,d)}}(t,e,n,i);else var g=function(t,e,n){var i=e&J,r=Ni(t);return function e(){return(this&&this!==sn&&this instanceof e?r:t).apply(i?n:this,arguments)}}(t,e,n);return wr((f?Xa:rs)(g,p),t,e)}function Ki(t,e,n,i){return t===H||Yr(t,Ho[n])&&!qo.call(i,n)?e:t}function Zi(t,e,n,i,r,o){return to(t)&&to(e)&&(o.set(e,t),Vn(t,e,H,Zi,o),o.delete(e)),t}function Qi(t){return io(t)?H:t}function Ji(t,e,n,i,r,o){var a=n&Z,s=t.length,l=e.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(t);if(u&&o.get(e))return u==e;var c=-1,d=!0,h=n&Q?new $e:H;for(o.set(t,e),o.set(e,t);++c<s;){var f=t[c],p=e[c];if(i)var g=a?i(p,f,c,e,t,o):i(f,p,c,t,e,o);if(g!==H){if(g)continue;d=!1;break}if(h){if(!m(e,function(t,e){if(!O(h,e)&&(f===t||r(f,t,n,i,o)))return h.push(e)})){d=!1;break}}else if(f!==p&&!r(f,p,n,i,o)){d=!1;break}}return o.delete(t),o.delete(e),d}function tr(t){return as(br(t,H,Mr),t+"")}function er(t){return Dn(t,vo,ts)}function nr(t){return Dn(t,mo,es)}function ir(t){for(var e=t.name+"",n=Fa[e],i=qo.call(Fa,e)?n.length:0;i--;){var r=n[i],o=r.func;if(null==o||o==t)return r.name}return e}function rr(t){return(qo.call(n,"placeholder")?n:t).placeholder}function or(){var t=n.iteratee||To;return t=t===To?jn:t,arguments.length?t(arguments[0],arguments[1]):t}function ar(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function sr(t){for(var e=vo(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,mr(r)]}return e}function lr(t,e){var n=function(t,e){return null==t?H:t[e]}(t,e);return Ln(n)?n:H}function ur(t,e,n){for(var i=-1,r=(e=_i(e,t)).length,o=!1;++i<r;){var a=Tr(e[i]);if(!(o=null!=t&&n(t,a)))break;t=t[a]}return o||++i!=r?o:!!(r=null==t?0:t.length)&&Jr(r)&&hr(a,r)&&(Ys(t)||qs(t))}function cr(t){return"function"!=typeof t.constructor||vr(t)?{}:Ha(ia(t))}function dr(t){return Ys(t)||qs(t)||!!(sa&&t&&t[sa])}function hr(t,e){var n=typeof t;return!!(e=null==e?ht:e)&&("number"==n||"symbol"!=n&&Te.test(t))&&t>-1&&t%1==0&&t<e}function fr(t,e,n){if(!to(n))return!1;var i=typeof e;return!!("number"==i?Xr(n)&&hr(e,n.length):"string"==i&&e in n)&&Yr(n[e],t)}function pr(t,e){if(Ys(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!oo(t))||se.test(t)||!ae.test(t)||null!=e&&t in Lo(e)}function gr(t){var e=ir(t),i=n[e];if("function"!=typeof i||!(e in T.prototype))return!1;if(t===i)return!0;var r=Ja(i);return!!r&&t===r[0]}function vr(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ho)}function mr(t){return t==t&&!to(t)}function yr(t,e){return function(n){return null!=n&&n[t]===e&&(e!==H||t in Lo(n))}}function br(t,e,n){return e=xa(e===H?t.length-1:e,0),function(){for(var i=arguments,r=-1,a=xa(i.length-e,0),s=$o(a);++r<a;)s[r]=i[e+r];r=-1;for(var l=$o(e+1);++r<e;)l[r]=i[r];return l[e]=n(s),o(t,this,l)}}function _r(t,e){return e.length<2?t:Sn(t,ri(e,0,-1))}function xr(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function wr(t,e,n){var i=e+"";return as(t,function(t,e){var n=e.length;if(!n)return t;var i=n-1;return e[i]=(n>1?"& ":"")+e[i],e=e.join(n>2?", ":" "),t.replace(pe,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return s(yt,function(n){var i="_."+n[0];e&n[1]&&!d(t,i)&&t.push(i)}),t.sort()}(function(t){var e=t.match(ge);return e?e[1].split(ve):[]}(i),n)))}function Cr(t){var e=0,n=0;return function(){var i=Ca(),r=ct-(i-n);if(n=i,r>0){if(++e>=ut)return arguments[0]}else e=0;return t.apply(H,arguments)}}function kr(t,e){var n=-1,i=t.length,r=i-1;for(e=e===H?i:e;++n<e;){var o=Zn(n,r),a=t[o];t[o]=t[n],t[n]=a}return t.length=e,t}function Tr(t){if("string"==typeof t||oo(t))return t;var e=t+"";return"0"==e&&1/t==-dt?"-0":e}function Sr(t){if(null!=t){try{return Vo.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Dr(t){if(t instanceof T)return t.clone();var e=new r(t.__wrapped__,t.__chain__);return e.__actions__=Ai(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function Ar(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:lo(n);return r<0&&(r=xa(i+r,0)),b(t,or(e,3),r)}function Er(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i-1;return n!==H&&(r=lo(n),r=n<0?xa(i+r,0):wa(r,i-1)),b(t,or(e,3),r,!0)}function Mr(t){return null!=t&&t.length?hn(t,1):[]}function Or(t){return t&&t.length?t[0]:H}function $r(t){var e=null==t?0:t.length;return e?t[e-1]:H}function Ir(t,e){return t&&t.length&&e&&e.length?Gn(t,e):t}function Fr(t){return null==t?t:Sa.call(t)}function Pr(t){if(!t||!t.length)return[];var e=0;return t=c(t,function(t){if(Gr(t))return e=xa(t.length,e),!0}),A(e,function(e){return f(t,k(e))})}function Nr(t,e){if(!t||!t.length)return[];var n=Pr(t);return null==e?n:f(n,function(t){return o(e,H,t)})}function Lr(t){var e=n(t);return e.__chain__=!0,e}function jr(t,e){return e(t)}function Rr(t,e){return(Ys(t)?s:Wa)(t,or(e,3))}function Ur(t,e){return(Ys(t)?l:Va)(t,or(e,3))}function Br(t,e){return(Ys(t)?f:zn)(t,or(e,3))}function zr(t,e,n){return e=n?H:e,e=t&&null==e?t.length:e,Gi(t,at,H,H,H,H,e)}function Hr(t,e){var n;if("function"!=typeof e)throw new Uo(V);return t=lo(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=H),n}}function Wr(t,e,n){function i(e){var n=l,i=u;return l=u=H,p=e,d=t.apply(i,n)}function r(t){var n=t-f;return f===H||n>=e||n<0||v&&t-p>=c}function o(){var t=Fs();if(r(t))return a(t);h=os(o,function(t){var n=e-(t-f);return v?wa(n,c-(t-p)):n}(t))}function a(t){return h=H,m&&l?i(t):(l=u=H,d)}function s(){var t=Fs(),n=r(t);if(l=arguments,u=this,f=t,n){if(h===H)return function(t){return p=t,h=os(o,e),g?i(t):d}(f);if(v)return Za(h),h=os(o,e),i(f)}return h===H&&(h=os(o,e)),d}var l,u,c,d,h,f,p=0,g=!1,v=!1,m=!0;if("function"!=typeof t)throw new Uo(V);return e=co(e)||0,to(n)&&(g=!!n.leading,c=(v="maxWait"in n)?xa(co(n.maxWait)||0,e):c,m="trailing"in n?!!n.trailing:m),s.cancel=function(){h!==H&&Za(h),p=0,l=f=u=h=H},s.flush=function(){return h===H?d:a(Fs())},s}function Vr(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Uo(V);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=t.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Vr.Cache||Oe),n}function qr(t){if("function"!=typeof t)throw new Uo(V);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 Gr(t){return eo(t)&&Xr(t)}function Kr(t){if(!eo(t))return!1;var e=An(t);return e==Tt||e==kt||"string"==typeof t.message&&"string"==typeof t.name&&!io(t)}function Zr(t){if(!to(t))return!1;var e=An(t);return e==St||e==Dt||e==xt||e==$t}function Qr(t){return"number"==typeof t&&t==lo(t)}function Jr(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=ht}function to(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function eo(t){return null!=t&&"object"==typeof t}function no(t){return"number"==typeof t||eo(t)&&An(t)==Et}function io(t){if(!eo(t)||An(t)!=Ot)return!1;var e=ia(t);if(null===e)return!0;var n=qo.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Vo.call(n)==Ko}function ro(t){return"string"==typeof t||!Ys(t)&&eo(t)&&An(t)==Pt}function oo(t){return"symbol"==typeof t||eo(t)&&An(t)==Nt}function ao(t){if(!t)return[];if(Xr(t))return ro(t)?z(t):Ai(t);if(la&&t[la])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[la]());var e=ns(t);return(e==At?N:e==Ft?R:bo)(t)}function so(t){return t?(t=co(t))===dt||t===-dt?(t<0?-1:1)*ft:t==t?t:0:0===t?t:0}function lo(t){var e=so(t),n=e%1;return e==e?n?e-n: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(de,"");var n=we.test(t);return n||ke.test(t)?rn(t.slice(2),n?2:8):xe.test(t)?pt:+t}function ho(t){return Ei(t,mo(t))}function fo(t){return null==t?"":ci(t)}function po(t,e,n){var i=null==t?H:Sn(t,e);return i===H?n:i}function go(t,e){return null!=t&&ur(t,e,On)}function vo(t){return Xr(t)?Fe(t):Rn(t)}function mo(t){return Xr(t)?Fe(t,!0):Un(t)}function yo(t,e){if(null==t)return{};var n=f(nr(t),function(t){return[t]});return e=or(e),Xn(t,n,function(t,n){return e(t,n[0])})}function bo(t){return null==t?[]:M(t,vo(t))}function _o(t){return Sl(fo(t).toLowerCase())}function xo(t){return(t=fo(t))&&t.replace(Se,_n).replace(qe,"")}function wo(t,e,n){return t=fo(t),(e=n?H:e)===H?function(t){return Ke.test(t)}(t)?function(t){return t.match(Xe)||[]}(t):function(t){return t.match(me)||[]}(t):t.match(e)||[]}function Co(t){return function(){return t}}function ko(t){return t}function To(t){return jn("function"==typeof t?t:Ge(t,X))}function So(t,e,n){var i=vo(e),r=Tn(e,i);null!=n||to(e)&&(r.length||!i.length)||(n=e,e=t,t=this,r=Tn(e,vo(e)));var o=!(to(n)&&"chain"in n&&!n.chain),a=Zr(t);return s(r,function(n){var i=e[n];t[n]=i,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Ai(this.__actions__)).push({func:i,args:arguments,thisArg:t}),n.__chain__=e,n}return i.apply(t,p([this.value()],arguments))})}),t}function Do(){}function Ao(t){return pr(t)?k(Tr(t)):function(t){return function(e){return Sn(e,t)}}(t)}function Eo(){return[]}function Mo(){return!1}var Oo,$o=(e=null==e?sn:Cn.defaults(sn.Object(),e,Cn.pick(sn,Ze))).Array,Io=e.Date,Fo=e.Error,Po=e.Function,No=e.Math,Lo=e.Object,jo=e.RegExp,Ro=e.String,Uo=e.TypeError,Bo=$o.prototype,zo=Po.prototype,Ho=Lo.prototype,Wo=e["__core-js_shared__"],Vo=zo.toString,qo=Ho.hasOwnProperty,Yo=0,Xo=(Oo=/[^.]+$/.exec(Wo&&Wo.keys&&Wo.keys.IE_PROTO||""))?"Symbol(src)_1."+Oo:"",Go=Ho.toString,Ko=Vo.call(Lo),Zo=sn._,Qo=jo("^"+Vo.call(qo).replace(ue,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Jo=cn?e.Buffer:H,ta=e.Symbol,ea=e.Uint8Array,na=Jo?Jo.allocUnsafe:H,ia=L(Lo.getPrototypeOf,Lo),ra=Lo.create,oa=Ho.propertyIsEnumerable,aa=Bo.splice,sa=ta?ta.isConcatSpreadable:H,la=ta?ta.iterator:H,ua=ta?ta.toStringTag:H,ca=function(){try{var t=lr(Lo,"defineProperty");return t({},"",{}),t}catch(t){}}(),da=e.clearTimeout!==sn.clearTimeout&&e.clearTimeout,ha=Io&&Io.now!==sn.Date.now&&Io.now,fa=e.setTimeout!==sn.setTimeout&&e.setTimeout,pa=No.ceil,ga=No.floor,va=Lo.getOwnPropertySymbols,ma=Jo?Jo.isBuffer:H,ya=e.isFinite,ba=Bo.join,_a=L(Lo.keys,Lo),xa=No.max,wa=No.min,Ca=Io.now,ka=e.parseInt,Ta=No.random,Sa=Bo.reverse,Da=lr(e,"DataView"),Aa=lr(e,"Map"),Ea=lr(e,"Promise"),Ma=lr(e,"Set"),Oa=lr(e,"WeakMap"),$a=lr(Lo,"create"),Ia=Oa&&new Oa,Fa={},Pa=Sr(Da),Na=Sr(Aa),La=Sr(Ea),ja=Sr(Ma),Ra=Sr(Oa),Ua=ta?ta.prototype:H,Ba=Ua?Ua.valueOf:H,za=Ua?Ua.toString:H,Ha=function(){function t(){}return function(e){if(!to(e))return{};if(ra)return ra(e);t.prototype=e;var n=new t;return t.prototype=H,n}}();n.templateSettings={escape:ie,evaluate:re,interpolate:oe,variable:"",imports:{_:n}},n.prototype=i.prototype,n.prototype.constructor=n,r.prototype=Ha(i.prototype),r.prototype.constructor=r,T.prototype=Ha(i.prototype),T.prototype.constructor=T,Ee.prototype.clear=function(){this.__data__=$a?$a(null):{},this.size=0},Ee.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Ee.prototype.get=function(t){var e=this.__data__;if($a){var n=e[t];return n===q?H:n}return qo.call(e,t)?e[t]:H},Ee.prototype.has=function(t){var e=this.__data__;return $a?e[t]!==H:qo.call(e,t)},Ee.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=$a&&e===H?q:e,this},Me.prototype.clear=function(){this.__data__=[],this.size=0},Me.prototype.delete=function(t){var e=this.__data__,n=Ue(e,t);return!(n<0||(n==e.length-1?e.pop():aa.call(e,n,1),--this.size,0))},Me.prototype.get=function(t){var e=this.__data__,n=Ue(e,t);return n<0?H:e[n][1]},Me.prototype.has=function(t){return Ue(this.__data__,t)>-1},Me.prototype.set=function(t,e){var n=this.__data__,i=Ue(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this},Oe.prototype.clear=function(){this.size=0,this.__data__={hash:new Ee,map:new(Aa||Me),string:new Ee}},Oe.prototype.delete=function(t){var e=ar(this,t).delete(t);return this.size-=e?1:0,e},Oe.prototype.get=function(t){return ar(this,t).get(t)},Oe.prototype.has=function(t){return ar(this,t).has(t)},Oe.prototype.set=function(t,e){var n=ar(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this},$e.prototype.add=$e.prototype.push=function(t){
+return this.__data__.set(t,q),this},$e.prototype.has=function(t){return this.__data__.has(t)},Ie.prototype.clear=function(){this.__data__=new Me,this.size=0},Ie.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Ie.prototype.get=function(t){return this.__data__.get(t)},Ie.prototype.has=function(t){return this.__data__.has(t)},Ie.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Me){var i=n.__data__;if(!Aa||i.length<W-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Oe(i)}return n.set(t,e),this.size=n.size,this};var Wa=$i(bn),Va=$i(kn,!0),qa=Ii(),Ya=Ii(!0),Xa=Ia?function(t,e){return Ia.set(t,e),t}:ko,Ga=ca?function(t,e){return ca(t,"toString",{configurable:!0,enumerable:!1,value:Co(e),writable:!0})}:ko,Ka=Jn,Za=da||function(t){return sn.clearTimeout(t)},Qa=Ma&&1/R(new Ma([,-0]))[1]==dt?function(t){return new Ma(t)}:Do,Ja=Ia?function(t){return Ia.get(t)}:Do,ts=va?function(t){return null==t?[]:(t=Lo(t),c(va(t),function(e){return oa.call(t,e)}))}:Eo,es=va?function(t){for(var e=[];t;)p(e,ts(t)),t=ia(t);return e}:Eo,ns=An;(Da&&ns(new Da(new ArrayBuffer(1)))!=Ut||Aa&&ns(new Aa)!=At||Ea&&"[object Promise]"!=ns(Ea.resolve())||Ma&&ns(new Ma)!=Ft||Oa&&ns(new Oa)!=jt)&&(ns=function(t){var e=An(t),n=e==Ot?t.constructor:H,i=n?Sr(n):"";if(i)switch(i){case Pa:return Ut;case Na:return At;case La:return"[object Promise]";case ja:return Ft;case Ra:return jt}return e});var is=Wo?Zr:Mo,rs=Cr(Xa),os=fa||function(t,e){return sn.setTimeout(t,e)},as=Cr(Ga),ss=function(t){var e=Vr(t,function(t){return 500===n.size&&n.clear(),t}),n=e.cache;return e}(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(le,function(t,n,i,r){e.push(i?r.replace(ye,"$1"):n||t)}),e}),ls=Jn(function(t,e){return Gr(t)?an(t,hn(e,1,Gr,!0)):[]}),us=Jn(function(t,e){var n=$r(e);return Gr(n)&&(n=H),Gr(t)?an(t,hn(e,1,Gr,!0),or(n,2)):[]}),cs=Jn(function(t,e){var n=$r(e);return Gr(n)&&(n=H),Gr(t)?an(t,hn(e,1,Gr,!0),H,n):[]}),ds=Jn(function(t){var e=f(t,yi);return e.length&&e[0]===t[0]?$n(e):[]}),hs=Jn(function(t){var e=$r(t),n=f(t,yi);return e===$r(n)?e=H:n.pop(),n.length&&n[0]===t[0]?$n(n,or(e,2)):[]}),fs=Jn(function(t){var e=$r(t),n=f(t,yi);return(e="function"==typeof e?e:H)&&n.pop(),n.length&&n[0]===t[0]?$n(n,H,e):[]}),ps=Jn(Ir),gs=tr(function(t,e){var n=null==t?0:t.length,i=We(t,e);return Kn(t,f(e,function(t){return hr(t,n)?+t:t}).sort(Ti)),i}),vs=Jn(function(t){return di(hn(t,1,Gr,!0))}),ms=Jn(function(t){var e=$r(t);return Gr(e)&&(e=H),di(hn(t,1,Gr,!0),or(e,2))}),ys=Jn(function(t){var e=$r(t);return e="function"==typeof e?e:H,di(hn(t,1,Gr,!0),H,e)}),bs=Jn(function(t,e){return Gr(t)?an(t,e):[]}),_s=Jn(function(t){return vi(c(t,Gr))}),xs=Jn(function(t){var e=$r(t);return Gr(e)&&(e=H),vi(c(t,Gr),or(e,2))}),ws=Jn(function(t){var e=$r(t);return e="function"==typeof e?e:H,vi(c(t,Gr),H,e)}),Cs=Jn(Pr),ks=Jn(function(t){var e=t.length,n=e>1?t[e-1]:H;return Nr(t,n="function"==typeof n?(t.pop(),n):H)}),Ts=tr(function(t){var e=t.length,n=e?t[0]:0,i=this.__wrapped__,o=function(e){return We(e,t)};return!(e>1||this.__actions__.length)&&i instanceof T&&hr(n)?((i=i.slice(n,+n+(e?1:0))).__actions__.push({func:jr,args:[o],thisArg:H}),new r(i,this.__chain__).thru(function(t){return e&&!t.length&&t.push(H),t})):this.thru(o)}),Ss=Mi(function(t,e,n){qo.call(t,n)?++t[n]:He(t,n,1)}),Ds=Li(Ar),As=Li(Er),Es=Mi(function(t,e,n){qo.call(t,n)?t[n].push(e):He(t,n,[e])}),Ms=Jn(function(t,e,n){var i=-1,r="function"==typeof e,a=Xr(t)?$o(t.length):[];return Wa(t,function(t){a[++i]=r?o(e,t,n):In(t,e,n)}),a}),Os=Mi(function(t,e,n){He(t,n,e)}),$s=Mi(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Is=Jn(function(t,e){if(null==t)return[];var n=e.length;return n>1&&fr(t,e[0],e[1])?e=[]:n>2&&fr(e[0],e[1],e[2])&&(e=[e[0]]),Yn(t,hn(e,1),[])}),Fs=ha||function(){return sn.Date.now()},Ps=Jn(function(t,e,n){var i=J;if(n.length){var r=j(n,rr(Ps));i|=rt}return Gi(t,i,e,n,r)}),Ns=Jn(function(t,e,n){var i=J|tt;if(n.length){var r=j(n,rr(Ns));i|=rt}return Gi(e,i,t,n,r)}),Ls=Jn(function(t,e){return on(t,1,e)}),js=Jn(function(t,e,n){return on(t,co(e)||0,n)});Vr.Cache=Oe;var Rs,Us=Ka(function(t,e){var n=(e=1==e.length&&Ys(e[0])?f(e[0],E(or())):f(hn(e,1),E(or()))).length;return Jn(function(i){for(var r=-1,a=wa(i.length,n);++r<a;)i[r]=e[r].call(this,i[r]);return o(t,this,i)})}),Bs=Jn(function(t,e){var n=j(e,rr(Bs));return Gi(t,rt,H,e,n)}),zs=Jn(function(t,e){var n=j(e,rr(zs));return Gi(t,ot,H,e,n)}),Hs=tr(function(t,e){return Gi(t,st,H,H,H,e)}),Ws=Vi(En),Vs=Vi(function(t,e){return t>=e}),qs=Fn(function(){return arguments}())?Fn:function(t){return eo(t)&&qo.call(t,"callee")&&!oa.call(t,"callee")},Ys=$o.isArray,Xs=fn?E(fn):function(t){return eo(t)&&An(t)==Rt},Gs=ma||Mo,Ks=pn?E(pn):function(t){return eo(t)&&An(t)==Ct},Zs=gn?E(gn):function(t){return eo(t)&&ns(t)==At},Qs=vn?E(vn):function(t){return eo(t)&&An(t)==It},Js=mn?E(mn):function(t){return eo(t)&&ns(t)==Ft},tl=yn?E(yn):function(t){return eo(t)&&Jr(t.length)&&!!Je[An(t)]},el=Vi(Bn),nl=Vi(function(t,e){return t<=e}),il=Oi(function(t,e){if(vr(e)||Xr(e))Ei(e,vo(e),t);else for(var n in e)qo.call(e,n)&&Re(t,n,e[n])}),rl=Oi(function(t,e){Ei(e,mo(e),t)}),ol=Oi(function(t,e,n,i){Ei(e,mo(e),t,i)}),al=Oi(function(t,e,n,i){Ei(e,vo(e),t,i)}),sl=tr(We),ll=Jn(function(t,e){t=Lo(t);var n=-1,i=e.length,r=i>2?e[2]:H;for(r&&fr(e[0],e[1],r)&&(i=1);++n<i;)for(var o=e[n],a=mo(o),s=-1,l=a.length;++s<l;){var u=a[s],c=t[u];(c===H||Yr(c,Ho[u])&&!qo.call(t,u))&&(t[u]=o[u])}return t}),ul=Jn(function(t){return t.push(H,Zi),o(pl,H,t)}),cl=Ui(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Go.call(e)),t[e]=n},Co(ko)),dl=Ui(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Go.call(e)),qo.call(t,e)?t[e].push(n):t[e]=[n]},or),hl=Jn(In),fl=Oi(function(t,e,n){Vn(t,e,n)}),pl=Oi(function(t,e,n,i){Vn(t,e,n,i)}),gl=tr(function(t,e){var n={};if(null==t)return n;var i=!1;e=f(e,function(e){return e=_i(e,t),i||(i=e.length>1),e}),Ei(t,nr(t),n),i&&(n=Ge(n,X|G|K,Qi));for(var r=e.length;r--;)hi(n,e[r]);return n}),vl=tr(function(t,e){return null==t?{}:function(t,e){return Xn(t,e,function(e,n){return go(t,n)})}(t,e)}),ml=Xi(vo),yl=Xi(mo),bl=Pi(function(t,e,n){return e=e.toLowerCase(),t+(n?_o(e):e)}),_l=Pi(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),xl=Pi(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),wl=Fi("toLowerCase"),Cl=Pi(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),kl=Pi(function(t,e,n){return t+(n?" ":"")+Sl(e)}),Tl=Pi(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Sl=Fi("toUpperCase"),Dl=Jn(function(t,e){try{return o(t,H,e)}catch(t){return Kr(t)?t:new Fo(t)}}),Al=tr(function(t,e){return s(e,function(e){e=Tr(e),He(t,e,Ps(t[e],t))}),t}),El=ji(),Ml=ji(!0),Ol=Jn(function(t,e){return function(n){return In(n,t,e)}}),$l=Jn(function(t,e){return function(n){return In(t,n,e)}}),Il=zi(f),Fl=zi(u),Pl=zi(m),Nl=Wi(),Ll=Wi(!0),jl=Bi(function(t,e){return t+e},0),Rl=Yi("ceil"),Ul=Bi(function(t,e){return t/e},1),Bl=Yi("floor"),zl=Bi(function(t,e){return t*e},1),Hl=Yi("round"),Wl=Bi(function(t,e){return t-e},0);return n.after=function(t,e){if("function"!=typeof e)throw new Uo(V);return t=lo(t),function(){if(--t<1)return e.apply(this,arguments)}},n.ary=zr,n.assign=il,n.assignIn=rl,n.assignInWith=ol,n.assignWith=al,n.at=sl,n.before=Hr,n.bind=Ps,n.bindAll=Al,n.bindKey=Ns,n.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Ys(t)?t:[t]},n.chain=Lr,n.chunk=function(t,e,n){e=(n?fr(t,e,n):e===H)?1:xa(lo(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var r=0,o=0,a=$o(pa(i/e));r<i;)a[o++]=ri(t,r,r+=e);return a},n.compact=function(t){for(var e=-1,n=null==t?0:t.length,i=0,r=[];++e<n;){var o=t[e];o&&(r[i++]=o)}return r},n.concat=function(){var t=arguments.length;if(!t)return[];for(var e=$o(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return p(Ys(n)?Ai(n):[n],hn(e,1))},n.cond=function(t){var e=null==t?0:t.length,n=or();return t=e?f(t,function(t){if("function"!=typeof t[1])throw new Uo(V);return[n(t[0]),t[1]]}):[],Jn(function(n){for(var i=-1;++i<e;){var r=t[i];if(o(r[0],this,n))return o(r[1],this,n)}})},n.conforms=function(t){return function(t){var e=vo(t);return function(n){return en(n,t,e)}}(Ge(t,X))},n.constant=Co,n.countBy=Ss,n.create=function(t,e){var n=Ha(t);return null==e?n:ze(n,e)},n.curry=function t(e,n,i){var r=Gi(e,nt,H,H,H,H,H,n=i?H:n);return r.placeholder=t.placeholder,r},n.curryRight=function t(e,n,i){var r=Gi(e,it,H,H,H,H,H,n=i?H:n);return r.placeholder=t.placeholder,r},n.debounce=Wr,n.defaults=ll,n.defaultsDeep=ul,n.defer=Ls,n.delay=js,n.difference=ls,n.differenceBy=us,n.differenceWith=cs,n.drop=function(t,e,n){var i=null==t?0:t.length;return i?ri(t,(e=n||e===H?1:lo(e))<0?0:e,i):[]},n.dropRight=function(t,e,n){var i=null==t?0:t.length;return i?ri(t,0,(e=i-(e=n||e===H?1:lo(e)))<0?0:e):[]},n.dropRightWhile=function(t,e){return t&&t.length?pi(t,or(e,3),!0,!0):[]},n.dropWhile=function(t,e){return t&&t.length?pi(t,or(e,3),!0):[]},n.fill=function(t,e,n,i){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&fr(t,e,n)&&(n=0,i=r),function(t,e,n,i){var r=t.length;for((n=lo(n))<0&&(n=-n>r?0:r+n),(i=i===H||i>r?r:lo(i))<0&&(i+=r),i=n>i?0:uo(i);n<i;)t[n++]=e;return t}(t,e,n,i)):[]},n.filter=function(t,e){return(Ys(t)?c:dn)(t,or(e,3))},n.flatMap=function(t,e){return hn(Br(t,e),1)},n.flatMapDeep=function(t,e){return hn(Br(t,e),dt)},n.flatMapDepth=function(t,e,n){return n=n===H?1:lo(n),hn(Br(t,e),n)},n.flatten=Mr,n.flattenDeep=function(t){return null!=t&&t.length?hn(t,dt):[]},n.flattenDepth=function(t,e){return null!=t&&t.length?hn(t,e=e===H?1:lo(e)):[]},n.flip=function(t){return Gi(t,lt)},n.flow=El,n.flowRight=Ml,n.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,i={};++e<n;){var r=t[e];i[r[0]]=r[1]}return i},n.functions=function(t){return null==t?[]:Tn(t,vo(t))},n.functionsIn=function(t){return null==t?[]:Tn(t,mo(t))},n.groupBy=Es,n.initial=function(t){return null!=t&&t.length?ri(t,0,-1):[]},n.intersection=ds,n.intersectionBy=hs,n.intersectionWith=fs,n.invert=cl,n.invertBy=dl,n.invokeMap=Ms,n.iteratee=To,n.keyBy=Os,n.keys=vo,n.keysIn=mo,n.map=Br,n.mapKeys=function(t,e){var n={};return e=or(e,3),bn(t,function(t,i,r){He(n,e(t,i,r),t)}),n},n.mapValues=function(t,e){var n={};return e=or(e,3),bn(t,function(t,i,r){He(n,i,e(t,i,r))}),n},n.matches=function(t){return Hn(Ge(t,X))},n.matchesProperty=function(t,e){return Wn(t,Ge(e,X))},n.memoize=Vr,n.merge=fl,n.mergeWith=pl,n.method=Ol,n.methodOf=$l,n.mixin=So,n.negate=qr,n.nthArg=function(t){return t=lo(t),Jn(function(e){return qn(e,t)})},n.omit=gl,n.omitBy=function(t,e){return yo(t,qr(or(e)))},n.once=function(t){return Hr(2,t)},n.orderBy=function(t,e,n,i){return null==t?[]:(Ys(e)||(e=null==e?[]:[e]),Ys(n=i?H:n)||(n=null==n?[]:[n]),Yn(t,e,n))},n.over=Il,n.overArgs=Us,n.overEvery=Fl,n.overSome=Pl,n.partial=Bs,n.partialRight=zs,n.partition=$s,n.pick=vl,n.pickBy=yo,n.property=Ao,n.propertyOf=function(t){return function(e){return null==t?H:Sn(t,e)}},n.pull=ps,n.pullAll=Ir,n.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Gn(t,e,or(n,2)):t},n.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Gn(t,e,H,n):t},n.pullAt=gs,n.range=Nl,n.rangeRight=Ll,n.rearg=Hs,n.reject=function(t,e){return(Ys(t)?c:dn)(t,qr(or(e,3)))},n.remove=function(t,e){var n=[];if(!t||!t.length)return n;var i=-1,r=[],o=t.length;for(e=or(e,3);++i<o;){var a=t[i];e(a,i,t)&&(n.push(a),r.push(i))}return Kn(t,r),n},n.rest=function(t,e){if("function"!=typeof t)throw new Uo(V);return Jn(t,e=e===H?e:lo(e))},n.reverse=Fr,n.sampleSize=function(t,e,n){return e=(n?fr(t,e,n):e===H)?1:lo(e),(Ys(t)?Ne:ei)(t,e)},n.set=function(t,e,n){return null==t?t:ni(t,e,n)},n.setWith=function(t,e,n,i){return i="function"==typeof i?i:H,null==t?t:ni(t,e,n,i)},n.shuffle=function(t){return(Ys(t)?Le:ii)(t)},n.slice=function(t,e,n){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&fr(t,e,n)?(e=0,n=i):(e=null==e?0:lo(e),n=n===H?i:lo(n)),ri(t,e,n)):[]},n.sortBy=Is,n.sortedUniq=function(t){return t&&t.length?li(t):[]},n.sortedUniqBy=function(t,e){return t&&t.length?li(t,or(e,2)):[]},n.split=function(t,e,n){return n&&"number"!=typeof n&&fr(t,e,n)&&(e=n=H),(n=n===H?gt:n>>>0)?(t=fo(t))&&("string"==typeof e||null!=e&&!Qs(e))&&!(e=ci(e))&&P(t)?xi(z(t),0,n):t.split(e,n):[]},n.spread=function(t,e){if("function"!=typeof t)throw new Uo(V);return e=null==e?0:xa(lo(e),0),Jn(function(n){var i=n[e],r=xi(n,0,e);return i&&p(r,i),o(t,this,r)})},n.tail=function(t){var e=null==t?0:t.length;return e?ri(t,1,e):[]},n.take=function(t,e,n){return t&&t.length?ri(t,0,(e=n||e===H?1:lo(e))<0?0:e):[]},n.takeRight=function(t,e,n){var i=null==t?0:t.length;return i?ri(t,(e=i-(e=n||e===H?1:lo(e)))<0?0:e,i):[]},n.takeRightWhile=function(t,e){return t&&t.length?pi(t,or(e,3),!1,!0):[]},n.takeWhile=function(t,e){return t&&t.length?pi(t,or(e,3)):[]},n.tap=function(t,e){return e(t),t},n.throttle=function(t,e,n){var i=!0,r=!0;if("function"!=typeof t)throw new Uo(V);return to(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),Wr(t,e,{leading:i,maxWait:e,trailing:r})},n.thru=jr,n.toArray=ao,n.toPairs=ml,n.toPairsIn=yl,n.toPath=function(t){return Ys(t)?f(t,Tr):oo(t)?[t]:Ai(ss(fo(t)))},n.toPlainObject=ho,n.transform=function(t,e,n){var i=Ys(t),r=i||Gs(t)||tl(t);if(e=or(e,4),null==n){var o=t&&t.constructor;n=r?i?new o:[]:to(t)&&Zr(o)?Ha(ia(t)):{}}return(r?s:bn)(t,function(t,i,r){return e(n,t,i,r)}),n},n.unary=function(t){return zr(t,1)},n.union=vs,n.unionBy=ms,n.unionWith=ys,n.uniq=function(t){return t&&t.length?di(t):[]},n.uniqBy=function(t,e){return t&&t.length?di(t,or(e,2)):[]},n.uniqWith=function(t,e){return e="function"==typeof e?e:H,t&&t.length?di(t,H,e):[]},n.unset=function(t,e){return null==t||hi(t,e)},n.unzip=Pr,n.unzipWith=Nr,n.update=function(t,e,n){return null==t?t:fi(t,e,bi(n))},n.updateWith=function(t,e,n,i){return i="function"==typeof i?i:H,null==t?t:fi(t,e,bi(n),i)},n.values=bo,n.valuesIn=function(t){return null==t?[]:M(t,mo(t))},n.without=bs,n.words=wo,n.wrap=function(t,e){return Bs(bi(e),t)},n.xor=_s,n.xorBy=xs,n.xorWith=ws,n.zip=Cs,n.zipObject=function(t,e){return mi(t||[],e||[],Re)},n.zipObjectDeep=function(t,e){return mi(t||[],e||[],ni)},n.zipWith=ks,n.entries=ml,n.entriesIn=yl,n.extend=rl,n.extendWith=ol,So(n,n),n.add=jl,n.attempt=Dl,n.camelCase=bl,n.capitalize=_o,n.ceil=Rl,n.clamp=function(t,e,n){return n===H&&(n=e,e=H),n!==H&&(n=(n=co(n))==n?n:0),e!==H&&(e=(e=co(e))==e?e:0),Ye(co(t),e,n)},n.clone=function(t){return Ge(t,K)},n.cloneDeep=function(t){return Ge(t,X|K)},n.cloneDeepWith=function(t,e){return Ge(t,X|K,e="function"==typeof e?e:H)},n.cloneWith=function(t,e){return Ge(t,K,e="function"==typeof e?e:H)},n.conformsTo=function(t,e){return null==e||en(t,e,vo(e))},n.deburr=xo,n.defaultTo=function(t,e){return null==t||t!=t?e:t},n.divide=Ul,n.endsWith=function(t,e,n){t=fo(t),e=ci(e);var i=t.length,r=n=n===H?i:Ye(lo(n),0,i);return(n-=e.length)>=0&&t.slice(n,r)==e},n.eq=Yr,n.escape=function(t){return(t=fo(t))&&ne.test(t)?t.replace(te,xn):t},n.escapeRegExp=function(t){return(t=fo(t))&&ce.test(t)?t.replace(ue,"\\$&"):t},n.every=function(t,e,n){var i=Ys(t)?u:ln;return n&&fr(t,e,n)&&(e=H),i(t,or(e,3))},n.find=Ds,n.findIndex=Ar,n.findKey=function(t,e){return y(t,or(e,3),bn)},n.findLast=As,n.findLastIndex=Er,n.findLastKey=function(t,e){return y(t,or(e,3),kn)},n.floor=Bl,n.forEach=Rr,n.forEachRight=Ur,n.forIn=function(t,e){return null==t?t:qa(t,or(e,3),mo)},n.forInRight=function(t,e){return null==t?t:Ya(t,or(e,3),mo)},n.forOwn=function(t,e){return t&&bn(t,or(e,3))},n.forOwnRight=function(t,e){return t&&kn(t,or(e,3))},n.get=po,n.gt=Ws,n.gte=Vs,n.has=function(t,e){return null!=t&&ur(t,e,Mn)},n.hasIn=go,n.head=Or,n.identity=ko,n.includes=function(t,e,n,i){t=Xr(t)?t:bo(t),n=n&&!i?lo(n):0;var r=t.length;return n<0&&(n=xa(r+n,0)),ro(t)?n<=r&&t.indexOf(e,n)>-1:!!r&&_(t,e,n)>-1},n.indexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:lo(n);return r<0&&(r=xa(i+r,0)),_(t,e,r)},n.inRange=function(t,e,n){return e=so(e),n===H?(n=e,e=0):n=so(n),function(t,e,n){return t>=wa(e,n)&&t<xa(e,n)}(t=co(t),e,n)},n.invoke=hl,n.isArguments=qs,n.isArray=Ys,n.isArrayBuffer=Xs,n.isArrayLike=Xr,n.isArrayLikeObject=Gr,n.isBoolean=function(t){return!0===t||!1===t||eo(t)&&An(t)==wt},n.isBuffer=Gs,n.isDate=Ks,n.isElement=function(t){return eo(t)&&1===t.nodeType&&!io(t)},n.isEmpty=function(t){if(null==t)return!0;if(Xr(t)&&(Ys(t)||"string"==typeof t||"function"==typeof t.splice||Gs(t)||tl(t)||qs(t)))return!t.length;var e=ns(t);if(e==At||e==Ft)return!t.size;if(vr(t))return!Rn(t).length;for(var n in t)if(qo.call(t,n))return!1;return!0},n.isEqual=function(t,e){return Pn(t,e)},n.isEqualWith=function(t,e,n){var i=(n="function"==typeof n?n:H)?n(t,e):H;return i===H?Pn(t,e,H,n):!!i},n.isError=Kr,n.isFinite=function(t){return"number"==typeof t&&ya(t)},n.isFunction=Zr,n.isInteger=Qr,n.isLength=Jr,n.isMap=Zs,n.isMatch=function(t,e){return t===e||Nn(t,e,sr(e))},n.isMatchWith=function(t,e,n){return n="function"==typeof n?n:H,Nn(t,e,sr(e),n)},n.isNaN=function(t){return no(t)&&t!=+t},n.isNative=function(t){if(is(t))throw new Fo("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Ln(t)},n.isNil=function(t){return null==t},n.isNull=function(t){return null===t},n.isNumber=no,n.isObject=to,n.isObjectLike=eo,n.isPlainObject=io,n.isRegExp=Qs,n.isSafeInteger=function(t){return Qr(t)&&t>=-ht&&t<=ht},n.isSet=Js,n.isString=ro,n.isSymbol=oo,n.isTypedArray=tl,n.isUndefined=function(t){return t===H},n.isWeakMap=function(t){return eo(t)&&ns(t)==jt},n.isWeakSet=function(t){return eo(t)&&"[object WeakSet]"==An(t)},n.join=function(t,e){return null==t?"":ba.call(t,e)},n.kebabCase=_l,n.last=$r,n.lastIndexOf=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=i;return n!==H&&(r=(r=lo(n))<0?xa(i+r,0):wa(r,i-1)),e==e?function(t,e,n){for(var i=n+1;i--;)if(t[i]===e)return i;return i}(t,e,r):b(t,w,r,!0)},n.lowerCase=xl,n.lowerFirst=wl,n.lt=el,n.lte=nl,n.max=function(t){return t&&t.length?un(t,ko,En):H},n.maxBy=function(t,e){return t&&t.length?un(t,or(e,2),En):H},n.mean=function(t){return C(t,ko)},n.meanBy=function(t,e){return C(t,or(e,2))},n.min=function(t){return t&&t.length?un(t,ko,Bn):H},n.minBy=function(t,e){return t&&t.length?un(t,or(e,2),Bn):H},n.stubArray=Eo,n.stubFalse=Mo,n.stubObject=function(){return{}},n.stubString=function(){return""},n.stubTrue=function(){return!0},n.multiply=zl,n.nth=function(t,e){return t&&t.length?qn(t,lo(e)):H},n.noConflict=function(){return sn._===this&&(sn._=Zo),this},n.noop=Do,n.now=Fs,n.pad=function(t,e,n){t=fo(t);var i=(e=lo(e))?B(t):0;if(!e||i>=e)return t;var r=(e-i)/2;return Hi(ga(r),n)+t+Hi(pa(r),n)},n.padEnd=function(t,e,n){t=fo(t);var i=(e=lo(e))?B(t):0;return e&&i<e?t+Hi(e-i,n):t},n.padStart=function(t,e,n){t=fo(t);var i=(e=lo(e))?B(t):0;return e&&i<e?Hi(e-i,n)+t:t},n.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),ka(fo(t).replace(he,""),e||0)},n.random=function(t,e,n){if(n&&"boolean"!=typeof n&&fr(t,e,n)&&(e=n=H),n===H&&("boolean"==typeof e?(n=e,e=H):"boolean"==typeof t&&(n=t,t=H)),t===H&&e===H?(t=0,e=1):(t=so(t),e===H?(e=t,t=0):e=so(e)),t>e){var i=t;t=e,e=i}if(n||t%1||e%1){var r=Ta();return wa(t+r*(e-t+nn("1e-"+((r+"").length-1))),e)}return Zn(t,e)},n.reduce=function(t,e,n){var i=Ys(t)?g:S,r=arguments.length<3;return i(t,or(e,4),n,r,Wa)},n.reduceRight=function(t,e,n){var i=Ys(t)?v:S,r=arguments.length<3;return i(t,or(e,4),n,r,Va)},n.repeat=function(t,e,n){return e=(n?fr(t,e,n):e===H)?1:lo(e),Qn(fo(t),e)},n.replace=function(){var t=arguments,e=fo(t[0]);return t.length<3?e:e.replace(t[1],t[2])},n.result=function(t,e,n){var i=-1,r=(e=_i(e,t)).length;for(r||(r=1,t=H);++i<r;){var o=null==t?H:t[Tr(e[i])];o===H&&(i=r,o=n),t=Zr(o)?o.call(t):o}return t},n.round=Hl,n.runInContext=t,n.sample=function(t){return(Ys(t)?Pe:ti)(t)},n.size=function(t){if(null==t)return 0;if(Xr(t))return ro(t)?B(t):t.length;var e=ns(t);return e==At||e==Ft?t.size:Rn(t).length},n.snakeCase=Cl,n.some=function(t,e,n){var i=Ys(t)?m:oi;return n&&fr(t,e,n)&&(e=H),i(t,or(e,3))},n.sortedIndex=function(t,e){return ai(t,e)},n.sortedIndexBy=function(t,e,n){return si(t,e,or(n,2))},n.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var i=ai(t,e);if(i<n&&Yr(t[i],e))return i}return-1},n.sortedLastIndex=function(t,e){return ai(t,e,!0)},n.sortedLastIndexBy=function(t,e,n){return si(t,e,or(n,2),!0)},n.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=ai(t,e,!0)-1;if(Yr(t[n],e))return n}return-1},n.startCase=kl,n.startsWith=function(t,e,n){return t=fo(t),n=null==n?0:Ye(lo(n),0,t.length),e=ci(e),t.slice(n,n+e.length)==e},n.subtract=Wl,n.sum=function(t){return t&&t.length?D(t,ko):0},n.sumBy=function(t,e){return t&&t.length?D(t,or(e,2)):0},n.template=function(t,e,i){var r=n.templateSettings;i&&fr(t,e,i)&&(e=H),t=fo(t),e=ol({},e,r,Ki);var o,a,s=ol({},e.imports,r.imports,Ki),l=vo(s),u=M(s,l),c=0,d=e.interpolate||De,h="__p += '",f=jo((e.escape||De).source+"|"+d.source+"|"+(d===oe?be:De).source+"|"+(e.evaluate||De).source+"|$","g"),p="//# sourceURL="+(qo.call(e,"sourceURL")?(e.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++Qe+"]")+"\n";t.replace(f,function(e,n,i,r,s,l){return i||(i=r),h+=t.slice(c,l).replace(Ae,F),n&&(o=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),i&&(h+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),c=l+e.length,e}),h+="';\n";var g=qo.call(e,"variable")&&e.variable;g||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(Kt,""):h).replace(Zt,"$1").replace(Qt,"$1;"),h="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var v=Dl(function(){return Po(l,p+"return "+h).apply(H,u)});if(v.source=h,Kr(v))throw v;return v},n.times=function(t,e){if((t=lo(t))<1||t>ht)return[];var n=gt,i=wa(t,gt);e=or(e),t-=gt;for(var r=A(i,e);++n<t;)e(n);return r},n.toFinite=so,n.toInteger=lo,n.toLength=uo,n.toLower=function(t){return fo(t).toLowerCase()},n.toNumber=co,n.toSafeInteger=function(t){return t?Ye(lo(t),-ht,ht):0===t?t:0},n.toString=fo,n.toUpper=function(t){return fo(t).toUpperCase()},n.trim=function(t,e,n){if((t=fo(t))&&(n||e===H))return t.replace(de,"");if(!t||!(e=ci(e)))return t;var i=z(t),r=z(e);return xi(i,$(i,r),I(i,r)+1).join("")},n.trimEnd=function(t,e,n){if((t=fo(t))&&(n||e===H))return t.replace(fe,"");if(!t||!(e=ci(e)))return t;var i=z(t);return xi(i,0,I(i,z(e))+1).join("")},n.trimStart=function(t,e,n){if((t=fo(t))&&(n||e===H))return t.replace(he,"");if(!t||!(e=ci(e)))return t;var i=z(t);return xi(i,$(i,z(e))).join("")},n.truncate=function(t,e){var n=30,i="...";if(to(e)){var r="separator"in e?e.separator:r;n="length"in e?lo(e.length):n,i="omission"in e?ci(e.omission):i}var o=(t=fo(t)).length;if(P(t)){var a=z(t);o=a.length}if(n>=o)return t;var s=n-B(i);if(s<1)return i;var l=a?xi(a,0,s).join(""):t.slice(0,s);if(r===H)return l+i;if(a&&(s+=l.length-s),Qs(r)){if(t.slice(s).search(r)){var u,c=l;for(r.global||(r=jo(r.source,fo(_e.exec(r))+"g")),r.lastIndex=0;u=r.exec(c);)var d=u.index;l=l.slice(0,d===H?s:d)}}else if(t.indexOf(ci(r),s)!=s){var h=l.lastIndexOf(r);h>-1&&(l=l.slice(0,h))}return l+i},n.unescape=function(t){return(t=fo(t))&&ee.test(t)?t.replace(Jt,wn):t},n.uniqueId=function(t){var e=++Yo;return fo(t)+e},n.upperCase=Tl,n.upperFirst=Sl,n.each=Rr,n.eachRight=Ur,n.first=Or,So(n,(Rs={},bn(n,function(t,e){qo.call(n.prototype,e)||(Rs[e]=t)}),Rs),{chain:!1}),n.VERSION="4.17.15",s(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){n[t].placeholder=n}),s(["drop","take"],function(t,e){T.prototype[t]=function(n){n=n===H?1:xa(lo(n),0);var i=this.__filtered__&&!e?new T(this):this.clone();return i.__filtered__?i.__takeCount__=wa(n,i.__takeCount__):i.__views__.push({size:wa(n,gt),type:t+(i.__dir__<0?"Right":"")}),i},T.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),s(["filter","map","takeWhile"],function(t,e){var n=e+1,i=1==n||3==n;T.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:or(t,3),type:n}),e.__filtered__=e.__filtered__||i,e}}),s(["head","last"],function(t,e){var n="take"+(e?"Right":"");T.prototype[t]=function(){return this[n](1).value()[0]}}),s(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");T.prototype[t]=function(){return this.__filtered__?new T(this):this[n](1)}}),T.prototype.compact=function(){return this.filter(ko)},T.prototype.find=function(t){return this.filter(t).head()},T.prototype.findLast=function(t){return this.reverse().find(t)},T.prototype.invokeMap=Jn(function(t,e){return"function"==typeof t?new T(this):this.map(function(n){return In(n,t,e)})}),T.prototype.reject=function(t){return this.filter(qr(or(t)))},T.prototype.slice=function(t,e){t=lo(t);var n=this;return n.__filtered__&&(t>0||e<0)?new T(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==H&&(n=(e=lo(e))<0?n.dropRight(-e):n.take(e-t)),n)},T.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},T.prototype.toArray=function(){return this.take(gt)},bn(T.prototype,function(t,e){var i=/^(?:filter|find|map|reject)|While$/.test(e),o=/^(?:head|last)$/.test(e),a=n[o?"take"+("last"==e?"Right":""):e],s=o||/^find/.test(e);a&&(n.prototype[e]=function(){var e=this.__wrapped__,l=o?[1]:arguments,u=e instanceof T,c=l[0],d=u||Ys(e),h=function(t){var e=a.apply(n,p([t],l));return o&&f?e[0]:e};d&&i&&"function"==typeof c&&1!=c.length&&(u=d=!1);var f=this.__chain__,g=!!this.__actions__.length,v=s&&!f,m=u&&!g;if(!s&&d){e=m?e:new T(this);var y=t.apply(e,l);return y.__actions__.push({func:jr,args:[h],thisArg:H}),new r(y,f)}return v&&m?t.apply(this,l):(y=this.thru(h),v?o?y.value()[0]:y.value():y)})}),s(["pop","push","shift","sort","splice","unshift"],function(t){var e=Bo[t],i=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);n.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var n=this.value();return e.apply(Ys(n)?n:[],t)}return this[i](function(n){return e.apply(Ys(n)?n:[],t)})}}),bn(T.prototype,function(t,e){var i=n[e];if(i){var r=i.name+"";qo.call(Fa,r)||(Fa[r]=[]),Fa[r].push({name:e,func:i})}}),Fa[Ri(H,tt).name]=[{name:"wrapper",func:H}],T.prototype.clone=function(){var t=new T(this.__wrapped__);return t.__actions__=Ai(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ai(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ai(this.__views__),t},T.prototype.reverse=function(){if(this.__filtered__){var t=new T(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},T.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Ys(t),i=e<0,r=n?t.length:0,o=function(t,e,n){for(var i=-1,r=n.length;++i<r;){var o=n[i],a=o.size;switch(o.type){case"drop":t+=a;break;case"dropRight":e-=a;break;case"take":e=wa(e,t+a);break;case"takeRight":t=xa(t,e-a)}}return{start:t,end:e}}(0,r,this.__views__),a=o.start,s=o.end,l=s-a,u=i?s:a-1,c=this.__iteratees__,d=c.length,h=0,f=wa(l,this.__takeCount__);if(!n||!i&&r==l&&f==l)return gi(t,this.__actions__);var p=[];t:for(;l--&&h<f;){for(var g=-1,v=t[u+=e];++g<d;){var m=c[g],y=m.iteratee,b=m.type,_=y(v);if(2==b)v=_;else if(!_){if(1==b)continue t;break t}}p[h++]=v}return p},n.prototype.at=Ts,n.prototype.chain=function(){return Lr(this)},n.prototype.commit=function(){return new r(this.value(),this.__chain__)},n.prototype.next=function(){this.__values__===H&&(this.__values__=ao(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?H:this.__values__[this.__index__++]}},n.prototype.plant=function(t){for(var e,n=this;n instanceof i;){var r=Dr(n);r.__index__=0,r.__values__=H,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},n.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof T){var e=t;return this.__actions__.length&&(e=new T(this)),(e=e.reverse()).__actions__.push({func:jr,args:[Fr],thisArg:H}),new r(e,this.__chain__)}return this.thru(Fr)},n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=function(){return gi(this.__wrapped__,this.__actions__)},n.prototype.first=n.prototype.head,la&&(n.prototype[la]=function(){return this}),n}();sn._=Cn,(r=function(){return Cn}.call(e,n,e,i))===H||(i.exports=r)}).call(this)}).call(e,n("DuR2"),n("3IRH")(t))},NYlw:function(t,e,n){var i=n("VU/8")(n("5F58"),null,!1,null,null,null);t.exports=i.exports},P4DF:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"",""])},Pq8s:function(t,e){},TNGo:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("hv7s"),e.default={props:["options","value"],mounted:function(){var t=this;$(this.$el).select2({data:this.options}).on("change",function(){t.$emit("input",this.value)}).val(this.value).trigger("change")},watch:{value:function(t){$(this.$el).val(t)},options:function(t){var e=this;$(this.$el).select2("destroy").empty().select2({data:t}).on("change",function(){e.$emit("input",this.value)}).val(this.value).trigger("change")},destroyed:function(){$(this.$el).off().select2("destroy")}}}},UZ9c:function(t,e,n){var i,r,o,a;a=function(t){return t.ui=t.ui||{},t.ui.version="1.12.1"},r=[n("7t+N")],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)},"VU/8":function(t,e){t.exports=function(t,e,n,i,r,o){var a,s=t=t||{},l=typeof t.default;"object"!==l&&"function"!==l||(a=t,s=t.default);var u,c="function"==typeof s?s.options:s;if(e&&(c.render=e.render,c.staticRenderFns=e.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),r&&(c._scopeId=r),o?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=u):i&&(u=i),u){var d=c.functional,h=d?c.render:c.beforeCreate;d?(c._injectStyles=u,c.render=function(t,e){return u.call(e),h(t,e)}):c.beforeCreate=h?[].concat(h,u):[u]}return{esModule:a,exports:s,options:c}}},WM06:function(t,e){},WRGp:function(t,e,n){window._=n("M4fF"),window.$=window.jQuery=n("7t+N"),n("z1kw"),jQuery.fn.uitooltip=jQuery.fn.tooltip,n("hSCs"),window.Vue=n("I3G/"),window.eventHub=new Vue,n("8+8L"),Vue.http.interceptors.push(function(t,e){t.headers.set("X-CSRF-TOKEN",Laravel.csrfToken),e()})},XDdR:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-7193ece9]{cursor:pointer}.m-b-none[data-v-7193ece9]{margin-bottom:0}",""])},YDmc:function(t,e,n){var i=n("VU/8")(n("TNGo"),n("0DKT"),!1,function(t){n("rqPf")},"data-v-09a38dce",null);t.exports=i.exports},a5IG:function(t,e){},aKHO:function(t,e){function n(t){if(t.loading)return'<i class="fa fa-spinner fa-spin" aria-hidden="true"></i> Loading...';var e="<div class='clearfix'>";return e+="<div class='pull-left' style='padding-right: 10px;'>",t.image?e+="<div style='width: 30px;'><img src='"+t.image+"' alt='"+t.tex+"' style='max-height: 20px; max-width: 30px;'></div>":e+="<div style='height: 20px; width: 30px;'></div>",e+="</div><div>"+t.text+"</div>",e+="</div>"}function i(t){return t.text.replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}$(function(){var t,e;0==$("#createModal").length&&$("body").append('<div class="modal fade" id="createModal"></div>\x3c!-- /.modal --\x3e'),$("#createModal").on("show.bs.modal",function(r){var o=$(r.relatedTarget);o.data("dependency"),t=o.data("select"),e=o.data("refresh"),$("#createModal").load(o.attr("href"),function(){$("#createModal").find("select.select2").select2(),$(".js-data-ajax").each(function(t,e){var r=$(e),o=r.data("endpoint");r.data("select"),r.select2({ajax:{url:Ziggy.baseUrl+"api/v1/"+o+"/selectlist",dataType:"json",delay:250,headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:function(t){return{search:t.term,page:t.page||1,assetStatusType:r.data("asset-status-type")}},processResults:function(t,e){
+return e.page=e.page||1,{results:t.items,pagination:{more:"true"}}},cache:!0},escapeMarkup:function(t){return t},templateResult:n,templateSelection:i})})})}),$("#createModal").on("click","#modal-save",function(){$.ajax({type:"POST",url:$(".modal-body form").attr("action"),headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:$(".modal-body form").serialize(),success:function(n){if("error"==n.status){var i="";for(var r in n.messages)i+="<li>Problem(s) with field <i><strong>"+r+"</strong></i>: "+n.messages[r];return $("#modal_error_msg").html(i).show(),!1}var o=n.payload.id,a=n.payload.name||n.payload.first_name+" "+n.payload.last_name;if(!o||!a)return console.error("Could not find resulting name or ID from modal-create. Name: "+a+", id: "+o),!1;$("#createModal").modal("hide"),$("#createModal").html("");var s=$("#"+e);s.length>0&&s.bootstrapTable("refresh");var l=document.getElementById(t);if(!l)return!1;l.options[l.length]=new Option(a,o),l.selectedIndex=l.length-1,$(l).trigger("change"),window.fetchCustomFields&&fetchCustomFields()},error:function(t){msg=t.responseJSON.messages||t.responseJSON.error,$("#modal_error_msg").html("Server Error: "+msg).show()}})})})},b7rt:function(t,e,n){var i=n("VU/8")(n("JHru"),n("bkb8"),!1,function(t){n("ct/M")},"data-v-473a48c2",null);t.exports=i.exports},bkb8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"col-md-12",class:t.alertType},[n("div",{staticClass:"alert",class:t.alertClassName},[n("button",{staticClass:"close",attrs:{type:"button"},on:{click:t.hideEvent}},[t._v("×")]),t._v(" "),n("i",{directives:[{name:"show",rawName:"v-show",value:"success"==t.alertType,expression:"alertType == 'success'"}],staticClass:"fa fa-check faa-pulse animated",attrs:{"aria-hidden":"true"}}),t._v(" "),n("strong",[t._v(t._s(t.title)+" ")]),t._v(" "),t._t("default")],2)])},staticRenderFns:[]}},"ct/M":function(t,e,n){var i=n("P4DF");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("77b67673",i,!0,{})},eOaq:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["fieldsetId","modelId","previousInput"],data:function(){return{identifiers:{fieldset:null,model:null},elements:{fieldset:null,field:null},fields:null,show:!1,error:!1}},ready:function(){this.init()},mounted:function(){this.init()},methods:{init:function(){this.defaultValues=JSON.parse(this.previousInput),this.identifiers.fieldset=this.fieldsetId,this.identifiers.model=this.modelId,this.elements.fieldset=$(".js-fieldset-field"),this.elements.field=document.querySelector(".js-default-values-toggler"),this.elements.fieldset&&this.elements.field&&(this.addListeners(),this.getFields())},addListeners:function(){var t=this;this.elements.field.addEventListener("change",function(e){return t.updateShow()}),this.elements.fieldset.on("change",function(e){return t.updateFields()})},getFields:function(){var t=this;if(!this.identifiers.fieldset)return this.fields=[];this.$http.get(this.getUrl()).then(function(t){return t.json()}).then(function(e){return t.checkResponseForError(e)}).then(function(e){return t.fields=e.rows}).then(function(){return t.determineIfShouldShow()})},getValue:function(t){return t.default_value?t.default_value:null!=this.defaultValues?this.defaultValues[t.id.toString()]:""},getUrl:function(){return this.identifiers.model?route("api.fieldsets.fields-with-default-value",{fieldset:this.identifiers.fieldset,model:this.identifiers.model}):route("api.fieldsets.fields",{fieldset:this.identifiers.fieldset})},checkResponseForError:function(t){return this.error="error"==t.status,t},updateShow:function(){this.identifiers.fieldset&&this.elements.field&&(this.show=this.elements.field.checked)},determineIfShouldShow:function(){this.elements.field.checked=this.elements.field.checked||this.show||this.fields.reduce(function(t,e){return t||e.default_value},!1),this.updateShow()},updateFields:function(){this.identifiers.fieldset=!!this.elements.fieldset[0].value&&parseInt(this.elements.fieldset[0].value),this.getFields()}}}},f5J3:function(t,e){},g9VR:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"",""])},hLk5:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".select2-dropdown[data-v-09a38dce]{z-index:9999}",""])},hSCs:function(t,e){"format global";"deps jquery";"exports $";if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),function(t){"use strict";t.fn.emulateTransitionEnd=function(e){var n=!1,i=this;return t(this).one("bsTransitionEnd",function(){n=!0}),setTimeout(function(){n||t(i).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=function(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in e)if(void 0!==t.style[n])return{end:e[n]};return!1}(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',n=function(n){t(n).on("click",e,this.close)};n.VERSION="3.3.4",n.TRANSITION_DURATION=150,n.prototype.close=function(e){function i(){a.detach().trigger("closed.bs.alert").remove()}var r=t(this),o=r.attr("data-target");o||(o=(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var a=t(o);e&&e.preventDefault(),a.length||(a=r.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i())};var i=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var i=t(this),r=i.data("bs.alert");r||i.data("bs.alert",r=new n(this)),"string"==typeof e&&r[e].call(i)})},t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",e,n.prototype.close)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.button"),o="object"==typeof e&&e;r||i.data("bs.button",r=new n(this,o)),"toggle"==e?r.toggle():e&&r.setState(e)})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.isLoading=!1};n.VERSION="3.3.4",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(e){var n="disabled",i=this.$element,r=i.is("input")?"val":"html",o=i.data();e+="Text",null==o.resetText&&i.data("resetText",i[r]()),setTimeout(t.proxy(function(){i[r](null==o[e]?this.options[e]:o[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(n).attr(n,n)):this.isLoading&&(this.isLoading=!1,i.removeClass(n).removeAttr(n))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var n=this.$element.find("input");"radio"==n.prop("type")&&(n.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&n.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=n,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(n){var i=t(n.target);i.hasClass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),n.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.carousel"),o=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e),a="string"==typeof e?e:o.slide;r||i.data("bs.carousel",r=new n(this,o)),"number"==typeof e?r.to(e):a?r[a]():o.interval&&r.pause().cycle()})}var n=function(e,n){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};n.VERSION="3.3.4",n.TRANSITION_DURATION=600,n.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},n.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},n.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},n.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},n.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);if(("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap)return e;var i=(n+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(i)},n.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",this.$items.eq(t))},n.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},n.prototype.next=function(){if(!this.sliding)return this.slide("next")},n.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},n.prototype.slide=function(e,i){var r=this.$element.find(".item.active"),o=i||this.getItemForDirection(e,r),a=this.interval,s="next"==e?"left":"right",l=this;if(o.hasClass("active"))return this.sliding=!1;var u=o[0],c=t.Event("slide.bs.carousel",{relatedTarget:u,direction:s});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(o)]);d&&d.addClass("active")}var h=t.Event("slid.bs.carousel",{relatedTarget:u,direction:s});return t.support.transition&&this.$element.hasClass("slide")?(o.addClass(e),o[0].offsetWidth,r.addClass(s),o.addClass(s),r.one("bsTransitionEnd",function(){o.removeClass([e,s].join(" ")).addClass("active"),r.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(h)},0)}).emulateTransitionEnd(n.TRANSITION_DURATION)):(r.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(h)),a&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=n,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var r=function(n){var i,r=t(this),o=t(r.attr("data-target")||(i=r.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(o.hasClass("carousel")){var a=t.extend({},o.data(),r.data()),s=r.attr("data-slide-to");s&&(a.interval=!1),e.call(o,a),s&&o.data("bs.carousel").to(s),n.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var n=t(this);e.call(n,n.data())})})}(jQuery),function(t){"use strict";function e(e){var n,i=e.attr("data-target")||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function n(e){return this.each(function(){var n=t(this),r=n.data("bs.collapse"),o=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e);!r&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),r||n.data("bs.collapse",r=new i(this,o)),"string"==typeof e&&r[e]()})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.4",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(e=r.data("bs.collapse"))&&e.transitioning)){var o=t.Event("show.bs.collapse");if(this.$element.trigger(o),!o.isDefaultPrevented()){r&&r.length&&(n.call(r,"hide"),e||r.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return s.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(s,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[a](this.$element[0][l])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var n=this.dimension();this.$element[n](this.$element[n]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return r.call(this);this.$element[n](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(i.TRANSITION_DURATION)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(n,i){var r=t(i);this.addAriaAndCollapsedClass(e(r),r)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var r=t.fn.collapse;t.fn.collapse=n,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var r=t(this);r.attr("data-target")||i.preventDefault();var o=e(r),a=o.data("bs.collapse")?"toggle":r.data();n.call(o,a)})}(jQuery),function(t){"use strict";function e(e){e&&3===e.which||(t(i).remove(),t(r).each(function(){var i=t(this),r=n(i),o={relatedTarget:this};r.hasClass("open")&&(r.trigger(e=t.Event("hide.bs.dropdown",o)),e.isDefaultPrevented()||(i.attr("aria-expanded","false"),r.removeClass("open").trigger("hidden.bs.dropdown",o)))}))}function n(e){var n=e.attr("data-target");n||(n=(n=e.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i=n&&t(n);return i&&i.length?i:e.parent()}var i=".dropdown-backdrop",r='[data-toggle="dropdown"]',o=function(e){t(e).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.4",o.prototype.toggle=function(i){var r=t(this);if(!r.is(".disabled, :disabled")){var o=n(r),a=o.hasClass("open");if(e(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",e);var s={relatedTarget:this};if(o.trigger(i=t.Event("show.bs.dropdown",s)),i.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",s)}return!1}},o.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var i=t(this);if(e.preventDefault(),e.stopPropagation(),!i.is(".disabled, :disabled")){var o=n(i),a=o.hasClass("open");if(!a&&27!=e.which||a&&27==e.which)return 27==e.which&&o.find(r).trigger("focus"),i.trigger("click");var s=" li:not(.disabled):visible a",l=o.find('[role="menu"]'+s+', [role="listbox"]'+s);if(l.length){var u=l.index(e.target);38==e.which&&u>0&&u--,40==e.which&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var a=t.fn.dropdown;t.fn.dropdown=function(e){return this.each(function(){var n=t(this),i=n.data("bs.dropdown");i||n.data("bs.dropdown",i=new o(this)),"string"==typeof e&&i[e].call(n)})},t.fn.dropdown.Constructor=o,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=a,this},t(document).on("click.bs.dropdown.data-api",e).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,o.prototype.toggle).on("keydown.bs.dropdown.data-api",r,o.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',o.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',o.prototype.keydown)}(jQuery),function(t){"use strict";function e(e,i){return this.each(function(){var r=t(this),o=r.data("bs.modal"),a=t.extend({},n.DEFAULTS,r.data(),"object"==typeof e&&e);o||r.data("bs.modal",o=new n(this,a)),"string"==typeof e?o[e](i):a.show&&o.show(i)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.3.4",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var i=this,r=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(r),this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var r=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),r&&i.$element[0].offsetWidth,i.$element.addClass("in").attr("aria-hidden",!1),i.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:e});r?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(n.TRANSITION_DURATION):i.$element.trigger("focus").trigger(o)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var i=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&r;if(this.$backdrop=t('<div class="modal-backdrop '+r+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;o?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):a()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var i=t(this),r=i.attr("href"),o=t(i.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),a=o.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},o.data(),i.data());i.is("a")&&n.preventDefault(),o.one("show.bs.modal",function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(o,a,this)})}(jQuery),function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.init("tooltip",t,e)};e.VERSION="3.3.4",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,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,n,i){if(this.enabled=!0,this.type=e,this.$element=t(n),this.options=this.getOptions(i),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 a=r[o];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+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={},n=this.getDefaults();return this._options&&t.each(this._options,function(t,i){n[t]!=i&&(e[t]=i)}),e},e.prototype.enter=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n&&n.$tip&&n.$tip.is(":visible"))n.hoverState="in";else{if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},e.prototype.leave=function(e){var n=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n)),clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)},e.prototype.show=function(){var n=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!i)return;var r=this,o=this.tip(),a=this.getUID(this.type);this.setContent(),o.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&o.addClass("fade");var s="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(s);u&&(s=s.replace(l,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(this.options.container):o.insertAfter(this.$element);var c=this.getPosition(),d=o[0].offsetWidth,h=o[0].offsetHeight;if(u){var f=s,p=this.options.container?t(this.options.container):this.$element.parent(),g=this.getPosition(p);s="bottom"==s&&c.bottom+h>g.bottom?"top":"top"==s&&c.top-h<g.top?"bottom":"right"==s&&c.right+d>g.width?"left":"left"==s&&c.left-d<g.left?"right":s,o.removeClass(f).addClass(s)}var v=this.getCalculatedOffset(s,c,d,h);this.applyPlacement(v,s);var m=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",m).emulateTransitionEnd(e.TRANSITION_DURATION):m()}},e.prototype.applyPlacement=function(e,n){var i=this.tip(),r=i[0].offsetWidth,o=i[0].offsetHeight,a=parseInt(i.css("margin-top"),10),s=parseInt(i.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),e.top=e.top+a,e.left=e.left+s,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var l=i[0].offsetWidth,u=i[0].offsetHeight;"top"==n&&u!=o&&(e.top=e.top+o-u);var c=this.getViewportAdjustedDelta(n,e,l,u);c.left?e.left+=c.left:e.top+=c.top;var d=/top|bottom/.test(n),h=d?2*c.left-r+l:2*c.top-o+u,f=d?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(h,i[0][f],d)},e.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(n){function i(){"in"!=r.hoverState&&o.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),n&&n()}var r=this,o=t(this.$tip),a=t.Event("hide.bs."+this.type);if(this.$element.trigger(a),!a.isDefaultPrevented())return o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",i).emulateTransitionEnd(e.TRANSITION_DURATION):i(),this.hoverState=null,this},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var n=(e=e||this.$element)[0],i="BODY"==n.tagName,r=n.getBoundingClientRect();null==r.width&&(r=t.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var o=i?{top:0,left:0}:e.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},s=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},r,a,s,o)},e.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,n,i){var r={top:0,left:0};if(!this.$viewport)return r;var o=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var s=e.top-o-a.scroll,l=e.top+o-a.scroll+i;s<a.top?r.top=a.top-s:l>a.top+a.height&&(r.top=a.top+a.height-l)}else{var u=e.left-o,c=e.left+o+n;u<a.left?r.left=a.left-u:c>a.width&&(r.left=a.left+a.width-c)}return r},e.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var n=this;e&&((n=t(e.currentTarget).data("bs."+this.type))||(n=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,n))),n.tip().hasClass("in")?n.leave(n):n.enter(n)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var n=t.fn.tooltip;t.fn.tooltip=function(n){return this.each(function(){var i=t(this),r=i.data("bs.tooltip"),o="object"==typeof n&&n;!r&&/destroy|hide/.test(n)||(r||i.data("bs.tooltip",r=new e(this,o)),"string"==typeof n&&r[n]())})},t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=n,this}}(jQuery),function(t){"use strict";var e=function(t,e){this.init("popover",t,e)}
+;if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");e.VERSION="3.3.4",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),e.prototype.constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),n=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=function(n){return this.each(function(){var i=t(this),r=i.data("bs.popover"),o="object"==typeof n&&n;!r&&/destroy|hide/.test(n)||(r||i.data("bs.popover",r=new e(this,o)),"string"==typeof n&&r[n]())})},t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),function(t){"use strict";function e(n,i){this.$body=t(document.body),this.$scrollElement=t(t(n).is(document.body)?window:n),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var i=t(this),r=i.data("bs.scrollspy"),o="object"==typeof n&&n;r||i.data("bs.scrollspy",r=new e(this,o)),"string"==typeof n&&r[n]()})}e.VERSION="3.3.4",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),r=e.data("target")||e.attr("href"),o=/^#./.test(r)&&t(r);return o&&o.length&&o.is(":visible")&&[[o[n]().top+i,r]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),r=this.offsets,o=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),e>=i)return a!=(t=o[o.length-1])&&this.activate(t);if(a&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)a!=o[t]&&e>=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var n=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(n).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=n,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);n.call(e,e.data())})})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.tab");r||i.data("bs.tab",r=new n(this)),"string"==typeof e&&r[e]()})}var n=function(e){this.element=t(e)};n.VERSION="3.3.4",n.TRANSITION_DURATION=150,n.prototype.show=function(){var e=this.element,n=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=n.find(".active:last a"),o=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(o),e.trigger(a),!a.isDefaultPrevented()&&!o.isDefaultPrevented()){var s=t(i);this.activate(e.closest("li"),n),this.activate(s,s.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},n.prototype.activate=function(e,i,r){function o(){a.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var a=i.find("> .active"),s=r&&t.support.transition&&(a.length&&a.hasClass("fade")||!!i.find("> .fade").length);a.length&&s?a.one("bsTransitionEnd",o).emulateTransitionEnd(n.TRANSITION_DURATION):o(),a.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=n,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var r=function(n){n.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.affix"),o="object"==typeof e&&e;r||i.data("bs.affix",r=new n(this,o)),"string"==typeof e&&r[e]()})}var n=function(e,i){this.options=t.extend({},n.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};n.VERSION="3.3.4",n.RESET="affix affix-top affix-bottom",n.DEFAULTS={offset:0,target:window},n.prototype.getState=function(t,e,n,i){var r=this.$target.scrollTop(),o=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return r<n&&"top";if("bottom"==this.affixed)return null!=n?!(r+this.unpin<=o.top)&&"bottom":!(r+a<=t-i)&&"bottom";var s=null==this.affixed,l=s?r:o.top;return null!=n&&r<=n?"top":null!=i&&l+(s?a:e)>=t-i&&"bottom"},n.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(n.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},n.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},n.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,r=i.top,o=i.bottom,a=t(document.body).height();"object"!=typeof i&&(o=r=i),"function"==typeof r&&(r=i.top(this.$element)),"function"==typeof o&&(o=i.bottom(this.$element));var s=this.getState(a,e,r,o);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(n.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-e-o})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=n,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var n=t(this),i=n.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(n,i)})})}(jQuery)},hv7s:function(t,e,n){var i,r,o,a;a=function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var n,i,r;return e&&e.requirejs||(e?i=e:e={},function(t){function e(t,e){return b.call(t,e)}function o(t,e){var n,i,r,o,a,s,l,u,c,d,h,f=e&&e.split("/"),p=m.map,g=p&&p["*"]||{};if(t){for(a=(t=t.split("/")).length-1,m.nodeIdCompat&&x.test(t[a])&&(t[a]=t[a].replace(x,"")),"."===t[0].charAt(0)&&f&&(t=f.slice(0,f.length-1).concat(t)),c=0;c<t.length;c++)if("."===(h=t[c]))t.splice(c,1),c-=1;else if(".."===h){if(0===c||1===c&&".."===t[2]||".."===t[c-1])continue;c>0&&(t.splice(c-1,2),c-=2)}t=t.join("/")}if((f||g)&&p){for(c=(n=t.split("/")).length;c>0;c-=1){if(i=n.slice(0,c).join("/"),f)for(d=f.length;d>0;d-=1)if((r=p[f.slice(0,d).join("/")])&&(r=r[i])){o=r,s=c;break}if(o)break;!l&&g&&g[i]&&(l=g[i],u=c)}!o&&l&&(o=l,s=u),o&&(n.splice(0,s,o),t=n.join("/"))}return t}function a(e,n){return function(){var i=_.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),h.apply(t,i.concat([e,n]))}}function s(t){return function(e){g[t]=e}}function l(n){if(e(v,n)){var i=v[n];delete v[n],y[n]=!0,d.apply(t,i)}if(!e(g,n)&&!e(y,n))throw new Error("No "+n);return g[n]}function u(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function c(t){return t?u(t):[]}var d,h,f,p,g={},v={},m={},y={},b=Object.prototype.hasOwnProperty,_=[].slice,x=/\.js$/;f=function(t,e){var n,i,r=u(t),a=r[0],s=e[1];return t=r[1],a&&(n=l(a=o(a,s))),a?t=n&&n.normalize?n.normalize(t,(i=s,function(t){return o(t,i)})):o(t,s):(a=(r=u(t=o(t,s)))[0],t=r[1],a&&(n=l(a))),{f:a?a+"!"+t:t,n:t,pr:a,p:n}},p={require:function(t){return a(t)},exports:function(t){var e=g[t];return void 0!==e?e:g[t]={}},module:function(t){return{id:t,uri:"",exports:g[t],config:function(t){return function(){return m&&m.config&&m.config[t]||{}}}(t)}}},d=function(n,i,r,o){var u,d,h,m,b,_,x,w=[],C=typeof r;if(_=c(o=o||n),"undefined"===C||"function"===C){for(i=!i.length&&r.length?["require","exports","module"]:i,b=0;b<i.length;b+=1)if("require"===(d=(m=f(i[b],_)).f))w[b]=p.require(n);else if("exports"===d)w[b]=p.exports(n),x=!0;else if("module"===d)u=w[b]=p.module(n);else if(e(g,d)||e(v,d)||e(y,d))w[b]=l(d);else{if(!m.p)throw new Error(n+" missing "+d);m.p.load(m.n,a(o,!0),s(d),{}),w[b]=g[d]}h=r?r.apply(g[n],w):void 0,n&&(u&&u.exports!==t&&u.exports!==g[n]?g[n]=u.exports:h===t&&x||(g[n]=h))}else n&&(g[n]=r)},n=i=h=function(e,n,i,r,o){if("string"==typeof e)return p[e]?p[e](n):l(f(e,c(n)).f);if(!e.splice){if((m=e).deps&&h(m.deps,m.callback),!n)return;n.splice?(e=n,n=i,i=null):e=t}return n=n||function(){},"function"==typeof i&&(i=r,r=o),r?d(t,e,n,i):setTimeout(function(){d(t,e,n,i)},4),h},h.config=function(t){return h(t)},n._defined=g,(r=function(t,n,i){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");n.splice||(i=n,n=[]),e(g,t)||e(v,t)||(v[t]=[t,n,i])}).amd={jQuery:!0}}(),e.requirejs=n,e.require=i,e.define=r),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(t){function e(t){var e=t.prototype,n=[];for(var i in e)"function"==typeof e[i]&&"constructor"!==i&&n.push(i);return n}var n={};n.Extend=function(t,e){function n(){this.constructor=t}var i={}.hasOwnProperty;for(var r in e)i.call(e,r)&&(t[r]=e[r]);return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},n.Decorate=function(t,n){function i(){var e=Array.prototype.unshift,i=n.prototype.constructor.length,r=t.prototype.constructor;i>0&&(e.call(arguments,t.prototype.constructor),r=n.prototype.constructor),r.apply(this,arguments)}var r=e(n),o=e(t);n.displayName=t.displayName,i.prototype=new function(){this.constructor=i};for(var a=0;a<o.length;a++){var s=o[a];i.prototype[s]=t.prototype[s]}for(var l=0;l<r.length;l++){var u=r[l];i.prototype[u]=function(t){var e=function(){};t in i.prototype&&(e=i.prototype[t]);var r=n.prototype[t];return function(){return Array.prototype.unshift.call(arguments,e),r.apply(this,arguments)}}(u)}return i};var i=function(){this.listeners={}};i.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},i.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=t,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].apply(this,e)},n.Observable=i,n.generateChars=function(t){for(var e="",n=0;n<t;n++)e+=Math.floor(36*Math.random()).toString(36);return e},n.bind=function(t,e){return function(){t.apply(e,arguments)}},n._convertData=function(t){for(var e in t){var n=e.split("-"),i=t;if(1!==n.length){for(var r=0;r<n.length;r++){var o=n[r];(o=o.substring(0,1).toLowerCase()+o.substring(1))in i||(i[o]={}),r==n.length-1&&(i[o]=t[e]),i=i[o]}delete t[e]}}return t},n.hasScroll=function(e,n){var i=t(n),r=n.style.overflowX,o=n.style.overflowY;return(r!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===r||"scroll"===o||i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth)},n.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},n.appendMany=function(e,n){if("1.7"===t.fn.jquery.substr(0,3)){var i=t();t.map(n,function(t){i=i.add(t)}),n=i}e.append(n)},n.__cache={};var r=0;return n.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++r),e=r.toString())),e},n.StoreData=function(t,e,i){var r=n.GetUniqueElementId(t);n.__cache[r]||(n.__cache[r]={}),n.__cache[r][e]=i},n.GetData=function(e,i){var r=n.GetUniqueElementId(e);return i?n.__cache[r]&&null!=n.__cache[r][i]?n.__cache[r][i]:t(e).data(i):n.__cache[r]},n.RemoveData=function(t){var e=n.GetUniqueElementId(t);null!=n.__cache[e]&&delete n.__cache[e],t.removeAttribute("data-select2-id")},n}),e.define("select2/results",["jquery","./utils"],function(t,e){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=t('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),r=this.options.get("translations").get(e.message);i.append(n(r(e.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var i=t.results[n],r=this.option(i);e.push(r)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current(function(i){var r=t.map(i,function(t){return t.id.toString()});n.$results.find(".select2-results__option[aria-selected]").each(function(){var n=t(this),i=e.GetData(this,"data"),o=""+i.id;null!=i.element&&i.element.selected||null==i.element&&t.inArray(o,r)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")})})},n.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},n=this.option(e);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var i=document.createElement("li");i.className="select2-results__option";var r={role:"option","aria-selected":"false"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var a in(null!=n.element&&o.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete r["aria-selected"],r["aria-disabled"]="true"),null==n.id&&delete r["aria-selected"],null!=n._resultId&&(i.id=n._resultId),n.title&&(i.title=n.title),n.children&&(r.role="group",r["aria-label"]=n.text,delete r["aria-selected"]),r){var s=r[a];i.setAttribute(a,s)}if(n.children){var l=t(i),u=document.createElement("strong");u.className="select2-results__group",t(u),this.template(n,u);for(var c=[],d=0;d<n.children.length;d++){var h=n.children[d],f=this.option(h);c.push(f)}var p=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(c),l.append(u),l.append(p)}else this.template(n,i);return e.StoreData(i,"data",n),i},n.prototype.bind=function(n,i){var r=this,o=n.id+"-results";this.$results.attr("id",o),n.on("results:all",function(t){r.clear(),r.append(t.data),n.isOpen()&&(r.setClasses(),r.highlightFirstItem())}),n.on("results:append",function(t){r.append(t.data),n.isOpen()&&r.setClasses()}),n.on("query",function(t){r.hideMessages(),r.showLoading(t)}),n.on("select",function(){n.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())}),n.on("unselect",function(){n.isOpen()&&(r.setClasses(),r.options.get("scrollAfterSelect")&&r.highlightFirstItem())}),n.on("open",function(){r.$results.attr("aria-expanded","true"),r.$results.attr("aria-hidden","false"),r.setClasses(),r.ensureHighlightVisible()}),n.on("close",function(){r.$results.attr("aria-expanded","false"),r.$results.attr("aria-hidden","true"),r.$results.removeAttr("aria-activedescendant")}),n.on("results:toggle",function(){var t=r.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),n.on("results:select",function(){var t=r.getHighlightedResults();if(0!==t.length){var n=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?r.trigger("close",{}):r.trigger("select",{data:n})}}),n.on("results:previous",function(){var t=r.getHighlightedResults(),e=r.$results.find("[aria-selected]"),n=e.index(t);if(!(n<=0)){var i=n-1;0===t.length&&(i=0);var o=e.eq(i);o.trigger("mouseenter");var a=r.$results.offset().top,s=o.offset().top,l=r.$results.scrollTop()+(s-a);0===i?r.$results.scrollTop(0):s-a<0&&r.$results.scrollTop(l)}}),n.on("results:next",function(){var t=r.getHighlightedResults(),e=r.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var i=e.eq(n);i.trigger("mouseenter");var o=r.$results.offset().top+r.$results.outerHeight(!1),a=i.offset().top+i.outerHeight(!1),s=r.$results.scrollTop()+a-o;0===n?r.$results.scrollTop(0):a>o&&r.$results.scrollTop(s)}}),n.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),n.on("results:message",function(t){r.displayMessage(t)}),t.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=r.$results.scrollTop(),n=r.$results.get(0).scrollHeight-e+t.deltaY,i=t.deltaY>0&&e-t.deltaY<=0,o=t.deltaY<0&&n<=r.$results.height();i?(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(n){var i=t(this),o=e.GetData(this,"data");"true"!==i.attr("aria-selected")?r.trigger("select",{originalEvent:n,data:o}):r.options.get("multiple")?r.trigger("unselect",{originalEvent:n,data:o}):r.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(n){var i=e.GetData(this,"data");r.getHighlightedResults().removeClass("select2-results__option--highlighted"),r.trigger("results:focus",{data:i,element:t(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),n=this.$results.offset().top,i=t.offset().top,r=this.$results.scrollTop()+(i-n),o=i-n;r-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(r)}},n.prototype.template=function(e,n){var i=this.options.get("templateResult"),r=this.options.get("escapeMarkup"),o=i(e,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=r(o):t(n).append(o)},n}),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,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var n=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")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},i.prototype.bind=function(t,e){var i=this,r=t.id+"-results";this.container=t,this.$selection.on("focus",function(t){i.trigger("focus",t)}),this.$selection.on("blur",function(t){i._handleBlur(t)}),this.$selection.on("keydown",function(t){i.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){i.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){i.update(t.data)}),t.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",r),i._attachCloseHandler(t)}),t.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.trigger("focus"),i._detachCloseHandler(t)}),t.on("enable",function(){i.$selection.attr("tabindex",i._tabindex),i.$selection.attr("aria-disabled","false")}),t.on("disable",function(){i.$selection.attr("tabindex","-1"),i.$selection.attr("aria-disabled","true")})},i.prototype._handleBlur=function(e){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)},1)},i.prototype._attachCloseHandler=function(n){t(document.body).on("mousedown.select2."+n.id,function(n){var i=t(n.target).closest(".select2");t(".select2.select2-container--open").each(function(){this!=i[0]&&e.GetData(this,"element").select2("close")})})},i.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},i.prototype.position=function(t,e){e.find(".selection").append(t)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,n,i){function r(){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,e),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},r.prototype.bind=function(t,e){var n=this;r.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),t.on("focus",function(e){t.isOpen()||n.$selection.trigger("focus")})},r.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return t("<span></span>")},r.prototype.update=function(t){if(0!==t.length){var e=t[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(e,n);n.empty().append(i);var r=e.title||e.text;r?n.attr("title",r):n.removeAttr("title")}else this.clear()},r}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,n){function i(t,e){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},i.prototype.bind=function(e,r){var o=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){o.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!o.isDisabled()){var i=t(this).parent(),r=n.GetData(i[0],"data");o.trigger("unselect",{originalEvent:e,data:r})}})},i.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},i.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],i=0;i<t.length;i++){var r=t[i],o=this.selectionContainer(),a=this.display(r,o);o.append(a);var s=r.title||r.text;s&&o.attr("title",s),n.StoreData(o[0],"data",r),e.push(o)}var l=this.$selection.find(".select2-selection__rendered");n.appendMany(l,e)}},i}),e.define("select2/selection/placeholder",["../utils"],function(t){function e(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();return n.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||n)return t.call(this,e);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},e}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(t,e,n){function i(){}return i.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){i._handleClear(t)}),e.on("keypress",function(t){i._handleKeyboardClear(t,e)})},i.prototype._handleClear=function(t,e){if(!this.isDisabled()){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();var r=n.GetData(i[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var a={data:r};if(this.trigger("clear",a),a.prevented)this.$element.val(o);else{for(var s=0;s<r.length;s++)if(a={data:r[s]},this.trigger("unselect",a),a.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},i.prototype._handleKeyboardClear=function(t,n,i){i.isOpen()||n.which!=e.DELETE&&n.which!=e.BACKSPACE||this._handleClear(n)},i.prototype.update=function(e,i){if(e.call(this,i),!(this.$selection.find(".select2-selection__placeholder").length>0||0===i.length)){var r=this.options.get("translations").get("removeAllItems"),o=t('<span class="select2-selection__clear" title="'+r()+'">&times;</span>');n.StoreData(o[0],"data",i),this.$selection.find(".select2-selection__rendered").prepend(o)}},i}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,n){function i(t,e,n){t.call(this,e,n)}return i.prototype.render=function(e){var n=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=e.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(t,i,r){var o=this,a=i.id+"-results";t.call(this,i,r),i.on("open",function(){o.$search.attr("aria-controls",a),o.$search.trigger("focus")}),i.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),i.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),i.on("disable",function(){o.$search.prop("disabled",!0)}),i.on("focus",function(t){o.$search.trigger("focus")}),i.on("results:focus",function(t){t.data._resultId?o.$search.attr("aria-activedescendant",t.data._resultId):o.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(t){o.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){o._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===n.BACKSPACE&&""===o.$search.val()){var i=o.$searchContainer.prev(".select2-selection__choice");if(i.length>0){var r=e.GetData(i[0],"data");o.searchRemoveChoice(r),t.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(t){o.$search.val()&&t.stopPropagation()});var s=document.documentMode,l=s&&s<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){l?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(l&&"input"===t.type)o.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=n.SHIFT&&e!=n.CTRL&&e!=n.ALT&&e!=n.TAB&&o.handleSearch(t)}})},i.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},
+i.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},i.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",t)},i}),e.define("select2/selection/eventRelay",["jquery"],function(t){function e(){}return e.prototype.bind=function(e,n,i){var r=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],a=["opening","closing","selecting","unselecting","clearing"];e.call(this,n,i),n.on("*",function(e,n){if(-1!==t.inArray(e,o)){n=n||{};var i=t.Event("select2:"+e,{params:n});r.$element.trigger(i),-1!==t.inArray(e,a)&&(n.prevented=i.isDefaultPrevented())}})},e}),e.define("select2/translation",["jquery","require"],function(t,e){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={},n.loadPath=function(t){if(!(t in n._cache)){var i=e(t);n._cache[t]=i}return new n(n._cache[t])},n}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),e.define("select2/data/base",["../utils"],function(t){function e(t,n){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,n){var i=e.id+"-result-";return i+=t.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+t.generateChars(4),i},e}),e.define("select2/data/select",["./base","../utils","jquery"],function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,t),i.prototype.current=function(t){var e=[],i=this;this.$element.find(":selected").each(function(){var t=n(this),r=i.item(t);e.push(r)}),t(e)},i.prototype.select=function(t){var e=this;if(t.selected=!0,n(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current(function(i){var r=[];(t=[t]).push.apply(t,i);for(var o=0;o<t.length;o++){var a=t[o].id;-1===n.inArray(a,r)&&r.push(a)}e.$element.val(r),e.$element.trigger("input").trigger("change")});else{var i=t.id;this.$element.val(i),this.$element.trigger("input").trigger("change")}},i.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,n(t.element).is("option"))return t.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(i){for(var r=[],o=0;o<i.length;o++){var a=i[o].id;a!==t.id&&-1===n.inArray(a,r)&&r.push(a)}e.$element.val(r),e.$element.trigger("input").trigger("change")})}},i.prototype.bind=function(t,e){var n=this;this.container=t,t.on("select",function(t){n.select(t.data)}),t.on("unselect",function(t){n.unselect(t.data)})},i.prototype.destroy=function(){this.$element.find("*").each(function(){e.RemoveData(this)})},i.prototype.query=function(t,e){var i=[],r=this;this.$element.children().each(function(){var e=n(this);if(e.is("option")||e.is("optgroup")){var o=r.item(e),a=r.matches(t,o);null!==a&&i.push(a)}}),e({results:i})},i.prototype.addOptions=function(t){e.appendMany(this.$element,t)},i.prototype.option=function(t){var i;t.children?(i=document.createElement("optgroup")).label=t.text:void 0!==(i=document.createElement("option")).textContent?i.textContent=t.text:i.innerText=t.text,void 0!==t.id&&(i.value=t.id),t.disabled&&(i.disabled=!0),t.selected&&(i.selected=!0),t.title&&(i.title=t.title);var r=n(i),o=this._normalizeItem(t);return o.element=i,e.StoreData(i,"data",o),r},i.prototype.item=function(t){var i={};if(null!=(i=e.GetData(t[0],"data")))return i;if(t.is("option"))i={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){i={text:t.prop("label"),children:[],title:t.prop("title")};for(var r=t.children("option"),o=[],a=0;a<r.length;a++){var s=n(r[a]),l=this.item(s);o.push(l)}i.children=o}return(i=this._normalizeItem(i)).element=t[0],e.StoreData(t[0],"data",i),i},i.prototype._normalizeItem=function(t){return t!==Object(t)&&(t={id:t,text:t}),null!=(t=n.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),n.extend({},{selected:!1,disabled:!1},t)},i.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},i}),e.define("select2/data/array",["./select","../utils","jquery"],function(t,e,n){function i(t,e){this._dataToConvert=e.get("data")||[],i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype.bind=function(t,e){i.__super__.bind.call(this,t,e),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(t){var e=this.$element.find("option").filter(function(e,n){return n.value==t.id.toString()});0===e.length&&(e=this.option(t),this.addOptions(e)),i.__super__.select.call(this,t)},i.prototype.convertToOptions=function(t){for(var i=this,r=this.$element.find("option"),o=r.map(function(){return i.item(n(this)).id}).get(),a=[],s=0;s<t.length;s++){var l=this._normalizeItem(t[s]);if(n.inArray(l.id,o)>=0){var u=r.filter(function(t){return function(){return n(this).val()==t.id}}(l)),c=this.item(u),d=n.extend(!0,{},l,c),h=this.option(d);u.replaceWith(h)}else{var f=this.option(l);if(l.children){var p=this.convertToOptions(l.children);e.appendMany(f,p)}a.push(f)}}return a},i}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,n){function i(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})},transport:function(t,e,i){var r=n.ajax(t);return r.then(e),r.fail(i),r}};return n.extend({},e,t,!0)},i.prototype.processResults=function(t){return t},i.prototype.query=function(t,e){function i(){var i=o.transport(o,function(i){var o=r.processResults(i,t);r.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(o)},function(){"status"in i&&(0===i.status||"0"===i.status)||r.trigger("results:message",{message:"errorLoading"})});r._request=i}var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var o=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof o.url&&(o.url=o.url.call(this.$element,t)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},i}),e.define("select2/data/tags",["jquery"],function(t){function e(e,n,i){var r=i.get("tags"),o=i.get("createTag");void 0!==o&&(this.createTag=o);var a=i.get("insertTag");if(void 0!==a&&(this.insertTag=a),e.call(this,n,i),t.isArray(r))for(var s=0;s<r.length;s++){var l=r[s],u=this._normalizeItem(l),c=this.option(u);this.$element.append(c)}}return e.prototype.query=function(t,e,n){var i=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,function t(r,o){for(var a=r.results,s=0;s<a.length;s++){var l=a[s],u=null!=l.children&&!t({results:l.children},!0);if((l.text||"").toUpperCase()===(e.term||"").toUpperCase()||u)return!o&&(r.data=a,void n(r))}if(o)return!0;var c=i.createTag(e);if(null!=c){var d=i.option(c);d.attr("data-select2-tag",!0),i.addOptions([d]),i.insertTag(a,c)}r.results=a,n(r)}):t.call(this,e,n)},e.prototype.createTag=function(e,n){var i=t.trim(n.term);return""===i?null:{id:i,text:i}},e.prototype.insertTag=function(t,e,n){e.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||t(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(t){function e(t,e,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),t.call(this,e,n)}return e.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,n,i){var r=this;n.term=n.term||"";var o=this.tokenizer(n,this.options,function(e){var n=r._normalizeItem(e);if(!r.$element.find("option").filter(function(){return t(this).val()===n.id}).length){var i=r.option(n);i.attr("data-select2-tag",!0),r._removeOldTags(),r.addOptions([i])}!function(t){r.trigger("select",{data:t})}(n)});o.term!==n.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),n.term=o.term),e.call(this,n,i)},e.prototype.tokenizer=function(e,n,i,r){for(var o=i.get("tokenSeparators")||[],a=n.term,s=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};s<a.length;){var u=a[s];if(-1!==t.inArray(u,o)){var c=a.substr(0,s),d=l(t.extend({},n,{term:c}));null!=d?(r(d),a=a.substr(s+1)||"",s=0):s++}else s++}return{term:a}},e}),e.define("select2/data/minimumInputLength",[],function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t}),e.define("select2/data/maximumInputLength",[],function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t}),e.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",function(){i._checkIfMaximumSelected()})},t.prototype.query=function(t,e,n){var i=this;this._checkIfMaximumSelected(function(){t.call(i,e,n)})},t.prototype._checkIfMaximumSelected=function(t,e){var n=this;this.current(function(t){var i=null!=t?t.length:0;n.maximumSelectionLength>0&&i>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):e&&e()})},t}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){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 e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define("select2/dropdown/search",["jquery","../utils"],function(t,e){function n(){}return n.prototype.render=function(e){var n=e.call(this),i=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=i,this.$search=i.find("input"),n.prepend(i),n},n.prototype.bind=function(e,n,i){var r=this,o=n.id+"-results";e.call(this,n,i),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)}),n.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)}),n.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")}),n.on("focus",function(){n.isOpen()||r.$search.trigger("focus")}),n.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"))}),n.on("results:focus",function(t){t.data._resultId?r.$search.attr("aria-activedescendant",t.data._resultId):r.$search.removeAttr("aria-activedescendant")})},n.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.showSearch=function(t,e){return!0},n}),e.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,i)}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 n=e.slice(0),i=e.length-1;i>=0;i--){var r=e[i];this.placeholder.id===r.id&&n.splice(i,1)}return n},t}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(t){function e(t,e,n,i){this.lastParams={},t.call(this,e,n,i),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,n){var i=this;t.call(this,e,n),e.on("query",function(t){i.lastParams=t,i.loading=!0}),e.on("query:append",function(t){i.lastParams=t,i.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>'),n=this.options.get("translations").get("loadingMore");return e.html(n(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(t,e){function n(e,n,i){this.$dropdownParent=t(i.get("dropdownParent")||document.body),e.call(this,n,i)}return n.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("open",function(){i._showDropdown(),i._attachPositioningHandler(e),i._bindContainerResultHandlers(e)}),e.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},n.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(e){var n=t("<span></span>"),i=e.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(t,e){if(!this._containerResultsHandlersBound){var n=this;e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,i){var r=this,o="scroll.select2."+i.id,a="resize.select2."+i.id,s="orientationchange.select2."+i.id,l=this.$container.parents().filter(e.hasScroll);l.each(function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})}),l.on(o,function(n){var i=e.GetData(this,"select2-scroll-position");t(this).scrollTop(i.y)}),t(window).on(o+" "+a+" "+s,function(t){r._positionDropdown(),r._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var r="scroll.select2."+i.id,o="resize.select2."+i.id,a="orientationchange.select2."+i.id;this.$container.parents().filter(e.hasScroll).off(r),t(window).off(r+" "+o+" "+a)},n.prototype._positionDropdown=function(){var e=t(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),r=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var a={height:this.$container.outerHeight(!1)};a.top=o.top,a.bottom=o.top+a.height;var s=this.$dropdown.outerHeight(!1),l=e.scrollTop(),u=e.scrollTop()+e.height(),c=l<o.top-s,d=u>o.bottom+s,h={left:o.left,top:a.bottom},f=this.$dropdownParent;"static"===f.css("position")&&(f=f.offsetParent());var p={top:0,left:0};(t.contains(document.body,f[0])||f[0].isConnected)&&(p=f.offset()),h.top-=p.top,h.left-=p.left,n||i||(r="below"),d||!c||n?!c&&d&&n&&(r="below"):r="above",("above"==r||n&&"below"!==r)&&(h.top=a.top-p.top-s),null!=r&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+r),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+r)),this.$dropdownContainer.css(h)},n.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var n=0,i=0;i<e.length;i++){var r=e[i];r.children?n+=t(r.children):n++}return n}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),e.define("select2/dropdown/selectOnClose",["../utils"],function(t){function e(){}return e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("close",function(t){i._handleSelectOnClose(t)})},e.prototype._handleSelectOnClose=function(e,n){if(n&&null!=n.originalSelect2Event){var i=n.originalSelect2Event;if("select"===i._type||"unselect"===i._type)return}var r=this.getHighlightedResults();if(!(r.length<1)){var o=t.GetData(r[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",function(t){i._selectTriggered(t)}),e.on("unselect",function(t){i._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,n="Please delete "+e+" character";return 1!=e&&(n+="s"),n},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(t,e,n,i,r,o,a,s,l,u,c,d,h,f,p,g,v,m,y,b,_,x,w,C,k,T,S,D,A){function E(){this.reset()}return E.prototype.apply=function(c){if(null==(c=t.extend(!0,{},this.defaults,c)).dataAdapter){if(null!=c.ajax?c.dataAdapter=p:null!=c.data?c.dataAdapter=f:c.dataAdapter=h,c.minimumInputLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,m)),c.maximumInputLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,y)),c.maximumSelectionLength>0&&(c.dataAdapter=u.Decorate(c.dataAdapter,b)),c.tags&&(c.dataAdapter=u.Decorate(c.dataAdapter,g)),null==c.tokenSeparators&&null==c.tokenizer||(c.dataAdapter=u.Decorate(c.dataAdapter,v)),null!=c.query){var d=e(c.amdBase+"compat/query");c.dataAdapter=u.Decorate(c.dataAdapter,d)}if(null!=c.initSelection){var A=e(c.amdBase+"compat/initSelection");c.dataAdapter=u.Decorate(c.dataAdapter,A)}}if(null==c.resultsAdapter&&(c.resultsAdapter=n,null!=c.ajax&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,C)),null!=c.placeholder&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,w)),c.selectOnClose&&(c.resultsAdapter=u.Decorate(c.resultsAdapter,S))),null==c.dropdownAdapter){if(c.multiple)c.dropdownAdapter=_;else{var E=u.Decorate(_,x);c.dropdownAdapter=E}if(0!==c.minimumResultsForSearch&&(c.dropdownAdapter=u.Decorate(c.dropdownAdapter,T)),c.closeOnSelect&&(c.dropdownAdapter=u.Decorate(c.dropdownAdapter,D)),null!=c.dropdownCssClass||null!=c.dropdownCss||null!=c.adaptDropdownCssClass){var M=e(c.amdBase+"compat/dropdownCss");c.dropdownAdapter=u.Decorate(c.dropdownAdapter,M)}c.dropdownAdapter=u.Decorate(c.dropdownAdapter,k)}if(null==c.selectionAdapter){if(c.multiple?c.selectionAdapter=r:c.selectionAdapter=i,null!=c.placeholder&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,o)),c.allowClear&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,a)),c.multiple&&(c.selectionAdapter=u.Decorate(c.selectionAdapter,s)),null!=c.containerCssClass||null!=c.containerCss||null!=c.adaptContainerCssClass){var O=e(c.amdBase+"compat/containerCss");c.selectionAdapter=u.Decorate(c.selectionAdapter,O)}c.selectionAdapter=u.Decorate(c.selectionAdapter,l)}c.language=this._resolveLanguage(c.language),c.language.push("en");for(var $=[],I=0;I<c.language.length;I++){var F=c.language[I];-1===$.indexOf(F)&&$.push(F)}return c.language=$,c.translations=this._processTranslations(c.language,c.debug),c},E.prototype.reset=function(){function e(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return d[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:u.escapeMarkup,language:{},matcher:function n(i,r){if(""===t.trim(i.term))return r;if(r.children&&r.children.length>0){for(var o=t.extend(!0,{},r),a=r.children.length-1;a>=0;a--)null==n(i,r.children[a])&&o.children.splice(a,1);return o.children.length>0?o:n(i,o)}var s=e(r.text).toUpperCase(),l=e(i.term).toUpperCase();return s.indexOf(l)>-1?r:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},E.prototype.applyFromElement=function(t,e){
+var n=t.language,i=this.defaults.language,r=e.prop("lang"),o=e.closest("[lang]").prop("lang"),a=Array.prototype.concat.call(this._resolveLanguage(r),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(o));return t.language=a,t},E.prototype._resolveLanguage=function(e){if(!e)return[];if(t.isEmptyObject(e))return[];if(t.isPlainObject(e))return[e];var n;n=t.isArray(e)?e:[e];for(var i=[],r=0;r<n.length;r++)if(i.push(n[r]),"string"==typeof n[r]&&n[r].indexOf("-")>0){var o=n[r].split("-")[0];i.push(o)}return i},E.prototype._processTranslations=function(e,n){for(var i=new c,r=0;r<e.length;r++){var o=new c,a=e[r];if("string"==typeof a)try{o=c.loadPath(a)}catch(t){try{a=this.defaults.amdLanguageBase+a,o=c.loadPath(a)}catch(t){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+a+'" could not be automatically loaded. A fallback will be used instead.')}}else o=t.isPlainObject(a)?new c(a):a;i.extend(o)}return i},E.prototype.set=function(e,n){var i={};i[t.camelCase(e)]=n;var r=u._convertData(i);t.extend(!0,this.defaults,r)},new E}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,n,i){function r(e,r){if(this.options=e,null!=r&&this.fromElement(r),null!=r&&(this.options=n.applyFromElement(this.options,r)),this.options=n.apply(this.options),r&&r.is("input")){var o=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,o)}}return r.prototype.fromElement=function(t){function n(t,e){return e.toUpperCase()}var r=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),i.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),i.StoreData(t[0],"data",i.GetData(t[0],"select2Tags")),i.StoreData(t[0],"tags",!0)),i.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",i.GetData(t[0],"ajaxUrl")),i.StoreData(t[0],"ajax-Url",i.GetData(t[0],"ajaxUrl")));for(var o={},a=0;a<t[0].attributes.length;a++){var s=t[0].attributes[a].name;if("data-"==s.substr(0,"data-".length)){var l=s.substring("data-".length),u=i.GetData(t[0],l);o[l.replace(/-([a-z])/g,n)]=u}}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(o=e.extend(!0,{},t[0].dataset,o));var c=e.extend(!0,{},i.GetData(t[0]),o);for(var d in c=i._convertData(c))e.inArray(d,r)>-1||(e.isPlainObject(this.options[d])?e.extend(this.options[d],c[d]):this.options[d]=c[d]);return this},r.prototype.get=function(t){return this.options[t]},r.prototype.set=function(t,e){this.options[t]=e},r}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(t,e,n,i){var r=function(t,i){null!=n.GetData(t[0],"select2")&&n.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),i=i||{},this.options=new e(i,t),r.__super__.constructor.call(this);var o=t.attr("tabindex")||0;n.StoreData(t[0],"old-tabindex",o),t.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(t,this.options);var s=this.render();this._placeContainer(s);var l=this.options.get("selectionAdapter");this.selection=new l(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var u=this.options.get("dropdownAdapter");this.dropdown=new u(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var c=this.options.get("resultsAdapter");this.results=new c(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){d.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(t[0],"select2",this),t.data("select2",this)};return n.Extend(r,n.Observable),r.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},r.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},r.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var i=this._resolveWidth(t,"style");return null!=i?i:this._resolveWidth(t,"element")}if("element"==e){var r=t.outerWidth(!1);return r<=0?"auto":r+"px"}if("style"==e){var o=t.attr("style");if("string"!=typeof o)return null;for(var a=o.split(";"),s=0,l=a.length;s<l;s+=1){var u=a[s].replace(/\s/g,"").match(n);if(null!==u&&u.length>=1)return u[1]}return null}return"computedstyle"==e?window.getComputedStyle(t[0]).width:e},r.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},r.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e(function(e){t._syncA(),t._syncS(null,e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},r.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",function(e,n){t.trigger(e,n)})},r.prototype._registerSelectionEvents=function(){var e=this,n=["toggle","focus"];this.selection.on("toggle",function(){e.toggleDropdown()}),this.selection.on("focus",function(t){e.focus(t)}),this.selection.on("*",function(i,r){-1===t.inArray(i,n)&&e.trigger(i,r)})},r.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",function(e,n){t.trigger(e,n)})},r.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",function(e,n){t.trigger(e,n)})},r.prototype._registerEvents=function(){var t=this;this.on("open",function(){t.$container.addClass("select2-container--open")}),this.on("close",function(){t.$container.removeClass("select2-container--open")}),this.on("enable",function(){t.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){t.$container.addClass("select2-container--disabled")}),this.on("blur",function(){t.$container.removeClass("select2-container--focus")}),this.on("query",function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,function(n){t.trigger("results:all",{data:n,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(n){t.trigger("results:append",{data:n,query:e})})}),this.on("keypress",function(e){var n=e.which;t.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&e.altKey?(t.close(e),e.preventDefault()):n===i.ENTER?(t.trigger("results:select",{}),e.preventDefault()):n===i.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):n===i.UP?(t.trigger("results:previous",{}),e.preventDefault()):n===i.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&e.altKey)&&(t.open(),e.preventDefault())})},r.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},r.prototype._isChangeMutation=function(e,n){var i=!1,r=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(n)if(n.addedNodes&&n.addedNodes.length>0)for(var o=0;o<n.addedNodes.length;o++)n.addedNodes[o].selected&&(i=!0);else n.removedNodes&&n.removedNodes.length>0?i=!0:t.isArray(n)&&t.each(n,function(t,e){if(r._isChangeMutation(t,e))return i=!0,!1});else i=!0;return i}},r.prototype._syncSubtree=function(t,e){var n=this;this._isChangeMutation(t,e)&&this.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})})},r.prototype.trigger=function(t,e){var n=r.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in i){var o=i[t],a={prevented:!1,name:t,args:e};if(n.call(this,o,a),a.prevented)return void(e.prevented=!0)}n.call(this,t,e)},r.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},r.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},r.prototype.close=function(t){this.isOpen()&&this.trigger("close",{originalEvent:t})},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},r.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},r.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},r.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},r.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},r.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var n=e[0];t.isArray(n)&&(n=t.map(n,function(t){return t.toString()})),this.$element.val(n).trigger("input").trigger("change")},r.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},r.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(e[0],"element",this.$element),e},r}),e.define("jquery-mousewheel",["jquery"],function(t){return t}),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(t,e,n,i,r){if(null==t.fn.select2){var o=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var i=t.extend(!0,{},e);new n(t(this),i)}),this;if("string"==typeof e){var i,a=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=r.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),i=t[e].apply(t,a)}),t.inArray(e,o)>-1?this:i}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=i),n}),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n},r=[n("7t+N")],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)},hw3k:function(t,e){lineOptions={legend:{position:"bottom"},scales:{yAxes:[{ticks:{fontColor:"rgba(0,0,0,0.5)",fontStyle:"bold",beginAtZero:!0,maxTicksLimit:5,padding:20},gridLines:{drawTicks:!1,display:!1}}],xAxes:[{gridLines:{zeroLineColor:"transparent"},ticks:{padding:20,fontColor:"rgba(0,0,0,0.5)",fontStyle:"bold"}}]}},pieOptions={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:1,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,responsive:!0,maintainAspectRatio:!1,legendTemplate:"<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<segments.length; i++){%><li><i class='fa fa-circle-o' style='color: <%=segments[i].fillColor%>'></i><%if(segments[i].label){%><%=segments[i].label%><%}%> foo</li><%}%></ul>",tooltipTemplate:"<%=value %> <%=label%> "},$('meta[name="baseUrl"]').attr("content"),function(t,e){var n={modals:{}};n.modals.confirmDelete=function(){var e=t("table"),n=function(e){var n=t(this),i=t("#dataConfirmModal"),r=n.attr("href"),o=n.attr("data-content"),a=n.attr("data-title");return t("#myModalLabel").text(a),i.find(".modal-body").text(o),t("#deleteForm").attr("action",r),i.modal({show:!0}),!1};return{render:function(){e.on("click",".delete-asset",n)}}},t(function(){(new n.modals.confirmDelete).render()})}(jQuery,window.snipeit.settings),$(document).ready(function(){function t(t){t instanceof jQuery||(t=$(t));var e=t.data("select2");return searchElement=e.dropdown.$search||e.$container.find(".select2-search__field"),searchElement.val()}function e(t){if(t.loading)return'<i class="fa fa-spinner fa-spin" aria-hidden="true"></i> Loading...';var e="<div class='clearfix'>";return e+="<div class='pull-left' style='padding-right: 10px;'>",t.image?e+="<div style='width: 30px;'><img src='"+t.image+"' style='max-height: 20px; max-width: 30px;' alt='"+t.text+"'></div>":e+="<div style='height: 20px; width: 30px;'></div>",e+="</div><div>"+t.text+"</div>",e+="</div>"}function n(t){return t.text.replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function i(t){return t<1024?t+" Bytes":t<1048576?(t/1024).toFixed(2)+" KB":t<1073741824?(t/1048576).toFixed(2)+" MB":(t/1073741824).toFixed(2)+" GB"}$(".slideout-menu-toggle").on("click",function(t){t.preventDefault();var e=$(".slideout-menu"),n=$(".slideout-menu").width();e.toggleClass("open"),e.hasClass("open")?(e.show(),e.animate({right:"0px"})):(e.animate({right:-n},"-350px"),e.fadeOut())}),$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({checkboxClass:"icheckbox_minimal-blue",radioClass:"iradio_minimal-blue"}),/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream||$('select.select2:not(".select2-hidden-accessible")').each(function(t,e){$(e).select2()}),$(".js-data-ajax").each(function(t,i){var r=$(i),o=r.data("endpoint");r.data("select"),r.select2({placeholder:"",allowClear:!0,ajax:{url:Ziggy.baseUrl+"api/v1/"+o+"/selectlist",dataType:"json",delay:250,headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")},data:function(t){return{search:t.term,page:t.page||1,assetStatusType:r.data("asset-status-type")}},processResults:function(t,e){return e.page=e.page||1,{results:t.items,pagination:{more:"true"}}},cache:!0},escapeMarkup:function(t){return t},templateResult:e,templateSelection:n})}),$(".select2-hidden-accessible").on("select2:selecting",function(e){var n=e.params.args.data,i=!1,r=$(this),o=t(r);e.params.args.originalEvent&&(i="mouseup"==e.params.args.originalEvent.type),i||(o.toLowerCase()&&n.text.toLowerCase().indexOf(o)<0?(e.preventDefault(),r.select2("close")):o.toLowerCase()&&n.text.toLowerCase().indexOf(o)>-1&&(e.params.args.noForceAjax=!0))}),$(".select2-hidden-accessible").on("select2:closing",function(e){var n=$(this),i=t(n),r=!1,o=!1;if(e.params.args.originalSelect2Event&&(r=e.params.args.originalSelect2Event.noForceAjax),e.params.args.originalEvent&&(o="mouseup"==e.params.args.originalEvent.type),i&&!r&&!o){var a=n.data("endpoint"),s=n.data("asset-status-type");$.ajax({url:Ziggy.baseUrl+"api/v1/"+a+"/selectlist?search="+i+"&page=1"+(s?"&assetStatusType="+s:""),dataType:"json",headers:{"X-Requested-With":"XMLHttpRequest","X-CSRF-TOKEN":$('meta[name="csrf-token"]').attr("content")}}).done(function(t){var e=n.select2("data").map(function(t){return+t.id}).filter(function(t){return 0!==t}),i=t.items.filter(function(t){return e.indexOf(+t.id)<0}),r=e.length>0?i[0]:t.items[0];if(r&&r.id){if(r.selected=!0,$("option[value='"+r.id+"']",n).length<1){var o=new Option(r.text,r.id,!0,!0);n.append(o)}else{var a="multiple"==n.attr("multiple");n.val(a?n.val().concat(r.id):n.val(r.id))}n.trigger("change"),n.trigger({type:"select2:select",params:{data:r}})}})}}),$(function(){$("input[name=checkout_to_type]").on("change",function(){var t=$("input[name=checkout_to_type]:checked").val(),e=$("#assigned_user option:selected").val();"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"),n=e+"-status",r=$(n);r.removeClass("text-success").removeClass("text-danger"),$(n+" .goodfile").remove(),$(n+" .badfile").remove(),$(n+" .previewSize").hide(),$(e+"-info").html("");for(var o=t.data("maxsize"),a=0,s=0;s<this.files.length;s++)a+=this.files[s].size,$(e+"-info").append('<span class="label label-default">'+this.files[s].name+" ("+i(this.files[s].size)+")</span> ");if(a>o)r.addClass("text-danger").removeClass("help-block").prepend('<i class="badfile fa fa-times"></i> ').append('<span class="previewSize"> Upload is '+i(a)+".</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 n=new FileReader;n.onload=function(t){e.attr("src",t.target.result)},n.readAsDataURL(t.files[0])}}(this,l),l.fadeIn()}})}),function(t){t.fn.toggleDisabled=function(e){return this.each(function(){var n,i=t(this);i.attr("disabled")?(i.removeAttr("disabled"),n=!1):(i.attr("disabled","disabled"),n=!0),e&&"function"==typeof e&&e(this,n)})}}(jQuery)},jbHB:function(t,e){},jr3m:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"tr{padding-left:30px}",""])},kxAE:function(t,e){},l4G8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("h2",[t._v("\n OAuth Clients\n ")]),t._v(" "),n("a",{staticClass:"action-link",on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),n("div",{staticClass:"panel-body"},[0===t.clients.length?n("p",{staticClass:"m-b-none"},[t._v("\n You have not created any OAuth clients.\n ")]):t._e(),t._v(" "),t.clients.length>0?n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.clients,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.id)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("code",[t._v(t._s(e.secret))])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link",on:{click:function(n){t.edit(e)}}},[t._v("\n Edit\n ")])]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.destroy(e)}}},[t._v("\n Delete\n ")])])])}))]):t._e()])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.createForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.createForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"create-client-name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.name,expression:"createForm.name"}],staticClass:"form-control",attrs:{id:"create-client-name",type:"text","aria-label":"create-client-name"},domProps:{value:t.createForm.name},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.store(e)},input:function(e){e.target.composing||(t.createForm.name=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"redirect"}},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.redirect,expression:"createForm.redirect"}],staticClass:"form-control",attrs:{type:"text","aria-label":"redirect",name:"redirect"},domProps:{value:t.createForm.redirect},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.store(e)},input:function(e){e.target.composing||(t.createForm.redirect=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-edit-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(3),t._v(" "),n("div",{staticClass:"modal-body"},[t.editForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(4),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.editForm.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"edit-client-name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.name,expression:"editForm.name"}],staticClass:"form-control",attrs:{id:"edit-client-name",type:"text","aria-label":"edit-client-name"},domProps:{value:t.editForm.name},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.update(e)},input:function(e){e.target.composing||(t.editForm.name=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label",attrs:{for:"redirect"}},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.editForm.redirect,expression:"editForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect","aria-label":"redirect"},domProps:{value:t.editForm.redirect},on:{keyup:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13))return null;t.update(e)},input:function(e){e.target.composing||(t.editForm.redirect=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.update}},[t._v("\n Save Changes\n ")])])])])])])},staticRenderFns:[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("thead",[n("tr",[n("th",[t._v("Client ID")]),t._v(" "),n("th",[t._v("Name")]),t._v(" "),n("th",[t._v("Secret")]),t._v(" "),n("th",[n("span",{staticClass:"sr-only"},[t._v("Edit")])]),t._v(" "),n("th",[n("span",{staticClass:"sr-only"},[t._v("Delete")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h2",{staticClass:"modal-title"},[this._v("\n Create Client\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h2",{staticClass:"modal-title"},[this._v("\n Edit Client\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])}]}},l9CE:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["file","customFields"],data:function(){return{activeFile:this.file,processDetail:!1,statusText:null,statusType:null,options:{importType:this.file.import_type,update:!1,importTypes:[{id:"asset",text:"Assets"},{id:"accessory",text:"Accessories"},{id:"consumable",text:"Consumables"},{id:"component",text:"Components"},{id:"license",text:"Licenses"},{id:"user",text:"Users"}],statusText:null},columnOptions:{general:[{id:"category",text:"Category"},{id:"company",text:"Company"},{id:"email",text:"Email"},{id:"item_name",text:"Item Name"},{id:"location",text:"Location"},{id:"maintained",text:"Maintained"},{id:"manufacturer",text:"Manufacturer"},{id:"notes",text:"Notes"},{id:"order_number",text:"Order Number"},{id:"purchase_cost",text:"Purchase Cost"},{id:"purchase_date",text:"Purchase Date"},{id:"quantity",text:"Quantity"},{id:"requestable",text:"Requestable"},{id:"serial",text:"Serial Number"},{id:"supplier",text:"Supplier"},{id:"username",text:"Username"},{id:"department",text:"Department"}],assets:[{id:"asset_tag",text:"Asset Tag"},{id:"asset_model",text:"Model Name"},{id:"checkout_class",text:"Checkout Type"},{id:"checkout_location",text:"Checkout Location"},{id:"image",text:"Image Filename"},{id:"model_number",text:"Model Number"},{id:"full_name",text:"Full Name"},{id:"status",text:"Status"},{id:"warranty_months",text:"Warranty Months"}],consumables:[{id:"item_no",text:"Item Number"},{id:"model_number",text:"Model Number"}],licenses:[{id:"asset_tag",text:"Assigned To Asset"},{id:"expiration_date",text:"Expiration Date"},{id:"full_name",text:"Full Name"},{id:"license_email",text:"Licensed To Email"},{id:"license_name",text:"Licensed To Name"},{id:"purchase_order",text:"Purchase Order"},{id:"reassignable",text:"Reassignable"},{id:"seats",text:"Seats"}],users:[{id:"employee_num",text:"Employee Number"},{id:"first_name",text:"First Name"},{id:"jobtitle",text:"Job Title"},{id:"last_name",text:"Last Name"},{id:"phone_number",text:"Phone Number"},{id:"manager_first_name",text:"Manager First Name"},{id:"manager_last_name",text:"Manager Last Name"},{id:"department",text:"Department"},{id:"activated",text:"Activated"}],customFields:this.customFields},columnMappings:this.file.field_map||{},activeColumn:null}},created:function(){window.eventHub.$on("showDetails",this.toggleExtendedDisplay),this.populateSelect2ActiveItems()},computed:{columns:function(){function t(t,e){return t.text<e.text?-1:t.text>e.text?1:0}switch(this.options.importType){case"asset":return this.columnOptions.general.concat(this.columnOptions.assets).concat(this.columnOptions.customFields).sort(t);case"consumable":return this.columnOptions.general.concat(this.columnOptions.consumables).sort(t);case"license":return this.columnOptions.general.concat(this.columnOptions.licenses).sort(t);case"user":return this.columnOptions.general.concat(this.columnOptions.users).sort(t)}return this.columnOptions.general},alertClass:function(){return"success"==this.statusType?"alert-success":"error"==this.statusType?"alert-danger":"alert-info"}},watch:{columns:function(){this.populateSelect2ActiveItems()}},methods:{postSave:function(){var t=this;if(console.log("saving"),console.log(this.options.importType),!this.options.importType)return this.statusType="error",
+void(this.statusText="An import type is required... ");this.statusType="pending",this.statusText="Processing...",this.$http.post(route("api.imports.importFile",this.file.id),{"import-update":this.options.update,"send-welcome":this.options.send_welcome,"import-type":this.options.importType,"run-backup":this.options.run_backup,"column-mappings":this.columnMappings}).then(function(e){var n=e.body;t.statusType="success",t.statusText="Success... Redirecting.",window.location.href=n.messages.redirect_url},function(e){var n=e.body;"import-errors"==n.status?(window.eventHub.$emit("importErrors",n.messages),t.statusType="error",t.statusText="Error"):t.$emit("alert",{message:n.messages,type:"danger",visible:!0}),t.displayImportModal=!1})},populateSelect2ActiveItems:function(){if(null==this.file.field_map){for(var t=0;t<this.file.header_row.length;t++)this.$set(this.columnMappings,this.file.header_row[t],null);for(var e=0;e<this.columns.length;e++){var n=this.columns[e],i=this.file.header_row.map(function(t){return t.toLowerCase()}).indexOf(n.text.toLowerCase());-1!=i&&this.$set(this.columnMappings,this.file.header_row[i],n.id)}}},toggleExtendedDisplay:function(t){t==this.file.id&&(this.processDetail=!this.processDetail)},updateModel:function(t,e){this.columnMappings[t]=e}},components:{select2:n("YDmc")}}},lAxH:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.default={props:["tokenUrl","scopesUrl"],data:function(){return{accessToken:null,tokens:[],scopes:[],form:{name:"",scopes:[],errors:[]}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens(),this.getScopes(),$("#modal-create-token").on("shown.bs.modal",function(){$("#create-token-name").focus()})},getTokens:function(){var t=this;this.$http.get(this.tokenUrl).then(function(e){t.tokens=e.data})},getScopes:function(){var t=this;this.$http.get(this.scopesUrl).then(function(e){t.scopes=e.data})},showCreateTokenForm:function(){$("#modal-create-token").modal("show")},store:function(){var t=this;this.accessToken=null,this.form.errors=[],this.$http.post(this.tokenUrl,this.form).then(function(e){t.form.name="",t.form.scopes=[],t.form.errors=[],t.tokens.push(e.data.token),t.showAccessToken(e.data.accessToken)}).catch(function(e){"object"===i(e.data)?t.form.errors=_.flatten(_.toArray(e.data)):(console.dir(t.form),t.form.errors=["Something went wrong. Please try again."])})},toggleScope:function(t){this.scopeIsAssigned(t)?this.form.scopes=_.reject(this.form.scopes,function(e){return e==t}):this.form.scopes.push(t)},scopeIsAssigned:function(t){return _.indexOf(this.form.scopes,t)>=0},showAccessToken:function(t){$("#modal-create-token").modal("hide"),this.accessToken=t,$("#modal-access-token").modal("show")},revoke:function(t){var e=this;this.$http.delete(this.tokenUrl+"/"+t.id).then(function(t){e.getTokens()})}}}},lafA:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.show&&t.fields.length?n("div",[n("div",{staticClass:"form-group"},[n("fieldset",[n("legend",{staticClass:"col-md-3 control-label"},[t._v("Default Values")]),t._v(" "),n("div",{staticClass:"col-sm-8 col-xl-7"},[t.error?n("p",[t._v("\n There was a problem retrieving the fields for this fieldset.\n ")]):t._e(),t._v(" "),t._l(t.fields,function(e){return n("div",{staticClass:"row"},[n("div",{staticClass:"col-sm-12 col-lg-6"},[n("label",{staticClass:"control-label",attrs:{for:"default-value"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),n("div",{staticClass:"col-sm-12 col-lg-6"},["text"==e.type?n("input",{staticClass:"form-control m-b-xs",attrs:{type:"text",id:"default-value"+e.id,name:"default_values["+e.id+"]"},domProps:{value:t.getValue(e)}}):t._e(),t._v(" "),"textarea"==e.type?n("textarea",{staticClass:"form-control",attrs:{id:"default-value"+e.id,name:"default_values["+e.id+"]"},domProps:{value:t.getValue(e)}}):t._e(),n("br"),t._v(" "),"listbox"==e.type?n("select",{staticClass:"form-control m-b-xs",attrs:{name:"default_values["+e.id+"]"}},[n("option",{attrs:{value:""}}),t._v(" "),t._l(e.field_values_array,function(i){return n("option",{domProps:{value:i,selected:t.getValue(e)==i}},[t._v(t._s(i))])})],2):t._e()])])})],2)])])]):t._e()])},staticRenderFns:[]}},m5pD:function(t,e){},mCvu:function(t,e,n){var i=n("jr3m");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("61594e8c",i,!0,{})},mttk:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("h2",[t._v("\n Personal Access Tokens\n ")]),t._v(" "),n("a",{staticClass:"action-link",on:{click:t.showCreateTokenForm}},[t._v("\n Create New Token\n ")])])]),t._v(" "),n("div",{staticClass:"panel-body"},[0===t.tokens.length?n("p",{staticClass:"m-b-none"},[t._v("\n You have not created any personal access tokens.\n ")]):t._e(),t._v(" "),t.tokens.length>0?n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.revoke(e)}}},[t._v("\n Delete\n ")])])])}))]):t._e()])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.form.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.form.errors,function(e){return n("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"},on:{submit:function(e){e.preventDefault(),t.store(e)}}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label",attrs:{for:"name"}},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-6"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.form.name,expression:"form.name"}],staticClass:"form-control",attrs:{id:"create-token-name",type:"text","aria-label":"name",name:"name"},domProps:{value:t.form.name},on:{input:function(e){e.target.composing||(t.form.name=e.target.value)}}})])]),t._v(" "),t.scopes.length>0?n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-4 control-label"},[t._v("Scopes")]),t._v(" "),n("div",{staticClass:"col-md-6"},t._l(t.scopes,function(e){return n("div",[n("div",{staticClass:"checkbox"},[n("label",[n("input",{attrs:{type:"checkbox"},domProps:{checked:t.scopeIsAssigned(e.id)},on:{click:function(n){t.toggleScope(e.id)}}}),t._v("\n\n "+t._s(e.id)+"\n ")])])])}))]):t._e()])]),t._v(" "),n("div",{staticClass:"modal-footer"},[n("button",{staticClass:"btn primary",attrs:{type:"button","data-dismiss":"modal"}},[t._v("Close")]),t._v(" "),n("button",{staticClass:"btn btn-primary",attrs:{type:"button"},on:{click:t.store}},[t._v("\n Create\n ")])])])])]),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-access-token",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(3),t._v(" "),n("div",{staticClass:"modal-body"},[n("p",[t._v("\n Here is your new personal access token. This is the only time it will be shown so don't lose it!\n You may now use this token to make API requests.\n ")]),t._v(" "),n("pre",[n("code",[t._v(t._s(t.accessToken))])])]),t._v(" "),t._m(4)])])])])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th",[e("span",{staticClass:"sr-only"},[this._v("Delete")])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Create Token\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("strong",[this._v("Whoops!")]),this._v(" Something went wrong!")])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-header"},[e("button",{staticClass:"close",attrs:{type:"button ","data-dismiss":"modal","aria-hidden":"true"}},[this._v("×")]),this._v(" "),e("h4",{staticClass:"modal-title"},[this._v("\n Personal Access Token\n ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-default",attrs:{type:"button","data-dismiss":"modal"}},[this._v("Close")])])}]}},oTR8:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.tokens.length>0?n("div",[n("div",{staticClass:"panel panel-default"},[n("h2",{staticClass:"panel-heading"},[t._v("Authorized Applications")]),t._v(" "),n("div",{staticClass:"panel-body"},[n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.tokens,function(e){return n("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.client.name)+"\n ")]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[e.scopes.length>0?n("span",[t._v("\n "+t._s(e.scopes.join(", "))+"\n ")]):t._e()]),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.revoke(e)}}},[t._v("\n Revoke\n ")])])])}))])])])]):t._e()])},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("tr",[e("th",[this._v("Name")]),this._v(" "),e("th",[this._v("Scopes")]),this._v(" "),e("th",[e("span",{staticClass:"sr-only"},[this._v("Delete")])])])])}]}},ooDj:function(t,e,n){var i=n("VU/8")(n("20cu"),n("oTR8"),!1,function(t){n("8Hdb")},"data-v-18abfa16",null);t.exports=i.exports},pI6b:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.processDetail,expression:"processDetail"}]},[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-2"}),t._v(" "),n("div",{staticClass:"col-md-8",staticStyle:{"padding-top":"30px",margin:"0 auto"}},[n("div",{staticClass:"dynamic-form-row"},[t._m(0),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("select2",{attrs:{options:t.options.importTypes,required:""},model:{value:t.options.importType,callback:function(e){t.options.importType=e},expression:"options.importType"}},[n("option",{attrs:{disabled:"",value:"0"}})])],1)])]),t._v(" "),n("div",{staticClass:"dynamic-form-row"},[t._m(1),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("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 n=t.options.update,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.options.update=n.concat([null])):o>-1&&(t.options.update=n.slice(0,o).concat(n.slice(o+1)))}else t.options.update=r}}})])]),t._v(" "),n("div",{staticClass:"dynamic-form-row"},[t._m(2),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("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 n=t.options.send_welcome,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.options.send_welcome=n.concat([null])):o>-1&&(t.options.send_welcome=n.slice(0,o).concat(n.slice(o+1)))}else t.options.send_welcome=r}}})])]),t._v(" "),n("div",{staticClass:"dynamic-form-row"},[t._m(3),t._v(" "),n("div",{staticClass:"col-md-7 col-xs-12"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.options.run_backup,expression:"options.run_backup"}],staticClass:"minimal",attrs:{type:"checkbox",name:"run-backup"},domProps:{checked:Array.isArray(t.options.run_backup)?t._i(t.options.run_backup,null)>-1:t.options.run_backup},on:{__c:function(e){var n=t.options.run_backup,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.options.run_backup=n.concat([null])):o>-1&&(t.options.run_backup=n.slice(0,o).concat(n.slice(o+1)))}else t.options.run_backup=r}}})])]),t._v(" "),t.statusText?n("div",{staticClass:"alert col-md-8 col-md-offset-2",class:t.alertClass,staticStyle:{"text-align":"left"}},[t._v("\n "+t._s(this.statusText)+"\n ")]):t._e()]),t._v(" "),t._m(4),t._v(" "),t._l(t.file.header_row,function(e,i){return[n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-2"}),t._v(" "),n("div",{staticClass:"col-md-8"},[n("div",{staticClass:"col-md-4 text-right"},[n("label",{staticClass:"control-label",attrs:{for:e}},[t._v(t._s(e))])]),t._v(" "),n("div",{staticClass:"col-md-4 form-group"},[n("div",{attrs:{required:""}},[n("select2",{attrs:{options:t.columns},model:{value:t.columnMappings[e],callback:function(n){t.$set(t.columnMappings,e,n)},expression:"columnMappings[header]"}},[n("option",{attrs:{value:"0"}},[t._v("Do Not Import")])])],1)]),t._v(" "),n("div",{staticClass:"col-md-4"},[n("p",{staticClass:"form-control-static"},[t._v(t._s(t.activeFile.first_row[i]))])])])])]}),t._v(" "),n("div",{staticClass:"row"},[n("div",{staticClass:"col-md-6 col-md-offset-2 text-right",staticStyle:{"padding-top":"20px"}},[n("button",{staticClass:"btn btn-sm btn-default",attrs:{type:"button"},on:{click:function(e){t.processDetail=!1}}},[t._v("Cancel")]),t._v(" "),n("button",{staticClass:"btn btn-sm btn-primary",attrs:{type:"submit"},on:{click:t.postSave}},[t._v("Import")]),t._v(" "),n("br"),n("br")])]),t._v(" "),n("div",{staticClass:"row"},[t.statusText?n("div",{staticClass:"alert col-md-8 col-md-offset-2",class:t.alertClass,staticStyle:{"padding-top":"20px"}},[t._v("\n "+t._s(this.statusText)+"\n ")]):t._e()])],2)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"import-type"}},[this._v("Import Type:")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"import-update"}},[this._v("Update Existing Values?")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"send-welcome"}},[this._v("Send Welcome Email for new Users?")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col-md-5 col-xs-12"},[e("label",{attrs:{for:"run-backup"}},[this._v("Backup before importing?")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-2"}),this._v(" "),e("div",{staticClass:"col-md-8",staticStyle:{"padding-top":"30px"}},[e("div",{staticClass:"col-md-4 text-right"},[e("h4",[this._v("Header Field")])]),this._v(" "),e("div",{staticClass:"col-md-4"},[e("h4",[this._v("Import Field")])]),this._v(" "),e("div",{staticClass:"col-md-4"},[e("h4",[this._v("Sample Value")])])])])}]}},pQUU:function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,".action-link[data-v-18abfa16]{cursor:pointer}.m-b-none[data-v-18abfa16]{margin-bottom:0}",""])},rjj0:function(t,e,n){function i(t){for(var e=0;e<t.length;e++){var n=t[e],i=u[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(o(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;r<n.parts.length;r++)a.push(o(n.parts[r]));u[n.id]={id:n.id,refs:1,parts:a}}}}function r(){var t=document.createElement("style");return t.type="text/css",c.appendChild(t),t}function o(t){var e,n,i=document.querySelector("style["+v+'~="'+t.id+'"]');if(i){if(f)return p;i.parentNode.removeChild(i)}if(m){var o=h++;i=d||(d=r()),e=a.bind(null,i,o,!1),n=a.bind(null,i,o,!0)}else i=r(),e=function(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),g.ssrId&&t.setAttribute(v,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}function a(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=b(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}var s="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!s)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var l=n("tTVk"),u={},c=s&&(document.head||document.getElementsByTagName("head")[0]),d=null,h=0,f=!1,p=function(){},g=null,v="data-vue-ssr-id",m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n,r){f=n,g=r||{};var o=l(t,e);return i(o),function(e){for(var n=[],r=0;r<o.length;r++){var a=o[r];(s=u[a.id]).refs--,n.push(s)}for(e?i(o=l(t,e)):o=[],r=0;r<n.length;r++){var s;if(0===(s=n[r]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete u[s.id]}}}};var y,b=(y=[],function(t,e){return y[t]=e,y.filter(Boolean).join("\n")})},rqPf:function(t,e,n){var i=n("hLk5");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("1ab6df0e",i,!0,{})},sJcK:function(t,e,n){var i=n("VU/8")(n("l9CE"),n("pI6b"),!1,function(t){n("mCvu")},null,null);t.exports=i.exports},t80F:function(t,e){},tTVk:function(t,e){t.exports=function(t,e){for(var n=[],i={},r=0;r<e.length;r++){var o=e[r],a=o[0],s={id:t+":"+r,css:o[1],media:o[2],sourceMap:o[3]};i[a]?i[a].parts.push(s):n.push(i[a]={id:a,parts:[s]})}return n}},tZpc:function(t,e,n){var i=n("g9VR");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),n("rjj0")("2e084566",i,!0,{})},vvpX:function(t,e){},yDVJ:function(t,e,n){var i=n("VU/8")(n("zJOD"),n("zkjN"),!1,function(t){n("tZpc")},"data-v-3351e4cf",null);t.exports=i.exports},yd7E:function(t,e){},z1kw:function(t,e,n){var i,r,o,a;a=function(t){var e,n=0,i=Array.prototype.slice;return t.cleanData=(e=t.cleanData,function(n){var i,r,o;for(o=0;null!=(r=n[o]);o++)try{(i=t._data(r,"events"))&&i.remove&&t(r).triggerHandler("remove")}catch(t){}e(n)}),t.widget=function(e,n,i){var r,o,a,s={},l=e.split(".")[0],u=l+"-"+(e=e.split(".")[1]);return i||(i=n,n=t.Widget),t.isArray(i)&&(i=t.extend.apply(null,[{}].concat(i))),t.expr[":"][u.toLowerCase()]=function(e){return!!t.data(e,u)},t[l]=t[l]||{},r=t[l][e],o=t[l][e]=function(t,e){if(!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},t.extend(o,r,{version:i.version,_proto:t.extend({},i),_childConstructors:[]}),(a=new n).options=t.widget.extend({},a.options),t.each(i,function(e,i){t.isFunction(i)?s[e]=function(){function t(){return n.prototype[e].apply(this,arguments)}function r(t){return n.prototype[e].apply(this,t)}return function(){var e,n=this._super,o=this._superApply;return this._super=t,this._superApply=r,e=i.apply(this,arguments),this._super=n,this._superApply=o,e}}():s[e]=i}),o.prototype=t.widget.extend(a,{widgetEventPrefix:r&&a.widgetEventPrefix||e},s,{constructor:o,namespace:l,widgetName:e,widgetFullName:u}),r?(t.each(r._childConstructors,function(e,n){var i=n.prototype;t.widget(i.namespace+"."+i.widgetName,o,n._proto)}),delete r._childConstructors):n._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var n,r,o=i.call(arguments,1),a=0,s=o.length;a<s;a++)for(n in o[a])r=o[a][n],o[a].hasOwnProperty(n)&&void 0!==r&&(t.isPlainObject(r)?e[n]=t.isPlainObject(e[n])?t.widget.extend({},e[n],r):t.widget.extend({},r):e[n]=r);return e},t.widget.bridge=function(e,n){var r=n.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,s=i.call(arguments,1),l=this;return a?this.length||"instance"!==o?this.each(function(){var n,i=t.data(this,r);return"instance"===o?(l=i,!1):i?t.isFunction(i[o])&&"_"!==o.charAt(0)?(n=i[o].apply(i,s))!==i&&void 0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void 0:t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")}):l=void 0:(s.length&&(o=t.widget.extend.apply(null,[o].concat(s))),this.each(function(){var e=t.data(this,r);e?(e.option(o||{}),e._init&&e._init()):t.data(this,r,new n(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,n){e._removeClass(n,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var i,r,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},e=(i=e.split(".")).shift(),i.length){for(r=a[e]=t.widget.extend({},this.options[e]),o=0;o<i.length-1;o++)r[i[o]]=r[i[o]]||{},r=r[i[o]];if(e=i.pop(),1===arguments.length)return void 0===r[e]?null:r[e];r[e]=n}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=n}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var n,i,r;for(n in e)r=this.classesElementLookup[n],e[n]!==this.options.classes[n]&&r&&r.length&&(i=t(r.get()),this._removeClass(r,n),i.addClass(this._classes({element:i,keys:n,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function n(n,o){var a,s;for(s=0;s<n.length;s++)a=r.classesElementLookup[n[s]]||t(),a=t(e.add?t.unique(a.get().concat(e.element.get())):a.not(e.element).get()),r.classesElementLookup[n[s]]=a,i.push(n[s]),o&&e.classes[n[s]]&&i.push(e.classes[n[s]])}var i=[],r=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&n(e.keys.match(/\S+/g)||[],!0),e.extra&&n(e.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(e){var n=this;t.each(n.classesElementLookup,function(i,r){-1!==t.inArray(e.target,r)&&(n.classesElementLookup[i]=t(r.not(e.target).get()))})},_removeClass:function(t,e,n){return this._toggleClass(t,e,n,!1)},_addClass:function(t,e,n){return this._toggleClass(t,e,n,!0)},_toggleClass:function(t,e,n,i){i="boolean"==typeof i?i:n;var r="string"==typeof t||null===t,o={extra:r?e:n,keys:r?t:e,element:r?this.element:t,add:i};return o.element.toggleClass(this._classes(o),i),this},_on:function(e,n,i){var r,o=this;"boolean"!=typeof e&&(i=n,n=e,e=!1),i?(n=r=t(n),this.bindings=this.bindings.add(n)):(i=n,n=this.element,r=this.widget()),t.each(i,function(i,a){function s(){if(e||!0!==o.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof a?o[a]:a).apply(o,arguments)}"string"!=typeof a&&(s.guid=a.guid=a.guid||s.guid||t.guid++);var l=i.match(/^([\w:-]*)\s*(.*)$/),u=l[1]+o.eventNamespace,c=l[2];c?r.on(u,c,s):n.on(u,s)})},_off:function(e,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(n).off(n),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){var n=this;return setTimeout(function(){return("string"==typeof t?n[t]:t).apply(n,arguments)},e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,n,i){var r,o,a=this.options[e];if(i=i||{},(n=t.Event(n)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n.target=this.element[0],o=n.originalEvent)for(r in o)r in n||(n[r]=o[r]);return this.element.trigger(n,i),!(t.isFunction(a)&&!1===a.apply(this.element[0],[n].concat(i))||n.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,n){t.Widget.prototype["_"+e]=function(i,r,o){var a;"string"==typeof r&&(r={effect:r});var s=r?!0===r||"number"==typeof r?n:r.effect||n:e;"number"==typeof(r=r||{})&&(r={duration:r}),a=!t.isEmptyObject(r),r.complete=o,r.delay&&i.delay(r.delay),a&&t.effects&&t.effects.effect[s]?i[e](r):s!==e&&i[s]?i[s](r.duration,r.easing,o):i.queue(function(n){t(this)[e](),o&&o.call(i[0]),n()})}}),t.widget},r=[n("7t+N"),n("UZ9c")],void 0===(o="function"==typeof(i=a)?i.apply(e,r):i)||(t.exports=o)},zJOD:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={props:["errors"]}},zkjN:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.errors?n("div",{staticClass:"box"},[n("div",{staticClass:"box-body"},[t._m(0),t._v(" "),n("div",{staticClass:"errors-table"},[n("table",{staticClass:"table table-striped table-bordered",attrs:{id:"errors-table"}},[t._m(1),t._v(" "),n("tbody",t._l(t.errors,function(e,i){return n("tr",[n("td",[t._v(t._s(i))]),t._v(" "),t._l(e,function(e,i){return n("td",[n("b",[t._v(t._s(i)+":")]),t._v(" "),t._l(e,function(e){return n("span",[t._v(t._s(e[0]))])}),t._v(" "),n("br")],2)})],2)}))])])])]):t._e()},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"alert alert-warning"},[e("strong",[this._v("Warning")]),this._v(" Some Errors occured while importing\n ")])},function(){var t=this.$createElement,e=this._self._c||t;return e("thead",[e("th",[this._v("Item")]),this._v(" "),e("th",[this._v("Errors")])])}]}}}),"undefined"==typeof jQuery)throw new Error("AdminLTE requires jQuery");!function(t){"use strict";function e(e,n){if(this.element=e,this.options=n,this.$overlay=t(n.overlayTemplate),""===n.source)throw new Error("Source url was not defined. Please specify a url in your BoxRefresh source option.");this._setUpListeners(),this.load()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(o,s))}if("string"==typeof a){if(void 0===a[n])throw new Error("No method named "+n);a[n]()}})}var i="lte.boxrefresh",r={source:"",params:{},trigger:".refresh-btn",content:".box-body",loadInContent:!0,responseType:"",overlayTemplate:'<div class="overlay"><div class="fa fa-refresh fa-spin"></div></div>',onLoadStart:function(){},onLoadDone:function(t){return t}};e.prototype.load=function(){this._addOverlay(),this.options.onLoadStart.call(t(this)),t.get(this.options.source,this.options.params,function(e){this.options.loadInContent&&t(this.element).find(this.options.content).html(e),this.options.onLoadDone.call(t(this),e),this._removeOverlay()}.bind(this),""!==this.options.responseType&&this.options.responseType)},e.prototype._setUpListeners=function(){t(this.element).on("click",this.options.trigger,function(t){t&&t.preventDefault(),this.load()}.bind(this))},e.prototype._addOverlay=function(){t(this.element).append(this.$overlay)},e.prototype._removeOverlay=function(){t(this.$overlay).remove()};var o=t.fn.boxRefresh;t.fn.boxRefresh=n,t.fn.boxRefresh.Constructor=e,t.fn.boxRefresh.noConflict=function(){return t.fn.boxRefresh=o,this},t(window).on("load",function(){t('[data-widget="box-refresh"]').each(function(){n.call(t(this))})})}(jQuery),function(t){"use strict";function e(t,e){this.element=t,this.options=e,this._setUpListeners()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(o,s))}if("string"==typeof n){if(void 0===a[n])throw new Error("No method named "+n);a[n]()}})}var i="lte.boxwidget",r={animationSpeed:500,collapseTrigger:'[data-widget="collapse"]',removeTrigger:'[data-widget="remove"]',collapseIcon:"fa-minus",expandIcon:"fa-plus",removeIcon:"fa-times"},o=".box-header",a=".box-body",s=".box-footer",l=".box-tools",u="collapsed-box";e.prototype.toggle=function(){t(this.element).is(".collapsed-box")?this.expand():this.collapse()},e.prototype.expand=function(){var e=t.Event("expanded.boxwidget"),n=t.Event("expanding.boxwidget"),i=this.options.collapseIcon,r=this.options.expandIcon;t(this.element).removeClass(u),t(this.element).children(o+", "+a+", "+s).children(l).find("."+r).removeClass(r).addClass(i),t(this.element).children(a+", "+s).slideDown(this.options.animationSpeed,function(){
+t(this.element).trigger(e)}.bind(this)).trigger(n)},e.prototype.collapse=function(){var e=t.Event("collapsed.boxwidget"),n=t.Event("collapsing.boxwidget"),i=this.options.collapseIcon,r=this.options.expandIcon;t(this.element).children(o+", "+a+", "+s).children(l).find("."+i).removeClass(i).addClass(r),t(this.element).children(a+", "+s).slideUp(this.options.animationSpeed,function(){t(this.element).addClass(u),t(this.element).trigger(e)}.bind(this)).trigger(n)},e.prototype.remove=function(){var e=t.Event("removed.boxwidget"),n=t.Event("removing.boxwidget");t(this.element).slideUp(this.options.animationSpeed,function(){t(this.element).trigger(e),t(this.element).remove()}.bind(this)).trigger(n)},e.prototype._setUpListeners=function(){var e=this;t(this.element).on("click",this.options.collapseTrigger,function(n){return n&&n.preventDefault(),e.toggle(t(this)),!1}),t(this.element).on("click",this.options.removeTrigger,function(n){return n&&n.preventDefault(),e.remove(t(this)),!1})};var c=t.fn.boxWidget;t.fn.boxWidget=n,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(){n.call(t(this))})})}(jQuery),function(t){"use strict";function e(t,e){this.element=t,this.options=e,this.hasBindedResize=!1,this.init()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(o,s))}"string"==typeof n&&a.toggle()})}var i="lte.controlsidebar",r={controlsidebarSlide:!0},o=".control-sidebar",a='[data-toggle="control-sidebar"]',s=".control-sidebar-open",l="control-sidebar-open",u="control-sidebar-hold-transition";e.prototype.init=function(){t(this.element).is(a)||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(s)||t("body").is(s)?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=n,t.fn.controlSidebar.Constructor=e,t.fn.controlSidebar.noConflict=function(){return t.fn.controlSidebar=c,this},t(document).on("click",a,function(e){e&&e.preventDefault(),n.call(t(this),"toggle")})}(jQuery),function(t){"use strict";function e(t){this.element=t}function n(n){return this.each(function(){var r=t(this),o=r.data(i);o||r.data(i,o=new e(r)),"string"==typeof n&&o.toggle(r)})}var i="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=n,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(),n.call(t(this),"toggle")})}(jQuery),function(t){"use strict";function e(t){this.options=t,this.init()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(s))}"toggle"===n&&a.toggle()})}var i="lte.pushmenu",r={collapseScreenSize:767,expandOnHover:!1,expandTransitionDelay:200},o='[data-toggle="push-menu"]',a=".sidebar-mini",s="sidebar-collapse",l="sidebar-open",u="sidebar-expanded-on-hover",c="expanded.pushMenu",d="collapsed.pushMenu";e.prototype.init=function(){(this.options.expandOnHover||t("body").is(a+".fixed"))&&(this.expandOnHover(),t("body").addClass("sidebar-mini-expand-feature")),t(".content-wrapper").click(function(){t(window).width()<=this.options.collapseScreenSize&&t("body").hasClass(l)&&this.close()}.bind(this)),t(".sidebar-form .form-control").click(function(t){t.stopPropagation()})},e.prototype.toggle=function(){var e=t(window).width(),n=!t("body").hasClass(s);e<=this.options.collapseScreenSize&&(n=t("body").hasClass(l)),n?this.close():this.open()},e.prototype.open=function(){t(window).width()>this.options.collapseScreenSize?t("body").removeClass(s).trigger(t.Event(c)):t("body").addClass(l).trigger(t.Event(c))},e.prototype.close=function(){t(window).width()>this.options.collapseScreenSize?t("body").addClass(s).trigger(t.Event(d)):t("body").removeClass(l+" "+s).trigger(t.Event(d))},e.prototype.expandOnHover=function(){t(".main-sidebar").hover(function(){t("body").is(a+".sidebar-collapse")&&t(window).width()>this.options.collapseScreenSize&&this.expand()}.bind(this),function(){t("body").is(".sidebar-expanded-on-hover")&&this.collapse()}.bind(this))},e.prototype.expand=function(){setTimeout(function(){t("body").removeClass(s).addClass(u)},this.options.expandTransitionDelay)},e.prototype.collapse=function(){setTimeout(function(){t("body").removeClass(u).addClass(s)},this.options.expandTransitionDelay)};var h=t.fn.pushMenu;t.fn.pushMenu=n,t.fn.pushMenu.Constructor=e,t.fn.pushMenu.noConflict=function(){return t.fn.pushMenu=h,this},t(document).on("click",o,function(e){e.preventDefault(),n.call(t(this),"toggle")}),t(window).on("load",function(){n.call(t(o))})}(jQuery),function(t){"use strict";function e(t,e){this.element=t,this.options=e,this._setUpListeners()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(o,s))}if("string"==typeof a){if(void 0===a[n])throw new Error("No method named "+n);a[n]()}})}var i="lte.todolist",r={onCheck:function(t){return t},onUnCheck:function(t){return t}},o={data:'[data-widget="todo-list"]'};e.prototype.toggle=function(t){t.parents(o.li).first().toggleClass("done"),t.prop("checked")?this.check(t):this.unCheck(t)},e.prototype.check=function(t){this.options.onCheck.call(t)},e.prototype.unCheck=function(t){this.options.onUnCheck.call(t)},e.prototype._setUpListeners=function(){var e=this;t(this.element).on("change ifChanged","input:checkbox",function(){e.toggle(t(this))})};var a=t.fn.todoList;t.fn.todoList=n,t.fn.todoList.Constructor=e,t.fn.todoList.noConflict=function(){return t.fn.todoList=a,this},t(window).on("load",function(){t(o.data).each(function(){n.call(t(this))})})}(jQuery),function(t){"use strict";function e(e,n){this.element=e,this.options=n,t(this.element).addClass(u),t(o+s,this.element).addClass(l),this._setUpListeners()}function n(n){return this.each(function(){var o=t(this);if(!o.data(i)){var a=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,new e(o,a))}})}var i="lte.tree",r={animationSpeed:500,accordion:!0,followLink:!1,trigger:".treeview a"},o=".treeview",a=".treeview-menu",s=".active",l="menu-open",u="tree";e.prototype.toggle=function(t,e){var n=t.next(a),i=t.parent(),r=i.hasClass(l);i.is(o)&&(this.options.followLink&&"#"!==t.attr("href")||e.preventDefault(),r?this.collapse(n,i):this.expand(n,i))},e.prototype.expand=function(e,n){var i=t.Event("expanded.tree");if(this.options.accordion){var r=n.siblings(".menu-open, .active"),o=r.children(a);this.collapse(o,r)}n.addClass(l),e.stop().slideDown(this.options.animationSpeed,function(){t(this.element).trigger(i),n.height("auto")}.bind(this))},e.prototype.collapse=function(e,n){var i=t.Event("collapsed.tree");n.removeClass(l),e.stop().slideUp(this.options.animationSpeed,function(){t(this.element).trigger(i),n.find(o).removeClass(l).find(a).hide()}.bind(this))},e.prototype._setUpListeners=function(){var e=this;t(this.element).on("click",this.options.trigger,function(n){e.toggle(t(this),n)})};var c=t.fn.tree;t.fn.tree=n,t.fn.tree.Constructor=e,t.fn.tree.noConflict=function(){return t.fn.tree=c,this},t(window).on("load",function(){t('[data-widget="tree"]').each(function(){n.call(t(this))})})}(jQuery),function(t){"use strict";function e(t){this.options=t,this.bindedResize=!1,this.activate()}function n(n){return this.each(function(){var o=t(this),a=o.data(i);if(!a){var s=t.extend({},r,o.data(),"object"==typeof n&&n);o.data(i,a=new e(s))}if("string"==typeof n){if(void 0===a[n])throw new Error("No method named "+n);a[n]()}})}var i="lte.layout",r={slimscroll:!0,resetHeight:!0},o=".wrapper",a=".content-wrapper",s=".main-header",l=".sidebar",u=".sidebar-menu",c="fixed";e.prototype.activate=function(){this.fix(),this.fixSidebar(),t("body").removeClass("hold-transition"),this.options.resetHeight&&t("body, html, "+o).css({height:"auto","min-height":"100%"}),this.bindedResize||(t(window).resize(function(){this.fix(),this.fixSidebar(),t(".main-header .logo, "+l).one("webkitTransitionEnd otransitionend oTransitionEnd msTransitionEnd transitionend",function(){this.fix(),this.fixSidebar()}.bind(this))}.bind(this)),this.bindedResize=!0),t(u).on("expanded.tree",function(){this.fix(),this.fixSidebar()}.bind(this)),t(u).on("collapsed.tree",function(){this.fix(),this.fixSidebar()}.bind(this))},e.prototype.fix=function(){t(".layout-boxed > "+o).css("overflow","hidden");var e=t(".main-footer").outerHeight()||0,n=t(s).outerHeight()||0,i=n+e,r=t(window).height(),u=t(l).outerHeight()||0;if(t("body").hasClass(c))t(a).css("min-height",r-e);else{var d;d=u+n<=r?(t(a).css("min-height",r-i),r-i):(t(a).css("min-height",u),u);var h=t(".control-sidebar");void 0!==h&&h.height()>d&&t(a).css("min-height",h.height())}},e.prototype.fixSidebar=function(){t("body").hasClass(c)?this.options.slimscroll&&void 0!==t.fn.slimScroll&&0===t(".main-sidebar").find("slimScrollDiv").length&&t(l).slimScroll({height:t(window).height()-t(s).height()+"px"}):void 0!==t.fn.slimScroll&&t(l).slimScroll({destroy:!0}).height("auto")};var d=t.fn.layout;t.fn.layout=n,t.fn.layout.Constuctor=e,t.fn.layout.noConflict=function(){return t.fn.layout=d,this},t(window).on("load",function(){n.call(t("body"))})}(jQuery),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.Tether=e()}(this,function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t){var n=t.getBoundingClientRect(),i={};for(var r in n)i[r]=n[r];try{if(t.ownerDocument!==document){var o=t.ownerDocument.defaultView.frameElement;if(o){var a=e(o);i.top+=a.top,i.bottom+=a.top,i.left+=a.left,i.right+=a.left}}}catch(t){}return i}function n(t){var e=getComputedStyle(t)||{},n=e.position,i=[];if("fixed"===n)return[t];for(var r=t;(r=r.parentNode)&&r&&1===r.nodeType;){var o=void 0;try{o=getComputedStyle(r)}catch(t){}if(void 0===o||null===o)return i.push(r),i;var a=o,s=a.overflow,l=a.overflowX;/(auto|scroll|overlay)/.test(s+a.overflowY+l)&&("absolute"!==n||["relative","absolute","fixed"].indexOf(o.position)>=0)&&i.push(r)}return i.push(t.ownerDocument.body),t.ownerDocument!==document&&i.push(t.ownerDocument.defaultView),i}function i(){w&&document.body.removeChild(w),w=null}function r(t){var n=void 0;t===document?(n=document,t=document.documentElement):n=t.ownerDocument;var i=n.documentElement,r=e(t),o=T();return r.top-=o.top,r.left-=o.left,void 0===r.width&&(r.width=document.body.scrollWidth-r.left-r.right),void 0===r.height&&(r.height=document.body.scrollHeight-r.top-r.bottom),r.top=r.top-i.clientTop,r.left=r.left-i.clientLeft,r.right=n.body.clientWidth-r.width-r.left,r.bottom=n.body.clientHeight-r.height-r.top,r}function o(t){return t.offsetParent||document.documentElement}function a(){if(S)return S;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");s(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var n=t.offsetWidth;e.style.overflow="scroll";var i=t.offsetWidth;n===i&&(i=e.clientWidth),document.body.removeChild(e);var r=n-i;return S={width:r,height:r}}function s(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach(function(e){if(e)for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t}function l(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var n=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),i=d(t).replace(n," ");h(t,i)}}function u(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{l(t,e);var n=d(t)+" "+e;h(t,n)}}function c(t,e){if(void 0!==t.classList)return t.classList.contains(e);var n=d(t);return new RegExp("(^| )"+e+"( |$)","gi").test(n)}function d(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function h(t,e){t.setAttribute("class",e)}function f(t,e,n){n.forEach(function(n){-1===e.indexOf(n)&&c(t,n)&&l(t,n)}),e.forEach(function(e){c(t,e)||u(t,e)})}function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function g(t,e){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+n>=e&&e>=t-n}function v(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}function m(){for(var t={top:0,left:0},e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return n.forEach(function(e){var n=e.top,i=e.left;"string"==typeof n&&(n=parseFloat(n,10)),"string"==typeof i&&(i=parseFloat(i,10)),t.top+=n,t.left+=i}),t}function y(t,e){return"string"==typeof t.left&&-1!==t.left.indexOf("%")&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&-1!==t.top.indexOf("%")&&(t.top=parseFloat(t.top,10)/100*e.height),t}function b(t,e){return"scrollParent"===e?e=t.scrollParents[0]:"window"===e&&(e=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),e===document&&(e=e.documentElement),void 0!==e.nodeType&&function(){var t=e,n=r(e),i=n,o=getComputedStyle(e);if(e=[i.left,i.top,n.width+i.left,n.height+i.top],t.ownerDocument!==document){var a=t.ownerDocument.defaultView;e[0]+=a.pageXOffset,e[1]+=a.pageYOffset,e[2]+=a.pageXOffset,e[3]+=a.pageYOffset}q.forEach(function(t,n){t=t[0].toUpperCase()+t.substr(1),"Top"===t||"Left"===t?e[n]+=parseFloat(o["border"+t+"Width"]):e[n]-=parseFloat(o["border"+t+"Width"])})}(),e}var _=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),x=void 0;void 0===x&&(x={modules:[]});var w=null,C=function(){var t=0;return function(){return++t}}(),k={},T=function(){var t=w;t&&document.body.contains(t)||(t=document.createElement("div"),t.setAttribute("data-tether-id",C()),s(t.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(t),w=t);var n=t.getAttribute("data-tether-id");return void 0===k[n]&&(k[n]=e(t),A(function(){delete k[n]})),k[n]},S=null,D=[],A=function(t){D.push(t)},E=function(){for(var t=void 0;t=D.pop();)t()},M=function(){function e(){t(this,e)}return _(e,[{key:"on",value:function(t,e,n){var i=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[t]&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:n,once:i})}},{key:"once",value:function(t,e,n){this.on(t,e,n,!0)}},{key:"off",value:function(t,e){if(void 0!==this.bindings&&void 0!==this.bindings[t])if(void 0===e)delete this.bindings[t];else for(var n=0;n<this.bindings[t].length;)this.bindings[t][n].handler===e?this.bindings[t].splice(n,1):++n}},{key:"trigger",value:function(t){if(void 0!==this.bindings&&this.bindings[t]){for(var e=0,n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];for(;e<this.bindings[t].length;){var o=this.bindings[t][e],a=o.handler,s=o.ctx,l=o.once,u=s;void 0===u&&(u=this),a.apply(u,i),l?this.bindings[t].splice(e,1):++e}}}}]),e}();x.Utils={getActualBoundingClientRect:e,getScrollParents:n,getBounds:r,getOffsetParent:o,extend:s,addClass:u,removeClass:l,hasClass:c,updateClasses:f,defer:A,flush:E,uniqueId:C,Evented:M,getScrollBarSize:a,removeUtilElements:i};var O=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),$=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1,null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var l=s.get;if(void 0===l)return;return l.call(a)}var u=Object.getPrototypeOf(r);if(null===u)return;t=u,e=o,n=a,i=!0,s=u=void 0}};if(void 0===x)throw new Error("You must include the utils.js file before tether.js");var I=x.Utils,n=I.getScrollParents,r=I.getBounds,o=I.getOffsetParent,s=I.extend,u=I.addClass,l=I.removeClass,f=I.updateClasses,A=I.defer,E=I.flush,a=I.getScrollBarSize,i=I.removeUtilElements,F=function(){if("undefined"==typeof document)return"";for(var t=document.createElement("div"),e=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],n=0;n<e.length;++n){var i=e[n];if(void 0!==t.style[i])return i}}(),P=[],N=function(){P.forEach(function(t){t.position(!1)}),E()};!function(){var t=null,e=null,n=null,i=function i(){if(void 0!==e&&e>16)return e=Math.min(e-16,250),void(n=setTimeout(i,250));void 0!==t&&v()-t<10||(null!=n&&(clearTimeout(n),n=null),t=v(),N(),e=v()-t)};"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach(function(t){window.addEventListener(t,i)})}();var L={center:"center",left:"right",right:"left"},j={middle:"middle",top:"bottom",bottom:"top"},R={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},U=function(t,e){var n=t.left,i=t.top;return"auto"===n&&(n=L[e.left]),"auto"===i&&(i=j[e.top]),{left:n,top:i}},B=function(t){var e=t.left,n=t.top;return void 0!==R[t.left]&&(e=R[t.left]),void 0!==R[t.top]&&(n=R[t.top]),{left:e,top:n}},z=function(t){var e=t.split(" "),n=O(e,2);return{top:n[0],left:n[1]}},H=z,W=function(e){function c(e){var n=this;t(this,c),$(Object.getPrototypeOf(c.prototype),"constructor",this).call(this),this.position=this.position.bind(this),P.push(this),this.history=[],this.setOptions(e,!1),x.modules.forEach(function(t){void 0!==t.initialize&&t.initialize.call(n)}),this.position()}return p(c,e),_(c,[{key:"getClass",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"":arguments[0],e=this.options.classes;return void 0!==e&&e[t]?this.options.classes[t]:this.options.classPrefix?this.options.classPrefix+"-"+t:t}},{key:"setOptions",value:function(t){var e=this,i=arguments.length<=1||void 0===arguments[1]||arguments[1],r={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=s(r,t);var o=this.options,a=o.element,l=o.target,c=o.targetModifier;if(this.element=a,this.target=l,this.targetModifier=c,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach(function(t){if(void 0===e[t])throw new Error("Tether Error: Both element and target must be defined");void 0!==e[t].jquery?e[t]=e[t][0]:"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),u(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&u(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=H(this.options.targetAttachment),this.attachment=H(this.options.attachment),this.offset=z(this.options.offset),this.targetOffset=z(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=n(this.target),!1!==this.options.enabled&&this.enable(i)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return r(this.target);if("visible"===this.targetModifier){if(this.target===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};var t=r(this.target),e={height:t.height,width:t.width,top:t.top,left:t.left};return e.height=Math.min(e.height,t.height-(pageYOffset-t.top)),e.height=Math.min(e.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),e.height=Math.min(innerHeight,e.height),e.height-=2,e.width=Math.min(e.width,t.width-(pageXOffset-t.left)),e.width=Math.min(e.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),e.width=Math.min(innerWidth,e.width),e.width-=2,e.top<pageYOffset&&(e.top=pageYOffset),e.left<pageXOffset&&(e.left=pageXOffset),e}if("scroll-handle"===this.targetModifier){var t=void 0,n=this.target;n===document.body?(n=document.documentElement,t={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):t=r(n);var i=getComputedStyle(n),o=n.scrollWidth>n.clientWidth||[i.overflow,i.overflowX].indexOf("scroll")>=0||this.target!==document.body,a=0;o&&(a=15);var s=t.height-parseFloat(i.borderTopWidth)-parseFloat(i.borderBottomWidth)-a,e={width:15,height:.975*s*(s/n.scrollHeight),left:t.left+t.width-parseFloat(i.borderLeftWidth)-15},l=0;s<408&&this.target===document.body&&(l=-11e-5*Math.pow(s,2)-.00727*s+22.58),this.target!==document.body&&(e.height=Math.max(e.height,24));var u=this.target.scrollTop/(n.scrollHeight-s);return e.top=u*(s-e.height-l)+t.top+parseFloat(i.borderTopWidth),this.target===document.body&&(e.height=Math.max(e.height,24)),e}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return void 0===this._cache&&(this._cache={}),void 0===this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&u(this.target,this.getClass("enabled")),u(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach(function(e){e!==t.target.ownerDocument&&e.addEventListener("scroll",t.position)}),e&&this.position()}},{key:"disable",value:function(){var t=this;l(this.target,this.getClass("enabled")),l(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.position)})}},{key:"destroy",value:function(){var t=this;this.disable(),P.forEach(function(e,n){e===t&&P.splice(n,1)}),0===P.length&&i()}},{key:"updateAttachClasses",value:function(t,e){var n=this;t=t||this.attachment,e=e||this.targetAttachment;var i=["left","top","bottom","right","middle","center"];void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var r=this._addAttachClasses;t.top&&r.push(this.getClass("element-attached")+"-"+t.top),t.left&&r.push(this.getClass("element-attached")+"-"+t.left),e.top&&r.push(this.getClass("target-attached")+"-"+e.top),e.left&&r.push(this.getClass("target-attached")+"-"+e.left);var o=[];i.forEach(function(t){o.push(n.getClass("element-attached")+"-"+t),o.push(n.getClass("target-attached")+"-"+t)}),A(function(){void 0!==n._addAttachClasses&&(f(n.element,n._addAttachClasses,o),!1!==n.options.addTargetClasses&&f(n.target,n._addAttachClasses,o),delete n._addAttachClasses)})}},{key:"position",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var n=U(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var i=this.cache("element-bounds",function(){return r(t.element)}),s=i.width,l=i.height;if(0===s&&0===l&&void 0!==this.lastSize){var u=this.lastSize;s=u.width,l=u.height}else this.lastSize={width:s,height:l};var c=this.cache("target-bounds",function(){return t.getTargetBounds()}),d=c,h=y(B(this.attachment),{width:s,height:l}),f=y(B(n),d),p=y(this.offset,{width:s,height:l}),g=y(this.targetOffset,d);h=m(h,p),f=m(f,g);for(var v=c.left+f.left-h.left,b=c.top+f.top-h.top,_=0;_<x.modules.length;++_){var w=x.modules[_],C=w.position.call(this,{left:v,top:b,targetAttachment:n,targetPos:c,elementPos:i,offset:h,targetOffset:f,manualOffset:p,manualTargetOffset:g,scrollbarSize:D,attachment:this.attachment});if(!1===C)return!1;void 0!==C&&"object"==typeof C&&(b=C.top,v=C.left)}var k={page:{top:b,left:v},viewport:{top:b-pageYOffset,bottom:pageYOffset-b-l+innerHeight,left:v-pageXOffset,right:pageXOffset-v-s+innerWidth}},T=this.target.ownerDocument,S=T.defaultView,D=void 0;return S.innerHeight>T.documentElement.clientHeight&&(D=this.cache("scrollbar-size",a),k.viewport.bottom-=D.height),S.innerWidth>T.documentElement.clientWidth&&(D=this.cache("scrollbar-size",a),k.viewport.right-=D.width),-1!==["","static"].indexOf(T.body.style.position)&&-1!==["","static"].indexOf(T.body.parentElement.style.position)||(k.page.bottom=T.body.scrollHeight-b-l,k.page.right=T.body.scrollWidth-v-s),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var e=t.cache("target-offsetparent",function(){return o(t.target)}),n=t.cache("target-offsetparent-bounds",function(){return r(e)}),i=getComputedStyle(e),a=n,s={};if(["Top","Left","Bottom","Right"].forEach(function(t){s[t.toLowerCase()]=parseFloat(i["border"+t+"Width"])}),n.right=T.body.scrollWidth-n.left-a.width+s.right,n.bottom=T.body.scrollHeight-n.top-a.height+s.bottom,k.page.top>=n.top+s.top&&k.page.bottom>=n.bottom&&k.page.left>=n.left+s.left&&k.page.right>=n.right){var l=e.scrollTop,u=e.scrollLeft;k.offset={top:k.page.top-n.top+l-s.top,left:k.page.left-n.left+u-s.left}}}(),this.move(k),this.history.unshift(k),this.history.length>3&&this.history.pop(),e&&E(),!0}}},{key:"move",value:function(t){var e=this;if(void 0!==this.element.parentNode){var n={};for(var i in t){n[i]={};for(var r in t[i]){for(var a=!1,l=0;l<this.history.length;++l){var u=this.history[l];if(void 0!==u[i]&&!g(u[i][r],t[i][r])){a=!0;break}}a||(n[i][r]=!0)}}var c={top:"",left:"",right:"",bottom:""},d=function(t,n){if(!1!==(void 0!==e.options.optimizations?e.options.optimizations.gpu:null)){var i=void 0,r=void 0;t.top?(c.top=0,i=n.top):(c.bottom=0,i=-n.bottom),t.left?(c.left=0,r=n.left):(c.right=0,r=-n.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(r=Math.round(r*devicePixelRatio)/devicePixelRatio,i=Math.round(i*devicePixelRatio)/devicePixelRatio),c[F]="translateX("+r+"px) translateY("+i+"px)","msTransform"!==F&&(c[F]+=" translateZ(0)")}else t.top?c.top=n.top+"px":c.bottom=n.bottom+"px",t.left?c.left=n.left+"px":c.right=n.right+"px"},h=!1;if((n.page.top||n.page.bottom)&&(n.page.left||n.page.right)?(c.position="absolute",d(n.page,t.page)):(n.viewport.top||n.viewport.bottom)&&(n.viewport.left||n.viewport.right)?(c.position="fixed",d(n.viewport,t.viewport)):void 0!==n.offset&&n.offset.top&&n.offset.left?function(){c.position="absolute";var i=e.cache("target-offsetparent",function(){return o(e.target)});o(e.element)!==i&&A(function(){e.element.parentNode.removeChild(e.element),i.appendChild(e.element)}),d(n.offset,t.offset),h=!0}():(c.position="absolute",d({top:!0,left:!0},t.page)),!h)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var f=!0,p=this.element.parentNode;p&&1===p.nodeType&&"BODY"!==p.tagName&&!function(t){var e=t.ownerDocument;return(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)===t}(p);){if("static"!==getComputedStyle(p).position){f=!1;break}p=p.parentNode}f||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var v={},m=!1;for(var r in c){var y=c[r];this.element.style[r]!==y&&(m=!0,v[r]=y)}m&&A(function(){s(e.element.style,v),e.trigger("repositioned")})}}}]),c}(M);W.modules=[],x.position=N;var V=s(W,x),O=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),I=x.Utils,r=I.getBounds,s=I.extend,f=I.updateClasses,A=I.defer,q=["left","top","right","bottom"];x.modules.push({position:function(t){var e=this,n=t.top,i=t.left,o=t.targetAttachment;if(!this.options.constraints)return!0;var a=this.cache("element-bounds",function(){return r(e.element)}),l=a.height,u=a.width;if(0===u&&0===l&&void 0!==this.lastSize){var c=this.lastSize;u=c.width,l=c.height}var d=this.cache("target-bounds",function(){return e.getTargetBounds()}),h=d.height,p=d.width,g=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach(function(t){var e=t.outOfBoundsClass,n=t.pinnedClass;e&&g.push(e),n&&g.push(n)}),g.forEach(function(t){["left","top","right","bottom"].forEach(function(e){g.push(t+"-"+e)})});var v=[],m=s({},o),y=s({},this.attachment);return this.options.constraints.forEach(function(t){var r=t.to,a=t.attachment,s=t.pin;void 0===a&&(a="");var c=void 0,d=void 0;if(a.indexOf(" ")>=0){var f=a.split(" "),g=O(f,2);d=g[0],c=g[1]}else c=d=a;var _=b(e,r);"target"!==d&&"both"!==d||(n<_[1]&&"top"===m.top&&(n+=h,m.top="bottom"),n+l>_[3]&&"bottom"===m.top&&(n-=h,m.top="top")),"together"===d&&("top"===m.top&&("bottom"===y.top&&n<_[1]?(n+=h,m.top="bottom",n+=l,y.top="top"):"top"===y.top&&n+l>_[3]&&n-(l-h)>=_[1]&&(n-=l-h,m.top="bottom",y.top="bottom")),"bottom"===m.top&&("top"===y.top&&n+l>_[3]?(n-=h,m.top="top",n-=l,y.top="bottom"):"bottom"===y.top&&n<_[1]&&n+(2*l-h)<=_[3]&&(n+=l-h,m.top="top",y.top="top")),"middle"===m.top&&(n+l>_[3]&&"top"===y.top?(n-=l,y.top="bottom"):n<_[1]&&"bottom"===y.top&&(n+=l,y.top="top"))),"target"!==c&&"both"!==c||(i<_[0]&&"left"===m.left&&(i+=p,m.left="right"),i+u>_[2]&&"right"===m.left&&(i-=p,m.left="left")),"together"===c&&(i<_[0]&&"left"===m.left?"right"===y.left?(i+=p,m.left="right",i+=u,y.left="left"):"left"===y.left&&(i+=p,m.left="right",i-=u,y.left="right"):i+u>_[2]&&"right"===m.left?"left"===y.left?(i-=p,m.left="left",i-=u,y.left="right"):"right"===y.left&&(i-=p,m.left="left",i+=u,y.left="left"):"center"===m.left&&(i+u>_[2]&&"left"===y.left?(i-=u,y.left="right"):i<_[0]&&"right"===y.left&&(i+=u,y.left="left"))),"element"!==d&&"both"!==d||(n<_[1]&&"bottom"===y.top&&(n+=l,y.top="top"),n+l>_[3]&&"top"===y.top&&(n-=l,y.top="bottom")),"element"!==c&&"both"!==c||(i<_[0]&&("right"===y.left?(i+=u,y.left="left"):"center"===y.left&&(i+=u/2,y.left="left")),i+u>_[2]&&("left"===y.left?(i-=u,
+y.left="right"):"center"===y.left&&(i-=u/2,y.left="right"))),"string"==typeof s?s=s.split(",").map(function(t){return t.trim()}):!0===s&&(s=["top","left","right","bottom"]),s=s||[];var x=[],w=[];n<_[1]&&(s.indexOf("top")>=0?(n=_[1],x.push("top")):w.push("top")),n+l>_[3]&&(s.indexOf("bottom")>=0?(n=_[3]-l,x.push("bottom")):w.push("bottom")),i<_[0]&&(s.indexOf("left")>=0?(i=_[0],x.push("left")):w.push("left")),i+u>_[2]&&(s.indexOf("right")>=0?(i=_[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"),v.push(t),x.forEach(function(e){v.push(t+"-"+e)})}(),w.length&&function(){var t=void 0;t=void 0!==e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),v.push(t),w.forEach(function(e){v.push(t+"-"+e)})}(),(x.indexOf("left")>=0||x.indexOf("right")>=0)&&(y.left=m.left=!1),(x.indexOf("top")>=0||x.indexOf("bottom")>=0)&&(y.top=m.top=!1),m.top===o.top&&m.left===o.left&&y.top===e.attachment.top&&y.left===e.attachment.left||(e.updateAttachClasses(y,m),e.trigger("update",{attachment:y,targetAttachment:m}))}),A(function(){!1!==e.options.addTargetClasses&&f(e.target,v,g),f(e.element,v,g)}),{top:n,left:i}}});var I=x.Utils,r=I.getBounds,f=I.updateClasses,A=I.defer;x.modules.push({position:function(t){var e=this,n=t.top,i=t.left,o=this.cache("element-bounds",function(){return r(e.element)}),a=o.height,s=o.width,l=this.getTargetBounds(),u=n+a,c=i+s,d=[];n<=l.bottom&&u>=l.top&&["left","right"].forEach(function(t){var e=l[t];e!==i&&e!==c||d.push(t)}),i<=l.right&&c>=l.left&&["top","bottom"].forEach(function(t){var e=l[t];e!==n&&e!==u||d.push(t)});var h=[],p=[],g=["left","top","right","bottom"];return h.push(this.getClass("abutted")),g.forEach(function(t){h.push(e.getClass("abutted")+"-"+t)}),d.length&&p.push(this.getClass("abutted")),d.forEach(function(t){p.push(e.getClass("abutted")+"-"+t)}),A(function(){!1!==e.options.addTargetClasses&&f(e.target,p,h),f(e.element,p,h)}),!0}});var O=function(){function t(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();return x.modules.push({position:function(t){var e=t.top,n=t.left;if(this.options.shift){var i=this.options.shift;"function"==typeof this.options.shift&&(i=this.options.shift.call(this,{top:e,left:n}));var r=void 0,o=void 0;if("string"==typeof i){i=i.split(" "),i[1]=i[1]||i[0];var a=i,s=O(a,2);r=s[0],o=s[1],r=parseFloat(r,10),o=parseFloat(o,10)}else r=i.top,o=i.left;return e+=r,n+=o,{top:e,left:n}}}}),V}),function(e){e.fn.extend({slimScroll:function(n){var i={width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},r=e.extend(i,n);return this.each(function(){function i(t){if(u){var t=t||window.event,n=0;t.wheelDelta&&(n=-t.wheelDelta/120),t.detail&&(n=t.detail/3);var i=t.target||t.srcTarget||t.srcElement;e(i).closest("."+r.wrapperClass).is(_.parent())&&o(n,!0),t.preventDefault&&!b&&t.preventDefault(),b||(t.returnValue=!1)}}function o(t,e,n){b=!1;var i=t,o=_.outerHeight()-S.outerHeight();if(e&&(i=parseInt(S.css("top"))+t*parseInt(r.wheelStep)/100*S.outerHeight(),i=Math.min(Math.max(i,0),o),i=t>0?Math.ceil(i):Math.floor(i),S.css({top:i+"px"})),g=parseInt(S.css("top"))/(_.outerHeight()-S.outerHeight()),i=g*(_[0].scrollHeight-_.outerHeight()),n){i=t;var a=i/_[0].scrollHeight*_.outerHeight();a=Math.min(Math.max(a,0),o),S.css({top:a+"px"})}_.scrollTop(i),_.trigger("slimscrolling",~~i),s(),l()}function a(){p=Math.max(_.outerHeight()/_[0].scrollHeight*_.outerHeight(),y),S.css({height:p+"px"});var t=p==_.outerHeight()?"none":"block";S.css({display:t})}function s(){if(a(),clearTimeout(h),g==~~g){if(b=r.allowPageScroll,v!=g){var t=0==~~g?"top":"bottom";_.trigger("slimscroll",t)}}else b=!1;if(v=g,p>=_.outerHeight())return void(b=!0);S.stop(!0,!0).fadeIn("fast"),r.railVisible&&T.stop(!0,!0).fadeIn("fast")}function l(){r.alwaysVisible||(h=setTimeout(function(){r.disableFadeOut&&u||c||d||(S.fadeOut("slow"),T.fadeOut("slow"))},1e3))}var u,c,d,h,f,p,g,v,m="<div></div>",y=30,b=!1,_=e(this);if(_.parent().hasClass(r.wrapperClass)){var x=_.scrollTop();if(S=_.siblings("."+r.barClass),T=_.siblings("."+r.railClass),a(),e.isPlainObject(n)){if("height"in n&&"auto"==n.height){_.parent().css("height","auto"),_.css("height","auto");var w=_.parent().parent().height();_.parent().css("height",w),_.css("height",w)}else if("height"in n){var C=n.height;_.parent().css("height",C),_.css("height",C)}if("scrollTo"in n)x=parseInt(r.scrollTo);else if("scrollBy"in n)x+=parseInt(r.scrollBy);else if("destroy"in n)return S.remove(),T.remove(),void _.unwrap();o(x,!1,!0)}}else if(!(e.isPlainObject(n)&&"destroy"in n)){r.height="auto"==r.height?_.parent().height():r.height;var k=e(m).addClass(r.wrapperClass).css({position:"relative",overflow:"hidden",width:r.width,height:r.height});_.css({overflow:"hidden",width:r.width,height:r.height});var T=e(m).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}),S=e(m).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}),D="right"==r.position?{right:r.distance}:{left:r.distance};T.css(D),S.css(D),_.wrap(k),_.parent().append(S),_.parent().append(T),r.railDraggable&&S.bind("mousedown",function(n){var i=e(document);return d=!0,t=parseFloat(S.css("top")),pageY=n.pageY,i.bind("mousemove.slimscroll",function(e){currTop=t+e.pageY-pageY,S.css("top",currTop),o(0,S.position().top,!1)}),i.bind("mouseup.slimscroll",function(t){d=!1,l(),i.unbind(".slimscroll")}),!1}).bind("selectstart.slimscroll",function(t){return t.stopPropagation(),t.preventDefault(),!1}),T.hover(function(){s()},function(){l()}),S.hover(function(){c=!0},function(){c=!1}),_.hover(function(){u=!0,s(),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}}),a(),"bottom"===r.start?(S.css({top:_.outerHeight()-S.outerHeight()}),o(0,!0)):"top"!==r.start&&(o(e(r.start).position().top,null,!0),r.alwaysVisible||S.hide()),function(t){window.addEventListener?(t.addEventListener("DOMMouseScroll",i,!1),t.addEventListener("mousewheel",i,!1)):document.attachEvent("onmousewheel",i)}(this)}}),this}}),e.fn.extend({slimscroll:e.fn.slimScroll})}(jQuery),function(t,e){"use strict";t.ajaxPrefilter(function(t,e,n){if(t.iframe)return t.originalURL=t.url,"iframe"}),t.ajaxTransport("iframe",function(e,n,i){function r(){l.each(function(e,n){var i=t(n);i.data("clone").replaceWith(i)}),o.remove(),a.one("load",function(){a.remove()}),a.attr("src","javascript:false;")}var o=null,a=null,s="iframe-"+t.now(),l=t(e.files).filter(":file:enabled"),u=null;if(e.dataTypes.shift(),e.data=n.data,l.length)return o=t("<form enctype='multipart/form-data' method='post'></form>").hide().attr({action:e.originalURL,target:s}),"string"==typeof e.data&&e.data.length>0&&t.error("data must not be serialized"),t.each(e.data||{},function(e,n){t.isPlainObject(n)&&(e=n.name,n=n.value),t("<input type='hidden' />").attr({name:e,value:n}).appendTo(o)}),t("<input type='hidden' value='IFrame' name='X-Requested-With' />").appendTo(o),u=e.dataTypes[0]&&e.accepts[e.dataTypes[0]]?e.accepts[e.dataTypes[0]]+("*"!==e.dataTypes[0]?", */*; q=0.01":""):e.accepts["*"],t("<input type='hidden' name='X-HTTP-Accept'>").attr("value",u).appendTo(o),l.after(function(e){var n=t(this),i=n.clone().prop("disabled",!0);return n.data("clone",i),i}).next(),l.appendTo(o),{send:function(e,n){a=t("<iframe src='javascript:false;' name='"+s+"' id='"+s+"' style='display:none'></iframe>"),a.one("load",function(){a.one("load",function(){var t=this.contentWindow?this.contentWindow.document:this.contentDocument?this.contentDocument:this.document,e=t.documentElement?t.documentElement:t.body,i=e.getElementsByTagName("textarea")[0],o=i&&i.getAttribute("data-type")||null,a=i&&i.getAttribute("data-status")||200,s=i&&i.getAttribute("data-statusText")||"OK",l={html:e.innerHTML,text:o?i.value:e?e.textContent||e.innerText:null};r(),n(a,s,l,o?"Content-Type: "+o:null)}),o[0].submit()}),t("body").append(o,a)},abort:function(){null!==a&&(a.unbind("load").attr("src","javascript:false;"),r())}}})}(jQuery),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery-ui/ui/widget"],t):"object"==typeof exports?t(require("jquery"),require("./vendor/jquery.ui.widget")):t(window.jQuery)}(function(t){"use strict";function e(e){var n="dragover"===e;return function(i){i.dataTransfer=i.originalEvent&&i.originalEvent.dataTransfer;var r=i.dataTransfer;r&&-1!==t.inArray("Files",r.types)&&!1!==this._trigger(e,t.Event(e,{delegatedEvent:i}))&&(i.preventDefault(),n&&(r.dropEffect="copy"))}}t.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||t('<input type="file"/>').prop("disabled")),t.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),t.support.xhrFormDataFileUpload=!!window.FormData,t.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),t.widget("blueimp.fileupload",{options:{dropZone:t(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,uniqueFilenames:void 0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(e,n){return e=this.messages[e]||e.toString(),n&&t.each(n,function(t,n){e=e.replace("{"+t+"}",n)}),e},formData:function(t){return t.serializeArray()},add:function(e,n){if(e.isDefaultPrevented())return!1;(n.autoUpload||!1!==n.autoUpload&&t(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:t.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var i=t-this.timestamp;return(!this.bitrate||!n||i>n)&&(this.bitrate=(e-this.loaded)*(1e3/i)*8,this.loaded=e,this.timestamp=t),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&t.support.xhrFileUpload||t.support.xhrFormDataFileUpload)},_getFormData:function(e){var n;return"function"===t.type(e.formData)?e.formData(e.form):t.isArray(e.formData)?e.formData:"object"===t.type(e.formData)?(n=[],t.each(e.formData,function(t,e){n.push({name:t,value:e})}),n):[]},_getTotal:function(e){var n=0;return t.each(e,function(t,e){n+=e.size||1}),n},_initProgressObject:function(e){var n={loaded:0,total:0,bitrate:0};e._progress?t.extend(e._progress,n):e._progress=n},_initResponseObject:function(t){var e;if(t._response)for(e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(e,n){if(e.lengthComputable){var i,r=Date.now?Date.now():(new Date).getTime();if(n._time&&n.progressInterval&&r-n._time<n.progressInterval&&e.loaded!==e.total)return;n._time=r,i=Math.floor(e.loaded/e.total*(n.chunkSize||n._progress.total))+(n.uploadedBytes||0),this._progress.loaded+=i-n._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(r,this._progress.loaded,n.bitrateInterval),n._progress.loaded=n.loaded=i,n._progress.bitrate=n.bitrate=n._bitrateTimer.getBitrate(r,i,n.bitrateInterval),this._trigger("progress",t.Event("progress",{delegatedEvent:e}),n),this._trigger("progressall",t.Event("progressall",{delegatedEvent:e}),this._progress)}},_initProgressListener:function(e){var n=this,i=e.xhr?e.xhr():t.ajaxSettings.xhr();i.upload&&(t(i.upload).bind("progress",function(t){var i=t.originalEvent;t.lengthComputable=i.lengthComputable,t.loaded=i.loaded,t.total=i.total,n._onProgress(t,e)}),e.xhr=function(){return i})},_deinitProgressListener:function(e){var n=e.xhr?e.xhr():t.ajaxSettings.xhr();n.upload&&t(n.upload).unbind("progress")},_isInstanceOf:function(t,e){return Object.prototype.toString.call(e)==="[object "+t+"]"},_getUniqueFilename:function(t,e){return t=String(t),e[t]?(t=t.replace(/(?: \(([\d]+)\))?(\.[^.]+)?$/,function(t,e,n){return" ("+(e?Number(e)+1:1)+")"+(n||"")}),this._getUniqueFilename(t,e)):(e[t]=!0,t)},_initXHRData:function(e){var n,i=this,r=e.files[0],o=e.multipart||!t.support.xhrFileUpload,a="array"===t.type(e.paramName)?e.paramName[0]:e.paramName;e.headers=t.extend({},e.headers),e.contentRange&&(e.headers["Content-Range"]=e.contentRange),o&&!e.blob&&this._isInstanceOf("File",r)||(e.headers["Content-Disposition"]='attachment; filename="'+encodeURI(r.uploadName||r.name)+'"'),o?t.support.xhrFormDataFileUpload&&(e.postMessage?(n=this._getFormData(e),e.blob?n.push({name:a,value:e.blob}):t.each(e.files,function(i,r){n.push({name:"array"===t.type(e.paramName)&&e.paramName[i]||a,value:r})})):(i._isInstanceOf("FormData",e.formData)?n=e.formData:(n=new FormData,t.each(this._getFormData(e),function(t,e){n.append(e.name,e.value)})),e.blob?n.append(a,e.blob,r.uploadName||r.name):t.each(e.files,function(r,o){if(i._isInstanceOf("File",o)||i._isInstanceOf("Blob",o)){var s=o.uploadName||o.name;e.uniqueFilenames&&(s=i._getUniqueFilename(s,e.uniqueFilenames)),n.append("array"===t.type(e.paramName)&&e.paramName[r]||a,o,s)}})),e.data=n):(e.contentType=r.type||"application/octet-stream",e.data=e.blob||r),e.blob=null},_initIframeSettings:function(e){var n=t("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&n&&n!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(e){var n=t(e.fileInput),i=e.paramName;return i?t.isArray(i)||(i=[i]):(i=[],n.each(function(){for(var e=t(this),n=e.prop("name")||"files[]",r=(e.prop("files")||[1]).length;r;)i.push(n),r-=1}),i.length||(i=[n.prop("name")||"files[]"])),i},_initFormSettings:function(e){e.form&&e.form.length||(e.form=t(e.fileInput.prop("form")),e.form.length||(e.form=t(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===t.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var n=t.extend({},this.options,e);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(e,n,i){var r=t.Deferred(),o=r.promise();return n=n||this.options.context||o,!0===e?r.resolveWith(n,i):!1===e&&r.rejectWith(n,i),o.abort=r.promise,this._enhancePromise(o)},_addConvenienceMethods:function(e,n){var i=this,r=function(e){return t.Deferred().resolveWith(i,e).promise()};n.process=function(e,o){return(e||o)&&(n._processQueue=this._processQueue=(this._processQueue||r([this])).then(function(){return n.errorThrown?t.Deferred().rejectWith(i,[n]).promise():r(arguments)}).then(e,o)),this._processQueue||r([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=!1!==i._trigger("submit",t.Event("submit",{delegatedEvent:e}),this)&&i._onSend(e,this)),this.jqXHR||i._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",i._trigger("fail",null,this),i._getXHRPromise(!1))},n.state=function(){return this.jqXHR?i._getDeferredState(this.jqXHR):this._processQueue?i._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===i._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),n=e&&e.split("-"),i=n&&n.length>1&&parseInt(n[1],10);return i&&i+1},_chunkedUpload:function(e,n){e.uploadedBytes=e.uploadedBytes||0;var i,r,o=this,a=e.files[0],s=a.size,l=e.uploadedBytes,u=e.maxChunkSize||s,c=this._blobSlice,d=t.Deferred(),h=d.promise();return!(!(this._isXHRUpload(e)&&c&&(l||("function"===t.type(u)?u(e):u)<s))||e.data)&&(!!n||(l>=s?(a.error=e.i18n("uploadedBytes"),this._getXHRPromise(!1,e.context,[null,"error",a.error])):(r=function(){var n=t.extend({},e),h=n._progress.loaded;n.blob=c.call(a,l,l+("function"===t.type(u)?u(n):u),a.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+l+"-"+(l+n.chunkSize-1)+"/"+s,o._trigger("chunkbeforesend",null,n),o._initXHRData(n),o._initProgressListener(n),i=(!1!==o._trigger("chunksend",null,n)&&t.ajax(n)||o._getXHRPromise(!1,n.context)).done(function(i,a,u){l=o._getUploadedBytes(u)||l+n.chunkSize,h+n.chunkSize-n._progress.loaded&&o._onProgress(t.Event("progress",{lengthComputable:!0,loaded:l-n.uploadedBytes,total:l-n.uploadedBytes}),n),e.uploadedBytes=n.uploadedBytes=l,n.result=i,n.textStatus=a,n.jqXHR=u,o._trigger("chunkdone",null,n),o._trigger("chunkalways",null,n),l<s?r():d.resolveWith(n.context,[i,a,u])}).fail(function(t,e,i){n.jqXHR=t,n.textStatus=e,n.errorThrown=i,o._trigger("chunkfail",null,n),o._trigger("chunkalways",null,n),d.rejectWith(n.context,[t,e,i])}).always(function(){o._deinitProgressListener(n)})},this._enhancePromise(h),h.abort=function(){return i.abort()},r(),h)))},_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,n,i,r){var o=r._progress.total,a=r._response;r._progress.loaded<o&&this._onProgress(t.Event("progress",{lengthComputable:!0,loaded:o,total:o}),r),a.result=r.result=e,a.textStatus=r.textStatus=n,a.jqXHR=r.jqXHR=i,this._trigger("done",null,r)},_onFail:function(t,e,n,i){var r=i._response;i.recalculateProgress&&(this._progress.loaded-=i._progress.loaded,this._progress.total-=i._progress.total),r.jqXHR=i.jqXHR=t,r.textStatus=i.textStatus=e,r.errorThrown=i.errorThrown=n,this._trigger("fail",null,i)},_onAlways:function(t,e,n,i){this._trigger("always",null,i)},_onSend:function(e,n){n.submit||this._addConvenienceMethods(e,n);var i,r,o,a,s=this,l=s._getAJAXSettings(n),u=function(){return s._sending+=1,l._bitrateTimer=new s._BitrateTimer,i=i||((r||!1===s._trigger("send",t.Event("send",{delegatedEvent:e}),l))&&s._getXHRPromise(!1,l.context,r)||s._chunkedUpload(l)||t.ajax(l)).done(function(t,e,n){s._onDone(t,e,n,l)}).fail(function(t,e,n){s._onFail(t,e,n,l)}).always(function(t,e,n){if(s._deinitProgressListener(l),s._onAlways(t,e,n,l),s._sending-=1,s._active-=1,l.limitConcurrentUploads&&l.limitConcurrentUploads>s._sending)for(var i=s._slots.shift();i;){if("pending"===s._getDeferredState(i)){i.resolve();break}i=s._slots.shift()}0===s._active&&s._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),a=o.then(u)):(this._sequence=this._sequence.then(u,u),a=this._sequence),a.abort=function(){return r=[void 0,"abort","abort"],i?i.abort():(o&&o.rejectWith(l.context,r),u())},this._enhancePromise(a)):u()},_onAdd:function(e,n){var i,r,o,a,s=this,l=!0,u=t.extend({},this.options,n),c=n.files,d=c.length,h=u.limitMultiFileUploads,f=u.limitMultiFileUploadSize,p=u.limitMultiFileUploadSizeOverhead,g=0,v=this._getParamName(u),m=0;if(!d)return!1;if(f&&void 0===c[0].size&&(f=void 0),(u.singleFileUploads||h||f)&&this._isXHRUpload(u))if(u.singleFileUploads||f||!h)if(!u.singleFileUploads&&f)for(o=[],i=[],a=0;a<d;a+=1)g+=c[a].size+p,(a+1===d||g+c[a+1].size+p>f||h&&a+1-m>=h)&&(o.push(c.slice(m,a+1)),r=v.slice(m,a+1),r.length||(r=v),i.push(r),m=a+1,g=0);else i=v;else for(o=[],i=[],a=0;a<d;a+=h)o.push(c.slice(a,a+h)),r=v.slice(a,a+h),r.length||(r=v),i.push(r);else o=[c],i=[v];return n.originalFiles=c,t.each(o||c,function(r,a){var u=t.extend({},n);return u.files=o?a:[a],u.paramName=i[r],s._initResponseObject(u),s._initProgressObject(u),s._addConvenienceMethods(e,u),l=s._trigger("add",t.Event("add",{delegatedEvent:e}),u)}),l},_replaceFileInput:function(e){var n=e.fileInput,i=n.clone(!0),r=n.is(document.activeElement);e.fileInputClone=i,t("<form></form>").append(i)[0].reset(),n.after(i).detach(),r&&i.focus(),t.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(t,e){return e===n[0]?i[0]:e}),n[0]===this.element[0]&&(this.element=i)},_handleFileTreeEntry:function(e,n){var i,r=this,o=t.Deferred(),a=[],s=function(t){t&&!t.entry&&(t.entry=e),o.resolve([t])},l=function(t){r._handleFileTreeEntries(t,n+e.name+"/").done(function(t){o.resolve(t)}).fail(s)},u=function(){i.readEntries(function(t){t.length?(a=a.concat(t),u()):l(a)},s)};return n=n||"",e.isFile?e._file?(e._file.relativePath=n,o.resolve(e._file)):e.file(function(t){t.relativePath=n,o.resolve(t)},s):e.isDirectory?(i=e.createReader(),u()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(e,n){var i=this;return t.when.apply(t,t.map(e,function(t){return i._handleFileTreeEntry(t,n)})).then(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){e=e||{};var n=e.items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(t.map(n,function(t){var e;return t.webkitGetAsEntry?(e=t.webkitGetAsEntry(),e&&(e._file=t.getAsFile()),e):t.getAsEntry()})):t.Deferred().resolve(t.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){e=t(e);var n,i,r=e.prop("webkitEntries")||e.prop("entries");if(r&&r.length)return this._handleFileTreeEntries(r);if(n=t.makeArray(e.prop("files")),n.length)void 0===n[0].name&&n[0].fileName&&t.each(n,function(t,e){e.name=e.fileName,e.size=e.fileSize});else{if(!(i=e.prop("value")))return t.Deferred().resolve([]).promise();n=[{name:i.replace(/^.*\\/,"")}]}return t.Deferred().resolve(n).promise()},_getFileInputFiles:function(e){return e instanceof t&&1!==e.length?t.when.apply(t,t.map(e,this._getSingleFileInputFiles)).then(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(e){var n=this,i={fileInput:t(e.target),form:t(e.target.form)};this._getFileInputFiles(i.fileInput).always(function(r){i.files=r,n.options.replaceFileInput&&n._replaceFileInput(i),!1!==n._trigger("change",t.Event("change",{delegatedEvent:e}),i)&&n._onAdd(e,i)})},_onPaste:function(e){var n=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,i={files:[]};n&&n.length&&(t.each(n,function(t,e){var n=e.getAsFile&&e.getAsFile();n&&i.files.push(n)}),!1!==this._trigger("paste",t.Event("paste",{delegatedEvent:e}),i)&&this._onAdd(e,i))},_onDrop:function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var n=this,i=e.dataTransfer,r={};i&&i.files&&i.files.length&&(e.preventDefault(),this._getDroppedFiles(i).always(function(i){r.files=i,!1!==n._trigger("drop",t.Event("drop",{delegatedEvent:e}),r)&&n._onAdd(e,r)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),t.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_destroy:function(){this._destroyEventHandlers()},_setOption:function(e,n){var i=-1!==t.inArray(e,this._specialOptions);i&&this._destroyEventHandlers(),this._super(e,n),i&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):e.fileInput instanceof t||(e.fileInput=t(e.fileInput)),e.dropZone instanceof t||(e.dropZone=t(e.dropZone)),e.pasteZone instanceof t||(e.pasteZone=t(e.pasteZone))},_getRegExp:function(t){var e=t.split("/"),n=e.pop();return e.shift(),new RegExp(e.join("/"),n)},_isRegExpOption:function(e,n){return"url"!==e&&"string"===t.type(n)&&/^\/.*\/[igm]{0,3}$/.test(n)},_initDataAttributes:function(){var e=this,n=this.options,i=this.element.data();t.each(this.element[0].attributes,function(t,r){var o,a=r.name.toLowerCase();/^data-/.test(a)&&(a=a.slice(5).replace(/-[a-z]/g,function(t){return t.charAt(1).toUpperCase()}),o=i[a],e._isRegExpOption(a,o)&&(o=e._getRegExp(o)),n[a]=o)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(e){var n=this;e&&!this.options.disabled&&(e.fileInput&&!e.files?this._getFileInputFiles(e.fileInput).always(function(t){e.files=t,n._onAdd(null,e)}):(e.files=t.makeArray(e.files),this._onAdd(null,e)))},send:function(e){if(e&&!this.options.disabled){if(e.fileInput&&!e.files){var n,i,r=this,o=t.Deferred(),a=o.promise();return a.abort=function(){return i=!0,n?n.abort():(o.reject(null,"abort","abort"),a)},this._getFileInputFiles(e.fileInput).always(function(t){if(!i){if(!t.length)return void o.reject();e.files=t,n=r._onSend(null,e),n.then(function(t,e,n){o.resolve(t,e,n)},function(t,e,n){o.reject(t,e,n)})}}),this._enhancePromise(a)}if(e.files=t.makeArray(e.files),e.files.length)return this._onSend(null,e)}return this._getXHRPromise(!1,e&&e.context)}})}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):jQuery&&!jQuery.fn.colorpicker&&e(jQuery)}(0,function(t){"use strict";var e=function(n,i,r,o,a){this.fallbackValue=r?"string"==typeof r?this.parse(r):r:null,this.fallbackFormat=o||"rgba",this.hexNumberSignPrefix=!0===a,this.value=this.fallbackValue,this.origFormat=null,this.predefinedColors=i||{},this.colors=t.extend({},e.webColors,this.predefinedColors),n&&(void 0!==n.h?this.value=n:this.setColor(String(n))),this.value||(this.value={h:0,s:0,b:0,a:1})};e.webColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32",transparent:"transparent"},e.prototype={constructor:e,colors:{},predefinedColors:{},getValue:function(){return this.value},setValue:function(t){this.value=t},_sanitizeNumber:function(t){return"number"==typeof t?t:isNaN(t)||null===t||""===t||void 0===t?1:""===t?0:void 0!==t.toLowerCase?(t.match(/^\./)&&(t="0"+t),Math.ceil(100*parseFloat(t))/100):1},isTransparent:function(t){return!(!t||!("string"==typeof t||t instanceof String))&&("transparent"===(t=t.toLowerCase().trim())||t.match(/#?00000000/)||t.match(/(rgba|hsla)\(0,0,0,0?\.?0\)/))},rgbaIsTransparent:function(t){return 0===t.r&&0===t.g&&0===t.b&&0===t.a},setColor:function(t){if(t=t.toLowerCase().trim()){if(this.isTransparent(t))return this.value={h:0,s:0,b:0,a:0},!0;var e=this.parse(t)
+;e?(this.value=this.value={h:e.h,s:e.s,b:e.b,a:e.a},this.origFormat||(this.origFormat=e.format)):this.fallbackValue&&(this.value=this.fallbackValue)}return!1},setHue:function(t){this.value.h=1-t},setSaturation:function(t){this.value.s=t},setBrightness:function(t){this.value.b=1-t},setAlpha:function(t){this.value.a=Math.round(parseInt(100*(1-t),10)/100*100)/100},toRGB:function(t,e,n,i){0===arguments.length&&(t=this.value.h,e=this.value.s,n=this.value.b,i=this.value.a),t*=360;var r,o,a,s,l;return t=t%360/60,l=n*e,s=l*(1-Math.abs(t%2-1)),r=o=a=n-l,t=~~t,r+=[l,s,0,0,s,l][t],o+=[s,l,l,s,0,0][t],a+=[0,0,s,l,l,s][t],{r:Math.round(255*r),g:Math.round(255*o),b:Math.round(255*a),a:i}},toHex:function(t,e,n,i,r){arguments.length<=1&&(e=this.value.h,n=this.value.s,i=this.value.b,r=this.value.a);var o="#",a=this.toRGB(e,n,i,r);return this.rgbaIsTransparent(a)?"transparent":(t||(o=this.hexNumberSignPrefix?"#":""),o+((1<<24)+(parseInt(a.r)<<16)+(parseInt(a.g)<<8)+parseInt(a.b)).toString(16).slice(1))},toHSL:function(t,e,n,i){0===arguments.length&&(t=this.value.h,e=this.value.s,n=this.value.b,i=this.value.a);var r=t,o=(2-e)*n,a=e*n;return a/=o>0&&o<=1?o:2-o,o/=2,a>1&&(a=1),{h:isNaN(r)?0:r,s:isNaN(a)?0:a,l:isNaN(o)?0:o,a:isNaN(i)?0:i}},toAlias:function(t,e,n,i){var r,o=0===arguments.length?this.toHex(!0):this.toHex(!0,t,e,n,i),a="alias"===this.origFormat?o:this.toString(!1,this.origFormat);for(var s in this.colors)if((r=this.colors[s].toLowerCase().trim())===o||r===a)return s;return!1},RGBtoHSB:function(t,e,n,i){t/=255,e/=255,n/=255;var r,o,a,s;return a=Math.max(t,e,n),s=a-Math.min(t,e,n),r=0===s?null:a===t?(e-n)/s:a===e?(n-t)/s+2:(t-e)/s+4,r=(r+360)%6*60/360,o=0===s?0:s/a,{h:this._sanitizeNumber(r),s:o,b:a,a:this._sanitizeNumber(i)}},HueToRGB:function(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t},HSLtoRGB:function(t,e,n,i){e<0&&(e=0);var r;r=n<=.5?n*(1+e):n+e-n*e;var o=2*n-r,a=t+1/3,s=t,l=t-1/3;return[Math.round(255*this.HueToRGB(o,r,a)),Math.round(255*this.HueToRGB(o,r,s)),Math.round(255*this.HueToRGB(o,r,l)),this._sanitizeNumber(i)]},parse:function(e){if("string"!=typeof e)return this.fallbackValue;if(0===arguments.length)return!1;var n,i,r=this,o=!1,a=void 0!==this.colors[e];return a&&(e=this.colors[e].toLowerCase().trim()),t.each(this.stringParsers,function(t,s){var l=s.re.exec(e);return!(n=l&&s.parse.apply(r,[l]))||(o={},i=a?"alias":s.format?s.format:r.getValidFallbackFormat(),o=i.match(/hsla?/)?r.RGBtoHSB.apply(r,r.HSLtoRGB.apply(r,n)):r.RGBtoHSB.apply(r,n),o instanceof Object&&(o.format=i),!1)}),o},getValidFallbackFormat:function(){var t=["rgba","rgb","hex","hsla","hsl"];return this.origFormat&&-1!==t.indexOf(this.origFormat)?this.origFormat:this.fallbackFormat&&-1!==t.indexOf(this.fallbackFormat)?this.fallbackFormat:"rgba"},toString:function(t,n,i){n=n||this.origFormat||this.fallbackFormat,i=i||!1;var r=!1;switch(n){case"rgb":return r=this.toRGB(),this.rgbaIsTransparent(r)?"transparent":"rgb("+r.r+","+r.g+","+r.b+")";case"rgba":return r=this.toRGB(),"rgba("+r.r+","+r.g+","+r.b+","+r.a+")";case"hsl":return r=this.toHSL(),"hsl("+Math.round(360*r.h)+","+Math.round(100*r.s)+"%,"+Math.round(100*r.l)+"%)";case"hsla":return r=this.toHSL(),"hsla("+Math.round(360*r.h)+","+Math.round(100*r.s)+"%,"+Math.round(100*r.l)+"%,"+r.a+")";case"hex":return this.toHex(t);case"alias":return r=this.toAlias(),!1===r?this.toString(t,this.getValidFallbackFormat()):i&&!(r in e.webColors)&&r in this.predefinedColors?this.predefinedColors[r]:r;default:return r}},stringParsers:[{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 n={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},i=function(e,i){this.element=t(e).addClass("colorpicker-element"),this.options=t.extend(!0,{},n,this.element.data(),i),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,a=o.picker.find(".colorpicker-selectors");a.length>0&&(t.each(this.options.colorSelectors,function(e,n){var i=t("<i />").addClass("colorpicker-selectors-color").css("background-color",n).data("class",e).data("alias",e);i.on("mousedown.colorpicker touchstart.colorpicker",function(e){e.preventDefault(),o.setValue("alias"===o.format?t(this).data("alias"):t(this).css("background-color"))}),a.append(i)}),a.show().addClass("colorpicker-visible"))}r.on("mousedown.colorpicker touchstart.colorpicker",t.proxy(function(t){t.target===t.currentTarget&&t.preventDefault()},this)),r.find(".colorpicker-saturation, .colorpicker-hue, .colorpicker-alpha").on("mousedown.colorpicker touchstart.colorpicker",t.proxy(this.mousedown,this)),r.appendTo(this.container?this.container:t("body")),!1!==this.input&&(this.input.on({"keyup.colorpicker":t.proxy(this.keyup,this)}),this.input.on({"input.colorpicker":t.proxy(this.change,this)}),!1===this.component&&this.element.on({"focus.colorpicker":t.proxy(this.show,this)}),!1===this.options.inline&&this.element.on({"focusout.colorpicker":t.proxy(this.hide,this)})),!1!==this.component&&this.component.on({"click.colorpicker":t.proxy(this.show,this)}),!1===this.input&&!1===this.component&&this.element.on({"click.colorpicker":t.proxy(this.show,this)}),!1!==this.input&&!1!==this.component&&"color"===this.input.attr("type")&&this.input.on({"click.colorpicker":t.proxy(this.show,this),"focus.colorpicker":t.proxy(this.show,this)}),this.update(),t(t.proxy(function(){this.element.trigger("create")},this))};i.Color=e,i.prototype={constructor:i,destroy:function(){this.picker.remove(),this.element.removeData("colorpicker","color").off(".colorpicker"),!1!==this.input&&this.input.off(".colorpicker"),!1!==this.component&&this.component.off(".colorpicker"),this.element.removeClass("colorpicker-element"),this.element.trigger({type:"destroy"})},reposition:function(){if(!1!==this.options.inline||this.options.container)return!1;var t=this.container&&this.container[0]!==window.document.body?"position":"offset",e=this.component||this.element,n=e[t]();"right"===this.options.align&&(n.left-=this.picker.outerWidth()-e.outerWidth()),this.picker.css({top:n.top+e.outerHeight(),left:n.left})},show:function(e){this.isDisabled()||(this.picker.addClass("colorpicker-visible").removeClass("colorpicker-hidden"),this.reposition(),t(window).on("resize.colorpicker",t.proxy(this.reposition,this)),!e||this.hasInput()&&"color"!==this.input.attr("type")||e.stopPropagation&&e.preventDefault&&(e.stopPropagation(),e.preventDefault()),!this.component&&this.input||!1!==this.options.inline||t(window.document).on({"mousedown.colorpicker":t.proxy(this.hide,this)}),this.element.trigger({type:"showPicker",color:this.color}))},hide:function(e){if(void 0!==e&&e.target&&(t(e.currentTarget).parents(".colorpicker").length>0||t(e.target).parents(".colorpicker").length>0))return!1;this.picker.addClass("colorpicker-hidden").removeClass("colorpicker-visible"),t(window).off("resize.colorpicker",this.reposition),t(window.document).off({"mousedown.colorpicker":this.hide}),this.update(),this.element.trigger({type:"hidePicker",color:this.color})},updateData:function(t){return t=t||this.color.toString(!1,this.format),this.element.data("color",t),t},updateInput:function(t){return t=t||this.color.toString(!1,this.format),!1!==this.input&&(this.input.prop("value",t),this.input.trigger("change")),t},updatePicker:function(t){void 0!==t&&(this.color=this.createColor(t));var e=!1===this.options.horizontal?this.options.sliders:this.options.slidersHorz,n=this.picker.find("i");if(0!==n.length)return!1===this.options.horizontal?(e=this.options.sliders,n.eq(1).css("top",e.hue.maxTop*(1-this.color.value.h)).end().eq(2).css("top",e.alpha.maxTop*(1-this.color.value.a))):(e=this.options.slidersHorz,n.eq(1).css("left",e.hue.maxLeft*(1-this.color.value.h)).end().eq(2).css("left",e.alpha.maxLeft*(1-this.color.value.a))),n.eq(0).css({top:e.saturation.maxTop-this.color.value.b*e.saturation.maxTop,left:this.color.value.s*e.saturation.maxLeft}),this.picker.find(".colorpicker-saturation").css("backgroundColor",this.color.toHex(!0,this.color.value.h,1,1,1)),this.picker.find(".colorpicker-alpha").css("backgroundColor",this.color.toHex(!0)),this.picker.find(".colorpicker-color, .colorpicker-color div").css("backgroundColor",this.color.toString(!0,this.format)),t},updateComponent:function(t){var e;if(e=void 0!==t?this.createColor(t):this.color,!1!==this.component){var n=this.component.find("i").eq(0);n.length>0?n.css({backgroundColor:e.toString(!0,this.format)}):this.component.css({backgroundColor:e.toString(!0,this.format)})}return e.toString(!1,this.format)},update:function(t){var e;return!1===this.getValue(!1)&&!0!==t||(e=this.updateComponent(),this.updateInput(e),this.updateData(e),this.updatePicker()),e},setValue:function(t){this.color=this.createColor(t),this.update(!0),this.element.trigger({type:"changeColor",color:this.color,value:t})},createColor:function(t){return new e(t||null,this.options.colorSelectors,this.options.fallbackColor?this.options.fallbackColor:this.color,this.options.fallbackFormat,this.options.hexNumberSignPrefix)},getValue:function(t){t=void 0===t?this.options.fallbackColor:t;var e;return e=this.hasInput()?this.input.val():this.element.data("color"),void 0!==e&&""!==e&&null!==e||(e=t),e},hasInput:function(){return!1!==this.input},isDisabled:function(){return this.disabled},disable:function(){return this.hasInput()&&this.input.prop("disabled",!0),this.disabled=!0,this.element.trigger({type:"disable",color:this.color,value:this.getValue()}),!0},enable:function(){return this.hasInput()&&this.input.prop("disabled",!1),this.disabled=!1,this.element.trigger({type:"enable",color:this.color,value:this.getValue()}),!0},currentSlider:null,mousePointer:{left:0,top:0},mousedown:function(e){!e.pageX&&!e.pageY&&e.originalEvent&&e.originalEvent.touches&&(e.pageX=e.originalEvent.touches[0].pageX,e.pageY=e.originalEvent.touches[0].pageY),e.stopPropagation(),e.preventDefault();var n=t(e.target),i=n.closest("div"),r=this.options.horizontal?this.options.slidersHorz:this.options.sliders;if(!i.is(".colorpicker")){if(i.is(".colorpicker-saturation"))this.currentSlider=t.extend({},r.saturation);else if(i.is(".colorpicker-hue"))this.currentSlider=t.extend({},r.hue);else{if(!i.is(".colorpicker-alpha"))return!1;this.currentSlider=t.extend({},r.alpha)}var o=i.offset();this.currentSlider.guide=i.find("i")[0].style,this.currentSlider.left=e.pageX-o.left,this.currentSlider.top=e.pageY-o.top,this.mousePointer={left:e.pageX,top:e.pageY},t(window.document).on({"mousemove.colorpicker":t.proxy(this.mousemove,this),"touchmove.colorpicker":t.proxy(this.mousemove,this),"mouseup.colorpicker":t.proxy(this.mouseup,this),"touchend.colorpicker":t.proxy(this.mouseup,this)}).trigger("mousemove")}return!1},mousemove:function(t){!t.pageX&&!t.pageY&&t.originalEvent&&t.originalEvent.touches&&(t.pageX=t.originalEvent.touches[0].pageX,t.pageY=t.originalEvent.touches[0].pageY),t.stopPropagation(),t.preventDefault();var e=Math.max(0,Math.min(this.currentSlider.maxLeft,this.currentSlider.left+((t.pageX||this.mousePointer.left)-this.mousePointer.left))),n=Math.max(0,Math.min(this.currentSlider.maxTop,this.currentSlider.top+((t.pageY||this.mousePointer.top)-this.mousePointer.top)));return this.currentSlider.guide.left=e+"px",this.currentSlider.guide.top=n+"px",this.currentSlider.callLeft&&this.color[this.currentSlider.callLeft].call(this.color,e/this.currentSlider.maxLeft),this.currentSlider.callTop&&this.color[this.currentSlider.callTop].call(this.color,n/this.currentSlider.maxTop),!1!==this.options.format||"setAlpha"!==this.currentSlider.callTop&&"setAlpha"!==this.currentSlider.callLeft||(1!==this.color.value.a?(this.format="rgba",this.color.origFormat="rgba"):(this.format="hex",this.color.origFormat="hex")),this.update(!0),this.element.trigger({type:"changeColor",color:this.color}),!1},mouseup:function(e){return e.stopPropagation(),e.preventDefault(),t(window.document).off({"mousemove.colorpicker":this.mousemove,"touchmove.colorpicker":this.mousemove,"mouseup.colorpicker":this.mouseup,"touchend.colorpicker":this.mouseup}),!1},change:function(t){this.color=this.createColor(this.input.val()),this.color.origFormat&&!1===this.options.format&&(this.format=this.color.origFormat),!1!==this.getValue(!1)&&(this.updateData(),this.updateComponent(),this.updatePicker()),this.element.trigger({type:"changeColor",color:this.color,value:this.input.val()})},keyup:function(t){38===t.keyCode?(this.color.value.a<1&&(this.color.value.a=Math.round(100*(this.color.value.a+.01))/100),this.update(!0)):40===t.keyCode&&(this.color.value.a>0&&(this.color.value.a=Math.round(100*(this.color.value.a-.01))/100),this.update(!0)),this.element.trigger({type:"changeColor",color:this.color,value:this.input.val()})}},t.colorpicker=i,t.fn.colorpicker=function(e){var n=Array.prototype.slice.call(arguments,1),r=1===this.length,o=null,a=this.each(function(){var r=t(this),a=r.data("colorpicker"),s="object"==typeof e?e:{};a||(a=new i(this,s),r.data("colorpicker",a)),"string"==typeof e?t.isFunction(a[e])?o=a[e].apply(a,n):(n.length&&(a[e]=n[0]),o=a[e]):o=r});return r?o:a},t.fn.colorpicker.constructor=i}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t,e){function n(){return new Date(Date.UTC.apply(Date,arguments))}function i(){var t=new Date;return n(t.getFullYear(),t.getMonth(),t.getDate())}function r(t,e){return t.getUTCFullYear()===e.getUTCFullYear()&&t.getUTCMonth()===e.getUTCMonth()&&t.getUTCDate()===e.getUTCDate()}function o(n,i){return function(){return i!==e&&t.fn.datepicker.deprecated(i),this[n].apply(this,arguments)}}function a(t){return t&&!isNaN(t.getTime())}function s(e,n){function i(t,e){return e.toLowerCase()}var r,o=t(e).data(),a={},s=new RegExp("^"+n.toLowerCase()+"([A-Z])");n=new RegExp("^"+n.toLowerCase());for(var l in o)n.test(l)&&(r=l.replace(s,i),a[r]=o[l]);return a}function l(e){var n={};if(v[e]||(e=e.split("-")[0],v[e])){var i=v[e];return t.each(g,function(t,e){e in i&&(n[e]=i[e])}),n}}var u=function(){var e={get:function(t){return this.slice(t)[0]},contains:function(t){for(var e=t&&t.valueOf(),n=0,i=this.length;n<i;n++)if(0<=this[n].valueOf()-e&&this[n].valueOf()-e<864e5)return n;return-1},remove:function(t){this.splice(t,1)},replace:function(e){e&&(t.isArray(e)||(e=[e]),this.clear(),this.push.apply(this,e))},clear:function(){this.length=0},copy:function(){var t=new u;return t.replace(this),t}};return function(){var n=[];return n.push.apply(n,arguments),t.extend(n,e),n}}(),c=function(e,n){t.data(e,"datepicker",this),this._events=[],this._secondaryEvents=[],this._process_options(n),this.dates=new u,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=t(e),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=!!this.element.hasClass("date")&&this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"),this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=t(m.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.o.calendarWeeks&&this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(t,e){return Number(e)+1}),this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled}),this._allow_update=!1,this.setViewMode(this.o.startView),this._allow_update=!0,this.fillDow(),this.fillMonths(),this.update(),this.isInline&&this.show()};c.prototype={constructor:c,_resolveViewName:function(e){return t.each(m.viewModes,function(n,i){if(e===n||-1!==t.inArray(e,i.names))return e=n,!1}),e},_resolveDaysOfWeek:function(e){return t.isArray(e)||(e=e.split(/[,\s]*/)),t.map(e,Number)},_check_template:function(n){try{if(n===e||""===n)return!1;if((n.match(/[<>]/g)||[]).length<=0)return!0;return t(n).length>0}catch(t){return!1}},_process_options:function(e){this._o=t.extend({},this._o,e);var r=this.o=t.extend({},this._o),o=r.language;v[o]||(o=o.split("-")[0],v[o]||(o=p.language)),r.language=o,r.startView=this._resolveViewName(r.startView),r.minViewMode=this._resolveViewName(r.minViewMode),r.maxViewMode=this._resolveViewName(r.maxViewMode),r.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,r.startView)),!0!==r.multidate&&(r.multidate=Number(r.multidate)||!1,!1!==r.multidate&&(r.multidate=Math.max(0,r.multidate))),r.multidateSeparator=String(r.multidateSeparator),r.weekStart%=7,r.weekEnd=(r.weekStart+6)%7;var a=m.parseFormat(r.format);r.startDate!==-1/0&&(r.startDate?r.startDate instanceof Date?r.startDate=this._local_to_utc(this._zero_time(r.startDate)):r.startDate=m.parseDate(r.startDate,a,r.language,r.assumeNearbyYear):r.startDate=-1/0),r.endDate!==1/0&&(r.endDate?r.endDate instanceof Date?r.endDate=this._local_to_utc(this._zero_time(r.endDate)):r.endDate=m.parseDate(r.endDate,a,r.language,r.assumeNearbyYear):r.endDate=1/0),r.daysOfWeekDisabled=this._resolveDaysOfWeek(r.daysOfWeekDisabled||[]),r.daysOfWeekHighlighted=this._resolveDaysOfWeek(r.daysOfWeekHighlighted||[]),r.datesDisabled=r.datesDisabled||[],t.isArray(r.datesDisabled)||(r.datesDisabled=r.datesDisabled.split(",")),r.datesDisabled=t.map(r.datesDisabled,function(t){return m.parseDate(t,a,r.language,r.assumeNearbyYear)});var s=String(r.orientation).toLowerCase().split(/\s+/g),l=r.orientation.toLowerCase();if(s=t.grep(s,function(t){return/^auto|left|right|top|bottom$/.test(t)}),r.orientation={x:"auto",y:"auto"},l&&"auto"!==l)if(1===s.length)switch(s[0]){case"top":case"bottom":r.orientation.y=s[0];break;case"left":case"right":r.orientation.x=s[0]}else l=t.grep(s,function(t){return/^left|right$/.test(t)}),r.orientation.x=l[0]||"auto",l=t.grep(s,function(t){return/^top|bottom$/.test(t)}),r.orientation.y=l[0]||"auto";else;if(r.defaultViewDate instanceof Date||"string"==typeof r.defaultViewDate)r.defaultViewDate=m.parseDate(r.defaultViewDate,a,r.language,r.assumeNearbyYear);else if(r.defaultViewDate){var u=r.defaultViewDate.year||(new Date).getFullYear(),c=r.defaultViewDate.month||0,d=r.defaultViewDate.day||1;r.defaultViewDate=n(u,c,d)}else r.defaultViewDate=i()},_applyEvents:function(t){for(var n,i,r,o=0;o<t.length;o++)n=t[o][0],2===t[o].length?(i=e,r=t[o][1]):3===t[o].length&&(i=t[o][1],r=t[o][2]),n.on(r,i)},_unapplyEvents:function(t){for(var n,i,r,o=0;o<t.length;o++)n=t[o][0],2===t[o].length?(r=e,i=t[o][1]):3===t[o].length&&(r=t[o][1],i=t[o][2]),n.off(i,r)},_buildEvents:function(){var e={keyup:t.proxy(function(e){-1===t.inArray(e.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:t.proxy(this.keydown,this),paste:t.proxy(this.paste,this)};!0===this.o.showOnFocus&&(e.focus=t.proxy(this.show,this)),this.isInput?this._events=[[this.element,e]]:this.component&&this.inputField.length?this._events=[[this.inputField,e],[this.component,{click:t.proxy(this.show,this)}]]:this._events=[[this.element,{click:t.proxy(this.show,this),keydown:t.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:t.proxy(function(t){this._focused_from=t.target},this)}],[this.element,{blur:t.proxy(function(t){this._focused_from=t.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":t.proxy(function(t){this.update(t.date)},this)}]),this._secondaryEvents=[[this.picker,{click:t.proxy(this.click,this)}],[this.picker,".prev, .next",{click:t.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:t.proxy(this.dayCellClick,this)}],[t(window),{resize:t.proxy(this.place,this)}],[t(document),{"mousedown touchstart":t.proxy(function(t){this.element.is(t.target)||this.element.find(t.target).length||this.picker.is(t.target)||this.picker.find(t.target).length||this.isInline||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(e,n){var i=n||this.dates.get(-1),r=this._utc_to_local(i);this.element.trigger({type:e,date:r,viewMode:this.viewMode,dates:t.map(this.dates,this._utc_to_local),format:t.proxy(function(t,e){0===arguments.length?(t=this.dates.length-1,e=this.o.format):"string"==typeof t&&(e=t,t=this.dates.length-1),e=e||this.o.format;var n=this.dates.get(t);return m.formatDate(n,e,this.o.language)},this)})},show:function(){if(!(this.inputField.is(":disabled")||this.inputField.prop("readonly")&&!1===this.o.enableOnReadonly))return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&t(this.element).blur(),this},hide:function(){return this.isInline||!this.picker.is(":visible")?this:(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.setViewMode(this.o.startView),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide"),this)},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(e){var n;if(e.originalEvent.clipboardData&&e.originalEvent.clipboardData.types&&-1!==t.inArray("text/plain",e.originalEvent.clipboardData.types))n=e.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;n=window.clipboardData.getData("Text")}this.setDate(n),this.update(),e.preventDefault()},_utc_to_local:function(t){if(!t)return t;var e=new Date(t.getTime()+6e4*t.getTimezoneOffset());return e.getTimezoneOffset()!==t.getTimezoneOffset()&&(e=new Date(t.getTime()+6e4*e.getTimezoneOffset())),e},_local_to_utc:function(t){return t&&new Date(t.getTime()-6e4*t.getTimezoneOffset())},_zero_time:function(t){return t&&new Date(t.getFullYear(),t.getMonth(),t.getDate())},_zero_utc_time:function(t){return t&&n(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate())},getDates:function(){return t.map(this.dates,this._utc_to_local)},getUTCDates:function(){return t.map(this.dates,function(t){return new Date(t)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var t=this.dates.get(-1);return t!==e?new Date(t):null},clearDates:function(){this.inputField.val(""),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var e=t.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,e),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var e=t.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,t.map(e,this._utc_to_local)),this},setDate:o("setDates"),setUTCDate:o("setUTCDates"),remove:o("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var t=this.getFormattedDate();return this.inputField.val(t),this},getFormattedDate:function(n){n===e&&(n=this.o.format);var i=this.o.language;return t.map(this.dates,function(t){return m.formatDate(t,n,i)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(t){return this._process_options({startDate:t}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(t){return this._process_options({endDate:t}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(t){return this._process_options({daysOfWeekDisabled:t}),this.update(),this},setDaysOfWeekHighlighted:function(t){return this._process_options({daysOfWeekHighlighted:t}),this.update(),this},setDatesDisabled:function(t){return this._process_options({datesDisabled:t}),this.update(),this},place:function(){if(this.isInline)return this;var e=this.picker.outerWidth(),n=this.picker.outerHeight(),i=t(this.o.container),r=i.width(),o="body"===this.o.container?t(document).scrollTop():i.scrollTop(),a=i.offset(),s=[0];this.element.parents().each(function(){var e=t(this).css("z-index");"auto"!==e&&0!==Number(e)&&s.push(Number(e))});var l=Math.max.apply(Math,s)+this.o.zIndexOffset,u=this.component?this.component.parent().offset():this.element.offset(),c=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),d=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),h=u.left-a.left,f=u.top-a.top;"body"!==this.o.container&&(f+=o),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(h-=e-d)):u.left<0?(this.picker.addClass("datepicker-orient-left"),h-=u.left-10):h+e>r?(this.picker.addClass("datepicker-orient-right"),h+=d-e):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var p,g=this.o.orientation.y;if("auto"===g&&(p=-o+f-n,g=p<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+g),"top"===g?f-=n+parseInt(this.picker.css("padding-top")):f+=c,this.o.rtl){var v=r-(h+d);this.picker.css({top:f,right:v,zIndex:l})}else this.picker.css({top:f,left:h,zIndex:l});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var e=this.dates.copy(),n=[],i=!1;return arguments.length?(t.each(arguments,t.proxy(function(t,e){e instanceof Date&&(e=this._local_to_utc(e)),n.push(e)},this)),i=!0):(n=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),n=n&&this.o.multidate?n.split(this.o.multidateSeparator):[n],delete this.element.data().date),n=t.map(n,t.proxy(function(t){return m.parseDate(t,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),n=t.grep(n,t.proxy(function(t){return!this.dateWithinRange(t)||!t},this),!0),this.dates.replace(n),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),i?(this.setValue(),this.element.change()):this.dates.length&&String(e)!==String(this.dates)&&i&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&e.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var e=this.o.weekStart,n="<tr>";for(this.o.calendarWeeks&&(n+='<th class="cw">&#160;</th>');e<this.o.weekStart+7;)n+='<th class="dow',-1!==t.inArray(e,this.o.daysOfWeekDisabled)&&(n+=" disabled"),n+='">'+v[this.o.language].daysMin[e++%7]+"</th>";n+="</tr>",this.picker.find(".datepicker-days thead").append(n)}},fillMonths:function(){for(var t,e=this._utc_to_local(this.viewDate),n="",i=0;i<12;i++)t=e&&e.getMonth()===i?" focused":"",n+='<span class="month'+t+'">'+v[this.o.language].monthsShort[i]+"</span>";this.picker.find(".datepicker-months td").html(n)},setRange:function(e){e&&e.length?this.range=t.map(e,function(t){return t.valueOf()}):delete this.range,this.fill()},getClassNames:function(e){var n=[],o=this.viewDate.getUTCFullYear(),a=this.viewDate.getUTCMonth(),s=i();return e.getUTCFullYear()<o||e.getUTCFullYear()===o&&e.getUTCMonth()<a?n.push("old"):(e.getUTCFullYear()>o||e.getUTCFullYear()===o&&e.getUTCMonth()>a)&&n.push("new"),this.focusDate&&e.valueOf()===this.focusDate.valueOf()&&n.push("focused"),this.o.todayHighlight&&r(e,s)&&n.push("today"),-1!==this.dates.contains(e)&&n.push("active"),this.dateWithinRange(e)||n.push("disabled"),this.dateIsDisabled(e)&&n.push("disabled","disabled-date"),-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekHighlighted)&&n.push("highlighted"),this.range&&(e>this.range[0]&&e<this.range[this.range.length-1]&&n.push("range"),
+-1!==t.inArray(e.valueOf(),this.range)&&n.push("selected"),e.valueOf()===this.range[0]&&n.push("range-start"),e.valueOf()===this.range[this.range.length-1]&&n.push("range-end")),n},_fill_yearsView:function(n,i,r,o,a,s,l){for(var u,c,d,h="",f=r/10,p=this.picker.find(n),g=Math.floor(o/r)*r,v=g+9*f,m=Math.floor(this.viewDate.getFullYear()/f)*f,y=t.map(this.dates,function(t){return Math.floor(t.getUTCFullYear()/f)*f}),b=g-f;b<=v+f;b+=f)u=[i],c=null,b===g-f?u.push("old"):b===v+f&&u.push("new"),-1!==t.inArray(b,y)&&u.push("active"),(b<a||b>s)&&u.push("disabled"),b===m&&u.push("focused"),l!==t.noop&&(d=l(new Date(b,0,1)),d===e?d={}:"boolean"==typeof d?d={enabled:d}:"string"==typeof d&&(d={classes:d}),!1===d.enabled&&u.push("disabled"),d.classes&&(u=u.concat(d.classes.split(/\s+/))),d.tooltip&&(c=d.tooltip)),h+='<span class="'+u.join(" ")+'"'+(c?' title="'+c+'"':"")+">"+b+"</span>";p.find(".datepicker-switch").text(g+"-"+v),p.find("td").html(h)},fill:function(){var r,o,a=new Date(this.viewDate),s=a.getUTCFullYear(),l=a.getUTCMonth(),u=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,c=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,d=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,h=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,f=v[this.o.language].today||v.en.today||"",p=v[this.o.language].clear||v.en.clear||"",g=v[this.o.language].titleFormat||v.en.titleFormat,y=i(),b=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&y>=this.o.startDate&&y<=this.o.endDate&&!this.weekOfDateIsDisabled(y);if(!isNaN(s)&&!isNaN(l)){this.picker.find(".datepicker-days .datepicker-switch").text(m.formatDate(a,g,this.o.language)),this.picker.find("tfoot .today").text(f).css("display",b?"table-cell":"none"),this.picker.find("tfoot .clear").text(p).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var _=n(s,l,0),x=_.getUTCDate();_.setUTCDate(x-(_.getUTCDay()-this.o.weekStart+7)%7);var w=new Date(_);_.getUTCFullYear()<100&&w.setUTCFullYear(_.getUTCFullYear()),w.setUTCDate(w.getUTCDate()+42),w=w.valueOf();for(var C,k,T=[];_.valueOf()<w;){if((C=_.getUTCDay())===this.o.weekStart&&(T.push("<tr>"),this.o.calendarWeeks)){var S=new Date(+_+(this.o.weekStart-C-7)%7*864e5),D=new Date(Number(S)+(11-S.getUTCDay())%7*864e5),A=new Date(Number(A=n(D.getUTCFullYear(),0,1))+(11-A.getUTCDay())%7*864e5),E=(D-A)/864e5/7+1;T.push('<td class="cw">'+E+"</td>")}k=this.getClassNames(_),k.push("day");var M=_.getUTCDate();this.o.beforeShowDay!==t.noop&&(o=this.o.beforeShowDay(this._utc_to_local(_)),o===e?o={}:"boolean"==typeof o?o={enabled:o}:"string"==typeof o&&(o={classes:o}),!1===o.enabled&&k.push("disabled"),o.classes&&(k=k.concat(o.classes.split(/\s+/))),o.tooltip&&(r=o.tooltip),o.content&&(M=o.content)),k=t.isFunction(t.uniqueSort)?t.uniqueSort(k):t.unique(k),T.push('<td class="'+k.join(" ")+'"'+(r?' title="'+r+'"':"")+' data-date="'+_.getTime().toString()+'">'+M+"</td>"),r=null,C===this.o.weekEnd&&T.push("</tr>"),_.setUTCDate(_.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(T.join(""));var O=v[this.o.language].monthsTitle||v.en.monthsTitle||"Months",$=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?O:s).end().find("tbody span").removeClass("active");if(t.each(this.dates,function(t,e){e.getUTCFullYear()===s&&$.eq(e.getUTCMonth()).addClass("active")}),(s<u||s>d)&&$.addClass("disabled"),s===u&&$.slice(0,c).addClass("disabled"),s===d&&$.slice(h+1).addClass("disabled"),this.o.beforeShowMonth!==t.noop){var I=this;t.each($,function(n,i){var r=new Date(s,n,1),o=I.o.beforeShowMonth(r);o===e?o={}:"boolean"==typeof o?o={enabled:o}:"string"==typeof o&&(o={classes:o}),!1!==o.enabled||t(i).hasClass("disabled")||t(i).addClass("disabled"),o.classes&&t(i).addClass(o.classes),o.tooltip&&t(i).prop("title",o.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,s,u,d,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,s,u,d,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,s,u,d,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var t,e,n=new Date(this.viewDate),i=n.getUTCFullYear(),r=n.getUTCMonth(),o=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,a=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,s=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(i/u)*u<=o,e=Math.floor(i/u)*u+u>s;break;case 0:t=i<=o&&r<=a,e=i>=s&&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,a,s;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(i(),"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?(s=r.parent().find("span").index(r),a=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(s)):(s=0,a=Number(r.text()),this.viewDate.setUTCFullYear(a)),this._trigger(m.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(n(a,s,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 n=t(e.currentTarget),i=n.data("date"),r=new Date(i);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 n=t(e.currentTarget),i=n.hasClass("prev")?-1:1;0!==this.viewMode&&(i*=12*m.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,i),this._trigger(m.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 n=new Date(t);return n.setUTCDate(t.getUTCDate()+e),n},moveWeek:function(t,e){return this.moveDay(t,7*e)},moveMonth:function(t,e){if(!a(t))return this.o.defaultViewDate;if(!e)return t;var n,i,r=new Date(t.valueOf()),o=r.getUTCDate(),s=r.getUTCMonth(),l=Math.abs(e);if(e=e>0?1:-1,1===l)i=-1===e?function(){return r.getUTCMonth()===s}:function(){return r.getUTCMonth()!==n},n=s+e,r.setUTCMonth(n),n=(n+12)%12;else{for(var u=0;u<l;u++)r=this.moveMonth(r,e);n=r.getUTCMonth(),r.setUTCDate(o),i=function(){return n!==r.getUTCMonth()}}for(;i();)r.setUTCDate(--o),r.setUTCMonth(n);return r},moveYear:function(t,e){return this.moveMonth(t,12*e)},moveAvailableDate:function(t,e,n){do{if(t=this[n](t,e),!this.dateWithinRange(t))return!1;n="moveDay"}while(this.dateIsDisabled(t));return t},weekOfDateIsDisabled:function(e){return-1!==t.inArray(e.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(e){return this.weekOfDateIsDisabled(e)||t.grep(this.o.datesDisabled,function(t){return r(e,t)}).length>0},dateWithinRange:function(t){return t>=this.o.startDate&&t<=this.o.endDate},keydown:function(t){if(!this.picker.is(":visible"))return void(40!==t.keyCode&&27!==t.keyCode||(this.show(),t.stopPropagation()));var e,n,i=!1,r=this.focusDate||this.viewDate;switch(t.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),t.preventDefault(),t.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;e=37===t.keyCode||38===t.keyCode?-1:1,0===this.viewMode?t.ctrlKey?(n=this.moveAvailableDate(r,e,"moveYear"))&&this._trigger("changeYear",this.viewDate):t.shiftKey?(n=this.moveAvailableDate(r,e,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===t.keyCode||39===t.keyCode?n=this.moveAvailableDate(r,e,"moveDay"):this.weekOfDateIsDisabled(r)||(n=this.moveAvailableDate(r,e,"moveWeek")):1===this.viewMode?(38!==t.keyCode&&40!==t.keyCode||(e*=4),n=this.moveAvailableDate(r,e,"moveMonth")):2===this.viewMode&&(38!==t.keyCode&&40!==t.keyCode||(e*=4),n=this.moveAvailableDate(r,e,"moveYear")),n&&(this.focusDate=this.viewDate=n,this.setValue(),this.fill(),t.preventDefault());break;case 13:if(!this.o.forceParse)break;r=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(r),i=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(t.preventDefault(),t.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}i&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(t){this.viewMode=t,this.picker.children("div").hide().filter(".datepicker-"+m.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var d=function(e,n){t.data(e,"datepicker",this),this.element=t(e),this.inputs=t.map(n.inputs,function(t){return t.jquery?t[0]:t}),delete n.inputs,this.keepEmptyValues=n.keepEmptyValues,delete n.keepEmptyValues,f.call(t(this.inputs),n).on("changeDate",t.proxy(this.dateUpdated,this)),this.pickers=t.map(this.inputs,function(e){return t.data(e,"datepicker")}),this.updateDates()};d.prototype={updateDates:function(){this.dates=t.map(this.pickers,function(t){return t.getUTCDate()}),this.updateRanges()},updateRanges:function(){var e=t.map(this.dates,function(t){return t.valueOf()});t.each(this.pickers,function(t,n){n.setRange(e)})},clearDates:function(){t.each(this.pickers,function(t,e){e.clearDates()})},dateUpdated:function(n){if(!this.updating){this.updating=!0;var i=t.data(n.target,"datepicker");if(i!==e){var r=i.getUTCDate(),o=this.keepEmptyValues,a=t.inArray(n.target,this.inputs),s=a-1,l=a+1,u=this.inputs.length;if(-1!==a){if(t.each(this.pickers,function(t,e){e.getUTCDate()||e!==i&&o||e.setUTCDate(r)}),r<this.dates[s])for(;s>=0&&r<this.dates[s];)this.pickers[s--].setUTCDate(r);else if(r>this.dates[l])for(;l<u&&r>this.dates[l];)this.pickers[l++].setUTCDate(r);this.updateDates(),delete this.updating}}}},destroy:function(){t.map(this.pickers,function(t){t.destroy()}),t(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:o("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var h=t.fn.datepicker,f=function(n){var i=Array.apply(null,arguments);i.shift();var r;if(this.each(function(){var e=t(this),o=e.data("datepicker"),a="object"==typeof n&&n;if(!o){var u=s(this,"date"),h=t.extend({},p,u,a),f=l(h.language),g=t.extend({},p,f,u,a);e.hasClass("input-daterange")||g.inputs?(t.extend(g,{inputs:g.inputs||e.find("input").toArray()}),o=new d(this,g)):o=new c(this,g),e.data("datepicker",o)}"string"==typeof n&&"function"==typeof o[n]&&(r=o[n].apply(o,i))}),r===e||r instanceof c||r instanceof d)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+n+" function)");return r};t.fn.datepicker=f;var p=t.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:t.noop,beforeShowMonth:t.noop,beforeShowYear:t.noop,beforeShowDecade:t.noop,beforeShowCentury:t.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"&#x00AB;",rightArrow:"&#x00BB;"},showWeekDays:!0},g=t.fn.datepicker.locale_opts=["format","rtl","weekStart"];t.fn.datepicker.Constructor=c;var v=t.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},m={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(t){if("function"==typeof t.toValue&&"function"==typeof t.toDisplay)return t;var e=t.replace(this.validParts,"\0").split("\0"),n=t.match(this.validParts);if(!e||!e.length||!n||0===n.length)throw new Error("Invalid date format.");return{separators:e,parts:n}},parseDate:function(n,r,o,a){function s(t,e){return!0===e&&(e=10),t<100&&(t+=2e3)>(new Date).getFullYear()+e&&(t-=100),t}function l(){var t=this.slice(0,u[f].length),e=u[f].slice(0,t.length);return t.toLowerCase()===e.toLowerCase()}if(!n)return e;if(n instanceof Date)return n;if("string"==typeof r&&(r=m.parseFormat(r)),r.toValue)return r.toValue(n,r,o);var u,d,h,f,p,g={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},y={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(n in y&&(n=y[n]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(n)){for(u=n.match(/([\-+]\d+)([dmwy])/gi),n=new Date,f=0;f<u.length;f++)d=u[f].match(/([\-+]\d+)([dmwy])/i),h=Number(d[1]),p=g[d[2].toLowerCase()],n=c.prototype[p](n,h);return c.prototype._zero_utc_time(n)}u=n&&n.match(this.nonpunctuation)||[];var b,_,x={},w=["yyyy","yy","M","MM","m","mm","d","dd"],C={yyyy:function(t,e){return t.setUTCFullYear(a?s(e,a):e)},m:function(t,e){if(isNaN(t))return t;for(e-=1;e<0;)e+=12;for(e%=12,t.setUTCMonth(e);t.getUTCMonth()!==e;)t.setUTCDate(t.getUTCDate()-1);return t},d:function(t,e){return t.setUTCDate(e)}};C.yy=C.yyyy,C.M=C.MM=C.mm=C.m,C.dd=C.d,n=i();var k=r.parts.slice();if(u.length!==k.length&&(k=t(k).filter(function(e,n){return-1!==t.inArray(n,w)}).toArray()),u.length===k.length){var T;for(f=0,T=k.length;f<T;f++){if(b=parseInt(u[f],10),d=k[f],isNaN(b))switch(d){case"MM":_=t(v[o].months).filter(l),b=t.inArray(_[0],v[o].months)+1;break;case"M":_=t(v[o].monthsShort).filter(l),b=t.inArray(_[0],v[o].monthsShort)+1}x[d]=b}var S,D;for(f=0;f<w.length;f++)(D=w[f])in x&&!isNaN(x[D])&&(S=new Date(n),C[D](S,x[D]),isNaN(S)||(n=S))}return n},formatDate:function(e,n,i){if(!e)return"";if("string"==typeof n&&(n=m.parseFormat(n)),n.toDisplay)return n.toDisplay(e,n,i);var r={d:e.getUTCDate(),D:v[i].daysShort[e.getUTCDay()],DD:v[i].days[e.getUTCDay()],m:e.getUTCMonth()+1,M:v[i].monthsShort[e.getUTCMonth()],MM:v[i].months[e.getUTCMonth()],yy:e.getUTCFullYear().toString().substring(2),yyyy:e.getUTCFullYear()};r.dd=(r.d<10?"0":"")+r.d,r.mm=(r.m<10?"0":"")+r.m,e=[];for(var o=t.extend([],n.separators),a=0,s=n.parts.length;a<=s;a++)o.length&&e.push(o.shift()),e.push(r[n.parts[a]]);return e.join("")},headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">'+p.templates.leftArrow+'</th><th colspan="5" class="datepicker-switch"></th><th class="next">'+p.templates.rightArrow+"</th></tr></thead>",contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};m.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+m.headTemplate+"<tbody></tbody>"+m.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+m.headTemplate+m.contTemplate+m.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+m.headTemplate+m.contTemplate+m.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+m.headTemplate+m.contTemplate+m.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+m.headTemplate+m.contTemplate+m.footTemplate+"</table></div></div>",t.fn.datepicker.DPGlobal=m,t.fn.datepicker.noConflict=function(){return t.fn.datepicker=h,this},t.fn.datepicker.version="1.9.0",t.fn.datepicker.deprecated=function(t){var e=window.console;e&&e.warn&&e.warn("DEPRECATED: "+t)},t(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(e){var n=t(this);n.data("datepicker")||(e.preventDefault(),f.call(n,"show"))}),t(function(){f.call(t('[data-provide="datepicker-inline"]'))})}),function(t){"use strict";function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var n=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();!function(t){var i="ekkoLightbox",r=t.fn[i],o={title:"",footer:"",maxWidth:9999,maxHeight:9999,showArrows:!0,wrapping:!0,type:null,alwaysShowClose:!1,loadingMessage:'<div class="ekko-lightbox-loader"><div><div></div><div></div></div></div>',leftArrow:"<span>&#10094;</span>",rightArrow:"<span>&#10095;</span>",strings:{close:"Close",fail:"Failed to load image:",type:"Could not detect remote target type. Force the type using data-type"},doc:document,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){},onNavigate:function(){},onContentLoaded:function(){}},a=function(){function i(n,r){var a=this;e(this,i),this._config=t.extend({},o,r),this._$modalArrows=null,this._galleryIndex=0,this._galleryName=null,this._padding=null,this._border=null,this._titleIsShown=!1,this._footerIsShown=!1,this._wantedWidth=0,this._wantedHeight=0,this._touchstartX=0,this._touchendX=0,this._modalId="ekkoLightbox-"+Math.floor(1e3*Math.random()+1),this._$element=n instanceof jQuery?n:t(n),this._isBootstrap3=3==t.fn.modal.Constructor.VERSION[0];var s='<h4 class="modal-title">'+(this._config.title||"&nbsp;")+"</h4>",l='<button type="button" class="close" data-dismiss="modal" aria-label="'+this._config.strings.close+'"><span aria-hidden="true">&times;</span></button>',u='<div class="modal-header'+(this._config.title||this._config.alwaysShowClose?"":" hide")+'">'+(this._isBootstrap3?l+s:s+l)+"</div>",c='<div class="modal-footer'+(this._config.footer?"":" hide")+'">'+(this._config.footer||"&nbsp;")+"</div>",d='<div class="modal-dialog" role="document"><div class="modal-content">'+u+'<div class="modal-body"><div class="ekko-lightbox-container"><div class="ekko-lightbox-item fade in show"></div><div class="ekko-lightbox-item fade"></div></div></div>'+c+"</div></div>";t(this._config.doc.body).append('<div id="'+this._modalId+'" class="ekko-lightbox modal fade" tabindex="-1" tabindex="-1" role="dialog" aria-hidden="true">'+d+"</div>"),this._$modal=t("#"+this._modalId,this._config.doc),this._$modalDialog=this._$modal.find(".modal-dialog").first(),this._$modalContent=this._$modal.find(".modal-content").first(),this._$modalBody=this._$modal.find(".modal-body").first(),this._$modalHeader=this._$modal.find(".modal-header").first(),this._$modalFooter=this._$modal.find(".modal-footer").first(),this._$lightboxContainer=this._$modalBody.find(".ekko-lightbox-container").first(),this._$lightboxBodyOne=this._$lightboxContainer.find("> div:first-child").first(),this._$lightboxBodyTwo=this._$lightboxContainer.find("> div:last-child").first(),this._border=this._calculateBorders(),this._padding=this._calculatePadding(),this._galleryName=this._$element.data("gallery"),this._galleryName&&(this._$galleryItems=t(document.body).find('*[data-gallery="'+this._galleryName+'"]'),this._galleryIndex=this._$galleryItems.index(this._$element),t(document).on("keydown.ekkoLightbox",this._navigationalBinder.bind(this)),this._config.showArrows&&this._$galleryItems.length>1&&(this._$lightboxContainer.append('<div class="ekko-lightbox-nav-overlay"><a href="#">'+this._config.leftArrow+'</a><a href="#">'+this._config.rightArrow+"</a></div>"),this._$modalArrows=this._$lightboxContainer.find("div.ekko-lightbox-nav-overlay").first(),this._$lightboxContainer.on("click","a:first-child",function(t){return t.preventDefault(),a.navigateLeft()}),this._$lightboxContainer.on("click","a:last-child",function(t){return t.preventDefault(),a.navigateRight()}),this.updateNavigation())),this._$modal.on("show.bs.modal",this._config.onShow.bind(this)).on("shown.bs.modal",function(){return a._toggleLoading(!0),a._handle(),a._config.onShown.call(a)}).on("hide.bs.modal",this._config.onHide.bind(this)).on("hidden.bs.modal",function(){return a._galleryName&&(t(document).off("keydown.ekkoLightbox"),t(window).off("resize.ekkoLightbox")),a._$modal.remove(),a._config.onHidden.call(a)}).modal(this._config),t(window).on("resize.ekkoLightbox",function(){a._resize(a._wantedWidth,a._wantedHeight)}),this._$lightboxContainer.on("touchstart",function(){a._touchstartX=event.changedTouches[0].screenX}).on("touchend",function(){a._touchendX=event.changedTouches[0].screenX,a._swipeGesure()})}return n(i,null,[{key:"Default",get:function(){return o}}]),n(i,[{key:"element",value:function(){return this._$element}},{key:"modal",value:function(){return this._$modal}},{key:"navigateTo",value:function(e){if(e<0||e>this._$galleryItems.length-1)return this;this._galleryIndex=e,this.updateNavigation(),this._$element=t(this._$galleryItems.get(this._galleryIndex)),this._handle()}},{key:"navigateLeft",value:function(){if(this._$galleryItems&&1!==this._$galleryItems.length){if(0===this._galleryIndex){if(!this._config.wrapping)return;this._galleryIndex=this._$galleryItems.length-1}else this._galleryIndex--;return this._config.onNavigate.call(this,"left",this._galleryIndex),this.navigateTo(this._galleryIndex)}}},{key:"navigateRight",value:function(){if(this._$galleryItems&&1!==this._$galleryItems.length){if(this._galleryIndex===this._$galleryItems.length-1){if(!this._config.wrapping)return;this._galleryIndex=0}else this._galleryIndex++;return this._config.onNavigate.call(this,"right",this._galleryIndex),this.navigateTo(this._galleryIndex)}}},{key:"updateNavigation",value:function(){if(!this._config.wrapping){var t=this._$lightboxContainer.find("div.ekko-lightbox-nav-overlay");0===this._galleryIndex?t.find("a:first-child").addClass("disabled"):t.find("a:first-child").removeClass("disabled"),this._galleryIndex===this._$galleryItems.length-1?t.find("a:last-child").addClass("disabled"):t.find("a:last-child").removeClass("disabled")}}},{key:"close",value:function(){return this._$modal.modal("hide")}},{key:"_navigationalBinder",value:function(t){return t=t||window.event,39===t.keyCode?this.navigateRight():37===t.keyCode?this.navigateLeft():void 0}},{key:"_detectRemoteType",value:function(t,e){return e=e||!1,!e&&this._isImage(t)&&(e="image"),!e&&this._getYoutubeId(t)&&(e="youtube"),!e&&this._getVimeoId(t)&&(e="vimeo"),!e&&this._getInstagramId(t)&&(e="instagram"),(!e||["image","youtube","vimeo","instagram","video","url"].indexOf(e)<0)&&(e="url"),e}},{key:"_isImage",value:function(t){return t&&t.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)}},{key:"_containerToUse",value:function(){var t=this,e=this._$lightboxBodyTwo,n=this._$lightboxBodyOne;return this._$lightboxBodyTwo.hasClass("in")&&(e=this._$lightboxBodyOne,n=this._$lightboxBodyTwo),n.removeClass("in show"),setTimeout(function(){t._$lightboxBodyTwo.hasClass("in")||t._$lightboxBodyTwo.empty(),t._$lightboxBodyOne.hasClass("in")||t._$lightboxBodyOne.empty()},500),e.addClass("in show"),e}},{key:"_handle",value:function(){var t=this._containerToUse();this._updateTitleAndFooter();var e=this._$element.attr("data-remote")||this._$element.attr("href"),n=this._detectRemoteType(e,this._$element.attr("data-type")||!1);if(["image","youtube","vimeo","instagram","video","url"].indexOf(n)<0)return this._error(this._config.strings.type);switch(n){case"image":this._preloadImage(e,t),this._preloadImageByIndex(this._galleryIndex,3);break;case"youtube":this._showYoutubeVideo(e,t);break;case"vimeo":this._showVimeoVideo(this._getVimeoId(e),t);break;case"instagram":this._showInstagramVideo(this._getInstagramId(e),t);break;case"video":this._showHtml5Video(e,t);break;default:this._loadRemoteContent(e,t)}return this}},{key:"_getYoutubeId",value:function(t){if(!t)return!1;var e=t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);return!(!e||11!==e[2].length)&&e[2]}},{key:"_getVimeoId",value:function(t){return!!(t&&t.indexOf("vimeo")>0)&&t}},{key:"_getInstagramId",value:function(t){return!!(t&&t.indexOf("instagram")>0)&&t}},{key:"_toggleLoading",value:function(e){return e=e||!1,e?(this._$modalDialog.css("display","none"),this._$modal.removeClass("in show"),t(".modal-backdrop").append(this._config.loadingMessage)):(this._$modalDialog.css("display","block"),this._$modal.addClass("in show"),t(".modal-backdrop").find(".ekko-lightbox-loader").remove()),this}},{key:"_calculateBorders",value:function(){return{top:this._totalCssByAttribute("border-top-width"),right:this._totalCssByAttribute("border-right-width"),bottom:this._totalCssByAttribute("border-bottom-width"),left:this._totalCssByAttribute("border-left-width")}}},{key:"_calculatePadding",value:function(){return{top:this._totalCssByAttribute("padding-top"),right:this._totalCssByAttribute("padding-right"),bottom:this._totalCssByAttribute("padding-bottom"),left:this._totalCssByAttribute("padding-left")}}},{key:"_totalCssByAttribute",value:function(t){return parseInt(this._$modalDialog.css(t),10)+parseInt(this._$modalContent.css(t),10)+parseInt(this._$modalBody.css(t),10)}},{key:"_updateTitleAndFooter",value:function(){var t=this._$element.data("title")||"",e=this._$element.data("footer")||"";return this._titleIsShown=!1,t||this._config.alwaysShowClose?(this._titleIsShown=!0,this._$modalHeader.css("display","").find(".modal-title").html(t||"&nbsp;")):this._$modalHeader.css("display","none"),this._footerIsShown=!1,e?(this._footerIsShown=!0,this._$modalFooter.css("display","").html(e)):this._$modalFooter.css("display","none"),this}},{key:"_showYoutubeVideo",value:function(t,e){var n=this._getYoutubeId(t),i=t.indexOf("&")>0?t.substr(t.indexOf("&")):"",r=this._$element.data("width")||560,o=this._$element.data("height")||r/(560/315);return this._showVideoIframe("//www.youtube.com/embed/"+n+"?badge=0&autoplay=1&html5=1"+i,r,o,e)}},{key:"_showVimeoVideo",value:function(t,e){var n=this._$element.data("width")||500,i=this._$element.data("height")||n/(560/315);return this._showVideoIframe(t+"?autoplay=1",n,i,e)}},{key:"_showInstagramVideo",value:function(t,e){var n=this._$element.data("width")||612,i=n+80;return t="/"!==t.substr(-1)?t+"/":t,e.html('<iframe width="'+n+'" height="'+i+'" src="'+t+'embed/" frameborder="0" allowfullscreen></iframe>'),this._resize(n,i),this._config.onContentLoaded.call(this),this._$modalArrows&&this._$modalArrows.css("display","none"),this._toggleLoading(!1),this}},{key:"_showVideoIframe",value:function(t,e,n,i){return n=n||e,i.html('<div class="embed-responsive embed-responsive-16by9"><iframe width="'+e+'" height="'+n+'" src="'+t+'" frameborder="0" allowfullscreen class="embed-responsive-item"></iframe></div>'),this._resize(e,n),this._config.onContentLoaded.call(this),this._$modalArrows&&this._$modalArrows.css("display","none"),this._toggleLoading(!1),this}},{key:"_showHtml5Video",value:function(t,e){var n=this._$element.data("width")||560,i=this._$element.data("height")||n/(560/315);return e.html('<div class="embed-responsive embed-responsive-16by9"><video width="'+n+'" height="'+i+'" src="'+t+'" preload="auto" autoplay controls class="embed-responsive-item"></video></div>'),this._resize(n,i),this._config.onContentLoaded.call(this),this._$modalArrows&&this._$modalArrows.css("display","none"),this._toggleLoading(!1),this}},{key:"_loadRemoteContent",value:function(e,n){var i=this,r=this._$element.data("width")||560,o=this._$element.data("height")||560,a=this._$element.data("disableExternalCheck")||!1;return this._toggleLoading(!1),a||this._isExternal(e)?(n.html('<iframe src="'+e+'" frameborder="0" allowfullscreen></iframe>'),this._config.onContentLoaded.call(this)):n.load(e,t.proxy(function(){return i._$element.trigger("loaded.bs.modal")})),this._$modalArrows&&this._$modalArrows.css("display","none"),this._resize(r,o),this}},{key:"_isExternal",value:function(t){var e=t.match(/^([^:\/?#]+:)?(?:\/\/([^\/?#]*))?([^?#]+)?(\?[^#]*)?(#.*)?/);return"string"==typeof e[1]&&e[1].length>0&&e[1].toLowerCase()!==location.protocol||"string"==typeof e[2]&&e[2].length>0&&e[2].replace(new RegExp(":("+{"http:":80,"https:":443}[location.protocol]+")?$"),"")!==location.host}},{key:"_error",value:function(t){return console.error(t),this._containerToUse().html(t),this._resize(300,300),this}},{key:"_preloadImageByIndex",value:function(e,n){if(this._$galleryItems){var i=t(this._$galleryItems.get(e),!1);if(void 0!==i){var r=i.attr("data-remote")||i.attr("href");return("image"===i.attr("data-type")||this._isImage(r))&&this._preloadImage(r,!1),n>0?this._preloadImageByIndex(e+1,n-1):void 0}}}},{key:"_preloadImage",value:function(e,n){var i=this;n=n||!1;var r=new Image;return n&&function(){var o=setTimeout(function(){n.append(i._config.loadingMessage)},200);r.onload=function(){o&&clearTimeout(o),o=null;var e=t("<img />");return e.attr("src",r.src),e.addClass("img-fluid"),e.css("width","100%"),n.html(e),i._$modalArrows&&i._$modalArrows.css("display",""),i._resize(r.width,r.height),i._toggleLoading(!1),i._config.onContentLoaded.call(i)},r.onerror=function(){return i._toggleLoading(!1),i._error(i._config.strings.fail+" "+e)}}(),r.src=e,r}},{key:"_swipeGesure",value:function(){return this._touchendX<this._touchstartX?this.navigateRight():this._touchendX>this._touchstartX?this.navigateLeft():void 0}},{key:"_resize",value:function(e,n){n=n||e,this._wantedWidth=e,this._wantedHeight=n;var i=e/n,r=this._padding.left+this._padding.right+this._border.left+this._border.right,o=this._config.doc.body.clientWidth>575?20:0,a=this._config.doc.body.clientWidth>575?0:20,s=Math.min(e+r,this._config.doc.body.clientWidth-o,this._config.maxWidth);e+r>s?(n=(s-r-a)/i,e=s):e+=r;var l=0,u=0;this._footerIsShown&&(u=this._$modalFooter.outerHeight(!0)||55),this._titleIsShown&&(l=this._$modalHeader.outerHeight(!0)||67)
+;var c=this._padding.top+this._padding.bottom+this._border.bottom+this._border.top,d=parseFloat(this._$modalDialog.css("margin-top"))+parseFloat(this._$modalDialog.css("margin-bottom")),h=Math.min(n,t(window).height()-c-d-l-u,this._config.maxHeight-c-l-u);n>h&&(e=Math.ceil(h*i)+r),this._$lightboxContainer.css("height",h),this._$modalDialog.css("flex",1).css("maxWidth",e);var f=this._$modal.data("bs.modal");if(f)try{f._handleUpdate()}catch(t){f.handleUpdate()}return this}}],[{key:"_jQueryInterface",value:function(e){var n=this;return e=e||{},this.each(function(){var r=t(n),o=t.extend({},i.Default,r.data(),"object"==typeof e&&e);new i(n,o)})}}]),i}();t.fn[i]=a._jQueryInterface,t.fn[i].Constructor=a,t.fn[i].noConflict=function(){return t.fn[i]=r,a._jQueryInterface}}(jQuery)}(jQuery),function(t){function e(t,e,r){var o=t[0],a=/er/.test(r)?g:/bl/.test(r)?f:d,s=r==v?{checked:o[d],disabled:o[f],indeterminate:"true"==t.attr(g)||"false"==t.attr(p)}:o[a];if(/^(ch|di|in)/.test(r)&&!s)n(t,a);else if(/^(un|en|de)/.test(r)&&s)i(t,a);else if(r==v)for(var l in s)s[l]?n(t,l,!0):i(t,l,!0);else e&&"toggle"!=r||(e||t[x]("ifClicked"),s?o[m]!==c&&i(t,a):n(t,a))}function n(e,n,r){var v=e[0],y=e.parent(),x=n==d,w=n==g,k=n==f,T=w?p:x?h:"enabled",S=o(e,T+a(v[m])),D=o(e,n+a(v[m]));if(!0!==v[n]){if(!r&&n==d&&v[m]==c&&v.name){var A=e.closest("form"),E='input[name="'+v.name+'"]';E=A.length?A.find(E):t(E),E.each(function(){this!==v&&t(this).data(l)&&i(t(this),n)})}w?(v[n]=!0,v[d]&&i(e,d,"force")):(r||(v[n]=!0),x&&v[g]&&i(e,g,!1)),s(e,x,n,r)}v[f]&&o(e,C,!0)&&y.find("."+u).css(C,"default"),y[b](D||o(e,n)||""),y.attr("role")&&!w&&y.attr("aria-"+(k?f:d),"true"),y[_](S||o(e,T)||"")}function i(t,e,n){var i=t[0],r=t.parent(),l=e==d,c=e==g,v=e==f,y=c?p:l?h:"enabled",x=o(t,y+a(i[m])),w=o(t,e+a(i[m]));!1!==i[e]&&(!c&&n&&"force"!=n||(i[e]=!1),s(t,l,y,n)),!i[f]&&o(t,C,!0)&&r.find("."+u).css(C,"pointer"),r[_](w||o(t,e)||""),r.attr("role")&&!c&&r.attr("aria-"+(v?f:d),"false"),r[b](x||o(t,y)||"")}function r(e,n){e.data(l)&&(e.parent().html(e.attr("style",e.data(l).s||"")),n&&e[x](n),e.off(".i").unwrap(),t(w+'[for="'+e[0].id+'"]').add(e.closest(w)).off(".i"))}function o(t,e,n){if(t.data(l))return t.data(l).o[e+(n?"":"Class")]}function a(t){return t.charAt(0).toUpperCase()+t.slice(1)}function s(t,e,n,i){i||(e&&t[x]("ifToggled"),t[x]("ifChanged")[x]("if"+a(n)))}var l="iCheck",u=l+"-helper",c="radio",d="checked",h="un"+d,f="disabled",p="determinate",g="in"+p,v="update",m="type",y="touchbegin.i touchend.i",b="addClass",_="removeClass",x="trigger",w="label",C="cursor",k=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);t.fn[l]=function(o,a){var s='input[type="checkbox"], input[type="'+c+'"]',h=t(),p=function(e){e.each(function(){var e=t(this);h=e.is(s)?h.add(e):h.add(e.find(s))})};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(o))return o=o.toLowerCase(),p(this),h.each(function(){var n=t(this);"destroy"==o?r(n,"ifDestroyed"):e(n,!0,o),t.isFunction(a)&&a()});if("object"!=typeof o&&o)return this;var C=t.extend({checkedClass:d,disabledClass:f,indeterminateClass:g,labelHover:!0},o),T=C.handle,S=C.hoverClass||"hover",D=C.focusClass||"focus",A=C.activeClass||"active",E=!!C.labelHover,M=C.labelHoverClass||"hover",O=0|(""+C.increaseArea).replace("%","");return"checkbox"!=T&&T!=c||(s='input[type="'+T+'"]'),O<-50&&(O=-50),p(this),h.each(function(){var o=t(this);r(o);var a,s=this,h=s.id,p=-O+"%",g=100+2*O+"%",T={position:"absolute",top:p,left:p,display:"block",width:g,height:g,margin:0,padding:0,background:"#fff",border:0,opacity:0},$=k?{position:"absolute",visibility:"hidden"}:O?T:{position:"absolute",opacity:0},I="checkbox"==s[m]?C.checkboxClass||"icheckbox":C.radioClass||"i"+c,F=t(w+'[for="'+h+'"]').add(o.closest(w)),P=!!C.aria,N=l+"-"+Math.random().toString(36).substr(2,6),L='<div class="'+I+'" '+(P?'role="'+s[m]+'" ':"");P&&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),a=t('<ins class="'+u+'"/>').css(T).appendTo(L),o.data(l,{o:C,s:o.attr("style")}).css($),!!C.inheritClass&&L[b](s.className||""),!!C.inheritID&&h&&L.attr("id",l+"-"+h),"static"==L.css("position")&&L.css("position","relative"),e(o,!0,v),F.length&&F.on("click.i mouseover.i mouseout.i "+y,function(n){var i=n[m],r=t(this);if(!s[f]){if("click"==i){if(t(n.target).is("a"))return;e(o,!1,!0)}else E&&(/ut|nd/.test(i)?(L[_](S),r[_](M)):(L[b](S),r[b](M)));if(!k)return!1;n.stopPropagation()}}),o.on("click.i focus.i blur.i keyup.i keydown.i keypress.i",function(t){var e=t[m],r=t.keyCode;return"click"!=e&&("keydown"==e&&32==r?(s[m]==c&&s[d]||(s[d]?i(o,d):n(o,d)),!1):void("keyup"==e&&s[m]==c?!s[d]&&n(o,d):/us|ur/.test(e)&&L["blur"==e?_:b](D)))}),a.on("click mousedown mouseup mouseover mouseout "+y,function(t){var n=t[m],i=/wn|up/.test(n)?A:S;if(!s[f]){if("click"==n?e(o,!1,!0):(/wn|er|in/.test(n)?L[b](i):L[_](i+" "+A),F.length&&E&&i==S&&F[/ut|nd/.test(n)?_:b](M)),!k)return!1;t.stopPropagation()}})})}}(window.jQuery||window.Zepto),function(t){function e(t){for(var e,n,i=t.length;i;e=parseInt(Math.random()*i),n=t[--i],t[i]=t[e],t[e]=n);return t}function n(t,e){return Math.floor(Math.random()*(e-t+1)+t)}var i=[],r=[],o=[],a=[],s=null,l={init:function(e,n){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++)i.push(c);for(c=65;c<91;c++)r.push(c);for(c=97;c<123;c++)o.push(c);return a=[33,35,64,36,38,42,91,93,123,125,92,47,63,58,59,95,45].concat(u.additionalSpecialChars),this.each(function(){s=t(this),s.bind(u.bind,function(t){t.preventDefault(),l.generatePassword(u)})})},generatePassword:function(s){var l=new Array,u=s.uppercase+s.lowercase+s.numbers+s.specialChars,c=0,d=new Array,h=Math.floor(s.passwordLength/u);if(s.uppercase){for(var f=0;f<h;f++)l.push(String.fromCharCode(r[n(0,r.length-1)]));d=d.concat(r),c++}if(s.numbers){for(var f=0;f<h;f++)l.push(String.fromCharCode(i[n(0,i.length-1)]));d=d.concat(i),c++}if(s.specialChars){for(var f=0;f<h;f++)l.push(String.fromCharCode(a[n(0,a.length-1)]));d=d.concat(a),c++}var p=s.passwordLength-c*h;if(s.lowercase)for(var f=0;f<p;f++)l.push(String.fromCharCode(o[n(0,o.length-1)]));else for(var f=0;f<p;f++)l.push(String.fromCharCode(d[n(0,d.length-1)]));l=e(l).join(""),null!==s.passwordElement&&t(s.passwordElement).val(l),null!==s.displayElement&&(t(s.displayElement).is("input")?t(s.displayElement).val(l):t(s.displayElement).text(l)),s.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(qe),n=e.length,i=0;i<n;i++)t[e[i]]={distance:-1,parent:null};return t}function n(t){var n=e(),i=[t];for(n[t].distance=0;i.length;)for(var r=i.pop(),o=Object.keys(qe[r]),a=o.length,s=0;s<a;s++){var l=o[s],u=n[l];-1===u.distance&&(u.distance=n[r].distance+1,u.parent=r,i.unshift(l))}return n}function i(t,e){return function(n){return e(t(n))}}function r(t,e){for(var n=[e[t].parent,t],r=qe[e[t].parent][t],o=e[t].parent;e[o].parent;)n.unshift(e[o].parent),r=i(qe[e[o].parent][o],r),o=e[o].parent;return r.conversion=n,r}function o(t){var e=function(e){return void 0===e||null===e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}function a(t){var e=function(e){if(void 0===e||null===e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var i=n.length,r=0;r<i;r++)n[r]=Math.round(n[r]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}function s(t){if(t){var e=/^#([a-fA-F0-9]{3,4})$/i,n=/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i,i=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,r=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,o=/(\w+)/,a=[0,0,0],s=1,l=t.match(e),u="";if(l){l=l[1],u=l[3];for(var c=0;c<a.length;c++)a[c]=parseInt(l[c]+l[c],16);u&&(s=Math.round(parseInt(u+u,16)/255*100)/100)}else if(l=t.match(n)){u=l[2],l=l[1];for(var c=0;c<a.length;c++)a[c]=parseInt(l.slice(2*c,2*c+2),16);u&&(s=Math.round(parseInt(u,16)/255*100)/100)}else if(l=t.match(i)){for(var c=0;c<a.length;c++)a[c]=parseInt(l[c+1]);s=parseFloat(l[4])}else if(l=t.match(r)){for(var c=0;c<a.length;c++)a[c]=Math.round(2.55*parseFloat(l[c+1]));s=parseFloat(l[4])}else if(l=t.match(o)){if("transparent"==l[1])return[0,0,0,0];if(!(a=Ke[l[1]]))return}for(var c=0;c<a.length;c++)a[c]=w(a[c],0,255);return s=s||0==s?w(s,0,1):1,a[3]=s,a}}function l(t){if(t){var e=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=t.match(e);if(n){var i=parseFloat(n[4]);return[w(parseInt(n[1]),0,360),w(parseFloat(n[2]),0,100),w(parseFloat(n[3]),0,100),w(isNaN(i)?1:i,0,1)]}}}function u(t){if(t){var e=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=t.match(e);if(n){var i=parseFloat(n[4]);return[w(parseInt(n[1]),0,360),w(parseFloat(n[2]),0,100),w(parseFloat(n[3]),0,100),w(isNaN(i)?1:i,0,1)]}}}function c(t){var e=s(t);return e&&e.slice(0,3)}function d(t){var e=l(t);return e&&e.slice(0,3)}function h(t){var e=s(t);return e?e[3]:(e=l(t))?e[3]:(e=u(t))?e[3]:void 0}function f(t,e){var e=void 0!==e&&3===t.length?e:t[3];return"#"+C(t[0])+C(t[1])+C(t[2])+(e>=0&&e<1?C(Math.round(255*e)):"")}function p(t,e){return e<1||t[3]&&t[3]<1?g(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"}function g(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function v(t,e){return e<1||t[3]&&t[3]<1?m(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"}function m(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function y(t,e){return e<1||t[3]&&t[3]<1?b(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"}function b(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function _(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"}function x(t){return Qe[t.slice(0,3)]}function w(t,e,n){return Math.min(Math.max(e,t),n)}function C(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}function k(t){return!t||rn.isNullOrUndef(t.size)||rn.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function T(t,e,n,i){var r,o,a,s,l,u,c,d,h,f=Object.keys(n);for(r=0,o=f.length;r<o;++r)if(a=f[r],u=n[a],e.hasOwnProperty(a)||(e[a]=u),(s=e[a])!==u&&"_"!==a[0]){if(t.hasOwnProperty(a)||(t[a]=s),l=t[a],(c=typeof u)===typeof l)if("string"===c){if(d=en(l),d.valid&&(h=en(u),h.valid)){e[a]=h.mix(d,i).rgbString();continue}}else if(Dn.isFinite(l)&&Dn.isFinite(u)){e[a]=l+(u-l)*i;continue}e[a]=u}}function S(t,e){if(t._chartjs)return void t._chartjs.listeners.push(e);Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),Rn.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),i=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),r=i.apply(this,e);return Dn.each(t._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),r}})})}function D(t,e){var n=t._chartjs;if(n){var i=n.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),i.length>0||(Rn.forEach(function(e){delete t[e]}),delete t._chartjs)}}function A(t,e){var n=e.startAngle,i=e.endAngle,r=e.pixelMargin,o=r/e.outerRadius,a=e.x,s=e.y;t.beginPath(),t.arc(a,s,e.outerRadius,n-o,i+o),e.innerRadius>r?(o=r/e.innerRadius,t.arc(a,s,e.innerRadius-r,i+o,n-o,!0)):t.arc(a,s,r,i+Math.PI/2,n-Math.PI/2),t.closePath(),t.clip()}function E(t,e,n,i){var r,o=n.endAngle;for(i&&(n.endAngle=n.startAngle+zn,A(t,n),n.endAngle=o,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=zn,n.fullCircles--)),t.beginPath(),t.arc(n.x,n.y,n.innerRadius,n.startAngle+zn,n.startAngle,!0),r=0;r<n.fullCircles;++r)t.stroke();for(t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.startAngle+zn),r=0;r<n.fullCircles;++r)t.stroke()}function M(t,e,n){var i="inner"===e.borderAlign;i?(t.lineWidth=2*e.borderWidth,t.lineJoin="round"):(t.lineWidth=e.borderWidth,t.lineJoin="bevel"),n.fullCircles&&E(t,e,n,i),i&&A(t,n),t.beginPath(),t.arc(n.x,n.y,e.outerRadius,n.startAngle,n.endAngle),t.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),t.closePath(),t.stroke()}function O(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}function $(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius}function I(t){return t&&void 0!==t.width}function F(t){var e,n,i,r,o;return I(t)?(o=t.width/2,e=t.x-o,n=t.x+o,i=Math.min(t.y,t.base),r=Math.max(t.y,t.base)):(o=t.height/2,e=Math.min(t.x,t.base),n=Math.max(t.x,t.base),i=t.y-o,r=t.y+o),{left:e,top:i,right:n,bottom:r}}function P(t,e,n){return t===e?n:t===n?e:t}function N(t){var e=t.borderSkipped,n={};return e?(t.horizontal?t.base>t.x&&(e=P(e,"left","right")):t.base<t.y&&(e=P(e,"bottom","top")),n[e]=!0,n):n}function L(t,e,n){var i,r,o,a,s=t.borderWidth,l=N(t);return Dn.isObject(s)?(i=+s.top||0,r=+s.right||0,o=+s.bottom||0,a=+s.left||0):i=r=o=a=+s||0,{t:l.top||i<0?0:i>n?n:i,r:l.right||r<0?0:r>e?e:r,b:l.bottom||o<0?0:o>n?n:o,l:l.left||a<0?0:a>e?e:a}}function j(t){var e=F(t),n=e.right-e.left,i=e.bottom-e.top,r=L(t,n/2,i/2);return{outer:{x:e.left,y:e.top,w:n,h:i},inner:{x:e.left+r.l,y:e.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b}}}function R(t,e,n){var i=null===e,r=null===n,o=!(!t||i&&r)&&F(t);return o&&(i||e>=o.left&&e<=o.right)&&(r||n>=o.top&&n<=o.bottom)}function U(t,e){var n,i,r,o,a=t._length;for(r=1,o=e.length;r<o;++r)a=Math.min(a,Math.abs(e[r]-e[r-1]));for(r=0,o=t.getTicks().length;r<o;++r)i=t.getPixelForTick(r),a=r>0?Math.min(a,Math.abs(i-n)):a,n=i;return a}function B(t,e,n){var i,r,o=n.barThickness,a=e.stackCount,s=e.pixels[t],l=Dn.isNullOrUndef(o)?U(e.scale,e.pixels):-1;return Dn.isNullOrUndef(o)?(i=l*n.categoryPercentage,r=n.barPercentage):(i=o*a,r=1),{chunk:i/a,ratio:r,start:s-i/2}}function z(t,e,n){var i,r,o=e.pixels,a=o[t],s=t>0?o[t-1]:null,l=t<o.length-1?o[t+1]:null,u=n.categoryPercentage;return null===s&&(s=a-(null===l?e.end-e.start:l-a)),null===l&&(l=a+a-s),i=a-(a-Math.min(s,l))/2*u,r=Math.abs(l-s)/2*u,{chunk:r/e.stackCount,ratio:n.barPercentage,start:i}}function H(t,e){var n=t&&t.options.ticks||{},i=n.reverse,r=void 0===n.min?e:0,o=void 0===n.max?e:0;return{start:i?o:r,end:i?r:o}}function W(t,e,n){var i=n/2,r=H(t,i),o=H(e,i);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}function V(t){var e,n,i,r;return Dn.isObject(t)?(e=t.top,n=t.right,i=t.bottom,r=t.left):e=n=i=r=t,{top:e,right:n,bottom:i,left:r}}function q(t,e){return t.native?{x:t.x,y:t.y}:Dn.getRelativePosition(t,e)}function Y(t,e){var n,i,r,o,a,s,l=t._getSortedVisibleDatasetMetas();for(i=0,o=l.length;i<o;++i)for(n=l[i].data,r=0,a=n.length;r<a;++r)s=n[r],s._view.skip||e(s)}function X(t,e){var n=[];return Y(t,function(t){t.inRange(e.x,e.y)&&n.push(t)}),n}function G(t,e,n,i){var r=Number.POSITIVE_INFINITY,o=[];return Y(t,function(t){if(!n||t.inRange(e.x,e.y)){var a=t.getCenterPoint(),s=i(e,a);s<r?(o=[t],r=s):s===r&&o.push(t)}}),o}function K(t){var e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,i){var r=e?Math.abs(t.x-i.x):0,o=n?Math.abs(t.y-i.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}function Z(t,e,n){var i=q(e,t);n.axis=n.axis||"x";var r=K(n.axis),o=n.intersect?X(t,i):G(t,i,!1,r),a=[];return o.length?(t._getSortedVisibleDatasetMetas().forEach(function(t){var e=t.data[o[0]._index];e&&!e._view.skip&&a.push(e)}),a):[]}function Q(t,e){return Dn.where(t,function(t){return t.pos===e})}function J(t,e){return t.sort(function(t,n){var i=e?n:t,r=e?t:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight})}function tt(t){var e,n,i,r=[];for(e=0,n=(t||[]).length;e<n;++e)i=t[e],r.push({index:e,box:i,pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return r}function et(t,e){var n,i,r;for(n=0,i=t.length;n<i;++n)r=t[n],r.width=r.horizontal?r.box.fullWidth&&e.availableWidth:e.vBoxMaxWidth,r.height=r.horizontal&&e.hBoxMaxHeight}function nt(t){var e=tt(t),n=J(Q(e,"left"),!0),i=J(Q(e,"right")),r=J(Q(e,"top"),!0),o=J(Q(e,"bottom"));return{leftAndTop:n.concat(r),rightAndBottom:i.concat(o),chartArea:Q(e,"chartArea"),vertical:n.concat(i),horizontal:r.concat(o)}}function it(t,e,n,i){return Math.max(t[n],e[n])+Math.max(t[i],e[i])}function rt(t,e,n){var i,r,o=n.box,a=t.maxPadding;if(n.size&&(t[n.pos]-=n.size),n.size=n.horizontal?o.height:o.width,t[n.pos]+=n.size,o.getPadding){var s=o.getPadding();a.top=Math.max(a.top,s.top),a.left=Math.max(a.left,s.left),a.bottom=Math.max(a.bottom,s.bottom),a.right=Math.max(a.right,s.right)}if(i=e.outerWidth-it(a,t,"left","right"),r=e.outerHeight-it(a,t,"top","bottom"),i!==t.w||r!==t.h)return t.w=i,t.h=r,n.horizontal?i!==t.w:r!==t.h}function ot(t){function e(e){var i=Math.max(n[e]-t[e],0);return t[e]+=i,i}var n=t.maxPadding;t.y+=e("top"),t.x+=e("left"),e("right"),e("bottom")}function at(t,e){function n(t){var n={left:0,top:0,right:0,bottom:0};return t.forEach(function(t){n[t]=Math.max(e[t],i[t])}),n}var i=e.maxPadding;return n(t?["left","right"]:["top","bottom"])}function st(t,e,n){var i,r,o,a,s,l,u=[];for(i=0,r=t.length;i<r;++i)o=t[i],a=o.box,a.update(o.width||e.w,o.height||e.h,at(o.horizontal,e)),rt(e,n,o)&&(l=!0,u.length&&(s=!0)),a.fullWidth||u.push(o);return s?st(u,e,n)||l:l}function lt(t,e,n){var i,r,o,a,s=n.padding,l=e.x,u=e.y;for(i=0,r=t.length;i<r;++i)o=t[i],a=o.box,o.horizontal?(a.left=a.fullWidth?s.left:e.left,a.right=a.fullWidth?n.outerWidth-s.right:e.left+e.w,a.top=u,a.bottom=u+a.height,a.width=a.right-a.left,u=a.bottom):(a.left=l,a.right=l+a.width,a.top=e.top,a.bottom=e.top+e.h,a.height=a.bottom-a.top,l=a.right);e.x=l,e.y=u}function ut(t,e){var n=Dn.getStyle(t,e),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}function ct(t,e){var n=t.style,i=t.getAttribute("height"),r=t.getAttribute("width");if(t[$i]={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var o=ut(t,"width");void 0!==o&&(t.width=o)}if(null===i||""===i)if(""===t.style.height)t.height=t.width/(e.options.aspectRatio||2);else{var a=ut(t,"height");void 0!==o&&(t.height=a)}return t}function dt(t,e,n){t.addEventListener(e,n,Ri)}function ht(t,e,n){t.removeEventListener(e,n,Ri)}function ft(t,e,n,i,r){return{type:t,chart:e,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function pt(t,e){var n=Li[t.type]||t.type,i=Dn.getRelativePosition(t,e);return ft(n,e,i.x,i.y,t)}function gt(t,e){var n=!1,i=[];return function(){i=Array.prototype.slice.call(arguments),e=e||this,n||(n=!0,Dn.requestAnimFrame.call(window,function(){n=!1,t.apply(e,i)}))}}function vt(t){var e=document.createElement("div");return e.className=t||"",e}function mt(t){var e=vt(Ii),n=vt(Ii+"-expand"),i=vt(Ii+"-shrink");n.appendChild(vt()),i.appendChild(vt()),e.appendChild(n),e.appendChild(i),e._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6};var r=function(){e._reset(),t()};return dt(n,"scroll",r.bind(n,"expand")),dt(i,"scroll",r.bind(i,"shrink")),e}function yt(t,e){var n=t[$i]||(t[$i]={}),i=n.renderProxy=function(t){t.animationName===Pi&&e()};Dn.each(Ni,function(e){dt(t,e,i)}),n.reflow=!!t.offsetParent,t.classList.add(Fi)}function bt(t){var e=t[$i]||{},n=e.renderProxy;n&&(Dn.each(Ni,function(e){ht(t,e,n)}),delete e.renderProxy),t.classList.remove(Fi)}function _t(t,e,n){var i=t[$i]||(t[$i]={}),r=i.resizer=mt(gt(function(){if(i.resizer){var r=n.options.maintainAspectRatio&&t.parentNode,o=r?r.clientWidth:0;e(ft("resize",n)),r&&r.clientWidth<o&&n.canvas&&e(ft("resize",n))}}));yt(t,function(){if(i.resizer){var e=t.parentNode;e&&e!==r.parentNode&&e.insertBefore(r,e.firstChild),r._reset()}})}function xt(t){var e=t[$i]||{},n=e.resizer;delete e.resizer,bt(t),n&&n.parentNode&&n.parentNode.removeChild(n)}function wt(t,e){var n=t[$i]||(t[$i]={});if(!n.containsStyles){n.containsStyles=!0,e="/* Chart.js */\n"+e;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(e)),t.appendChild(i)}}function Ct(t,e){return e&&(Dn.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function kt(t){return("string"==typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function Tt(t){var e=t._xScale,n=t._yScale||t._scale,i=t._index,r=t._datasetIndex,o=t._chart.getDatasetMeta(r).controller,a=o._getIndexScale(),s=o._getValueScale();return{xLabel:e?e.getLabelForIndex(i,r):"",yLabel:n?n.getLabelForIndex(i,r):"",label:a?""+a.getLabelForIndex(i,r):"",value:s?""+s.getLabelForIndex(i,r):"",index:i,datasetIndex:r,x:t._model.x,y:t._model.y}}function St(t){var e=vn.global;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,rtl:t.rtl,textDirection:t.textDirection,bodyFontColor:t.bodyFontColor,_bodyFontFamily:Vi(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:Vi(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:Vi(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:Vi(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:Vi(t.titleFontStyle,e.defaultFontStyle),titleFontSize:Vi(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:Vi(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:Vi(t.footerFontStyle,e.defaultFontStyle),footerFontSize:Vi(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}function Dt(t,e){var n=t._chart.ctx,i=2*e.yPadding,r=0,o=e.body,a=o.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0);a+=e.beforeBody.length+e.afterBody.length;var s=e.title.length,l=e.footer.length,u=e.titleFontSize,c=e.bodyFontSize,d=e.footerFontSize;i+=s*u,i+=s?(s-1)*e.titleSpacing:0,i+=s?e.titleMarginBottom:0,i+=a*c,i+=a?(a-1)*e.bodySpacing:0,i+=l?e.footerMarginTop:0,i+=l*d,i+=l?(l-1)*e.footerSpacing:0;var h=0,f=function(t){r=Math.max(r,n.measureText(t).width+h)};return n.font=Dn.fontString(u,e._titleFontStyle,e._titleFontFamily),Dn.each(e.title,f),n.font=Dn.fontString(c,e._bodyFontStyle,e._bodyFontFamily),Dn.each(e.beforeBody.concat(e.afterBody),f),h=e.displayColors?c+2:0,Dn.each(o,function(t){Dn.each(t.before,f),Dn.each(t.lines,f),Dn.each(t.after,f)}),h=0,n.font=Dn.fontString(d,e._footerFontStyle,e._footerFontFamily),Dn.each(e.footer,f),r+=2*e.xPadding,{width:r,height:i}}function At(t,e){var n=t._model,i=t._chart,r=t._chart.chartArea,o="center",a="center";n.y<e.height?a="top":n.y>i.height-e.height&&(a="bottom");var s,l,u,c,d,h=(r.left+r.right)/2,f=(r.top+r.bottom)/2;"center"===a?(s=function(t){return t<=h},l=function(t){return t>h}):(s=function(t){return t<=e.width/2},l=function(t){return t>=i.width-e.width/2}),u=function(t){return t+e.width+n.caretSize+n.caretPadding>i.width},c=function(t){return t-e.width-n.caretSize-n.caretPadding<0},d=function(t){return t<=f?"top":"bottom"},s(n.x)?(o="left",u(n.x)&&(o="center",a=d(n.y))):l(n.x)&&(o="right",c(n.x)&&(o="center",a=d(n.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:o,yAlign:p.yAlign?p.yAlign:a}}function Et(t,e,n,i){var r=t.x,o=t.y,a=t.caretSize,s=t.caretPadding,l=t.cornerRadius,u=n.xAlign,c=n.yAlign,d=a+s,h=l+s;return"right"===u?r-=e.width:"center"===u&&(r-=e.width/2,r+e.width>i.width&&(r=i.width-e.width),r<0&&(r=0)),"top"===c?o+=d:o-="bottom"===c?e.height+d:e.height/2,"center"===c?"left"===u?r+=d:"right"===u&&(r-=d):"left"===u?r-=h:"right"===u&&(r+=h),{x:r,y:o}}function Mt(t,e){return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-t.xPadding:t.x+t.xPadding}function Ot(t){return Ct([],kt(t))}function $t(){return Dn.merge({},[].slice.call(arguments),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var r,o,a,s=n[t].length;for(e[t]||(e[t]=[]),r=0;r<s;++r)a=n[t][r],o=Zi(a.type,"xAxes"===t?"category":"linear"),r>=e[t].length&&e[t].push({}),!e[t][r].type||a.type&&a.type!==e[t][r].type?Dn.merge(e[t][r],[Wi.getScaleDefaults(o),a]):Dn.merge(e[t][r],a)}else Dn._merger(t,e,n,i)}})}function It(){return Dn.merge({},[].slice.call(arguments),{merger:function(t,e,n,i){var r=e[t]||{},o=n[t];"scales"===t?e[t]=$t(r,o):"scale"===t?e[t]=Dn.merge(r,[Wi.getScaleDefaults(o.type),o]):Dn._merger(t,e,n,i)}})}function Ft(t){t=t||{};var e=t.data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=It(vn.global,vn[t.type],t.options||{}),t}function Pt(t){var e=t.options;Dn.each(t.scales,function(e){Ai.removeBox(t,e)}),e=It(vn.global,vn[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}function Nt(t,e,n){var i,r=function(t){return t.id===i};do{i=e+n++}while(Dn.findIndex(t,r)>=0);return i}function Lt(t){return"top"===t||"bottom"===t}function jt(t,e){return function(n,i){return n[t]===i[t]?n[e]-i[e]:n[t]-i[t]}}function Rt(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Ut(t){this.options=t||{}}function Bt(t,e){for(var n=[],i=t.length/e,r=0,o=t.length;r<o;r+=i)n.push(t[Math.floor(r)]);return n}function zt(t,e,n){var i,r=t.getTicks().length,o=Math.min(e,r-1),a=t.getPixelForTick(o),s=t._startPixel,l=t._endPixel;if(!(n&&(i=1===r?Math.max(a-s,l-a):0===e?(t.getPixelForTick(1)-a)/2:(a-t.getPixelForTick(o-1))/2,(a+=o<e?i:-i)<s-1e-6||a>l+1e-6)))return a}function Ht(t,e){Dn.each(t,function(t){var n,i=t.gc,r=i.length/2;if(r>e){for(n=0;n<r;++n)delete t.data[i[n]];i.splice(0,r)}})}function Wt(t,e,n,i){function r(t){return{width:b[t]||0,height:_[t]||0,offset:x[t]||0}}var o,a,s,l,u,c,d,h,f,p,g,v,m,y=n.length,b=[],_=[],x=[];for(o=0;o<y;++o){if(l=n[o].label,u=n[o].major?e.major:e.minor,t.font=c=u.string,d=i[c]=i[c]||{data:{},gc:[]},h=u.lineHeight,f=p=0,rr(l)||ir(l)){if(ir(l))for(a=0,s=l.length;a<s;++a)g=l[a],rr(g)||ir(g)||(f=Dn.measureText(t,d.data,d.gc,f,g),p+=h)}else f=Dn.measureText(t,d.data,d.gc,f,l),p=h;b.push(f),_.push(p),x.push(h/2)}return Ht(i,y),v=b.indexOf(Math.max.apply(null,b)),m=_.indexOf(Math.max.apply(null,_)),{first:r(0),last:r(y-1),widest:r(v),highest:r(m)}}function Vt(t){return t.drawTicks?t.tickMarkLength:0}function qt(t){var e,n;return t.display?(e=Dn.options._parseFont(t),n=Dn.options.toPadding(t.padding),e.lineHeight+n.height):0}function Yt(t,e){return Dn.extend(Dn.options._parseFont({fontFamily:or(e.fontFamily,t.fontFamily),fontSize:or(e.fontSize,t.fontSize),fontStyle:or(e.fontStyle,t.fontStyle),lineHeight:or(e.lineHeight,t.lineHeight)}),{color:Dn.options.resolve([e.fontColor,t.fontColor,vn.global.defaultFontColor])})}function Xt(t){var e=Yt(t,t.minor);return{minor:e,major:t.major.enabled?Yt(t,t.major):e}}function Gt(t){var e,n,i,r=[];for(n=0,i=t.length;n<i;++n)e=t[n],void 0!==e._index&&r.push(e);return r}function Kt(t){var e,n,i=t.length;if(i<2)return!1;for(n=t[0],e=1;e<i;++e)if(t[e]-t[e-1]!==n)return!1;return n}function Zt(t,e,n,i){var r,o,a,s,l=Kt(t),u=(e.length-1)/i;if(!l)return Math.max(u,1);for(r=Dn.math._factorize(l),a=0,s=r.length-1;a<s;a++)if((o=r[a])>u)return o;return Math.max(u,1)}function Qt(t){var e,n,i=[];for(e=0,n=t.length;e<n;e++)t[e].major&&i.push(e);return i}function Jt(t,e,n){var i,r,o=0,a=e[0];for(n=Math.ceil(n),i=0;i<t.length;i++)r=t[i],i===a?(r._index=i,o++,a=e[o*n]):delete r.label}function te(t,e,n,i){var r,o,a,s,l=or(n,0),u=Math.min(or(i,t.length),t.length),c=0;for(e=Math.ceil(e),i&&(r=i-n,e=r/Math.floor(r/e)),s=l;s<0;)c++,s=Math.round(l+c*e);for(o=Math.max(l,0);o<u;o++)a=t[o],o===s?(a._index=o,c++,s=Math.round(l+c*e)):delete a.label}function ee(t,e){var n,i,r,o,a=[],s=t.stepSize,l=s||1,u=t.maxTicks-1,c=t.min,d=t.max,h=t.precision,f=e.min,p=e.max,g=Dn.niceNum((p-f)/u/l)*l;if(g<1e-14&&pr(c)&&pr(d))return[f,p];o=Math.ceil(p/g)-Math.floor(f/g),o>u&&(g=Dn.niceNum(o*g/u/l)*l),s||pr(h)?n=Math.pow(10,Dn._decimalPlaces(g)):(n=Math.pow(10,h),g=Math.ceil(g*n)/n),i=Math.floor(f/g)*g,r=Math.ceil(p/g)*g,s&&(!pr(c)&&Dn.almostWhole(c/g,g/1e3)&&(i=c),!pr(d)&&Dn.almostWhole(d/g,g/1e3)&&(r=d)),o=(r-i)/g,o=Dn.almostEquals(o,Math.round(o),g/1e3)?Math.round(o):Math.ceil(o),i=Math.round(i*n)/n,r=Math.round(r*n)/n,a.push(pr(c)?i:c);for(var v=1;v<o;++v)a.push(Math.round((i+v*g)*n)/n);return a.push(pr(d)?r:d),a}function ne(t,e,n){var i=[n.type,void 0===e&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===t[i]&&(t[i]={pos:[],neg:[]}),t[i]}function ie(t,e,n,i){var r,o,a=t.options,s=a.stacked,l=ne(e,s,n),u=l.pos,c=l.neg,d=i.length;for(r=0;r<d;++r)o=t._parseValue(i[r]),isNaN(o.min)||isNaN(o.max)||n.data[r].hidden||(u[r]=u[r]||0,c[r]=c[r]||0,a.relativePoints?u[r]=100:o.min<0||o.max<0?c[r]+=o.min:u[r]+=o.max)}function re(t,e,n){var i,r,o=n.length;for(i=0;i<o;++i)r=t._parseValue(n[i]),isNaN(r.min)||isNaN(r.max)||e.data[i].hidden||(t.min=Math.min(t.min,r.min),t.max=Math.max(t.max,r.max))}function oe(t,e){var n,i,r=[],o=br(t.min,Math.pow(10,Math.floor(_r(e.min)))),a=Math.floor(_r(e.max)),s=Math.ceil(e.max/Math.pow(10,a));0===o?(n=Math.floor(_r(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),r.push(o),o=i*Math.pow(10,n)):(n=Math.floor(_r(o)),i=Math.floor(o/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{r.push(o),++i,10===i&&(i=1,++n,l=n>=0?1:l),o=Math.round(i*Math.pow(10,n)*l)/l}while(n<a||n===a&&i<s);var u=br(t.max,o);return r.push(u),r}function ae(t,e){return Dn.isFinite(t)&&t>=0?t:e}function se(t){var e=t.ticks;return e.display&&t.display?kr(e.fontSize,vn.global.defaultFontSize)+2*e.backdropPaddingY:0}function le(t,e,n){return Dn.isArray(n)?{w:Dn.longestText(t,t.font,n),h:n.length*e}:{w:t.measureText(n).width,h:e}}function ue(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:t<i||t>r?{start:e-n,end:e}:{start:e,end:e+n}}function ce(t){var e,n,i,r=Dn.options._parseFont(t.options.pointLabels),o={l:0,r:t.width,t:0,b:t.height-t.paddingTop},a={};t.ctx.font=r.string,t._pointLabelSizes=[];var s=t.chart.data.labels.length;for(e=0;e<s;e++){i=t.getPointPosition(e,t.drawingArea+5),n=le(t.ctx,r.lineHeight,t.pointLabels[e]),t._pointLabelSizes[e]=n;var l=t.getIndexAngle(e),u=Dn.toDegrees(l)%360,c=ue(u,i.x,n.w,0,180),d=ue(u,i.y,n.h,90,270);c.start<o.l&&(o.l=c.start,a.l=l),c.end>o.r&&(o.r=c.end,a.r=l),d.start<o.t&&(o.t=d.start,a.t=l),d.end>o.b&&(o.b=d.end,a.b=l)}t.setReductions(t.drawingArea,o,a)}function de(t){return 0===t||180===t?"center":t<180?"left":"right"}function he(t,e,n,i){var r,o,a=n.y+i/2;if(Dn.isArray(e))for(r=0,o=e.length;r<o;++r)t.fillText(e[r],n.x,a),a+=i;else t.fillText(e,n.x,a)}function fe(t,e,n){90===t||270===t?n.y-=e.h/2:(t>270||t<90)&&(n.y-=e.h)}function pe(t){var e=t.ctx,n=t.options,i=n.pointLabels,r=se(n),o=t.getDistanceFromCenterForValue(n.ticks.reverse?t.min:t.max),a=Dn.options._parseFont(i);e.save(),e.font=a.string,e.textBaseline="middle";for(var s=t.chart.data.labels.length-1;s>=0;s--){
+var l=0===s?r/2:0,u=t.getPointPosition(s,o+l+5),c=Tr(i.fontColor,s,vn.global.defaultFontColor);e.fillStyle=c;var d=t.getIndexAngle(s),h=Dn.toDegrees(d);e.textAlign=de(h),fe(h,t._pointLabelSizes[s],u),he(e,t.pointLabels[s],u,a.lineHeight)}e.restore()}function ge(t,e,n,i){var r,o=t.ctx,a=e.circular,s=t.chart.data.labels.length,l=Tr(e.color,i-1),u=Tr(e.lineWidth,i-1);if((a||s)&&l&&u){if(o.save(),o.strokeStyle=l,o.lineWidth=u,o.setLineDash&&(o.setLineDash(e.borderDash||[]),o.lineDashOffset=e.borderDashOffset||0),o.beginPath(),a)o.arc(t.xCenter,t.yCenter,n,0,2*Math.PI);else{r=t.getPointPosition(0,n),o.moveTo(r.x,r.y);for(var c=1;c<s;c++)r=t.getPointPosition(c,n),o.lineTo(r.x,r.y)}o.closePath(),o.stroke(),o.restore()}}function ve(t){return Dn.isNumber(t)?t:0}function me(t,e){return t-e}function ye(t){var e,n,i,r={},o=[];for(e=0,n=t.length;e<n;++e)i=t[e],r[i]||(r[i]=!0,o.push(i));return o}function be(t){return Dn.valueOrDefault(t.time.min,t.ticks.min)}function _e(t){return Dn.valueOrDefault(t.time.max,t.ticks.max)}function xe(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var r,o,a,s,l,u=[],c=[e];for(r=0,o=t.length;r<o;++r)(s=t[r])>e&&s<n&&c.push(s);for(c.push(n),r=0,o=c.length;r<o;++r)l=c[r+1],a=c[r-1],s=c[r],void 0!==a&&void 0!==l&&Math.round((l+a)/2)===s||u.push({time:s,pos:r/(o-1)});return u}function we(t,e,n){for(var i,r,o,a=0,s=t.length-1;a>=0&&a<=s;){if(i=a+s>>1,r=t[i-1]||null,o=t[i],!r)return{lo:null,hi:o};if(o[e]<n)a=i+1;else{if(!(r[e]>n))return{lo:r,hi:o};s=i-1}}return{lo:o,hi:null}}function Ce(t,e,n,i){var r=we(t,e,n),o=r.lo?r.hi?r.lo:t[t.length-2]:t[0],a=r.lo?r.hi?r.hi:t[t.length-1]:t[1],s=a[e]-o[e],l=s?(n-o[e])/s:0,u=(a[i]-o[i])*l;return o[i]+u}function ke(t,e){var n=t._adapter,i=t.options.time,r=i.parser,o=r||i.format,a=e;return"function"==typeof r&&(a=r(a)),Dn.isFinite(a)||(a="string"==typeof o?n.parse(a,o):n.parse(a)),null!==a?+a:(r||"function"!=typeof o||(a=o(e),Dn.isFinite(a)||(a=n.parse(a))),a)}function Te(t,e){if(Dn.isNullOrUndef(e))return null;var n=t.options.time,i=ke(t,t.getRightValue(e));return null===i?i:(n.round&&(i=+t._adapter.startOf(i,n.round)),i)}function Se(t,e,n,i){var r,o,a,s=Nr.length;for(r=Nr.indexOf(t);r<s-1;++r)if(o=Pr[Nr[r]],a=o.steps?o.steps:Fr,o.common&&Math.ceil((n-e)/(a*o.size))<=i)return Nr[r];return Nr[s-1]}function De(t,e,n,i,r){var o,a;for(o=Nr.length-1;o>=Nr.indexOf(n);o--)if(a=Nr[o],Pr[a].common&&t._adapter.diff(r,i,a)>=e-1)return a;return Nr[n?Nr.indexOf(n):0]}function Ae(t){for(var e=Nr.indexOf(t)+1,n=Nr.length;e<n;++e)if(Pr[Nr[e]].common)return Nr[e]}function Ee(t,e,n,i){var r,o=t._adapter,a=t.options,s=a.time,l=s.unit||Se(s.minUnit,e,n,i),u=Or([s.stepSize,s.unitStepSize,1]),c="week"===l&&s.isoWeekday,d=e,h=[];if(c&&(d=+o.startOf(d,"isoWeek",c)),d=+o.startOf(d,c?"day":l),o.diff(n,e,l)>1e5*u)throw e+" and "+n+" are too far apart with stepSize of "+u+" "+l;for(r=d;r<n;r=+o.add(r,u,l))h.push(r);return r!==n&&"ticks"!==a.bounds||h.push(r),h}function Me(t,e,n,i,r){var o,a,s=0,l=0;return r.offset&&e.length&&(o=Ce(t,"time",e[0],"pos"),s=1===e.length?1-o:(Ce(t,"time",e[1],"pos")-o)/2,a=Ce(t,"time",e[e.length-1],"pos"),l=1===e.length?a:(a-Ce(t,"time",e[e.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}function Oe(t,e,n,i){var r,o,a=t._adapter,s=+a.startOf(e[0].value,i),l=e[e.length-1].value;for(r=s;r<=l;r=+a.add(r,1,i))(o=n[r])>=0&&(e[o].major=!0);return e}function $e(t,e,n){var i,r,o=[],a={},s=e.length;for(i=0;i<s;++i)r=e[i],a[r]=i,o.push({value:r,major:!1});return 0!==s&&n?Oe(t,o,a,n):o}function Ie(t,e,n){var i,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(i=parseFloat(o,10),isFinite(i)&&Math.floor(i)===i)return"-"!==o[0]&&"+"!==o[0]||(i=e+i),!(i===e||i<0||i>=n)&&i;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 Fe(t){var e,n=t.el._model||{},i=t.el._scale||{},r=t.fill,o=null;if(isFinite(r))return null;if("start"===r?o=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===r?o=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?o=n.scaleZero:i.getBasePixel&&(o=i.getBasePixel()),void 0!==o&&null!==o){if(void 0!==o.x&&void 0!==o.y)return o;if(Dn.isFinite(o))return e=i.isHorizontal(),{x:e?o:null,y:e?null:o}}return null}function Pe(t){var e,n,i,r,o,a=t.el._scale,s=a.options,l=a.chart.data.labels.length,u=t.fill,c=[];if(!l)return null;for(e=s.ticks.reverse?a.max:a.min,n=s.ticks.reverse?a.min:a.max,i=a.getPointPositionForValue(0,e),r=0;r<l;++r)o="start"===u||"end"===u?a.getPointPositionForValue(r,"start"===u?e:n):a.getBasePosition(r),s.gridLines.circular&&(o.cx=i.x,o.cy=i.y,o.angle=a.getIndexAngle(r)-Math.PI/2),c.push(o);return c}function Ne(t){return(t.el._scale||{}).getPointPositionForValue?Pe(t):Fe(t)}function Le(t,e,n){var i,r=t[e],o=r.fill,a=[e];if(!n)return o;for(;!1!==o&&-1===a.indexOf(o);){if(!isFinite(o))return o;if(!(i=t[o]))return!1;if(i.visible)return o;a.push(o),o=i.fill}return!1}function je(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),zr[n](t))}function Re(t){return t&&!t.skip}function Ue(t,e,n,i,r){var o,a,s,l;if(i&&r){for(t.moveTo(e[0].x,e[0].y),o=1;o<i;++o)Dn.canvas.lineTo(t,e[o-1],e[o]);if(void 0===n[0].angle)for(t.lineTo(n[r-1].x,n[r-1].y),o=r-1;o>0;--o)Dn.canvas.lineTo(t,n[o],n[o-1],!0);else for(a=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-a,2)+Math.pow(n[0].y-s,2)),o=r-1;o>0;--o)t.arc(a,s,l,n[o].angle,n[o-1].angle,!0)}}function Be(t,e,n,i,r,o){var a,s,l,u,c,d,h,f,p=e.length,g=i.spanGaps,v=[],m=[],y=0,b=0;for(t.beginPath(),a=0,s=p;a<s;++a)l=a%p,u=e[l]._view,c=n(u,l,i),d=Re(u),h=Re(c),o&&void 0===f&&d&&(f=a+1,s=p+f),d&&h?(y=v.push(u),b=m.push(c)):y&&b&&(g?(d&&v.push(u),h&&m.push(c)):(Ue(t,v,m,y,b),y=b=0,v=[],m=[]));Ue(t,v,m,y,b),t.closePath(),t.fillStyle=r,t.fill()}function ze(t,e){return t.usePointStyle&&t.boxWidth>e?e:t.boxWidth}function He(t,e){var n=new Yr({ctx:t.ctx,options:e,chart:t});Ai.configure(t,n,e),Ai.addBox(t,n),t.legend=n}function We(t,e){var n=new Kr({ctx:t.ctx,options:e,chart:t});Ai.configure(t,n,e),Ai.addBox(t,n),t.titleBlock=n}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],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},qe=function(t,e){return e={exports:{}},t(e,e.exports),e.exports}(function(t){function e(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}var n={};for(var i in Ve)Ve.hasOwnProperty(i)&&(n[Ve[i]]=i);var r=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var o in r)if(r.hasOwnProperty(o)){if(!("channels"in r[o]))throw new Error("missing channels property: "+o);if(!("labels"in r[o]))throw new Error("missing channel labels property: "+o);if(r[o].labels.length!==r[o].channels)throw new Error("channel and label counts mismatch: "+o);var a=r[o].channels,s=r[o].labels;delete r[o].channels,delete r[o].labels,Object.defineProperty(r[o],"channels",{value:a}),Object.defineProperty(r[o],"labels",{value:s})}r.rgb.hsl=function(t){var e,n,i,r=t[0]/255,o=t[1]/255,a=t[2]/255,s=Math.min(r,o,a),l=Math.max(r,o,a),u=l-s;return l===s?e=0:r===l?e=(o-a)/u:o===l?e=2+(a-r)/u:a===l&&(e=4+(r-o)/u),e=Math.min(60*e,360),e<0&&(e+=360),i=(s+l)/2,n=l===s?0:i<=.5?u/(l+s):u/(2-l-s),[e,100*n,100*i]},r.rgb.hsv=function(t){var e,n,i,r,o,a=t[0]/255,s=t[1]/255,l=t[2]/255,u=Math.max(a,s,l),c=u-Math.min(a,s,l),d=function(t){return(u-t)/6/c+.5};return 0===c?r=o=0:(o=c/u,e=d(a),n=d(s),i=d(l),a===u?r=i-n:s===u?r=1/3+e-i:l===u&&(r=2/3+n-e),r<0?r+=1:r>1&&(r-=1)),[360*r,100*o,100*u]},r.rgb.hwb=function(t){var e=t[0],n=t[1],i=t[2],o=r.rgb.hsl(t)[0],a=1/255*Math.min(e,Math.min(n,i));return i=1-1/255*Math.max(e,Math.max(n,i)),[o,100*a,100*i]},r.rgb.cmyk=function(t){var e,n,i,r,o=t[0]/255,a=t[1]/255,s=t[2]/255;return r=Math.min(1-o,1-a,1-s),e=(1-o-r)/(1-r)||0,n=(1-a-r)/(1-r)||0,i=(1-s-r)/(1-r)||0,[100*e,100*n,100*i,100*r]},r.rgb.keyword=function(t){var i=n[t];if(i)return i;var r,o=1/0;for(var a in Ve)if(Ve.hasOwnProperty(a)){var s=Ve[a],l=e(t,s);l<o&&(o=l,r=a)}return r},r.keyword.rgb=function(t){return Ve[t]},r.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92,[100*(.4124*e+.3576*n+.1805*i),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]},r.rgb.lab=function(t){var e,n,i,o=r.rgb.xyz(t),a=o[0],s=o[1],l=o[2];return a/=95.047,s/=100,l/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,l=l>.008856?Math.pow(l,1/3):7.787*l+16/116,e=116*s-16,n=500*(a-s),i=200*(s-l),[e,n,i]},r.hsl.rgb=function(t){var e,n,i,r,o,a=t[0]/360,s=t[1]/100,l=t[2]/100;if(0===s)return o=255*l,[o,o,o];n=l<.5?l*(1+s):l+s-l*s,e=2*l-n,r=[0,0,0];for(var u=0;u<3;u++)i=a+1/3*-(u-1),i<0&&i++,i>1&&i--,o=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e,r[u]=255*o;return r},r.hsl.hsv=function(t){var e,n,i=t[0],r=t[1]/100,o=t[2]/100,a=r,s=Math.max(o,.01);return o*=2,r*=o<=1?o:2-o,a*=s<=1?s:2-s,n=(o+r)/2,e=0===o?2*a/(s+a):2*r/(o+r),[i,100*e,100*n]},r.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,r=Math.floor(e)%6,o=e-Math.floor(e),a=255*i*(1-n),s=255*i*(1-n*o),l=255*i*(1-n*(1-o));switch(i*=255,r){case 0:return[i,l,a];case 1:return[s,i,a];case 2:return[a,i,l];case 3:return[a,s,i];case 4:return[l,a,i];case 5:return[i,a,s]}},r.hsv.hsl=function(t){var e,n,i,r=t[0],o=t[1]/100,a=t[2]/100,s=Math.max(a,.01);return i=(2-o)*a,e=(2-o)*s,n=o*s,n/=e<=1?e:2-e,n=n||0,i/=2,[r,100*n,100*i]},r.hwb.rgb=function(t){var e,n,i,r,o=t[0]/360,a=t[1]/100,s=t[2]/100,l=a+s;l>1&&(a/=l,s/=l),e=Math.floor(6*o),n=1-s,i=6*o-e,0!=(1&e)&&(i=1-i),r=a+i*(n-a);var u,c,d;switch(e){default:case 6:case 0:u=n,c=r,d=a;break;case 1:u=r,c=n,d=a;break;case 2:u=a,c=n,d=r;break;case 3:u=a,c=r,d=n;break;case 4:u=r,c=a,d=n;break;case 5:u=n,c=a,d=r}return[255*u,255*c,255*d]},r.cmyk.rgb=function(t){var e,n,i,r=t[0]/100,o=t[1]/100,a=t[2]/100,s=t[3]/100;return e=1-Math.min(1,r*(1-s)+s),n=1-Math.min(1,o*(1-s)+s),i=1-Math.min(1,a*(1-s)+s),[255*e,255*n,255*i]},r.xyz.rgb=function(t){var e,n,i,r=t[0]/100,o=t[1]/100,a=t[2]/100;return e=3.2406*r+-1.5372*o+-.4986*a,n=-.9689*r+1.8758*o+.0415*a,i=.0557*r+-.204*o+1.057*a,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:12.92*i,e=Math.min(Math.max(0,e),1),n=Math.min(Math.max(0,n),1),i=Math.min(Math.max(0,i),1),[255*e,255*n,255*i]},r.xyz.lab=function(t){var e,n,i,r=t[0],o=t[1],a=t[2];return r/=95.047,o/=100,a/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,e=116*o-16,n=500*(r-o),i=200*(o-a),[e,n,i]},r.lab.xyz=function(t){var e,n,i,r=t[0],o=t[1],a=t[2];n=(r+16)/116,e=o/500+n,i=n-a/200;var s=Math.pow(n,3),l=Math.pow(e,3),u=Math.pow(i,3);return n=s>.008856?s:(n-16/116)/7.787,e=l>.008856?l:(e-16/116)/7.787,i=u>.008856?u:(i-16/116)/7.787,e*=95.047,n*=100,i*=108.883,[e,n,i]},r.lab.lch=function(t){var e,n,i,r=t[0],o=t[1],a=t[2];return e=Math.atan2(a,o),n=360*e/2/Math.PI,n<0&&(n+=360),i=Math.sqrt(o*o+a*a),[r,i,n]},r.lch.lab=function(t){var e,n,i,r=t[0],o=t[1],a=t[2];return i=a/360*2*Math.PI,e=o*Math.cos(i),n=o*Math.sin(i),[r,e,n]},r.rgb.ansi16=function(t){var e=t[0],n=t[1],i=t[2],o=1 in arguments?arguments[1]:r.rgb.hsv(t)[2];if(0===(o=Math.round(o/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===o&&(a+=60),a},r.hsv.ansi16=function(t){return r.rgb.ansi16(r.hsv.rgb(t),t[2])},r.rgb.ansi256=function(t){var e=t[0],n=t[1],i=t[2];return e===n&&n===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},r.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},r.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}t-=16;var n;return[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},r.rgb.hex=function(t){var e=((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2])),n=e.toString(16).toUpperCase();return"000000".substring(n.length)+n},r.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map(function(t){return t+t}).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},r.rgb.hcg=function(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.max(Math.max(i,r),o),s=Math.min(Math.min(i,r),o),l=a-s;return e=l<1?s/(1-l):0,n=l<=0?0:a===i?(r-o)/l%6:a===r?2+(o-i)/l:4+(i-r)/l+4,n/=6,n%=1,[360*n,100*l,100*e]},r.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=1,r=0;return i=n<.5?2*e*n:2*e*(1-n),i<1&&(r=(n-.5*i)/(1-i)),[t[0],100*i,100*r]},r.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=e*n,r=0;return i<1&&(r=(n-i)/(1-i)),[t[0],100*i,100*r]},r.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,i=t[2]/100;if(0===n)return[255*i,255*i,255*i];var r=[0,0,0],o=e%1*6,a=o%1,s=1-a,l=0;switch(Math.floor(o)){case 0:r[0]=1,r[1]=a,r[2]=0;break;case 1:r[0]=s,r[1]=1,r[2]=0;break;case 2:r[0]=0,r[1]=1,r[2]=a;break;case 3:r[0]=0,r[1]=s,r[2]=1;break;case 4:r[0]=a,r[1]=0,r[2]=1;break;default:r[0]=1,r[1]=0,r[2]=s}return l=(1-n)*i,[255*(n*r[0]+l),255*(n*r[1]+l),255*(n*r[2]+l)]},r.hcg.hsv=function(t){var e=t[1]/100,n=t[2]/100,i=e+n*(1-e),r=0;return i>0&&(r=e/i),[t[0],100*r,100*i]},r.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100,i=n*(1-e)+.5*e,r=0;return i>0&&i<.5?r=e/(2*i):i>=.5&&i<1&&(r=e/(2*(1-i))),[t[0],100*r,100*i]},r.hcg.hwb=function(t){var e=t[1]/100,n=t[2]/100,i=e+n*(1-e);return[t[0],100*(i-e),100*(1-i)]},r.hwb.hcg=function(t){var e=t[1]/100,n=t[2]/100,i=1-n,r=i-e,o=0;return r<1&&(o=(i-r)/(1-r)),[t[0],100*r,100*o]},r.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},r.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},r.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},r.gray.hsl=r.gray.hsv=function(t){return[0,0,t[0]]},r.gray.hwb=function(t){return[0,100,t[0]]},r.gray.cmyk=function(t){return[0,0,0,t[0]]},r.gray.lab=function(t){return[t[0],0,0]},r.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=(e<<16)+(e<<8)+e,i=n.toString(16).toUpperCase();return"000000".substring(i.length)+i},r.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}}),Ye=(qe.rgb,qe.hsl,qe.hsv,qe.hwb,qe.cmyk,qe.xyz,qe.lab,qe.lch,qe.hex,qe.keyword,qe.ansi16,qe.ansi256,qe.hcg,qe.apple,qe.gray,function(t){for(var e=n(t),i={},o=Object.keys(e),a=o.length,s=0;s<a;s++){var l=o[s];null!==e[l].parent&&(i[l]=r(l,e))}return i}),Xe={};Object.keys(qe).forEach(function(t){Xe[t]={},Object.defineProperty(Xe[t],"channels",{value:qe[t].channels}),Object.defineProperty(Xe[t],"labels",{value:qe[t].labels});var e=Ye(t);Object.keys(e).forEach(function(n){var i=e[n];Xe[t][n]=a(i),Xe[t][n].raw=o(i)})});var Ge=Xe,Ke={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],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Ze={getRgba:s,getHsla:l,getRgb:c,getHsl:d,getHwb:u,getAlpha:h,hexString:f,rgbString:p,rgbaString:g,percentString:v,percentaString:m,hslString:y,hslaString:b,hwbString:_,keyword:x},Qe={};for(var Je in Ke)Qe[Ke[Je]]=Je;var tn=function(t){if(t instanceof tn)return t;if(!(this instanceof tn))return new tn(t);this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1};var e;"string"==typeof t?(e=Ze.getRgba(t),e?this.setValues("rgb",e):(e=Ze.getHsla(t))?this.setValues("hsl",e):(e=Ze.getHwb(t))&&this.setValues("hwb",e)):"object"==typeof t&&(e=t,void 0!==e.r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e))};tn.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t&&(t%=360,t=t<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return Ze.hexString(this.values.rgb)},rgbString:function(){return Ze.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return Ze.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return Ze.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return Ze.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return Ze.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return Ze.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return Ze.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=this,i=t,r=void 0===e?.5:e,o=2*r-1,a=n.alpha()-i.alpha(),s=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,l=1-s;return this.rgb(s*n.red()+l*i.red(),s*n.green()+l*i.green(),s*n.blue()+l*i.blue()).alpha(n.alpha()*r+i.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new tn,i=this.values,r=n.values;for(var o in i)i.hasOwnProperty(o)&&(t=i[o],e={}.toString.call(t),"[object Array]"===e?r[o]=t.slice(0):"[object Number]"===e?r[o]=t:console.error("unexpected color value:",t));return n}},tn.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},tn.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},tn.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},tn.prototype.setValues=function(t,e){var n,i=this.values,r=this.spaces,o=this.maxes,a=1;if(this.valid=!0,"alpha"===t)a=e;else if(e.length)i[t]=e.slice(0,t.length),a=e[t.length];else if(void 0!==e[t.charAt(0)]){for(n=0;n<t.length;n++)i[t][n]=e[t.charAt(n)];a=e.a}else if(void 0!==e[r[t][0]]){var s=r[t];for(n=0;n<t.length;n++)i[t][n]=e[s[n]];a=e.alpha}if(i.alpha=Math.max(0,Math.min(1,void 0===a?i.alpha:a)),"alpha"===t)return!1;var l;for(n=0;n<t.length;n++)l=Math.max(0,Math.min(o[t][n],i[t][n])),i[t][n]=Math.round(l);for(var u in r)u!==t&&(i[u]=Ge[t][u](i[t]));return!0},tn.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},tn.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:n===i[e]?this:(i[e]=n,this.setValues(t,i),this)},"undefined"!=typeof window&&(window.Color=tn);var en=tn,nn={noop:function(){},uid:function(){var t=0;return function(){return t++}}(),isNullOrUndef:function(t){return null===t||void 0===t},isArray:function(t){if(Array.isArray&&Array.isArray(t))return!0;var e=Object.prototype.toString.call(t);return"[object"===e.substr(0,7)&&"Array]"===e.substr(-6)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},isFinite:function(t){return("number"==typeof t||t instanceof Number)&&isFinite(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return nn.valueOrDefault(nn.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var r,o,a;if(nn.isArray(t))if(o=t.length,i)for(r=o-1;r>=0;r--)e.call(n,t[r],r);else for(r=0;r<o;r++)e.call(n,t[r],r);else if(nn.isObject(t))for(a=Object.keys(t),o=a.length,r=0;r<o;r++)e.call(n,t[a[r]],a[r])},arrayEquals:function(t,e){var n,i,r,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(r=t[n],o=e[n],r instanceof Array&&o instanceof Array){if(!nn.arrayEquals(r,o))return!1}else if(r!==o)return!1;return!0},clone:function(t){if(nn.isArray(t))return t.map(nn.clone);if(nn.isObject(t)){for(var e={},n=Object.keys(t),i=n.length,r=0;r<i;++r)e[n[r]]=nn.clone(t[n[r]]);return e}return t},_merger:function(t,e,n,i){var r=e[t],o=n[t];nn.isObject(r)&&nn.isObject(o)?nn.merge(r,o,i):e[t]=nn.clone(o)},_mergerIf:function(t,e,n){var i=e[t],r=n[t];nn.isObject(i)&&nn.isObject(r)?nn.mergeIf(i,r):e.hasOwnProperty(t)||(e[t]=nn.clone(r))},merge:function(t,e,n){var i,r,o,a,s,l=nn.isArray(e)?e:[e],u=l.length;if(!nn.isObject(t))return t;for(n=n||{},i=n.merger||nn._merger,r=0;r<u;++r)if(e=l[r],nn.isObject(e))for(o=Object.keys(e),s=0,a=o.length;s<a;++s)i(o[s],t,e,n);return t},mergeIf:function(t,e){return nn.merge(t,e,{merger:nn._mergerIf})},extend:Object.assign||function(t){return nn.merge(t,[].slice.call(arguments,1),{merger:function(t,e,n){e[t]=n[t]}})},inherits:function(t){var e=this,n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},i=function(){this.constructor=n};return i.prototype=e.prototype,n.prototype=new i,n.extend=nn.inherits,t&&nn.extend(n.prototype,t),n.__super__=e.prototype,n},_deprecated:function(t,e,n,i){void 0!==e&&console.warn(t+': "'+n+'" is deprecated. Please use "'+i+'" instead')}},rn=nn;nn.callCallback=nn.callback,nn.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},nn.getValueOrDefault=nn.valueOrDefault,nn.getValueAtIndexOrDefault=nn.valueAtIndexOrDefault;var on={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},
+easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-on.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*on.easeInBounce(2*t):.5*on.easeOutBounce(2*t-1)+.5}},an={effects:on};rn.easingEffects=on;var sn=Math.PI,ln=sn/180,un=2*sn,cn=sn/2,dn=sn/4,hn=2*sn/3,fn={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,r,o){if(o){var a=Math.min(o,r/2,i/2),s=e+a,l=n+a,u=e+i-a,c=n+r-a;t.moveTo(e,l),s<u&&l<c?(t.arc(s,l,a,-sn,-cn),t.arc(u,l,a,-cn,0),t.arc(u,c,a,0,cn),t.arc(s,c,a,cn,sn)):s<u?(t.moveTo(s,n),t.arc(u,l,a,-cn,cn),t.arc(s,l,a,cn,sn+cn)):l<c?(t.arc(s,l,a,-sn,0),t.arc(s,c,a,0,sn)):t.arc(s,l,a,-sn,sn),t.closePath(),t.moveTo(e,n)}else t.rect(e,n,i,r)},drawPoint:function(t,e,n,i,r,o){var a,s,l,u,c,d=(o||0)*ln;if(e&&"object"==typeof e&&("[object HTMLImageElement]"===(a=e.toString())||"[object HTMLCanvasElement]"===a))return t.save(),t.translate(i,r),t.rotate(d),t.drawImage(e,-e.width/2,-e.height/2,e.width,e.height),void t.restore();if(!(isNaN(n)||n<=0)){switch(t.beginPath(),e){default:t.arc(i,r,n,0,un),t.closePath();break;case"triangle":t.moveTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=hn,t.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),d+=hn,t.lineTo(i+Math.sin(d)*n,r-Math.cos(d)*n),t.closePath();break;case"rectRounded":c=.516*n,u=n-c,s=Math.cos(d+dn)*u,l=Math.sin(d+dn)*u,t.arc(i-s,r-l,c,d-sn,d-cn),t.arc(i+l,r-s,c,d-cn,d),t.arc(i+s,r+l,c,d,d+cn),t.arc(i-l,r+s,c,d+cn,d+sn),t.closePath();break;case"rect":if(!o){u=Math.SQRT1_2*n,t.rect(i-u,r-u,2*u,2*u);break}d+=dn;case"rectRot":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+l,r-s),t.lineTo(i+s,r+l),t.lineTo(i-l,r+s),t.closePath();break;case"crossRot":d+=dn;case"cross":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i+l,r-s),t.lineTo(i-l,r+s);break;case"star":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i+l,r-s),t.lineTo(i-l,r+s),d+=dn,s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i+l,r-s),t.lineTo(i-l,r+s);break;case"line":s=Math.cos(d)*n,l=Math.sin(d)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l);break;case"dash":t.moveTo(i,r),t.lineTo(i+Math.cos(d)*n,r+Math.sin(d)*n)}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,n,i){var r=n.steppedLine;if(r){if("middle"===r){var o=(e.x+n.x)/2;t.lineTo(o,i?n.y:e.y),t.lineTo(o,i?e.y:n.y)}else"after"===r&&!i||"after"!==r&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);return void t.lineTo(n.x,n.y)}if(!n.tension)return void t.lineTo(n.x,n.y);t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y)}},pn=fn;rn.clear=fn.clear,rn.drawRoundedRectangle=function(t){t.beginPath(),fn.roundedRect.apply(fn,arguments)};var gn={_set:function(t,e){return rn.merge(this[t]||(this[t]={}),e)}};gn._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 vn=gn,mn=rn.valueOrDefault,yn={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,i,r;return rn.isObject(t)?(e=+t.top||0,n=+t.right||0,i=+t.bottom||0,r=+t.left||0):e=n=i=r=+t||0,{top:e,right:n,bottom:i,left:r,height:e+i,width:r+n}},_parseFont:function(t){var e=vn.global,n=mn(t.fontSize,e.defaultFontSize),i={family:mn(t.fontFamily,e.defaultFontFamily),lineHeight:rn.options.toLineHeight(mn(t.lineHeight,e.defaultLineHeight),n),size:n,style:mn(t.fontStyle,e.defaultFontStyle),weight:null,string:""};return i.string=k(i),i},resolve:function(t,e,n,i){var r,o,a,s=!0;for(r=0,o=t.length;r<o;++r)if(void 0!==(a=t[r])&&(void 0!==e&&"function"==typeof a&&(a=a(e),s=!1),void 0!==n&&rn.isArray(a)&&(a=a[n],s=!1),void 0!==a))return i&&!s&&(i.cacheable=!1),a}},bn={_factorize:function(t){var e,n=[],i=Math.sqrt(t);for(e=1;e<i;e++)t%e==0&&(n.push(e),n.push(t/e));return i===(0|i)&&n.push(i),n.sort(function(t,e){return t-e}).pop(),n},log10:Math.log10||function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e}},_n=bn;rn.log10=bn.log10;var xn=function(t,e){return{x:function(n){return t+t+e-n},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}}},wn=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}}},Cn=function(t,e,n){return t?xn(e,n):wn()},kn=function(t,e){var n,i;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=i)},Tn=function(t){var e=t.prevTextDirection;void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))},Sn={getRtlAdapter:Cn,overrideTextDirection:kn,restoreTextDirection:Tn},Dn=rn,An=an,En=pn,Mn=yn,On=_n,$n=Sn;Dn.easing=An,Dn.canvas=En,Dn.options=Mn,Dn.math=On,Dn.rtl=$n;var In=function(t){Dn.extend(this,t),this.initialize.apply(this,arguments)};Dn.extend(In.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=Dn.extend({},t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,i=e._start,r=e._view;return n&&1!==t?(r||(r=e._view={}),i||(i=e._start={}),T(i,r,n,t),e):(e._view=Dn.extend({},n),e._start=null,e)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return Dn.isNumber(this._model.x)&&Dn.isNumber(this._model.y)}}),In.extend=Dn.inherits;var Fn=In,Pn=Fn.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Nn=Pn;Object.defineProperty(Pn.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(Pn.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}}),vn._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:Dn.noop,onComplete:Dn.noop}});var Ln={animations:[],request:null,addAnimation:function(t,e,n,i){var r,o,a=this.animations;for(e.chart=t,e.startTime=Date.now(),e.duration=n,i||(t.animating=!0),r=0,o=a.length;r<o;++r)if(a[r].chart===t)return void(a[r]=e);a.push(e),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=Dn.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=Dn.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=this;t.advance(),t.animations.length>0&&t.requestAnimationFrame()},advance:function(){for(var t,e,n,i,r=this.animations,o=0;o<r.length;)t=r[o],e=t.chart,n=t.numSteps,i=Math.floor((Date.now()-t.startTime)/t.duration*n)+1,t.currentStep=Math.min(i,n),Dn.callback(t.render,[e,t],e),Dn.callback(t.onAnimationProgress,[t],e),t.currentStep>=n?(Dn.callback(t.onAnimationComplete,[t],e),e.animating=!1,r.splice(o,1)):++o}},jn=Dn.options.resolve,Rn=["push","pop","shift","splice","unshift"],Un=function(t,e){this.initialize(t,e)};Dn.extend(Un.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(t,e){var n=this;n.chart=t,n.index=e,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.chart,i=n.scales,r=t.getDataset(),o=n.options.scales;null!==e.xAxisID&&e.xAxisID in i&&!r.xAxisID||(e.xAxisID=r.xAxisID||o.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in i&&!r.yAxisID||(e.yAxisID=r.yAxisID||o.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&D(this._data,this)},createMetaDataset:function(){var t=this,e=t.datasetElementType;return e&&new e({_chart:t.chart,_datasetIndex:t.index})},createMetaData:function(t){var e=this,n=e.dataElementType;return n&&new n({_chart:e.chart,_datasetIndex:e.index,_index:t})},addElements:function(){var t,e,n=this,i=n.getMeta(),r=n.getDataset().data||[],o=i.data;for(t=0,e=r.length;t<e;++t)o[t]=o[t]||n.createMetaData(t);i.dataset=i.dataset||n.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var t=this,e=t.getDataset(),n=e.data||(e.data=[]);t._data!==n&&(t._data&&D(t._data,t),n&&Object.isExtensible(n)&&S(n,t),t._data=n),t.resyncElements()},_configure:function(){var t=this;t._config=Dn.merge({},[t.chart.options.datasets[t._type],t.getDataset()],{merger:function(t,e,n){"_meta"!==t&&"data"!==t&&Dn._merger(t,e,n)}})},_update:function(t){var e=this;e._configure(),e._cachedDataOpts=null,e.update(t)},update:Dn.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,r=0;r<i;++r)n[r].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},getStyle:function(t){var e,n=this,i=n.getMeta(),r=i.dataset;return n._configure(),r&&void 0===t?e=n._resolveDatasetElementOptions(r||{}):(t=t||0,e=n._resolveDataElementOptions(i.data[t]||{},t)),!1!==e.fill&&null!==e.fill||(e.backgroundColor=e.borderColor),e},_resolveDatasetElementOptions:function(t,e){var n,i,r,o,a=this,s=a.chart,l=a._config,u=t.custom||{},c=s.options.elements[a.datasetElementType.prototype._type]||{},d=a._datasetElementOptions,h={},f={chart:s,dataset:a.getDataset(),datasetIndex:a.index,hover:e};for(n=0,i=d.length;n<i;++n)r=d[n],o=e?"hover"+r.charAt(0).toUpperCase()+r.slice(1):r,h[r]=jn([u[o],l[o],c[o]],f);return h},_resolveDataElementOptions:function(t,e){var n=this,i=t&&t.custom,r=n._cachedDataOpts;if(r&&!i)return r;var o,a,s,l,u=n.chart,c=n._config,d=u.options.elements[n.dataElementType.prototype._type]||{},h=n._dataElementOptions,f={},p={chart:u,dataIndex:e,dataset:n.getDataset(),datasetIndex:n.index},g={cacheable:!i};if(i=i||{},Dn.isArray(h))for(a=0,s=h.length;a<s;++a)l=h[a],f[l]=jn([i[l],c[l],d[l]],p,e,g);else for(o=Object.keys(h),a=0,s=o.length;a<s;++a)l=o[a],f[l]=jn([i[l],c[h[l]],c[l],d[l]],p,e,g);return g.cacheable&&(n._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(t){Dn.merge(t._model,t.$previousStyle||{}),delete t.$previousStyle},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},r=t._model,o=Dn.getHoverColor;t.$previousStyle={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth},r.backgroundColor=jn([i.hoverBackgroundColor,e.hoverBackgroundColor,o(r.backgroundColor)],void 0,n),r.borderColor=jn([i.hoverBorderColor,e.hoverBorderColor,o(r.borderColor)],void 0,n),r.borderWidth=jn([i.hoverBorderWidth,e.hoverBorderWidth,r.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var t=this.getMeta().dataset;t&&this.removeHoverStyle(t)},_setDatasetHoverStyle:function(){var t,e,n,i,r,o,a=this.getMeta().dataset,s={};if(a){for(o=a._model,r=this._resolveDatasetElementOptions(a,!0),i=Object.keys(r),t=0,e=i.length;t<e;++t)n=i[t],s[n]=o[n],o[n]=r[n];a.$previousStyle=s}},resyncElements:function(){var t=this,e=t.getMeta(),n=t.getDataset().data,i=e.data.length,r=n.length;r<i?e.data.splice(r,i-r):r>i&&t.insertElements(i,r-i)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){var t=arguments.length;this.insertElements(this.getDataset().data.length-t,t)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),Un.extend=Dn.inherits;var Bn=Un,zn=2*Math.PI;vn._set("global",{elements:{arc:{backgroundColor:vn.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var Hn=Fn.extend({_type:"arc",inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var i=Dn.getAngleFromPoint(n,{x:t,y:e}),r=i.angle,o=i.distance,a=n.startAngle,s=n.endAngle;s<a;)s+=zn;for(;r>s;)r-=zn;for(;r<a;)r+=zn;var l=r>=a&&r<=s,u=o>=n.innerRadius&&o<=n.outerRadius;return l&&u}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t,e=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/zn)};if(e.save(),e.fillStyle=n.backgroundColor,e.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+zn,e.beginPath(),e.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),e.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),e.closePath(),t=0;t<r.fullCircles;++t)e.fill();r.endAngle=r.startAngle+n.circumference%zn}e.beginPath(),e.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),e.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),e.closePath(),e.fill(),n.borderWidth&&M(e,n,r),e.restore()}}),Wn=Dn.valueOrDefault,Vn=vn.global.defaultColor;vn._set("global",{elements:{line:{tension:.4,backgroundColor:Vn,borderWidth:3,borderColor:Vn,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var qn=Fn.extend({_type:"line",draw:function(){var t,e,n,i=this,r=i._view,o=i._chart.ctx,a=r.spanGaps,s=i._children.slice(),l=vn.global,u=l.elements.line,c=-1,d=i._loop;if(s.length){if(i._loop){for(t=0;t<s.length;++t)if(e=Dn.previousItem(s,t),!s[t]._view.skip&&e._view.skip){s=s.slice(t).concat(s.slice(0,t)),d=a;break}d&&s.push(s[0])}for(o.save(),o.lineCap=r.borderCapStyle||u.borderCapStyle,o.setLineDash&&o.setLineDash(r.borderDash||u.borderDash),o.lineDashOffset=Wn(r.borderDashOffset,u.borderDashOffset),o.lineJoin=r.borderJoinStyle||u.borderJoinStyle,o.lineWidth=Wn(r.borderWidth,u.borderWidth),o.strokeStyle=r.borderColor||l.defaultColor,o.beginPath(),n=s[0]._view,n.skip||(o.moveTo(n.x,n.y),c=0),t=1;t<s.length;++t)n=s[t]._view,e=-1===c?Dn.previousItem(s,t):s[c],n.skip||(c!==t-1&&!a||-1===c?o.moveTo(n.x,n.y):Dn.canvas.lineTo(o,e._view,n),c=t);d&&o.closePath(),o.stroke(),o.restore()}}}),Yn=Dn.valueOrDefault,Xn=vn.global.defaultColor;vn._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:Xn,borderColor:Xn,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var Gn=Fn.extend({_type:"point",inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:O,inXRange:O,inYRange:$,getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._chart.ctx,i=e.pointStyle,r=e.rotation,o=e.radius,a=e.x,s=e.y,l=vn.global,u=l.defaultColor;e.skip||(void 0===t||Dn.canvas._isPointInArea(e,t))&&(n.strokeStyle=e.borderColor||u,n.lineWidth=Yn(e.borderWidth,l.elements.point.borderWidth),n.fillStyle=e.backgroundColor||u,Dn.canvas.drawPoint(n,i,o,a,s,r))}}),Kn=vn.global.defaultColor;vn._set("global",{elements:{rectangle:{backgroundColor:Kn,borderColor:Kn,borderSkipped:"bottom",borderWidth:0}}});var Zn=Fn.extend({_type:"rectangle",draw:function(){var t=this._chart.ctx,e=this._view,n=j(e),i=n.outer,r=n.inner;t.fillStyle=e.backgroundColor,t.fillRect(i.x,i.y,i.w,i.h),i.w===r.w&&i.h===r.h||(t.save(),t.beginPath(),t.rect(i.x,i.y,i.w,i.h),t.clip(),t.fillStyle=e.borderColor,t.rect(r.x,r.y,r.w,r.h),t.fill("evenodd"),t.restore())},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){return R(this._view,t,e)},inLabelRange:function(t,e){var n=this._view;return I(n)?R(n,t,null):R(n,null,e)},inXRange:function(t){return R(this._view,t,null)},inYRange:function(t){return R(this._view,null,t)},getCenterPoint:function(){var t,e,n=this._view;return I(n)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return I(t)?t.width*Math.abs(t.y-t.base):t.height*Math.abs(t.x-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}}),Qn={},Jn=Hn,ti=qn,ei=Gn,ni=Zn;Qn.Arc=Jn,Qn.Line=ti,Qn.Point=ei,Qn.Rectangle=ni;var ii=Dn._deprecated,ri=Dn.valueOrDefault;vn._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),vn._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var oi=Bn.extend({dataElementType:Qn.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var t,e,n=this;Bn.prototype.initialize.apply(n,arguments),t=n.getMeta(),t.stack=n.getDataset().stack,t.bar=!0,e=n._getIndexScale().options,ii("bar chart",e.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),ii("bar chart",e.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),ii("bar chart",e.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),ii("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),ii("bar chart",e.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(t){var e,n,i=this,r=i.getMeta().data;for(i._ruler=i.getRuler(),e=0,n=r.length;e<n;++e)i.updateElement(r[e],e,t)},updateElement:function(t,e,n){var i=this,r=i.getMeta(),o=i.getDataset(),a=i._resolveDataElementOptions(t,e);t._xScale=i.getScaleForId(r.xAxisID),t._yScale=i.getScaleForId(r.yAxisID),t._datasetIndex=i.index,t._index=e,t._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:o.label,label:i.chart.data.labels[e]},Dn.isArray(o.data[e])&&(t._model.borderSkipped=null),i._updateElementGeometry(t,e,n,a),t.pivot()},_updateElementGeometry:function(t,e,n,i){var r=this,o=t._model,a=r._getValueScale(),s=a.getBasePixel(),l=a.isHorizontal(),u=r._ruler||r.getRuler(),c=r.calculateBarValuePixels(r.index,e,i),d=r.calculateBarIndexPixels(r.index,e,u,i);o.horizontal=l,o.base=n?s:c.base,o.x=l?n?s:c.head:d.center,o.y=l?d.center:n?s:c.head,o.height=l?d.size:void 0,o.width=l?void 0:d.size},_getStacks:function(t){var e,n,i=this,r=i._getIndexScale(),o=r._getMatchingVisibleMetas(i._type),a=r.options.stacked,s=o.length,l=[];for(e=0;e<s&&(n=o[e],(!1===a||-1===l.indexOf(n.stack)||void 0===a&&void 0===n.stack)&&l.push(n.stack),n.index!==t);++e);return l},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){var n=this._getStacks(t),i=void 0!==e?n.indexOf(e):-1;return-1===i?n.length-1:i},getRuler:function(){var t,e,n=this,i=n._getIndexScale(),r=[];for(t=0,e=n.getMeta().data.length;t<e;++t)r.push(i.getPixelForValue(null,t,n.index));return{pixels:r,start:i._startPixel,end:i._endPixel,stackCount:n.getStackCount(),scale:i}},calculateBarValuePixels:function(t,e,n){var i,r,o,a,s,l,u,c=this,d=c.chart,h=c._getValueScale(),f=h.isHorizontal(),p=d.data.datasets,g=h._getMatchingVisibleMetas(c._type),v=h._parseValue(p[t].data[e]),m=n.minBarLength,y=h.options.stacked,b=c.getMeta().stack,_=void 0===v.start?0:v.max>=0&&v.min>=0?v.min:v.max,x=void 0===v.start?v.end:v.max>=0&&v.min>=0?v.max-v.min:v.min-v.max,w=g.length;if(y||void 0===y&&void 0!==b)for(i=0;i<w&&(r=g[i],r.index!==t);++i)r.stack===b&&(u=h._parseValue(p[r.index].data[e]),o=void 0===u.start?u.end:u.min>=0&&u.max>=0?u.max:u.min,(v.min<0&&o<0||v.max>=0&&o>0)&&(_+=o));return a=h.getPixelForValue(_),s=h.getPixelForValue(_+x),l=s-a,void 0!==m&&Math.abs(l)<m&&(l=m,s=x>=0&&!f||x<0&&f?a-m:a+m),{size:l,base:a,head:s,center:s+l/2}},calculateBarIndexPixels:function(t,e,n,i){var r=this,o="flex"===i.barThickness?z(e,n,i):B(e,n,i),a=r.getStackIndex(t,r.getMeta().stack),s=o.start+o.chunk*a+o.chunk/2,l=Math.min(ri(i.maxBarThickness,1/0),o.chunk*o.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}},draw:function(){var t=this,e=t.chart,n=t._getValueScale(),i=t.getMeta().data,r=t.getDataset(),o=i.length,a=0;for(Dn.canvas.clipArea(e.ctx,e.chartArea);a<o;++a){var s=n._parseValue(r.data[a]);isNaN(s.min)||isNaN(s.max)||i[a].draw()}Dn.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var t=this,e=Dn.extend({},Bn.prototype._resolveDataElementOptions.apply(t,arguments)),n=t._getIndexScale().options,i=t._getValueScale().options;return e.barPercentage=ri(n.barPercentage,e.barPercentage),e.barThickness=ri(n.barThickness,e.barThickness),e.categoryPercentage=ri(n.categoryPercentage,e.categoryPercentage),e.maxBarThickness=ri(n.maxBarThickness,e.maxBarThickness),e.minBarLength=ri(i.minBarLength,e.minBarLength),e}}),ai=Dn.valueOrDefault,si=Dn.options.resolve;vn._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",i=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+i.r+")"}}}});var li=Bn.extend({dataElementType:Qn.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(t){var e=this,n=e.getMeta(),i=n.data;Dn.each(i,function(n,i){e.updateElement(n,i,t)})},updateElement:function(t,e,n){var i=this,r=i.getMeta(),o=t.custom||{},a=i.getScaleForId(r.xAxisID),s=i.getScaleForId(r.yAxisID),l=i._resolveDataElementOptions(t,e),u=i.getDataset().data[e],c=i.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof u?u:NaN,e,c),h=n?s.getBasePixel():s.getPixelForValue(u,e,c);t._xScale=a,t._yScale=s,t._options=l,t._datasetIndex=c,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:o.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options,i=Dn.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=ai(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=ai(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=ai(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(t,e){var n=this,i=n.chart,r=n.getDataset(),o=t.custom||{},a=r.data[e]||{},s=Bn.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:i,dataIndex:e,dataset:r,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=Dn.extend({},s)),s.radius=si([o.radius,a.r,n._config.radius,i.options.elements.point.radius],l,e),s}}),ui=Dn.valueOrDefault,ci=Math.PI,di=2*ci,hi=ci/2;vn._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e,n,i,r,o=document.createElement("ul"),a=t.data,s=a.datasets,l=a.labels;if(o.setAttribute("class",t.id+"-legend"),s.length)for(e=0,n=s[0].data.length;e<n;++e)i=o.appendChild(document.createElement("li")),r=i.appendChild(document.createElement("span")),r.style.backgroundColor=s[0].backgroundColor[e],l[e]&&i.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(n,i){var r=t.getDatasetMeta(0),o=r.controller.getStyle(i);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(e.datasets[0].data[i])||r.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,r,o=e.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)r=a.getDatasetMeta(n),r.data[o]&&(r.data[o].hidden=!r.data[o].hidden);a.update()}},cutoutPercentage:50,rotation:-hi,circumference:di,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],i=": "+e.datasets[t.datasetIndex].data[t.index];return Dn.isArray(n)?(n=n.slice(),n[0]+=i):n+=i,n}}}});var fi=Bn.extend({dataElementType:Qn.Arc,linkScales:Dn.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(t){var e,n,i,r,o=this,a=o.chart,s=a.chartArea,l=a.options,u=1,c=1,d=0,h=0,f=o.getMeta(),p=f.data,g=l.cutoutPercentage/100||0,v=l.circumference,m=o._getRingWeight(o.index);if(v<di){var y=l.rotation%di;y+=y>=ci?-di:y<-ci?di:0;var b=y+v,_=Math.cos(y),x=Math.sin(y),w=Math.cos(b),C=Math.sin(b),k=y<=0&&b>=0||b>=di,T=y<=hi&&b>=hi||b>=di+hi,S=y===-ci||b>=ci,D=y<=-hi&&b>=-hi||b>=ci+hi,A=S?-1:Math.min(_,_*g,w,w*g),E=D?-1:Math.min(x,x*g,C,C*g),M=k?1:Math.max(_,_*g,w,w*g),O=T?1:Math.max(x,x*g,C,C*g);u=(M-A)/2,c=(O-E)/2,d=-(M+A)/2,h=-(O+E)/2}for(i=0,r=p.length;i<r;++i)p[i]._options=o._resolveDataElementOptions(p[i],i);for(a.borderWidth=o.getMaxBorderWidth(),e=(s.right-s.left-a.borderWidth)/u,n=(s.bottom-s.top-a.borderWidth)/c,a.outerRadius=Math.max(Math.min(e,n)/2,0),a.innerRadius=Math.max(a.outerRadius*g,0),a.radiusLength=(a.outerRadius-a.innerRadius)/(o._getVisibleDatasetWeightTotal()||1),a.offsetX=d*a.outerRadius,a.offsetY=h*a.outerRadius,f.total=o.calculateTotal(),o.outerRadius=a.outerRadius-a.radiusLength*o._getRingWeightOffset(o.index),o.innerRadius=Math.max(o.outerRadius-a.radiusLength*m,0),i=0,r=p.length;i<r;++i)o.updateElement(p[i],i,t)},updateElement:function(t,e,n){var i=this,r=i.chart,o=r.chartArea,a=r.options,s=a.animation,l=(o.left+o.right)/2,u=(o.top+o.bottom)/2,c=a.rotation,d=a.rotation,h=i.getDataset(),f=n&&s.animateRotate?0:t.hidden?0:i.calculateCircumference(h.data[e])*(a.circumference/di),p=n&&s.animateScale?0:i.innerRadius,g=n&&s.animateScale?0:i.outerRadius,v=t._options||{};Dn.extend(t,{_datasetIndex:i.index,_index:e,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:l+r.offsetX,y:u+r.offsetY,startAngle:c,endAngle:d,circumference:f,outerRadius:g,innerRadius:p,label:Dn.valueAtIndexOrDefault(h.label,e,r.data.labels[e])}});var m=t._model;n&&s.animateRotate||(m.startAngle=0===e?a.rotation:i.getMeta().data[e-1]._model.endAngle,m.endAngle=m.startAngle+m.circumference),t.pivot()},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return Dn.each(n.data,function(n,r){t=e.data[r],isNaN(t)||n.hidden||(i+=Math.abs(t))}),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?di*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){var e,n,i,r,o,a,s,l,u=this,c=0,d=u.chart;if(!t)for(e=0,n=d.data.datasets.length;e<n;++e)if(d.isDatasetVisible(e)){i=d.getDatasetMeta(e),t=i.data,e!==u.index&&(o=i.controller);break}if(!t)return 0;for(e=0,n=t.length;e<n;++e)r=t[e],o?(o._configure(),a=o._resolveDataElementOptions(r,e)):a=r._options,"inner"!==a.borderAlign&&(s=a.borderWidth,l=a.hoverBorderWidth,c=s>c?s:c,c=l>c?l:c);return c},setHoverStyle:function(t){var e=t._model,n=t._options,i=Dn.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=ui(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=ui(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=ui(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e},_getRingWeight:function(t){return Math.max(ui(this.chart.data.datasets[t].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});vn._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),vn._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var pi=oi.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),gi=Dn.valueOrDefault,vi=Dn.options.resolve,mi=Dn.canvas._isPointInArea;vn._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{
+type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var yi=Bn.extend({datasetElementType:Qn.Line,dataElementType:Qn.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(t){var e,n,i=this,r=i.getMeta(),o=r.dataset,a=r.data||[],s=i.chart.options,l=i._config,u=i._showLine=gi(l.showLine,s.showLines);for(i._xScale=i.getScaleForId(r.xAxisID),i._yScale=i.getScaleForId(r.yAxisID),u&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=i._yScale,o._datasetIndex=i.index,o._children=a,o._model=i._resolveDatasetElementOptions(o),o.pivot()),e=0,n=a.length;e<n;++e)i.updateElement(a[e],e,t);for(u&&0!==o._model.tension&&i.updateBezierControlPoints(),e=0,n=a.length;e<n;++e)a[e].pivot()},updateElement:function(t,e,n){var i,r,o=this,a=o.getMeta(),s=t.custom||{},l=o.getDataset(),u=o.index,c=l.data[e],d=o._xScale,h=o._yScale,f=a.dataset._model,p=o._resolveDataElementOptions(t,e);i=d.getPixelForValue("object"==typeof c?c:NaN,e,u),r=n?h.getBasePixel():o.calculatePointY(c,e,u),t._xScale=d,t._yScale=h,t._options=p,t._datasetIndex=u,t._index=e,t._model={x:i,y:r,skip:s.skip||isNaN(i)||isNaN(r),radius:p.radius,pointStyle:p.pointStyle,rotation:p.rotation,backgroundColor:p.backgroundColor,borderColor:p.borderColor,borderWidth:p.borderWidth,tension:gi(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:p.hitRadius}},_resolveDatasetElementOptions:function(t){var e=this,n=e._config,i=t.custom||{},r=e.chart.options,o=r.elements.line,a=Bn.prototype._resolveDatasetElementOptions.apply(e,arguments);return a.spanGaps=gi(n.spanGaps,r.spanGaps),a.tension=gi(n.lineTension,o.tension),a.steppedLine=vi([i.steppedLine,n.steppedLine,o.stepped]),a.clip=V(gi(n.clip,W(e._xScale,e._yScale,a.borderWidth))),a},calculatePointY:function(t,e,n){var i,r,o,a,s,l,u,c=this,d=c.chart,h=c._yScale,f=0,p=0;if(h.options.stacked){for(s=+h.getRightValue(t),l=d._getSortedVisibleDatasetMetas(),u=l.length,i=0;i<u&&(o=l[i],o.index!==n);++i)r=d.data.datasets[o.index],"line"===o.type&&o.yAxisID===h.id&&(a=+h.getRightValue(r.data[e]),a<0?p+=a||0:f+=a||0);return s<0?h.getPixelForValue(p+s):h.getPixelForValue(f+s)}return h.getPixelForValue(t)},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,n,i,r,o=this,a=o.chart,s=o.getMeta(),l=s.dataset._model,u=a.chartArea,c=s.data||[];if(l.spanGaps&&(c=c.filter(function(t){return!t._model.skip})),"monotone"===l.cubicInterpolationMode)Dn.splineCurveMonotone(c);else for(e=0,n=c.length;e<n;++e)i=c[e]._model,r=Dn.splineCurve(Dn.previousItem(c,e)._model,i,Dn.nextItem(c,e)._model,l.tension),i.controlPointPreviousX=r.previous.x,i.controlPointPreviousY=r.previous.y,i.controlPointNextX=r.next.x,i.controlPointNextY=r.next.y;if(a.options.elements.line.capBezierPoints)for(e=0,n=c.length;e<n;++e)i=c[e]._model,mi(i,u)&&(e>0&&mi(c[e-1]._model,u)&&(i.controlPointPreviousX=t(i.controlPointPreviousX,u.left,u.right),i.controlPointPreviousY=t(i.controlPointPreviousY,u.top,u.bottom)),e<c.length-1&&mi(c[e+1]._model,u)&&(i.controlPointNextX=t(i.controlPointNextX,u.left,u.right),i.controlPointNextY=t(i.controlPointNextY,u.top,u.bottom)))},draw:function(){var t,e=this,n=e.chart,i=e.getMeta(),r=i.data||[],o=n.chartArea,a=n.canvas,s=0,l=r.length;for(e._showLine&&(t=i.dataset._model.clip,Dn.canvas.clipArea(n.ctx,{left:!1===t.left?0:o.left-t.left,right:!1===t.right?a.width:o.right+t.right,top:!1===t.top?0:o.top-t.top,bottom:!1===t.bottom?a.height:o.bottom+t.bottom}),i.dataset.draw(),Dn.canvas.unclipArea(n.ctx));s<l;++s)r[s].draw(o)},setHoverStyle:function(t){var e=t._model,n=t._options,i=Dn.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=gi(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=gi(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=gi(n.hoverBorderWidth,n.borderWidth),e.radius=gi(n.hoverRadius,n.radius)}}),bi=Dn.options.resolve;vn._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,n,i,r,o=document.createElement("ul"),a=t.data,s=a.datasets,l=a.labels;if(o.setAttribute("class",t.id+"-legend"),s.length)for(e=0,n=s[0].data.length;e<n;++e)i=o.appendChild(document.createElement("li")),r=i.appendChild(document.createElement("span")),r.style.backgroundColor=s[0].backgroundColor[e],l[e]&&i.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(n,i){var r=t.getDatasetMeta(0),o=r.controller.getStyle(i);return{text:n,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,lineWidth:o.borderWidth,hidden:isNaN(e.datasets[0].data[i])||r.data[i].hidden,index:i}}):[]}},onClick:function(t,e){var n,i,r,o=e.index,a=this.chart;for(n=0,i=(a.data.datasets||[]).length;n<i;++n)r=a.getDatasetMeta(n),r.data[o].hidden=!r.data[o].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}});var _i=Bn.extend({dataElementType:Qn.Arc,linkScales:Dn.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,n,i,r=this,o=r.getDataset(),a=r.getMeta(),s=r.chart.options.startAngle||0,l=r._starts=[],u=r._angles=[],c=a.data;for(r._updateRadius(),a.count=r.countVisibleElements(),e=0,n=o.data.length;e<n;e++)l[e]=s,i=r._computeAngle(e),u[e]=i,s+=i;for(e=0,n=c.length;e<n;++e)c[e]._options=r._resolveDataElementOptions(c[e],e),r.updateElement(c[e],e,t)},_updateRadius:function(){var t=this,e=t.chart,n=e.chartArea,i=e.options,r=Math.min(n.right-n.left,n.bottom-n.top);e.outerRadius=Math.max(r/2,0),e.innerRadius=Math.max(i.cutoutPercentage?e.outerRadius/100*i.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,n){var i=this,r=i.chart,o=i.getDataset(),a=r.options,s=a.animation,l=r.scale,u=r.data.labels,c=l.xCenter,d=l.yCenter,h=a.startAngle,f=t.hidden?0:l.getDistanceFromCenterForValue(o.data[e]),p=i._starts[e],g=p+(t.hidden?0:i._angles[e]),v=s.animateScale?0:l.getDistanceFromCenterForValue(o.data[e]),m=t._options||{};Dn.extend(t,{_datasetIndex:i.index,_index:e,_scale:l,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:c,y:d,innerRadius:0,outerRadius:n?v:f,startAngle:n&&s.animateRotate?h:p,endAngle:n&&s.animateRotate?h:g,label:Dn.valueAtIndexOrDefault(u,e,u[e])}}),t.pivot()},countVisibleElements:function(){var t=this.getDataset(),e=this.getMeta(),n=0;return Dn.each(e.data,function(e,i){isNaN(t.data[i])||e.hidden||n++}),n},setHoverStyle:function(t){var e=t._model,n=t._options,i=Dn.getHoverColor,r=Dn.valueOrDefault;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth},e.backgroundColor=r(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=r(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=r(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(t){var e=this,n=this.getMeta().count,i=e.getDataset(),r=e.getMeta();if(isNaN(i.data[t])||r.data[t].hidden)return 0;var o={chart:e.chart,dataIndex:t,dataset:i,datasetIndex:e.index};return bi([e.chart.options.elements.arc.angle,2*Math.PI/n],o,t)}});vn._set("pie",Dn.clone(vn.doughnut)),vn._set("pie",{cutoutPercentage:0});var xi=fi,wi=Dn.valueOrDefault;vn._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Ci=Bn.extend({datasetElementType:Qn.Line,dataElementType:Qn.Point,linkScales:Dn.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(t){var e,n,i=this,r=i.getMeta(),o=r.dataset,a=r.data||[],s=i.chart.scale,l=i._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),o._scale=s,o._datasetIndex=i.index,o._children=a,o._loop=!0,o._model=i._resolveDatasetElementOptions(o),o.pivot(),e=0,n=a.length;e<n;++e)i.updateElement(a[e],e,t);for(i.updateBezierControlPoints(),e=0,n=a.length;e<n;++e)a[e].pivot()},updateElement:function(t,e,n){var i=this,r=t.custom||{},o=i.getDataset(),a=i.chart.scale,s=a.getPointPositionForValue(e,o.data[e]),l=i._resolveDataElementOptions(t,e),u=i.getMeta().dataset._model,c=n?a.xCenter:s.x,d=n?a.yCenter:s.y;t._scale=a,t._options=l,t._datasetIndex=i.index,t._index=e,t._model={x:c,y:d,skip:r.skip||isNaN(c)||isNaN(d),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:wi(r.tension,u?u.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var t=this,e=t._config,n=t.chart.options,i=Bn.prototype._resolveDatasetElementOptions.apply(t,arguments);return i.spanGaps=wi(e.spanGaps,n.spanGaps),i.tension=wi(e.lineTension,n.elements.line.tension),i},updateBezierControlPoints:function(){function t(t,e,n){return Math.max(Math.min(t,n),e)}var e,n,i,r,o=this,a=o.getMeta(),s=o.chart.chartArea,l=a.data||[];for(a.dataset._model.spanGaps&&(l=l.filter(function(t){return!t._model.skip})),e=0,n=l.length;e<n;++e)i=l[e]._model,r=Dn.splineCurve(Dn.previousItem(l,e,!0)._model,i,Dn.nextItem(l,e,!0)._model,i.tension),i.controlPointPreviousX=t(r.previous.x,s.left,s.right),i.controlPointPreviousY=t(r.previous.y,s.top,s.bottom),i.controlPointNextX=t(r.next.x,s.left,s.right),i.controlPointNextY=t(r.next.y,s.top,s.bottom)},setHoverStyle:function(t){var e=t._model,n=t._options,i=Dn.getHoverColor;t.$previousStyle={backgroundColor:e.backgroundColor,borderColor:e.borderColor,borderWidth:e.borderWidth,radius:e.radius},e.backgroundColor=wi(n.hoverBackgroundColor,i(n.backgroundColor)),e.borderColor=wi(n.hoverBorderColor,i(n.borderColor)),e.borderWidth=wi(n.hoverBorderWidth,n.borderWidth),e.radius=wi(n.hoverRadius,n.radius)}});vn._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),vn._set("global",{datasets:{scatter:{showLine:!1}}});var ki=yi,Ti={bar:oi,bubble:li,doughnut:fi,horizontalBar:pi,line:yi,polarArea:_i,pie:xi,radar:Ci,scatter:ki},Si={modes:{single:function(t,e){var n=q(e,t),i=[];return Y(t,function(t){if(t.inRange(n.x,n.y))return i.push(t),i}),i.slice(0,1)},label:Z,index:Z,dataset:function(t,e,n){var i=q(e,t);n.axis=n.axis||"xy";var r=K(n.axis),o=n.intersect?X(t,i):G(t,i,!1,r);return o.length>0&&(o=t.getDatasetMeta(o[0]._datasetIndex).data),o},"x-axis":function(t,e){return Z(t,e,{intersect:!1})},point:function(t,e){return X(t,q(e,t))},nearest:function(t,e,n){var i=q(e,t);n.axis=n.axis||"xy";var r=K(n.axis);return G(t,i,n.intersect,r)},x:function(t,e,n){var i=q(e,t),r=[],o=!1;return Y(t,function(t){t.inXRange(i.x)&&r.push(t),t.inRange(i.x,i.y)&&(o=!0)}),n.intersect&&!o&&(r=[]),r},y:function(t,e,n){var i=q(e,t),r=[],o=!1;return Y(t,function(t){t.inYRange(i.y)&&r.push(t),t.inRange(i.x,i.y)&&(o=!0)}),n.intersect&&!o&&(r=[]),r}}},Di=Dn.extend;vn._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var Ai={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw:function(){e.draw.apply(e,arguments)}}]},t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,r=["fullWidth","position","weight"],o=r.length,a=0;a<o;++a)i=r[a],n.hasOwnProperty(i)&&(e[i]=n[i])},update:function(t,e,n){if(t){var i=t.options.layout||{},r=Dn.options.toPadding(i.padding),o=e-r.width,a=n-r.height,s=nt(t.boxes),l=s.vertical,u=s.horizontal,c=Object.freeze({outerWidth:e,outerHeight:n,padding:r,availableWidth:o,vBoxMaxWidth:o/2/l.length,hBoxMaxHeight:a/2}),d=Di({maxPadding:Di({},r),w:o,h:a,x:r.left,y:r.top},r);et(l.concat(u),c),st(l,d,c),st(u,d,c)&&st(l,d,c),ot(d),lt(s.leftAndTop,d,c),d.x+=d.w,d.y+=d.h,lt(s.rightAndBottom,d,c),t.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h},Dn.each(s.chartArea,function(e){var n=e.box;Di(n,t.chartArea),n.update(d.w,d.h)})}}},Ei={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}},Mi=Object.freeze({__proto__:null,default:"/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n"}),Oi=function(t){return t&&t.default||t}(Mi),$i="$chartjs",Ii="chartjs-size-monitor",Fi="chartjs-render-monitor",Pi="chartjs-render-animation",Ni=["animationstart","webkitAnimationStart"],Li={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ji=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}(),Ri=!!ji&&{passive:!0},Ui={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(t){if(!this.disableCSSInjection){var e=t.getRootNode?t.getRootNode():document;wt(e.host?e:document.head,Oi)}},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas);var n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(this._ensureLoaded(t),ct(t,e),n):null},releaseContext:function(t){var e=t.canvas;if(e[$i]){var n=e[$i].initial;["height","width"].forEach(function(t){var i=n[t];Dn.isNullOrUndef(i)?e.removeAttribute(t):e.setAttribute(t,i)}),Dn.each(n.style||{},function(t,n){e.style[n]=t}),e.width=e.width,delete e[$i]}},addEventListener:function(t,e,n){var i=t.canvas;if("resize"===e)return void _t(i,n,t);var r=n[$i]||(n[$i]={});dt(i,e,(r.proxies||(r.proxies={}))[t.id+"_"+e]=function(e){n(pt(e,t))})},removeEventListener:function(t,e,n){var i=t.canvas;if("resize"===e)return void xt(i);var r=n[$i]||{},o=r.proxies||{},a=o[t.id+"_"+e];a&&ht(i,e,a)}};Dn.addEvent=dt,Dn.removeEvent=ht;var Bi=Ui._enabled?Ui:Ei,zi=Dn.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Bi);vn._set("global",{plugins:{}});var Hi={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,r,o,a,s,l=this.descriptors(t),u=l.length;for(i=0;i<u;++i)if(r=l[i],o=r.plugin,"function"==typeof(s=o[e])&&(a=[t].concat(n||[]),a.push(r.options),!1===s.apply(o,a)))return!1;return!0},descriptors:function(t){var e=t.$plugins||(t.$plugins={});if(e.id===this._cacheId)return e.descriptors;var n=[],i=[],r=t&&t.config||{},o=r.options&&r.options.plugins||{};return this._plugins.concat(r.plugins||[]).forEach(function(t){if(-1===n.indexOf(t)){var e=t.id,r=o[e];!1!==r&&(!0===r&&(r=Dn.clone(vn.global.plugins[e])),n.push(t),i.push({plugin:t,options:r||{}}))}}),e.descriptors=i,e.id=this._cacheId,i},_invalidate:function(t){delete t.$plugins}},Wi={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=Dn.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?Dn.merge({},[vn.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){var n=this;n.defaults.hasOwnProperty(t)&&(n.defaults[t]=Dn.extend(n.defaults[t],e))},addScalesToLayout:function(t){Dn.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,Ai.addBox(t,e)})}},Vi=Dn.valueOrDefault,qi=Dn.rtl.getRtlAdapter;vn._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:Dn.noop,title:function(t,e){var n="",i=e.labels,r=i?i.length:0;if(t.length>0){var o=t[0];o.label?n=o.label:o.xLabel?n=o.xLabel:r>0&&o.index<r&&(n=i[o.index])}return n},afterTitle:Dn.noop,beforeBody:Dn.noop,beforeLabel:Dn.noop,label:function(t,e){var n=e.datasets[t.datasetIndex].label||"";return n&&(n+=": "),Dn.isNullOrUndef(t.value)?n+=t.yLabel:n+=t.value,n},labelColor:function(t,e){var n=e.getDatasetMeta(t.datasetIndex),i=n.data[t.index],r=i._view;return{borderColor:r.borderColor,backgroundColor:r.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:Dn.noop,afterBody:Dn.noop,beforeFooter:Dn.noop,footer:Dn.noop,afterFooter:Dn.noop}}});var Yi={average:function(t){if(!t.length)return!1;var e,n,i=0,r=0,o=0;for(e=0,n=t.length;e<n;++e){var a=t[e];if(a&&a.hasValue()){var s=a.tooltipPosition();i+=s.x,r+=s.y,++o}}return{x:i/o,y:r/o}},nearest:function(t,e){var n,i,r,o=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(n=0,i=t.length;n<i;++n){var l=t[n];if(l&&l.hasValue()){var u=l.getCenterPoint(),c=Dn.distanceBetweenPoints(e,u);c<s&&(s=c,r=l)}}if(r){var d=r.tooltipPosition();o=d.x,a=d.y}return{x:o,y:a}}},Xi=Fn.extend({initialize:function(){this._model=St(this._options),this._lastActive=[]},getTitle:function(){var t=this,e=t._options,n=e.callbacks,i=n.beforeTitle.apply(t,arguments),r=n.title.apply(t,arguments),o=n.afterTitle.apply(t,arguments),a=[];return a=Ct(a,kt(i)),a=Ct(a,kt(r)),a=Ct(a,kt(o))},getBeforeBody:function(){return Ot(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(t,e){var n=this,i=n._options.callbacks,r=[];return Dn.each(t,function(t){var o={before:[],lines:[],after:[]};Ct(o.before,kt(i.beforeLabel.call(n,t,e))),Ct(o.lines,i.label.call(n,t,e)),Ct(o.after,kt(i.afterLabel.call(n,t,e))),r.push(o)}),r},getAfterBody:function(){return Ot(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var t=this,e=t._options.callbacks,n=e.beforeFooter.apply(t,arguments),i=e.footer.apply(t,arguments),r=e.afterFooter.apply(t,arguments),o=[];return o=Ct(o,kt(n)),o=Ct(o,kt(i)),o=Ct(o,kt(r))},update:function(t){var e,n,i=this,r=i._options,o=i._model,a=i._model=St(r),s=i._active,l=i._data,u={xAlign:o.xAlign,yAlign:o.yAlign},c={x:o.x,y:o.y},d={width:o.width,height:o.height},h={x:o.caretX,y:o.caretY};if(s.length){a.opacity=1;var f=[],p=[];h=Yi[r.position].call(i,s,i._eventPosition);var g=[];for(e=0,n=s.length;e<n;++e)g.push(Tt(s[e]));r.filter&&(g=g.filter(function(t){return r.filter(t,l)})),r.itemSort&&(g=g.sort(function(t,e){return r.itemSort(t,e,l)})),Dn.each(g,function(t){f.push(r.callbacks.labelColor.call(i,t,i._chart)),p.push(r.callbacks.labelTextColor.call(i,t,i._chart))}),a.title=i.getTitle(g,l),a.beforeBody=i.getBeforeBody(g,l),a.body=i.getBody(g,l),a.afterBody=i.getAfterBody(g,l),a.footer=i.getFooter(g,l),a.x=h.x,a.y=h.y,a.caretPadding=r.caretPadding,a.labelColors=f,a.labelTextColors=p,a.dataPoints=g,d=Dt(this,a),u=At(this,d),c=Et(a,d,u,i._chart)}else a.opacity=0;return a.xAlign=u.xAlign,a.yAlign=u.yAlign,a.x=c.x,a.y=c.y,a.width=d.width,a.height=d.height,a.caretX=h.x,a.caretY=h.y,i._model=a,t&&r.custom&&r.custom.call(i,a),i},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,r=this.getCaretPosition(t,e,i);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)},getCaretPosition:function(t,e,n){var i,r,o,a,s,l,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=t.x,p=t.y,g=e.width,v=e.height;if("center"===h)s=p+v/2,"left"===d?(i=f,r=i-u,o=i,a=s+u,l=s-u):(i=f+g,r=i+u,o=i,a=s-u,l=s+u);else if("left"===d?(r=f+c+u,i=r-u,o=r+u):"right"===d?(r=f+g-c-u,i=r-u,o=r+u):(r=n.caretX,i=r-u,o=r+u),"top"===h)a=p,s=a-u,l=a;else{a=p+v,s=a+u,l=a;var m=o;o=i,i=m}return{x1:i,x2:r,x3:o,y1:a,y2:s,y3:l}},drawTitle:function(t,e,n){var i,r,o,a=e.title,s=a.length;if(s){var l=qi(e.rtl,e.x,e.width);for(t.x=Mt(e,e._titleAlign),n.textAlign=l.textAlign(e._titleAlign),n.textBaseline="middle",i=e.titleFontSize,r=e.titleSpacing,n.fillStyle=e.titleFontColor,n.font=Dn.fontString(i,e._titleFontStyle,e._titleFontFamily),o=0;o<s;++o)n.fillText(a[o],l.x(t.x),t.y+i/2),t.y+=i+r,o+1===s&&(t.y+=e.titleMarginBottom-r)}},drawBody:function(t,e,n){var i,r,o,a,s,l,u,c,d=e.bodyFontSize,h=e.bodySpacing,f=e._bodyAlign,p=e.body,g=e.displayColors,v=0,m=g?Mt(e,"left"):0,y=qi(e.rtl,e.x,e.width),b=function(e){n.fillText(e,y.x(t.x+v),t.y+d/2),t.y+=d+h},_=y.textAlign(f);for(n.textAlign=f,n.textBaseline="middle",n.font=Dn.fontString(d,e._bodyFontStyle,e._bodyFontFamily),t.x=Mt(e,_),n.fillStyle=e.bodyFontColor,Dn.each(e.beforeBody,b),v=g&&"right"!==_?"center"===f?d/2+1:d+2:0,s=0,u=p.length;s<u;++s){for(i=p[s],r=e.labelTextColors[s],o=e.labelColors[s],n.fillStyle=r,Dn.each(i.before,b),a=i.lines,l=0,c=a.length;l<c;++l){if(g){var x=y.x(m);n.fillStyle=e.legendColorBackground,n.fillRect(y.leftForLtr(x,d),t.y,d,d),n.lineWidth=1,n.strokeStyle=o.borderColor,n.strokeRect(y.leftForLtr(x,d),t.y,d,d),n.fillStyle=o.backgroundColor,n.fillRect(y.leftForLtr(y.xPlus(x,1),d-2),t.y+1,d-2,d-2),n.fillStyle=r}b(a[l])}Dn.each(i.after,b)}v=0,Dn.each(e.afterBody,b),t.y-=h},drawFooter:function(t,e,n){var i,r,o=e.footer,a=o.length;if(a){var s=qi(e.rtl,e.x,e.width);for(t.x=Mt(e,e._footerAlign),t.y+=e.footerMarginTop,n.textAlign=s.textAlign(e._footerAlign),n.textBaseline="middle",i=e.footerFontSize,n.fillStyle=e.footerFontColor,n.font=Dn.fontString(i,e._footerFontStyle,e._footerFontFamily),r=0;r<a;++r)n.fillText(o[r],s.x(t.x),t.y+i/2),t.y+=i+e.footerSpacing}},drawBackground:function(t,e,n,i){n.fillStyle=e.backgroundColor,n.strokeStyle=e.borderColor,n.lineWidth=e.borderWidth;var r=e.xAlign,o=e.yAlign,a=t.x,s=t.y,l=i.width,u=i.height,c=e.cornerRadius;n.beginPath(),n.moveTo(a+c,s),"top"===o&&this.drawCaret(t,i),n.lineTo(a+l-c,s),n.quadraticCurveTo(a+l,s,a+l,s+c),"center"===o&&"right"===r&&this.drawCaret(t,i),n.lineTo(a+l,s+u-c),n.quadraticCurveTo(a+l,s+u,a+l-c,s+u),"bottom"===o&&this.drawCaret(t,i),n.lineTo(a+c,s+u),n.quadraticCurveTo(a,s+u,a,s+u-c),"center"===o&&"left"===r&&this.drawCaret(t,i),n.lineTo(a,s+c),n.quadraticCurveTo(a,s,a+c,s),n.closePath(),n.fill(),e.borderWidth>0&&n.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity,o=e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length;this._options.enabled&&o&&(t.save(),t.globalAlpha=r,this.drawBackground(i,e,t,n),i.y+=e.yPadding,Dn.rtl.overrideTextDirection(t,e.textDirection),this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),Dn.rtl.restoreTextDirection(t,e.textDirection),t.restore())}},handleEvent:function(t){var e=this,n=e._options,i=!1;return e._lastActive=e._lastActive||[],"mouseout"===t.type?e._active=[]:(e._active=e._chart.getElementsAtEventForMode(t,n.mode,n),n.reverse&&e._active.reverse()),i=!Dn.arrayEquals(e._active,e._lastActive),i&&(e._lastActive=e._active,(n.enabled||n.custom)&&(e._eventPosition={x:t.x,y:t.y},e.update(!0),e.pivot())),i}}),Gi=Yi,Ki=Xi;Ki.positioners=Gi;var Zi=Dn.valueOrDefault;vn._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Qi=function(t,e){return this.construct(t,e),this};Dn.extend(Qi.prototype,{construct:function(t,e){var n=this;e=Ft(e);var i=zi.acquireContext(t,e),r=i&&i.canvas,o=r&&r.height,a=r&&r.width;if(n.id=Dn.uid(),n.ctx=i,n.canvas=r,n.config=e,n.width=a,n.height=o,n.aspectRatio=o?a/o:null,n.options=e.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Qi.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),!i||!r)return void console.error("Failed to create chart: can't acquire context from the given item");n.initialize(),n.update()},initialize:function(){var t=this;return Hi.notify(t,"beforeInit"),Dn.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.initToolTip(),Hi.notify(t,"afterInit"),t},clear:function(){return Dn.canvas.clear(this),this},stop:function(){return Ln.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,r=n.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(Dn.getMaximumWidth(i))),a=Math.max(0,Math.floor(r?o/r:Dn.getMaximumHeight(i)));if((e.width!==o||e.height!==a)&&(i.width=e.width=o,i.height=e.height=a,i.style.width=o+"px",i.style.height=a+"px",Dn.retinaScale(e,n.devicePixelRatio),!t)){var s={width:o,height:a};Hi.notify(e,"resize",[s]),n.onResize&&n.onResize(e,s),e.stop(),e.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;Dn.each(e.xAxes,function(t,n){t.id||(t.id=Nt(e.xAxes,"x-axis-",n))}),Dn.each(e.yAxes,function(t,n){t.id||(t.id=Nt(e.yAxes,"y-axis-",n))}),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var t=this,e=t.options,n=t.scales||{},i=[],r=Object.keys(n).reduce(function(t,e){return t[e]=!1,t},{});e.scales&&(i=i.concat((e.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),e.scale&&i.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),Dn.each(i,function(e){var i=e.options,o=i.id,a=Zi(i.type,e.dtype);Lt(i.position)!==Lt(e.dposition)&&(i.position=e.dposition),r[o]=!0;var s=null;if(o in n&&n[o].type===a)s=n[o],s.options=i,s.ctx=t.ctx,s.chart=t;else{var l=Wi.getScaleConstructor(a);if(!l)return;s=new l({id:o,type:a,options:i,ctx:t.ctx,chart:t}),n[s.id]=s}s.mergeTicksOptions(),e.isDefault&&(t.scale=s)}),Dn.each(r,function(t,e){t||delete n[e]}),t.scales=n,Wi.addScalesToLayout(this)},buildOrUpdateControllers:function(){var t,e,n=this,i=[],r=n.data.datasets;for(t=0,e=r.length;t<e;t++){var o=r[t],a=n.getDatasetMeta(t),s=o.type||n.config.type;if(a.type&&a.type!==s&&(n.destroyDatasetMeta(t),a=n.getDatasetMeta(t)),a.type=s,a.order=o.order||0,a.index=t,a.controller)a.controller.updateIndex(t),a.controller.linkScales();else{var l=Ti[a.type];if(void 0===l)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new l(n,t),i.push(a.controller)}}return i},resetElements:function(){var t=this;Dn.each(t.data.datasets,function(e,n){t.getDatasetMeta(n).controller.reset()},t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,i=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),Pt(i),Hi._invalidate(i),!1!==Hi.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var r=i.buildOrUpdateControllers();for(e=0,n=i.data.datasets.length;e<n;e++)i.getDatasetMeta(e).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&Dn.each(r,function(t){t.reset()}),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],Hi.notify(i,"afterUpdate"),i._layers.sort(jt("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t)}},updateLayout:function(){var t=this;!1!==Hi.notify(t,"beforeLayout")&&(Ai.update(this,this.width,this.height),t._layers=[],Dn.each(t.boxes,function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())},t),t._layers.forEach(function(t,e){t._idx=e}),Hi.notify(t,"afterScaleUpdate"),Hi.notify(t,"afterLayout"))},updateDatasets:function(){var t=this;if(!1!==Hi.notify(t,"beforeDatasetsUpdate")){for(var e=0,n=t.data.datasets.length;e<n;++e)t.updateDataset(e);Hi.notify(t,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this,n=e.getDatasetMeta(t),i={meta:n,index:t};!1!==Hi.notify(e,"beforeDatasetUpdate",[i])&&(n.controller._update(),Hi.notify(e,"afterDatasetUpdate",[i]))},render:function(t){var e=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]});var n=e.options.animation,i=Zi(t.duration,n&&n.duration),r=t.lazy;if(!1!==Hi.notify(e,"beforeRender")){var o=function(t){Hi.notify(e,"afterRender"),Dn.callback(n&&n.onComplete,[t],e)};if(n&&i){var a=new Nn({numSteps:i/16.66,easing:t.easing||n.easing,render:function(t,e){var n=Dn.easing.effects[e.easing],i=e.currentStep,r=i/e.numSteps;t.draw(n(r),r,i)},onAnimationProgress:n.onProgress,onAnimationComplete:o});Ln.addAnimation(e,a,i,r)}else e.draw(),o(new Nn({numSteps:0,chart:e}));return e}},draw:function(t){var e,n,i=this;if(i.clear(),Dn.isNullOrUndef(t)&&(t=1),i.transition(t),!(i.width<=0||i.height<=0)&&!1!==Hi.notify(i,"beforeDraw",[t])){for(n=i._layers,e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(i.chartArea);for(i.drawDatasets(t);e<n.length;++e)n[e].draw(i.chartArea);i._drawTooltip(t),Hi.notify(i,"afterDraw",[t])}},transition:function(t){for(var e=this,n=0,i=(e.data.datasets||[]).length;n<i;++n)e.isDatasetVisible(n)&&e.getDatasetMeta(n).controller.transition(t);e.tooltip.transition(t)},_getSortedDatasetMetas:function(t){var e,n,i=this,r=i.data.datasets||[],o=[];for(e=0,
+n=r.length;e<n;++e)t&&!i.isDatasetVisible(e)||o.push(i.getDatasetMeta(e));return o.sort(jt("order","index")),o},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(t){var e,n,i=this;if(!1!==Hi.notify(i,"beforeDatasetsDraw",[t])){for(e=i._getSortedVisibleDatasetMetas(),n=e.length-1;n>=0;--n)i.drawDataset(e[n],t);Hi.notify(i,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this,i={meta:t,index:t.index,easingValue:e};!1!==Hi.notify(n,"beforeDatasetDraw",[i])&&(t.controller.draw(e),Hi.notify(n,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this,n=e.tooltip,i={tooltip:n,easingValue:t};!1!==Hi.notify(e,"beforeTooltipDraw",[i])&&(n.draw(),Hi.notify(e,"afterTooltipDraw",[i]))},getElementAtEvent:function(t){return Si.modes.single(this,t)},getElementsAtEvent:function(t){return Si.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return Si.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=Si.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return Si.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this,n=e.data.datasets[t];n._meta||(n._meta={});var i=n._meta[e.id];return i||(i=n._meta[e.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n.order||0,index:t}),i},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,n=this.data.datasets[t],i=n._meta&&n._meta[e];i&&(i.controller.destroy(),delete n._meta[e])},destroy:function(){var t,e,n=this,i=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),Dn.canvas.clear(n),zi.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Hi.notify(n,"destroy"),delete Qi.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var t=this;t.tooltip=new Ki({_chart:t,_chartInstance:t,_data:t.data,_options:t.options.tooltips},t)},bindEvents:function(){var t=this,e=t._listeners={},n=function(){t.eventHandler.apply(t,arguments)};Dn.each(t.options.events,function(i){zi.addEventListener(t,i,n),e[i]=n}),t.options.responsive&&(n=function(){t.resize()},zi.addEventListener(t,"resize",n),e.resize=n)},unbindEvents:function(){var t=this,e=t._listeners;e&&(delete t._listeners,Dn.each(e,function(e,n){zi.removeEventListener(t,n,e)}))},updateHoverStyle:function(t,e,n){var i,r,o,a=n?"set":"remove";for(r=0,o=t.length;r<o;++r)(i=t[r])&&this.getDatasetMeta(i._datasetIndex).controller[a+"HoverStyle"](i);"dataset"===e&&this.getDatasetMeta(t[0]._datasetIndex).controller["_"+a+"DatasetHoverStyle"]()},eventHandler:function(t){var e=this,n=e.tooltip;if(!1!==Hi.notify(e,"beforeEvent",[t])){e._bufferedRender=!0,e._bufferedRequest=null;var i=e.handleEvent(t);n&&(i=n._start?n.handleEvent(t):i|n.handleEvent(t)),Hi.notify(e,"afterEvent",[t]);var r=e._bufferedRequest;return r?e.render(r):i&&!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,n=e.options||{},i=n.hover,r=!1;return e.lastActive=e.lastActive||[],"mouseout"===t.type?e.active=[]:e.active=e.getElementsAtEventForMode(t,i.mode,i),Dn.callback(n.onHover||n.hover.onHover,[t.native,e.active],e),"mouseup"!==t.type&&"click"!==t.type||n.onClick&&n.onClick.call(e,t.native,e.active),e.lastActive.length&&e.updateHoverStyle(e.lastActive,i.mode,!1),e.active.length&&i.mode&&e.updateHoverStyle(e.active,i.mode,!0),r=!Dn.arrayEquals(e.active,e.lastActive),e.lastActive=e.active,r}}),Qi.instances={};var Ji=Qi;Qi.Controller=Qi,Qi.types={},Dn.configMerge=It,Dn.scaleMerge=$t;Dn.extend(Ut.prototype,{formats:Rt,parse:Rt,format:Rt,add:Rt,diff:Rt,startOf:Rt,endOf:Rt,_create:function(t){return t}}),Ut.override=function(t){Dn.extend(Ut.prototype,t)};var tr=Ut,er={_date:tr},nr={formatters:{values:function(t){return Dn.isArray(t)?t:""+t},linear:function(t,e,n){var i=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(i)>1&&t!==Math.floor(t)&&(i=t-Math.floor(t));var r=Dn.log10(Math.abs(i)),o="";if(0!==t){if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var a=Dn.log10(Math.abs(t)),s=Math.floor(a)-Math.floor(r);s=Math.max(Math.min(s,20),0),o=t.toExponential(s)}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,n){var i=t/Math.pow(10,Math.floor(Dn.log10(t)));return 0===t?"0":1===i||2===i||5===i||0===e||e===n.length-1?t.toExponential():""}}},ir=Dn.isArray,rr=Dn.isNullOrUndef,or=Dn.valueOrDefault,ar=Dn.valueAtIndexOrDefault;vn._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 sr=Fn.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(){Dn.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,r,o,a,s,l=this,u=l.options.ticks,c=u.sampleSize;if(l.beforeUpdate(),l.maxWidth=t,l.maxHeight=e,l.margins=Dn.extend({left:0,right:0,top:0,bottom:0},n),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(),a=l.buildTicks()||[],(!(a=l.afterBuildTicks(a)||a)||!a.length)&&l.ticks)for(a=[],i=0,r=l.ticks.length;i<r;++i)a.push({value:l.ticks[i],major:!1});return l._ticks=a,s=c<a.length,o=l._convertTicksToLabels(s?Bt(a,c):a),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(a):a,s&&(o=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=o,l.afterUpdate(),l.minSize},_configure:function(){var t,e,n=this,i=n.options.ticks.reverse;n.isHorizontal()?(t=n.left,e=n.right):(t=n.top,e=n.bottom,i=!i),n._startPixel=t,n._endPixel=e,n._reversePixels=i,n._length=e-t},afterUpdate:function(){Dn.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){Dn.callback(this.options.beforeSetDimensions,[this])},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},afterSetDimensions:function(){Dn.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){Dn.callback(this.options.beforeDataLimits,[this])},determineDataLimits:Dn.noop,afterDataLimits:function(){Dn.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){Dn.callback(this.options.beforeBuildTicks,[this])},buildTicks:Dn.noop,afterBuildTicks:function(t){var e=this;return ir(t)&&t.length?Dn.callback(e.options.afterBuildTicks,[e,t]):(e.ticks=Dn.callback(e.options.afterBuildTicks,[e,e.ticks])||e.ticks,t)},beforeTickToLabelConversion:function(){Dn.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this,e=t.options.ticks;t.ticks=t.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){Dn.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){Dn.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t,e,n,i,r,o,a,s=this,l=s.options,u=l.ticks,c=s.getTicks().length,d=u.minRotation||0,h=u.maxRotation,f=d;if(!s._isVisible()||!u.display||d>=h||c<=1||!s.isHorizontal())return void(s.labelRotation=d);t=s._getLabelSizes(),e=t.widest.width,n=t.highest.height-t.highest.offset,i=Math.min(s.maxWidth,s.chart.width-e),r=l.offset?s.maxWidth/c:i/(c-1),e+6>r&&(r=i/(c-(l.offset?.5:1)),o=s.maxHeight-Vt(l.gridLines)-u.padding-qt(l.scaleLabel),a=Math.sqrt(e*e+n*n),f=Dn.toDegrees(Math.min(Math.asin(Math.min((t.highest.height+6)/r,1)),Math.asin(Math.min(o/a,1))-Math.asin(n/a))),f=Math.max(d,Math.min(h,f))),s.labelRotation=f},afterCalculateTickRotation:function(){Dn.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){Dn.callback(this.options.beforeFit,[this])},fit:function(){var t=this,e=t.minSize={width:0,height:0},n=t.chart,i=t.options,r=i.ticks,o=i.scaleLabel,a=i.gridLines,s=t._isVisible(),l="bottom"===i.position,u=t.isHorizontal();if(u?e.width=t.maxWidth:s&&(e.width=Vt(a)+qt(o)),u?s&&(e.height=Vt(a)+qt(o)):e.height=t.maxHeight,r.display&&s){var c=Xt(r),d=t._getLabelSizes(),h=d.first,f=d.last,p=d.widest,g=d.highest,v=.4*c.minor.lineHeight,m=r.padding;if(u){var y=0!==t.labelRotation,b=Dn.toRadians(t.labelRotation),_=Math.cos(b),x=Math.sin(b),w=x*p.width+_*(g.height-(y?g.offset:0))+(y?0:v);e.height=Math.min(t.maxHeight,e.height+w+m);var C,k,T=t.getPixelForTick(0)-t.left,S=t.right-t.getPixelForTick(t.getTicks().length-1);y?(C=l?_*h.width+x*h.offset:x*(h.height-h.offset),k=l?x*(f.height-f.offset):_*f.width+x*f.offset):(C=h.width/2,k=f.width/2),t.paddingLeft=Math.max((C-T)*t.width/(t.width-T),0)+3,t.paddingRight=Math.max((k-S)*t.width/(t.width-S),0)+3}else{var D=r.mirror?0:p.width+m+v;e.width=Math.min(t.maxWidth,e.width+D),t.paddingTop=h.height/2,t.paddingBottom=f.height/2}}t.handleMargins(),u?(t.width=t._length=n.width-t.margins.left-t.margins.right,t.height=e.height):(t.width=e.width,t.height=t._length=n.height-t.margins.top-t.margins.bottom)},handleMargins:function(){var t=this;t.margins&&(t.margins.left=Math.max(t.paddingLeft,t.margins.left),t.margins.top=Math.max(t.paddingTop,t.margins.top),t.margins.right=Math.max(t.paddingRight,t.margins.right),t.margins.bottom=Math.max(t.paddingBottom,t.margins.bottom))},afterFit:function(){Dn.callback(this.options.afterFit,[this])},isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(rr(t))return NaN;if(("number"==typeof t||t instanceof Number)&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},_convertTicksToLabels:function(t){var e,n,i,r=this;for(r.ticks=t.map(function(t){return t.value}),r.beforeTickToLabelConversion(),e=r.convertTicksToLabels(t)||r.ticks,r.afterTickToLabelConversion(),n=0,i=t.length;n<i;++n)t[n].label=e[n];return e},_getLabelSizes:function(){var t=this,e=t._labelSizes;return e||(t._labelSizes=e=Wt(t.ctx,Xt(t.options.ticks),t.getTicks(),t.longestTextCache),t.longestLabelWidth=e.widest.width),e},_parseValue:function(t){var e,n,i,r;return ir(t)?(e=+this.getRightValue(t[0]),n=+this.getRightValue(t[1]),i=Math.min(e,n),r=Math.max(e,n)):(t=+this.getRightValue(t),e=void 0,n=t,i=t,r=t),{min:i,max:r,start:e,end:n}},_getScaleLabel:function(t){var e=this._parseValue(t);return void 0!==e.start?"["+e.start+", "+e.end+"]":+this.getRightValue(t)},getLabelForIndex:Dn.noop,getPixelForValue:Dn.noop,getValueForPixel:Dn.noop,getPixelForTick:function(t){var e=this,n=e.options.offset,i=e._ticks.length,r=1/Math.max(i-(n?0:1),1);return t<0||t>i-1?null:e.getPixelForDecimal(t*r+(n?r/2:0))},getPixelForDecimal:function(t){var e=this;return e._reversePixels&&(t=1-t),e._startPixel+t*e._length},getDecimalForPixel:function(t){var e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this,e=t.min,n=t.max;return t.beginAtZero?0:e<0&&n<0?n:e>0&&n>0?e:0},_autoSkip:function(t){var e,n,i,r,o=this,a=o.options.ticks,s=o._length,l=a.maxTicksLimit||s/o._tickSize()+1,u=a.major.enabled?Qt(t):[],c=u.length,d=u[0],h=u[c-1];if(c>l)return Jt(t,u,c/l),Gt(t);if(i=Zt(u,t,s,l),c>0){for(e=0,n=c-1;e<n;e++)te(t,i,u[e],u[e+1]);return r=c>1?(h-d)/(c-1):null,te(t,i,Dn.isNullOrUndef(r)?0:d-r,d),te(t,i,h,Dn.isNullOrUndef(r)?t.length:h+r),Gt(t)}return te(t,i),Gt(t)},_tickSize:function(){var t=this,e=t.options.ticks,n=Dn.toRadians(t.labelRotation),i=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n)),o=t._getLabelSizes(),a=e.autoSkipPadding||0,s=o?o.widest.width+a:0,l=o?o.highest.height+a:0;return t.isHorizontal()?l*i>s*r?s/i:l/r:l*r<s*i?l/i:s/r},_isVisible:function(){var t,e,n,i=this,r=i.chart,o=i.options.display;if("auto"!==o)return!!o;for(t=0,e=r.data.datasets.length;t<e;++t)if(r.isDatasetVisible(t)&&(n=r.getDatasetMeta(t),n.xAxisID===i.id||n.yAxisID===i.id))return!0;return!1},_computeGridLineItems:function(t){var e,n,i,r,o,a,s,l,u,c,d,h,f,p,g,v,m,y=this,b=y.chart,_=y.options,x=_.gridLines,w=_.position,C=x.offsetGridLines,k=y.isHorizontal(),T=y._ticksToDraw,S=T.length+(C?1:0),D=Vt(x),A=[],E=x.drawBorder?ar(x.lineWidth,0,0):0,M=E/2,O=Dn._alignPixel,$=function(t){return O(b,t,E)};for("top"===w?(e=$(y.bottom),s=y.bottom-D,u=e-M,d=$(t.top)+M,f=t.bottom):"bottom"===w?(e=$(y.top),d=t.top,f=$(t.bottom)-M,s=e+M,u=y.top+D):"left"===w?(e=$(y.right),a=y.right-D,l=e-M,c=$(t.left)+M,h=t.right):(e=$(y.left),c=t.left,h=$(t.right)-M,a=e+M,l=y.left+D),n=0;n<S;++n)i=T[n]||{},rr(i.label)&&n<T.length||(n===y.zeroLineIndex&&_.offset===C?(p=x.zeroLineWidth,g=x.zeroLineColor,v=x.zeroLineBorderDash||[],m=x.zeroLineBorderDashOffset||0):(p=ar(x.lineWidth,n,1),g=ar(x.color,n,"rgba(0,0,0,0.1)"),v=x.borderDash||[],m=x.borderDashOffset||0),void 0!==(r=zt(y,i._index||n,C))&&(o=O(b,r,p),k?a=l=c=h=o:s=u=d=f=o,A.push({tx1:a,ty1:s,tx2:l,ty2:u,x1:c,y1:d,x2:h,y2:f,width:p,color:g,borderDash:v,borderDashOffset:m})));return A.ticksLength=S,A.borderValue=e,A},_computeLabelItems:function(){var t,e,n,i,r,o,a,s,l,u,c,d,h=this,f=h.options,p=f.ticks,g=f.position,v=p.mirror,m=h.isHorizontal(),y=h._ticksToDraw,b=Xt(p),_=p.padding,x=Vt(f.gridLines),w=-Dn.toRadians(h.labelRotation),C=[];for("top"===g?(o=h.bottom-x-_,a=w?"left":"center"):"bottom"===g?(o=h.top+x+_,a=w?"right":"center"):"left"===g?(r=h.right-(v?0:x)-_,a=v?"left":"right"):(r=h.left+(v?0:x)+_,a=v?"right":"left"),t=0,e=y.length;t<e;++t)n=y[t],i=n.label,rr(i)||(s=h.getPixelForTick(n._index||t)+p.labelOffset,l=n.major?b.major:b.minor,u=l.lineHeight,c=ir(i)?i.length:1,m?(r=s,d="top"===g?((w?1:.5)-c)*u:(w?0:.5)*u):(o=s,d=(1-c)*u/2),C.push({x:r,y:o,rotation:w,label:i,font:l,textOffset:d,textAlign:a}));return C},_drawGrid:function(t){var e=this,n=e.options.gridLines;if(n.display){var i,r,o,a,s,l=e.ctx,u=e.chart,c=Dn._alignPixel,d=n.drawBorder?ar(n.lineWidth,0,0):0,h=e._gridLineItems||(e._gridLineItems=e._computeGridLineItems(t));for(o=0,a=h.length;o<a;++o)s=h[o],i=s.width,r=s.color,i&&r&&(l.save(),l.lineWidth=i,l.strokeStyle=r,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(d){var f,p,g,v,m=d,y=ar(n.lineWidth,h.ticksLength-1,1),b=h.borderValue;e.isHorizontal()?(f=c(u,e.left,m)-m/2,p=c(u,e.right,y)+y/2,g=v=b):(g=c(u,e.top,m)-m/2,v=c(u,e.bottom,y)+y/2,f=p=b),l.lineWidth=d,l.strokeStyle=ar(n.color,0),l.beginPath(),l.moveTo(f,g),l.lineTo(p,v),l.stroke()}}},_drawLabels:function(){var t=this;if(t.options.ticks.display){var e,n,i,r,o,a,s,l,u=t.ctx,c=t._labelItems||(t._labelItems=t._computeLabelItems());for(e=0,i=c.length;e<i;++e){if(o=c[e],a=o.font,u.save(),u.translate(o.x,o.y),u.rotate(o.rotation),u.font=a.string,u.fillStyle=a.color,u.textBaseline="middle",u.textAlign=o.textAlign,s=o.label,l=o.textOffset,ir(s))for(n=0,r=s.length;n<r;++n)u.fillText(""+s[n],0,l),l+=a.lineHeight;else u.fillText(s,0,l);u.restore()}}},_drawTitle:function(){var t=this,e=t.ctx,n=t.options,i=n.scaleLabel;if(i.display){var r,o,a=or(i.fontColor,vn.global.defaultFontColor),s=Dn.options._parseFont(i),l=Dn.options.toPadding(i.padding),u=s.lineHeight/2,c=n.position,d=0;if(t.isHorizontal())r=t.left+t.width/2,o="bottom"===c?t.bottom-u-l.bottom:t.top+u+l.top;else{var h="left"===c;r=h?t.left+u+l.top:t.right-u-l.top,o=t.top+t.height/2,d=h?-.5*Math.PI:.5*Math.PI}e.save(),e.translate(r,o),e.rotate(d),e.textAlign="center",e.textBaseline="middle",e.fillStyle=a,e.font=s.string,e.fillText(i.labelString,0,0),e.restore()}},draw:function(t){var e=this;e._isVisible()&&(e._drawGrid(t),e._drawTitle(),e._drawLabels())},_layers:function(){var t=this,e=t.options,n=e.ticks&&e.ticks.z||0,i=e.gridLines&&e.gridLines.z||0;return t._isVisible()&&n!==i&&t.draw===t._draw?[{z:i,draw:function(){t._drawGrid.apply(t,arguments),t._drawTitle.apply(t,arguments)}},{z:n,draw:function(){t._drawLabels.apply(t,arguments)}}]:[{z:n,draw:function(){t.draw.apply(t,arguments)}}]},_getMatchingVisibleMetas:function(t){var e=this,n=e.isHorizontal();return e.chart._getSortedVisibleDatasetMetas().filter(function(i){return(!t||i.type===t)&&(n?i.xAxisID===e.id:i.yAxisID===e.id)})}});sr.prototype._draw=sr.prototype.draw;var lr=sr,ur=Dn.isNullOrUndef,cr={position:"bottom"},dr=lr.extend({determineDataLimits:function(){var t,e=this,n=e._getLabels(),i=e.options.ticks,r=i.min,o=i.max,a=0,s=n.length-1;void 0!==r&&(t=n.indexOf(r))>=0&&(a=t),void 0!==o&&(t=n.indexOf(o))>=0&&(s=t),e.minIndex=a,e.maxIndex=s,e.min=n[a],e.max=n[s]},buildTicks:function(){var t=this,e=t._getLabels(),n=t.minIndex,i=t.maxIndex;t.ticks=0===n&&i===e.length-1?e:e.slice(n,i+1)},getLabelForIndex:function(t,e){var n=this,i=n.chart;return i.getDatasetMeta(e).controller._getValueScaleId()===n.id?n.getRightValue(i.data.datasets[e].data[t]):n._getLabels()[t]},_configure:function(){var t=this,e=t.options.offset,n=t.ticks;lr.prototype._configure.call(t),t.isHorizontal()||(t._reversePixels=!t._reversePixels),n&&(t._startValue=t.minIndex-(e?.5:0),t._valueRange=Math.max(n.length-(e?0:1),1))},getPixelForValue:function(t,e,n){var i,r,o,a=this;return ur(e)||ur(n)||(t=a.chart.data.datasets[n].data[e]),ur(t)||(i=a.isHorizontal()?t.x:t.y),(void 0!==i||void 0!==t&&isNaN(e))&&(r=a._getLabels(),t=Dn.valueOrDefault(i,t),o=r.indexOf(t),e=-1!==o?o:e,isNaN(e)&&(e=t)),a.getPixelForDecimal((e-a._startValue)/a._valueRange)},getPixelForTick:function(t){var e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t],t+this.minIndex)},getValueForPixel:function(t){var e=this,n=Math.round(e._startValue+e.getDecimalForPixel(t)*e._valueRange);return Math.min(Math.max(n,0),e.ticks.length-1)},getBasePixel:function(){return this.bottom}}),hr=cr;dr._defaults=hr;var fr=Dn.noop,pr=Dn.isNullOrUndef,gr=lr.extend({getRightValue:function(t){return"string"==typeof t?+t:lr.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options,n=e.ticks;if(n.beginAtZero){var i=Dn.sign(t.min),r=Dn.sign(t.max);i<0&&r<0?t.max=0:i>0&&r>0&&(t.min=0)}var o=void 0!==n.min||void 0!==n.suggestedMin,a=void 0!==n.max||void 0!==n.suggestedMax;void 0!==n.min?t.min=n.min:void 0!==n.suggestedMin&&(null===t.min?t.min=n.suggestedMin:t.min=Math.min(t.min,n.suggestedMin)),void 0!==n.max?t.max=n.max:void 0!==n.suggestedMax&&(null===t.max?t.max=n.suggestedMax:t.max=Math.max(t.max,n.suggestedMax)),o!==a&&t.min>=t.max&&(o?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,n.beginAtZero||t.min--)},getTickLimit:function(){var t,e=this,n=e.options.ticks,i=n.stepSize,r=n.maxTicksLimit;return i?t=Math.ceil(e.max/i)-Math.floor(e.min/i)+1:(t=e._computeTickLimit(),r=r||11),r&&(t=Math.min(r,t)),t},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:fr,buildTicks:function(){var t=this,e=t.options,n=e.ticks,i=t.getTickLimit();i=Math.max(2,i);var r={maxTicks:i,min:n.min,max:n.max,precision:n.precision,stepSize:Dn.valueOrDefault(n.fixedStepSize,n.stepSize)},o=t.ticks=ee(r,t);t.handleDirectionalChanges(),t.max=Dn.max(o),t.min=Dn.min(o),n.reverse?(o.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){var t=this;t.ticksAsNumbers=t.ticks.slice(),t.zeroLineIndex=t.ticks.indexOf(0),lr.prototype.convertTicksToLabels.call(t)},_configure:function(){var t,e=this,n=e.getTicks(),i=e.min,r=e.max;lr.prototype._configure.call(e),e.options.offset&&n.length&&(t=(r-i)/Math.max(n.length-1,1)/2,i-=t,r+=t),e._startValue=i,e._endValue=r,e._valueRange=r-i}}),vr={position:"left",ticks:{callback:nr.formatters.linear}},mr=gr.extend({determineDataLimits:function(){var t,e,n,i,r=this,o=r.options,a=r.chart,s=a.data.datasets,l=r._getMatchingVisibleMetas(),u=o.stacked,c={},d=l.length;if(r.min=Number.POSITIVE_INFINITY,r.max=Number.NEGATIVE_INFINITY,void 0===u)for(t=0;!u&&t<d;++t)e=l[t],u=void 0!==e.stack;for(t=0;t<d;++t)e=l[t],n=s[e.index].data,u?ie(r,c,e,n):re(r,e,n);Dn.each(c,function(t){i=t.pos.concat(t.neg),r.min=Math.min(r.min,Dn.min(i)),r.max=Math.max(r.max,Dn.max(i))}),r.min=Dn.isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=Dn.isFinite(r.max)&&!isNaN(r.max)?r.max:1,r.handleTickRangeOptions()},_computeTickLimit:function(){var t,e=this;return e.isHorizontal()?Math.ceil(e.width/40):(t=Dn.options._parseFont(e.options.ticks),Math.ceil(e.height/t.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this;return e.getPixelForDecimal((+e.getRightValue(t)-e._startValue)/e._valueRange)},getValueForPixel:function(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange},getPixelForTick:function(t){var e=this.ticksAsNumbers;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])}}),yr=vr;mr._defaults=yr;var br=Dn.valueOrDefault,_r=Dn.math.log10,xr={position:"left",ticks:{callback:nr.formatters.logarithmic}},wr=lr.extend({determineDataLimits:function(){function t(t){return d?t.xAxisID===s.id:t.yAxisID===s.id}var e,n,i,r,o,a,s=this,l=s.options,u=s.chart,c=u.data.datasets,d=s.isHorizontal();s.min=Number.POSITIVE_INFINITY,s.max=Number.NEGATIVE_INFINITY,s.minNotZero=Number.POSITIVE_INFINITY;var h=l.stacked;if(void 0===h)for(e=0;e<c.length;e++)if(n=u.getDatasetMeta(e),u.isDatasetVisible(e)&&t(n)&&void 0!==n.stack){h=!0;break}if(l.stacked||h){var f={};for(e=0;e<c.length;e++){n=u.getDatasetMeta(e);var p=[n.type,void 0===l.stacked&&void 0===n.stack?e:"",n.stack].join(".");if(u.isDatasetVisible(e)&&t(n))for(void 0===f[p]&&(f[p]=[]),r=c[e].data,o=0,a=r.length;o<a;o++){var g=f[p];i=s._parseValue(r[o]),isNaN(i.min)||isNaN(i.max)||n.data[o].hidden||i.min<0||i.max<0||(g[o]=g[o]||0,g[o]+=i.max)}}Dn.each(f,function(t){if(t.length>0){var e=Dn.min(t),n=Dn.max(t);s.min=Math.min(s.min,e),s.max=Math.max(s.max,n)}})}else for(e=0;e<c.length;e++)if(n=u.getDatasetMeta(e),u.isDatasetVisible(e)&&t(n))for(r=c[e].data,o=0,a=r.length;o<a;o++)i=s._parseValue(r[o]),isNaN(i.min)||isNaN(i.max)||n.data[o].hidden||i.min<0||i.max<0||(s.min=Math.min(i.min,s.min),s.max=Math.max(i.max,s.max),0!==i.min&&(s.minNotZero=Math.min(i.min,s.minNotZero)));s.min=Dn.isFinite(s.min)?s.min:null,s.max=Dn.isFinite(s.max)?s.max:null,s.minNotZero=Dn.isFinite(s.minNotZero)?s.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;t.min=ae(e.min,t.min),t.max=ae(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(_r(t.min))-1),t.max=Math.pow(10,Math.floor(_r(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(_r(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(_r(t.min))+1):10),null===t.minNotZero&&(t.min>0?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(_r(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:ae(e.min),max:ae(e.max)},r=t.ticks=oe(i,t);t.max=Dn.max(r),t.min=Dn.min(r),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),lr.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return this._getScaleLabel(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){var e=this.tickValues;return t<0||t>e.length-1?null:this.getPixelForValue(e[t])},_getFirstTickValue:function(t){var e=Math.floor(_r(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},_configure:function(){var t=this,e=t.min,n=0;lr.prototype._configure.call(t),0===e&&(e=t._getFirstTickValue(t.minNotZero),n=br(t.options.ticks.fontSize,vn.global.defaultFontSize)/t._length),t._startValue=_r(e),t._valueOffset=n,t._valueRange=(_r(t.max)-_r(e))/(1-n)},getPixelForValue:function(t){var e=this,n=0;return t=+e.getRightValue(t),t>e.min&&t>0&&(n=(_r(t)-e._startValue)/e._valueRange+e._valueOffset),e.getPixelForDecimal(n)},getValueForPixel:function(t){var e=this,n=e.getDecimalForPixel(t);return 0===n&&0===e.min?0:Math.pow(10,e._startValue+(n-e._valueOffset)*e._valueRange)}}),Cr=xr;wr._defaults=Cr;var kr=Dn.valueOrDefault,Tr=Dn.valueAtIndexOrDefault,Sr=Dn.options.resolve,Dr={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:nr.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}},Ar=gr.extend({setDimensions:function(){var t=this;t.width=t.maxWidth,t.height=t.maxHeight,t.paddingTop=se(t.options)/2,t.xCenter=Math.floor(t.width/2),t.yCenter=Math.floor((t.height-t.paddingTop)/2),t.drawingArea=Math.min(t.height-t.paddingTop,t.width)/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;Dn.each(e.data.datasets,function(r,o){if(e.isDatasetVisible(o)){var a=e.getDatasetMeta(o);Dn.each(r.data,function(e,r){var o=+t.getRightValue(e);isNaN(o)||a.data[r].hidden||(n=Math.min(o,n),i=Math.max(o,i))})}}),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/se(this.options))},convertTicksToLabels:function(){var t=this;gr.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(function(){var e=Dn.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""})},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t=this,e=t.options;e.display&&e.pointLabels.display?ce(t):t.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var i=this,r=e.l/Math.sin(n.l),o=Math.max(e.r-i.width,0)/Math.sin(n.r),a=-e.t/Math.cos(n.t),s=-Math.max(e.b-(i.height-i.paddingTop),0)/Math.cos(n.b);r=ve(r),o=ve(o),a=ve(a),s=ve(s),i.drawingArea=Math.min(Math.floor(t-(r+o)/2),Math.floor(t-(a+s)/2)),i.setCenterPoint(r,o,a,s)},setCenterPoint:function(t,e,n,i){var r=this,o=r.width-e-r.drawingArea,a=t+r.drawingArea,s=n+r.drawingArea,l=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((a+o)/2+r.left),r.yCenter=Math.floor((s+l)/2+r.top+r.paddingTop)},getIndexAngle:function(t){var e=this.chart,n=360/e.data.labels.length,i=e.options||{},r=i.startAngle||0,o=(t*n+r)%360;return(o<0?o+360:o)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(Dn.isNullOrUndef(t))return NaN;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this,i=n.getIndexAngle(t)-Math.PI/2;return{x:Math.cos(i)*e+n.xCenter,y:Math.sin(i)*e+n.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(t){var e=this,n=e.min,i=e.max;return e.getPointPositionForValue(t||0,e.beginAtZero?0:n<0&&i<0?i:n>0&&i>0?n:0)},_drawGrid:function(){var t,e,n,i=this,r=i.ctx,o=i.options,a=o.gridLines,s=o.angleLines,l=kr(s.lineWidth,a.lineWidth),u=kr(s.color,a.color);if(o.pointLabels.display&&pe(i),a.display&&Dn.each(i.ticks,function(t,n){0!==n&&(e=i.getDistanceFromCenterForValue(i.ticksAsNumbers[n]),ge(i,a,e,n))}),s.display&&l&&u){for(r.save(),r.lineWidth=l,r.strokeStyle=u,r.setLineDash&&(r.setLineDash(Sr([s.borderDash,a.borderDash,[]])),r.lineDashOffset=Sr([s.borderDashOffset,a.borderDashOffset,0])),t=i.chart.data.labels.length-1;t>=0;t--)e=i.getDistanceFromCenterForValue(o.ticks.reverse?i.min:i.max),n=i.getPointPosition(t,e),r.beginPath(),r.moveTo(i.xCenter,i.yCenter),r.lineTo(n.x,n.y),r.stroke();r.restore()}},_drawLabels:function(){var t=this,e=t.ctx,n=t.options,i=n.ticks;if(i.display){var r,o,a=t.getIndexAngle(0),s=Dn.options._parseFont(i),l=kr(i.fontColor,vn.global.defaultFontColor);e.save(),e.font=s.string,e.translate(t.xCenter,t.yCenter),e.rotate(a),e.textAlign="center",e.textBaseline="middle",Dn.each(t.ticks,function(n,a){(0!==a||i.reverse)&&(r=t.getDistanceFromCenterForValue(t.ticksAsNumbers[a]),i.showLabelBackdrop&&(o=e.measureText(n).width,e.fillStyle=i.backdropColor,e.fillRect(-o/2-i.backdropPaddingX,-r-s.size/2-i.backdropPaddingY,o+2*i.backdropPaddingX,s.size+2*i.backdropPaddingY)),e.fillStyle=l,e.fillText(n,0,-r))}),e.restore()}},_drawTitle:Dn.noop}),Er=Dr;Ar._defaults=Er;var Mr=Dn._deprecated,Or=Dn.options.resolve,$r=Dn.valueOrDefault,Ir=Number.MIN_SAFE_INTEGER||-9007199254740991,Fr=Number.MAX_SAFE_INTEGER||9007199254740991,Pr={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Nr=Object.keys(Pr),Lr={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}},jr=lr.extend({initialize:function(){this.mergeTicksOptions(),lr.prototype.initialize.call(this)},update:function(){var t=this,e=t.options,n=e.time||(e.time={}),i=t._adapter=new er._date(e.adapters.date);return Mr("time scale",n.format,"time.format","time.parser"),Mr("time scale",n.min,"time.min","ticks.min"),Mr("time scale",n.max,"time.max","ticks.max"),Dn.mergeIf(n.displayFormats,i.formats()),lr.prototype.update.apply(t,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),lr.prototype.getRightValue.call(this,t)},determineDataLimits:function(){var t,e,n,i,r,o,a,s=this,l=s.chart,u=s._adapter,c=s.options,d=c.time.unit||"day",h=Fr,f=Ir,p=[],g=[],v=[],m=s._getLabels();for(t=0,n=m.length;t<n;++t)v.push(Te(s,m[t]));for(t=0,n=(l.data.datasets||[]).length;t<n;++t)if(l.isDatasetVisible(t))if(r=l.data.datasets[t].data,Dn.isObject(r[0]))for(g[t]=[],e=0,i=r.length;e<i;++e)o=Te(s,r[e]),p.push(o),g[t][e]=o;else g[t]=v.slice(0),a||(p=p.concat(v),a=!0);else g[t]=[];v.length&&(h=Math.min(h,v[0]),f=Math.max(f,v[v.length-1])),p.length&&(p=n>1?ye(p).sort(me):p.sort(me),h=Math.min(h,p[0]),f=Math.max(f,p[p.length-1])),h=Te(s,be(c))||h,f=Te(s,_e(c))||f,h=h===Fr?+u.startOf(Date.now(),d):h,
+f=f===Ir?+u.endOf(Date.now(),d)+1:f,s.min=Math.min(h,f),s.max=Math.max(h+1,f),s._table=[],s._timestamps={data:p,datasets:g,labels:v}},buildTicks:function(){var t,e,n,i=this,r=i.min,o=i.max,a=i.options,s=a.ticks,l=a.time,u=i._timestamps,c=[],d=i.getLabelCapacity(r),h=s.source,f=a.distribution;for(u="data"===h||"auto"===h&&"series"===f?u.data:"labels"===h?u.labels:Ee(i,r,o,d),"ticks"===a.bounds&&u.length&&(r=u[0],o=u[u.length-1]),r=Te(i,be(a))||r,o=Te(i,_e(a))||o,t=0,e=u.length;t<e;++t)(n=u[t])>=r&&n<=o&&c.push(n);return i.min=r,i.max=o,i._unit=l.unit||(s.autoSkip?Se(l.minUnit,i.min,i.max,d):De(i,c.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?Ae(i._unit):void 0,i._table=xe(i._timestamps.data,r,o,f),i._offsets=Me(i._table,c,r,o,a),s.reverse&&c.reverse(),$e(i,c,i._majorUnit)},getLabelForIndex:function(t,e){var n=this,i=n._adapter,r=n.chart.data,o=n.options.time,a=r.labels&&t<r.labels.length?r.labels[t]:"",s=r.datasets[e].data[t];return Dn.isObject(s)&&(a=n.getRightValue(s)),o.tooltipFormat?i.format(ke(n,a),o.tooltipFormat):"string"==typeof a?a:i.format(ke(n,a),o.displayFormats.datetime)},tickFormatFunction:function(t,e,n,i){var r=this,o=r._adapter,a=r.options,s=a.time.displayFormats,l=s[r._unit],u=r._majorUnit,c=s[u],d=n[e],h=a.ticks,f=u&&c&&d&&d.major,p=o.format(t,i||(f?c:l)),g=f?h.major:h.minor,v=Or([g.callback,g.userCallback,h.callback,h.userCallback]);return v?v(p,e,n):p},convertTicksToLabels:function(t){var e,n,i=[];for(e=0,n=t.length;e<n;++e)i.push(this.tickFormatFunction(t[e].value,e,t));return i},getPixelForOffset:function(t){var e=this,n=e._offsets,i=Ce(e._table,"time",t,"pos");return e.getPixelForDecimal((n.start+i)*n.factor)},getPixelForValue:function(t,e,n){var i=this,r=null;if(void 0!==e&&void 0!==n&&(r=i._timestamps.datasets[n][e]),null===r&&(r=Te(i,t)),null!==r)return i.getPixelForOffset(r)},getPixelForTick:function(t){var e=this.getTicks();return t>=0&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,n=e._offsets,i=e.getDecimalForPixel(t)/n.factor-n.end,r=Ce(e._table,"pos",i,"time");return e._adapter._create(r)},_getLabelSize:function(t){var e=this,n=e.options.ticks,i=e.ctx.measureText(t).width,r=Dn.toRadians(e.isHorizontal()?n.maxRotation:n.minRotation),o=Math.cos(r),a=Math.sin(r),s=$r(n.fontSize,vn.global.defaultFontSize);return{w:i*o+s*a,h:i*a+s*o}},getLabelWidth:function(t){return this._getLabelSize(t).w},getLabelCapacity:function(t){var e=this,n=e.options.time,i=n.displayFormats,r=i[n.unit]||i.millisecond,o=e.tickFormatFunction(t,0,$e(e,[t],e._majorUnit),r),a=e._getLabelSize(o),s=Math.floor(e.isHorizontal()?e.width/a.w:e.height/a.h);return e.options.offset&&s--,s>0?s:1}}),Rr=Lr;jr._defaults=Rr;var Ur={category:dr,linear:mr,logarithmic:wr,radialLinear:Ar,time:jr},Br={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};er._date.override("function"==typeof t?{_id:"moment",formats:function(){return Br},parse:function(e,n){return"string"==typeof e&&"string"==typeof n?e=t(e,n):e instanceof t||(e=t(e)),e.isValid()?e.valueOf():null},format:function(e,n){return t(e).format(n)},add:function(e,n,i){return t(e).add(n,i).valueOf()},diff:function(e,n,i){return t(e).diff(t(n),i)},startOf:function(e,n,i){return e=t(e),"isoWeek"===n?e.isoWeekday(i).valueOf():e.startOf(n).valueOf()},endOf:function(e,n){return t(e).endOf(n).valueOf()},_create:function(e){return t(e)}}:{}),vn._set("global",{plugins:{filler:{propagate:!0}}});var zr={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),r=i&&n.isDatasetVisible(e),o=r&&i.dataset._children||[],a=o.length||0;return a?function(t,e){return e<a&&o[e]._view||null}:null},boundary:function(t){var e=t.boundary,n=e?e.x:null,i=e?e.y:null;return Dn.isArray(e)?function(t,n){return e[n]}:function(t){return{x:null===n?t.x:n,y:null===i?t.y:i}}}},Hr={id:"filler",afterDatasetsUpdate:function(t,e){var n,i,r,o,a=(t.data.datasets||[]).length,s=e.propagate,l=[];for(i=0;i<a;++i)n=t.getDatasetMeta(i),r=n.dataset,o=null,r&&r._model&&r instanceof Qn.Line&&(o={visible:t.isDatasetVisible(i),fill:Ie(r,i,a),chart:t,el:r}),n.$filler=o,l.push(o);for(i=0;i<a;++i)(o=l[i])&&(o.fill=Le(l,i,s),o.boundary=Ne(o),o.mapper=je(o))},beforeDatasetsDraw:function(t){var e,n,i,r,o,a,s,l=t._getSortedVisibleDatasetMetas(),u=t.ctx;for(n=l.length-1;n>=0;--n)(e=l[n].$filler)&&e.visible&&(i=e.el,r=i._view,o=i._children||[],a=e.mapper,s=r.backgroundColor||vn.global.defaultColor,a&&s&&o.length&&(Dn.canvas.clipArea(u,t.chartArea),Be(u,o,a,r,s,i._loop),Dn.canvas.unclipArea(u)))}},Wr=Dn.rtl.getRtlAdapter,Vr=Dn.noop,qr=Dn.valueOrDefault;vn._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data.datasets,n=t.options.legend||{},i=n.labels&&n.labels.usePointStyle;return t._getSortedDatasetMetas().map(function(n){var r=n.controller.getStyle(i?0:void 0);return{text:e[n.index].label,fillStyle:r.backgroundColor,hidden:!t.isDatasetVisible(n.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:n.index}},this)}}},legendCallback:function(t){var e,n,i,r,o=document.createElement("ul"),a=t.data.datasets;for(o.setAttribute("class",t.id+"-legend"),e=0,n=a.length;e<n;e++)i=o.appendChild(document.createElement("li")),r=i.appendChild(document.createElement("span")),r.style.backgroundColor=a[e].backgroundColor,a[e].label&&i.appendChild(document.createTextNode(a[e].label));return o.outerHTML}});var Yr=Fn.extend({initialize:function(t){var e=this;Dn.extend(e,t),e.legendHitBoxes=[],e._hoveredItem=null,e.doughnutMode=!1},beforeUpdate:Vr,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.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||{},n=Dn.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter(function(n){return e.filter(n,t.chart.data)})),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:Vr,beforeFit:Vr,fit:function(){var t=this,e=t.options,n=e.labels,i=e.display,r=t.ctx,o=Dn.options._parseFont(n),a=o.size,s=t.legendHitBoxes=[],l=t.minSize,u=t.isHorizontal();if(u?(l.width=t.maxWidth,l.height=i?10:0):(l.width=i?10:0,l.height=t.maxHeight),!i)return void(t.width=l.width=t.height=l.height=0);if(r.font=o.string,u){var c=t.lineWidths=[0],d=0;r.textAlign="left",r.textBaseline="middle",Dn.each(t.legendItems,function(t,e){var i=ze(n,a),o=i+a/2+r.measureText(t.text).width;(0===e||c[c.length-1]+o+2*n.padding>l.width)&&(d+=a+n.padding,c[c.length-(e>0?0:1)]=0),s[e]={left:0,top:0,width:o,height:a},c[c.length-1]+=o+n.padding}),l.height+=d}else{var h=n.padding,f=t.columnWidths=[],p=t.columnHeights=[],g=n.padding,v=0,m=0;Dn.each(t.legendItems,function(t,e){var i=ze(n,a),o=i+a/2+r.measureText(t.text).width;e>0&&m+a+2*h>l.height&&(g+=v+n.padding,f.push(v),p.push(m),v=0,m=0),v=Math.max(v,o),m+=a+h,s[e]={left:0,top:0,width:o,height:a}}),g+=v,f.push(v),p.push(m),l.width+=g}t.width=l.width,t.height=l.height},afterFit:Vr,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,i=vn.global,r=i.defaultColor,o=i.elements.line,a=t.height,s=t.columnHeights,l=t.width,u=t.lineWidths;if(e.display){var c,d=Wr(e.rtl,t.left,t.minSize.width),h=t.ctx,f=qr(n.fontColor,i.defaultFontColor),p=Dn.options._parseFont(n),g=p.size;h.textAlign=d.textAlign("left"),h.textBaseline="middle",h.lineWidth=.5,h.strokeStyle=f,h.fillStyle=f,h.font=p.string;var v=ze(n,g),m=t.legendHitBoxes,y=function(t,e,i){if(!(isNaN(v)||v<=0)){h.save();var a=qr(i.lineWidth,o.borderWidth);if(h.fillStyle=qr(i.fillStyle,r),h.lineCap=qr(i.lineCap,o.borderCapStyle),h.lineDashOffset=qr(i.lineDashOffset,o.borderDashOffset),h.lineJoin=qr(i.lineJoin,o.borderJoinStyle),h.lineWidth=a,h.strokeStyle=qr(i.strokeStyle,r),h.setLineDash&&h.setLineDash(qr(i.lineDash,o.borderDash)),n&&n.usePointStyle){var s=v*Math.SQRT2/2,l=d.xPlus(t,v/2),u=e+g/2;Dn.canvas.drawPoint(h,i.pointStyle,s,l,u,i.rotation)}else h.fillRect(d.leftForLtr(t,v),e,v,g),0!==a&&h.strokeRect(d.leftForLtr(t,v),e,v,g);h.restore()}},b=function(t,e,n,i){var r=g/2,o=d.xPlus(t,v+r),a=e+r;h.fillText(n.text,o,a),n.hidden&&(h.beginPath(),h.lineWidth=2,h.moveTo(o,a),h.lineTo(d.xPlus(o,i),a),h.stroke())},_=function(t,i){switch(e.align){case"start":return n.padding;case"end":return t-i;default:return(t-i+n.padding)/2}},x=t.isHorizontal();c=x?{x:t.left+_(l,u[0]),y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+_(a,s[0]),line:0},Dn.rtl.overrideTextDirection(t.ctx,e.textDirection);var w=g+n.padding;Dn.each(t.legendItems,function(e,i){var r=h.measureText(e.text).width,o=v+g/2+r,f=c.x,p=c.y;d.setWidth(t.minSize.width),x?i>0&&f+o+n.padding>t.left+t.minSize.width&&(p=c.y+=w,c.line++,f=c.x=t.left+_(l,u[c.line])):i>0&&p+w>t.top+t.minSize.height&&(f=c.x=f+t.columnWidths[c.line]+n.padding,c.line++,p=c.y=t.top+_(a,s[c.line]));var C=d.x(f);y(C,p,e),m[i].left=d.leftForLtr(C,m[i].width),m[i].top=p,b(C,p,e,r),x?c.x+=o+n.padding:c.y+=w}),Dn.rtl.restoreTextDirection(t.ctx,e.textDirection)}},_getLegendItemAt:function(t,e){var n,i,r,o=this;if(t>=o.left&&t<=o.right&&e>=o.top&&e<=o.bottom)for(r=o.legendHitBoxes,n=0;n<r.length;++n)if(i=r[n],t>=i.left&&t<=i.left+i.width&&e>=i.top&&e<=i.top+i.height)return o.legendItems[n];return null},handleEvent:function(t){var e,n=this,i=n.options,r="mouseup"===t.type?"click":t.type;if("mousemove"===r){if(!i.onHover&&!i.onLeave)return}else{if("click"!==r)return;if(!i.onClick)return}e=n._getLegendItemAt(t.x,t.y),"click"===r?e&&i.onClick&&i.onClick.call(n,t.native,e):(i.onLeave&&e!==n._hoveredItem&&(n._hoveredItem&&i.onLeave.call(n,t.native,n._hoveredItem),n._hoveredItem=e),i.onHover&&e&&i.onHover.call(n,t.native,e))}}),Xr={id:"legend",_element:Yr,beforeInit:function(t){var e=t.options.legend;e&&He(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(Dn.mergeIf(e,vn.global.legend),n?(Ai.configure(t,n,e),n.options=e):He(t,e)):n&&(Ai.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}},Gr=Dn.noop;vn._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Kr=Fn.extend({initialize:function(t){var e=this;Dn.extend(e,t),e.legendHitBoxes=[]},beforeUpdate:Gr,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:Gr,beforeSetDimensions:Gr,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:Gr,beforeBuildLabels:Gr,buildLabels:Gr,afterBuildLabels:Gr,beforeFit:Gr,fit:function(){var t,e,n=this,i=n.options,r=n.minSize={},o=n.isHorizontal();if(!i.display)return void(n.width=r.width=n.height=r.height=0);t=Dn.isArray(i.text)?i.text.length:1,e=t*Dn.options._parseFont(i).lineHeight+2*i.padding,n.width=r.width=o?n.maxWidth:e,n.height=r.height=o?e:n.maxHeight},afterFit:Gr,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this,e=t.ctx,n=t.options;if(n.display){var i,r,o,a=Dn.options._parseFont(n),s=a.lineHeight,l=s/2+n.padding,u=0,c=t.top,d=t.left,h=t.bottom,f=t.right;e.fillStyle=Dn.valueOrDefault(n.fontColor,vn.global.defaultFontColor),e.font=a.string,t.isHorizontal()?(r=d+(f-d)/2,o=c+l,i=f-d):(r="left"===n.position?d+l:f-l,o=c+(h-c)/2,i=h-c,u=Math.PI*("left"===n.position?-.5:.5)),e.save(),e.translate(r,o),e.rotate(u),e.textAlign="center",e.textBaseline="middle";var p=n.text;if(Dn.isArray(p))for(var g=0,v=0;v<p.length;++v)e.fillText(p[v],0,g,i),g+=s;else e.fillText(p,0,0,i);e.restore()}}}),Zr={id:"title",_element:Kr,beforeInit:function(t){var e=t.options.title;e&&We(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(Dn.mergeIf(e,vn.global.title),n?(Ai.configure(t,n,e),n.options=e):We(t,e)):n&&(Ai.removeBox(t,n),delete t.titleBlock)}},Qr={},Jr=Hr,to=Xr,eo=Zr;Qr.filler=Jr,Qr.legend=to,Qr.title=eo,Ji.helpers=Dn,function(){function t(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function e(t){return void 0!==t&&null!==t&&"none"!==t}function n(n,i,r){var o=document.defaultView,a=Dn._getParentNode(n),s=o.getComputedStyle(n)[i],l=o.getComputedStyle(a)[i],u=e(s),c=e(l),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?t(s,n,r):d,c?t(l,a,r):d):"none"}Dn.where=function(t,e){if(Dn.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return Dn.each(t,function(t){e(t)&&n.push(t)}),n},Dn.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,r=t.length;i<r;++i)if(e.call(n,t[i],i,t))return i;return-1},Dn.findNextWhere=function(t,e,n){Dn.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<t.length;i++){var r=t[i];if(e(r))return r}},Dn.findPreviousWhere=function(t,e,n){Dn.isNullOrUndef(n)&&(n=t.length);for(var i=n-1;i>=0;i--){var r=t[i];if(e(r))return r}},Dn.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},Dn.almostEquals=function(t,e,n){return Math.abs(t-e)<n},Dn.almostWhole=function(t,e){var n=Math.round(t);return n-e<=t&&n+e>=t},Dn.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},Dn.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},Dn.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return t=+t,0===t||isNaN(t)?t:t>0?1:-1},Dn.toRadians=function(t){return t*(Math.PI/180)},Dn.toDegrees=function(t){return t*(180/Math.PI)},Dn._decimalPlaces=function(t){if(Dn.isFinite(t)){for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n}},Dn.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i),o=Math.atan2(i,n);return o<-.5*Math.PI&&(o+=2*Math.PI),{angle:o,distance:r}},Dn.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},Dn.aliasPixel=function(t){return t%2==0?0:.5},Dn._alignPixel=function(t,e,n){var i=t.currentDevicePixelRatio,r=n/2;return Math.round((e-r)*i)/i+r},Dn.splineCurve=function(t,e,n,i){var r=t.skip?e:t,o=e,a=n.skip?e:n,s=Math.sqrt(Math.pow(o.x-r.x,2)+Math.pow(o.y-r.y,2)),l=Math.sqrt(Math.pow(a.x-o.x,2)+Math.pow(a.y-o.y,2)),u=s/(s+l),c=l/(s+l);u=isNaN(u)?0:u,c=isNaN(c)?0:c;var d=i*u,h=i*c;return{previous:{x:o.x-d*(a.x-r.x),y:o.y-d*(a.y-r.y)},next:{x:o.x+h*(a.x-r.x),y:o.y+h*(a.y-r.y)}}},Dn.EPSILON=Number.EPSILON||1e-14,Dn.splineCurveMonotone=function(t){var e,n,i,r,o=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),a=o.length;for(e=0;e<a;++e)if(i=o[e],!i.model.skip){if(n=e>0?o[e-1]:null,(r=e<a-1?o[e+1]:null)&&!r.model.skip){var s=r.model.x-i.model.x;i.deltaK=0!==s?(r.model.y-i.model.y)/s:0}!n||n.model.skip?i.mK=i.deltaK:!r||r.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}var l,u,c,d;for(e=0;e<a-1;++e)i=o[e],r=o[e+1],i.model.skip||r.model.skip||(Dn.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=r.mK=0:(l=i.mK/i.deltaK,u=r.mK/i.deltaK,(d=Math.pow(l,2)+Math.pow(u,2))<=9||(c=3/Math.sqrt(d),i.mK=l*c*i.deltaK,r.mK=u*c*i.deltaK)));var h;for(e=0;e<a;++e)i=o[e],i.model.skip||(n=e>0?o[e-1]:null,r=e<a-1?o[e+1]:null,n&&!n.model.skip&&(h=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-h,i.model.controlPointPreviousY=i.model.y-h*i.mK),r&&!r.model.skip&&(h=(r.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+h,i.model.controlPointNextY=i.model.y+h*i.mK))},Dn.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},Dn.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},Dn.niceNum=function(t,e){var n=Math.floor(Dn.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},Dn.requestAnimFrame=function(){return"undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)}}(),Dn.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,o=t.target||t.srcElement,a=o.getBoundingClientRect(),s=r.touches;s&&s.length>0?(n=s[0].clientX,i=s[0].clientY):(n=r.clientX,i=r.clientY);var l=parseFloat(Dn.getStyle(o,"padding-left")),u=parseFloat(Dn.getStyle(o,"padding-top")),c=parseFloat(Dn.getStyle(o,"padding-right")),d=parseFloat(Dn.getStyle(o,"padding-bottom")),h=a.right-a.left-l-c,f=a.bottom-a.top-u-d;return n=Math.round((n-a.left-l)/h*o.width/e.currentDevicePixelRatio),i=Math.round((i-a.top-u)/f*o.height/e.currentDevicePixelRatio),{x:n,y:i}},Dn.getConstraintWidth=function(t){return n(t,"max-width","clientWidth")},Dn.getConstraintHeight=function(t){return n(t,"max-height","clientHeight")},Dn._calculatePadding=function(t,e,n){return e=Dn.getStyle(t,e),e.indexOf("%")>-1?n*parseInt(e,10)/100:parseInt(e,10)},Dn._getParentNode=function(t){var e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e},Dn.getMaximumWidth=function(t){var e=Dn._getParentNode(t);if(!e)return t.clientWidth;var n=e.clientWidth,i=Dn._calculatePadding(e,"padding-left",n),r=Dn._calculatePadding(e,"padding-right",n),o=n-i-r,a=Dn.getConstraintWidth(t);return isNaN(a)?o:Math.min(o,a)},Dn.getMaximumHeight=function(t){var e=Dn._getParentNode(t);if(!e)return t.clientHeight;var n=e.clientHeight,i=Dn._calculatePadding(e,"padding-top",n),r=Dn._calculatePadding(e,"padding-bottom",n),o=n-i-r,a=Dn.getConstraintHeight(t);return isNaN(a)?o:Math.min(o,a)},Dn.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},Dn.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=t.canvas,r=t.height,o=t.width;i.height=r*n,i.width=o*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=o+"px")}},Dn.fontString=function(t,e,n){return e+" "+t+"px "+n},Dn.longestText=function(t,e,n,i){i=i||{};var r=i.data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},o=i.garbageCollect=[],i.font=e),t.font=e;var a,s,l,u,c,d=0,h=n.length;for(a=0;a<h;a++)if(void 0!==(u=n[a])&&null!==u&&!0!==Dn.isArray(u))d=Dn.measureText(t,r,o,d,u);else if(Dn.isArray(u))for(s=0,l=u.length;s<l;s++)void 0===(c=u[s])||null===c||Dn.isArray(c)||(d=Dn.measureText(t,r,o,d,c));var f=o.length/2;if(f>n.length){for(a=0;a<f;a++)delete r[o[a]];o.splice(0,f)}return d},Dn.measureText=function(t,e,n,i,r){var o=e[r];return o||(o=e[r]=t.measureText(r).width,n.push(r)),o>i&&(i=o),i},Dn.numberOfLabelLines=function(t){var e=1;return Dn.each(t,function(t){Dn.isArray(t)&&t.length>e&&(e=t.length)}),e},Dn.color=en?function(t){return t instanceof CanvasGradient&&(t=vn.global.defaultColor),en(t)}:function(t){return console.error("Color.js not found!"),t},Dn.getHoverColor=function(t){return t instanceof CanvasPattern||t instanceof CanvasGradient?t:Dn.color(t).saturate(.5).darken(.1).rgbString()}}(),Ji._adapters=er,Ji.Animation=Nn,Ji.animationService=Ln,Ji.controllers=Ti,Ji.DatasetController=Bn,Ji.defaults=vn,Ji.Element=Fn,Ji.elements=Qn,Ji.Interaction=Si,Ji.layouts=Ai,Ji.platform=zi,Ji.plugins=Hi,Ji.Scale=lr,Ji.scaleService=Wi,Ji.Ticks=nr,Ji.Tooltip=Ki,Ji.helpers.each(Ur,function(t,e){Ji.scaleService.registerScaleType(e,t,t._defaults)});for(var no in Qr)Qr.hasOwnProperty(no)&&Ji.plugins.register(Qr[no]);Ji.platform.initialize();var io=Ji;return"undefined"!=typeof window&&(window.Chart=Ji),Ji.Chart=Ji,Ji.Legend=Qr.legend._element,Ji.Title=Qr.title._element,Ji.pluginService=Ji.plugins,Ji.PluginBase=Ji.Element.extend({}),Ji.canvasHelpers=Ji.helpers.canvas,Ji.layoutService=Ji.layouts,Ji.LinearScaleBase=gr,Ji.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(t){Ji[t]=function(e,n){return new Ji(e,Ji.helpers.merge(n||{},{type:t.charAt(0).toLowerCase()+t.slice(1)}))}}),io}),function(t,e){"function"==typeof define&&define.amd?define([],function(){return t.SignaturePad=e()}):"object"==typeof exports?module.exports=e():t.SignaturePad=e()}(this,function(){return function(t){"use strict";var e=function(t,e){var n=this,i=e||{};this.velocityFilterWeight=i.velocityFilterWeight||.7,this.minWidth=i.minWidth||.5,this.maxWidth=i.maxWidth||2.5,this.dotSize=i.dotSize||function(){return(this.minWidth+this.maxWidth)/2},this.penColor=i.penColor||"black",this.backgroundColor=i.backgroundColor||"rgba(0,0,0,0)",this.onEnd=i.onEnd,this.onBegin=i.onBegin,this._canvas=t,this._ctx=t.getContext("2d"),this.clear(),this._handleMouseDown=function(t){1===t.which&&(n._mouseButtonDown=!0,n._strokeBegin(t))},this._handleMouseMove=function(t){n._mouseButtonDown&&n._strokeUpdate(t)},this._handleMouseUp=function(t){1===t.which&&n._mouseButtonDown&&(n._mouseButtonDown=!1,n._strokeEnd(t))},this._handleTouchStart=function(t){if(1==t.targetTouches.length){var e=t.changedTouches[0];n._strokeBegin(e)}},this._handleTouchMove=function(t){t.preventDefault();var e=t.targetTouches[0];n._strokeUpdate(e)},this._handleTouchEnd=function(t){t.target===n._canvas&&(t.preventDefault(),n._strokeEnd(t))},this._handleMouseEvents(),this._handleTouchEvents()};e.prototype.clear=function(){var t=this._ctx,e=this._canvas;t.fillStyle=this.backgroundColor,t.clearRect(0,0,e.width,e.height),t.fillRect(0,0,e.width,e.height),this._reset()},e.prototype.toDataURL=function(t,e){var n=this._canvas;return n.toDataURL.apply(n,arguments)},e.prototype.fromDataURL=function(t){var e=this,n=new Image,i=window.devicePixelRatio||1,r=this._canvas.width/i,o=this._canvas.height/i;this._reset(),n.src=t,n.onload=function(){e._ctx.drawImage(n,0,0,r,o)},this._isEmpty=!1},e.prototype._strokeUpdate=function(t){var e=this._createPoint(t);this._addPoint(e)},e.prototype._strokeBegin=function(t){this._reset(),this._strokeUpdate(t),"function"==typeof this.onBegin&&this.onBegin(t)},e.prototype._strokeDraw=function(t){var e=this._ctx,n="function"==typeof this.dotSize?this.dotSize():this.dotSize;e.beginPath(),this._drawPoint(t.x,t.y,n),e.closePath(),e.fill()},e.prototype._strokeEnd=function(t){var e=this.points.length>2,n=this.points[0];!e&&n&&this._strokeDraw(n),"function"==typeof this.onEnd&&this.onEnd(t)},e.prototype._handleMouseEvents=function(){this._mouseButtonDown=!1,this._canvas.addEventListener("mousedown",this._handleMouseDown),this._canvas.addEventListener("mousemove",this._handleMouseMove),t.addEventListener("mouseup",this._handleMouseUp)},e.prototype._handleTouchEvents=function(){this._canvas.style.msTouchAction="none",this._canvas.style.touchAction="none",this._canvas.addEventListener("touchstart",this._handleTouchStart),this._canvas.addEventListener("touchmove",this._handleTouchMove),this._canvas.addEventListener("touchend",this._handleTouchEnd)},e.prototype.on=function(){this._handleMouseEvents(),this._handleTouchEvents()},e.prototype.off=function(){this._canvas.removeEventListener("mousedown",this._handleMouseDown),this._canvas.removeEventListener("mousemove",this._handleMouseMove),t.removeEventListener("mouseup",this._handleMouseUp),this._canvas.removeEventListener("touchstart",this._handleTouchStart),this._canvas.removeEventListener("touchmove",this._handleTouchMove),this._canvas.removeEventListener("touchend",this._handleTouchEnd)},e.prototype.isEmpty=function(){return this._isEmpty},e.prototype._reset=function(){this.points=[],this._lastVelocity=0,this._lastWidth=(this.minWidth+this.maxWidth)/2,this._isEmpty=!0,this._ctx.fillStyle=this.penColor},e.prototype._createPoint=function(t){var e=this._canvas.getBoundingClientRect();return new n(t.clientX-e.left,t.clientY-e.top)},e.prototype._addPoint=function(t){var e,n,r,o,a=this.points;a.push(t),a.length>2&&(3===a.length&&a.unshift(a[0]),o=this._calculateCurveControlPoints(a[0],a[1],a[2]),e=o.c2,o=this._calculateCurveControlPoints(a[1],a[2],a[3]),n=o.c1,r=new i(a[1],e,n,a[2]),this._addCurve(r),a.shift())},e.prototype._calculateCurveControlPoints=function(t,e,i){var r=t.x-e.x,o=t.y-e.y,a=e.x-i.x,s=e.y-i.y,l={x:(t.x+e.x)/2,y:(t.y+e.y)/2},u={x:(e.x+i.x)/2,y:(e.y+i.y)/2},c=Math.sqrt(r*r+o*o),d=Math.sqrt(a*a+s*s),h=l.x-u.x,f=l.y-u.y,p=d/(c+d),g={x:u.x+h*p,y:u.y+f*p},v=e.x-g.x,m=e.y-g.y;return{c1:new n(l.x+v,l.y+m),c2:new n(u.x+v,u.y+m)}},e.prototype._addCurve=function(t){var e,n,i=t.startPoint,r=t.endPoint;e=r.velocityFrom(i),e=this.velocityFilterWeight*e+(1-this.velocityFilterWeight)*this._lastVelocity,n=this._strokeWidth(e),this._drawCurve(t,this._lastWidth,n),this._lastVelocity=e,this._lastWidth=n},e.prototype._drawPoint=function(t,e,n){var i=this._ctx;i.moveTo(t,e),i.arc(t,e,n,0,2*Math.PI,!1),this._isEmpty=!1},e.prototype._drawCurve=function(t,e,n){var i,r,o,a,s,l,u,c,d,h,f,p=this._ctx,g=n-e;for(i=Math.floor(t.length()),p.beginPath(),o=0;o<i;o++)a=o/i,s=a*a,l=s*a,u=1-a,c=u*u,d=c*u,h=d*t.startPoint.x,h+=3*c*a*t.control1.x,h+=3*u*s*t.control2.x,h+=l*t.endPoint.x,f=d*t.startPoint.y,f+=3*c*a*t.control1.y,f+=3*u*s*t.control2.y,f+=l*t.endPoint.y,r=e+l*g,this._drawPoint(h,f,r);p.closePath(),p.fill()},e.prototype._strokeWidth=function(t){return Math.max(this.maxWidth/(t+1),this.minWidth)};var n=function(t,e,n){this.x=t,this.y=e,this.time=n||(new Date).getTime()};n.prototype.velocityFrom=function(t){return this.time!==t.time?this.distanceTo(t)/(this.time-t.time):1},n.prototype.distanceTo=function(t){return Math.sqrt(Math.pow(this.x-t.x,2)+Math.pow(this.y-t.y,2))};var i=function(t,e,n,i){this.startPoint=t,this.control1=e,this.control2=n,this.endPoint=i};return i.prototype.length=function(){var t,e,n,i,r,o,a,s,l=0;for(t=0;t<=10;t++)e=t/10,n=this._point(e,this.startPoint.x,this.control1.x,this.control2.x,this.endPoint.x),i=this._point(e,this.startPoint.y,this.control1.y,this.control2.y,this.endPoint.y),t>0&&(a=n-r,s=i-o,l+=Math.sqrt(a*a+s*s)),r=n,o=i;return l},i.prototype._point=function(t,e,n,i,r){return e*(1-t)*(1-t)*(1-t)+3*n*(1-t)*(1-t)*t+3*i*(1-t)*t*t+r*t*t*t},e}(document)}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(t.jQuery)}(this,function(t){!function(t,e,n){function i(t,e){this.$form=t,this.$input=e,this.reset(),e.on("change paste",this.reset.bind(this))}var r=function(){return!1},o=null,a={numHalted:0,haltValidation:function(e){this.numHalted++,t.formUtils.haltValidation=!0,e.unbind("submit",r).bind("submit",r).find('*[type="submit"]').addClass("disabled").attr("disabled","disabled")},unHaltValidation:function(e){0===--this.numHalted&&(t.formUtils.haltValidation=!1,e.unbind("submit",r).find('*[type="submit"]').removeClass("disabled").removeAttr("disabled","disabled"))}};i.prototype.reset=function(){this.haltedFormValidation=!1,this.hasRun=!1,this.isRunning=!1,this.result=void 0},i.prototype.run=function(t,e){return"keyup"===t?null:this.isRunning?(o=t,this.haltedFormValidation||(a.haltValidation(),this.haltedFormValidation=!0),null):this.hasRun?this.result:(o=t,a.haltValidation(this.$form),this.haltedFormValidation=!0,this.isRunning=!0,this.$input.attr("disabled","disabled").addClass("async-validation"),this.$form.addClass("async-validation"),e(function(t){this.done(t)}.bind(this)),null)},i.prototype.done=function(t){this.result=t,this.hasRun=!0,this.isRunning=!1,this.$input.removeAttr("disabled").removeClass("async-validation"),this.$form.removeClass("async-validation"),this.haltedFormValidation&&(a.unHaltValidation(this.$form),"submit"===o?this.$form.trigger("submit"):this.$input.trigger("validation.revalidate"))},i.loadInstance=function(t,e,n){var r,o=e.get(0);return o.asyncValidators||(o.asyncValidators={}),o.asyncValidators[t]?r=o.asyncValidators[t]:(r=new i(n,e),o.asyncValidators[t]=r),r},t.formUtils=t.extend(t.formUtils||{},{asyncValidation:function(t,e,n){return this.warn("Use of deprecated function $.formUtils.asyncValidation, use $.formUtils.addAsyncValidator() instead"),i.loadInstance(t,e,n)},addAsyncValidator:function(e){var n=t.extend({},e),r=n.validatorFunction;n.async=!0,n.validatorFunction=function(t,e,o,a,s,l){return i.loadInstance(this.name,e,s).run(l,function(i){r.apply(n,[i,t,e,o,a,s,l])})},this.addValidator(n)}}),t(e).bind("validatorsLoaded formValidationSetup",function(e,n){n||(n=t("form")),n.find("[data-validation]").each(function(){var e=t(this);e.valAttr("async",!1),t.each(t.split(e.attr("data-validation")),function(n,i){var r=t.formUtils.validators["validate_"+i];r&&r.async&&e.valAttr("async","yes")})})})}(t,window),function(t,e){"use strict";function n(e){e&&"custom"===e.errorMessagePosition&&"function"==typeof e.errorMessageCustom&&(t.formUtils.warn("Use of deprecated function errorMessageCustom, use config.submitErrorMessageCallback instead"),e.submitErrorMessageCallback=function(t,n){e.errorMessageCustom(t,e.language.errorTitle,n,e)})}function i(e){if(e.errorMessagePosition&&"object"==typeof e.errorMessagePosition){t.formUtils.warn("Deprecated use of config parameter errorMessagePosition, use config.submitErrorMessageCallback instead");var n=e.errorMessagePosition;e.errorMessagePosition="top",e.submitErrorMessageCallback=function(){return n}}}function r(e){var n=e.find("[data-validation-if-checked]");n.length&&t.formUtils.warn('Detected use of attribute "data-validation-if-checked" which is deprecated. Use "data-validation-depends-on" provided by module "logic"'),n.on("beforeValidation",function(){var n=t(this),i=n.valAttr("if-checked"),r=t('input[name="'+i+'"]',e),o=r.is(":checked"),a=(t.formUtils.getValue(r)||"").toString(),s=n.valAttr("if-checked-value");(!o||s&&s!==a)&&n.valAttr("skipped",!0)})}function o(e){var n={se:"sv",cz:"cs",dk:"da"};if(e.lang in n){var i=n[e.lang];t.formUtils.warn('Deprecated use of lang code "'+e.lang+'" use "'+i+'" instead'),e.lang=i}}t.fn.validateForm=function(e,n){return t.formUtils.warn("Use of deprecated function $.validateForm, use $.isValid instead"),this.isValid(e,n,!0)},t(window).on("formValidationPluginInit",function(t,e){o(e),n(e),i(e)}).on("validatorsLoaded formValidationSetup",function(e,n){n||(n=t("form")),r(n)})}(t),function(t){"use strict";var e={resolveErrorMessage:function(t,e,n,i,r){var o=i.validationErrorMsgAttribute+"-"+n.replace("validate_",""),a=t.attr(o);return a||(a=t.attr(i.validationErrorMsgAttribute))||(a="function"!=typeof e.errorMessageKey?r[e.errorMessageKey]:r[e.errorMessageKey(i)])||(a=e.errorMessage),a},getParentContainer:function(e){if(e.valAttr("error-msg-container"))return t(e.valAttr("error-msg-container"));var n=e.parent();return"checkbox"===e.attr("type")&&e.closest(".checkbox").length?n=e.closest(".checkbox").parent():"radio"===e.attr("type")&&e.closest(".radio").length&&(n=e.closest(".radio").parent()),
+n.closest(".input-group").length&&(n=n.closest(".input-group").parent()),n},applyInputErrorStyling:function(t,e){t.addClass(e.errorElementClass).removeClass(e.successElementClass),this.getParentContainer(t).addClass(e.inputParentClassOnError).removeClass(e.inputParentClassOnSuccess),""!==e.borderColorOnError&&t.css("border-color",e.borderColorOnError)},applyInputSuccessStyling:function(t,e){t.addClass(e.successElementClass),this.getParentContainer(t).addClass(e.inputParentClassOnSuccess)},removeInputStylingAndMessage:function(t,n){t.removeClass(n.successElementClass).removeClass(n.errorElementClass).css("border-color","");var i=e.getParentContainer(t);if(i.removeClass(n.inputParentClassOnError).removeClass(n.inputParentClassOnSuccess),"function"==typeof n.inlineErrorMessageCallback){var r=n.inlineErrorMessageCallback(t,!1,n);r&&r.html("")}else i.find("."+n.errorMessageClass).remove()},removeAllMessagesAndStyling:function(n,i){if("function"==typeof i.submitErrorMessageCallback){var r=i.submitErrorMessageCallback(n,!1,i);r&&r.html("")}else n.find("."+i.errorMessageClass+".alert").remove();n.find("."+i.errorElementClass+",."+i.successElementClass).each(function(){e.removeInputStylingAndMessage(t(this),i)})},setInlineMessage:function(e,n,i){this.applyInputErrorStyling(e,i);var r,o=document.getElementById(e.attr("name")+"_err_msg"),a=!1,s=function(i){t.formUtils.$win.trigger("validationErrorDisplay",[e,i]),i.html(n)},l=function(){var o=!1;a.find("."+i.errorMessageClass).each(function(){if(this.inputReferer===e[0])return o=t(this),!1}),o?n?s(o):o.remove():""!==n&&(r=t('<div class="'+i.errorMessageClass+' alert"></div>'),s(r),r[0].inputReferer=e[0],a.prepend(r))};if(o)t.formUtils.warn("Using deprecated element reference "+o.id),a=t(o),l();else if("function"==typeof i.inlineErrorMessageCallback){if(!(a=i.inlineErrorMessageCallback(e,n,i)))return;l()}else{var u=this.getParentContainer(e);r=u.find("."+i.errorMessageClass+".help-block"),0===r.length&&(r=t("<span></span>").addClass("help-block").addClass(i.errorMessageClass),r.appendTo(u)),s(r)}},setMessageInTopOfForm:function(e,n,i,r){var o='<div class="{errorMessageClass} alert alert-danger"><strong>{errorTitle}</strong><ul>{fields}</ul></div>',a=!1;if("function"!=typeof i.submitErrorMessageCallback||(a=i.submitErrorMessageCallback(e,n,i))){var s={errorTitle:r.errorTitle,fields:"",errorMessageClass:i.errorMessageClass};t.each(n,function(t,e){s.fields+="<li>"+e+"</li>"}),t.each(s,function(t,e){o=o.replace("{"+t+"}",e)}),a?a.html(o):e.children().eq(0).before(t(o))}}};t.formUtils=t.extend(t.formUtils||{},{dialogs:e})}(t),function(t,e,n){"use strict";var i=0;t.fn.validateOnBlur=function(e,n){var i=this,r=this.find("*[data-validation]");return r.each(function(){var r=t(this);if(r.is("[type=radio]")){var o=i.find('[type=radio][name="'+r.attr("name")+'"]');o.bind("blur.validation",function(){r.validateInputOnBlur(e,n,!0,"blur")}),n.validateCheckboxRadioOnClick&&o.bind("click.validation",function(){r.validateInputOnBlur(e,n,!0,"click")})}}),r.bind("blur.validation",function(){t(this).validateInputOnBlur(e,n,!0,"blur")}),n.validateCheckboxRadioOnClick&&this.find("input[type=checkbox][data-validation],input[type=radio][data-validation]").bind("click.validation",function(){t(this).validateInputOnBlur(e,n,!0,"click")}),this},t.fn.validateOnEvent=function(e,n){if(0!==this.length){return("FORM"===this[0].nodeName?this.find("*[data-validation-event]"):this).each(function(){var i=t(this),r=i.valAttr("event");r&&i.unbind(r+".validation").bind(r+".validation",function(i){9!==(i||{}).keyCode&&t(this).validateInputOnBlur(e,n,!0,r)})}),this}},t.fn.showHelpOnFocus=function(e){return e||(e="data-validation-help"),this.find("textarea,input").each(function(){var n=t(this),r="jquery_form_help_"+ ++i,o=n.attr(e);n.removeClass("has-help-text").unbind("focus.help").unbind("blur.help"),o&&n.addClass("has-help-txt").bind("focus.help",function(){var e=n.parent().find("."+r);0===e.length&&(e=t("<span />").addClass(r).addClass("help").addClass("help-block").text(o).hide(),n.after(e)),e.fadeIn()}).bind("blur.help",function(){t(this).parent().find("."+r).fadeOut("slow")})}),this},t.fn.validate=function(e,n,i){var r=t.extend({},t.formUtils.LANG,i||{});this.each(function(){var i=t(this),o=i.closest("form").get(0)||{},a=o.validationConfig||t.formUtils.defaultConfig();i.one("validation",function(t,n){"function"==typeof e&&e(n,this,t)}),i.validateInputOnBlur(r,t.extend({},a,n||{}),!0)})},t.fn.willPostponeValidation=function(){return(this.valAttr("suggestion-nr")||this.valAttr("postpone")||this.hasClass("hasDatepicker"))&&!e.postponedValidation},t.fn.validateInputOnBlur=function(n,i,r,o){if(t.formUtils.eventType=o,this.willPostponeValidation()){var a=this,s=this.valAttr("postpone")||200;return e.postponedValidation=function(){a.validateInputOnBlur(n,i,r,o),e.postponedValidation=!1},setTimeout(function(){e.postponedValidation&&e.postponedValidation()},s),this}n=t.extend({},t.formUtils.LANG,n||{}),t.formUtils.dialogs.removeInputStylingAndMessage(this,i);var l=this,u=l.closest("form"),c=t.formUtils.validateInput(l,n,i,u,o),d=function(){l.validateInputOnBlur(n,i,!1,"blur.revalidated")};return"blur"===o&&l.unbind("validation.revalidate",d).one("validation.revalidate",d),r&&l.removeKeyUpValidation(),c.shouldChangeDisplay&&(c.isValid?t.formUtils.dialogs.applyInputSuccessStyling(l,i):t.formUtils.dialogs.setInlineMessage(l,c.errorMsg,i)),!c.isValid&&r&&l.validateOnKeyUp(n,i),this},t.fn.validateOnKeyUp=function(e,n){return this.each(function(){var i=t(this);i.valAttr("has-keyup-event")||i.valAttr("has-keyup-event","true").bind("keyup.validation",function(t){9!==t.keyCode&&i.validateInputOnBlur(e,n,!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,n,i){if(t.formUtils.isLoadingModules){var r=this;return setTimeout(function(){r.isValid(e,n,i)},200),null}n=t.extend({},t.formUtils.defaultConfig(),n||{}),e=t.extend({},t.formUtils.LANG,e||{}),i=!1!==i,t.formUtils.errorDisplayPreventedWhenHalted&&(delete t.formUtils.errorDisplayPreventedWhenHalted,i=!1);var o=function(e,r){t.inArray(e,s)<0&&s.push(e),l.push(r),r.valAttr("current-error",e),i&&t.formUtils.dialogs.applyInputErrorStyling(r,n)},a=[],s=[],l=[],u=this,c=function(e,i){return"submit"===i||"button"===i||"reset"===i||t.inArray(e,n.ignore||[])>-1};if(i&&t.formUtils.dialogs.removeAllMessagesAndStyling(u,n),u.find("input,textarea,select").filter(':not([type="submit"],[type="button"])').each(function(){var i=t(this),r=i.attr("type"),s="radio"===r||"checkbox"===r,l=i.attr("name");if(!c(l,r)&&(!s||t.inArray(l,a)<0)){s&&a.push(l);var d=t.formUtils.validateInput(i,e,n,u,"submit");d.isValid?d.isValid&&d.shouldChangeDisplay&&(i.valAttr("current-error",!1),t.formUtils.dialogs.applyInputSuccessStyling(i,n)):o(d.errorMsg,i)}}),"function"==typeof n.onValidate){var d=n.onValidate(u);t.isArray(d)?t.each(d,function(t,e){o(e.message,e.element)}):d&&d.element&&d.message&&o(d.message,d.element)}return t.formUtils.isValidatingEntireForm=!1,l.length>0&&i&&("top"===n.errorMessagePosition?t.formUtils.dialogs.setMessageInTopOfForm(u,s,n,e):t.each(l,function(e,i){t.formUtils.dialogs.setInlineMessage(i,i.valAttr("current-error"),n)}),n.scrollToTopOnError&&t.formUtils.$win.scrollTop(u.offset().top-20)),!i&&t.formUtils.haltValidation&&(t.formUtils.errorDisplayPreventedWhenHalted=!0),0===l.length&&!t.formUtils.haltValidation},t.fn.restrictLength=function(e){return new t.formUtils.lengthRestriction(this,e),this},t.fn.addSuggestions=function(e){var n=!1;return this.find("input").each(function(){var i=t(this);n=t.split(i.attr("data-suggestions")),n.length>0&&!i.hasClass("has-suggestions")&&(t.formUtils.suggest(i,n,e),i.addClass("has-suggestions"))}),this}}(t,window),function(t){"use strict";t.formUtils=t.extend(t.formUtils||{},{isLoadingModules:!1,loadedModules:{},registerLoadedModule:function(e){this.loadedModules[t.trim(e).toLowerCase()]=!0},hasLoadedModule:function(e){return t.trim(e).toLowerCase()in this.loadedModules},loadModules:function(e,n,i){if(t.formUtils.isLoadingModules)return void setTimeout(function(){t.formUtils.loadModules(e,n,i)},100);var r=function(e,n){var r=t.split(e),o=r.length,a=function(){0===--o&&(t.formUtils.isLoadingModules=!1,"function"==typeof i&&i())};o>0&&(t.formUtils.isLoadingModules=!0);var s="?_="+(new Date).getTime(),l=document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0];t.each(r,function(e,i){if(i=t.trim(i),0===i.length||t.formUtils.hasLoadedModule(i))a();else{var r=n+i+(".js"===i.slice(-3)?"":".js"),o=document.createElement("SCRIPT");"function"==typeof define&&define.amd?require([r+(".dev.js"===r.slice(-7)?s:"")],a):(o.type="text/javascript",o.onload=a,o.src=r+(".dev.js"===r.slice(-7)?s:""),o.onerror=function(){t.formUtils.warn("Unable to load form validation module "+r,!0),a()},o.onreadystatechange=function(){"complete"!==this.readyState&&"loaded"!==this.readyState||(a(),this.onload=null,this.onreadystatechange=null)},l.appendChild(o))}})};if(n)r(e,n);else{var o=function(){var n=!1;return t('script[src*="form-validator"]').each(function(){if(!(this.src.split("form-validator")[1].split("node_modules").length>1))return n=this.src.substr(0,this.src.lastIndexOf("/"))+"/","/"===n&&(n=""),!1}),!1!==n&&(r(e,n),!0)};o()||t(function(){o()||"function"==typeof i&&i()})}}})}(t),function(t){"use strict";t.split=function(e,n,i){i=void 0===i||!0===i;var r="[,|"+(i?"\\s":"")+"-]\\s*",o=new RegExp(r,"g");if("function"!=typeof n){if(!e)return[];var a=[];return t.each(e.split(n||o),function(e,n){n=t.trim(n),n.length&&a.push(n)}),a}e&&t.each(e.split(o),function(e,i){if(i=t.trim(i),i.length)return n(i,e)})},t.validate=function(e){var n=t.extend(t.formUtils.defaultConfig(),{form:"form",validateOnEvent:!1,validateOnBlur:!0,validateCheckboxRadioOnClick:!0,showHelpOnFocus:!0,addSuggestions:!0,modules:"",onModulesLoaded:null,language:!1,onSuccess:!1,onError:!1,onElementValidate:!1});if(e=t.extend(n,e||{}),t(window).trigger("formValidationPluginInit",[e]),e.lang&&"en"!==e.lang){var i="lang/"+e.lang+".js";e.modules+=e.modules.length?","+i:i}t(e.form).each(function(n,i){i.validationConfig=e;var r=t(i);r.trigger("formValidationSetup",[r,e]),r.find(".has-help-txt").unbind("focus.validation").unbind("blur.validation"),r.removeClass("has-validation-callback").unbind("submit.validation").unbind("reset.validation").find("input[data-validation],textarea[data-validation]").unbind("blur.validation"),r.bind("submit.validation",function(n){var i=t(this),r=function(){return n.stopImmediatePropagation(),!1};if(t.formUtils.haltValidation)return r();if(t.formUtils.isLoadingModules)return setTimeout(function(){i.trigger("submit.validation")},200),r();var o=i.isValid(e.language,e);return t.formUtils.haltValidation?r():o&&"function"==typeof e.onSuccess?!1===e.onSuccess(i)?r():void 0:o||"function"!=typeof e.onError?!!o||r():(e.onError(i),r())}).bind("reset.validation",function(){t.formUtils.dialogs.removeAllMessagesAndStyling(r,e)}).addClass("has-validation-callback"),e.showHelpOnFocus&&r.showHelpOnFocus(),e.addSuggestions&&r.addSuggestions(),e.validateOnBlur&&(r.validateOnBlur(e.language,e),r.bind("html5ValidationAttrsFound",function(){r.validateOnBlur(e.language,e)})),e.validateOnEvent&&r.validateOnEvent(e.language,e)}),""!==e.modules&&t.formUtils.loadModules(e.modules,null,function(){"function"==typeof e.onModulesLoaded&&e.onModulesLoaded();var n="string"==typeof e.form?t(e.form):e.form;t.formUtils.$win.trigger("validatorsLoaded",[n,e])})}}(t),function(t,e){"use strict";var n=t(e);t.formUtils=t.extend(t.formUtils||{},{$win:n,defaultConfig:function(){return{ignore:[],errorElementClass:"error",successElementClass:"valid",borderColorOnError:"#b94a48",errorMessageClass:"form-error",validationRuleAttribute:"data-validation",validationErrorMsgAttribute:"data-validation-error-msg",errorMessagePosition:"inline",errorMessageTemplate:{container:'<div class="{errorMessageClass} alert alert-danger">{messages}</div>',messages:"<strong>{errorTitle}</strong><ul>{fields}</ul>",field:"<li>{msg}</li>"},scrollToTopOnError:!0,dateFormat:"yyyy-mm-dd",addValidClassOnAll:!1,decimalSeparator:".",inputParentClassOnError:"has-error",inputParentClassOnSuccess:"has-success",validateHiddenInputs:!1,inlineErrorMessageCallback:!1,submitErrorMessageCallback:!1}},validators:{},sanitizers:{},_events:{load:[],valid:[],invalid:[]},haltValidation:!1,addValidator:function(t){var e=0===t.name.indexOf("validate_")?t.name:"validate_"+t.name;void 0===t.validateOnKeyUp&&(t.validateOnKeyUp=!0),this.validators[e]=t},addSanitizer:function(t){this.sanitizers[t.name]=t},warn:function(t,n){"console"in e?"function"==typeof e.console.warn?e.console.warn(t):"function"==typeof e.console.log&&e.console.log(t):n&&alert(t)},getValue:function(t,e){var n=e?e.find(t):t;if(n.length>0){var i=n.eq(0).attr("type");return"radio"===i||"checkbox"===i?n.filter(":checked").val()||"":n.val()||""}return!1},validateInput:function(e,n,i,r,o){i=i||t.formUtils.defaultConfig(),n=n||t.formUtils.LANG,r.length||(r=e.parent());var a=this.getValue(e);e.valAttr("skipped",!1).one("beforeValidation",function(){(e.attr("disabled")||!e.is(":visible")&&!i.validateHiddenInputs)&&e.valAttr("skipped",1)}).trigger("beforeValidation",[a,n,i]);var s="true"===e.valAttr("optional"),l=!a&&s,u=e.attr(i.validationRuleAttribute),c=!0,d="",h={isValid:!0,shouldChangeDisplay:!0,errorMsg:""};if(!u||l||e.valAttr("skipped"))return h.shouldChangeDisplay=i.addValidClassOnAll,h;var f=e.valAttr("ignore");return f&&t.each(f.split(""),function(t,e){a=a.replace(new RegExp("\\"+e,"g"),"")}),t.split(u,function(s){0!==s.indexOf("validate_")&&(s="validate_"+s);var l=t.formUtils.validators[s];if(!l)throw new Error('Using undefined validator "'+s+'". Maybe you have forgotten to load the module that "'+s+'" belongs to?');if("validate_checkbox_group"===s&&(e=r.find('[name="'+e.attr("name")+'"]:eq(0)')),("keyup"!==o||l.validateOnKeyUp)&&(c=l.validatorFunction(a,e,i,n,r,o)),!c)return i.validateOnBlur&&e.validateOnKeyUp(n,i),d=t.formUtils.dialogs.resolveErrorMessage(e,l,s,i,n),!1}),!1===c?(e.trigger("validation",!1),h.errorMsg=d,h.isValid=!1,h.shouldChangeDisplay=!0):null===c?h.shouldChangeDisplay=!1:(e.trigger("validation",!0),h.shouldChangeDisplay=!0),"function"==typeof i.onElementValidate&&null!==d&&i.onElementValidate(h.isValid,e,r,d),e.trigger("afterValidation",[h,o]),h},parseDate:function(e,n,i){var r,o,a,s,l=n.replace(/[a-zA-Z]/gi,"").substring(0,1),u="^",c=n.split(l||null);if(t.each(c,function(t,e){u+=(t>0?"\\"+l:"")+"(\\d{"+e.length+"})"}),u+="$",i){var d=[];t.each(e.split(l),function(t,e){1===e.length&&(e="0"+e),d.push(e)}),e=d.join(l)}if(null===(r=e.match(new RegExp(u))))return!1;var h=function(e,n,i){for(var r=0;r<n.length;r++)if(n[r].substring(0,1)===e)return t.formUtils.parseDateInt(i[r+1]);return-1};return a=h("m",c,r),o=h("d",c,r),s=h("y",c,r),!(2===a&&o>28&&(s%4!=0||s%100==0&&s%400!=0)||2===a&&o>29&&(s%4==0||s%100!=0&&s%400==0)||a>12||0===a)&&(!(this.isShortMonth(a)&&o>30||!this.isShortMonth(a)&&o>31||0===o)&&[s,a,o])},parseDateInt:function(t){return 0===t.indexOf("0")&&(t=t.replace("0","")),parseInt(t,10)},isShortMonth:function(t){return t%2==0&&t<7||t%2!=0&&t>7},lengthRestriction:function(e,n){var i=parseInt(n.text(),10),r=0,o=function(){var t=e.val().length;if(t>i){var o=e.scrollTop();e.val(e.val().substring(0,i)),e.scrollTop(o)}r=i-t,r<0&&(r=0),n.text(r)};t(e).bind("keydown keyup keypress focus blur",o).bind("cut paste",function(){setTimeout(o,100)}),t(document).bind("ready",o)},numericRangeCheck:function(e,n){var i=t.split(n),r=parseInt(n.substr(3),10);return 1===i.length&&-1===n.indexOf("min")&&-1===n.indexOf("max")&&(i=[n,n]),2===i.length&&(e<parseInt(i[0],10)||e>parseInt(i[1],10))?["out",i[0],i[1]]:0===n.indexOf("min")&&e<r?["min",r]:0===n.indexOf("max")&&e>r?["max",r]:["ok"]},_numSuggestionElements:0,_selectedSuggestion:null,_previousTypedVal:null,suggest:function(e,i,r){var o={css:{maxHeight:"150px",background:"#FFF",lineHeight:"150%",textDecoration:"underline",overflowX:"hidden",overflowY:"auto",border:"#CCC solid 1px",borderTop:"none",cursor:"pointer"},activeSuggestionCSS:{background:"#E9E9E9"}},a=function(t,e){var n=e.offset();t.css({width:e.outerWidth(),left:n.left+"px",top:n.top+e.outerHeight()+"px"})};r&&t.extend(o,r),o.css.position="absolute",o.css["z-index"]=9999,e.attr("autocomplete","off"),0===this._numSuggestionElements&&n.bind("resize",function(){t(".jquery-form-suggestions").each(function(){var e=t(this),n=e.attr("data-suggest-container");a(e,t(".suggestions-"+n).eq(0))})}),this._numSuggestionElements++;var s=function(e){var n=e.valAttr("suggestion-nr");t.formUtils._selectedSuggestion=null,t.formUtils._previousTypedVal=null,t(".jquery-form-suggestion-"+n).fadeOut("fast")};return e.data("suggestions",i).valAttr("suggestion-nr",this._numSuggestionElements).unbind("focus.suggest").bind("focus.suggest",function(){t(this).trigger("keyup"),t.formUtils._selectedSuggestion=null}).unbind("keyup.suggest").bind("keyup.suggest",function(){var n=t(this),i=[],r=t.trim(n.val()).toLocaleLowerCase();if(r!==t.formUtils._previousTypedVal){t.formUtils._previousTypedVal=r;var l=!1,u=n.valAttr("suggestion-nr"),c=t(".jquery-form-suggestion-"+u);if(c.scrollTop(0),""!==r){var d=r.length>2;t.each(n.data("suggestions"),function(t,e){var n=e.toLocaleLowerCase();if(n===r)return i.push("<strong>"+e+"</strong>"),l=!0,!1;(0===n.indexOf(r)||d&&n.indexOf(r)>-1)&&i.push(e.replace(new RegExp(r,"gi"),"<strong>$&</strong>"))})}l||0===i.length&&c.length>0?c.hide():i.length>0&&0===c.length?(c=t("<div></div>").css(o.css).appendTo("body"),e.addClass("suggestions-"+u),c.attr("data-suggest-container",u).addClass("jquery-form-suggestions").addClass("jquery-form-suggestion-"+u)):i.length>0&&!c.is(":visible")&&c.show(),i.length>0&&r.length!==i[0].length&&(a(c,n),c.html(""),t.each(i,function(e,i){t("<div></div>").append(i).css({overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"5px"}).addClass("form-suggest-element").appendTo(c).click(function(){n.focus(),n.val(t(this).text()),n.trigger("change"),s(n)})}))}}).unbind("keydown.validation").bind("keydown.validation",function(e){var n,i,r=e.keyCode?e.keyCode:e.which,a=t(this);if(13===r&&null!==t.formUtils._selectedSuggestion){if(n=a.valAttr("suggestion-nr"),i=t(".jquery-form-suggestion-"+n),i.length>0){var l=i.find("div").eq(t.formUtils._selectedSuggestion).text();a.val(l),a.trigger("change"),s(a),e.preventDefault()}}else{n=a.valAttr("suggestion-nr"),i=t(".jquery-form-suggestion-"+n);var u=i.children();if(u.length>0&&t.inArray(r,[38,40])>-1){38===r?(null===t.formUtils._selectedSuggestion?t.formUtils._selectedSuggestion=u.length-1:t.formUtils._selectedSuggestion--,t.formUtils._selectedSuggestion<0&&(t.formUtils._selectedSuggestion=u.length-1)):40===r&&(null===t.formUtils._selectedSuggestion?t.formUtils._selectedSuggestion=0:t.formUtils._selectedSuggestion++,t.formUtils._selectedSuggestion>u.length-1&&(t.formUtils._selectedSuggestion=0));var c=i.innerHeight(),d=i.scrollTop(),h=i.children().eq(0).outerHeight(),f=h*t.formUtils._selectedSuggestion;return(f<d||f>d+c)&&i.scrollTop(f),u.removeClass("active-suggestion").css("background","none").eq(t.formUtils._selectedSuggestion).addClass("active-suggestion").css(o.activeSuggestionCSS),e.preventDefault(),!1}}}).unbind("blur.suggest").bind("blur.suggest",function(){s(t(this))}),e},LANG:{errorTitle:"Form submission failed!",requiredField:"This is a required field",requiredFields:"You have not answered all required fields",badTime:"You have not given a correct time",badEmail:"You have not given a correct e-mail address",badTelephone:"You have not given a correct phone number",badSecurityAnswer:"You have not given a correct answer to the security question",badDate:"You have not given a correct date",lengthBadStart:"The input value must be between ",lengthBadEnd:" characters",lengthTooLongStart:"The input value is longer than ",lengthTooShortStart:"The input value is shorter than ",notConfirmed:"Input values could not be confirmed",badDomain:"Incorrect domain value",badUrl:"The input value is not a correct URL",badCustomVal:"The input value is incorrect",andSpaces:" and spaces ",badInt:"The input value was not a correct number",badSecurityNumber:"Your social security number was incorrect",badUKVatAnswer:"Incorrect UK VAT Number",badUKNin:"Incorrect UK NIN",badUKUtr:"Incorrect UK UTR Number",badStrength:"The password isn't strong enough",badNumberOfSelectedOptionsStart:"You have to choose at least ",badNumberOfSelectedOptionsEnd:" answers",badAlphaNumeric:"The input value can only contain alphanumeric characters ",badAlphaNumericExtra:" and ",wrongFileSize:"The file you are trying to upload is too large (max %s)",wrongFileType:"Only files of type %s is allowed",groupCheckedRangeStart:"Please choose between ",groupCheckedTooFewStart:"Please choose at least ",groupCheckedTooManyStart:"Please choose a maximum of ",groupCheckedEnd:" item(s)",badCreditCard:"The credit card number is not correct",badCVV:"The CVV number was not correct",wrongFileDim:"Incorrect image dimensions,",imageTooTall:"the image can not be taller than",imageTooWide:"the image can not be wider than",imageTooSmall:"the image was too small",min:"min",max:"max",imageRatioNotAccepted:"Image ratio is not be accepted",badBrazilTelephoneAnswer:"The phone number entered is invalid",badBrazilCEPAnswer:"The CEP entered is invalid",badBrazilCPFAnswer:"The CPF entered is invalid",badPlPesel:"The PESEL entered is invalid",badPlNip:"The NIP entered is invalid",badPlRegon:"The REGON entered is invalid",badreCaptcha:"Please confirm that you are not a bot",passwordComplexityStart:"Password must contain at least ",passwordComplexitySeparator:", ",passwordComplexityUppercaseInfo:" uppercase letter(s)",passwordComplexityLowercaseInfo:" lowercase letter(s)",passwordComplexitySpecialCharsInfo:" special character(s)",passwordComplexityNumericCharsInfo:" numeric character(s)",passwordComplexityEnd:"."}})}(t,window),function(t){t.formUtils.addValidator({name:"email",validatorFunction:function(e){var n=e.toLowerCase().split("@"),i=n[0],r=n[1];if(i&&r){if(0===i.indexOf('"')){var o=i.length;if(i=i.replace(/\"/g,""),i.length!==o-2)return!1}return t.formUtils.validators.validate_domain.validatorFunction(n[1])&&0!==i.indexOf(".")&&"."!==i.substring(i.length-1,i.length)&&-1===i.indexOf("..")&&!/[^\w\+\.\-\#\-\_\~\!\$\&\'\(\)\*\+\,\;\=\:]/.test(i)}return!1},errorMessage:"",errorMessageKey:"badEmail"}),t.formUtils.addValidator({name:"domain",validatorFunction:function(t){return t.length>0&&t.length<=253&&!/[^a-zA-Z0-9]/.test(t.slice(-2))&&!/[^a-zA-Z0-9]/.test(t.substr(0,1))&&!/[^a-zA-Z0-9\.\-]/.test(t)&&1===t.split("..").length&&t.split(".").length>1},errorMessage:"",errorMessageKey:"badDomain"}),t.formUtils.addValidator({name:"required",validatorFunction:function(e,n,i,r,o){switch(n.attr("type")){case"checkbox":return n.is(":checked");case"radio":return o.find('input[name="'+n.attr("name")+'"]').filter(":checked").length>0;default:return""!==t.trim(e)}},errorMessage:"",errorMessageKey:function(t){return"top"===t.errorMessagePosition||"function"==typeof t.errorMessagePosition?"requiredFields":"requiredField"}}),t.formUtils.addValidator({name:"length",validatorFunction:function(e,n,i,r){var o=n.valAttr("length"),a=n.attr("type");if(void 0===o)return alert('Please add attribute "data-validation-length" to '+n[0].nodeName+" named "+n.attr("name")),!0;var s,l="file"===a&&void 0!==n.get(0).files?n.get(0).files.length:e.length,u=t.formUtils.numericRangeCheck(l,o);switch(u[0]){case"out":this.errorMessage=r.lengthBadStart+o+r.lengthBadEnd,s=!1;break;case"min":this.errorMessage=r.lengthTooShortStart+u[1]+r.lengthBadEnd,s=!1;break;case"max":this.errorMessage=r.lengthTooLongStart+u[1]+r.lengthBadEnd,s=!1;break;default:s=!0}return s},errorMessage:"",errorMessageKey:""}),t.formUtils.addValidator({name:"url",validatorFunction:function(e){if(/^(https?|ftp):\/\/((((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])(\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])(\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/(((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|\[|\]|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#(((\w|-|\.|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(e)){var n=e.split("://")[1],i=n.indexOf("/");return i>-1&&(n=n.substr(0,i)),t.formUtils.validators.validate_domain.validatorFunction(n)}return!1},errorMessage:"",errorMessageKey:"badUrl"}),t.formUtils.addValidator({name:"number",validatorFunction:function(t,e,n){if(""!==t){var i,r,o=e.valAttr("allowing")||"",a=e.valAttr("decimal-separator")||n.decimalSeparator,s=!1,l=e.valAttr("step")||"",u=!1;if((e.attr("data-sanitize")||"").match(/(^|[\s])numberFormat([\s]|$)/i)){if(!window.numeral)throw new ReferenceError("The data-sanitize value numberFormat cannot be used without the numeral library. Please see Data Validation in http://www.formvalidator.net for more information.");t.length&&(t=String(numeral().unformat(t)))}if(-1===o.indexOf("number")&&(o+=",number"),-1===o.indexOf("negative")&&0===t.indexOf("-"))return!1;if(o.indexOf("range")>-1&&(i=parseFloat(o.substring(o.indexOf("[")+1,o.indexOf(";"))),r=parseFloat(o.substring(o.indexOf(";")+1,o.indexOf("]"))),s=!0),""!==l&&(u=!0),","===a){if(t.indexOf(".")>-1)return!1;t=t.replace(",",".")}if(""===t.replace(/[0-9-]/g,"")&&(!s||t>=i&&t<=r)&&(!u||t%l==0))return!0;if(o.indexOf("float")>-1&&null!==t.match(new RegExp("^([0-9-]+)\\.([0-9]+)$"))&&(!s||t>=i&&t<=r)&&(!u||t%l==0))return!0}return!1},errorMessage:"",errorMessageKey:"badInt"}),t.formUtils.addValidator({name:"alphanumeric",validatorFunction:function(e,n,i,r){var o=n.valAttr("allowing"),a="",s=!1;if(o){a="^([a-zA-Z0-9"+o+"]+)$";var l=o.replace(/\\/g,"");l.indexOf(" ")>-1&&(s=!0,l=l.replace(" ",""),l+=r.andSpaces||t.formUtils.LANG.andSpaces),r.badAlphaNumericAndExtraAndSpaces&&r.badAlphaNumericAndExtra?this.errorMessage=s?r.badAlphaNumericAndExtraAndSpaces+l:r.badAlphaNumericAndExtra+l+r.badAlphaNumericExtra:this.errorMessage=r.badAlphaNumeric+r.badAlphaNumericExtra+l}else a="^([a-zA-Z0-9]+)$",this.errorMessage=r.badAlphaNumeric;return new RegExp(a).test(e)},errorMessage:"",errorMessageKey:""}),t.formUtils.addValidator({name:"custom",validatorFunction:function(t,e){return new RegExp(e.valAttr("regexp")).test(t)},errorMessage:"",errorMessageKey:"badCustomVal"}),t.formUtils.addValidator({name:"date",validatorFunction:function(e,n,i){var r=n.valAttr("format")||i.dateFormat||"yyyy-mm-dd",o="false"===n.valAttr("require-leading-zero");return!1!==t.formUtils.parseDate(e,r,o)},errorMessage:"",errorMessageKey:"badDate"}),t.formUtils.addValidator({name:"checkbox_group",validatorFunction:function(e,n,i,r,o){var a=!0,s=n.attr("name"),l=t('input[type=checkbox][name^="'+s+'"]',o),u=l.filter(":checked").length,c=n.valAttr("qty");if(void 0===c){var d=n.get(0).nodeName;alert('Attribute "data-validation-qty" is missing from '+d+" named "+n.attr("name"))}var h=t.formUtils.numericRangeCheck(u,c);switch(h[0]){case"out":this.errorMessage=r.groupCheckedRangeStart+c+r.groupCheckedEnd,a=!1;break;case"min":this.errorMessage=r.groupCheckedTooFewStart+h[1]+(r.groupCheckedTooFewEnd||r.groupCheckedEnd),a=!1;break;case"max":this.errorMessage=r.groupCheckedTooManyStart+h[1]+(r.groupCheckedTooManyEnd||r.groupCheckedEnd),a=!1;break;default:a=!0}if(!a){var f=function(){l.unbind("click",f),l.filter("*[data-validation]").validateInputOnBlur(r,i,!1,"blur")};l.bind("click",f)}return a}})}(t)});var List=function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=11)}([function(t,e,n){function i(t){if(!t||!t.nodeType)throw new Error("A DOM element reference is required");this.el=t,this.list=t.classList}var r=n(4),o=/\s+/;Object.prototype.toString;t.exports=function(t){return new i(t)},i.prototype.add=function(t){if(this.list)return this.list.add(t),this;var e=this.array();return~r(e,t)||e.push(t),this.el.className=e.join(" "),this},i.prototype.remove=function(t){if(this.list)return this.list.remove(t),this;var e=this.array(),n=r(e,t);return~n&&e.splice(n,1),this.el.className=e.join(" "),this},i.prototype.toggle=function(t,e){return this.list?(void 0!==e?e!==this.list.toggle(t,e)&&this.list.toggle(t):this.list.toggle(t),this):(void 0!==e?e?this.add(t):this.remove(t):this.has(t)?this.remove(t):this.add(t),this)},i.prototype.array=function(){var t=this.el.getAttribute("class")||"",e=t.replace(/^\s+|\s+$/g,""),n=e.split(o);return""===n[0]&&n.shift(),n},i.prototype.has=i.prototype.contains=function(t){return this.list?this.list.contains(t):!!~r(this.array(),t)}},function(t,e,n){var i=window.addEventListener?"addEventListener":"attachEvent",r=window.removeEventListener?"removeEventListener":"detachEvent",o="addEventListener"!==i?"on":"",a=n(5);e.bind=function(t,e,n,r){t=a(t);for(var s=0;s<t.length;s++)t[s][i](o+e,n,r||!1)},e.unbind=function(t,e,n,i){t=a(t);for(var s=0;s<t.length;s++)t[s][r](o+e,n,i||!1)}},function(t,e){t.exports=function(t){return function(e,n,i){var r=this;this._values={},this.found=!1,this.filtered=!1;this.values=function(e,n){if(void 0===e)return r._values;for(var i in e)r._values[i]=e[i];!0!==n&&t.templater.set(r,r.values())},this.show=function(){t.templater.show(r)},this.hide=function(){t.templater.hide(r)},this.matching=function(){return t.filtered&&t.searched&&r.found&&r.filtered||t.filtered&&!t.searched&&r.filtered||!t.filtered&&t.searched&&r.found||!t.filtered&&!t.searched},this.visible=function(){return!(!r.elm||r.elm.parentNode!=t.list)},function(e,n,i){if(void 0===n)i?r.values(e,i):r.values(e);else{r.elm=n;var o=t.templater.get(r,e);r.values(o)}}(e,n,i)}}},function(t,e){var n=function(t,e,n){return n?t.getElementsByClassName(e)[0]:t.getElementsByClassName(e)},i=function(t,e,n){return e="."+e,n?t.querySelector(e):t.querySelectorAll(e)},r=function(t,e,n){for(var i=[],r=t.getElementsByTagName("*"),o=r.length,a=new RegExp("(^|\\s)"+e+"(\\s|$)"),s=0,l=0;s<o;s++)if(a.test(r[s].className)){if(n)return r[s];i[l]=r[s],l++}return i};t.exports=function(){return function(t,e,o,a){return a=a||{},a.test&&a.getElementsByClassName||!a.test&&document.getElementsByClassName?n(t,e,o):a.test&&a.querySelector||!a.test&&document.querySelector?i(t,e,o):r(t,e,o)}}()},function(t,e){var n=[].indexOf;t.exports=function(t,e){if(n)return t.indexOf(e);for(var i=0;i<t.length;++i)if(t[i]===e)return i;return-1}},function(t,e){function n(t){return"[object Array]"===Object.prototype.toString.call(t)}
+t.exports=function(t){if(void 0===t)return[];if(null===t)return[null];if(t===window)return[window];if("string"==typeof t)return[t];if(n(t))return t;if("number"!=typeof t.length)return[t];if("function"==typeof t&&t instanceof Function)return[t];for(var e=[],i=0;i<t.length;i++)(Object.prototype.hasOwnProperty.call(t,i)||i in t)&&e.push(t[i]);return e.length?e:[]}},function(t,e){t.exports=function(t){return t=void 0===t?"":t,t=null===t?"":t,t=t.toString()}},function(t,e){t.exports=function(t){for(var e,n=Array.prototype.slice.call(arguments,1),i=0;e=n[i];i++)if(e)for(var r in e)t[r]=e[r];return t}},function(t,e){t.exports=function(t){var e=function(n,i,r){var o=n.splice(0,50);r=r||[],r=r.concat(t.add(o)),n.length>0?setTimeout(function(){e(n,i,r)},1):(t.update(),i(r))};return e}},function(t,e){t.exports=function(t){return t.handlers.filterStart=t.handlers.filterStart||[],t.handlers.filterComplete=t.handlers.filterComplete||[],function(e){if(t.trigger("filterStart"),t.i=1,t.reset.filter(),void 0===e)t.filtered=!1;else{t.filtered=!0;for(var n=t.items,i=0,r=n.length;i<r;i++){var o=n[i];e(o)?o.filtered=!0:o.filtered=!1}}return t.update(),t.trigger("filterComplete"),t.visibleItems}}},function(t,e,n){var i=(n(0),n(1)),r=n(7),o=n(6),a=n(3),s=n(19);t.exports=function(t,e){e=e||{},e=r({location:0,distance:100,threshold:.4,multiSearch:!0,searchClass:"fuzzy-search"},e);var n={search:function(i,r){for(var o=e.multiSearch?i.replace(/ +$/,"").split(/ +/):[i],a=0,s=t.items.length;a<s;a++)n.item(t.items[a],r,o)},item:function(t,e,i){for(var r=!0,o=0;o<i.length;o++){for(var a=!1,s=0,l=e.length;s<l;s++)n.values(t.values(),e[s],i[o])&&(a=!0);a||(r=!1)}t.found=r},values:function(t,n,i){if(t.hasOwnProperty(n)){var r=o(t[n]).toLowerCase();if(s(r,i,e))return!0}return!1}};return i.bind(a(t.listContainer,e.searchClass),"keyup",function(e){var i=e.target||e.srcElement;t.search(i.value,n.search)}),function(e,i){t.search(e,i,n.search)}}},function(t,e,n){var i=n(18),r=n(3),o=n(7),a=n(4),s=n(1),l=n(6),u=n(0),c=n(17),d=n(5);t.exports=function(t,e,h){var f,p=this,g=n(2)(p),v=n(8)(p),m=n(12)(p);f={start:function(){p.listClass="list",p.searchClass="search",p.sortClass="sort",p.page=1e4,p.i=1,p.items=[],p.visibleItems=[],p.matchingItems=[],p.searched=!1,p.filtered=!1,p.searchColumns=void 0,p.handlers={updated:[]},p.valueNames=[],p.utils={getByClass:r,extend:o,indexOf:a,events:s,toString:l,naturalSort:i,classes:u,getAttribute:c,toArray:d},p.utils.extend(p,e),p.listContainer="string"==typeof t?document.getElementById(t):t,p.listContainer&&(p.list=r(p.listContainer,p.listClass,!0),p.parse=n(13)(p),p.templater=n(16)(p),p.search=n(14)(p),p.filter=n(9)(p),p.sort=n(15)(p),p.fuzzySearch=n(10)(p,e.fuzzySearch),this.handlers(),this.items(),this.pagination(),p.update())},handlers:function(){for(var t in p.handlers)p[t]&&p.on(t,p[t])},items:function(){p.parse(p.list),void 0!==h&&p.add(h)},pagination:function(){if(void 0!==e.pagination){!0===e.pagination&&(e.pagination=[{}]),void 0===e.pagination[0]&&(e.pagination=[e.pagination]);for(var t=0,n=e.pagination.length;t<n;t++)m(e.pagination[t])}}},this.reIndex=function(){p.items=[],p.visibleItems=[],p.matchingItems=[],p.searched=!1,p.filtered=!1,p.parse(p.list)},this.toJSON=function(){for(var t=[],e=0,n=p.items.length;e<n;e++)t.push(p.items[e].values());return t},this.add=function(t,e){if(0!==t.length){if(e)return void v(t,e);var n=[],i=!1;void 0===t[0]&&(t=[t]);for(var r=0,o=t.length;r<o;r++){var a=null;i=p.items.length>p.page,a=new g(t[r],void 0,i),p.items.push(a),n.push(a)}return p.update(),n}},this.show=function(t,e){return this.i=t,this.page=e,p.update(),p},this.remove=function(t,e,n){for(var i=0,r=0,o=p.items.length;r<o;r++)p.items[r].values()[t]==e&&(p.templater.remove(p.items[r],n),p.items.splice(r,1),o--,r--,i++);return p.update(),i},this.get=function(t,e){for(var n=[],i=0,r=p.items.length;i<r;i++){var o=p.items[i];o.values()[t]==e&&n.push(o)}return n},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 n=p.handlers[t],i=a(n,e);return i>-1&&n.splice(i,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 n=0;n<e;n++)t[n].matching()&&p.matchingItems.length+1>=p.i&&p.visibleItems.length<p.page?(t[n].show(),p.visibleItems.push(t[n]),p.matchingItems.push(t[n])):t[n].matching()?(p.matchingItems.push(t[n]),t[n].hide()):t[n].hide();return p.trigger("updated"),p},f.start()}},function(t,e,n){var i=n(0),r=n(1),o=n(11);t.exports=function(t){var e=function(e,r){var o,s=t.matchingItems.length,l=t.i,u=t.page,c=Math.ceil(s/u),d=Math.ceil(l/u),h=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 v=d===g?"active":"";n.number(g,f,p,d,h)?(o=e.add({page:g,dotted:!1})[0],v&&i(o.elm).add(v),a(o.elm,g,u)):n.dotted(e,g,f,p,d,h,e.size())&&(o=e.add({page:"...",dotted:!0})[0],i(o.elm).add("disabled"))}},n={number:function(t,e,n,i,r){return this.left(t,e)||this.right(t,n)||this.innerWindow(t,i,r)},left:function(t,e){return t<=e},right:function(t,e){return t>e},innerWindow:function(t,e,n){return t>=e-n&&t<=e+n},dotted:function(t,e,n,i,r,o,a){return this.dottedLeft(t,e,n,i,r,o)||this.dottedRight(t,e,n,i,r,o,a)},dottedLeft:function(t,e,n,i,r,o){return e==n+1&&!this.innerWindow(e,r,o)&&!this.right(e,i)},dottedRight:function(t,e,n,i,r,o,a){return!t.items[a-1].values().dotted&&(e==i&&!this.innerWindow(e,r,o)&&!this.right(e,i))}},a=function(e,n,i){r.bind(e,"click",function(){t.show((n-1)*i+1,i)})};return function(n){var i=new o(t.listContainer.id,{listClass:n.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(i,n)}),e(i,n)}}},function(t,e,n){t.exports=function(t){var e=n(2)(t),i=function(t){for(var e=t.childNodes,n=[],i=0,r=e.length;i<r;i++)void 0===e[i].data&&n.push(e[i]);return n},r=function(n,i){for(var r=0,o=n.length;r<o;r++)t.items.push(new e(i,n[r]))},o=function(e,n){var i=e.splice(0,50);r(i,n),e.length>0?setTimeout(function(){o(e,n)},1):(t.update(),t.trigger("parseComplete"))};return t.handlers.parseComplete=t.handlers.parseComplete||[],function(){var e=i(t.list),n=t.valueNames;t.indexAsync?o(e,n):r(e,n)}}},function(t,e){t.exports=function(t){var e,n,i,r,o={resetList:function(){t.i=1,t.templater.clear(),r=void 0},setOptions:function(t){2==t.length&&t[1]instanceof Array?n=t[1]:2==t.length&&"function"==typeof t[1]?(n=void 0,r=t[1]):3==t.length?(n=t[1],r=t[2]):n=void 0},setColumns:function(){0!==t.items.length&&void 0===n&&(n=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,"\\$&"),i=e},toArray:function(t){var e=[];for(var n in t)e.push(n);return e}},a={list:function(){for(var e=0,n=t.items.length;e<n;e++)a.item(t.items[e])},item:function(t){t.found=!1;for(var e=0,i=n.length;e<i;e++)if(a.values(t.values(),n[e]))return void(t.found=!0)},values:function(n,r){return!!(n.hasOwnProperty(r)&&(e=t.utils.toString(n[r]).toLowerCase(),""!==i&&e.search(i)>-1))},reset:function(){t.reset.search(),t.searched=!1}},s=function(e){return t.trigger("searchStart"),o.resetList(),o.setSearchString(e),o.setOptions(arguments),o.setColumns(),""===i?a.reset():(t.searched=!0,r?r(i,n):a.list()),t.update(),t.trigger("searchComplete"),t.visibleItems};return t.handlers.searchStart=t.handlers.searchStart||[],t.handlers.searchComplete=t.handlers.searchComplete||[],t.utils.events.bind(t.utils.getByClass(t.listContainer,t.searchClass),"keyup",function(e){var n=e.target||e.srcElement;""===n.value&&!t.searched||s(n.value)}),t.utils.events.bind(t.utils.getByClass(t.listContainer,t.searchClass),"input",function(t){""===(t.target||t.srcElement).value&&s("")}),s}},function(t,e){t.exports=function(t){var e={els:void 0,clear:function(){for(var n=0,i=e.els.length;n<i;n++)t.utils.classes(e.els[n]).remove("asc"),t.utils.classes(e.els[n]).remove("desc")},getOrder:function(e){var n=t.utils.getAttribute(e,"data-order");return"asc"==n||"desc"==n?n:t.utils.classes(e).has("desc")?"asc":t.utils.classes(e).has("asc")?"desc":"asc"},getInSensitive:function(e,n){var i=t.utils.getAttribute(e,"data-insensitive");n.insensitive="false"!==i},setOrder:function(n){for(var i=0,r=e.els.length;i<r;i++){var o=e.els[i];if(t.utils.getAttribute(o,"data-sort")===n.valueName){var a=t.utils.getAttribute(o,"data-order");"asc"==a||"desc"==a?a==n.order&&t.utils.classes(o).add(n.order):t.utils.classes(o).add(n.order)}}}},n=function(){t.trigger("sortStart");var n={},i=arguments[0].currentTarget||arguments[0].srcElement||void 0;i?(n.valueName=t.utils.getAttribute(i,"data-sort"),e.getInSensitive(i,n),n.order=e.getOrder(i)):(n=arguments[1]||n,n.valueName=arguments[0],n.order=n.order||"asc",n.insensitive=void 0===n.insensitive||n.insensitive),e.clear(),e.setOrder(n);var r,o=n.sortFunction||t.sortFunction||null,a="desc"===n.order?-1:1;r=o?function(t,e){return o(t,e,n)*a}:function(e,i){var r=t.utils.naturalSort;return r.alphabet=t.alphabet||n.alphabet||void 0,!r.alphabet&&n.insensitive&&(r=t.utils.naturalSort.caseInsensitive),r(e.values()[n.valueName],i.values()[n.valueName])*a},t.items.sort(r),t.update(),t.trigger("sortComplete")};return t.handlers.sortStart=t.handlers.sortStart||[],t.handlers.sortComplete=t.handlers.sortComplete||[],e.els=t.utils.getByClass(t.listContainer,t.sortClass),t.utils.events.bind(e.els,"click",n),t.on("searchStart",e.clear),t.on("filterStart",e.clear),n}},function(t,e){var n=function(t){var e,n=this;this.clearSourceItem=function(e,n){for(var i=0,r=n.length;i<r;i++){var o;if(n[i].data)for(var a=0,s=n[i].data.length;a<s;a++)e.setAttribute("data-"+n[i].data[a],"");else n[i].attr&&n[i].name?(o=t.utils.getByClass(e,n[i].name,!0))&&o.setAttribute(n[i].attr,""):(o=t.utils.getByClass(e,n[i],!0))&&(o.innerHTML="");o=void 0}return e},this.getItemSource=function(e){if(void 0===e){for(var n=t.list.childNodes,i=0,r=n.length;i<r;i++)if(void 0===n[i].data)return n[i].cloneNode(!0)}else{if(/<tr[\s>]/g.exec(e)){var o=document.createElement("tbody");return o.innerHTML=e,o.firstChild}if(-1!==e.indexOf("<")){var a=document.createElement("div");return a.innerHTML=e,a.firstChild}var s=document.getElementById(t.item);if(s)return s}},this.get=function(e,i){n.create(e);for(var r={},o=0,a=i.length;o<a;o++){var s;if(i[o].data)for(var l=0,u=i[o].data.length;l<u;l++)r[i[o].data[l]]=t.utils.getAttribute(e.elm,"data-"+i[o].data[l]);else i[o].attr&&i[o].name?(s=t.utils.getByClass(e.elm,i[o].name,!0),r[i[o].name]=s?t.utils.getAttribute(s,i[o].attr):""):(s=t.utils.getByClass(e.elm,i[o],!0),r[i[o]]=s?s.innerHTML:"");s=void 0}return r},this.set=function(e,i){var r=function(e){for(var n=0,i=t.valueNames.length;n<i;n++)if(t.valueNames[n].data){for(var r=t.valueNames[n].data,o=0,a=r.length;o<a;o++)if(r[o]===e)return{data:e}}else{if(t.valueNames[n].attr&&t.valueNames[n].name&&t.valueNames[n].name==e)return t.valueNames[n];if(t.valueNames[n]===e)return e}};if(!n.create(e))for(var o in i)i.hasOwnProperty(o)&&function(n,i){var o,a=r(n);a&&(a.data?e.elm.setAttribute("data-"+a.data,i):a.attr&&a.name?(o=t.utils.getByClass(e.elm,a.name,!0))&&o.setAttribute(a.attr,i):(o=t.utils.getByClass(e.elm,a,!0))&&(o.innerHTML=i),o=void 0)}(o,i[o])},this.create=function(t){if(void 0!==t.elm)return!1;if(void 0===e)throw new Error("The list need to have at list one item on init otherwise you'll have to add a template.");var i=e.cloneNode(!0);return i.removeAttribute("id"),t.elm=i,n.set(t,t.values()),!0},this.remove=function(e){e.elm.parentNode===t.list&&t.list.removeChild(e.elm)},this.show=function(e){n.create(e),t.list.appendChild(e.elm)},this.hide=function(e){void 0!==e.elm&&e.elm.parentNode===t.list&&t.list.removeChild(e.elm)},this.clear=function(){if(t.list.hasChildNodes())for(;t.list.childNodes.length>=1;)t.list.removeChild(t.list.firstChild)},function(){(e=n.getItemSource(t.item))&&(e=n.clearSourceItem(e,t.valueNames))}()};t.exports=function(t){return new n(t)}},function(t,e){t.exports=function(t,e){var n=t.getAttribute&&t.getAttribute(e)||null;if(!n)for(var i=t.attributes,r=i.length,o=0;o<r;o++)void 0!==e[o]&&e[o].nodeName===e&&(n=e[o].nodeValue);return n}},function(t,e,n){"use strict";function i(t){return t>=48&&t<=57}function r(t,e){for(var n=(t+="").length,r=(e+="").length,o=0,l=0;o<n&&l<r;){var u=t.charCodeAt(o),c=e.charCodeAt(l);if(i(u)){if(!i(c))return u-c;for(var d=o,h=l;48===u&&++d<n;)u=t.charCodeAt(d);for(;48===c&&++h<r;)c=e.charCodeAt(h);for(var f=d,p=h;f<n&&i(t.charCodeAt(f));)++f;for(;p<r&&i(e.charCodeAt(p));)++p;var g=f-d-p+h;if(g)return g;for(;d<f;)if(g=t.charCodeAt(d++)-e.charCodeAt(h++))return g;o=f,l=p}else{if(u!==c)return u<s&&c<s&&-1!==a[u]&&-1!==a[c]?a[u]-a[c]:u-c;++o,++l}}return n-r}var o,a,s=0;r.caseInsensitive=r.i=function(t,e){return r((""+t).toLowerCase(),(""+e).toLowerCase())},Object.defineProperties(r,{alphabet:{get:function(){return o},set:function(t){o=t,a=[];var e=0;if(o)for(;e<o.length;e++)a[o.charCodeAt(e)]=e;for(s=a.length,e=0;e<s;e++)void 0===a[e]&&(a[e]=-1)}}}),t.exports=r},function(t,e){t.exports=function(t,e,n){function i(t,n){var i=t/e.length,r=Math.abs(s-n);return o?i+r/o:r?1:i}var r=n.location||0,o=n.distance||100,a=n.threshold||.4;if(e===t)return!0;if(e.length>32)return!1;var s=r,l=function(){var t,n={};for(t=0;t<e.length;t++)n[e.charAt(t)]=0;for(t=0;t<e.length;t++)n[e.charAt(t)]|=1<<e.length-t-1;return n}(),u=a,c=t.indexOf(e,s);-1!=c&&(u=Math.min(i(0,c),u),-1!=(c=t.lastIndexOf(e,s+e.length))&&(u=Math.min(i(0,c),u)));var d=1<<e.length-1;c=-1;for(var h,f,p,g=e.length+t.length,v=0;v<e.length;v++){for(h=0,f=g;h<f;)i(v,s+f)<=u?h=f:g=f,f=Math.floor((g-h)/2+h);g=f;var m=Math.max(1,s-f+1),y=Math.min(s+f,t.length)+e.length,b=Array(y+2);b[y+1]=(1<<v)-1;for(var _=y;_>=m;_--){var x=l[t.charAt(_-1)];if(b[_]=0===v?(b[_+1]<<1|1)&x:(b[_+1]<<1|1)&x|(p[_+1]|p[_])<<1|1|p[_+1],b[_]&d){var w=i(v,_-1);if(w<=u){if(u=w,!((c=_-1)>s))break;m=Math.max(1,2*s-c)}}}if(i(v+1,s)>u)break;p=b}return!(c<0)}}]);
diff --git a/public/mix-manifest.json b/public/mix-manifest.json
index 4444c19b40..c6080ee710 100644
--- a/public/mix-manifest.json
+++ b/public/mix-manifest.json
@@ -1,5 +1,5 @@
{
- "/js/build/app.js": "/js/build/app.js?id=f1cc6a7ff104c9cbd2e4",
+ "/js/build/app.js": "/js/build/app.js?id=b6b7fb0548a3b41f9c29",
"/css/build/AdminLTE.css": "/css/build/AdminLTE.css?id=59413334823616b81341",
"/css/build/app.css": "/css/build/app.css?id=3911a887c2bdc7d0b528",
"/css/build/overrides.css": "/css/build/overrides.css?id=688f59cd273484405f9b",
@@ -19,8 +19,8 @@
"/css/dist/skins/skin-orange-dark.css": "/css/dist/skins/skin-orange-dark.css?id=71c178700d68294e3413",
"/css/dist/skins/skin-orange.css": "/css/dist/skins/skin-orange.css?id=b4fc4a74e1f6367dc3e2",
"/css/dist/all.css": "/css/dist/all.css?id=cd644954b1fc39b7f25b",
- "/css/blue.png": "/css/blue.png?id=4c85d6a97173123bd14a",
- "/css/[email protected]": "/css/[email protected]?id=62c67c6a822439e8a4ac",
+ "/css/blue.png": "/css/blue.png?id=e83a6c29e04fe851f212",
+ "/css/[email protected]": "/css/[email protected]?id=51135dd4d24f88f5de0b",
"/css/dist/skins/skin-green-dark.min.css": "/css/dist/skins/skin-green-dark.min.css?id=0cfa39cacd9c83b4f53b",
"/css/dist/skins/skin-black-dark.min.css": "/css/dist/skins/skin-black-dark.min.css?id=6bd9c2420a41eaf96f0b",
"/css/dist/skins/skin-blue-dark.min.css": "/css/dist/skins/skin-blue-dark.min.css?id=2f665cf40d7348b3f94c",
@@ -34,5 +34,5 @@
"/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=a534edb9f7179f6dcf62",
"/js/build/vendor.js": "/js/build/vendor.js?id=ac70ab5fd89efc2aa7d0",
"/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=9407782198cbc29f23d1",
- "/js/dist/all.js": "/js/dist/all.js?id=43e4e9e0ddff773e54b2"
+ "/js/dist/all.js": "/js/dist/all.js?id=abd573b5d5ffa3b96e14"
}
diff --git a/resources/assets/js/components/importer/importer-file.vue b/resources/assets/js/components/importer/importer-file.vue
index f876e1aee5..d8ef4fd1bb 100644
--- a/resources/assets/js/components/importer/importer-file.vue
+++ b/resources/assets/js/components/importer/importer-file.vue
@@ -11,13 +11,14 @@ tr {
<div class="col-md-2"></div>
<div class="col-md-8" style="padding-top: 30px; margin: 0 auto;">
<div class="dynamic-form-row">
- <div class="col-md-5 col-xs-12">
- <label for="import-type">Import Type:</label>
- </div>
- <div class="col-md-7 col-xs-12">
- <select2 :options="options.importTypes" v-model="options.importType" required>
- <option disabled value="0"></option>
- </select2>
+ <div class="col-md-5 col-xs-12">
+ <label for="import-type">Import Type:</label>
+ </div>
+ <div class="col-md-7 col-xs-12">
+ <select2 :options="options.importTypes" v-model="options.importType" required>
+ <option disabled value="0"></option>
+ </select2>
+ </div>
</div>
</div>
<div class="dynamic-form-row">
@@ -128,7 +129,6 @@ tr {
general: [
{id: 'category', text: 'Category' },
{id: 'company', text: 'Company' },
- {id: 'checkout_to', text: 'Checked out to' },
{id: 'email', text: 'Email' },
{id: 'item_name', text: 'Item Name' },
{id: 'location', text: 'Location' },
@@ -161,7 +161,9 @@ tr {
{id: 'model_number', text: "Model Number"},
],
licenses: [
+ {id: 'asset_tag', text: 'Assigned To Asset'},
{id: 'expiration_date', text: 'Expiration Date' },
+ {id: 'full_name', text: 'Full Name' },
{id: 'license_email', text: 'Licensed To Email' },
{id: 'license_name', text: 'Licensed To Name' },
{id: 'purchase_order', text: 'Purchase Order' },
diff --git a/sample_csvs/MOCK_LICENSES.csv b/sample_csvs/MOCK_LICENSES.csv
index 487f8e1e24..1689d8228f 100644
--- a/sample_csvs/MOCK_LICENSES.csv
+++ b/sample_csvs/MOCK_LICENSES.csv
@@ -1,139 +1,149 @@
-Name,Email,Username,Item name,serial number,manufacturer,purchase date,purchase cost,purchase_order,order number,Licensed To Name,Licensed to Email,expiration date,maintained,reassignable,seats,company,supplier,notes
-Helen Anderson,[email protected],cspencer0,Argentum Malachite Athletes Foot Relief,1aa5b0eb-79c5-40b2-8943-5472a6893c3c,"Beer, Leannon and Lubowitz",07/13/2012,$79.66,53008,386436062-5,Cynthia Spencer,[email protected],01/27/2016,false,no,80,"Haag, Schmidt and Farrell","Hegmann, Mohr and Cremin","Sed ante. Vivamus tortor. Duis mattis egestas metus.
+Full Name,Email,Username,Item name,serial number,Category,manufacturer,purchase date,purchase cost,purchase order,order number,Licensed To Name,Licensed to Email,expiration date,maintained,reassignable,seats,company,supplier,notes
+Bevon Ibarra,[email protected],jgoodsell0,"Acetaminophen, Chlorpheniramine maleate, Phenylephrine HCl",4c2713a1-5b73-4ecb-b2e9-62bf0ff57165,Reverse-engineered incremental migration,Mayer-Bergnaum,11/24/2008,$12.58,34197,749317252-8,Jelene Goodsell,[email protected],02/26/2016,false,yes,56,Gislason-Hagenes,Treutel Inc,"Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
-Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh."
-Thomas Franklin,[email protected],bgibson1,Hydralazine Hydrochloride,c6f022c1-6a5d-447c-889b-6b371dcdf733,Marvin Inc,03/05/2002,$17.47,57537,257871081-3,Bobby Gibson,[email protected],09/10/2016,true,FALSE,5,"Grady, Macejkovic and Harris",Prohaska LLC,"Duis bibendum. Morbi non quam nec dui luctus rutrum. Nulla tellus.
+Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl."
+Brant Turley,[email protected],estrowan1,Mirtazapine,9dda5116-ec27-4a64-a566-1cb06513460f,Grass-roots system-worthy focus group,,12/27/1981,$41.70,,420038879-0,Ericka Strowan,[email protected],04/12/2016,false,no,55,,,
+Gilligan O'Kinneally,[email protected],kgillet2,"Aconitum napellus, Arsenicum album, Coffea cruda, Euphorbium officinarum, Gnaphalium polycephalum, Hypericum perforatum, Magnesia phosphorica, Passiflora incarnata, Ranunculus bulbosus,",e93c361f-1cf3-4fc3-bfeb-f3dee49452fc,Right-sized 4th generation instruction set,Schmeler Group,04/13/1989,$66.07,64491,398520367-9,Kevon Gillet,[email protected],04/03/2016,true,yes,23,Hodkiewicz LLC,Lakin-Sauer,"Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.
-In sagittis dui vel nisl. Duis ac nibh. Fusce lacus purus, aliquet at, feugiat non, pretium quis, lectus."
-Russell Gutierrez,[email protected],rwallace2,etanercept,0e97134a-63f4-451b-b42e-b3c5d9f8c55c,"Rodriguez, Dietrich and D'Amore",03/01/1984,$5.31,34889,836738603-5,Raymond Wallace,[email protected],09/06/2016,false,false,37,Ziemann Group,Olson-Murazik,"Proin eu mi. Nulla ac enim. In tempor, turpis nec euismod scelerisque, quam turpis adipiscing lorem, vitae mattis nibh ligula nec sem."
-Russell Harris,[email protected],kcunningham3,Diltiazem Hydrochloride,4db4abb2-4dc5-4801-8c62-0ce702725975,Thompson and Sons,05/15/1987,$73.70,39347,408046970-5,Kathleen Cunningham,[email protected],08/06/2016,false,sometimes,80,Gusikowski Group,"Ritchie, Gutmann and Terry",Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.
-Lois Hill,[email protected],wdaniels4,"BACITRACIN ZINC, NEOMYCIN SULFATE, POLYMYXIN-B SULFATE",e7feeab5-98e5-4c44-b303-7693796cee2b,Wiegand LLC,01/18/2011,$23.30,70726,911844083-5,Walter Daniels,[email protected],04/23/2016,false,no,89,Kuvalis Inc,"Schoen, Lynch and Kuhic","Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.
+In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet.
-Fusce consequat. Nulla nisl. Nunc nisl."
-Clarence Stanley,[email protected],mhoward5,sodium fluoride,c2f965fc-f701-4eaf-94d3-ce84dfba5002,,02/08/1982,$97.34,,220460709-6,Marie Howard,[email protected],05/07/2016,false,false,32,,,
-Janet Cooper,[email protected],dmartinez6,dextromethorphan hydrobromide and menthol,e1cdc73c-c1bb-4949-83f6-d17cc96c7034,,03/29/2015,$95.70,,116567388-6,Denise Martinez,[email protected],03/02/2016,false,,82,,,
-Jose Cruz,[email protected],jtorres7,Isopropyl Alcohol,4e9970a7-c9b4-4a3a-8fb6-d2560e4740e9,Rath Group,07/06/2016,$58.88,59165,232359646-2,Jacqueline Torres,[email protected],07/01/2016,true,NO,34,Kshlerin Inc,Johns-Little,Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.
-Heather Hamilton,[email protected],jbrooks8,Calcium Gluconate,fbd4a0bb-51bf-4602-8ca0-c103064969b1,"Yundt, Bahringer and Upton",11/16/2011,$81.03,66798,445210062-7,Jeremy Brooks,[email protected],09/10/2016,true,TRUE,96,"Streich, Powlowski and Denesik",Feest-Prosacco,In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet.
-Lois Banks,[email protected],dbennett9,Lorazepam,ce346a8c-54f2-426e-9f6e-0e56ee0cd272,,,$54.15,,675338655-6,David Bennett,[email protected],05/01/2016,false,true,77,,,
-Teresa Romero,[email protected],tturnera,TITANIUM DIOXIDE,e6d8db5f-f816-4ecd-8be0-410ac1080618,Hartmann-Christiansen,03/23/1981,$43.29,20552,823104280-6,Todd Turner,[email protected],12/30/2016,false,sometimes,62,Beier-Cummings,"Thompson, Prohaska and Johns","Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.
+Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam. Cras pellentesque volutpat dui."
+Cathy Vanini,[email protected],mferreo3,Gabapentin,e04d59af-7a42-468d-b11c-83b4c1fa2ee3,Pre-emptive solution-oriented adapter,Mertz and Sons,11/18/1981,$15.74,20450,272222159-4,Mario Ferreo,[email protected],09/17/2016,true,no,48,Herman and Sons,"Schuppe, Johnson and Heller","Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi.
-In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet."
-Jerry Thompson,[email protected],jgrayb,Lisinopril,debf33e7-4b88-4ab3-8510-433c21418b97,"Zieme, Mayert and Sanford",,$11.04,86140,009011161-3,Jennifer Gray,[email protected],12/01/2016,false,yes,76,"Hudson, Frami and Reichert",Corkery-Pagac,"Proin eu mi. Nulla ac enim. In tempor, turpis nec euismod scelerisque, quam turpis adipiscing lorem, vitae mattis nibh ligula nec sem.
+Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque."
+Lorene Lambrecht,[email protected],aimm4,Doxazosin Mesylate,89da2922-3639-4654-8c3e-58a8b95db32c,Monitored intermediate service-desk,Mayert-Homenick,02/23/1998,$78.19,69356,027802149-2,Alaster Imm,[email protected],04/11/2016,true,no,70,Hagenes Inc,"Wehner, Jaskolski and Champlin","Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus.
-Duis aliquam convallis nunc. Proin at turpis a pede posuere nonummy. Integer non velit."
-Helen Peters,[email protected],astonec,Hyoscyamine Sulfate,9adcb06d-3d81-4e2c-8a27-235616274203,"Beier, Lang and Moore",01/04/2005,$93.27,38153,609876637-1,Andrea Stone,[email protected],05/16/2016,true,true,89,Kiehn-Douglas,Swaniawski-Bernhard,"Donec diam neque, vestibulum eget, vulputate ut, ultrices vel, augue. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec pharetra, magna vestibulum aliquet ultrices, erat tortor sollicitudin mi, sit amet lobortis sapien sapien non mi. Integer ac neque."
-Marie Williamson,[email protected],jwardd,"dextromethorphan hydrobromide, guaifenesin, and phenylephrine hydrochloride",c4947269-22c4-4ba0-80a8-5a45a12032e2,"Cummerata, Considine and Weimann",06/10/1981,$45.82,62145,054787864-8,James Ward,[email protected],02/12/2016,true,yes,78,"Osinski, Jacobi and Wisozk",Miller Inc,"Integer tincidunt ante vel ipsum. Praesent blandit lacinia erat. Vestibulum sed magna at nunc commodo placerat.
+Phasellus in felis. Donec semper sapien a libero. Nam dui."
+Willey Mattityahou,[email protected],rjanaszkiewicz5,Loperamide Hydrochloride,5180a72a-9978-41e9-89cb-f5b6913a7d89,Focused secondary product,Ortiz Inc,12/15/2008,$15.75,69285,953084568-5,Reggie Janaszkiewicz,[email protected],06/12/2016,false,FALSE,16,Lockman and Sons,Braun LLC,"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus.
-Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede.
+Vestibulum quam sapien, varius ut, blandit non, interdum in, ante. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis faucibus accumsan odio. Curabitur convallis."
+Mignonne Kirkup,[email protected],jlepiscopio6,Fluorescein Sodium,9001ff29-fbda-4095-944b-7a371179e5a6,Triple-buffered client-server conglomeration,,12/10/2007,$85.82,,514100350-7,Jereme L'Episcopio,[email protected],12/17/2016,false,TRUE,7,,,
+Cate McGavin,[email protected],aprobbings7,OCTINOXATE and TITANIUM DIOXIDE,1b7fd855-55d9-4034-9899-42a9095d3cde,Robust background circuit,Runte-Hartmann,01/29/1998,$64.32,41152,997334813-3,Alaric Probbings,[email protected],05/14/2016,false,true,78,Leffler Group,"Grady, Crona and Luettgen",Aenean lectus. Pellentesque eget nunc. Donec quis orci eget orci vehicula condimentum.
+Bradan Sipson,[email protected],lalliban8,"Apis Mellifica, Arsenicum Album, Borax, Capsicum Annuum, Graphites, Mentha piperita, Mezereum, Natrum muriaticum, Nux vomica, Petroleum, Ranunculus bulbosus",d420f5cf-36bb-43e7-9c1d-0e7703e492fd,Public-key dedicated service-desk,Botsford-Boyle,05/30/2000,$25.15,93671,462155625-8,Lukas Alliban,[email protected],11/03/2016,true,false,30,Brakus-Gaylord,Auer Group,"Vestibulum ac est lacinia nisi venenatis tristique. Fusce congue, diam id ornare imperdiet, sapien urna pretium nisl, ut volutpat sapien arcu sed augue. Aliquam erat volutpat.
-Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem."
-Marilyn Nguyen,[email protected],alawrencee,DIMETHICONE,777dd0e2-229d-452a-a362-8a92c24bce39,Larson-Turner,03/09/1996,$8.90,70188,658299511-1,Anthony Lawrence,[email protected],07/11/2016,false,false,80,Bogan Group,"Corwin, Stokes and Keebler","Proin leo odio, porttitor id, consequat in, consequat ut, nulla. Sed accumsan felis. Ut at dolor quis odio consequat varius."
-Sarah Jordan,[email protected],twebbf,Magesium Citrate,70c3c342-6760-4772-82f8-40d4df93ec19,Nitzsche-Bednar,09/04/1993,$91.89,19815,549157091-5,Thomas Webb,[email protected],11/07/2016,false,YES,29,"Murazik, Eichmann and Orn",Howe Group,In hac habitasse platea dictumst. Etiam faucibus cursus urna. Ut tellus.
-Marilyn Greene,[email protected],pgilbertg,Glycopyrrolate,d3769f63-8a02-47dc-8195-501ace6d1a76,"Hartmann, Schuppe and Maggio",11/18/1984,$36.82,17514,467492572-X,Philip Gilbert,[email protected],03/26/2016,false,false,11,"Kerluke, Bednar and Kuphal",Hilpert Inc,"In sagittis dui vel nisl. Duis ac nibh. Fusce lacus purus, aliquet at, feugiat non, pretium quis, lectus.
+In congue. Etiam justo. Etiam pretium iaculis justo."
+Gare Paddison,[email protected],cogan9,DOCUSATE SODIUM,3025458b-920e-4c05-ad8b-f42e047f2dde,Assimilated optimal circuit,Tremblay LLC,02/18/1982,$82.42,28468,295163448-X,Cassi Ogan,[email protected],11/08/2016,true,yes,92,"McDermott, DuBuque and Rau",Glover-Emard,"Vestibulum ac est lacinia nisi venenatis tristique. Fusce congue, diam id ornare imperdiet, sapien urna pretium nisl, ut volutpat sapien arcu sed augue. Aliquam erat volutpat.
-Suspendisse potenti. In eleifend quam a odio. In hac habitasse platea dictumst.
+In congue. Etiam justo. Etiam pretium iaculis justo.
-Maecenas ut massa quis augue luctus tincidunt. Nulla mollis molestie lorem. Quisque ut erat."
-Anna Burton,[email protected],tbennetth,Finasteride,25e46967-c6a9-42f0-8458-9d6eeb4d5fb6,Volkman LLC,04/23/1999,$94.12,24353,897915880-7,Thomas Bennett,[email protected],10/09/2016,true,true,70,Considine LLC,Lemke-Leffler,"Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris.
+In hac habitasse platea dictumst. Etiam faucibus cursus urna. Ut tellus."
+Brennan Danielski,[email protected],stomasicchioa,Rosuvastatin calcium,b4ee3922-378c-4131-874f-8ebc5d280bc5,Object-based content-based secured line,"Ledner, Torphy and Schmitt",02/26/1986,$17.12,90269,401008001-9,Steffi Tomasicchio,[email protected],12/13/2016,false,sometimes,49,"Mueller, Ernser and Smitham","Lemke, O'Kon and Hills","Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi.
-Morbi non lectus. Aliquam sit amet diam in magna bibendum imperdiet. Nullam orci pede, venenatis non, sodales sed, tincidunt eu, felis.
+Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque."
+Melody Harbidge,[email protected],bgoomsb,"fluocinolone acetonide, hydroquinone, and tretinoin",01ec85ac-5473-4ee0-a988-0864dfd6722d,Vision-oriented bifurcated system engine,"Farrell, Treutel and Haag",01/14/1985,$56.03,83323,433717940-2,Becki Gooms,[email protected],09/17/2016,false,true,32,Sawayn-Larson,"Nolan, O'Keefe and Wiza","Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.
-Fusce posuere felis sed lacus. Morbi sem mauris, laoreet ut, rhoncus aliquet, pulvinar sed, nisl. Nunc rhoncus dui vel sem."
-Randy Harrison,[email protected],cjohnsoni,"OCTINOXATE, TITANIUM DIOXIDE",99f3615d-f4ae-44c3-ba37-ed1cc783d95b,Skiles-Feil,10/07/1997,$96.45,51684,282994437-2,Charles Johnson,[email protected],12/22/2016,false,,44,Johnson LLC,Stokes-Hahn,"In hac habitasse platea dictumst. Morbi vestibulum, velit id pretium iaculis, diam erat fermentum justo, nec condimentum neque sapien placerat ante. Nulla justo.
+Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris."
+Winifred Clough,[email protected],tchiversc,"Avobenzone, Octocrylene, Phenylbenzimidazole Sulfonic Acid",8bbc431f-b571-4912-9cc6-64c08512f1f2,Cloned 3rd generation function,Harvey-Hickle,11/05/2016,$45.82,76764,733010158-3,Tan Chivers,[email protected],01/22/2016,true,NO,73,O'Connell-Klocko,Nikolaus-McGlynn,"Curabitur at ipsum ac tellus semper interdum. Mauris ullamcorper purus sit amet nulla. Quisque arcu libero, rutrum ac, lobortis vel, dapibus at, diam."
+Hermine Vischi,[email protected],tdreusd,BENZALKONIUM CHLORIDE,97e50f8b-270f-4d67-b191-1e015096d472,Compatible encompassing matrix,Bernier and Sons,04/14/2014,$97.46,78245,392918422-2,Teddi Dreus,[email protected],02/16/2016,false,no,92,"Renner, McCullough and Walsh","Collier, Schuster and Block","Proin leo odio, porttitor id, consequat in, consequat ut, nulla. Sed accumsan felis. Ut at dolor quis odio consequat varius.
-Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.
+Integer ac leo. Pellentesque ultrices mattis odio. Donec vitae nisi."
+Georgina O'Cullinane,[email protected],gsupplee,PHENYLEPHRINE HYDROCHLORIDE,e1d8e28c-d543-42db-a7b6-cb1128a8effd,Synergistic optimal orchestration,Crist Inc,05/13/1987,$15.81,59115,712672732-1,Grace Supple,[email protected],05/04/2016,true,TRUE,39,Weber LLC,Schuppe-Runolfsdottir,"Phasellus in felis. Donec semper sapien a libero. Nam dui.
-Sed ante. Vivamus tortor. Duis mattis egestas metus."
-Eric Fuller,[email protected],khartj,Allergenic Extracts Alum Precipitated,c8b6b2ac-2b4b-4575-9636-aee12430d0d0,Gislason-Hermann,02/24/1986,$63.81,75717,039291443-3,Katherine Hart,[email protected],10/02/2016,false,YES,86,"Stroman, Fay and Roob",Wehner-Altenwerth,"Pellentesque at nulla. Suspendisse potenti. Cras in purus eu magna vulputate luctus.
+Proin leo odio, porttitor id, consequat in, consequat ut, nulla. Sed accumsan felis. Ut at dolor quis odio consequat varius."
+Malory Charlotte,[email protected],stemplarf,"Acetaminophen, Dextromethorphan HBr, Doxylamine succinate",23f475d3-74a5-43eb-8cd9-345f6ddfb423,Customer-focused optimizing product,Ruecker-Zemlak,09/14/1981,$44.86,21142,438762010-2,Sigfried Templar,[email protected],04/02/2016,false,NO,53,Graham-King,Collier LLC,"Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.
+
+Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris.
+
+Morbi non lectus. Aliquam sit amet diam in magna bibendum imperdiet. Nullam orci pede, venenatis non, sodales sed, tincidunt eu, felis."
+Nat Overthrow,[email protected],jkiendlg,Isopropyl Alcohol,4f40fa12-f799-4029-8a30-71aca4fab9be,Extended 3rd generation firmware,,12/14/2014,$52.86,,339064626-4,Jonathon Kiendl,[email protected],07/07/2016,false,true,29,,,
+Tana Middleditch,[email protected],osheardh,OCTINOXATE OCTISALATE TITANIUM DIOXIDE,23b40848-16fb-4023-a94b-5be44c080a88,Ameliorated needs-based data-warehouse,Reichert-Ebert,12/27/2010,$89.06,67203,061661177-3,Obed Sheard,[email protected],08/25/2016,false,,2,O'Connell Group,"Wolff, Wehner and Oberbrunner","Maecenas ut massa quis augue luctus tincidunt. Nulla mollis molestie lorem. Quisque ut erat.
+
+Curabitur gravida nisi at nibh. In hac habitasse platea dictumst. Aliquam augue quam, sollicitudin vitae, consectetuer eget, rutrum at, lorem."
+Giffer Tarling,[email protected],vbasterfieldi,Hydralazine Hydrochloride,1fb3906f-8730-4dda-b8b7-896fdf092c4a,Streamlined dynamic hardware,,10/15/2005,$20.71,,433426291-0,Victor Basterfield,[email protected],09/08/2016,false,YES,79,,,
+Doug Penquet,[email protected],karblasterj,Homeopathic Liquid,dcc764ec-011b-4fc1-abd3-e360089581b4,Ameliorated client-driven secured line,Hills and Sons,01/17/1995,$48.64,38562,003915810-1,Korey Arblaster,[email protected],07/17/2016,true,true,69,"Smith, Corwin and Schroeder",Goyette-Goodwin,In hac habitasse platea dictumst. Etiam faucibus cursus urna. Ut tellus.
+Tiphanie Witton,[email protected],selsayk,oxybutynin chloride,aad1618a-3d49-46d7-90da-c19503f927f8,Inverse mission-critical model,O'Keefe Group,03/06/1984,$78.97,80346,255771806-8,Stefanie Elsay,[email protected],01/22/2016,false,,6,Spencer-Torp,Ullrich Inc,"Vestibulum ac est lacinia nisi venenatis tristique. Fusce congue, diam id ornare imperdiet, sapien urna pretium nisl, ut volutpat sapien arcu sed augue. Aliquam erat volutpat.
-Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
+In congue. Etiam justo. Etiam pretium iaculis justo."
+Gibby Biford,[email protected],bemblinl,Acyclovir,e40d7183-eebe-47c6-9ec6-e54c36a80096,Profit-focused incremental orchestration,Buckridge Group,,$46.88,56260,426095673-6,Bron Emblin,[email protected],08/28/2016,true,no,94,Zemlak-Kreiger,Mante-Hessel,"Phasellus sit amet erat. Nulla tempus. Vivamus in felis eu sapien cursus vestibulum.
-Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem."
-William Perkins,[email protected],mwardk,Pseudoephedrine HCl,0f241979-af54-4447-8939-4cc0c77a50b6,"Gorczany, Walker and Schaden",06/23/1982,$12.85,37375,947683395-5,Melissa Ward,[email protected],02/03/2016,true,,81,"Fahey, O'Reilly and Rempel","Gerhold, Feeney and Bashirian","Morbi non lectus. Aliquam sit amet diam in magna bibendum imperdiet. Nullam orci pede, venenatis non, sodales sed, tincidunt eu, felis.
+Proin eu mi. Nulla ac enim. In tempor, turpis nec euismod scelerisque, quam turpis adipiscing lorem, vitae mattis nibh ligula nec sem.
-Fusce posuere felis sed lacus. Morbi sem mauris, laoreet ut, rhoncus aliquet, pulvinar sed, nisl. Nunc rhoncus dui vel sem.
+Duis aliquam convallis nunc. Proin at turpis a pede posuere nonummy. Integer non velit."
+Hymie Cameron,[email protected],vdallonm,losartan potassium,bf6a7eef-d6a5-4d06-ab63-631841deb014,Enhanced mission-critical functionalities,,03/25/2003,$85.19,,966275591-8,Venus Dallon,[email protected],11/04/2016,false,yes,6,,,
+Jeanette Clowes,[email protected],bhartlandn,Benzalkonium Chloride,e5dbc5e2-bd36-48c4-93a6-2002fa82e38f,Assimilated tangible functionalities,"Grady, Bernhard and Yost",12/02/1994,$53.96,45800,089164796-1,Brandtr Hartland,[email protected],05/30/2016,true,NO,33,Schmeler-McKenzie,"Moen, Purdy and Schultz","In congue. Etiam justo. Etiam pretium iaculis justo.
+
+In hac habitasse platea dictumst. Etiam faucibus cursus urna. Ut tellus."
+Diane Larmet,[email protected],tallabartono,ASARUM EUROPAEUM,db26726d-02d7-46de-9fef-72537b8f5e73,Centralized 24 hour data-warehouse,"Altenwerth, Wuckert and Feest",11/02/1999,$32.31,39634,983426091-1,Tremayne Allabarton,[email protected],08/15/2016,true,no,26,"Beahan, Koch and Heidenreich",Kirlin-Bruen,"Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem."
+Alley Shyre,[email protected],bdurbridgep,loperamide HCl,9f659b3d-3ca7-442b-b9f9-85df21738d20,Customizable stable core,Weimann Inc,,$47.90,73216,483676849-7,Bridget Durbridge,[email protected],07/20/2016,false,TRUE,13,"Mosciski, Wolf and Bruen",Will Group,"Fusce posuere felis sed lacus. Morbi sem mauris, laoreet ut, rhoncus aliquet, pulvinar sed, nisl. Nunc rhoncus dui vel sem.
Sed sagittis. Nam congue, risus semper porta volutpat, quam pede lobortis ligula, sit amet eleifend pede libero quis orci. Nullam molestie nibh in lectus."
-Jose Hicks,[email protected],lbarnesl,Ampicillin Sodium,c43a1438-51a5-4f1d-8011-c3830caa3506,Robel-Gutkowski,11/01/1982,$66.70,57574,006385318-3,Lillian Barnes,[email protected],09/08/2016,false,YES,3,"Stark, Gerlach and Shields",Baumbach LLC,"Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.
+Karine Philipard,[email protected],amcilwraithq,Nifedipine,f8e28161-ee5c-4e90-9276-8928d8a1fe45,Re-engineered clear-thinking instruction set,"Kiehn, Auer and Cruickshank",10/13/1994,$29.88,95585,584880185-1,Annabal McIlwraith,[email protected],06/16/2016,true,sometimes,57,Bauch and Sons,Hartmann Inc,"Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
-Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
+Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl.
-Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl."
-Susan Moreno,[email protected],lhawkinsm,OXYGEN,da1e684c-5e85-41fe-acd1-c82cec15971b,"Waelchi, Wisozk and Price",10/20/1991,$91.48,10257,386667729-4,Lisa Hawkins,[email protected],06/03/2016,true,true,38,Schamberger-Farrell,Nienow-Corkery,"Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede.
+Aenean lectus. Pellentesque eget nunc. Donec quis orci eget orci vehicula condimentum."
+Tate Beckson,[email protected],hcordenr,NITROGLYCERIN,23b9128a-080d-40f1-bc9d-ed9f35d15c63,Virtual solution-oriented benchmark,"Ruecker, Hilll and Dicki",06/23/1999,$83.48,11095,779580200-1,Hercule Corden,[email protected],02/07/2016,true,yes,72,Bahringer and Sons,Aufderhar-Hudson,"Proin leo odio, porttitor id, consequat in, consequat ut, nulla. Sed accumsan felis. Ut at dolor quis odio consequat varius.
-Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem.
+Integer ac leo. Pellentesque ultrices mattis odio. Donec vitae nisi.
-Fusce consequat. Nulla nisl. Nunc nisl."
-Diana Fisher,[email protected],jgeorgen,Dyphylline and Guaifenesin,26db2092-d53f-40e9-be4f-bf19d3f0dfac,,06/24/1983,$18.29,,313818090-6,Jimmy George,[email protected],04/30/2016,false,sometimes,70,,,
-Edward Cox,[email protected],cjenkinso,"Kali mur , Kali sulph , Kali bich , Citricidal Extract",022615bf-4b84-4da1-9314-a14dc499d7b2,"Batz, Miller and Mohr",11/09/1992,$55.47,79996,164863759-0,Christopher Jenkins,[email protected],05/20/2016,false,false,61,"Turner, Jenkins and Ziemann",Brekke-Cremin,"Pellentesque at nulla. Suspendisse potenti. Cras in purus eu magna vulputate luctus.
+Nam ultrices, libero non mattis pulvinar, nulla pede ullamcorper augue, a suscipit nulla elit ac nulla. Sed vel enim sit amet nunc viverra dapibus. Nulla suscipit ligula in lacus."
+Davide Garrioch,[email protected],abeacocks,PYRETHRUM CINERARIIFOLIUM,348dc629-504f-4266-9d12-93ec1a51b5de,Vision-oriented coherent standardization,,12/04/2000,$32.19,,836520830-X,Adrianne Beacock,[email protected],03/10/2016,true,,13,,,
+Johny Toll,[email protected],wleveringtont,Oxycodone Hydrochloride and Acetaminophen,a8e9517c-eb63-4743-8eaf-11fe9f76dc60,Multi-lateral next generation archive,Wiza-Haley,04/22/2004,$0.41,21378,607407045-8,Wallache Leverington,[email protected],05/13/2016,false,TRUE,23,"Steuber, Hoppe and Bruen",Rempel Inc,"Duis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus.
-Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
+Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero.
-Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem."
-Gregory Simmons,[email protected],amartinp,Fluphenazine Hydrochloride,11fb02d8-8db9-4acd-bcbb-997c5ffa9555,Abshire-Pfeffer,04/28/1985,$86.65,79416,870571903-8,Ann Martin,[email protected],07/07/2016,true,true,12,Larson-Johnson,Rowe Inc,"Morbi porttitor lorem id ligula. Suspendisse ornare consequat lectus. In est risus, auctor sed, tristique in, tempus sit amet, sem."
-Victor Long,[email protected],agrahamq,"Acetaminophen, Dextromethorphan HBr, Guaifenesin, Phenylephrine HCl",7ac19f19-6987-449c-8195-e5a4805055b8,Cummerata and Sons,,$69.05,25399,447273947-X,Ashley Graham,[email protected],10/15/2016,false,FALSE,60,"Sawayn, Kshlerin and Smith","Lemke, Williamson and Marks","Sed ante. Vivamus tortor. Duis mattis egestas metus.
+Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh."
+Anne-corinne Curless,[email protected],cstrydeu,Atorvastatin Calcium,45d86ea6-0012-4970-bba3-6432f03553d6,Sharable 3rd generation forecast,"Rowe, Cartwright and Wiza",06/07/2003,$55.55,88475,970951097-5,Coral Stryde,[email protected],07/01/2016,false,sometimes,43,Balistreri LLC,Wolf-Torphy,"Duis aliquam convallis nunc. Proin at turpis a pede posuere nonummy. Integer non velit.
-Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh."
-Teresa Arnold,[email protected],solsonr,TOXICODENDRON VERNIX LEAFY TWIG,40e87b5d-65b4-457a-9dfc-2bcfb2811246,Hermann and Sons,04/25/1984,$80.42,99285,455923522-8,Shirley Olson,[email protected],02/07/2016,true,FALSE,16,"Wisozk, Hartmann and Schamberger",Pacocha Inc,Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.
-Philip Long,[email protected],tyoungs,ribavirin,0c45d590-1251-4512-a1df-1a05dc9155f4,"Larson, Shanahan and Carter",08/17/2005,$14.28,13758,260847846-8,Terry Young,[email protected],02/26/2016,true,,82,"Kuhn, Brakus and Nolan",McLaughlin-Mosciski,"In hac habitasse platea dictumst. Morbi vestibulum, velit id pretium iaculis, diam erat fermentum justo, nec condimentum neque sapien placerat ante. Nulla justo.
+Donec diam neque, vestibulum eget, vulputate ut, ultrices vel, augue. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec pharetra, magna vestibulum aliquet ultrices, erat tortor sollicitudin mi, sit amet lobortis sapien sapien non mi. Integer ac neque."
+Norine Brakewell,[email protected],ccathesyedv,"Gum, Sweet Liquidambar styraciflua",15741b10-c48b-455e-b225-5020da01a93b,Customer-focused optimal system engine,Hayes Inc,01/02/2011,$92.63,48656,236374986-3,Carolina Cathesyed,[email protected],05/15/2016,true,yes,60,Botsford-Rodriguez,"Stiedemann, Kemmer and Brown","Vestibulum quam sapien, varius ut, blandit non, interdum in, ante. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis faucibus accumsan odio. Curabitur convallis.
-Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.
+Duis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus.
-Sed ante. Vivamus tortor. Duis mattis egestas metus."
-Beverly Hughes,[email protected],jolsont,famotidine,01367534-a9b1-4d68-8aba-1977a80b6948,,02/06/1998,$71.16,,696828218-6,Jack Olson,[email protected],08/01/2016,true,NO,30,,,
-Russell Vasquez,[email protected],aedwardsu,HYDROCODONE BITARTRATE AND IBUPROFEN,5676d28a-c79c-42f7-a76b-424a8ece6d20,Stracke-Schiller,08/30/1989,$20.02,29882,628431288-1,Ashley Edwards,[email protected],05/09/2016,false,true,65,Carter-Homenick,Reinger Inc,"Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
+Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero."
+Bessy Ingerfield,[email protected],rifflandw,GLYCERIN,316812d7-41ff-42aa-8d1a-ffc6befda3b0,Seamless secondary emulation,Wilderman-Zemlak,05/02/1983,$78.78,95469,169865158-9,Raine Iffland,[email protected],04/18/2016,false,TRUE,59,Reynolds Group,Rodriguez-McClure,"Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.
-Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem.
+Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris."
+Kerstin McGrill,[email protected],fsteinx,Aspirin,0a14ff52-1d8c-450e-86a9-cc2069a4213d,Triple-buffered regional analyzer,"Hauck, O'Hara and Dibbert",07/13/2008,$88.52,69629,236206999-0,Farah Stein,[email protected],02/18/2016,true,true,86,Haag-Bailey,Rau LLC,"Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam. Cras pellentesque volutpat dui.
-Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio."
-Patrick Brown,[email protected],snelsonv,Carvedilol,b5a21345-8e25-4fa5-a04b-17863fd96ca6,Gusikowski-Hettinger,10/03/1992,$99.10,52479,044668450-3,Samuel Nelson,[email protected],12/21/2016,false,YES,63,"Hills, Rau and Fay","Wuckert, Hodkiewicz and Denesik",Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.
-Annie Wilson,[email protected],cschmidtw,Diclofenac Sodium,48257383-9220-49b0-8b69-7aba85309cd9,Cruickshank and Sons,08/11/2003,$98.46,19740,891683066-4,Cheryl Schmidt,[email protected],08/28/2016,false,true,16,Dooley-Moen,Greenholt-Goyette,"Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus.
+Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.
-Phasellus in felis. Donec semper sapien a libero. Nam dui."
-Jennifer Butler,[email protected],jharperx,Amlodipine besylate and Atorvastatin calcium,6ee7167e-caf2-4f55-8e21-6f467cedb012,,08/22/1991,$6.91,,174416888-1,Jessica Harper,[email protected],04/16/2016,false,false,35,,,
-Aaron Harris,[email protected],staylory,Metformin Hydrochloride,b65c1f46-9408-4459-885a-593ece7a5bd7,,03/31/1989,$30.30,,229826432-5,Stephen Taylor,[email protected],03/13/2016,true,yes,69,,,
-Clarence Torres,[email protected],apattersonz,"Naproxen sodium, Pseudoephedrine HCl",277e6d67-4a1e-4edb-bb67-cb863b85429e,"Funk, Weber and Lockman",05/09/1986,$73.99,99424,521068453-9,Alice Patterson,[email protected],07/02/2016,true,FALSE,11,"Lemke, Bins and Wunsch",Glover and Sons,"Duis bibendum. Morbi non quam nec dui luctus rutrum. Nulla tellus.
+Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris."
+Harmonia Scoates,[email protected],sniavesy,ceftazidime,a82f197c-f1ac-4d02-82be-3968427b1bb4,Customer-focused analyzing productivity,Ankunding Group,09/05/2008,$42.54,12643,218498131-1,Sloane Niaves,[email protected],06/30/2016,true,false,4,"Donnelly, Pfeffer and Roberts","Kuvalis, Lubowitz and Zboncak","Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.
-In sagittis dui vel nisl. Duis ac nibh. Fusce lacus purus, aliquet at, feugiat non, pretium quis, lectus."
-Thomas Porter,[email protected],sperkins10,OCTINOXATE and TITANIUM DIOXIDE,c1cb0f14-98bd-4701-912e-02e02364d87d,Quigley Group,12/05/1996,$24.28,25442,757409810-7,Sharon Perkins,[email protected],03/22/2016,true,TRUE,60,Jerde-DuBuque,Tremblay-Cummerata,"Nulla ut erat id mauris vulputate elementum. Nullam varius. Nulla facilisi.
+Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
-Cras non velit nec nisi vulputate nonummy. Maecenas tincidunt lacus at velit. Vivamus vel nulla eget eros elementum pellentesque."
-Patrick Porter,[email protected],dgreene11,bupropion hydrochloride,883dab09-e464-4194-afa5-cd884f3b8701,Howe-Zemlak,07/31/1995,$40.98,91544,871971869-1,Diane Greene,[email protected],06/05/2016,true,NO,99,Bernhard-Gerhold,Swaniawski-Schinner,"Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem.
+Proin interdum mauris non ligula pellentesque ultrices. Phasellus id sapien in sapien iaculis congue. Vivamus metus arcu, adipiscing molestie, hendrerit at, vulputate vitae, nisl."
+Ringo Jeffs,[email protected],gdoylyz,"Piperonyl butoxide, Pyrethrum extract",a8f42a80-444a-4bcb-a7e9-38ded2c702c2,Streamlined leading edge groupware,Maggio and Sons,05/13/2000,$74.67,67907,190797448-2,Gene D'Oyly,[email protected],08/04/2016,false,false,2,Kozey-Romaguera,Kovacek-Lebsack,"Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris.
-Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio."
-Richard Tucker,[email protected],kturner12,Alcohol,e35cac12-40f9-4bfb-962d-28d3ab69cc1e,,04/04/2012,$95.95,,201074756-9,Kelly Turner,[email protected],05/25/2016,false,NO,92,,,
-Jonathan Rogers,[email protected],jwashington13,Birch Black,93aad585-abbf-4433-82a8-dbf651758298,Osinski LLC,07/08/1996,$46.56,21226,506549653-6,Janice Washington,[email protected],06/02/2016,false,YES,92,"Sawayn, Muller and Hauck",Mante-Johnston,"Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.
+Morbi non lectus. Aliquam sit amet diam in magna bibendum imperdiet. Nullam orci pede, venenatis non, sodales sed, tincidunt eu, felis.
-In quis justo. Maecenas rhoncus aliquam lacus. Morbi quis tortor id nulla ultrices aliquet."
-Beverly James,[email protected],bmorales14,"Avobenzone, Octinoxate, and Octisalate",4654bd60-b6d5-472f-9aaa-ff5c58b25850,,11/08/2014,$40.00,,012952073-X,Brandon Morales,[email protected],03/08/2016,true,NO,72,,,
-Wayne Carter,[email protected],jlong15,Alprazolam,63bc155d-46b4-4354-b56b-f65af16467d3,,03/04/2015,$31.82,,028940126-7,John Long,[email protected],02/27/2016,false,sometimes,8,,,
-Julie Hall,[email protected],erichardson16,Carvedilol,44efe270-c6dd-4ee3-8c8e-20253029ed42,"Hane, Bernier and Volkman",12/07/2012,$10.19,73288,654797348-4,Edward Richardson,[email protected],12/30/2016,false,no,24,Goodwin-Mante,Kohler-Davis,"Pellentesque at nulla. Suspendisse potenti. Cras in purus eu magna vulputate luctus.
+Fusce posuere felis sed lacus. Morbi sem mauris, laoreet ut, rhoncus aliquet, pulvinar sed, nisl. Nunc rhoncus dui vel sem."
+Lew Kimmerling,[email protected],ctarbatt10,Allspice,6e358247-071f-478a-8452-28159a9f6da0,Right-sized logistical focus group,"Lakin, Kohler and Rogahn",08/10/1984,$28.33,46894,094697521-3,Charity Tarbatt,[email protected],04/21/2016,true,YES,57,Gislason-Murray,Gerhold LLC,"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus."
+Zorana Clewett,[email protected],emcgettigan11,"Acetaminophen, Guaifenesin, Phenylephrine HCl",ac38aa40-9e5a-4842-8a56-aabae234d828,User-centric zero defect budgetary management,Graham Inc,05/02/1998,$76.28,43880,258048655-0,Ethelin McGettigan,[email protected],02/06/2016,true,YES,29,Powlowski Group,"Kunze, Jakubowski and Tremblay",Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.
+Wilburt Worrell,[email protected],mdealy12,Nadolol,20e2897c-a8f4-4e33-985a-5de751fa675f,Cross-platform 3rd generation solution,Mayert-Jacobs,06/20/2003,$90.84,69931,295626053-7,Mamie Dealy,[email protected],09/10/2016,false,false,56,Baumbach-Rolfson,"Heidenreich, Harris and Halvorson","Proin leo odio, porttitor id, consequat in, consequat ut, nulla. Sed accumsan felis. Ut at dolor quis odio consequat varius.
-Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus vestibulum sagittis sapien. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
+Integer ac leo. Pellentesque ultrices mattis odio. Donec vitae nisi."
+Avie Barnbrook,[email protected],imordan13,GlyBURIDE,78d9f721-6a6f-4b61-9f16-f920330bb413,Progressive transitional parallelism,,09/05/1987,$42.02,,829075761-1,Isa Mordan,[email protected],09/02/2016,false,NO,53,,,
+Godfree Micheli,[email protected],mbonhomme14,Furosemide,8b1cf256-2e75-47d0-9ef1-bd05a7a8aa40,Phased even-keeled moderator,Rath Inc,10/21/2007,$80.18,57057,482496005-3,Marty Bonhomme,[email protected],11/27/2016,false,false,46,Mertz-Jast,Hermann and Sons,"Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem.
-Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem."
-Christopher Chapman,[email protected],dking17,Hydrocodone Bitartrate and Acetaminophen,a167b219-ba83-4035-ab1b-2f9a22eaf3ba,Schneider-Connelly,,$23.22,61196,106996949-4,Denise King,[email protected],09/22/2016,true,YES,85,Koss-Shanahan,Rohan Inc,"Sed ante. Vivamus tortor. Duis mattis egestas metus.
+Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.
-Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh."
-Paula Russell,[email protected],kgreene18,nepafenac,072b14cc-a33b-487f-bebd-721937f0061f,Witting LLC,07/07/1990,$60.29,60580,380670490-2,Kelly Greene,[email protected],09/18/2016,true,no,88,O'Reilly-Heaney,Dickens-Green,"Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam. Cras pellentesque volutpat dui.
+Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit."
+Candida Meedendorpe,[email protected],ostallworthy15,Octinoxate and Titanium Dioxide,fdffc27d-b625-4b4c-a037-7225377bb942,Object-based asymmetric migration,"Medhurst, Homenick and Marquardt",01/06/2007,$35.20,18641,456756372-7,Orsola Stallworthy,[email protected],06/10/2016,false,TRUE,56,"Sanford, Oberbrunner and Stracke",Schulist-Senger,Duis bibendum. Morbi non quam nec dui luctus rutrum. Nulla tellus.
+Dotti Fearey,[email protected],pstanners16,Temazepam,87592e58-5628-4d38-a3ae-fb06df901777,Adaptive well-modulated local area network,Murray Group,01/12/1994,$66.92,70036,393533011-1,Paolo Stanners,[email protected],06/12/2016,false,no,69,Crist and Sons,Moore and Sons,"Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam. Cras pellentesque volutpat dui.
-Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti."
-Joshua Adams,[email protected],sturner19,Sumatriptan Succinate,2ab4b3d3-86fa-48a2-b06d-b29e3fd9f6a3,"Jenkins, Stiedemann and Nolan",09/29/1988,$99.91,93416,252472374-7,Shirley Turner,[email protected],10/21/2016,true,YES,84,Hintz LLC,Koepp-Mante,"Quisque porta volutpat erat. Quisque erat eros, viverra eget, congue eget, semper rutrum, nulla. Nunc purus.
+Maecenas tristique, est et tempus semper, est quam pharetra magna, ac consequat metus sapien ut nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris viverra diam vitae quam. Suspendisse potenti.
-Phasellus in felis. Donec semper sapien a libero. Nam dui."
-Denise Black,[email protected],pnichols1a,Triclosan,528f648b-f8d3-4039-9f1c-13f6dc0bc39d,Koss Group,09/20/1985,$33.55,98845,845091541-4,Paul Nichols,[email protected],12/21/2016,true,TRUE,32,Terry Inc,Kuhic Inc,"Aenean fermentum. Donec ut mauris eget massa tempor convallis. Nulla neque libero, convallis eget, eleifend luctus, ultricies eu, nibh.
+Nullam porttitor lacus at turpis. Donec posuere metus vitae ipsum. Aliquam non mauris."
+Arabela Coneybeare,[email protected],ccrolla17,Lorazepam,1b423a53-d014-4648-9f64-db4807525c2f,Synergistic logistical Graphic Interface,Moore and Sons,06/05/1995,$52.73,14746,087846643-6,Cele Crolla,[email protected],12/14/2016,false,true,56,Aufderhar-Mann,Sauer-Carter,"Etiam vel augue. Vestibulum rutrum rutrum neque. Aenean auctor gravida sem.
-Quisque id justo sit amet sapien dignissim vestibulum. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Nulla dapibus dolor vel est. Donec odio justo, sollicitudin ut, suscipit a, feugiat et, eros.
+Praesent id massa id nisl venenatis lacinia. Aenean sit amet justo. Morbi ut odio.
-Vestibulum ac est lacinia nisi venenatis tristique. Fusce congue, diam id ornare imperdiet, sapien urna pretium nisl, ut volutpat sapien arcu sed augue. Aliquam erat volutpat."
-Benjamin Scott,[email protected],shicks1b,"Magnesium Chloride, Dextrose monohydrate, Lactic Acid, Sodium Chloride, Sodium Bicarbonate, and Potassium Chloride",37966b9e-929e-4269-82bd-a765c73b66cb,Wunsch-Kertzmann,03/02/1981,$81.06,71450,162405257-6,Samuel Hicks,[email protected],03/14/2016,true,TRUE,44,Pacocha Group,"Schmeler, Bogan and Ankunding","Curabitur gravida nisi at nibh. In hac habitasse platea dictumst. Aliquam augue quam, sollicitudin vitae, consectetuer eget, rutrum at, lorem.
+Cras mi pede, malesuada in, imperdiet et, commodo vulputate, justo. In blandit ultrices enim. Lorem ipsum dolor sit amet, consectetuer adipiscing elit."
+Lewie Fancutt,[email protected],gnewdick18,"Aconitum napellus, Asafoetida, Chamomilla, Crocus sativus, Hyoscyamus niger, Ignatia amara, Sumbul, Valeriana officinalis,",49ee5fa4-d441-4d36-8708-29a394044fd3,Fundamental zero administration moderator,O'Kon-Pfannerstill,01/16/2008,$7.55,42229,546659697-3,Gerry Newdick,[email protected],08/30/2016,true,true,91,Howell-Schowalter,"Huel, Walker and Blanda",Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh.
+Farleigh Craisford,[email protected],kfilippi19,"Aconitum napellus, Apis mellifica, Arnica montana, Bellis perennis, Bryonia, Calendula officinalis, Chamomilla, Cistus canadensis, Clematis vitalba, flos",e5a134ef-5a83-42da-a695-2ece98455030,Re-engineered executive pricing structure,,10/05/2013,$80.46,,830372513-0,Kikelia Filippi,[email protected],01/11/2016,false,,37,,,
+Cilka Risdall,[email protected],agrogan1a,PILOCARPINE HYDROCHLORIDE,b13bcb71-4950-4e7b-98ff-120c07ff0a16,Extended reciprocal standardization,Sporer and Sons,08/01/1993,$99.99,11073,839726250-4,Antoni Grogan,[email protected],12/29/2016,true,FALSE,31,Fahey and Sons,Herman-Prohaska,"Maecenas leo odio, condimentum id, luctus nec, molestie sed, justo. Pellentesque viverra pede ac diam. Cras pellentesque volutpat dui."
+Leon Feckey,[email protected],lculshaw1b,ZONISAMIDE,d006b259-bc10-4c6c-aca2-3cdc5957bf90,Reactive cohesive website,Johnson Group,,$75.72,19200,008549857-2,Lynelle Culshaw,[email protected],08/13/2016,false,TRUE,55,McLaughlin Group,Fadel-Botsford,"Curabitur gravida nisi at nibh. In hac habitasse platea dictumst. Aliquam augue quam, sollicitudin vitae, consectetuer eget, rutrum at, lorem.
Integer tincidunt ante vel ipsum. Praesent blandit lacinia erat. Vestibulum sed magna at nunc commodo placerat.
Praesent blandit. Nam nulla. Integer pede justo, lacinia eget, tincidunt eget, tempus vel, pede."
-George Brooks,[email protected],vperry1c,"phenylephrine hcl, brompheniramine maleate",28a602f4-913d-409e-a0f1-096b7945b6af,"Yundt, Smitham and Gibson",07/19/1990,$78.47,73300,906304957-9,Victor Perry,[email protected],11/04/2016,true,NO,54,Watsica Group,"Hamill, Ebert and Eichmann","In congue. Etiam justo. Etiam pretium iaculis justo.
+Lee Barlace,[email protected],psanja1c,Not applicable,44b4441c-c659-4b37-9aed-b6081030e770,Realigned 6th generation structure,Weimann Inc,08/22/1983,$65.31,45540,207737343-1,Pooh Sanja,[email protected],03/01/2016,true,,45,"Beer, Wehner and Bode",Fritsch-Pollich,"Aliquam quis turpis eget elit sodales scelerisque. Mauris sit amet eros. Suspendisse accumsan tortor quis turpis.
-In hac habitasse platea dictumst. Etiam faucibus cursus urna. Ut tellus."
-Beverly Arnold,[email protected],vgarrett1d,Promethazine Hydrochloride,b621c42b-e631-450c-b5e1-638565827fcd,Moen Group,09/05/2006,$93.45,19760,102357338-5,Victor Garrett,[email protected],02/28/2016,true,no,1,"Casper, Cruickshank and Homenick","Feeney, Jacobson and Wolff","Mauris enim leo, rhoncus sed, vestibulum sit amet, cursus id, turpis. Integer aliquet, massa id lobortis convallis, tortor risus dapibus augue, vel accumsan tellus nisi eu orci. Mauris lacinia sapien quis libero.
+Sed ante. Vivamus tortor. Duis mattis egestas metus."
+Esma Dabernott,[email protected],gholme1d,Metoprolol Tartrate and Hydrochlorothiazide,23f2f46f-0cbc-493c-9efa-05eed769235d,Open-architected 4th generation matrix,"Metz, Jacobson and Kreiger",03/24/1991,$41.52,15974,173704123-5,Gennifer Holme,[email protected],02/18/2016,false,TRUE,12,Will-Schamberger,"Fisher, Feest and Hane","Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Proin risus. Praesent lectus.
-Nullam sit amet turpis elementum ligula vehicula consequat. Morbi a ipsum. Integer a nibh."
+Vestibulum quam sapien, varius ut, blandit non, interdum in, ante. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Duis faucibus accumsan odio. Curabitur convallis.
+
+Duis consequat dui nec nisi volutpat eleifend. Donec ut dolor. Morbi vel lectus in quam fringilla rhoncus."
\ No newline at end of file